@vue/compat 3.6.0-rc.12 → 3.6.0-rc.13
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 +95 -44
- package/dist/vue.cjs.prod.js +97 -46
- package/dist/vue.esm-browser.js +98 -47
- package/dist/vue.esm-browser.prod.js +7 -7
- package/dist/vue.esm-bundler.js +107 -55
- package/dist/vue.global.js +97 -46
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +98 -47
- package/dist/vue.runtime.esm-browser.prod.js +7 -7
- package/dist/vue.runtime.esm-bundler.js +107 -55
- package/dist/vue.runtime.global.js +97 -46
- 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.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3694,6 +3694,16 @@ function createPathGetter(ctx, path) {
|
|
|
3694
3694
|
};
|
|
3695
3695
|
}
|
|
3696
3696
|
//#endregion
|
|
3697
|
+
//#region packages/runtime-core/src/vaporInteropState.ts
|
|
3698
|
+
/**
|
|
3699
|
+
* Set by `vaporInteropPlugin`. Stays false in apps that never import the
|
|
3700
|
+
* plugin, so bundlers drop the vapor-in-vdom branches of the renderer.
|
|
3701
|
+
*/
|
|
3702
|
+
let isVaporInteropEnabled = false;
|
|
3703
|
+
function setVaporInteropEnabled() {
|
|
3704
|
+
isVaporInteropEnabled = true;
|
|
3705
|
+
}
|
|
3706
|
+
//#endregion
|
|
3697
3707
|
//#region packages/runtime-core/src/components/Teleport.ts
|
|
3698
3708
|
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3699
3709
|
const TeleportEndKey = Symbol("_vte");
|
|
@@ -3919,7 +3929,7 @@ function prepareAnchor(target, vnode, createText, insert, anchor = null) {
|
|
|
3919
3929
|
//#endregion
|
|
3920
3930
|
//#region packages/runtime-core/src/components/BaseTransition.ts
|
|
3921
3931
|
const leaveCbKey = Symbol("_leaveCb");
|
|
3922
|
-
const enterCbKey
|
|
3932
|
+
const enterCbKey = Symbol("_enterCb");
|
|
3923
3933
|
function useTransitionState() {
|
|
3924
3934
|
const state = {
|
|
3925
3935
|
isMounted: false,
|
|
@@ -3953,13 +3963,18 @@ const BaseTransitionPropsValidators = {
|
|
|
3953
3963
|
onAfterAppear: TransitionHookValidator,
|
|
3954
3964
|
onAppearCancelled: TransitionHookValidator
|
|
3955
3965
|
};
|
|
3966
|
+
let isTransitionEnabled = false;
|
|
3967
|
+
function withTransitionEnabled(value) {
|
|
3968
|
+
isTransitionEnabled = true;
|
|
3969
|
+
return value;
|
|
3970
|
+
}
|
|
3956
3971
|
function isEmptyTransitionChild(vnode, instance) {
|
|
3957
3972
|
if (vnode.type === Comment) return true;
|
|
3958
3973
|
if (vnode.type === Fragment) {
|
|
3959
3974
|
const child = isArray(vnode.children) && filterSingleRoot(vnode.children, false);
|
|
3960
3975
|
return !child || isEmptyTransitionChild(child, instance);
|
|
3961
3976
|
}
|
|
3962
|
-
if (vnode.type === VaporSlot || isVaporComponent(vnode.type)) return !getVaporInterface(instance, vnode).hasTransitionChild(vnode);
|
|
3977
|
+
if (isVaporInteropEnabled && (vnode.type === VaporSlot || isVaporComponent(vnode.type))) return !getVaporInterface(instance, vnode).hasTransitionChild(vnode);
|
|
3963
3978
|
return !!vnode.component && isEmptyTransitionChild(vnode.component.subTree, instance);
|
|
3964
3979
|
}
|
|
3965
3980
|
const BaseTransitionImpl = {
|
|
@@ -3976,7 +3991,7 @@ const BaseTransitionImpl = {
|
|
|
3976
3991
|
const { mode } = rawProps;
|
|
3977
3992
|
checkTransitionMode(mode);
|
|
3978
3993
|
return prepareTransitionSwitch(instance.subTree, child, rawProps, state, instance, mode === "out-in" ? resumeAfterLeave || (resumeAfterLeave = () => {
|
|
3979
|
-
if (!(instance.
|
|
3994
|
+
if (!(instance.effect.flags & 1024)) instance.update();
|
|
3980
3995
|
}) : NOOP);
|
|
3981
3996
|
};
|
|
3982
3997
|
}
|
|
@@ -3998,7 +4013,7 @@ function findNonCommentChild(children) {
|
|
|
3998
4013
|
}
|
|
3999
4014
|
return child;
|
|
4000
4015
|
}
|
|
4001
|
-
const BaseTransition = BaseTransitionImpl;
|
|
4016
|
+
const BaseTransition = /*@__PURE__*/ withTransitionEnabled(BaseTransitionImpl);
|
|
4002
4017
|
function getLeavingNodesForType(state, vnode) {
|
|
4003
4018
|
const { leavingNodes } = state;
|
|
4004
4019
|
let leavingVNodesCache = leavingNodes.get(vnode.type);
|
|
@@ -4036,7 +4051,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
4036
4051
|
return hooks;
|
|
4037
4052
|
}
|
|
4038
4053
|
}, props, state, instance);
|
|
4039
|
-
if (vnode.type === VaporSlot) extend(hooks, {
|
|
4054
|
+
if (isVaporInteropEnabled && vnode.type === VaporSlot) extend(hooks, {
|
|
4040
4055
|
__vapor: true,
|
|
4041
4056
|
props,
|
|
4042
4057
|
state,
|
|
@@ -4083,20 +4098,20 @@ function baseResolveTransitionHooks(context, props, state, instance) {
|
|
|
4083
4098
|
} else return;
|
|
4084
4099
|
}
|
|
4085
4100
|
let called = false;
|
|
4086
|
-
el[enterCbKey
|
|
4101
|
+
el[enterCbKey] = (cancelled) => {
|
|
4087
4102
|
if (called) return;
|
|
4088
4103
|
called = true;
|
|
4089
4104
|
if (cancelled) callHook(cancelHook, [el]);
|
|
4090
4105
|
else callHook(afterHook, [el]);
|
|
4091
4106
|
if (hooks.delayedLeave) hooks.delayedLeave();
|
|
4092
|
-
el[enterCbKey
|
|
4107
|
+
el[enterCbKey] = void 0;
|
|
4093
4108
|
};
|
|
4094
|
-
const done = el[enterCbKey
|
|
4109
|
+
const done = el[enterCbKey].bind(null, false);
|
|
4095
4110
|
if (hook) callAsyncHook(hook, [el, done]);
|
|
4096
4111
|
else done();
|
|
4097
4112
|
},
|
|
4098
4113
|
leave(el, remove) {
|
|
4099
|
-
if (el[enterCbKey
|
|
4114
|
+
if (el[enterCbKey]) el[enterCbKey](true);
|
|
4100
4115
|
if (state.isUnmounting) return remove();
|
|
4101
4116
|
callHook(onBeforeLeave, [el]);
|
|
4102
4117
|
let called = false;
|
|
@@ -4231,7 +4246,7 @@ function applyTransitionModeSwitch(leavingVNode, leavingHooks, getEnterHooks, pr
|
|
|
4231
4246
|
function setTransitionHooks(vnode, hooks) {
|
|
4232
4247
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
4233
4248
|
vnode.transition = hooks;
|
|
4234
|
-
if (isVaporComponent(vnode.type)) getVaporInterface(vnode.component, vnode).setTransitionHooks(vnode.component, hooks);
|
|
4249
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) getVaporInterface(vnode.component, vnode).setTransitionHooks(vnode.component, hooks);
|
|
4235
4250
|
else {
|
|
4236
4251
|
const subTree = vnode.component.subTree;
|
|
4237
4252
|
return setTransitionHooks(isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree, hooks);
|
|
@@ -4270,7 +4285,7 @@ function checkTransitionMode(mode) {
|
|
|
4270
4285
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
|
|
4271
4286
|
}
|
|
4272
4287
|
function getTransitionRoot(vnode) {
|
|
4273
|
-
if (vnode.component && !isVaporComponent(vnode.type)) return getTransitionRoot(vnode.component.subTree);
|
|
4288
|
+
if (vnode.component && (!isVaporInteropEnabled || !isVaporComponent(vnode.type))) return getTransitionRoot(vnode.component.subTree);
|
|
4274
4289
|
if (vnode.type === Fragment) {
|
|
4275
4290
|
const child = isArray(vnode.children) && filterSingleRoot(vnode.children, false);
|
|
4276
4291
|
return child ? getTransitionRoot(child) : void 0;
|
|
@@ -4543,7 +4558,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4543
4558
|
else nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
4544
4559
|
break;
|
|
4545
4560
|
case VaporSlot:
|
|
4546
|
-
nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4561
|
+
if (isVaporInteropEnabled) nextNode = getVaporInterface(parentComponent, vnode).hydrateSlot(vnode, node, parentComponent, parentSuspense, slotScopeIds);
|
|
4547
4562
|
break;
|
|
4548
4563
|
default: if (shapeFlag & 1) {
|
|
4549
4564
|
if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) nextNode = onMismatch();
|
|
@@ -4554,7 +4569,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4554
4569
|
if (isFragmentStart) nextNode = locateClosingAnchor(node);
|
|
4555
4570
|
else if (isComment(node) && node.data === "teleport start") nextNode = locateClosingAnchor(node, node.data, "teleport end");
|
|
4556
4571
|
else nextNode = nextSibling(node);
|
|
4557
|
-
if (vnode.type.__vapor) getVaporInterface(parentComponent, vnode).hydrate(vnode, node, container, nextNode, parentComponent, parentSuspense);
|
|
4572
|
+
if ((isVaporInteropEnabled || !!(process.env.NODE_ENV !== "production")) && vnode.type.__vapor) getVaporInterface(parentComponent, vnode).hydrate(vnode, node, container, nextNode, parentComponent, parentSuspense);
|
|
4558
4573
|
else {
|
|
4559
4574
|
mountComponent(vnode, container, null, parentComponent, parentSuspense, getContainerType(container), optimized);
|
|
4560
4575
|
const component = vnode.component;
|
|
@@ -4679,7 +4694,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
4679
4694
|
if (fragmentSlotScopeIds) slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
|
|
4680
4695
|
const container = parentNode(node);
|
|
4681
4696
|
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);
|
|
4697
|
+
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
4698
|
if (next && isComment(next) && next.data === (node.data === "(" ? ")" : "]")) return nextSibling(vnode.anchor = next);
|
|
4684
4699
|
else {
|
|
4685
4700
|
logMismatchError();
|
|
@@ -5098,7 +5113,7 @@ function createAsyncComponentContext(source) {
|
|
|
5098
5113
|
setPendingRequest: (request) => pendingRequest = request
|
|
5099
5114
|
};
|
|
5100
5115
|
}
|
|
5101
|
-
const useAsyncComponentState = (delay, timeout, onError, instance = currentInstance) => {
|
|
5116
|
+
const useAsyncComponentState = (delay = 200, timeout, onError, instance = currentInstance) => {
|
|
5102
5117
|
const loaded = /* @__PURE__ */ ref(false);
|
|
5103
5118
|
const error = /* @__PURE__ */ ref();
|
|
5104
5119
|
const delayed = /* @__PURE__ */ ref(!!delay);
|
|
@@ -5155,6 +5170,11 @@ function performAsyncHydrate(el, instance, hydrate, getResolvedComp, load, hydra
|
|
|
5155
5170
|
//#endregion
|
|
5156
5171
|
//#region packages/runtime-core/src/components/KeepAlive.ts
|
|
5157
5172
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
5173
|
+
let isKeepAliveEnabled = false;
|
|
5174
|
+
function withKeepAliveEnabled(value) {
|
|
5175
|
+
isKeepAliveEnabled = true;
|
|
5176
|
+
return value;
|
|
5177
|
+
}
|
|
5158
5178
|
const KeepAliveImpl = {
|
|
5159
5179
|
name: `KeepAlive`,
|
|
5160
5180
|
__isKeepAlive: true,
|
|
@@ -5303,7 +5323,7 @@ const decorate$2 = (t) => {
|
|
|
5303
5323
|
t.__isBuiltIn = true;
|
|
5304
5324
|
return t;
|
|
5305
5325
|
};
|
|
5306
|
-
const KeepAlive = /*@__PURE__*/ decorate$2(KeepAliveImpl);
|
|
5326
|
+
const KeepAlive = /*@__PURE__*/ withKeepAliveEnabled(/*@__PURE__*/ decorate$2(KeepAliveImpl));
|
|
5307
5327
|
function matches(pattern, name) {
|
|
5308
5328
|
if (isArray(pattern)) return pattern.some((p) => matches(p, name));
|
|
5309
5329
|
else if (isString(pattern)) return pattern.split(",").includes(name);
|
|
@@ -5766,11 +5786,12 @@ function invokeSlotFallback(fallback, owner) {
|
|
|
5766
5786
|
function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
5767
5787
|
if (props == null) props = {};
|
|
5768
5788
|
let slot = slots[name];
|
|
5769
|
-
const vaporSlot = slot && slot[rawVaporSlotKey];
|
|
5789
|
+
const vaporSlot = isVaporInteropEnabled && slot && slot[rawVaporSlotKey];
|
|
5770
5790
|
if (vaporSlot) {
|
|
5771
5791
|
const ret = (openBlock(), createBlock(VaporSlot, props));
|
|
5772
5792
|
ret.vs = {
|
|
5773
5793
|
slot: vaporSlot,
|
|
5794
|
+
name,
|
|
5774
5795
|
outlets: fallback ? [{
|
|
5775
5796
|
fallback,
|
|
5776
5797
|
owner: currentRenderingInstance
|
|
@@ -5801,7 +5822,7 @@ function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
|
5801
5822
|
try {
|
|
5802
5823
|
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
5803
5824
|
let attached = false;
|
|
5804
|
-
if (fallback && validSlotContent && currentRenderingInstance) {
|
|
5825
|
+
if (isVaporInteropEnabled && fallback && validSlotContent && currentRenderingInstance) {
|
|
5805
5826
|
const interop = currentRenderingInstance.appContext.vapor;
|
|
5806
5827
|
if (interop) attached = interop.attachSlotOutlet(validSlotContent, fallback, currentRenderingInstance);
|
|
5807
5828
|
}
|
|
@@ -6762,7 +6783,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6762
6783
|
if (options.el) return vm.$mount(options.el);
|
|
6763
6784
|
else return vm;
|
|
6764
6785
|
}
|
|
6765
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6786
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.13`;
|
|
6766
6787
|
Vue.config = singletonApp.config;
|
|
6767
6788
|
Vue.use = (plugin, ...options) => {
|
|
6768
6789
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -8166,7 +8187,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8166
8187
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
8167
8188
|
break;
|
|
8168
8189
|
case VaporSlot:
|
|
8169
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
8190
|
+
if (isVaporInteropEnabled) getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense, slotScopeIds);
|
|
8170
8191
|
break;
|
|
8171
8192
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
8172
8193
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -8302,7 +8323,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8302
8323
|
let vnodeHook;
|
|
8303
8324
|
parentComponent && toggleRecurse(parentComponent, false);
|
|
8304
8325
|
if (vnodeHook = newProps.onVnodeBeforeUpdate) invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
8305
|
-
if (n2.ibu) n2.ibu();
|
|
8326
|
+
if (isVaporInteropEnabled && n2.ibu) n2.ibu();
|
|
8306
8327
|
if (dirs) invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
8307
8328
|
parentComponent && toggleRecurse(parentComponent, true);
|
|
8308
8329
|
if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating || dynamicChildren && (!n1.dynamicChildren || n1.dynamicChildren.length !== dynamicChildren.length)) {
|
|
@@ -8336,9 +8357,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8336
8357
|
if (n1.children !== n2.children) hostSetElementText(el, n2.children);
|
|
8337
8358
|
}
|
|
8338
8359
|
} else if (!optimized && dynamicChildren == null) patchProps(el, oldProps, newProps, parentComponent, namespace);
|
|
8339
|
-
if ((vnodeHook = newProps.onVnodeUpdated) || dirs || n2.iu) queuePostRenderEffect(() => {
|
|
8360
|
+
if ((vnodeHook = newProps.onVnodeUpdated) || dirs || isVaporInteropEnabled && n2.iu) queuePostRenderEffect(() => {
|
|
8340
8361
|
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
8341
|
-
n2.iu && n2.iu();
|
|
8362
|
+
isVaporInteropEnabled && n2.iu && n2.iu();
|
|
8342
8363
|
dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
|
|
8343
8364
|
}, void 0, parentSuspense);
|
|
8344
8365
|
};
|
|
@@ -8387,7 +8408,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8387
8408
|
};
|
|
8388
8409
|
const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
8389
8410
|
n2.slotScopeIds = slotScopeIds;
|
|
8390
|
-
if (n2.type.__vapor) {
|
|
8411
|
+
if ((isVaporInteropEnabled || !!(process.env.NODE_ENV !== "production")) && n2.type.__vapor) {
|
|
8391
8412
|
if (n1 == null) {
|
|
8392
8413
|
if (n2.shapeFlag & 512) getVaporInterface(parentComponent, n2).activate(n2, container, anchor, parentComponent, parentSuspense);
|
|
8393
8414
|
else getVaporInterface(parentComponent, n2).mount(n2, container, anchor, parentComponent, parentSuspense);
|
|
@@ -8561,7 +8582,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8561
8582
|
} else next = vnode;
|
|
8562
8583
|
if (bu) invokeArrayFns(bu);
|
|
8563
8584
|
if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
8564
|
-
if (next.ibu) next.ibu();
|
|
8585
|
+
if (isVaporInteropEnabled && next.ibu) next.ibu();
|
|
8565
8586
|
if (isCompatEnabled$1("INSTANCE_EVENT_HOOKS", instance)) instance.emit("hook:beforeUpdate");
|
|
8566
8587
|
toggleRecurse(instance, true);
|
|
8567
8588
|
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `render`);
|
|
@@ -8575,9 +8596,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8575
8596
|
next.el = nextTree.el;
|
|
8576
8597
|
if (originNext === null) updateHOCHostEl(instance, nextTree.el);
|
|
8577
8598
|
if (u) queuePostRenderEffect(u, void 0, parentSuspense);
|
|
8578
|
-
if ((vnodeHook = next.props && next.props.onVnodeUpdated) || next.iu) queuePostRenderEffect(() => {
|
|
8599
|
+
if ((vnodeHook = next.props && next.props.onVnodeUpdated) || isVaporInteropEnabled && next.iu) queuePostRenderEffect(() => {
|
|
8579
8600
|
vnodeHook && invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
8580
|
-
next.iu && next.iu();
|
|
8601
|
+
isVaporInteropEnabled && next.iu && next.iu();
|
|
8581
8602
|
}, void 0, parentSuspense);
|
|
8582
8603
|
if (isCompatEnabled$1("INSTANCE_EVENT_HOOKS", instance)) queuePostRenderEffect(() => instance.emit("hook:updated"), void 0, parentSuspense);
|
|
8583
8604
|
if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) devtoolsComponentUpdated(instance);
|
|
@@ -8730,7 +8751,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8730
8751
|
};
|
|
8731
8752
|
const move = (vnode, container, anchor, moveType, parentComponent, parentSuspense = null) => {
|
|
8732
8753
|
const { el, type, transition, children, shapeFlag } = vnode;
|
|
8733
|
-
if (isVaporComponent(type) || type === VaporSlot) {
|
|
8754
|
+
if (isVaporInteropEnabled && (isVaporComponent(type) || type === VaporSlot)) {
|
|
8734
8755
|
getVaporInterface(parentComponent, vnode).move(vnode, container, anchor, moveType, parentSuspense);
|
|
8735
8756
|
return;
|
|
8736
8757
|
}
|
|
@@ -8774,11 +8795,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8774
8795
|
}
|
|
8775
8796
|
if (cacheIndex != null && (!vnode.ctx || vnode.ctx === parentComponent)) parentComponent.renderCache[cacheIndex] = void 0;
|
|
8776
8797
|
if (shapeFlag & 256) {
|
|
8777
|
-
if (isVaporComponent(vnode.type)) getVaporInterface(parentComponent, vnode).deactivate(vnode, parentComponent.ctx.getStorageContainer(), parentSuspense);
|
|
8798
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) getVaporInterface(parentComponent, vnode).deactivate(vnode, parentComponent.ctx.getStorageContainer(), parentSuspense);
|
|
8778
8799
|
else parentComponent.ctx.deactivate(vnode);
|
|
8779
8800
|
return;
|
|
8780
8801
|
}
|
|
8781
|
-
if (shapeFlag & 6 && isVaporComponent(type)) {
|
|
8802
|
+
if (isVaporInteropEnabled && shapeFlag & 6 && isVaporComponent(type)) {
|
|
8782
8803
|
getVaporInterface(parentComponent, vnode).unmount(vnode, doRemove, parentSuspense);
|
|
8783
8804
|
return;
|
|
8784
8805
|
}
|
|
@@ -8796,7 +8817,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8796
8817
|
if (shapeFlag & 64) vnode.type.remove(vnode, parentComponent, parentSuspense, internals, doRemove);
|
|
8797
8818
|
else if (dynamicChildren && !dynamicChildren.hasOnce && (type !== Fragment || patchFlag > 0 && patchFlag & 64)) unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
|
|
8798
8819
|
else if (type === Fragment && patchFlag & 384 || !optimized && shapeFlag & 16) unmountChildren(children, parentComponent, parentSuspense);
|
|
8799
|
-
if (type === VaporSlot) {
|
|
8820
|
+
if (isVaporInteropEnabled && type === VaporSlot) {
|
|
8800
8821
|
getVaporInterface(parentComponent, vnode).unmount(vnode, doRemove, parentSuspense);
|
|
8801
8822
|
return;
|
|
8802
8823
|
}
|
|
@@ -8830,7 +8851,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8830
8851
|
if (transition) {
|
|
8831
8852
|
let leavingEl = leavingNode && leavingNode.el;
|
|
8832
8853
|
let isElement = !!(leavingNode && leavingNode.shapeFlag & 1);
|
|
8833
|
-
if (isFragment && leavingNode && isVaporComponent(leavingNode.type)) {
|
|
8854
|
+
if (isVaporInteropEnabled && isFragment && leavingNode && isVaporComponent(leavingNode.type)) {
|
|
8834
8855
|
leavingEl = getVaporInterface(leavingNode.component, leavingNode).getTransitionElement(leavingNode);
|
|
8835
8856
|
isElement = !!leavingEl;
|
|
8836
8857
|
}
|
|
@@ -8871,7 +8892,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8871
8892
|
};
|
|
8872
8893
|
const getNextHostNode = (vnode) => {
|
|
8873
8894
|
if (vnode.shapeFlag & 6) {
|
|
8874
|
-
if (isVaporComponent(vnode.type)) return hostNextSibling(vnode.anchor);
|
|
8895
|
+
if (isVaporInteropEnabled && isVaporComponent(vnode.type)) return hostNextSibling(vnode.anchor);
|
|
8875
8896
|
return getNextHostNode(vnode.component.subTree);
|
|
8876
8897
|
}
|
|
8877
8898
|
if (vnode.shapeFlag & 128) return vnode.suspense.next();
|
|
@@ -8932,7 +8953,7 @@ function resolveChildrenNamespace({ type, props }, currentNamespace) {
|
|
|
8932
8953
|
return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
|
|
8933
8954
|
}
|
|
8934
8955
|
function toggleRecurse({ effect, job, vapor }, allowed) {
|
|
8935
|
-
if (!vapor) {
|
|
8956
|
+
if (!isVaporInteropEnabled || !vapor) {
|
|
8936
8957
|
if (allowed) {
|
|
8937
8958
|
effect.flags |= 128;
|
|
8938
8959
|
job.flags |= 2;
|
|
@@ -9044,7 +9065,7 @@ function getInheritedScopeIds(vnode, parentComponent, includeVaporRootIds = true
|
|
|
9044
9065
|
currentParent = currentParent.parent;
|
|
9045
9066
|
} else break;
|
|
9046
9067
|
}
|
|
9047
|
-
const vaporScopeIds = includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
9068
|
+
const vaporScopeIds = isVaporInteropEnabled && includeVaporRootIds && currentVNode.vaporScopeIds;
|
|
9048
9069
|
if (vaporScopeIds) inheritedScopeIds.push(...vaporScopeIds);
|
|
9049
9070
|
return inheritedScopeIds;
|
|
9050
9071
|
}
|
|
@@ -9057,8 +9078,13 @@ function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
|
9057
9078
|
//#endregion
|
|
9058
9079
|
//#region packages/runtime-core/src/components/Suspense.ts
|
|
9059
9080
|
const isSuspense = (type) => type.__isSuspense;
|
|
9081
|
+
let isSuspenseEnabled = false;
|
|
9082
|
+
function withSuspenseEnabled(value) {
|
|
9083
|
+
isSuspenseEnabled = true;
|
|
9084
|
+
return value;
|
|
9085
|
+
}
|
|
9060
9086
|
let suspenseId = 0;
|
|
9061
|
-
const Suspense = {
|
|
9087
|
+
const Suspense = /*@__PURE__*/ withSuspenseEnabled({
|
|
9062
9088
|
name: "Suspense",
|
|
9063
9089
|
__isSuspense: true,
|
|
9064
9090
|
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
@@ -9075,7 +9101,7 @@ const Suspense = {
|
|
|
9075
9101
|
},
|
|
9076
9102
|
hydrate: hydrateSuspense,
|
|
9077
9103
|
normalize: normalizeSuspenseChildren
|
|
9078
|
-
};
|
|
9104
|
+
});
|
|
9079
9105
|
function triggerEvent(vnode, name) {
|
|
9080
9106
|
const eventListener = vnode.props && vnode.props[name];
|
|
9081
9107
|
if (isFunction(eventListener)) eventListener();
|
|
@@ -9656,16 +9682,23 @@ function cloneVaporSlotMeta(vnode, extraProps) {
|
|
|
9656
9682
|
if (!vaporSlot) return vaporSlot;
|
|
9657
9683
|
const cloned = {
|
|
9658
9684
|
slot: vaporSlot.slot,
|
|
9685
|
+
name: vaporSlot.name,
|
|
9659
9686
|
outlets: vaporSlot.outlets,
|
|
9660
|
-
props: vaporSlot.props
|
|
9687
|
+
props: vaporSlot.props,
|
|
9688
|
+
attrs: vaporSlot.attrs && vaporSlot.attrs === EMPTY_OBJ ? {} : vaporSlot.attrs,
|
|
9689
|
+
group: vaporSlot.group
|
|
9661
9690
|
};
|
|
9662
|
-
|
|
9691
|
+
const attrs = cloned.attrs;
|
|
9692
|
+
if (extraProps && vaporSlot.props) {
|
|
9663
9693
|
let extraSlotProps;
|
|
9664
|
-
for (const key in extraProps) if (key !== "key") {
|
|
9694
|
+
for (const key in extraProps) if (attrs ? !isReservedProp(key) : key !== "key") {
|
|
9665
9695
|
if (!extraSlotProps) extraSlotProps = {};
|
|
9666
9696
|
extraSlotProps[key] = extraProps[key];
|
|
9667
9697
|
}
|
|
9668
|
-
if (extraSlotProps)
|
|
9698
|
+
if (extraSlotProps) {
|
|
9699
|
+
if (attrs) cloned.attrs = mergeProps(attrs, extraSlotProps);
|
|
9700
|
+
else cloned.props = mergeProps(vaporSlot.props, extraSlotProps);
|
|
9701
|
+
}
|
|
9669
9702
|
}
|
|
9670
9703
|
if (vnode.el) {
|
|
9671
9704
|
cloned.state = vaporSlot.state;
|
|
@@ -9954,7 +9987,7 @@ function setupComponent(instance, isSSR = false, optimized = false) {
|
|
|
9954
9987
|
isSSR && setInSSRSetupState(isSSR);
|
|
9955
9988
|
const { props, children, vi } = instance.vnode;
|
|
9956
9989
|
const isStateful = isStatefulComponent(instance);
|
|
9957
|
-
if (vi) vi(instance);
|
|
9990
|
+
if (isVaporInteropEnabled && vi) vi(instance);
|
|
9958
9991
|
else {
|
|
9959
9992
|
initProps(instance, props, isStateful, isSSR);
|
|
9960
9993
|
initSlots(instance, children, optimized || isSSR);
|
|
@@ -10390,7 +10423,7 @@ function isMemoSame(cached, memo) {
|
|
|
10390
10423
|
}
|
|
10391
10424
|
//#endregion
|
|
10392
10425
|
//#region packages/runtime-core/src/index.ts
|
|
10393
|
-
const version = "3.6.0-rc.
|
|
10426
|
+
const version = "3.6.0-rc.13";
|
|
10394
10427
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
10395
10428
|
/**
|
|
10396
10429
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -10847,14 +10880,14 @@ function setVarsOnVNode(vnode, vars) {
|
|
|
10847
10880
|
}
|
|
10848
10881
|
while (vnode.component) {
|
|
10849
10882
|
const component = vnode.component;
|
|
10850
|
-
if (component.vapor) {
|
|
10883
|
+
if (isVaporInteropEnabled && component.vapor) {
|
|
10851
10884
|
component.appContext.vapor.applyCssVars(vnode, vars);
|
|
10852
10885
|
return;
|
|
10853
10886
|
}
|
|
10854
10887
|
vnode = vnode.component.subTree;
|
|
10855
10888
|
}
|
|
10856
10889
|
if (vnode.shapeFlag & 1 && vnode.el) setVarsOnNode(vnode.el, vars);
|
|
10857
|
-
else if (vnode.vb) vnode.ctx.appContext.vapor.applyCssVars(vnode, vars);
|
|
10890
|
+
else if (isVaporInteropEnabled && vnode.vb) vnode.ctx.appContext.vapor.applyCssVars(vnode, vars);
|
|
10858
10891
|
else if (vnode.type === Fragment) vnode.children.forEach((c) => setVarsOnVNode(c, vars));
|
|
10859
10892
|
else if (vnode.type === Static) {
|
|
10860
10893
|
let { el, anchor } = vnode;
|
|
@@ -11572,7 +11605,7 @@ function useCssModule(name = "$style") {
|
|
|
11572
11605
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
11573
11606
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
11574
11607
|
const moveCbKey = Symbol("_moveCb");
|
|
11575
|
-
const enterCbKey = Symbol("_enterCb");
|
|
11608
|
+
const enterCbKey$1 = Symbol("_enterCb");
|
|
11576
11609
|
const pendingGroups = /* @__PURE__ */ new WeakMap();
|
|
11577
11610
|
/**
|
|
11578
11611
|
* Wrap logic that modifies TransitionGroup properties in a function
|
|
@@ -11583,7 +11616,7 @@ const decorate = (t) => {
|
|
|
11583
11616
|
t.__isBuiltIn = true;
|
|
11584
11617
|
return t;
|
|
11585
11618
|
};
|
|
11586
|
-
const TransitionGroup = /* @__PURE__ */ decorate({
|
|
11619
|
+
const TransitionGroup = /*@__PURE__*/ withTransitionEnabled(/* @__PURE__ */ decorate({
|
|
11587
11620
|
name: "TransitionGroup",
|
|
11588
11621
|
props: /*@__PURE__*/ extend({}, TransitionPropsValidators, {
|
|
11589
11622
|
tag: String,
|
|
@@ -11592,6 +11625,11 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11592
11625
|
setup(props, { slots }) {
|
|
11593
11626
|
const instance = getCurrentInstance();
|
|
11594
11627
|
const state = useTransitionState();
|
|
11628
|
+
const group = {
|
|
11629
|
+
props: {},
|
|
11630
|
+
state,
|
|
11631
|
+
instance
|
|
11632
|
+
};
|
|
11595
11633
|
let prevChildren;
|
|
11596
11634
|
let children;
|
|
11597
11635
|
let origins;
|
|
@@ -11622,7 +11660,7 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11622
11660
|
});
|
|
11623
11661
|
return () => {
|
|
11624
11662
|
const rawProps = /* @__PURE__ */ toRaw(props);
|
|
11625
|
-
const cssTransitionProps = resolveTransitionProps(rawProps);
|
|
11663
|
+
const cssTransitionProps = group.props = resolveTransitionProps(rawProps);
|
|
11626
11664
|
let tag = rawProps.tag || Fragment;
|
|
11627
11665
|
if (!rawProps.tag && compatUtils.checkCompatEnabled("TRANSITION_GROUP_ROOT", instance.parent)) tag = "span";
|
|
11628
11666
|
prevChildren = [];
|
|
@@ -11633,12 +11671,17 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11633
11671
|
prevChildren.push(child);
|
|
11634
11672
|
setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
11635
11673
|
positionMap.set(child, getPosition(child.el));
|
|
11636
|
-
}
|
|
11674
|
+
} else if (isVaporInteropEnabled && child.vs && child.vb) instance.appContext.vapor.forEachGroupChild(child, (el) => {
|
|
11675
|
+
const row = { el };
|
|
11676
|
+
prevChildren.push(row);
|
|
11677
|
+
positionMap.set(row, getPosition(el));
|
|
11678
|
+
});
|
|
11637
11679
|
}
|
|
11638
11680
|
children = slots.default ? getTransitionRawChildren(slots.default()) : [];
|
|
11639
11681
|
for (let i = 0; i < children.length; i++) {
|
|
11640
11682
|
const child = children[i];
|
|
11641
|
-
if (child.
|
|
11683
|
+
if (isVaporInteropEnabled && child.vs) child.vs.group = group;
|
|
11684
|
+
else if (child.key != null) setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));
|
|
11642
11685
|
else if (!!(process.env.NODE_ENV !== "production") && child.type !== Text) warn(`<TransitionGroup> children must be keyed.`);
|
|
11643
11686
|
}
|
|
11644
11687
|
if (prevChildren.length) {
|
|
@@ -11652,10 +11695,10 @@ const TransitionGroup = /* @__PURE__ */ decorate({
|
|
|
11652
11695
|
return createVNode(tag, null, children);
|
|
11653
11696
|
};
|
|
11654
11697
|
}
|
|
11655
|
-
});
|
|
11698
|
+
}));
|
|
11656
11699
|
function callPendingCbs(el) {
|
|
11657
11700
|
if (el[moveCbKey]) el[moveCbKey]();
|
|
11658
|
-
if (el[enterCbKey]) el[enterCbKey]();
|
|
11701
|
+
if (el[enterCbKey$1]) el[enterCbKey$1]();
|
|
11659
11702
|
}
|
|
11660
11703
|
function resolveMoveClass(props) {
|
|
11661
11704
|
return props.moveClass || `${props.name || "v"}-move`;
|
|
@@ -11796,7 +11839,7 @@ const vModelTextInit = (el, trim, number, lazy, set) => {
|
|
|
11796
11839
|
if (e.target.composing) return;
|
|
11797
11840
|
(set || el[assignKey])(castValue(el.value, trim, number || el.type === "number"));
|
|
11798
11841
|
});
|
|
11799
|
-
if (trim || number) addEventListener(el, "change", () => {
|
|
11842
|
+
if (trim || number || el.type === "number") addEventListener(el, "change", () => {
|
|
11800
11843
|
el.value = castValue(el.value, trim, number || el.type === "number");
|
|
11801
11844
|
});
|
|
11802
11845
|
if (!lazy) {
|
|
@@ -12183,6 +12226,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12183
12226
|
ensureHydrationRenderer: () => ensureHydrationRenderer,
|
|
12184
12227
|
ensureRenderer: () => ensureRenderer,
|
|
12185
12228
|
ensureValidVNode: () => ensureValidVNode,
|
|
12229
|
+
enterCbKey: () => enterCbKey,
|
|
12186
12230
|
expose: () => expose,
|
|
12187
12231
|
filterModelListeners: () => filterModelListeners,
|
|
12188
12232
|
filterSingleRoot: () => filterSingleRoot,
|
|
@@ -12226,6 +12270,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12226
12270
|
isHydrating: () => isHydrating,
|
|
12227
12271
|
isHydratingEnabled: () => isHydratingEnabled,
|
|
12228
12272
|
isKeepAlive: () => isKeepAlive,
|
|
12273
|
+
isKeepAliveEnabled: () => isKeepAliveEnabled,
|
|
12229
12274
|
isMapEqual: () => isMapEqual,
|
|
12230
12275
|
isMemoSame: () => isMemoSame,
|
|
12231
12276
|
isMismatchAllowed: () => isMismatchAllowed,
|
|
@@ -12236,13 +12281,16 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12236
12281
|
isRuntimeOnly: () => isRuntimeOnly,
|
|
12237
12282
|
isSetEqual: () => isSetEqual,
|
|
12238
12283
|
isShallow: () => isShallow,
|
|
12284
|
+
isSuspenseEnabled: () => isSuspenseEnabled,
|
|
12239
12285
|
isTeleportDeferred: () => isTeleportDeferred,
|
|
12240
12286
|
isTeleportDisabled: () => isTeleportDisabled,
|
|
12241
12287
|
isTemplateNode: () => isTemplateNode,
|
|
12242
12288
|
isTemplateRefKey: () => isTemplateRefKey,
|
|
12289
|
+
isTransitionEnabled: () => isTransitionEnabled,
|
|
12243
12290
|
isUnchangedResourceProp: () => isUnchangedResourceProp,
|
|
12244
12291
|
isVNode: () => isVNode,
|
|
12245
12292
|
isValidHtmlOrSvgAttribute: () => isValidHtmlOrSvgAttribute,
|
|
12293
|
+
isVaporInteropEnabled: () => isVaporInteropEnabled,
|
|
12246
12294
|
knownTemplateRefs: () => knownTemplateRefs,
|
|
12247
12295
|
leaveCbKey: () => leaveCbKey,
|
|
12248
12296
|
logMismatchError: () => logMismatchError,
|
|
@@ -12323,6 +12371,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12323
12371
|
setIsHydratingEnabled: () => setIsHydratingEnabled,
|
|
12324
12372
|
setRef: () => setRef,
|
|
12325
12373
|
setTransitionHooks: () => setTransitionHooks,
|
|
12374
|
+
setVaporInteropEnabled: () => setVaporInteropEnabled,
|
|
12326
12375
|
setVarsOnNode: () => setVarsOnNode,
|
|
12327
12376
|
shallowReactive: () => shallowReactive,
|
|
12328
12377
|
shallowReadonly: () => shallowReadonly,
|
|
@@ -12392,10 +12441,13 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
12392
12441
|
withCtx: () => withCtx,
|
|
12393
12442
|
withDefaults: () => withDefaults,
|
|
12394
12443
|
withDirectives: () => withDirectives,
|
|
12444
|
+
withKeepAliveEnabled: () => withKeepAliveEnabled,
|
|
12395
12445
|
withKeys: () => withKeys,
|
|
12396
12446
|
withMemo: () => withMemo,
|
|
12397
12447
|
withModifiers: () => withModifiers,
|
|
12398
12448
|
withScopeId: () => withScopeId,
|
|
12449
|
+
withSuspenseEnabled: () => withSuspenseEnabled,
|
|
12450
|
+
withTransitionEnabled: () => withTransitionEnabled,
|
|
12399
12451
|
xlinkNS: () => xlinkNS
|
|
12400
12452
|
});
|
|
12401
12453
|
const rendererOptions = /*@__PURE__*/ extend({ patchProp }, nodeOps);
|
|
@@ -16945,4 +16997,4 @@ Vue.compile = compileToFunction;
|
|
|
16945
16997
|
var esm_index_default = Vue;
|
|
16946
16998
|
const configureCompat = Vue.configureCompat;
|
|
16947
16999
|
//#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 };
|
|
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 };
|