@vue/compat 3.6.0-rc.13 → 3.6.0-rc.14
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.cjs.js +35 -9
- package/dist/vue.cjs.prod.js +34 -8
- package/dist/vue.esm-browser.js +26 -9
- package/dist/vue.esm-browser.prod.js +7 -7
- package/dist/vue.esm-bundler.js +28 -10
- package/dist/vue.global.js +26 -9
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +26 -9
- package/dist/vue.runtime.esm-browser.prod.js +7 -7
- package/dist/vue.runtime.esm-bundler.js +28 -10
- package/dist/vue.runtime.global.js +26 -9
- package/dist/vue.runtime.global.prod.js +7 -7
- 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.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -518,6 +518,21 @@ function normalizeCssVarValue(value) {
|
|
|
518
518
|
return String(value);
|
|
519
519
|
}
|
|
520
520
|
//#endregion
|
|
521
|
+
//#region packages/shared/src/vaporFlags.ts
|
|
522
|
+
/**
|
|
523
|
+
* The data of the comment a vapor server render opens the branch of a `v-if`
|
|
524
|
+
* chain with, `<!--[1-->`: the digits are the branch's position in the chain,
|
|
525
|
+
* and `<!--]-->` closes it like a fragment.
|
|
526
|
+
*/
|
|
527
|
+
function isVaporBranchStart(data) {
|
|
528
|
+
if (data.length < 2 || data.charCodeAt(0) !== 91) return false;
|
|
529
|
+
for (let i = 1; i < data.length; i++) {
|
|
530
|
+
const c = data.charCodeAt(i);
|
|
531
|
+
if (c < 48 || c > 57) return false;
|
|
532
|
+
}
|
|
533
|
+
return true;
|
|
534
|
+
}
|
|
535
|
+
//#endregion
|
|
521
536
|
//#region packages/reactivity/src/debug.ts
|
|
522
537
|
const triggerEventInfos = [];
|
|
523
538
|
function onTrack(sub, debugInfo) {
|
|
@@ -4481,6 +4496,8 @@ const getContainerType = (container) => {
|
|
|
4481
4496
|
if (isMathMLContainer(container)) return "mathml";
|
|
4482
4497
|
};
|
|
4483
4498
|
const isComment = (node) => node.nodeType === 8;
|
|
4499
|
+
/** The data of a comment opening a range a hydration steps over as one. */
|
|
4500
|
+
const isRangeStart = (data) => data === "[" || data === "(" || isVaporBranchStart(data);
|
|
4484
4501
|
function createHydrationFunctions(rendererInternals) {
|
|
4485
4502
|
const { mt: mountComponent, p: patch, o: { patchProp, createText, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;
|
|
4486
4503
|
const hydrate = (vnode, container) => {
|
|
@@ -4500,7 +4517,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4500
4517
|
};
|
|
4501
4518
|
const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {
|
|
4502
4519
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
4503
|
-
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(");
|
|
4520
|
+
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(" || isVaporInteropEnabled && isVaporBranchStart(node.data));
|
|
4504
4521
|
const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);
|
|
4505
4522
|
const { type, ref, shapeFlag, patchFlag } = vnode;
|
|
4506
4523
|
let domType = node.nodeType;
|
|
@@ -4704,7 +4721,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4704
4721
|
};
|
|
4705
4722
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
4706
4723
|
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
4707
|
-
(process.env.NODE_ENV !== "production" || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(`Hydration node mismatch:\n- rendered on server:`, node, node.nodeType === 3 ? `(text)` : isComment(node) && (node.data
|
|
4724
|
+
(process.env.NODE_ENV !== "production" || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(`Hydration node mismatch:\n- rendered on server:`, node, node.nodeType === 3 ? `(text)` : isComment(node) && isRangeStart(node.data) ? `(start of fragment)` : ``, `\n- expected on client:`, vnode.type);
|
|
4708
4725
|
logMismatchError();
|
|
4709
4726
|
}
|
|
4710
4727
|
vnode.el = null;
|
|
@@ -4731,7 +4748,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4731
4748
|
while (node) {
|
|
4732
4749
|
node = nextSibling(node);
|
|
4733
4750
|
if (node && isComment(node)) {
|
|
4734
|
-
if (node.data === open) match++;
|
|
4751
|
+
if (node.data === open || isVaporInteropEnabled && open === "[" && isVaporBranchStart(node.data)) match++;
|
|
4735
4752
|
if (node.data === close) {
|
|
4736
4753
|
if (match === 0) return nextSibling(node);
|
|
4737
4754
|
else match--;
|
|
@@ -4999,9 +5016,9 @@ const hydrateOnInteraction = (interactions = []) => (hydrate, forEach) => {
|
|
|
4999
5016
|
return teardown;
|
|
5000
5017
|
};
|
|
5001
5018
|
function forEachElement(node, cb) {
|
|
5002
|
-
if (isComment(node) && (node.data
|
|
5019
|
+
if (isComment(node) && isRangeStart(node.data)) {
|
|
5003
5020
|
const open = node.data;
|
|
5004
|
-
const close = open === "
|
|
5021
|
+
const close = open === "(" ? ")" : "]";
|
|
5005
5022
|
let depth = 1;
|
|
5006
5023
|
let next = node.nextSibling;
|
|
5007
5024
|
while (next) {
|
|
@@ -5010,7 +5027,7 @@ function forEachElement(node, cb) {
|
|
|
5010
5027
|
} else if (isComment(next)) {
|
|
5011
5028
|
if (next.data === close) {
|
|
5012
5029
|
if (--depth === 0) break;
|
|
5013
|
-
} else if (next.data === open) depth++;
|
|
5030
|
+
} else if (close === "]" ? next.data === "[" || isVaporBranchStart(next.data) : next.data === open) depth++;
|
|
5014
5031
|
}
|
|
5015
5032
|
next = next.nextSibling;
|
|
5016
5033
|
}
|
|
@@ -6783,7 +6800,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6783
6800
|
if (options.el) return vm.$mount(options.el);
|
|
6784
6801
|
else return vm;
|
|
6785
6802
|
}
|
|
6786
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6803
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.14`;
|
|
6787
6804
|
Vue.config = singletonApp.config;
|
|
6788
6805
|
Vue.use = (plugin, ...options) => {
|
|
6789
6806
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -10423,7 +10440,7 @@ function isMemoSame(cached, memo) {
|
|
|
10423
10440
|
}
|
|
10424
10441
|
//#endregion
|
|
10425
10442
|
//#region packages/runtime-core/src/index.ts
|
|
10426
|
-
const version = "3.6.0-rc.
|
|
10443
|
+
const version = "3.6.0-rc.14";
|
|
10427
10444
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
10428
10445
|
/**
|
|
10429
10446
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -12220,6 +12237,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12220
12237
|
defineSlots: () => defineSlots,
|
|
12221
12238
|
devtools: () => devtools,
|
|
12222
12239
|
devtoolsComponentAdded: () => devtoolsComponentAdded,
|
|
12240
|
+
devtoolsComponentRemoved: () => devtoolsComponentRemoved,
|
|
12223
12241
|
effect: () => effect,
|
|
12224
12242
|
effectScope: () => effectScope,
|
|
12225
12243
|
endMeasure: () => endMeasure,
|
|
@@ -16997,4 +17015,4 @@ Vue.compile = compileToFunction;
|
|
|
16997
17015
|
var esm_index_default = Vue;
|
|
16998
17016
|
const configureCompat = Vue.configureCompat;
|
|
16999
17017
|
//#endregion
|
|
17000
|
-
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, 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, defaultPropGetter, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureValidVNode, enterCbKey, expose, filterModelListeners, filterSingleRoot, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getContainerType, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getNextUid, getOrigins as getTransitionGroupOrigins, getPosition as getTransitionGroupPosition, getOriginShift as getTransitionGroupShift, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, invalidateMount, invokeDirectiveHook, invokeSlotFallback, invokeVNodeHook, isAsyncWrapper, isEmitListener, isFunctionalFallthroughKey, isHydrating, isHydratingEnabled, isKeepAlive, isKeepAliveEnabled, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isSuspenseEnabled, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isTransitionEnabled, isUnchangedResourceProp, isVNode, isValidHtmlOrSvgAttribute, isVaporInteropEnabled, 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, patchClass, patchProp, patchStyle, pendingGroups as pendingTransitionGroups, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, prepareTransitionLeave, prepareTransitionSwitch, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, queuePostRenderEffect, rawVaporSlotKey, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveCssVars, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionChild, resolveTransitionHooks, resolveTransitionProps, restoreCurrentInstance, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVaporInteropEnabled, 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, withKeepAliveEnabled, withKeys, withMemo, withModifiers, withScopeId, withSuspenseEnabled, withTransitionEnabled, xlinkNS };
|
|
17018
|
+
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, 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, defaultPropGetter, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, devtoolsComponentRemoved, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureValidVNode, enterCbKey, expose, filterModelListeners, filterSingleRoot, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getContainerType, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getNextUid, getOrigins as getTransitionGroupOrigins, getPosition as getTransitionGroupPosition, getOriginShift as getTransitionGroupShift, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, invalidateMount, invokeDirectiveHook, invokeSlotFallback, invokeVNodeHook, isAsyncWrapper, isEmitListener, isFunctionalFallthroughKey, isHydrating, isHydratingEnabled, isKeepAlive, isKeepAliveEnabled, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isSuspenseEnabled, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isTransitionEnabled, isUnchangedResourceProp, isVNode, isValidHtmlOrSvgAttribute, isVaporInteropEnabled, 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, patchClass, patchProp, patchStyle, pendingGroups as pendingTransitionGroups, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, prepareTransitionLeave, prepareTransitionSwitch, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, queuePostRenderEffect, rawVaporSlotKey, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveCssVars, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionChild, resolveTransitionHooks, resolveTransitionProps, restoreCurrentInstance, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVaporInteropEnabled, 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, withKeepAliveEnabled, withKeys, withMemo, withModifiers, withScopeId, withSuspenseEnabled, withTransitionEnabled, xlinkNS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat v3.6.0-rc.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -517,6 +517,21 @@ var Vue = (function() {
|
|
|
517
517
|
return String(value);
|
|
518
518
|
}
|
|
519
519
|
//#endregion
|
|
520
|
+
//#region packages/shared/src/vaporFlags.ts
|
|
521
|
+
/**
|
|
522
|
+
* The data of the comment a vapor server render opens the branch of a `v-if`
|
|
523
|
+
* chain with, `<!--[1-->`: the digits are the branch's position in the chain,
|
|
524
|
+
* and `<!--]-->` closes it like a fragment.
|
|
525
|
+
*/
|
|
526
|
+
function isVaporBranchStart(data) {
|
|
527
|
+
if (data.length < 2 || data.charCodeAt(0) !== 91) return false;
|
|
528
|
+
for (let i = 1; i < data.length; i++) {
|
|
529
|
+
const c = data.charCodeAt(i);
|
|
530
|
+
if (c < 48 || c > 57) return false;
|
|
531
|
+
}
|
|
532
|
+
return true;
|
|
533
|
+
}
|
|
534
|
+
//#endregion
|
|
520
535
|
//#region packages/reactivity/src/debug.ts
|
|
521
536
|
const triggerEventInfos = [];
|
|
522
537
|
function onTrack(sub, debugInfo) {
|
|
@@ -4410,6 +4425,8 @@ var Vue = (function() {
|
|
|
4410
4425
|
if (isMathMLContainer(container)) return "mathml";
|
|
4411
4426
|
};
|
|
4412
4427
|
const isComment = (node) => node.nodeType === 8;
|
|
4428
|
+
/** The data of a comment opening a range a hydration steps over as one. */
|
|
4429
|
+
const isRangeStart = (data) => data === "[" || data === "(" || isVaporBranchStart(data);
|
|
4413
4430
|
function createHydrationFunctions(rendererInternals) {
|
|
4414
4431
|
const { mt: mountComponent, p: patch, o: { patchProp, createText, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;
|
|
4415
4432
|
const hydrate = (vnode, container) => {
|
|
@@ -4427,7 +4444,7 @@ var Vue = (function() {
|
|
|
4427
4444
|
};
|
|
4428
4445
|
const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {
|
|
4429
4446
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
4430
|
-
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(");
|
|
4447
|
+
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(" || isVaporInteropEnabled && isVaporBranchStart(node.data));
|
|
4431
4448
|
const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);
|
|
4432
4449
|
const { type, ref, shapeFlag, patchFlag } = vnode;
|
|
4433
4450
|
let domType = node.nodeType;
|
|
@@ -4625,7 +4642,7 @@ var Vue = (function() {
|
|
|
4625
4642
|
};
|
|
4626
4643
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
4627
4644
|
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
4628
|
-
warn$1(`Hydration node mismatch:\n- rendered on server:`, node, node.nodeType === 3 ? `(text)` : isComment(node) && (node.data
|
|
4645
|
+
warn$1(`Hydration node mismatch:\n- rendered on server:`, node, node.nodeType === 3 ? `(text)` : isComment(node) && isRangeStart(node.data) ? `(start of fragment)` : ``, `\n- expected on client:`, vnode.type);
|
|
4629
4646
|
logMismatchError();
|
|
4630
4647
|
}
|
|
4631
4648
|
vnode.el = null;
|
|
@@ -4652,7 +4669,7 @@ var Vue = (function() {
|
|
|
4652
4669
|
while (node) {
|
|
4653
4670
|
node = nextSibling(node);
|
|
4654
4671
|
if (node && isComment(node)) {
|
|
4655
|
-
if (node.data === open) match++;
|
|
4672
|
+
if (node.data === open || isVaporInteropEnabled && open === "[" && isVaporBranchStart(node.data)) match++;
|
|
4656
4673
|
if (node.data === close) {
|
|
4657
4674
|
if (match === 0) return nextSibling(node);
|
|
4658
4675
|
else match--;
|
|
@@ -4908,9 +4925,9 @@ var Vue = (function() {
|
|
|
4908
4925
|
return teardown;
|
|
4909
4926
|
};
|
|
4910
4927
|
function forEachElement(node, cb) {
|
|
4911
|
-
if (isComment(node) && (node.data
|
|
4928
|
+
if (isComment(node) && isRangeStart(node.data)) {
|
|
4912
4929
|
const open = node.data;
|
|
4913
|
-
const close = open === "
|
|
4930
|
+
const close = open === "(" ? ")" : "]";
|
|
4914
4931
|
let depth = 1;
|
|
4915
4932
|
let next = node.nextSibling;
|
|
4916
4933
|
while (next) {
|
|
@@ -4919,7 +4936,7 @@ var Vue = (function() {
|
|
|
4919
4936
|
} else if (isComment(next)) {
|
|
4920
4937
|
if (next.data === close) {
|
|
4921
4938
|
if (--depth === 0) break;
|
|
4922
|
-
} else if (next.data === open) depth++;
|
|
4939
|
+
} else if (close === "]" ? next.data === "[" || isVaporBranchStart(next.data) : next.data === open) depth++;
|
|
4923
4940
|
}
|
|
4924
4941
|
next = next.nextSibling;
|
|
4925
4942
|
}
|
|
@@ -6669,7 +6686,7 @@ var Vue = (function() {
|
|
|
6669
6686
|
if (options.el) return vm.$mount(options.el);
|
|
6670
6687
|
else return vm;
|
|
6671
6688
|
}
|
|
6672
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6689
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.14`;
|
|
6673
6690
|
Vue.config = singletonApp.config;
|
|
6674
6691
|
Vue.use = (plugin, ...options) => {
|
|
6675
6692
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -10228,7 +10245,7 @@ var Vue = (function() {
|
|
|
10228
10245
|
}
|
|
10229
10246
|
//#endregion
|
|
10230
10247
|
//#region packages/runtime-core/src/index.ts
|
|
10231
|
-
const version = "3.6.0-rc.
|
|
10248
|
+
const version = "3.6.0-rc.14";
|
|
10232
10249
|
const warn = warn$1;
|
|
10233
10250
|
/**
|
|
10234
10251
|
* Runtime error messages. Only exposed in dev or esm builds.
|