@vue/compat 3.6.0-rc.3 → 3.6.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-compat.d.ts +23 -8
- package/dist/vue.cjs.js +22 -9
- package/dist/vue.cjs.prod.js +22 -9
- package/dist/vue.esm-browser.js +22 -9
- package/dist/vue.esm-browser.prod.js +3 -3
- package/dist/vue.esm-bundler.js +25 -10
- package/dist/vue.global.js +22 -9
- package/dist/vue.global.prod.js +3 -3
- package/dist/vue.runtime.esm-browser.js +22 -9
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +25 -10
- package/dist/vue.runtime.global.js +22 -9
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat v3.6.0-rc.5
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4265,7 +4265,18 @@ const logMismatchError = () => {
|
|
|
4265
4265
|
hasLoggedMismatchError = true;
|
|
4266
4266
|
};
|
|
4267
4267
|
const isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject";
|
|
4268
|
-
const isMathMLContainer = (container) =>
|
|
4268
|
+
const isMathMLContainer = (container) => {
|
|
4269
|
+
if (!container.namespaceURI.includes("MathML")) return false;
|
|
4270
|
+
if (container.tagName !== "annotation-xml") return true;
|
|
4271
|
+
const encoding = container.getAttribute("encoding");
|
|
4272
|
+
return !encoding || !encoding.includes("html");
|
|
4273
|
+
};
|
|
4274
|
+
/**
|
|
4275
|
+
* Resolve the element namespace a container's children should be created in.
|
|
4276
|
+
* The live DOM is the source of truth, so this also covers containers that are
|
|
4277
|
+
* only known at runtime (interop boundaries, teleport targets).
|
|
4278
|
+
* @internal
|
|
4279
|
+
*/
|
|
4269
4280
|
const getContainerType = (container) => {
|
|
4270
4281
|
if (container.nodeType !== 1) return void 0;
|
|
4271
4282
|
if (isSVGContainer(container)) return "svg";
|
|
@@ -4348,7 +4359,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4348
4359
|
else nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4349
4360
|
break;
|
|
4350
4361
|
case VaporSlot:
|
|
4351
|
-
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense);
|
|
4362
|
+
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4352
4363
|
break;
|
|
4353
4364
|
default: if (shapeFlag & 1) if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) nextNode = onMismatch();
|
|
4354
4365
|
else nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
@@ -4519,7 +4530,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4519
4530
|
const container = parentNode(node);
|
|
4520
4531
|
remove(node);
|
|
4521
4532
|
patch(null, vnode, container, next, parentComponent, parentSuspense, getContainerType(container), slotScopeIds);
|
|
4522
|
-
if (parentComponent) {
|
|
4533
|
+
if (parentComponent && parentComponent.vnode) {
|
|
4523
4534
|
parentComponent.vnode.el = vnode.el;
|
|
4524
4535
|
updateHOCHostEl(parentComponent, vnode.el);
|
|
4525
4536
|
}
|
|
@@ -4542,7 +4553,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4542
4553
|
if (parentNode) parentNode.replaceChild(newNode, oldNode);
|
|
4543
4554
|
let parent = parentComponent;
|
|
4544
4555
|
while (parent) {
|
|
4545
|
-
if (parent.vnode.el === oldNode) parent.vnode.el = parent.subTree.el = newNode;
|
|
4556
|
+
if (parent.vnode && parent.vnode.el === oldNode) parent.vnode.el = parent.subTree.el = newNode;
|
|
4546
4557
|
parent = parent.parent;
|
|
4547
4558
|
}
|
|
4548
4559
|
};
|
|
@@ -6490,7 +6501,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6490
6501
|
if (options.el) return vm.$mount(options.el);
|
|
6491
6502
|
else return vm;
|
|
6492
6503
|
}
|
|
6493
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6504
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.5`;
|
|
6494
6505
|
Vue.config = singletonApp.config;
|
|
6495
6506
|
Vue.use = (plugin, ...options) => {
|
|
6496
6507
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -7875,7 +7886,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
7875
7886
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7876
7887
|
break;
|
|
7877
7888
|
case VaporSlot:
|
|
7878
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense);
|
|
7889
|
+
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
7879
7890
|
break;
|
|
7880
7891
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7881
7892
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -8745,7 +8756,7 @@ function isVaporComponent(type) {
|
|
|
8745
8756
|
/**
|
|
8746
8757
|
* shared between vdom and vapor
|
|
8747
8758
|
*/
|
|
8748
|
-
function getInheritedScopeIds(vnode, parentComponent) {
|
|
8759
|
+
function getInheritedScopeIds(vnode, parentComponent, includeVaporRootIds = true) {
|
|
8749
8760
|
const inheritedScopeIds = [];
|
|
8750
8761
|
let currentParent = parentComponent;
|
|
8751
8762
|
let currentVNode = vnode;
|
|
@@ -8761,6 +8772,8 @@ function getInheritedScopeIds(vnode, parentComponent) {
|
|
|
8761
8772
|
currentParent = currentParent.parent;
|
|
8762
8773
|
} else break;
|
|
8763
8774
|
}
|
|
8775
|
+
const vaporScopeIds = includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
8776
|
+
if (vaporScopeIds) inheritedScopeIds.push(...vaporScopeIds);
|
|
8764
8777
|
return inheritedScopeIds;
|
|
8765
8778
|
}
|
|
8766
8779
|
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
@@ -10074,7 +10087,7 @@ function isMemoSame(cached, memo) {
|
|
|
10074
10087
|
}
|
|
10075
10088
|
//#endregion
|
|
10076
10089
|
//#region packages/runtime-core/src/index.ts
|
|
10077
|
-
const version = "3.6.0-rc.
|
|
10090
|
+
const version = "3.6.0-rc.5";
|
|
10078
10091
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
10079
10092
|
/**
|
|
10080
10093
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -11802,10 +11815,12 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
11802
11815
|
ensureValidVNode: () => ensureValidVNode,
|
|
11803
11816
|
ensureVaporSlotFallback: () => ensureVaporSlotFallback,
|
|
11804
11817
|
expose: () => expose,
|
|
11818
|
+
filterModelListeners: () => filterModelListeners,
|
|
11805
11819
|
flushOnAppMount: () => flushOnAppMount,
|
|
11806
11820
|
forceReflow: () => forceReflow,
|
|
11807
11821
|
getAttributeMismatch: () => getAttributeMismatch,
|
|
11808
11822
|
getComponentName: () => getComponentName,
|
|
11823
|
+
getContainerType: () => getContainerType,
|
|
11809
11824
|
getCurrentInstance: () => getCurrentInstance,
|
|
11810
11825
|
getCurrentScope: () => getCurrentScope,
|
|
11811
11826
|
getCurrentWatcher: () => getCurrentWatcher,
|
|
@@ -16525,4 +16540,4 @@ Vue.compile = compileToFunction;
|
|
|
16525
16540
|
var esm_index_default = Vue;
|
|
16526
16541
|
const configureCompat = Vue.configureCompat;
|
|
16527
16542
|
//#endregion
|
|
16528
|
-
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, SchedulerJobFlags, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TransitionPropsValidators, TriggerOpTypes, VaporSlot, VueElement, VueElementBase, activate, assertNumber, baseApplyTranslation, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, baseUseCssVars, callPendingCbs, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, configureCompat, createApp, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, esm_index_default as default, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureValidVNode, ensureVaporSlotFallback, expose, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, invalidateMount, invokeDirectiveHook, isAsyncWrapper, isEmitListener, isFunctionalFallthroughKey, isHydrating, isHydratingEnabled, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, logMismatchError, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, nodeOps, normalizeClass, normalizeContainer, normalizeProps, normalizeRef, normalizeStyle, normalizeVNode, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, parseEventName, patchProp, patchStyle, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, prepareTransitionLeave, prepareTransitionSwitch, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, queuePostRenderEffect, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionChild, resolveTransitionHooks, resolveTransitionProps, restoreCurrentInstance, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVarsOnNode, shallowReactive, shallowReadonly, shallowRef, shouldSetAsProp, shouldSetAsPropForVueCE, shouldUpdateComponent, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, svgNS, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, unsafeToTrustedHTML, useAsyncComponentState, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId, xlinkNS };
|
|
16543
|
+
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, SchedulerJobFlags, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TransitionPropsValidators, TriggerOpTypes, VaporSlot, VueElement, VueElementBase, activate, assertNumber, baseApplyTranslation, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, baseUseCssVars, callPendingCbs, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, configureCompat, createApp, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, esm_index_default as default, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureValidVNode, ensureVaporSlotFallback, expose, filterModelListeners, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getContainerType, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, invalidateMount, invokeDirectiveHook, isAsyncWrapper, isEmitListener, isFunctionalFallthroughKey, isHydrating, isHydratingEnabled, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, logMismatchError, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, nodeOps, normalizeClass, normalizeContainer, normalizeProps, normalizeRef, normalizeStyle, normalizeVNode, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, parseEventName, patchProp, patchStyle, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, prepareTransitionLeave, prepareTransitionSwitch, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, queuePostRenderEffect, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionChild, resolveTransitionHooks, resolveTransitionProps, restoreCurrentInstance, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVarsOnNode, shallowReactive, shallowReadonly, shallowRef, shouldSetAsProp, shouldSetAsPropForVueCE, shouldUpdateComponent, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, svgNS, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, unsafeToTrustedHTML, useAsyncComponentState, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId, xlinkNS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat v3.6.0-rc.5
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4201,7 +4201,18 @@ var Vue = (function() {
|
|
|
4201
4201
|
hasLoggedMismatchError = true;
|
|
4202
4202
|
};
|
|
4203
4203
|
const isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject";
|
|
4204
|
-
const isMathMLContainer = (container) =>
|
|
4204
|
+
const isMathMLContainer = (container) => {
|
|
4205
|
+
if (!container.namespaceURI.includes("MathML")) return false;
|
|
4206
|
+
if (container.tagName !== "annotation-xml") return true;
|
|
4207
|
+
const encoding = container.getAttribute("encoding");
|
|
4208
|
+
return !encoding || !encoding.includes("html");
|
|
4209
|
+
};
|
|
4210
|
+
/**
|
|
4211
|
+
* Resolve the element namespace a container's children should be created in.
|
|
4212
|
+
* The live DOM is the source of truth, so this also covers containers that are
|
|
4213
|
+
* only known at runtime (interop boundaries, teleport targets).
|
|
4214
|
+
* @internal
|
|
4215
|
+
*/
|
|
4205
4216
|
const getContainerType = (container) => {
|
|
4206
4217
|
if (container.nodeType !== 1) return void 0;
|
|
4207
4218
|
if (isSVGContainer(container)) return "svg";
|
|
@@ -4280,7 +4291,7 @@ var Vue = (function() {
|
|
|
4280
4291
|
else nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4281
4292
|
break;
|
|
4282
4293
|
case VaporSlot:
|
|
4283
|
-
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense);
|
|
4294
|
+
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4284
4295
|
break;
|
|
4285
4296
|
default: if (shapeFlag & 1) if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode$1(node)) nextNode = onMismatch();
|
|
4286
4297
|
else nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
@@ -4447,7 +4458,7 @@ var Vue = (function() {
|
|
|
4447
4458
|
const container = parentNode(node);
|
|
4448
4459
|
remove(node);
|
|
4449
4460
|
patch(null, vnode, container, next, parentComponent, parentSuspense, getContainerType(container), slotScopeIds);
|
|
4450
|
-
if (parentComponent) {
|
|
4461
|
+
if (parentComponent && parentComponent.vnode) {
|
|
4451
4462
|
parentComponent.vnode.el = vnode.el;
|
|
4452
4463
|
updateHOCHostEl(parentComponent, vnode.el);
|
|
4453
4464
|
}
|
|
@@ -4470,7 +4481,7 @@ var Vue = (function() {
|
|
|
4470
4481
|
if (parentNode) parentNode.replaceChild(newNode, oldNode);
|
|
4471
4482
|
let parent = parentComponent;
|
|
4472
4483
|
while (parent) {
|
|
4473
|
-
if (parent.vnode.el === oldNode) parent.vnode.el = parent.subTree.el = newNode;
|
|
4484
|
+
if (parent.vnode && parent.vnode.el === oldNode) parent.vnode.el = parent.subTree.el = newNode;
|
|
4474
4485
|
parent = parent.parent;
|
|
4475
4486
|
}
|
|
4476
4487
|
};
|
|
@@ -6400,7 +6411,7 @@ var Vue = (function() {
|
|
|
6400
6411
|
if (options.el) return vm.$mount(options.el);
|
|
6401
6412
|
else return vm;
|
|
6402
6413
|
}
|
|
6403
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6414
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.5`;
|
|
6404
6415
|
Vue.config = singletonApp.config;
|
|
6405
6416
|
Vue.use = (plugin, ...options) => {
|
|
6406
6417
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -7745,7 +7756,7 @@ var Vue = (function() {
|
|
|
7745
7756
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7746
7757
|
break;
|
|
7747
7758
|
case VaporSlot:
|
|
7748
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense);
|
|
7759
|
+
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
7749
7760
|
break;
|
|
7750
7761
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7751
7762
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -8606,7 +8617,7 @@ var Vue = (function() {
|
|
|
8606
8617
|
/**
|
|
8607
8618
|
* shared between vdom and vapor
|
|
8608
8619
|
*/
|
|
8609
|
-
function getInheritedScopeIds(vnode, parentComponent) {
|
|
8620
|
+
function getInheritedScopeIds(vnode, parentComponent, includeVaporRootIds = true) {
|
|
8610
8621
|
const inheritedScopeIds = [];
|
|
8611
8622
|
let currentParent = parentComponent;
|
|
8612
8623
|
let currentVNode = vnode;
|
|
@@ -8622,6 +8633,8 @@ var Vue = (function() {
|
|
|
8622
8633
|
currentParent = currentParent.parent;
|
|
8623
8634
|
} else break;
|
|
8624
8635
|
}
|
|
8636
|
+
const vaporScopeIds = includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
8637
|
+
if (vaporScopeIds) inheritedScopeIds.push(...vaporScopeIds);
|
|
8625
8638
|
return inheritedScopeIds;
|
|
8626
8639
|
}
|
|
8627
8640
|
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
@@ -9904,7 +9917,7 @@ var Vue = (function() {
|
|
|
9904
9917
|
}
|
|
9905
9918
|
//#endregion
|
|
9906
9919
|
//#region packages/runtime-core/src/index.ts
|
|
9907
|
-
const version = "3.6.0-rc.
|
|
9920
|
+
const version = "3.6.0-rc.5";
|
|
9908
9921
|
const warn = warn$1;
|
|
9909
9922
|
/**
|
|
9910
9923
|
* Runtime error messages. Only exposed in dev or esm builds.
|