vue 3.6.0-alpha.7 → 3.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.cjs.js +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.esm-browser.js +405 -337
- package/dist/vue.esm-browser.prod.js +8 -8
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +376 -308
- package/dist/vue.global.prod.js +9 -9
- package/dist/vue.runtime-with-vapor.esm-browser.js +905 -716
- package/dist/vue.runtime-with-vapor.esm-browser.prod.js +6 -6
- package/dist/vue.runtime.esm-browser.js +290 -242
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +1 -1
- package/dist/vue.runtime.global.js +262 -213
- package/dist/vue.runtime.global.prod.js +3 -3
- package/jsx-runtime/index.d.ts +1 -2
- package/jsx.d.ts +0 -2
- package/package.json +7 -7
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.6.0-
|
|
2
|
+
* vue v3.6.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -824,13 +824,13 @@ class Dep {
|
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
826
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
827
|
-
const ITERATE_KEY = Symbol(
|
|
827
|
+
const ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
828
828
|
"Object iterate"
|
|
829
829
|
);
|
|
830
|
-
const MAP_KEY_ITERATE_KEY = Symbol(
|
|
830
|
+
const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
831
831
|
"Map keys iterate"
|
|
832
832
|
);
|
|
833
|
-
const ARRAY_ITERATE_KEY = Symbol(
|
|
833
|
+
const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
834
834
|
"Array iterate"
|
|
835
835
|
);
|
|
836
836
|
function track(target, type, key) {
|
|
@@ -2451,7 +2451,6 @@ function warn$1(msg, ...args) {
|
|
|
2451
2451
|
instance,
|
|
2452
2452
|
11,
|
|
2453
2453
|
[
|
|
2454
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
2455
2454
|
msg + args.map((a) => {
|
|
2456
2455
|
var _a, _b;
|
|
2457
2456
|
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
@@ -2831,10 +2830,10 @@ function flushPostFlushCbs(seen) {
|
|
|
2831
2830
|
}
|
|
2832
2831
|
}
|
|
2833
2832
|
let isFlushing = false;
|
|
2834
|
-
function flushOnAppMount() {
|
|
2833
|
+
function flushOnAppMount(instance) {
|
|
2835
2834
|
if (!isFlushing) {
|
|
2836
2835
|
isFlushing = true;
|
|
2837
|
-
flushPreFlushCbs();
|
|
2836
|
+
flushPreFlushCbs(instance);
|
|
2838
2837
|
flushPostFlushCbs();
|
|
2839
2838
|
isFlushing = false;
|
|
2840
2839
|
}
|
|
@@ -3076,7 +3075,6 @@ function setDevtoolsHook$1(hook, target) {
|
|
|
3076
3075
|
// (#4815)
|
|
3077
3076
|
typeof window !== "undefined" && // some envs mock window but not fully
|
|
3078
3077
|
window.HTMLElement && // also exclude jsdom
|
|
3079
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
3080
3078
|
!((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom"))
|
|
3081
3079
|
) {
|
|
3082
3080
|
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
|
@@ -3249,7 +3247,203 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
3249
3247
|
}
|
|
3250
3248
|
}
|
|
3251
3249
|
|
|
3252
|
-
|
|
3250
|
+
function provide(key, value) {
|
|
3251
|
+
{
|
|
3252
|
+
if (!currentInstance || currentInstance.isMounted && !isHmrUpdating) {
|
|
3253
|
+
warn$1(`provide() can only be used inside setup().`);
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
if (currentInstance) {
|
|
3257
|
+
let provides = currentInstance.provides;
|
|
3258
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
3259
|
+
if (parentProvides === provides) {
|
|
3260
|
+
provides = currentInstance.provides = Object.create(parentProvides);
|
|
3261
|
+
}
|
|
3262
|
+
provides[key] = value;
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
3266
|
+
const instance = getCurrentGenericInstance();
|
|
3267
|
+
if (instance || currentApp) {
|
|
3268
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.appContext && instance.appContext.provides : instance.parent.provides : void 0;
|
|
3269
|
+
if (provides && key in provides) {
|
|
3270
|
+
return provides[key];
|
|
3271
|
+
} else if (arguments.length > 1) {
|
|
3272
|
+
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
3273
|
+
} else {
|
|
3274
|
+
warn$1(`injection "${String(key)}" not found.`);
|
|
3275
|
+
}
|
|
3276
|
+
} else {
|
|
3277
|
+
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
function hasInjectionContext() {
|
|
3281
|
+
return !!(getCurrentGenericInstance() || currentApp);
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
3285
|
+
const useSSRContext = () => {
|
|
3286
|
+
{
|
|
3287
|
+
const ctx = inject(ssrContextKey);
|
|
3288
|
+
if (!ctx) {
|
|
3289
|
+
warn$1(
|
|
3290
|
+
`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
|
|
3291
|
+
);
|
|
3292
|
+
}
|
|
3293
|
+
return ctx;
|
|
3294
|
+
}
|
|
3295
|
+
};
|
|
3296
|
+
|
|
3297
|
+
function watchEffect(effect, options) {
|
|
3298
|
+
return doWatch(effect, null, options);
|
|
3299
|
+
}
|
|
3300
|
+
function watchPostEffect(effect, options) {
|
|
3301
|
+
return doWatch(
|
|
3302
|
+
effect,
|
|
3303
|
+
null,
|
|
3304
|
+
extend({}, options, { flush: "post" })
|
|
3305
|
+
);
|
|
3306
|
+
}
|
|
3307
|
+
function watchSyncEffect(effect, options) {
|
|
3308
|
+
return doWatch(
|
|
3309
|
+
effect,
|
|
3310
|
+
null,
|
|
3311
|
+
extend({}, options, { flush: "sync" })
|
|
3312
|
+
);
|
|
3313
|
+
}
|
|
3314
|
+
function watch(source, cb, options) {
|
|
3315
|
+
if (!isFunction(cb)) {
|
|
3316
|
+
warn$1(
|
|
3317
|
+
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
3318
|
+
);
|
|
3319
|
+
}
|
|
3320
|
+
return doWatch(source, cb, options);
|
|
3321
|
+
}
|
|
3322
|
+
class RenderWatcherEffect extends WatcherEffect {
|
|
3323
|
+
constructor(instance, source, cb, options, flush) {
|
|
3324
|
+
super(source, cb, options);
|
|
3325
|
+
this.flush = flush;
|
|
3326
|
+
const job = () => {
|
|
3327
|
+
if (this.dirty) {
|
|
3328
|
+
this.run();
|
|
3329
|
+
}
|
|
3330
|
+
};
|
|
3331
|
+
if (cb) {
|
|
3332
|
+
this.flags |= 128;
|
|
3333
|
+
job.flags |= 2;
|
|
3334
|
+
}
|
|
3335
|
+
if (instance) {
|
|
3336
|
+
job.i = instance;
|
|
3337
|
+
}
|
|
3338
|
+
this.job = job;
|
|
3339
|
+
}
|
|
3340
|
+
notify() {
|
|
3341
|
+
const flags = this.flags;
|
|
3342
|
+
if (!(flags & 256)) {
|
|
3343
|
+
const flush = this.flush;
|
|
3344
|
+
const job = this.job;
|
|
3345
|
+
if (flush === "post") {
|
|
3346
|
+
queuePostRenderEffect(job, void 0, job.i ? job.i.suspense : null);
|
|
3347
|
+
} else if (flush === "pre") {
|
|
3348
|
+
queueJob(job, job.i ? job.i.uid : void 0, true);
|
|
3349
|
+
} else {
|
|
3350
|
+
job();
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
3356
|
+
const { immediate, deep, flush = "pre", once } = options;
|
|
3357
|
+
if (!cb) {
|
|
3358
|
+
if (immediate !== void 0) {
|
|
3359
|
+
warn$1(
|
|
3360
|
+
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3361
|
+
);
|
|
3362
|
+
}
|
|
3363
|
+
if (deep !== void 0) {
|
|
3364
|
+
warn$1(
|
|
3365
|
+
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3366
|
+
);
|
|
3367
|
+
}
|
|
3368
|
+
if (once !== void 0) {
|
|
3369
|
+
warn$1(
|
|
3370
|
+
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3371
|
+
);
|
|
3372
|
+
}
|
|
3373
|
+
}
|
|
3374
|
+
const baseWatchOptions = extend({}, options);
|
|
3375
|
+
baseWatchOptions.onWarn = warn$1;
|
|
3376
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
3377
|
+
let ssrCleanup;
|
|
3378
|
+
if (isInSSRComponentSetup) {
|
|
3379
|
+
if (flush === "sync") {
|
|
3380
|
+
const ctx = useSSRContext();
|
|
3381
|
+
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
3382
|
+
} else if (!runsImmediately) {
|
|
3383
|
+
const watchStopHandle = () => {
|
|
3384
|
+
};
|
|
3385
|
+
watchStopHandle.stop = NOOP;
|
|
3386
|
+
watchStopHandle.resume = NOOP;
|
|
3387
|
+
watchStopHandle.pause = NOOP;
|
|
3388
|
+
return watchStopHandle;
|
|
3389
|
+
}
|
|
3390
|
+
}
|
|
3391
|
+
const instance = currentInstance;
|
|
3392
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
3393
|
+
const effect = new RenderWatcherEffect(
|
|
3394
|
+
instance,
|
|
3395
|
+
source,
|
|
3396
|
+
cb,
|
|
3397
|
+
baseWatchOptions,
|
|
3398
|
+
flush
|
|
3399
|
+
);
|
|
3400
|
+
if (cb) {
|
|
3401
|
+
effect.run(true);
|
|
3402
|
+
} else if (flush === "post") {
|
|
3403
|
+
queuePostRenderEffect(effect.job, void 0, instance && instance.suspense);
|
|
3404
|
+
} else {
|
|
3405
|
+
effect.run(true);
|
|
3406
|
+
}
|
|
3407
|
+
const stop = effect.stop.bind(effect);
|
|
3408
|
+
stop.pause = effect.pause.bind(effect);
|
|
3409
|
+
stop.resume = effect.resume.bind(effect);
|
|
3410
|
+
stop.stop = stop;
|
|
3411
|
+
if (isInSSRComponentSetup) {
|
|
3412
|
+
if (ssrCleanup) {
|
|
3413
|
+
ssrCleanup.push(stop);
|
|
3414
|
+
} else if (runsImmediately) {
|
|
3415
|
+
stop();
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
return stop;
|
|
3419
|
+
}
|
|
3420
|
+
function instanceWatch(source, value, options) {
|
|
3421
|
+
const publicThis = this.proxy;
|
|
3422
|
+
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
3423
|
+
let cb;
|
|
3424
|
+
if (isFunction(value)) {
|
|
3425
|
+
cb = value;
|
|
3426
|
+
} else {
|
|
3427
|
+
cb = value.handler;
|
|
3428
|
+
options = value;
|
|
3429
|
+
}
|
|
3430
|
+
const prev = setCurrentInstance(this);
|
|
3431
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
3432
|
+
setCurrentInstance(...prev);
|
|
3433
|
+
return res;
|
|
3434
|
+
}
|
|
3435
|
+
function createPathGetter(ctx, path) {
|
|
3436
|
+
const segments = path.split(".");
|
|
3437
|
+
return () => {
|
|
3438
|
+
let cur = ctx;
|
|
3439
|
+
for (let i = 0; i < segments.length && cur; i++) {
|
|
3440
|
+
cur = cur[segments[i]];
|
|
3441
|
+
}
|
|
3442
|
+
return cur;
|
|
3443
|
+
};
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3253
3447
|
const isTeleport = (type) => type.__isTeleport;
|
|
3254
3448
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
3255
3449
|
const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
|
|
@@ -3621,8 +3815,8 @@ function prepareAnchor(target, vnode, createText, insert) {
|
|
|
3621
3815
|
return targetAnchor;
|
|
3622
3816
|
}
|
|
3623
3817
|
|
|
3624
|
-
const leaveCbKey = Symbol("_leaveCb");
|
|
3625
|
-
const enterCbKey$1 = Symbol("_enterCb");
|
|
3818
|
+
const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
3819
|
+
const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
|
|
3626
3820
|
function useTransitionState() {
|
|
3627
3821
|
const state = {
|
|
3628
3822
|
isMounted: false,
|
|
@@ -4875,9 +5069,17 @@ function isMismatchAllowed(el, allowedType) {
|
|
|
4875
5069
|
}
|
|
4876
5070
|
}
|
|
4877
5071
|
|
|
4878
|
-
|
|
4879
|
-
|
|
5072
|
+
let requestIdleCallback;
|
|
5073
|
+
let cancelIdleCallback;
|
|
5074
|
+
function ensureIdleCallbacks() {
|
|
5075
|
+
if (!requestIdleCallback) {
|
|
5076
|
+
const g = getGlobalThis();
|
|
5077
|
+
requestIdleCallback = g.requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
5078
|
+
cancelIdleCallback = g.cancelIdleCallback || ((id) => clearTimeout(id));
|
|
5079
|
+
}
|
|
5080
|
+
}
|
|
4880
5081
|
const hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
5082
|
+
ensureIdleCallbacks();
|
|
4881
5083
|
const id = requestIdleCallback(hydrate, { timeout });
|
|
4882
5084
|
return () => cancelIdleCallback(id);
|
|
4883
5085
|
};
|
|
@@ -5235,7 +5437,9 @@ const KeepAliveImpl = {
|
|
|
5235
5437
|
}
|
|
5236
5438
|
function pruneCache(filter) {
|
|
5237
5439
|
cache.forEach((vnode, key) => {
|
|
5238
|
-
const name = getComponentName(
|
|
5440
|
+
const name = getComponentName(
|
|
5441
|
+
isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
|
|
5442
|
+
);
|
|
5239
5443
|
if (name && !filter(name)) {
|
|
5240
5444
|
pruneCacheEntry(key);
|
|
5241
5445
|
}
|
|
@@ -5537,7 +5741,7 @@ const DIRECTIVES = "directives";
|
|
|
5537
5741
|
function resolveComponent(name, maybeSelfReference) {
|
|
5538
5742
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
5539
5743
|
}
|
|
5540
|
-
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
5744
|
+
const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
5541
5745
|
function resolveDynamicComponent(component) {
|
|
5542
5746
|
if (isString(component)) {
|
|
5543
5747
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -5728,14 +5932,14 @@ function ensureVaporSlotFallback(vnodes, fallback) {
|
|
|
5728
5932
|
}
|
|
5729
5933
|
}
|
|
5730
5934
|
|
|
5731
|
-
function toHandlers(obj, preserveCaseIfNecessary) {
|
|
5935
|
+
function toHandlers(obj, preserveCaseIfNecessary, needWrap) {
|
|
5732
5936
|
const ret = {};
|
|
5733
5937
|
if (!isObject(obj)) {
|
|
5734
5938
|
warn$1(`v-on with no argument expects an object value.`);
|
|
5735
5939
|
return ret;
|
|
5736
5940
|
}
|
|
5737
5941
|
for (const key in obj) {
|
|
5738
|
-
ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
|
|
5942
|
+
ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = needWrap ? () => obj[key] : obj[key];
|
|
5739
5943
|
}
|
|
5740
5944
|
return ret;
|
|
5741
5945
|
}
|
|
@@ -6707,202 +6911,6 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6707
6911
|
}
|
|
6708
6912
|
let currentApp = null;
|
|
6709
6913
|
|
|
6710
|
-
function provide(key, value) {
|
|
6711
|
-
{
|
|
6712
|
-
if (!currentInstance || currentInstance.isMounted) {
|
|
6713
|
-
warn$1(`provide() can only be used inside setup().`);
|
|
6714
|
-
}
|
|
6715
|
-
}
|
|
6716
|
-
if (currentInstance) {
|
|
6717
|
-
let provides = currentInstance.provides;
|
|
6718
|
-
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
6719
|
-
if (parentProvides === provides) {
|
|
6720
|
-
provides = currentInstance.provides = Object.create(parentProvides);
|
|
6721
|
-
}
|
|
6722
|
-
provides[key] = value;
|
|
6723
|
-
}
|
|
6724
|
-
}
|
|
6725
|
-
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
6726
|
-
const instance = getCurrentGenericInstance();
|
|
6727
|
-
if (instance || currentApp) {
|
|
6728
|
-
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.appContext && instance.appContext.provides : instance.parent.provides : void 0;
|
|
6729
|
-
if (provides && key in provides) {
|
|
6730
|
-
return provides[key];
|
|
6731
|
-
} else if (arguments.length > 1) {
|
|
6732
|
-
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
6733
|
-
} else {
|
|
6734
|
-
warn$1(`injection "${String(key)}" not found.`);
|
|
6735
|
-
}
|
|
6736
|
-
} else {
|
|
6737
|
-
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
6738
|
-
}
|
|
6739
|
-
}
|
|
6740
|
-
function hasInjectionContext() {
|
|
6741
|
-
return !!(getCurrentGenericInstance() || currentApp);
|
|
6742
|
-
}
|
|
6743
|
-
|
|
6744
|
-
const ssrContextKey = Symbol.for("v-scx");
|
|
6745
|
-
const useSSRContext = () => {
|
|
6746
|
-
{
|
|
6747
|
-
const ctx = inject(ssrContextKey);
|
|
6748
|
-
if (!ctx) {
|
|
6749
|
-
warn$1(
|
|
6750
|
-
`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
|
|
6751
|
-
);
|
|
6752
|
-
}
|
|
6753
|
-
return ctx;
|
|
6754
|
-
}
|
|
6755
|
-
};
|
|
6756
|
-
|
|
6757
|
-
function watchEffect(effect, options) {
|
|
6758
|
-
return doWatch(effect, null, options);
|
|
6759
|
-
}
|
|
6760
|
-
function watchPostEffect(effect, options) {
|
|
6761
|
-
return doWatch(
|
|
6762
|
-
effect,
|
|
6763
|
-
null,
|
|
6764
|
-
extend({}, options, { flush: "post" })
|
|
6765
|
-
);
|
|
6766
|
-
}
|
|
6767
|
-
function watchSyncEffect(effect, options) {
|
|
6768
|
-
return doWatch(
|
|
6769
|
-
effect,
|
|
6770
|
-
null,
|
|
6771
|
-
extend({}, options, { flush: "sync" })
|
|
6772
|
-
);
|
|
6773
|
-
}
|
|
6774
|
-
function watch(source, cb, options) {
|
|
6775
|
-
if (!isFunction(cb)) {
|
|
6776
|
-
warn$1(
|
|
6777
|
-
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
6778
|
-
);
|
|
6779
|
-
}
|
|
6780
|
-
return doWatch(source, cb, options);
|
|
6781
|
-
}
|
|
6782
|
-
class RenderWatcherEffect extends WatcherEffect {
|
|
6783
|
-
constructor(instance, source, cb, options, flush) {
|
|
6784
|
-
super(source, cb, options);
|
|
6785
|
-
this.flush = flush;
|
|
6786
|
-
const job = () => {
|
|
6787
|
-
if (this.dirty) {
|
|
6788
|
-
this.run();
|
|
6789
|
-
}
|
|
6790
|
-
};
|
|
6791
|
-
if (cb) {
|
|
6792
|
-
this.flags |= 128;
|
|
6793
|
-
job.flags |= 2;
|
|
6794
|
-
}
|
|
6795
|
-
if (instance) {
|
|
6796
|
-
job.i = instance;
|
|
6797
|
-
}
|
|
6798
|
-
this.job = job;
|
|
6799
|
-
}
|
|
6800
|
-
notify() {
|
|
6801
|
-
const flags = this.flags;
|
|
6802
|
-
if (!(flags & 256)) {
|
|
6803
|
-
const flush = this.flush;
|
|
6804
|
-
const job = this.job;
|
|
6805
|
-
if (flush === "post") {
|
|
6806
|
-
queuePostRenderEffect(job, void 0, job.i ? job.i.suspense : null);
|
|
6807
|
-
} else if (flush === "pre") {
|
|
6808
|
-
queueJob(job, job.i ? job.i.uid : void 0, true);
|
|
6809
|
-
} else {
|
|
6810
|
-
job();
|
|
6811
|
-
}
|
|
6812
|
-
}
|
|
6813
|
-
}
|
|
6814
|
-
}
|
|
6815
|
-
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
6816
|
-
const { immediate, deep, flush = "pre", once } = options;
|
|
6817
|
-
if (!cb) {
|
|
6818
|
-
if (immediate !== void 0) {
|
|
6819
|
-
warn$1(
|
|
6820
|
-
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6821
|
-
);
|
|
6822
|
-
}
|
|
6823
|
-
if (deep !== void 0) {
|
|
6824
|
-
warn$1(
|
|
6825
|
-
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6826
|
-
);
|
|
6827
|
-
}
|
|
6828
|
-
if (once !== void 0) {
|
|
6829
|
-
warn$1(
|
|
6830
|
-
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6831
|
-
);
|
|
6832
|
-
}
|
|
6833
|
-
}
|
|
6834
|
-
const baseWatchOptions = extend({}, options);
|
|
6835
|
-
baseWatchOptions.onWarn = warn$1;
|
|
6836
|
-
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
6837
|
-
let ssrCleanup;
|
|
6838
|
-
if (isInSSRComponentSetup) {
|
|
6839
|
-
if (flush === "sync") {
|
|
6840
|
-
const ctx = useSSRContext();
|
|
6841
|
-
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
6842
|
-
} else if (!runsImmediately) {
|
|
6843
|
-
const watchStopHandle = () => {
|
|
6844
|
-
};
|
|
6845
|
-
watchStopHandle.stop = NOOP;
|
|
6846
|
-
watchStopHandle.resume = NOOP;
|
|
6847
|
-
watchStopHandle.pause = NOOP;
|
|
6848
|
-
return watchStopHandle;
|
|
6849
|
-
}
|
|
6850
|
-
}
|
|
6851
|
-
const instance = currentInstance;
|
|
6852
|
-
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
6853
|
-
const effect = new RenderWatcherEffect(
|
|
6854
|
-
instance,
|
|
6855
|
-
source,
|
|
6856
|
-
cb,
|
|
6857
|
-
baseWatchOptions,
|
|
6858
|
-
flush
|
|
6859
|
-
);
|
|
6860
|
-
if (cb) {
|
|
6861
|
-
effect.run(true);
|
|
6862
|
-
} else if (flush === "post") {
|
|
6863
|
-
queuePostRenderEffect(effect.job, void 0, instance && instance.suspense);
|
|
6864
|
-
} else {
|
|
6865
|
-
effect.run(true);
|
|
6866
|
-
}
|
|
6867
|
-
const stop = effect.stop.bind(effect);
|
|
6868
|
-
stop.pause = effect.pause.bind(effect);
|
|
6869
|
-
stop.resume = effect.resume.bind(effect);
|
|
6870
|
-
stop.stop = stop;
|
|
6871
|
-
if (isInSSRComponentSetup) {
|
|
6872
|
-
if (ssrCleanup) {
|
|
6873
|
-
ssrCleanup.push(stop);
|
|
6874
|
-
} else if (runsImmediately) {
|
|
6875
|
-
stop();
|
|
6876
|
-
}
|
|
6877
|
-
}
|
|
6878
|
-
return stop;
|
|
6879
|
-
}
|
|
6880
|
-
function instanceWatch(source, value, options) {
|
|
6881
|
-
const publicThis = this.proxy;
|
|
6882
|
-
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
6883
|
-
let cb;
|
|
6884
|
-
if (isFunction(value)) {
|
|
6885
|
-
cb = value;
|
|
6886
|
-
} else {
|
|
6887
|
-
cb = value.handler;
|
|
6888
|
-
options = value;
|
|
6889
|
-
}
|
|
6890
|
-
const prev = setCurrentInstance(this);
|
|
6891
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
6892
|
-
setCurrentInstance(...prev);
|
|
6893
|
-
return res;
|
|
6894
|
-
}
|
|
6895
|
-
function createPathGetter(ctx, path) {
|
|
6896
|
-
const segments = path.split(".");
|
|
6897
|
-
return () => {
|
|
6898
|
-
let cur = ctx;
|
|
6899
|
-
for (let i = 0; i < segments.length && cur; i++) {
|
|
6900
|
-
cur = cur[segments[i]];
|
|
6901
|
-
}
|
|
6902
|
-
return cur;
|
|
6903
|
-
};
|
|
6904
|
-
}
|
|
6905
|
-
|
|
6906
6914
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
6907
6915
|
const i = getCurrentGenericInstance();
|
|
6908
6916
|
if (!i) {
|
|
@@ -7987,6 +7995,14 @@ function isSupported() {
|
|
|
7987
7995
|
return supported;
|
|
7988
7996
|
}
|
|
7989
7997
|
|
|
7998
|
+
const MoveType = {
|
|
7999
|
+
"ENTER": 0,
|
|
8000
|
+
"0": "ENTER",
|
|
8001
|
+
"LEAVE": 1,
|
|
8002
|
+
"1": "LEAVE",
|
|
8003
|
+
"REORDER": 2,
|
|
8004
|
+
"2": "REORDER"
|
|
8005
|
+
};
|
|
7990
8006
|
const queuePostRenderEffect = queueEffectWithSuspense ;
|
|
7991
8007
|
function createRenderer(options) {
|
|
7992
8008
|
return baseCreateRenderer(options);
|
|
@@ -8135,7 +8151,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8135
8151
|
} else {
|
|
8136
8152
|
const el = n2.el = n1.el;
|
|
8137
8153
|
if (n2.children !== n1.children) {
|
|
8138
|
-
|
|
8154
|
+
if (isHmrUpdating && n2.patchFlag === -1 && "__elIndex" in n1) {
|
|
8155
|
+
const childNodes = container.childNodes;
|
|
8156
|
+
const newChild = hostCreateText(n2.children);
|
|
8157
|
+
const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
|
|
8158
|
+
hostInsert(newChild, container, oldChild);
|
|
8159
|
+
hostRemove(oldChild);
|
|
8160
|
+
} else {
|
|
8161
|
+
hostSetText(el, n2.children);
|
|
8162
|
+
}
|
|
8139
8163
|
}
|
|
8140
8164
|
}
|
|
8141
8165
|
};
|
|
@@ -8521,7 +8545,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8521
8545
|
} else {
|
|
8522
8546
|
if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
|
|
8523
8547
|
// of renderSlot() with no valid children
|
|
8524
|
-
n1.dynamicChildren) {
|
|
8548
|
+
n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
8525
8549
|
patchBlockChildren(
|
|
8526
8550
|
n1.dynamicChildren,
|
|
8527
8551
|
dynamicChildren,
|
|
@@ -9209,8 +9233,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9209
9233
|
const nextChild = c2[nextIndex];
|
|
9210
9234
|
const anchorVNode = c2[nextIndex + 1];
|
|
9211
9235
|
const anchor = nextIndex + 1 < l2 ? (
|
|
9212
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
9213
|
-
anchorVNode.el || anchorVNode
|
|
9236
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
9237
|
+
anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
|
|
9214
9238
|
) : parentAnchor;
|
|
9215
9239
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
9216
9240
|
patch(
|
|
@@ -9515,9 +9539,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9515
9539
|
return teleportEnd ? hostNextSibling(teleportEnd) : el;
|
|
9516
9540
|
};
|
|
9517
9541
|
const render = (vnode, container, namespace) => {
|
|
9542
|
+
let instance;
|
|
9518
9543
|
if (vnode == null) {
|
|
9519
9544
|
if (container._vnode) {
|
|
9520
9545
|
unmount(container._vnode, null, null, true);
|
|
9546
|
+
instance = container._vnode.component;
|
|
9521
9547
|
}
|
|
9522
9548
|
} else {
|
|
9523
9549
|
patch(
|
|
@@ -9531,7 +9557,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9531
9557
|
);
|
|
9532
9558
|
}
|
|
9533
9559
|
container._vnode = vnode;
|
|
9534
|
-
flushOnAppMount();
|
|
9560
|
+
flushOnAppMount(instance);
|
|
9535
9561
|
};
|
|
9536
9562
|
const internals = {
|
|
9537
9563
|
p: patch,
|
|
@@ -9621,9 +9647,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
9621
9647
|
if (!shallow && c2.patchFlag !== -2)
|
|
9622
9648
|
traverseStaticChildren(c1, c2);
|
|
9623
9649
|
}
|
|
9624
|
-
if (c2.type === Text
|
|
9625
|
-
|
|
9626
|
-
|
|
9650
|
+
if (c2.type === Text) {
|
|
9651
|
+
if (c2.patchFlag !== -1) {
|
|
9652
|
+
c2.el = c1.el;
|
|
9653
|
+
} else {
|
|
9654
|
+
c2.__elIndex = i + // take fragment start anchor into account
|
|
9655
|
+
(n1.type === Fragment ? 1 : 0);
|
|
9656
|
+
}
|
|
9627
9657
|
}
|
|
9628
9658
|
if (c2.type === Comment && !c2.el) {
|
|
9629
9659
|
c2.el = c1.el;
|
|
@@ -9659,16 +9689,24 @@ function performTransitionEnter(el, transition, insert, parentSuspense, force =
|
|
|
9659
9689
|
insert();
|
|
9660
9690
|
}
|
|
9661
9691
|
}
|
|
9662
|
-
function performTransitionLeave(el, transition, remove, isElement = true) {
|
|
9692
|
+
function performTransitionLeave(el, transition, remove, isElement = true, force = false) {
|
|
9663
9693
|
const performRemove = () => {
|
|
9664
9694
|
remove();
|
|
9665
9695
|
if (transition && !transition.persisted && transition.afterLeave) {
|
|
9666
9696
|
transition.afterLeave();
|
|
9667
9697
|
}
|
|
9668
9698
|
};
|
|
9669
|
-
if (isElement && transition && !transition.persisted) {
|
|
9699
|
+
if (force || isElement && transition && !transition.persisted) {
|
|
9670
9700
|
const { leave, delayLeave } = transition;
|
|
9671
|
-
const performLeave = () =>
|
|
9701
|
+
const performLeave = () => {
|
|
9702
|
+
if (el._isLeaving && force) {
|
|
9703
|
+
el[leaveCbKey](
|
|
9704
|
+
true
|
|
9705
|
+
/* cancelled */
|
|
9706
|
+
);
|
|
9707
|
+
}
|
|
9708
|
+
leave(el, performRemove);
|
|
9709
|
+
};
|
|
9672
9710
|
if (delayLeave) {
|
|
9673
9711
|
delayLeave(el, performRemove, performLeave);
|
|
9674
9712
|
} else {
|
|
@@ -9724,6 +9762,16 @@ function getInheritedScopeIds(vnode, parentComponent) {
|
|
|
9724
9762
|
}
|
|
9725
9763
|
return inheritedScopeIds;
|
|
9726
9764
|
}
|
|
9765
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
9766
|
+
if (anchorVnode.placeholder) {
|
|
9767
|
+
return anchorVnode.placeholder;
|
|
9768
|
+
}
|
|
9769
|
+
const instance = anchorVnode.component;
|
|
9770
|
+
if (instance) {
|
|
9771
|
+
return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
9772
|
+
}
|
|
9773
|
+
return null;
|
|
9774
|
+
}
|
|
9727
9775
|
|
|
9728
9776
|
const isSuspense = (type) => type.__isSuspense;
|
|
9729
9777
|
let suspenseId = 0;
|
|
@@ -10218,7 +10266,7 @@ function hydrateSuspense(node, vnode, parentComponent, parentSuspense, namespace
|
|
|
10218
10266
|
parentSuspense,
|
|
10219
10267
|
parentComponent,
|
|
10220
10268
|
node.parentNode,
|
|
10221
|
-
//
|
|
10269
|
+
// oxlint-disable-next-line no-restricted-globals
|
|
10222
10270
|
document.createElement("div"),
|
|
10223
10271
|
null,
|
|
10224
10272
|
namespace,
|
|
@@ -10306,11 +10354,11 @@ function isVNodeSuspensible(vnode) {
|
|
|
10306
10354
|
return suspensible != null && suspensible !== false;
|
|
10307
10355
|
}
|
|
10308
10356
|
|
|
10309
|
-
const Fragment = Symbol.for("v-fgt");
|
|
10310
|
-
const Text = Symbol.for("v-txt");
|
|
10311
|
-
const Comment = Symbol.for("v-cmt");
|
|
10312
|
-
const Static = Symbol.for("v-stc");
|
|
10313
|
-
const VaporSlot = Symbol.for("v-vps");
|
|
10357
|
+
const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
10358
|
+
const Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
10359
|
+
const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
10360
|
+
const Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
10361
|
+
const VaporSlot = /* @__PURE__ */ Symbol.for("v-vps");
|
|
10314
10362
|
const blockStack = [];
|
|
10315
10363
|
let currentBlock = null;
|
|
10316
10364
|
function openBlock(disableTracking = false) {
|
|
@@ -10714,7 +10762,7 @@ const setCurrentInstance = (instance, scope = instance !== null ? instance.scope
|
|
|
10714
10762
|
simpleSetCurrentInstance(instance);
|
|
10715
10763
|
}
|
|
10716
10764
|
};
|
|
10717
|
-
const internalOptions = ["ce", "type"];
|
|
10765
|
+
const internalOptions = ["ce", "type", "uid"];
|
|
10718
10766
|
const useInstanceOption = (key, silent = false) => {
|
|
10719
10767
|
const instance = getCurrentGenericInstance();
|
|
10720
10768
|
if (!instance) {
|
|
@@ -10734,7 +10782,7 @@ const useInstanceOption = (key, silent = false) => {
|
|
|
10734
10782
|
return { hasInstance: true, value: instance[key] };
|
|
10735
10783
|
};
|
|
10736
10784
|
|
|
10737
|
-
const emptyAppContext = createAppContext();
|
|
10785
|
+
const emptyAppContext = /* @__PURE__ */ createAppContext();
|
|
10738
10786
|
let uid = 0;
|
|
10739
10787
|
function createComponentInstance(vnode, parent, suspense) {
|
|
10740
10788
|
const type = vnode.type;
|
|
@@ -11366,7 +11414,7 @@ function isMemoSame(cached, memo) {
|
|
|
11366
11414
|
return true;
|
|
11367
11415
|
}
|
|
11368
11416
|
|
|
11369
|
-
const version = "3.6.0-
|
|
11417
|
+
const version = "3.6.0-beta.2";
|
|
11370
11418
|
const warn = warn$1 ;
|
|
11371
11419
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11372
11420
|
const devtools = devtools$1 ;
|
|
@@ -11471,7 +11519,7 @@ const nodeOps = {
|
|
|
11471
11519
|
|
|
11472
11520
|
const TRANSITION$1 = "transition";
|
|
11473
11521
|
const ANIMATION = "animation";
|
|
11474
|
-
const vtcKey = Symbol("_vtc");
|
|
11522
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
11475
11523
|
const DOMTransitionPropsValidators = {
|
|
11476
11524
|
name: String,
|
|
11477
11525
|
type: String,
|
|
@@ -11764,8 +11812,8 @@ function patchClass(el, value, isSVG) {
|
|
|
11764
11812
|
}
|
|
11765
11813
|
}
|
|
11766
11814
|
|
|
11767
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
11768
|
-
const vShowHidden = Symbol("_vsh");
|
|
11815
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
11816
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
11769
11817
|
const vShow = {
|
|
11770
11818
|
// used for prop mismatch check during hydration
|
|
11771
11819
|
name: "show",
|
|
@@ -11814,7 +11862,7 @@ function initVShowForSSR() {
|
|
|
11814
11862
|
};
|
|
11815
11863
|
}
|
|
11816
11864
|
|
|
11817
|
-
const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT" );
|
|
11865
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("CSS_VAR_TEXT" );
|
|
11818
11866
|
function useCssVars(getter) {
|
|
11819
11867
|
const instance = getCurrentInstance();
|
|
11820
11868
|
const getVars = () => getter(instance.proxy);
|
|
@@ -12075,7 +12123,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
12075
12123
|
function removeEventListener(el, event, handler, options) {
|
|
12076
12124
|
el.removeEventListener(event, handler, options);
|
|
12077
12125
|
}
|
|
12078
|
-
const veiKey = Symbol("_vei");
|
|
12126
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
12079
12127
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
12080
12128
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
12081
12129
|
const existingInvoker = invokers[rawName];
|
|
@@ -12737,8 +12785,8 @@ function useCssModule(name = "$style") {
|
|
|
12737
12785
|
|
|
12738
12786
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
12739
12787
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
12740
|
-
const moveCbKey = Symbol("_moveCb");
|
|
12741
|
-
const enterCbKey = Symbol("_enterCb");
|
|
12788
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
12789
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
12742
12790
|
const decorate = (t) => {
|
|
12743
12791
|
delete t.props.mode;
|
|
12744
12792
|
return t;
|
|
@@ -12901,7 +12949,7 @@ function onCompositionEnd(e) {
|
|
|
12901
12949
|
target.dispatchEvent(new Event("input"));
|
|
12902
12950
|
}
|
|
12903
12951
|
}
|
|
12904
|
-
const assignKey = Symbol("_assign");
|
|
12952
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
12905
12953
|
const vModelText = {
|
|
12906
12954
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
12907
12955
|
el[assignKey] = getModelAssigner(vnode);
|
|
@@ -13389,6 +13437,7 @@ var runtimeDom = /*#__PURE__*/Object.freeze({
|
|
|
13389
13437
|
ErrorTypeStrings: ErrorTypeStrings,
|
|
13390
13438
|
Fragment: Fragment,
|
|
13391
13439
|
KeepAlive: KeepAlive,
|
|
13440
|
+
MoveType: MoveType,
|
|
13392
13441
|
ReactiveEffect: ReactiveEffect,
|
|
13393
13442
|
Static: Static,
|
|
13394
13443
|
Suspense: Suspense,
|
|
@@ -13566,81 +13615,81 @@ Make sure to use the production build (*.prod.js) when deploying for production.
|
|
|
13566
13615
|
}
|
|
13567
13616
|
}
|
|
13568
13617
|
|
|
13569
|
-
const FRAGMENT = Symbol(`Fragment` );
|
|
13570
|
-
const TELEPORT = Symbol(`Teleport` );
|
|
13571
|
-
const SUSPENSE = Symbol(`Suspense` );
|
|
13572
|
-
const KEEP_ALIVE = Symbol(`KeepAlive` );
|
|
13573
|
-
const BASE_TRANSITION = Symbol(
|
|
13618
|
+
const FRAGMENT = /* @__PURE__ */ Symbol(`Fragment` );
|
|
13619
|
+
const TELEPORT = /* @__PURE__ */ Symbol(`Teleport` );
|
|
13620
|
+
const SUSPENSE = /* @__PURE__ */ Symbol(`Suspense` );
|
|
13621
|
+
const KEEP_ALIVE = /* @__PURE__ */ Symbol(`KeepAlive` );
|
|
13622
|
+
const BASE_TRANSITION = /* @__PURE__ */ Symbol(
|
|
13574
13623
|
`BaseTransition`
|
|
13575
13624
|
);
|
|
13576
|
-
const OPEN_BLOCK = Symbol(`openBlock` );
|
|
13577
|
-
const CREATE_BLOCK = Symbol(`createBlock` );
|
|
13578
|
-
const CREATE_ELEMENT_BLOCK = Symbol(
|
|
13625
|
+
const OPEN_BLOCK = /* @__PURE__ */ Symbol(`openBlock` );
|
|
13626
|
+
const CREATE_BLOCK = /* @__PURE__ */ Symbol(`createBlock` );
|
|
13627
|
+
const CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(
|
|
13579
13628
|
`createElementBlock`
|
|
13580
13629
|
);
|
|
13581
|
-
const CREATE_VNODE = Symbol(`createVNode` );
|
|
13582
|
-
const CREATE_ELEMENT_VNODE = Symbol(
|
|
13630
|
+
const CREATE_VNODE = /* @__PURE__ */ Symbol(`createVNode` );
|
|
13631
|
+
const CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(
|
|
13583
13632
|
`createElementVNode`
|
|
13584
13633
|
);
|
|
13585
|
-
const CREATE_COMMENT = Symbol(
|
|
13634
|
+
const CREATE_COMMENT = /* @__PURE__ */ Symbol(
|
|
13586
13635
|
`createCommentVNode`
|
|
13587
13636
|
);
|
|
13588
|
-
const CREATE_TEXT = Symbol(
|
|
13637
|
+
const CREATE_TEXT = /* @__PURE__ */ Symbol(
|
|
13589
13638
|
`createTextVNode`
|
|
13590
13639
|
);
|
|
13591
|
-
const CREATE_STATIC = Symbol(
|
|
13640
|
+
const CREATE_STATIC = /* @__PURE__ */ Symbol(
|
|
13592
13641
|
`createStaticVNode`
|
|
13593
13642
|
);
|
|
13594
|
-
const RESOLVE_COMPONENT = Symbol(
|
|
13643
|
+
const RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(
|
|
13595
13644
|
`resolveComponent`
|
|
13596
13645
|
);
|
|
13597
|
-
const RESOLVE_DYNAMIC_COMPONENT = Symbol(
|
|
13646
|
+
const RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(
|
|
13598
13647
|
`resolveDynamicComponent`
|
|
13599
13648
|
);
|
|
13600
|
-
const RESOLVE_DIRECTIVE = Symbol(
|
|
13649
|
+
const RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(
|
|
13601
13650
|
`resolveDirective`
|
|
13602
13651
|
);
|
|
13603
|
-
const RESOLVE_FILTER = Symbol(
|
|
13652
|
+
const RESOLVE_FILTER = /* @__PURE__ */ Symbol(
|
|
13604
13653
|
`resolveFilter`
|
|
13605
13654
|
);
|
|
13606
|
-
const WITH_DIRECTIVES = Symbol(
|
|
13655
|
+
const WITH_DIRECTIVES = /* @__PURE__ */ Symbol(
|
|
13607
13656
|
`withDirectives`
|
|
13608
13657
|
);
|
|
13609
|
-
const RENDER_LIST = Symbol(`renderList` );
|
|
13610
|
-
const RENDER_SLOT = Symbol(`renderSlot` );
|
|
13611
|
-
const CREATE_SLOTS = Symbol(`createSlots` );
|
|
13612
|
-
const TO_DISPLAY_STRING = Symbol(
|
|
13658
|
+
const RENDER_LIST = /* @__PURE__ */ Symbol(`renderList` );
|
|
13659
|
+
const RENDER_SLOT = /* @__PURE__ */ Symbol(`renderSlot` );
|
|
13660
|
+
const CREATE_SLOTS = /* @__PURE__ */ Symbol(`createSlots` );
|
|
13661
|
+
const TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(
|
|
13613
13662
|
`toDisplayString`
|
|
13614
13663
|
);
|
|
13615
|
-
const MERGE_PROPS = Symbol(`mergeProps` );
|
|
13616
|
-
const NORMALIZE_CLASS = Symbol(
|
|
13664
|
+
const MERGE_PROPS = /* @__PURE__ */ Symbol(`mergeProps` );
|
|
13665
|
+
const NORMALIZE_CLASS = /* @__PURE__ */ Symbol(
|
|
13617
13666
|
`normalizeClass`
|
|
13618
13667
|
);
|
|
13619
|
-
const NORMALIZE_STYLE = Symbol(
|
|
13668
|
+
const NORMALIZE_STYLE = /* @__PURE__ */ Symbol(
|
|
13620
13669
|
`normalizeStyle`
|
|
13621
13670
|
);
|
|
13622
|
-
const NORMALIZE_PROPS = Symbol(
|
|
13671
|
+
const NORMALIZE_PROPS = /* @__PURE__ */ Symbol(
|
|
13623
13672
|
`normalizeProps`
|
|
13624
13673
|
);
|
|
13625
|
-
const GUARD_REACTIVE_PROPS = Symbol(
|
|
13674
|
+
const GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(
|
|
13626
13675
|
`guardReactiveProps`
|
|
13627
13676
|
);
|
|
13628
|
-
const TO_HANDLERS = Symbol(`toHandlers` );
|
|
13629
|
-
const CAMELIZE = Symbol(`camelize` );
|
|
13630
|
-
const CAPITALIZE = Symbol(`capitalize` );
|
|
13631
|
-
const TO_HANDLER_KEY = Symbol(
|
|
13677
|
+
const TO_HANDLERS = /* @__PURE__ */ Symbol(`toHandlers` );
|
|
13678
|
+
const CAMELIZE = /* @__PURE__ */ Symbol(`camelize` );
|
|
13679
|
+
const CAPITALIZE = /* @__PURE__ */ Symbol(`capitalize` );
|
|
13680
|
+
const TO_HANDLER_KEY = /* @__PURE__ */ Symbol(
|
|
13632
13681
|
`toHandlerKey`
|
|
13633
13682
|
);
|
|
13634
|
-
const SET_BLOCK_TRACKING = Symbol(
|
|
13683
|
+
const SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(
|
|
13635
13684
|
`setBlockTracking`
|
|
13636
13685
|
);
|
|
13637
|
-
const PUSH_SCOPE_ID = Symbol(`pushScopeId` );
|
|
13638
|
-
const POP_SCOPE_ID = Symbol(`popScopeId` );
|
|
13639
|
-
const WITH_CTX = Symbol(`withCtx` );
|
|
13640
|
-
const UNREF = Symbol(`unref` );
|
|
13641
|
-
const IS_REF = Symbol(`isRef` );
|
|
13642
|
-
const WITH_MEMO = Symbol(`withMemo` );
|
|
13643
|
-
const IS_MEMO_SAME = Symbol(`isMemoSame` );
|
|
13686
|
+
const PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(`pushScopeId` );
|
|
13687
|
+
const POP_SCOPE_ID = /* @__PURE__ */ Symbol(`popScopeId` );
|
|
13688
|
+
const WITH_CTX = /* @__PURE__ */ Symbol(`withCtx` );
|
|
13689
|
+
const UNREF = /* @__PURE__ */ Symbol(`unref` );
|
|
13690
|
+
const IS_REF = /* @__PURE__ */ Symbol(`isRef` );
|
|
13691
|
+
const WITH_MEMO = /* @__PURE__ */ Symbol(`withMemo` );
|
|
13692
|
+
const IS_MEMO_SAME = /* @__PURE__ */ Symbol(`isMemoSame` );
|
|
13644
13693
|
const helperNameMap = {
|
|
13645
13694
|
[FRAGMENT]: `Fragment`,
|
|
13646
13695
|
[TELEPORT]: `Teleport`,
|
|
@@ -13935,14 +13984,28 @@ class Tokenizer {
|
|
|
13935
13984
|
getPos(index) {
|
|
13936
13985
|
let line = 1;
|
|
13937
13986
|
let column = index + 1;
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13987
|
+
const length = this.newlines.length;
|
|
13988
|
+
let j = -1;
|
|
13989
|
+
if (length > 100) {
|
|
13990
|
+
let l = -1;
|
|
13991
|
+
let r = length;
|
|
13992
|
+
while (l + 1 < r) {
|
|
13993
|
+
const m = l + r >>> 1;
|
|
13994
|
+
this.newlines[m] < index ? l = m : r = m;
|
|
13995
|
+
}
|
|
13996
|
+
j = l;
|
|
13997
|
+
} else {
|
|
13998
|
+
for (let i = length - 1; i >= 0; i--) {
|
|
13999
|
+
if (index > this.newlines[i]) {
|
|
14000
|
+
j = i;
|
|
14001
|
+
break;
|
|
14002
|
+
}
|
|
13944
14003
|
}
|
|
13945
14004
|
}
|
|
14005
|
+
if (j >= 0) {
|
|
14006
|
+
line = j + 2;
|
|
14007
|
+
column = index - this.newlines[j];
|
|
14008
|
+
}
|
|
13946
14009
|
return {
|
|
13947
14010
|
column,
|
|
13948
14011
|
line,
|
|
@@ -14690,7 +14753,7 @@ const errorMessages = {
|
|
|
14690
14753
|
[32]: `v-for has invalid expression.`,
|
|
14691
14754
|
[33]: `<template v-for> key should be placed on the <template> tag.`,
|
|
14692
14755
|
[34]: `v-bind is missing expression.`,
|
|
14693
|
-
[
|
|
14756
|
+
[53]: `v-bind with same-name shorthand only allows static argument.`,
|
|
14694
14757
|
[35]: `v-on is missing expression.`,
|
|
14695
14758
|
[36]: `Unexpected custom directive on <slot> outlet.`,
|
|
14696
14759
|
[37]: `Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,
|
|
@@ -14702,16 +14765,17 @@ const errorMessages = {
|
|
|
14702
14765
|
[43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
|
|
14703
14766
|
[44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
14704
14767
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
|
|
14705
|
-
[45]: `
|
|
14706
|
-
[46]:
|
|
14707
|
-
[
|
|
14768
|
+
[45]: `v-model cannot be used on a const binding because it is not writable.`,
|
|
14769
|
+
[46]: `Error parsing JavaScript expression: `,
|
|
14770
|
+
[47]: `<KeepAlive> expects exactly one child component.`,
|
|
14771
|
+
[52]: `@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,
|
|
14708
14772
|
// generic errors
|
|
14709
|
-
[
|
|
14710
|
-
[
|
|
14711
|
-
[
|
|
14712
|
-
[
|
|
14773
|
+
[48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
|
|
14774
|
+
[49]: `ES module mode is not supported in this build of compiler.`,
|
|
14775
|
+
[50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
|
14776
|
+
[51]: `"scopeId" option is only supported in module mode.`,
|
|
14713
14777
|
// just to fulfill types
|
|
14714
|
-
[
|
|
14778
|
+
[54]: ``
|
|
14715
14779
|
};
|
|
14716
14780
|
|
|
14717
14781
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
@@ -16804,7 +16868,7 @@ function validateBrowserExpression(node, context, asParams = false, asRawStateme
|
|
|
16804
16868
|
}
|
|
16805
16869
|
context.onError(
|
|
16806
16870
|
createCompilerError(
|
|
16807
|
-
|
|
16871
|
+
46,
|
|
16808
16872
|
node.loc,
|
|
16809
16873
|
void 0,
|
|
16810
16874
|
message
|
|
@@ -17567,7 +17631,7 @@ const transformElement = (node, context) => {
|
|
|
17567
17631
|
patchFlag |= 1024;
|
|
17568
17632
|
if (node.children.length > 1) {
|
|
17569
17633
|
context.onError(
|
|
17570
|
-
createCompilerError(
|
|
17634
|
+
createCompilerError(47, {
|
|
17571
17635
|
start: node.children[0].loc.start,
|
|
17572
17636
|
end: node.children[node.children.length - 1].loc.end,
|
|
17573
17637
|
source: ""
|
|
@@ -18114,7 +18178,7 @@ const transformOn$1 = (dir, node, context, augmentor) => {
|
|
|
18114
18178
|
if (arg.isStatic) {
|
|
18115
18179
|
let rawName = arg.content;
|
|
18116
18180
|
if (rawName.startsWith("vnode")) {
|
|
18117
|
-
context.onError(createCompilerError(
|
|
18181
|
+
context.onError(createCompilerError(52, arg.loc));
|
|
18118
18182
|
}
|
|
18119
18183
|
if (rawName.startsWith("vue:")) {
|
|
18120
18184
|
rawName = `vnode-${rawName.slice(4)}`;
|
|
@@ -18347,6 +18411,10 @@ const transformModel$1 = (dir, node, context) => {
|
|
|
18347
18411
|
context.onError(createCompilerError(44, exp.loc));
|
|
18348
18412
|
return createTransformProps();
|
|
18349
18413
|
}
|
|
18414
|
+
if (bindingType === "literal-const" || bindingType === "setup-const") {
|
|
18415
|
+
context.onError(createCompilerError(45, exp.loc));
|
|
18416
|
+
return createTransformProps();
|
|
18417
|
+
}
|
|
18350
18418
|
if (!expString.trim() || !isMemberExpression(exp) && true) {
|
|
18351
18419
|
context.onError(
|
|
18352
18420
|
createCompilerError(42, exp.loc)
|
|
@@ -18426,7 +18494,7 @@ const transformVBindShorthand = (node, context) => {
|
|
|
18426
18494
|
if (arg.type !== 4 || !arg.isStatic) {
|
|
18427
18495
|
context.onError(
|
|
18428
18496
|
createCompilerError(
|
|
18429
|
-
|
|
18497
|
+
53,
|
|
18430
18498
|
arg.loc
|
|
18431
18499
|
)
|
|
18432
18500
|
);
|
|
@@ -18470,17 +18538,17 @@ function baseCompile(source, options = {}) {
|
|
|
18470
18538
|
const isModuleMode = options.mode === "module";
|
|
18471
18539
|
{
|
|
18472
18540
|
if (options.prefixIdentifiers === true) {
|
|
18473
|
-
onError(createCompilerError(47));
|
|
18474
|
-
} else if (isModuleMode) {
|
|
18475
18541
|
onError(createCompilerError(48));
|
|
18542
|
+
} else if (isModuleMode) {
|
|
18543
|
+
onError(createCompilerError(49));
|
|
18476
18544
|
}
|
|
18477
18545
|
}
|
|
18478
18546
|
const prefixIdentifiers = false;
|
|
18479
18547
|
if (options.cacheHandlers) {
|
|
18480
|
-
onError(createCompilerError(
|
|
18548
|
+
onError(createCompilerError(50));
|
|
18481
18549
|
}
|
|
18482
18550
|
if (options.scopeId && !isModuleMode) {
|
|
18483
|
-
onError(createCompilerError(
|
|
18551
|
+
onError(createCompilerError(51));
|
|
18484
18552
|
}
|
|
18485
18553
|
const resolvedOptions = extend({}, options, {
|
|
18486
18554
|
prefixIdentifiers
|
|
@@ -18508,26 +18576,26 @@ function baseCompile(source, options = {}) {
|
|
|
18508
18576
|
|
|
18509
18577
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
18510
18578
|
|
|
18511
|
-
const V_MODEL_RADIO = Symbol(`vModelRadio` );
|
|
18512
|
-
const V_MODEL_CHECKBOX = Symbol(
|
|
18579
|
+
const V_MODEL_RADIO = /* @__PURE__ */ Symbol(`vModelRadio` );
|
|
18580
|
+
const V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(
|
|
18513
18581
|
`vModelCheckbox`
|
|
18514
18582
|
);
|
|
18515
|
-
const V_MODEL_TEXT = Symbol(`vModelText` );
|
|
18516
|
-
const V_MODEL_SELECT = Symbol(
|
|
18583
|
+
const V_MODEL_TEXT = /* @__PURE__ */ Symbol(`vModelText` );
|
|
18584
|
+
const V_MODEL_SELECT = /* @__PURE__ */ Symbol(
|
|
18517
18585
|
`vModelSelect`
|
|
18518
18586
|
);
|
|
18519
|
-
const V_MODEL_DYNAMIC = Symbol(
|
|
18587
|
+
const V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(
|
|
18520
18588
|
`vModelDynamic`
|
|
18521
18589
|
);
|
|
18522
|
-
const V_ON_WITH_MODIFIERS = Symbol(
|
|
18590
|
+
const V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(
|
|
18523
18591
|
`vOnModifiersGuard`
|
|
18524
18592
|
);
|
|
18525
|
-
const V_ON_WITH_KEYS = Symbol(
|
|
18593
|
+
const V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(
|
|
18526
18594
|
`vOnKeysGuard`
|
|
18527
18595
|
);
|
|
18528
|
-
const V_SHOW = Symbol(`vShow` );
|
|
18529
|
-
const TRANSITION = Symbol(`Transition` );
|
|
18530
|
-
const TRANSITION_GROUP = Symbol(
|
|
18596
|
+
const V_SHOW = /* @__PURE__ */ Symbol(`vShow` );
|
|
18597
|
+
const TRANSITION = /* @__PURE__ */ Symbol(`Transition` );
|
|
18598
|
+
const TRANSITION_GROUP = /* @__PURE__ */ Symbol(
|
|
18531
18599
|
`TransitionGroup`
|
|
18532
18600
|
);
|
|
18533
18601
|
registerRuntimeHelpers({
|
|
@@ -18638,31 +18706,31 @@ function createDOMCompilerError(code, loc) {
|
|
|
18638
18706
|
);
|
|
18639
18707
|
}
|
|
18640
18708
|
const DOMErrorMessages = {
|
|
18641
|
-
[
|
|
18642
|
-
[
|
|
18643
|
-
[
|
|
18644
|
-
[
|
|
18645
|
-
[
|
|
18646
|
-
[
|
|
18647
|
-
[
|
|
18648
|
-
[
|
|
18649
|
-
[
|
|
18650
|
-
[
|
|
18651
|
-
[
|
|
18709
|
+
[54]: `v-html is missing expression.`,
|
|
18710
|
+
[55]: `v-html will override element children.`,
|
|
18711
|
+
[56]: `v-text is missing expression.`,
|
|
18712
|
+
[57]: `v-text will override element children.`,
|
|
18713
|
+
[58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
|
|
18714
|
+
[59]: `v-model argument is not supported on plain elements.`,
|
|
18715
|
+
[60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
|
|
18716
|
+
[61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
|
|
18717
|
+
[62]: `v-show is missing expression.`,
|
|
18718
|
+
[63]: `<Transition> expects exactly one child element or component.`,
|
|
18719
|
+
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`,
|
|
18652
18720
|
// just to fulfill types
|
|
18653
|
-
[
|
|
18721
|
+
[65]: ``
|
|
18654
18722
|
};
|
|
18655
18723
|
|
|
18656
18724
|
const transformVHtml = (dir, node, context) => {
|
|
18657
18725
|
const { exp, loc } = dir;
|
|
18658
18726
|
if (!exp) {
|
|
18659
18727
|
context.onError(
|
|
18660
|
-
createDOMCompilerError(
|
|
18728
|
+
createDOMCompilerError(54, loc)
|
|
18661
18729
|
);
|
|
18662
18730
|
}
|
|
18663
18731
|
if (node.children.length) {
|
|
18664
18732
|
context.onError(
|
|
18665
|
-
createDOMCompilerError(
|
|
18733
|
+
createDOMCompilerError(55, loc)
|
|
18666
18734
|
);
|
|
18667
18735
|
node.children.length = 0;
|
|
18668
18736
|
}
|
|
@@ -18680,12 +18748,12 @@ const transformVText = (dir, node, context) => {
|
|
|
18680
18748
|
const { exp, loc } = dir;
|
|
18681
18749
|
if (!exp) {
|
|
18682
18750
|
context.onError(
|
|
18683
|
-
createDOMCompilerError(
|
|
18751
|
+
createDOMCompilerError(56, loc)
|
|
18684
18752
|
);
|
|
18685
18753
|
}
|
|
18686
18754
|
if (node.children.length) {
|
|
18687
18755
|
context.onError(
|
|
18688
|
-
createDOMCompilerError(
|
|
18756
|
+
createDOMCompilerError(57, loc)
|
|
18689
18757
|
);
|
|
18690
18758
|
node.children.length = 0;
|
|
18691
18759
|
}
|
|
@@ -18711,7 +18779,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18711
18779
|
if (dir.arg) {
|
|
18712
18780
|
context.onError(
|
|
18713
18781
|
createDOMCompilerError(
|
|
18714
|
-
|
|
18782
|
+
59,
|
|
18715
18783
|
dir.arg.loc
|
|
18716
18784
|
)
|
|
18717
18785
|
);
|
|
@@ -18721,7 +18789,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18721
18789
|
if (value && isStaticArgOf(value.arg, "value")) {
|
|
18722
18790
|
context.onError(
|
|
18723
18791
|
createDOMCompilerError(
|
|
18724
|
-
|
|
18792
|
+
61,
|
|
18725
18793
|
value.loc
|
|
18726
18794
|
)
|
|
18727
18795
|
);
|
|
@@ -18749,7 +18817,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18749
18817
|
isInvalidType = true;
|
|
18750
18818
|
context.onError(
|
|
18751
18819
|
createDOMCompilerError(
|
|
18752
|
-
|
|
18820
|
+
60,
|
|
18753
18821
|
dir.loc
|
|
18754
18822
|
)
|
|
18755
18823
|
);
|
|
@@ -18775,7 +18843,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18775
18843
|
} else {
|
|
18776
18844
|
context.onError(
|
|
18777
18845
|
createDOMCompilerError(
|
|
18778
|
-
|
|
18846
|
+
58,
|
|
18779
18847
|
dir.loc
|
|
18780
18848
|
)
|
|
18781
18849
|
);
|
|
@@ -18880,7 +18948,7 @@ const transformShow = (dir, node, context) => {
|
|
|
18880
18948
|
const { exp, loc } = dir;
|
|
18881
18949
|
if (!exp) {
|
|
18882
18950
|
context.onError(
|
|
18883
|
-
createDOMCompilerError(
|
|
18951
|
+
createDOMCompilerError(62, loc)
|
|
18884
18952
|
);
|
|
18885
18953
|
}
|
|
18886
18954
|
return {
|
|
@@ -18904,7 +18972,7 @@ function postTransformTransition(node, onError, hasMultipleChildren = defaultHas
|
|
|
18904
18972
|
}
|
|
18905
18973
|
if (hasMultipleChildren(node)) {
|
|
18906
18974
|
onError(
|
|
18907
|
-
createDOMCompilerError(
|
|
18975
|
+
createDOMCompilerError(63, {
|
|
18908
18976
|
start: node.children[0].loc.start,
|
|
18909
18977
|
end: node.children[node.children.length - 1].loc.end,
|
|
18910
18978
|
source: ""
|
|
@@ -18939,7 +19007,7 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
18939
19007
|
if (node.type === 1 && node.tagType === 0 && (node.tag === "script" || node.tag === "style")) {
|
|
18940
19008
|
context.onError(
|
|
18941
19009
|
createDOMCompilerError(
|
|
18942
|
-
|
|
19010
|
+
64,
|
|
18943
19011
|
node.loc
|
|
18944
19012
|
)
|
|
18945
19013
|
);
|
|
@@ -19211,4 +19279,4 @@ ${codeFrame}` : message);
|
|
|
19211
19279
|
}
|
|
19212
19280
|
registerRuntimeCompiler(compileToFunction);
|
|
19213
19281
|
|
|
19214
|
-
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TriggerOpTypes, VueElement, VueElementBase, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, compileToFunction as compile, computed, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeModels, mergeProps, nextTick, nodeOps, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };
|
|
19282
|
+
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MoveType, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TriggerOpTypes, VueElement, VueElementBase, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, compileToFunction as compile, computed, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeModels, mergeProps, nextTick, nodeOps, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };
|