@vue/compat 3.6.0-rc.12 → 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-compat.d.ts +29 -1
- package/dist/vue.cjs.js +127 -50
- package/dist/vue.cjs.prod.js +128 -51
- package/dist/vue.esm-browser.js +121 -53
- package/dist/vue.esm-browser.prod.js +7 -7
- package/dist/vue.esm-bundler.js +131 -61
- package/dist/vue.global.js +120 -52
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +121 -53
- package/dist/vue.runtime.esm-browser.prod.js +7 -7
- package/dist/vue.runtime.esm-bundler.js +131 -61
- package/dist/vue.runtime.global.js +120 -52
- 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) {
|
|
@@ -3694,6 +3709,16 @@ function createPathGetter(ctx, path) {
|
|
|
3694
3709
|
};
|
|
3695
3710
|
}
|
|
3696
3711
|
//#endregion
|
|
3712
|
+
//#region packages/runtime-core/src/vaporInteropState.ts
|
|
3713
|
+
/**
|
|
3714
|
+
* Set by `vaporInteropPlugin`. Stays false in apps that never import the
|
|
3715
|
+
* plugin, so bundlers drop the vapor-in-vdom branches of the renderer.
|
|
3716
|
+
*/
|
|
3717
|
+
let isVaporInteropEnabled = false;
|
|
3718
|
+
function setVaporInteropEnabled() {
|
|
3719
|
+
isVaporInteropEnabled = true;
|
|
3720
|
+
}
|
|
3721
|
+
//#endregion
|
|
3697
3722
|
//#region packages/runtime-core/src/components/Teleport.ts
|
|
3698
3723
|
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3699
3724
|
const TeleportEndKey = Symbol("_vte");
|
|
@@ -3919,7 +3944,7 @@ function prepareAnchor(target, vnode, createText, insert, anchor = null) {
|
|
|
3919
3944
|
//#endregion
|
|
3920
3945
|
//#region packages/runtime-core/src/components/BaseTransition.ts
|
|
3921
3946
|
const leaveCbKey = Symbol("_leaveCb");
|
|
3922
|
-
const enterCbKey
|
|
3947
|
+
const enterCbKey = Symbol("_enterCb");
|
|
3923
3948
|
function useTransitionState() {
|
|
3924
3949
|
const state = {
|
|
3925
3950
|
isMounted: false,
|
|
@@ -3953,13 +3978,18 @@ const BaseTransitionPropsValidators = {
|
|
|
3953
3978
|
onAfterAppear: TransitionHookValidator,
|
|
3954
3979
|
onAppearCancelled: TransitionHookValidator
|
|
3955
3980
|
};
|
|
3981
|
+
let isTransitionEnabled = false;
|
|
3982
|
+
function withTransitionEnabled(value) {
|
|
3983
|
+
isTransitionEnabled = true;
|
|
3984
|
+
return value;
|
|
3985
|
+
}
|
|
3956
3986
|
function isEmptyTransitionChild(vnode, instance) {
|
|
3957
3987
|
if (vnode.type === Comment) return true;
|
|
3958
3988
|
if (vnode.type === Fragment) {
|
|
3959
3989
|
const child = isArray(vnode.children) && filterSingleRoot(vnode.children, false);
|
|
3960
3990
|
return !child || isEmptyTransitionChild(child, instance);
|
|
3961
3991
|
}
|
|
3962
|
-
if (vnode.type === VaporSlot || isVaporComponent(vnode.type)) return !getVaporInterface(instance, vnode).hasTransitionChild(vnode);
|
|
3992
|
+
if (isVaporInteropEnabled && (vnode.type === VaporSlot || isVaporComponent(vnode.type))) return !getVaporInterface(instance, vnode).hasTransitionChild(vnode);
|
|
3963
3993
|
return !!vnode.component && isEmptyTransitionChild(vnode.component.subTree, instance);
|
|
3964
3994
|
}
|
|
3965
3995
|
const BaseTransitionImpl = {
|
|
@@ -3976,7 +4006,7 @@ const BaseTransitionImpl = {
|
|
|
3976
4006
|
const { mode } = rawProps;
|
|
3977
4007
|
checkTransitionMode(mode);
|
|
3978
4008
|
return prepareTransitionSwitch(instance.subTree, child, rawProps, state, instance, mode === "out-in" ? resumeAfterLeave || (resumeAfterLeave = () => {
|
|
3979
|
-
if (!(instance.
|
|
4009
|
+
if (!(instance.effect.flags & 1024)) instance.update();
|
|
3980
4010
|
}) : NOOP);
|
|
3981
4011
|
};
|
|
3982
4012
|
}
|
|
@@ -3998,7 +4028,7 @@ function findNonCommentChild(children) {
|
|
|
3998
4028
|
}
|
|
3999
4029
|
return child;
|
|
4000
4030
|
}
|
|
4001
|
-
const BaseTransition = BaseTransitionImpl;
|
|
4031
|
+
const BaseTransition = /*@__PURE__*/ withTransitionEnabled(BaseTransitionImpl);
|
|
4002
4032
|
function getLeavingNodesForType(state, vnode) {
|
|
4003
4033
|
const { leavingNodes } = state;
|
|
4004
4034
|
let leavingVNodesCache = leavingNodes.get(vnode.type);
|
|
@@ -4036,7 +4066,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
4036
4066
|
return hooks;
|
|
4037
4067
|
}
|
|
4038
4068
|
}, props, state, instance);
|
|
4039
|
-
if (vnode.type === VaporSlot) extend(hooks, {
|
|
4069
|
+
if (isVaporInteropEnabled && vnode.type === VaporSlot) extend(hooks, {
|
|
4040
4070
|
__vapor: true,
|
|
4041
4071
|
props,
|
|
4042
4072
|
state,
|
|
@@ -4083,20 +4113,20 @@ function baseResolveTransitionHooks(context, props, state, instance) {
|
|
|
4083
4113
|
} else return;
|
|
4084
4114
|
}
|
|
4085
4115
|
let called = false;
|
|
4086
|
-
el[enterCbKey
|
|
4116
|
+
el[enterCbKey] = (cancelled) => {
|
|
4087
4117
|
if (called) return;
|
|
4088
4118
|
called = true;
|
|
4089
4119
|
if (cancelled) callHook(cancelHook, [el]);
|
|
4090
4120
|
else callHook(afterHook, [el]);
|
|
4091
4121
|
if (hooks.delayedLeave) hooks.delayedLeave();
|
|
4092
|
-
el[enterCbKey
|
|
4122
|
+
el[enterCbKey] = void 0;
|
|
4093
4123
|
};
|
|
4094
|
-
const done = el[enterCbKey
|
|
4124
|
+
const done = el[enterCbKey].bind(null, false);
|
|
4095
4125
|
if (hook) callAsyncHook(hook, [el, done]);
|
|
4096
4126
|
else done();
|
|
4097
4127
|
},
|
|
4098
4128
|
leave(el, remove) {
|
|
4099
|
-
if (el[enterCbKey
|
|
4129
|
+
if (el[enterCbKey]) el[enterCbKey](true);
|
|
4100
4130
|
if (state.isUnmounting) return remove();
|
|
4101
4131
|
callHook(onBeforeLeave, [el]);
|
|
4102
4132
|
let called = false;
|
|
@@ -4231,7 +4261,7 @@ function applyTransitionModeSwitch(leavingVNode, leavingHooks, getEnterHooks, pr
|
|
|
4231
4261
|
function setTransitionHooks(vnode, hooks) {
|
|
4232
4262
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
4233
4263
|
vnode.transition = hooks;
|
|
4234
|
-
if (isVaporComponent(vnode.type)) getVaporInterface(vnode.component, vnode).setTransitionHooks(vnode.component, hooks);
|
|
4264
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) getVaporInterface(vnode.component, vnode).setTransitionHooks(vnode.component, hooks);
|
|
4235
4265
|
else {
|
|
4236
4266
|
const subTree = vnode.component.subTree;
|
|
4237
4267
|
return setTransitionHooks(isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree, hooks);
|
|
@@ -4270,7 +4300,7 @@ function checkTransitionMode(mode) {
|
|
|
4270
4300
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
|
|
4271
4301
|
}
|
|
4272
4302
|
function getTransitionRoot(vnode) {
|
|
4273
|
-
if (vnode.component && !isVaporComponent(vnode.type)) return getTransitionRoot(vnode.component.subTree);
|
|
4303
|
+
if (vnode.component && (!isVaporInteropEnabled || !isVaporComponent(vnode.type))) return getTransitionRoot(vnode.component.subTree);
|
|
4274
4304
|
if (vnode.type === Fragment) {
|
|
4275
4305
|
const child = isArray(vnode.children) && filterSingleRoot(vnode.children, false);
|
|
4276
4306
|
return child ? getTransitionRoot(child) : void 0;
|
|
@@ -4466,6 +4496,8 @@ const getContainerType = (container) => {
|
|
|
4466
4496
|
if (isMathMLContainer(container)) return "mathml";
|
|
4467
4497
|
};
|
|
4468
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);
|
|
4469
4501
|
function createHydrationFunctions(rendererInternals) {
|
|
4470
4502
|
const { mt: mountComponent, p: patch, o: { patchProp, createText, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;
|
|
4471
4503
|
const hydrate = (vnode, container) => {
|
|
@@ -4485,7 +4517,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4485
4517
|
};
|
|
4486
4518
|
const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {
|
|
4487
4519
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
4488
|
-
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(");
|
|
4520
|
+
const isFragmentStart = isComment(node) && (node.data === "[" || node.data === "(" || isVaporInteropEnabled && isVaporBranchStart(node.data));
|
|
4489
4521
|
const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);
|
|
4490
4522
|
const { type, ref, shapeFlag, patchFlag } = vnode;
|
|
4491
4523
|
let domType = node.nodeType;
|
|
@@ -4543,7 +4575,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4543
4575
|
else nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4544
4576
|
break;
|
|
4545
4577
|
case VaporSlot:
|
|
4546
|
-
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4578
|
+
if (isVaporInteropEnabled) nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4547
4579
|
break;
|
|
4548
4580
|
default: if (shapeFlag & 1) {
|
|
4549
4581
|
if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) nextNode = onMismatch();
|
|
@@ -4554,7 +4586,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4554
4586
|
if (isFragmentStart) nextNode = locateClosingAnchor(node);
|
|
4555
4587
|
else if (isComment(node) && node.data === "teleport start") nextNode = locateClosingAnchor(node, node.data, "teleport end");
|
|
4556
4588
|
else nextNode = nextSibling(node);
|
|
4557
|
-
if (vnode.type.__vapor) getVaporInterface(parentComponent, vnode).hydrate(vnode, node, container, nextNode, parentComponent, parentSuspense);
|
|
4589
|
+
if ((isVaporInteropEnabled || !!(process.env.NODE_ENV !== "production")) && vnode.type.__vapor) getVaporInterface(parentComponent, vnode).hydrate(vnode, node, container, nextNode, parentComponent, parentSuspense);
|
|
4558
4590
|
else {
|
|
4559
4591
|
mountComponent(vnode, container, null, parentComponent, parentSuspense, getContainerType(container), optimized);
|
|
4560
4592
|
const component = vnode.component;
|
|
@@ -4679,7 +4711,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4679
4711
|
if (fragmentSlotScopeIds) slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
|
|
4680
4712
|
const container = parentNode(node);
|
|
4681
4713
|
const first = nextSibling(node);
|
|
4682
|
-
const next = vnode.vo && node.data === "(" ? getVaporInterface(parentComponent, vnode).hydrateSlotOutlet(vnode, node, parentComponent, parentSuspense, slotScopeIds) : hydrateChildren(first, vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4714
|
+
const next = isVaporInteropEnabled && vnode.vo && node.data === "(" ? getVaporInterface(parentComponent, vnode).hydrateSlotOutlet(vnode, node, parentComponent, parentSuspense, slotScopeIds) : hydrateChildren(first, vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4683
4715
|
if (next && isComment(next) && next.data === (node.data === "(" ? ")" : "]")) return nextSibling(vnode.anchor = next);
|
|
4684
4716
|
else {
|
|
4685
4717
|
logMismatchError();
|
|
@@ -4689,7 +4721,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4689
4721
|
};
|
|
4690
4722
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
4691
4723
|
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
4692
|
-
(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);
|
|
4693
4725
|
logMismatchError();
|
|
4694
4726
|
}
|
|
4695
4727
|
vnode.el = null;
|
|
@@ -4716,7 +4748,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4716
4748
|
while (node) {
|
|
4717
4749
|
node = nextSibling(node);
|
|
4718
4750
|
if (node && isComment(node)) {
|
|
4719
|
-
if (node.data === open) match++;
|
|
4751
|
+
if (node.data === open || isVaporInteropEnabled && open === "[" && isVaporBranchStart(node.data)) match++;
|
|
4720
4752
|
if (node.data === close) {
|
|
4721
4753
|
if (match === 0) return nextSibling(node);
|
|
4722
4754
|
else match--;
|
|
@@ -4984,9 +5016,9 @@ const hydrateOnInteraction = (interactions = []) => (hydrate, forEach) => {
|
|
|
4984
5016
|
return teardown;
|
|
4985
5017
|
};
|
|
4986
5018
|
function forEachElement(node, cb) {
|
|
4987
|
-
if (isComment(node) && (node.data
|
|
5019
|
+
if (isComment(node) && isRangeStart(node.data)) {
|
|
4988
5020
|
const open = node.data;
|
|
4989
|
-
const close = open === "
|
|
5021
|
+
const close = open === "(" ? ")" : "]";
|
|
4990
5022
|
let depth = 1;
|
|
4991
5023
|
let next = node.nextSibling;
|
|
4992
5024
|
while (next) {
|
|
@@ -4995,7 +5027,7 @@ function forEachElement(node, cb) {
|
|
|
4995
5027
|
} else if (isComment(next)) {
|
|
4996
5028
|
if (next.data === close) {
|
|
4997
5029
|
if (--depth === 0) break;
|
|
4998
|
-
} else if (next.data === open) depth++;
|
|
5030
|
+
} else if (close === "]" ? next.data === "[" || isVaporBranchStart(next.data) : next.data === open) depth++;
|
|
4999
5031
|
}
|
|
5000
5032
|
next = next.nextSibling;
|
|
5001
5033
|
}
|
|
@@ -5098,7 +5130,7 @@ function createAsyncComponentContext(source) {
|
|
|
5098
5130
|
setPendingRequest: (request) => pendingRequest = request
|
|
5099
5131
|
};
|
|
5100
5132
|
}
|
|
5101
|
-
const useAsyncComponentState = (delay, timeout, onError, instance = currentInstance) => {
|
|
5133
|
+
const useAsyncComponentState = (delay = 200, timeout, onError, instance = currentInstance) => {
|
|
5102
5134
|
const loaded = /* @__PURE__ */ ref(false);
|
|
5103
5135
|
const error = /* @__PURE__ */ ref();
|
|
5104
5136
|
const delayed = /* @__PURE__ */ ref(!!delay);
|
|
@@ -5155,6 +5187,11 @@ function performAsyncHydrate(el, instance, hydrate, getResolvedComp, load, hydra
|
|
|
5155
5187
|
//#endregion
|
|
5156
5188
|
//#region packages/runtime-core/src/components/KeepAlive.ts
|
|
5157
5189
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
5190
|
+
let isKeepAliveEnabled = false;
|
|
5191
|
+
function withKeepAliveEnabled(value) {
|
|
5192
|
+
isKeepAliveEnabled = true;
|
|
5193
|
+
return value;
|
|
5194
|
+
}
|
|
5158
5195
|
const KeepAliveImpl = {
|
|
5159
5196
|
name: `KeepAlive`,
|
|
5160
5197
|
__isKeepAlive: true,
|
|
@@ -5303,7 +5340,7 @@ const decorate$2 = (t) => {
|
|
|
5303
5340
|
t.__isBuiltIn = true;
|
|
5304
5341
|
return t;
|
|
5305
5342
|
};
|
|
5306
|
-
const KeepAlive = /*@__PURE__*/ decorate$2(KeepAliveImpl);
|
|
5343
|
+
const KeepAlive = /*@__PURE__*/ withKeepAliveEnabled(/*@__PURE__*/ decorate$2(KeepAliveImpl));
|
|
5307
5344
|
function matches(pattern, name) {
|
|
5308
5345
|
if (isArray(pattern)) return pattern.some((p) => matches(p, name));
|
|
5309
5346
|
else if (isString(pattern)) return pattern.split(",").includes(name);
|
|
@@ -5766,11 +5803,12 @@ function invokeSlotFallback(fallback, owner) {
|
|
|
5766
5803
|
function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
5767
5804
|
if (props == null) props = {};
|
|
5768
5805
|
let slot = slots[name];
|
|
5769
|
-
const vaporSlot = slot && slot[rawVaporSlotKey];
|
|
5806
|
+
const vaporSlot = isVaporInteropEnabled && slot && slot[rawVaporSlotKey];
|
|
5770
5807
|
if (vaporSlot) {
|
|
5771
5808
|
const ret = (openBlock(), createBlock(VaporSlot, props));
|
|
5772
5809
|
ret.vs = {
|
|
5773
5810
|
slot: vaporSlot,
|
|
5811
|
+
name,
|
|
5774
5812
|
outlets: fallback ? [{
|
|
5775
5813
|
fallback,
|
|
5776
5814
|
owner: currentRenderingInstance
|
|
@@ -5801,7 +5839,7 @@ function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
|
5801
5839
|
try {
|
|
5802
5840
|
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
5803
5841
|
let attached = false;
|
|
5804
|
-
if (fallback && validSlotContent && currentRenderingInstance) {
|
|
5842
|
+
if (isVaporInteropEnabled && fallback && validSlotContent && currentRenderingInstance) {
|
|
5805
5843
|
const interop = currentRenderingInstance.appContext.vapor;
|
|
5806
5844
|
if (interop) attached = interop.attachSlotOutlet(validSlotContent, fallback, currentRenderingInstance);
|
|
5807
5845
|
}
|
|
@@ -6762,7 +6800,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6762
6800
|
if (options.el) return vm.$mount(options.el);
|
|
6763
6801
|
else return vm;
|
|
6764
6802
|
}
|
|
6765
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6803
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.14`;
|
|
6766
6804
|
Vue.config = singletonApp.config;
|
|
6767
6805
|
Vue.use = (plugin, ...options) => {
|
|
6768
6806
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -8166,7 +8204,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8166
8204
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
8167
8205
|
break;
|
|
8168
8206
|
case VaporSlot:
|
|
8169
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
8207
|
+
if (isVaporInteropEnabled) getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
8170
8208
|
break;
|
|
8171
8209
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
8172
8210
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -8302,7 +8340,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8302
8340
|
let vnodeHook;
|
|
8303
8341
|
parentComponent && toggleRecurse(parentComponent, false);
|
|
8304
8342
|
if (vnodeHook = newProps.onVnodeBeforeUpdate) invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
8305
|
-
if (n2.ibu) n2.ibu();
|
|
8343
|
+
if (isVaporInteropEnabled && n2.ibu) n2.ibu();
|
|
8306
8344
|
if (dirs) invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
8307
8345
|
parentComponent && toggleRecurse(parentComponent, true);
|
|
8308
8346
|
if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating || dynamicChildren && (!n1.dynamicChildren || n1.dynamicChildren.length !== dynamicChildren.length)) {
|
|
@@ -8336,9 +8374,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8336
8374
|
if (n1.children !== n2.children) hostSetElementText(el, n2.children);
|
|
8337
8375
|
}
|
|
8338
8376
|
} else if (!optimized && dynamicChildren == null) patchProps(el, oldProps, newProps, parentComponent, namespace);
|
|
8339
|
-
if ((vnodeHook = newProps.onVnodeUpdated) || dirs || n2.iu) queuePostRenderEffect(() => {
|
|
8377
|
+
if ((vnodeHook = newProps.onVnodeUpdated) || dirs || isVaporInteropEnabled && n2.iu) queuePostRenderEffect(() => {
|
|
8340
8378
|
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
8341
|
-
n2.iu && n2.iu();
|
|
8379
|
+
isVaporInteropEnabled && n2.iu && n2.iu();
|
|
8342
8380
|
dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
|
|
8343
8381
|
}, void 0, parentSuspense);
|
|
8344
8382
|
};
|
|
@@ -8387,7 +8425,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8387
8425
|
};
|
|
8388
8426
|
const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
8389
8427
|
n2.slotScopeIds = slotScopeIds;
|
|
8390
|
-
if (n2.type.__vapor) {
|
|
8428
|
+
if ((isVaporInteropEnabled || !!(process.env.NODE_ENV !== "production")) && n2.type.__vapor) {
|
|
8391
8429
|
if (n1 == null) {
|
|
8392
8430
|
if (n2.shapeFlag & 512) getVaporInterface(parentComponent, n2).activate(n2, container, anchor, parentComponent, parentSuspense);
|
|
8393
8431
|
else getVaporInterface(parentComponent, n2).mount(n2, container, anchor, parentComponent, parentSuspense);
|
|
@@ -8561,7 +8599,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8561
8599
|
} else next = vnode;
|
|
8562
8600
|
if (bu) invokeArrayFns(bu);
|
|
8563
8601
|
if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
8564
|
-
if (next.ibu) next.ibu();
|
|
8602
|
+
if (isVaporInteropEnabled && next.ibu) next.ibu();
|
|
8565
8603
|
if (isCompatEnabled$1("INSTANCE_EVENT_HOOKS", instance)) instance.emit("hook:beforeUpdate");
|
|
8566
8604
|
toggleRecurse(instance, true);
|
|
8567
8605
|
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `render`);
|
|
@@ -8575,9 +8613,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8575
8613
|
next.el = nextTree.el;
|
|
8576
8614
|
if (originNext === null) updateHOCHostEl(instance, nextTree.el);
|
|
8577
8615
|
if (u) queuePostRenderEffect(u, void 0, parentSuspense);
|
|
8578
|
-
if ((vnodeHook = next.props && next.props.onVnodeUpdated) || next.iu) queuePostRenderEffect(() => {
|
|
8616
|
+
if ((vnodeHook = next.props && next.props.onVnodeUpdated) || isVaporInteropEnabled && next.iu) queuePostRenderEffect(() => {
|
|
8579
8617
|
vnodeHook && invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
8580
|
-
next.iu && next.iu();
|
|
8618
|
+
isVaporInteropEnabled && next.iu && next.iu();
|
|
8581
8619
|
}, void 0, parentSuspense);
|
|
8582
8620
|
if (isCompatEnabled$1("INSTANCE_EVENT_HOOKS", instance)) queuePostRenderEffect(() => instance.emit("hook:updated"), void 0, parentSuspense);
|
|
8583
8621
|
if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) devtoolsComponentUpdated(instance);
|
|
@@ -8730,7 +8768,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8730
8768
|
};
|
|
8731
8769
|
const move = (vnode, container, anchor, moveType, parentComponent, parentSuspense = null) => {
|
|
8732
8770
|
const { el, type, transition, children, shapeFlag } = vnode;
|
|
8733
|
-
if (isVaporComponent(type) || type === VaporSlot) {
|
|
8771
|
+
if (isVaporInteropEnabled && (isVaporComponent(type) || type === VaporSlot)) {
|
|
8734
8772
|
getVaporInterface(parentComponent, vnode).move(vnode, container, anchor, moveType, parentSuspense);
|
|
8735
8773
|
return;
|
|
8736
8774
|
}
|
|
@@ -8774,11 +8812,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8774
8812
|
}
|
|
8775
8813
|
if (cacheIndex != null && (!vnode.ctx || vnode.ctx === parentComponent)) parentComponent.renderCache[cacheIndex] = void 0;
|
|
8776
8814
|
if (shapeFlag & 256) {
|
|
8777
|
-
if (isVaporComponent(vnode.type)) getVaporInterface(parentComponent, vnode).deactivate(vnode, parentComponent.ctx.getStorageContainer(), parentSuspense);
|
|
8815
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) getVaporInterface(parentComponent, vnode).deactivate(vnode, parentComponent.ctx.getStorageContainer(), parentSuspense);
|
|
8778
8816
|
else parentComponent.ctx.deactivate(vnode);
|
|
8779
8817
|
return;
|
|
8780
8818
|
}
|
|
8781
|
-
if (shapeFlag & 6 && isVaporComponent(type)) {
|
|
8819
|
+
if (isVaporInteropEnabled && shapeFlag & 6 && isVaporComponent(type)) {
|
|
8782
8820
|
getVaporInterface(parentComponent, vnode).unmount(vnode, doRemove, parentSuspense);
|
|
8783
8821
|
return;
|
|
8784
8822
|
}
|
|
@@ -8796,7 +8834,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8796
8834
|
if (shapeFlag & 64) vnode.type.remove(vnode, parentComponent, parentSuspense, internals, doRemove);
|
|
8797
8835
|
else if (dynamicChildren && !dynamicChildren.hasOnce && (type !== Fragment || patchFlag > 0 && patchFlag & 64)) unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
|
|
8798
8836
|
else if (type === Fragment && patchFlag & 384 || !optimized && shapeFlag & 16) unmountChildren(children, parentComponent, parentSuspense);
|
|
8799
|
-
if (type === VaporSlot) {
|
|
8837
|
+
if (isVaporInteropEnabled && type === VaporSlot) {
|
|
8800
8838
|
getVaporInterface(parentComponent, vnode).unmount(vnode, doRemove, parentSuspense);
|
|
8801
8839
|
return;
|
|
8802
8840
|
}
|
|
@@ -8830,7 +8868,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8830
8868
|
if (transition) {
|
|
8831
8869
|
let leavingEl = leavingNode && leavingNode.el;
|
|
8832
8870
|
let isElement = !!(leavingNode && leavingNode.shapeFlag & 1);
|
|
8833
|
-
if (isFragment && leavingNode && isVaporComponent(leavingNode.type)) {
|
|
8871
|
+
if (isVaporInteropEnabled && isFragment && leavingNode && isVaporComponent(leavingNode.type)) {
|
|
8834
8872
|
leavingEl = getVaporInterface(leavingNode.component, leavingNode).getTransitionElement(leavingNode);
|
|
8835
8873
|
isElement = !!leavingEl;
|
|
8836
8874
|
}
|
|
@@ -8871,7 +8909,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8871
8909
|
};
|
|
8872
8910
|
const getNextHostNode = (vnode) => {
|
|
8873
8911
|
if (vnode.shapeFlag & 6) {
|
|
8874
|
-
if (isVaporComponent(vnode.type)) return hostNextSibling(vnode.anchor);
|
|
8912
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) return hostNextSibling(vnode.anchor);
|
|
8875
8913
|
return getNextHostNode(vnode.component.subTree);
|
|
8876
8914
|
}
|
|
8877
8915
|
if (vnode.shapeFlag & 128) return vnode.suspense.next();
|
|
@@ -8932,7 +8970,7 @@ function resolveChildrenNamespace({ type, props }, currentNamespace) {
|
|
|
8932
8970
|
return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
|
|
8933
8971
|
}
|
|
8934
8972
|
function toggleRecurse({ effect, job, vapor }, allowed) {
|
|
8935
|
-
if (!vapor) {
|
|
8973
|
+
if (!isVaporInteropEnabled || !vapor) {
|
|
8936
8974
|
if (allowed) {
|
|
8937
8975
|
effect.flags |= 128;
|
|
8938
8976
|
job.flags |= 2;
|
|
@@ -9044,7 +9082,7 @@ function getInheritedScopeIds(vnode, parentComponent, includeVaporRootIds = true
|
|
|
9044
9082
|
currentParent = currentParent.parent;
|
|
9045
9083
|
} else break;
|
|
9046
9084
|
}
|
|
9047
|
-
const vaporScopeIds = includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
9085
|
+
const vaporScopeIds = isVaporInteropEnabled && includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
9048
9086
|
if (vaporScopeIds) inheritedScopeIds.push(...vaporScopeIds);
|
|
9049
9087
|
return inheritedScopeIds;
|
|
9050
9088
|
}
|
|
@@ -9057,8 +9095,13 @@ function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
|
9057
9095
|
//#endregion
|
|
9058
9096
|
//#region packages/runtime-core/src/components/Suspense.ts
|
|
9059
9097
|
const isSuspense = (type) => type.__isSuspense;
|
|
9098
|
+
let isSuspenseEnabled = false;
|
|
9099
|
+
function withSuspenseEnabled(value) {
|
|
9100
|
+
isSuspenseEnabled = true;
|
|
9101
|
+
return value;
|
|
9102
|
+
}
|
|
9060
9103
|
let suspenseId = 0;
|
|
9061
|
-
const Suspense = {
|
|
9104
|
+
const Suspense = /*@__PURE__*/ withSuspenseEnabled({
|
|
9062
9105
|
name: "Suspense",
|
|
9063
9106
|
__isSuspense: true,
|
|
9064
9107
|
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
@@ -9075,7 +9118,7 @@ const Suspense = {
|
|
|
9075
9118
|
},
|
|
9076
9119
|
hydrate: hydrateSuspense,
|
|
9077
9120
|
normalize: normalizeSuspenseChildren
|
|
9078
|
-
};
|
|
9121
|
+
});
|
|
9079
9122
|
function triggerEvent(vnode, name) {
|
|
9080
9123
|
const eventListener = vnode.props && vnode.props[name];
|
|
9081
9124
|
if (isFunction(eventListener)) eventListener();
|
|
@@ -9656,16 +9699,23 @@ function cloneVaporSlotMeta(vnode, extraProps) {
|
|
|
9656
9699
|
if (!vaporSlot) return vaporSlot;
|
|
9657
9700
|
const cloned = {
|
|
9658
9701
|
slot: vaporSlot.slot,
|
|
9702
|
+
name: vaporSlot.name,
|
|
9659
9703
|
outlets: vaporSlot.outlets,
|
|
9660
|
-
props: vaporSlot.props
|
|
9704
|
+
props: vaporSlot.props,
|
|
9705
|
+
attrs: vaporSlot.attrs && vaporSlot.attrs === EMPTY_OBJ ? {} : vaporSlot.attrs,
|
|
9706
|
+
group: vaporSlot.group
|
|
9661
9707
|
};
|
|
9662
|
-
|
|
9708
|
+
const attrs = cloned.attrs;
|
|
9709
|
+
if (extraProps && vaporSlot.props) {
|
|
9663
9710
|
let extraSlotProps;
|
|
9664
|
-
for (const key in extraProps) if (key !== "key") {
|
|
9711
|
+
for (const key in extraProps) if (attrs ? !isReservedProp(key) : key !== "key") {
|
|
9665
9712
|
if (!extraSlotProps) extraSlotProps = {};
|
|
9666
9713
|
extraSlotProps[key] = extraProps[key];
|
|
9667
9714
|
}
|
|
9668
|
-
if (extraSlotProps)
|
|
9715
|
+
if (extraSlotProps) {
|
|
9716
|
+
if (attrs) cloned.attrs = mergeProps(attrs, extraSlotProps);
|
|
9717
|
+
else cloned.props = mergeProps(vaporSlot.props, extraSlotProps);
|
|
9718
|
+
}
|
|
9669
9719
|
}
|
|
9670
9720
|
if (vnode.el) {
|
|
9671
9721
|
cloned.state = vaporSlot.state;
|
|
@@ -9954,7 +10004,7 @@ function setupComponent(instance, isSSR = false, optimized = false) {
|
|
|
9954
10004
|
isSSR && setInSSRSetupState(isSSR);
|
|
9955
10005
|
const { props, children, vi } = instance.vnode;
|
|
9956
10006
|
const isStateful = isStatefulComponent(instance);
|
|
9957
|
-
if (vi) vi(instance);
|
|
10007
|
+
if (isVaporInteropEnabled && vi) vi(instance);
|
|
9958
10008
|
else {
|
|
9959
10009
|
initProps(instance, props, isStateful, isSSR);
|
|
9960
10010
|
initSlots(instance, children, optimized || isSSR);
|
|
@@ -10390,7 +10440,7 @@ function isMemoSame(cached, memo) {
|
|
|
10390
10440
|
}
|
|
10391
10441
|
//#endregion
|
|
10392
10442
|
//#region packages/runtime-core/src/index.ts
|
|
10393
|
-
const version = "3.6.0-rc.
|
|
10443
|
+
const version = "3.6.0-rc.14";
|
|
10394
10444
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
10395
10445
|
/**
|
|
10396
10446
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -10847,14 +10897,14 @@ function setVarsOnVNode(vnode, vars) {
|
|
|
10847
10897
|
}
|
|
10848
10898
|
while (vnode.component) {
|
|
10849
10899
|
const component = vnode.component;
|
|
10850
|
-
if (component.vapor) {
|
|
10900
|
+
if (isVaporInteropEnabled && component.vapor) {
|
|
10851
10901
|
component.appContext.vapor.applyCssVars(vnode, vars);
|
|
10852
10902
|
return;
|
|
10853
10903
|
}
|
|
10854
10904
|
vnode = vnode.component.subTree;
|
|
10855
10905
|
}
|
|
10856
10906
|
if (vnode.shapeFlag & 1 && vnode.el) setVarsOnNode(vnode.el, vars);
|
|
10857
|
-
else if (vnode.vb) vnode.ctx.appContext.vapor.applyCssVars(vnode, vars);
|
|
10907
|
+
else if (isVaporInteropEnabled && vnode.vb) vnode.ctx.appContext.vapor.applyCssVars(vnode, vars);
|
|
10858
10908
|
else if (vnode.type === Fragment) vnode.children.forEach((c) => setVarsOnVNode(c, vars));
|
|
10859
10909
|
else if (vnode.type === Static) {
|
|
10860
10910
|
let { el, anchor } = vnode;
|
|
@@ -11572,7 +11622,7 @@ function useCssModule(name = "$style") {
|
|
|
11572
11622
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
11573
11623
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
11574
11624
|
const moveCbKey = Symbol("_moveCb");
|
|
11575
|
-
const enterCbKey = Symbol("_enterCb");
|
|
11625
|
+
const enterCbKey$1 = Symbol("_enterCb");
|
|
11576
11626
|
const pendingGroups = /* @__PURE__ */ new WeakMap();
|
|
11577
11627
|
/**
|
|
11578
11628
|
* Wrap logic that modifies TransitionGroup properties in a function
|
|
@@ -11583,7 +11633,7 @@ const decorate = (t) => {
|
|
|
11583
11633
|
t.__isBuiltIn = true;
|
|
11584
11634
|
return t;
|
|
11585
11635
|
};
|
|
11586
|
-
const TransitionGroup = /* @__PURE__ */ decorate({
|
|
11636
|
+
const TransitionGroup = /*@__PURE__*/ withTransitionEnabled(/* @__PURE__ */ decorate({
|
|
11587
11637
|
name: "TransitionGroup",
|
|
11588
11638
|
props: /*@__PURE__*/ extend({}, TransitionPropsValidators, {
|
|
11589
11639
|
tag: String,
|
|
@@ -11592,6 +11642,11 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11592
11642
|
setup(props, { slots }) {
|
|
11593
11643
|
const instance = getCurrentInstance();
|
|
11594
11644
|
const state = useTransitionState();
|
|
11645
|
+
const group = {
|
|
11646
|
+
props: {},
|
|
11647
|
+
state,
|
|
11648
|
+
instance
|
|
11649
|
+
};
|
|
11595
11650
|
let prevChildren;
|
|
11596
11651
|
let children;
|
|
11597
11652
|
let origins;
|
|
@@ -11622,7 +11677,7 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11622
11677
|
});
|
|
11623
11678
|
return () => {
|
|
11624
11679
|
const rawProps = /* @__PURE__ */ toRaw(props);
|
|
11625
|
-
const cssTransitionProps = resolveTransitionProps(rawProps);
|
|
11680
|
+
const cssTransitionProps = group.props = resolveTransitionProps(rawProps);
|
|
11626
11681
|
let tag = rawProps.tag || Fragment;
|
|
11627
11682
|
if (!rawProps.tag && compatUtils.checkCompatEnabled("TRANSITION_GROUP_ROOT", instance.parent)) tag = "span";
|
|
11628
11683
|
prevChildren = [];
|
|
@@ -11633,12 +11688,17 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11633
11688
|
prevChildren.push(child);
|
|
11634
11689
|
setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
11635
11690
|
positionMap.set(child, getPosition(child.el));
|
|
11636
|
-
}
|
|
11691
|
+
} else if (isVaporInteropEnabled && child.vs && child.vb) instance.appContext.vapor.forEachGroupChild(child, (el) => {
|
|
11692
|
+
const row = { el };
|
|
11693
|
+
prevChildren.push(row);
|
|
11694
|
+
positionMap.set(row, getPosition(el));
|
|
11695
|
+
});
|
|
11637
11696
|
}
|
|
11638
11697
|
children = slots.default ? getTransitionRawChildren(slots.default()) : [];
|
|
11639
11698
|
for (let i = 0; i < children.length; i++) {
|
|
11640
11699
|
const child = children[i];
|
|
11641
|
-
if (child.
|
|
11700
|
+
if (isVaporInteropEnabled && child.vs) child.vs.group = group;
|
|
11701
|
+
else if (child.key != null) setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
11642
11702
|
else if (!!(process.env.NODE_ENV !== "production") && child.type !== Text) warn(`<TransitionGroup> children must be keyed.`);
|
|
11643
11703
|
}
|
|
11644
11704
|
if (prevChildren.length) {
|
|
@@ -11652,10 +11712,10 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11652
11712
|
return createVNode(tag, null, children);
|
|
11653
11713
|
};
|
|
11654
11714
|
}
|
|
11655
|
-
});
|
|
11715
|
+
}));
|
|
11656
11716
|
function callPendingCbs(el) {
|
|
11657
11717
|
if (el[moveCbKey]) el[moveCbKey]();
|
|
11658
|
-
if (el[enterCbKey]) el[enterCbKey]();
|
|
11718
|
+
if (el[enterCbKey$1]) el[enterCbKey$1]();
|
|
11659
11719
|
}
|
|
11660
11720
|
function resolveMoveClass(props) {
|
|
11661
11721
|
return props.moveClass || `${props.name || "v"}-move`;
|
|
@@ -11796,7 +11856,7 @@ const vModelTextInit = (el, trim, number, lazy, set) => {
|
|
|
11796
11856
|
if (e.target.composing) return;
|
|
11797
11857
|
(set || el[assignKey])(castValue(el.value, trim, number || el.type === "number"));
|
|
11798
11858
|
});
|
|
11799
|
-
if (trim || number) addEventListener(el, "change", () => {
|
|
11859
|
+
if (trim || number || el.type === "number") addEventListener(el, "change", () => {
|
|
11800
11860
|
el.value = castValue(el.value, trim, number || el.type === "number");
|
|
11801
11861
|
});
|
|
11802
11862
|
if (!lazy) {
|
|
@@ -12177,12 +12237,14 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12177
12237
|
defineSlots: () => defineSlots,
|
|
12178
12238
|
devtools: () => devtools,
|
|
12179
12239
|
devtoolsComponentAdded: () => devtoolsComponentAdded,
|
|
12240
|
+
devtoolsComponentRemoved: () => devtoolsComponentRemoved,
|
|
12180
12241
|
effect: () => effect,
|
|
12181
12242
|
effectScope: () => effectScope,
|
|
12182
12243
|
endMeasure: () => endMeasure,
|
|
12183
12244
|
ensureHydrationRenderer: () => ensureHydrationRenderer,
|
|
12184
12245
|
ensureRenderer: () => ensureRenderer,
|
|
12185
12246
|
ensureValidVNode: () => ensureValidVNode,
|
|
12247
|
+
enterCbKey: () => enterCbKey,
|
|
12186
12248
|
expose: () => expose,
|
|
12187
12249
|
filterModelListeners: () => filterModelListeners,
|
|
12188
12250
|
filterSingleRoot: () => filterSingleRoot,
|
|
@@ -12226,6 +12288,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12226
12288
|
isHydrating: () => isHydrating,
|
|
12227
12289
|
isHydratingEnabled: () => isHydratingEnabled,
|
|
12228
12290
|
isKeepAlive: () => isKeepAlive,
|
|
12291
|
+
isKeepAliveEnabled: () => isKeepAliveEnabled,
|
|
12229
12292
|
isMapEqual: () => isMapEqual,
|
|
12230
12293
|
isMemoSame: () => isMemoSame,
|
|
12231
12294
|
isMismatchAllowed: () => isMismatchAllowed,
|
|
@@ -12236,13 +12299,16 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12236
12299
|
isRuntimeOnly: () => isRuntimeOnly,
|
|
12237
12300
|
isSetEqual: () => isSetEqual,
|
|
12238
12301
|
isShallow: () => isShallow,
|
|
12302
|
+
isSuspenseEnabled: () => isSuspenseEnabled,
|
|
12239
12303
|
isTeleportDeferred: () => isTeleportDeferred,
|
|
12240
12304
|
isTeleportDisabled: () => isTeleportDisabled,
|
|
12241
12305
|
isTemplateNode: () => isTemplateNode,
|
|
12242
12306
|
isTemplateRefKey: () => isTemplateRefKey,
|
|
12307
|
+
isTransitionEnabled: () => isTransitionEnabled,
|
|
12243
12308
|
isUnchangedResourceProp: () => isUnchangedResourceProp,
|
|
12244
12309
|
isVNode: () => isVNode,
|
|
12245
12310
|
isValidHtmlOrSvgAttribute: () => isValidHtmlOrSvgAttribute,
|
|
12311
|
+
isVaporInteropEnabled: () => isVaporInteropEnabled,
|
|
12246
12312
|
knownTemplateRefs: () => knownTemplateRefs,
|
|
12247
12313
|
leaveCbKey: () => leaveCbKey,
|
|
12248
12314
|
logMismatchError: () => logMismatchError,
|
|
@@ -12323,6 +12389,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12323
12389
|
setIsHydratingEnabled: () => setIsHydratingEnabled,
|
|
12324
12390
|
setRef: () => setRef,
|
|
12325
12391
|
setTransitionHooks: () => setTransitionHooks,
|
|
12392
|
+
setVaporInteropEnabled: () => setVaporInteropEnabled,
|
|
12326
12393
|
setVarsOnNode: () => setVarsOnNode,
|
|
12327
12394
|
shallowReactive: () => shallowReactive,
|
|
12328
12395
|
shallowReadonly: () => shallowReadonly,
|
|
@@ -12392,10 +12459,13 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12392
12459
|
withCtx: () => withCtx,
|
|
12393
12460
|
withDefaults: () => withDefaults,
|
|
12394
12461
|
withDirectives: () => withDirectives,
|
|
12462
|
+
withKeepAliveEnabled: () => withKeepAliveEnabled,
|
|
12395
12463
|
withKeys: () => withKeys,
|
|
12396
12464
|
withMemo: () => withMemo,
|
|
12397
12465
|
withModifiers: () => withModifiers,
|
|
12398
12466
|
withScopeId: () => withScopeId,
|
|
12467
|
+
withSuspenseEnabled: () => withSuspenseEnabled,
|
|
12468
|
+
withTransitionEnabled: () => withTransitionEnabled,
|
|
12399
12469
|
xlinkNS: () => xlinkNS
|
|
12400
12470
|
});
|
|
12401
12471
|
const rendererOptions = /*@__PURE__*/ extend({ patchProp }, nodeOps);
|
|
@@ -16945,4 +17015,4 @@ Vue.compile = compileToFunction;
|
|
|
16945
17015
|
var esm_index_default = Vue;
|
|
16946
17016
|
const configureCompat = Vue.configureCompat;
|
|
16947
17017
|
//#endregion
|
|
16948
|
-
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, 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, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isUnchangedResourceProp, 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, 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, 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 };
|
|
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 };
|