@vue/runtime-dom
Advanced tools
Comparing version
/** | ||
* @vue/runtime-dom v3.5.14 | ||
* @vue/runtime-dom v3.5.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -825,9 +825,6 @@ * @license MIT | ||
} | ||
if (!this._def.__asyncLoader) { | ||
this._resolveProps(this._def); | ||
} | ||
} | ||
connectedCallback() { | ||
if (!this.isConnected) return; | ||
if (!this.shadowRoot) { | ||
if (!this.shadowRoot && !this._resolved) { | ||
this._parseSlots(); | ||
@@ -845,4 +842,3 @@ } | ||
if (this._resolved) { | ||
this._setParent(); | ||
this._update(); | ||
this._mount(this._def); | ||
} else { | ||
@@ -863,5 +859,13 @@ if (parent && parent._pendingResolve) { | ||
this._instance.parent = parent._instance; | ||
this._instance.provides = parent._instance.provides; | ||
this._inheritParentContext(parent); | ||
} | ||
} | ||
_inheritParentContext(parent = this._parent) { | ||
if (parent && this._app) { | ||
Object.setPrototypeOf( | ||
this._app._context.provides, | ||
parent._instance.provides | ||
); | ||
} | ||
} | ||
disconnectedCallback() { | ||
@@ -914,5 +918,3 @@ this._connected = false; | ||
this._numberProps = numberProps; | ||
if (isAsync) { | ||
this._resolveProps(def); | ||
} | ||
this._resolveProps(def); | ||
if (this.shadowRoot) { | ||
@@ -941,2 +943,3 @@ this._applyStyles(styles); | ||
this._app = this._createApp(def); | ||
this._inheritParentContext(); | ||
if (def.configureApp) { | ||
@@ -1026,3 +1029,5 @@ def.configureApp(this._app); | ||
_update() { | ||
render(this._createVNode(), this._root); | ||
const vnode = this._createVNode(); | ||
if (this._app) vnode.appContext = this._app._context; | ||
render(vnode, this._root); | ||
} | ||
@@ -1029,0 +1034,0 @@ _createVNode() { |
/** | ||
* @vue/runtime-dom v3.5.14 | ||
* @vue/runtime-dom v3.5.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -789,9 +789,6 @@ * @license MIT | ||
} | ||
if (!this._def.__asyncLoader) { | ||
this._resolveProps(this._def); | ||
} | ||
} | ||
connectedCallback() { | ||
if (!this.isConnected) return; | ||
if (!this.shadowRoot) { | ||
if (!this.shadowRoot && !this._resolved) { | ||
this._parseSlots(); | ||
@@ -809,4 +806,3 @@ } | ||
if (this._resolved) { | ||
this._setParent(); | ||
this._update(); | ||
this._mount(this._def); | ||
} else { | ||
@@ -827,5 +823,13 @@ if (parent && parent._pendingResolve) { | ||
this._instance.parent = parent._instance; | ||
this._instance.provides = parent._instance.provides; | ||
this._inheritParentContext(parent); | ||
} | ||
} | ||
_inheritParentContext(parent = this._parent) { | ||
if (parent && this._app) { | ||
Object.setPrototypeOf( | ||
this._app._context.provides, | ||
parent._instance.provides | ||
); | ||
} | ||
} | ||
disconnectedCallback() { | ||
@@ -878,5 +882,3 @@ this._connected = false; | ||
this._numberProps = numberProps; | ||
if (isAsync) { | ||
this._resolveProps(def); | ||
} | ||
this._resolveProps(def); | ||
if (this.shadowRoot) { | ||
@@ -898,2 +900,3 @@ this._applyStyles(styles); | ||
this._app = this._createApp(def); | ||
this._inheritParentContext(); | ||
if (def.configureApp) { | ||
@@ -981,3 +984,5 @@ def.configureApp(this._app); | ||
_update() { | ||
render(this._createVNode(), this._root); | ||
const vnode = this._createVNode(); | ||
if (this._app) vnode.appContext = this._app._context; | ||
render(vnode, this._root); | ||
} | ||
@@ -984,0 +989,0 @@ _createVNode() { |
@@ -150,2 +150,3 @@ import { BaseTransitionProps, FunctionalComponent, ObjectDirective, Directive, SetupContext, RenderFunction, ComponentOptions, App, ComponentCustomElementInterface, ConcreteComponent, CreateAppFunction, ComponentObjectPropsOptions, EmitsOptions, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentInjectOptions, SlotsType, Component, ComponentProvideOptions, ExtractPropTypes, EmitsToProps, ComponentOptionsBase, CreateComponentPublicInstanceWithMixins, ComponentPublicInstance, DefineComponent, VNodeRef, RootRenderFunction, RootHydrateFunction } from '@vue/runtime-core'; | ||
private _setParent; | ||
private _inheritParentContext; | ||
disconnectedCallback(): void; | ||
@@ -152,0 +153,0 @@ /** |
/** | ||
* @vue/runtime-dom v3.5.14 | ||
* @vue/runtime-dom v3.5.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -889,9 +889,6 @@ * @license MIT | ||
} | ||
if (!this._def.__asyncLoader) { | ||
this._resolveProps(this._def); | ||
} | ||
} | ||
connectedCallback() { | ||
if (!this.isConnected) return; | ||
if (!this.shadowRoot) { | ||
if (!this.shadowRoot && !this._resolved) { | ||
this._parseSlots(); | ||
@@ -909,4 +906,3 @@ } | ||
if (this._resolved) { | ||
this._setParent(); | ||
this._update(); | ||
this._mount(this._def); | ||
} else { | ||
@@ -927,5 +923,13 @@ if (parent && parent._pendingResolve) { | ||
this._instance.parent = parent._instance; | ||
this._instance.provides = parent._instance.provides; | ||
this._inheritParentContext(parent); | ||
} | ||
} | ||
_inheritParentContext(parent = this._parent) { | ||
if (parent && this._app) { | ||
Object.setPrototypeOf( | ||
this._app._context.provides, | ||
parent._instance.provides | ||
); | ||
} | ||
} | ||
disconnectedCallback() { | ||
@@ -978,5 +982,3 @@ this._connected = false; | ||
this._numberProps = numberProps; | ||
if (isAsync) { | ||
this._resolveProps(def); | ||
} | ||
this._resolveProps(def); | ||
if (this.shadowRoot) { | ||
@@ -1005,2 +1007,3 @@ this._applyStyles(styles); | ||
this._app = this._createApp(def); | ||
this._inheritParentContext(); | ||
if (def.configureApp) { | ||
@@ -1090,3 +1093,5 @@ def.configureApp(this._app); | ||
_update() { | ||
render(this._createVNode(), this._root); | ||
const vnode = this._createVNode(); | ||
if (this._app) vnode.appContext = this._app._context; | ||
render(vnode, this._root); | ||
} | ||
@@ -1093,0 +1098,0 @@ _createVNode() { |
{ | ||
"name": "@vue/runtime-dom", | ||
"version": "3.5.14", | ||
"version": "3.5.15", | ||
"description": "@vue/runtime-dom", | ||
@@ -53,5 +53,5 @@ "main": "index.js", | ||
"csstype": "^3.1.3", | ||
"@vue/runtime-core": "3.5.14", | ||
"@vue/shared": "3.5.14", | ||
"@vue/reactivity": "3.5.14" | ||
"@vue/runtime-core": "3.5.15", | ||
"@vue/reactivity": "3.5.15", | ||
"@vue/shared": "3.5.15" | ||
}, | ||
@@ -58,0 +58,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1175560
0.28%32240
0.24%33
-2.94%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated