@vue/runtime-core 3.6.0-beta.6 → 3.6.0-beta.8
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/runtime-core.cjs.js +63 -88
- package/dist/runtime-core.cjs.prod.js +54 -84
- package/dist/runtime-core.d.ts +29 -3
- package/dist/runtime-core.esm-bundler.js +67 -80
- package/package.json +3 -3
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.6.0-beta.
|
|
2
|
+
* @vue/runtime-core v3.6.0-beta.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
6
6
|
import { EffectScope, EffectScope as EffectScope$1, ReactiveEffect, ReactiveEffect as ReactiveEffect$1, TrackOpTypes, TriggerOpTypes, WatcherEffect, computed as computed$1, customRef, customRef as customRef$1, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isProxy as isProxy$1, isReactive, isReactive as isReactive$1, isReadonly, isReadonly as isReadonly$1, isRef, isRef as isRef$1, isShallow, isShallow as isShallow$1, markRaw, markRaw as markRaw$1, onScopeDispose, onWatcherCleanup, proxyRefs, proxyRefs as proxyRefs$1, reactive, reactive as reactive$1, readonly, readonly as readonly$1, ref, ref as ref$1, setActiveSub, setCurrentScope, shallowReactive, shallowReactive as shallowReactive$1, shallowReadArray, shallowReadonly, shallowReadonly as shallowReadonly$1, shallowRef, shallowRef as shallowRef$1, stop, toRaw, toRaw as toRaw$1, toReactive, toReadonly, toRef, toRefs, toValue, track, traverse, trigger, triggerRef, unref } from "@vue/reactivity";
|
|
7
7
|
import { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, camelize, camelize as camelize$1, capitalize, capitalize as capitalize$1, def, extend, getEscapedCssVarName, getGlobalThis, getModifierPropName, getSequence, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isBuiltInTag, isFunction, isGloballyAllowed, isKnownHtmlAttr, isKnownSvgAttr, isModelListener, isObject, isOn, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isString, isSymbol, looseEqual, looseToNumber, makeMap, normalizeClass, normalizeClass as normalizeClass$1, normalizeCssVarValue, normalizeProps, normalizeStyle, normalizeStyle as normalizeStyle$1, remove, stringifyStyle, toDisplayString, toHandlerKey, toHandlerKey as toHandlerKey$1, toNumber, toRawType } from "@vue/shared";
|
|
8
|
-
|
|
9
8
|
//#region packages/runtime-core/src/warning.ts
|
|
10
9
|
const stack = [];
|
|
11
10
|
/**
|
|
@@ -31,8 +30,8 @@ function warn$1(msg, ...args) {
|
|
|
31
30
|
const trace = getComponentTrace();
|
|
32
31
|
if (appWarnHandler) callWithErrorHandling(appWarnHandler, instance, 11, [
|
|
33
32
|
msg + args.map((a) => {
|
|
34
|
-
|
|
35
|
-
return
|
|
33
|
+
const toString = a.toString;
|
|
34
|
+
return toString == null ? JSON.stringify(a) : toString.call(a);
|
|
36
35
|
}).join(""),
|
|
37
36
|
instance && instance.proxy || instance,
|
|
38
37
|
trace.map(({ ctx }) => `at <${formatComponentName(instance, ctx.type)}>`).join("\n"),
|
|
@@ -123,7 +122,6 @@ function assertNumber(val, type) {
|
|
|
123
122
|
else if (isNaN(val)) warn$1(`${type} is NaN - the duration expression might be incorrect.`);
|
|
124
123
|
}
|
|
125
124
|
/* v8 ignore stop */
|
|
126
|
-
|
|
127
125
|
//#endregion
|
|
128
126
|
//#region packages/runtime-core/src/errorHandling.ts
|
|
129
127
|
const ErrorCodes = {
|
|
@@ -247,9 +245,16 @@ function logError(err, type, instance, throwInDev = true, throwInProd = false) {
|
|
|
247
245
|
} else if (throwInProd) throw err;
|
|
248
246
|
else console.error(err);
|
|
249
247
|
}
|
|
250
|
-
|
|
251
248
|
//#endregion
|
|
252
249
|
//#region packages/runtime-core/src/scheduler.ts
|
|
250
|
+
const SchedulerJobFlags = {
|
|
251
|
+
"QUEUED": 1,
|
|
252
|
+
"1": "QUEUED",
|
|
253
|
+
"ALLOW_RECURSE": 2,
|
|
254
|
+
"2": "ALLOW_RECURSE",
|
|
255
|
+
"DISPOSED": 4,
|
|
256
|
+
"4": "DISPOSED"
|
|
257
|
+
};
|
|
253
258
|
const jobs = [];
|
|
254
259
|
let postJobs = [];
|
|
255
260
|
let activePostJobs = null;
|
|
@@ -400,7 +405,6 @@ function checkRecursiveUpdates(seen, fn) {
|
|
|
400
405
|
seen.set(fn, count + 1);
|
|
401
406
|
return false;
|
|
402
407
|
}
|
|
403
|
-
|
|
404
408
|
//#endregion
|
|
405
409
|
//#region packages/runtime-core/src/hmr.ts
|
|
406
410
|
let isHmrUpdating = false;
|
|
@@ -522,7 +526,6 @@ function tryWrap(fn) {
|
|
|
522
526
|
}
|
|
523
527
|
};
|
|
524
528
|
}
|
|
525
|
-
|
|
526
529
|
//#endregion
|
|
527
530
|
//#region packages/runtime-core/src/devtools.ts
|
|
528
531
|
let devtools$1;
|
|
@@ -591,7 +594,6 @@ function createDevtoolsPerformanceHook(hook) {
|
|
|
591
594
|
function devtoolsComponentEmit(component, event, params) {
|
|
592
595
|
emit$1("component:emit", component.appContext.app, component, event, params);
|
|
593
596
|
}
|
|
594
|
-
|
|
595
597
|
//#endregion
|
|
596
598
|
//#region packages/runtime-core/src/componentRenderContext.ts
|
|
597
599
|
/**
|
|
@@ -661,7 +663,6 @@ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
|
661
663
|
renderFnWithContext._d = true;
|
|
662
664
|
return renderFnWithContext;
|
|
663
665
|
}
|
|
664
|
-
|
|
665
666
|
//#endregion
|
|
666
667
|
//#region packages/runtime-core/src/directives.ts
|
|
667
668
|
function validateDirectiveName(name) {
|
|
@@ -716,7 +717,6 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
716
717
|
}
|
|
717
718
|
}
|
|
718
719
|
}
|
|
719
|
-
|
|
720
720
|
//#endregion
|
|
721
721
|
//#region packages/runtime-core/src/apiInject.ts
|
|
722
722
|
function provide(key, value) {
|
|
@@ -747,7 +747,6 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
747
747
|
function hasInjectionContext() {
|
|
748
748
|
return !!(getCurrentGenericInstance() || currentApp);
|
|
749
749
|
}
|
|
750
|
-
|
|
751
750
|
//#endregion
|
|
752
751
|
//#region packages/runtime-core/src/helpers/useSsrContext.ts
|
|
753
752
|
const ssrContextKey = Symbol.for("v-scx");
|
|
@@ -758,7 +757,6 @@ const useSSRContext = () => {
|
|
|
758
757
|
return ctx;
|
|
759
758
|
}
|
|
760
759
|
};
|
|
761
|
-
|
|
762
760
|
//#endregion
|
|
763
761
|
//#region packages/runtime-core/src/apiWatch.ts
|
|
764
762
|
function watchEffect(effect, options) {
|
|
@@ -859,7 +857,6 @@ function createPathGetter(ctx, path) {
|
|
|
859
857
|
return cur;
|
|
860
858
|
};
|
|
861
859
|
}
|
|
862
|
-
|
|
863
860
|
//#endregion
|
|
864
861
|
//#region packages/runtime-core/src/components/Teleport.ts
|
|
865
862
|
const TeleportEndKey = Symbol("_vte");
|
|
@@ -1057,7 +1054,6 @@ function prepareAnchor(target, vnode, createText, insert, anchor = null) {
|
|
|
1057
1054
|
}
|
|
1058
1055
|
return targetAnchor;
|
|
1059
1056
|
}
|
|
1060
|
-
|
|
1061
1057
|
//#endregion
|
|
1062
1058
|
//#region packages/runtime-core/src/components/BaseTransition.ts
|
|
1063
1059
|
const leaveCbKey = Symbol("_leaveCb");
|
|
@@ -1181,6 +1177,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
1181
1177
|
const key = String(vnode.key);
|
|
1182
1178
|
const leavingVNodesCache = getLeavingNodesForType(state, vnode);
|
|
1183
1179
|
return baseResolveTransitionHooks({
|
|
1180
|
+
isLeaving: () => leavingVNodesCache[key] === vnode,
|
|
1184
1181
|
setLeavingNodeCache: () => {
|
|
1185
1182
|
leavingVNodesCache[key] = vnode;
|
|
1186
1183
|
},
|
|
@@ -1199,7 +1196,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
1199
1196
|
}, props, state, instance);
|
|
1200
1197
|
}
|
|
1201
1198
|
function baseResolveTransitionHooks(context, props, state, instance) {
|
|
1202
|
-
const { setLeavingNodeCache, unsetLeavingNodeCache, earlyRemove, cloneHooks } = context;
|
|
1199
|
+
const { isLeaving, setLeavingNodeCache, unsetLeavingNodeCache, earlyRemove, cloneHooks } = context;
|
|
1203
1200
|
const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;
|
|
1204
1201
|
const callHook = (hook, args) => {
|
|
1205
1202
|
hook && callWithAsyncErrorHandling(hook, instance, 9, args);
|
|
@@ -1223,6 +1220,7 @@ function baseResolveTransitionHooks(context, props, state, instance) {
|
|
|
1223
1220
|
callHook(hook, [el]);
|
|
1224
1221
|
},
|
|
1225
1222
|
enter(el) {
|
|
1223
|
+
if (isLeaving()) return;
|
|
1226
1224
|
let hook = onEnter;
|
|
1227
1225
|
let afterHook = onAfterEnter;
|
|
1228
1226
|
let cancelHook = onEnterCancelled;
|
|
@@ -1319,14 +1317,12 @@ function getTransitionRawChildren(children, keepComment = false, parentKey) {
|
|
|
1319
1317
|
function checkTransitionMode(mode) {
|
|
1320
1318
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
|
|
1321
1319
|
}
|
|
1322
|
-
|
|
1323
1320
|
//#endregion
|
|
1324
1321
|
//#region packages/runtime-core/src/apiDefineComponent.ts
|
|
1325
1322
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1326
1323
|
function defineComponent(options, extraOptions) {
|
|
1327
1324
|
return isFunction(options) ? extend({ name: options.name }, extraOptions, { setup: options }) : options;
|
|
1328
1325
|
}
|
|
1329
|
-
|
|
1330
1326
|
//#endregion
|
|
1331
1327
|
//#region packages/runtime-core/src/helpers/useId.ts
|
|
1332
1328
|
function useId() {
|
|
@@ -1348,7 +1344,6 @@ function markAsyncBoundary(instance) {
|
|
|
1348
1344
|
0
|
|
1349
1345
|
];
|
|
1350
1346
|
}
|
|
1351
|
-
|
|
1352
1347
|
//#endregion
|
|
1353
1348
|
//#region packages/runtime-core/src/helpers/useTemplateRef.ts
|
|
1354
1349
|
const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
|
|
@@ -1372,7 +1367,6 @@ function isTemplateRefKey(refs, key) {
|
|
|
1372
1367
|
let desc;
|
|
1373
1368
|
return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
|
|
1374
1369
|
}
|
|
1375
|
-
|
|
1376
1370
|
//#endregion
|
|
1377
1371
|
//#region packages/runtime-core/src/rendererTemplateRef.ts
|
|
1378
1372
|
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -1473,7 +1467,6 @@ function invalidatePendingSetRef(rawRef) {
|
|
|
1473
1467
|
pendingSetRefMap.delete(rawRef);
|
|
1474
1468
|
}
|
|
1475
1469
|
}
|
|
1476
|
-
|
|
1477
1470
|
//#endregion
|
|
1478
1471
|
//#region packages/runtime-core/src/hydration.ts
|
|
1479
1472
|
let isHydratingEnabled = false;
|
|
@@ -1900,7 +1893,6 @@ function isMismatchAllowed(el, allowedType) {
|
|
|
1900
1893
|
return list.includes(MismatchTypeString[allowedType]);
|
|
1901
1894
|
}
|
|
1902
1895
|
}
|
|
1903
|
-
|
|
1904
1896
|
//#endregion
|
|
1905
1897
|
//#region packages/runtime-core/src/hydrationStrategies.ts
|
|
1906
1898
|
let requestIdleCallback;
|
|
@@ -1989,7 +1981,6 @@ function forEachElement(node, cb) {
|
|
|
1989
1981
|
}
|
|
1990
1982
|
} else cb(node);
|
|
1991
1983
|
}
|
|
1992
|
-
|
|
1993
1984
|
//#endregion
|
|
1994
1985
|
//#region packages/runtime-core/src/apiAsyncComponent.ts
|
|
1995
1986
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
|
@@ -2126,11 +2117,10 @@ function performAsyncHydrate(el, instance, hydrate, getResolvedComp, load, hydra
|
|
|
2126
2117
|
if (getResolvedComp()) doHydrate();
|
|
2127
2118
|
else load().then(() => !instance.isUnmounted && doHydrate());
|
|
2128
2119
|
}
|
|
2129
|
-
|
|
2130
2120
|
//#endregion
|
|
2131
2121
|
//#region packages/runtime-core/src/components/KeepAlive.ts
|
|
2132
2122
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
2133
|
-
const
|
|
2123
|
+
const KeepAlive = {
|
|
2134
2124
|
name: `KeepAlive`,
|
|
2135
2125
|
__isKeepAlive: true,
|
|
2136
2126
|
props: {
|
|
@@ -2268,7 +2258,6 @@ const KeepAliveImpl = {
|
|
|
2268
2258
|
};
|
|
2269
2259
|
}
|
|
2270
2260
|
};
|
|
2271
|
-
const KeepAlive = KeepAliveImpl;
|
|
2272
2261
|
function matches(pattern, name) {
|
|
2273
2262
|
if (isArray(pattern)) return pattern.some((p) => matches(p, name));
|
|
2274
2263
|
else if (isString(pattern)) return pattern.split(",").includes(name);
|
|
@@ -2347,9 +2336,7 @@ function deactivate(vnode, container, { m: move }, parentComponent, parentSuspen
|
|
|
2347
2336
|
instance.isDeactivated = true;
|
|
2348
2337
|
}, void 0, parentSuspense);
|
|
2349
2338
|
if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) devtoolsComponentAdded(instance);
|
|
2350
|
-
if (!!(process.env.NODE_ENV !== "production") && true) instance.__keepAliveStorageContainer = container;
|
|
2351
2339
|
}
|
|
2352
|
-
|
|
2353
2340
|
//#endregion
|
|
2354
2341
|
//#region packages/runtime-core/src/apiLifecycle.ts
|
|
2355
2342
|
function injectHook(type, hook, target = currentInstance, prepend = false) {
|
|
@@ -2385,23 +2372,19 @@ const onRenderTracked = /* @__PURE__ */ createHook("rtc");
|
|
|
2385
2372
|
function onErrorCaptured(hook, target = currentInstance) {
|
|
2386
2373
|
injectHook("ec", hook, target);
|
|
2387
2374
|
}
|
|
2388
|
-
|
|
2389
|
-
//#endregion
|
|
2390
|
-
//#region packages/runtime-core/src/helpers/resolveAssets.ts
|
|
2391
|
-
const COMPONENTS = "components";
|
|
2392
2375
|
const DIRECTIVES = "directives";
|
|
2393
2376
|
/**
|
|
2394
2377
|
* @private
|
|
2395
2378
|
*/
|
|
2396
2379
|
function resolveComponent(name, maybeSelfReference) {
|
|
2397
|
-
return resolveAsset(
|
|
2380
|
+
return resolveAsset("components", name, true, maybeSelfReference) || name;
|
|
2398
2381
|
}
|
|
2399
2382
|
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
2400
2383
|
/**
|
|
2401
2384
|
* @private
|
|
2402
2385
|
*/
|
|
2403
2386
|
function resolveDynamicComponent(component) {
|
|
2404
|
-
if (isString(component)) return resolveAsset(
|
|
2387
|
+
if (isString(component)) return resolveAsset("components", component, false) || component;
|
|
2405
2388
|
else return component || NULL_DYNAMIC_COMPONENT;
|
|
2406
2389
|
}
|
|
2407
2390
|
/**
|
|
@@ -2414,14 +2397,14 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
|
|
|
2414
2397
|
const instance = currentRenderingInstance || currentInstance;
|
|
2415
2398
|
if (instance) {
|
|
2416
2399
|
const Component = instance.type;
|
|
2417
|
-
if (type ===
|
|
2400
|
+
if (type === "components") {
|
|
2418
2401
|
const selfName = getComponentName(Component, false);
|
|
2419
2402
|
if (selfName && (selfName === name || selfName === camelize$1(name) || selfName === capitalize$1(camelize$1(name)))) return Component;
|
|
2420
2403
|
}
|
|
2421
2404
|
const res = resolve(instance[type] || Component[type], name) || resolve(instance.appContext[type], name);
|
|
2422
2405
|
if (!res && maybeSelfReference) return Component;
|
|
2423
2406
|
if (!!(process.env.NODE_ENV !== "production") && warnMissing && !res) {
|
|
2424
|
-
const extra = type ===
|
|
2407
|
+
const extra = type === "components" ? "\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement." : ``;
|
|
2425
2408
|
warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
|
|
2426
2409
|
}
|
|
2427
2410
|
return res;
|
|
@@ -2430,7 +2413,6 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
|
|
|
2430
2413
|
function resolve(registry, name) {
|
|
2431
2414
|
return registry && (registry[name] || registry[camelize$1(name)] || registry[capitalize$1(camelize$1(name))]);
|
|
2432
2415
|
}
|
|
2433
|
-
|
|
2434
2416
|
//#endregion
|
|
2435
2417
|
//#region packages/runtime-core/src/helpers/renderList.ts
|
|
2436
2418
|
/**
|
|
@@ -2451,11 +2433,14 @@ function renderList(source, renderItem, cache, index) {
|
|
|
2451
2433
|
}
|
|
2452
2434
|
ret = new Array(source.length);
|
|
2453
2435
|
for (let i = 0, l = source.length; i < l; i++) ret[i] = renderItem(needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i], i, void 0, cached && cached[i]);
|
|
2454
|
-
} else if (typeof source === "number") {
|
|
2455
|
-
|
|
2436
|
+
} else if (typeof source === "number") if (!!(process.env.NODE_ENV !== "production") && (!Number.isInteger(source) || source < 0)) {
|
|
2437
|
+
warn$1(`The v-for range expects a positive integer value but got ${source}.`);
|
|
2438
|
+
ret = [];
|
|
2439
|
+
} else {
|
|
2456
2440
|
ret = new Array(source);
|
|
2457
2441
|
for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
|
|
2458
|
-
}
|
|
2442
|
+
}
|
|
2443
|
+
else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
|
|
2459
2444
|
else {
|
|
2460
2445
|
const keys = Object.keys(source);
|
|
2461
2446
|
ret = new Array(keys.length);
|
|
@@ -2468,7 +2453,6 @@ function renderList(source, renderItem, cache, index) {
|
|
|
2468
2453
|
if (cache) cache[index] = ret;
|
|
2469
2454
|
return ret;
|
|
2470
2455
|
}
|
|
2471
|
-
|
|
2472
2456
|
//#endregion
|
|
2473
2457
|
//#region packages/runtime-core/src/helpers/createSlots.ts
|
|
2474
2458
|
/**
|
|
@@ -2487,7 +2471,6 @@ function createSlots(slots, dynamicSlots) {
|
|
|
2487
2471
|
}
|
|
2488
2472
|
return slots;
|
|
2489
2473
|
}
|
|
2490
|
-
|
|
2491
2474
|
//#endregion
|
|
2492
2475
|
//#region packages/runtime-core/src/helpers/renderSlot.ts
|
|
2493
2476
|
/**
|
|
@@ -2538,7 +2521,6 @@ function ensureVaporSlotFallback(vnodes, fallback) {
|
|
|
2538
2521
|
if (!vaporSlot.fallback && fallback) vaporSlot.fallback = fallback;
|
|
2539
2522
|
}
|
|
2540
2523
|
}
|
|
2541
|
-
|
|
2542
2524
|
//#endregion
|
|
2543
2525
|
//#region packages/runtime-core/src/helpers/toHandlers.ts
|
|
2544
2526
|
/**
|
|
@@ -2554,7 +2536,6 @@ function toHandlers(obj, preserveCaseIfNecessary) {
|
|
|
2554
2536
|
for (const key in obj) ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey$1(key)] = obj[key];
|
|
2555
2537
|
return ret;
|
|
2556
2538
|
}
|
|
2557
|
-
|
|
2558
2539
|
//#endregion
|
|
2559
2540
|
//#region packages/runtime-core/src/componentPublicInstance.ts
|
|
2560
2541
|
/**
|
|
@@ -2733,7 +2714,6 @@ function exposeSetupStateOnRenderContext(instance) {
|
|
|
2733
2714
|
}
|
|
2734
2715
|
});
|
|
2735
2716
|
}
|
|
2736
|
-
|
|
2737
2717
|
//#endregion
|
|
2738
2718
|
//#region packages/runtime-core/src/apiSetupHelpers.ts
|
|
2739
2719
|
const warnRuntimeUsage = (method) => warn$1(`${method}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);
|
|
@@ -2772,6 +2752,22 @@ function defineExpose(exposed) {
|
|
|
2772
2752
|
function defineOptions(options) {
|
|
2773
2753
|
if (!!(process.env.NODE_ENV !== "production")) warnRuntimeUsage(`defineOptions`);
|
|
2774
2754
|
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Vue `<script setup>` compiler macro for providing type hints to IDEs for
|
|
2757
|
+
* slot name and slot props type checking.
|
|
2758
|
+
*
|
|
2759
|
+
* Example usage:
|
|
2760
|
+
* ```ts
|
|
2761
|
+
* const slots = defineSlots<{
|
|
2762
|
+
* default(props: { msg: string }): any
|
|
2763
|
+
* }>()
|
|
2764
|
+
* ```
|
|
2765
|
+
*
|
|
2766
|
+
* This is only usable inside `<script setup>`, is compiled away in the
|
|
2767
|
+
* output and should **not** be actually called at runtime.
|
|
2768
|
+
*
|
|
2769
|
+
* @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
|
|
2770
|
+
*/
|
|
2775
2771
|
function defineSlots() {
|
|
2776
2772
|
if (!!(process.env.NODE_ENV !== "production")) warnRuntimeUsage(`defineSlots`);
|
|
2777
2773
|
return null;
|
|
@@ -2888,16 +2884,29 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
2888
2884
|
*/
|
|
2889
2885
|
function withAsyncContext(getAwaitable) {
|
|
2890
2886
|
const ctx = getCurrentGenericInstance();
|
|
2887
|
+
const inSSRSetup = isInSSRComponentSetup;
|
|
2891
2888
|
if (!!(process.env.NODE_ENV !== "production") && !ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
|
|
2892
2889
|
let awaitable = getAwaitable();
|
|
2893
2890
|
setCurrentInstance(null, void 0);
|
|
2894
|
-
if (
|
|
2891
|
+
if (inSSRSetup) setInSSRSetupState(false);
|
|
2892
|
+
const restore = () => {
|
|
2895
2893
|
setCurrentInstance(ctx);
|
|
2894
|
+
if (inSSRSetup) setInSSRSetupState(true);
|
|
2895
|
+
};
|
|
2896
|
+
const cleanup = () => {
|
|
2897
|
+
setCurrentInstance(null, void 0);
|
|
2898
|
+
if (inSSRSetup) setInSSRSetupState(false);
|
|
2899
|
+
};
|
|
2900
|
+
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
2901
|
+
restore();
|
|
2902
|
+
Promise.resolve().then(() => Promise.resolve().then(cleanup));
|
|
2896
2903
|
throw e;
|
|
2897
2904
|
});
|
|
2898
|
-
return [awaitable, () =>
|
|
2905
|
+
return [awaitable, () => {
|
|
2906
|
+
restore();
|
|
2907
|
+
Promise.resolve().then(cleanup);
|
|
2908
|
+
}];
|
|
2899
2909
|
}
|
|
2900
|
-
|
|
2901
2910
|
//#endregion
|
|
2902
2911
|
//#region packages/runtime-core/src/componentOptions.ts
|
|
2903
2912
|
function createDuplicateChecker() {
|
|
@@ -3144,7 +3153,6 @@ function mergeWatchOptions(to, from) {
|
|
|
3144
3153
|
for (const key in from) merged[key] = mergeAsArray(to[key], from[key]);
|
|
3145
3154
|
return merged;
|
|
3146
3155
|
}
|
|
3147
|
-
|
|
3148
3156
|
//#endregion
|
|
3149
3157
|
//#region packages/runtime-core/src/apiCreateApp.ts
|
|
3150
3158
|
function createAppContext() {
|
|
@@ -3282,7 +3290,6 @@ function createAppAPI(mount, unmount, getPublicInstance, render) {
|
|
|
3282
3290
|
* `app.runWithContext()`.
|
|
3283
3291
|
*/
|
|
3284
3292
|
let currentApp = null;
|
|
3285
|
-
|
|
3286
3293
|
//#endregion
|
|
3287
3294
|
//#region packages/runtime-core/src/helpers/useModel.ts
|
|
3288
3295
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
@@ -3355,7 +3362,6 @@ function useModel(props, name, options = EMPTY_OBJ) {
|
|
|
3355
3362
|
const getModelModifiers = (props, modelName, getter) => {
|
|
3356
3363
|
return getter(props, getModifierPropName(modelName)) || getter(props, `${camelize$1(modelName)}Modifiers`) || getter(props, `${hyphenate(modelName)}Modifiers`);
|
|
3357
3364
|
};
|
|
3358
|
-
|
|
3359
3365
|
//#endregion
|
|
3360
3366
|
//#region packages/runtime-core/src/componentEmits.ts
|
|
3361
3367
|
function emit(instance, event, ...rawArgs) {
|
|
@@ -3445,7 +3451,6 @@ function isEmitListener(options, key) {
|
|
|
3445
3451
|
key = key.slice(2).replace(/Once$/, "");
|
|
3446
3452
|
return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
|
|
3447
3453
|
}
|
|
3448
|
-
|
|
3449
3454
|
//#endregion
|
|
3450
3455
|
//#region packages/runtime-core/src/componentRenderUtils.ts
|
|
3451
3456
|
/**
|
|
@@ -3641,7 +3646,6 @@ function updateHOCHostEl({ vnode, parent }, el) {
|
|
|
3641
3646
|
} else break;
|
|
3642
3647
|
}
|
|
3643
3648
|
}
|
|
3644
|
-
|
|
3645
3649
|
//#endregion
|
|
3646
3650
|
//#region packages/runtime-core/src/internalObject.ts
|
|
3647
3651
|
/**
|
|
@@ -3653,7 +3657,6 @@ function updateHOCHostEl({ vnode, parent }, el) {
|
|
|
3653
3657
|
const internalObjectProto = {};
|
|
3654
3658
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
3655
3659
|
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
3656
|
-
|
|
3657
3660
|
//#endregion
|
|
3658
3661
|
//#region packages/runtime-core/src/componentProps.ts
|
|
3659
3662
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
@@ -3949,7 +3952,6 @@ function isExplicable(type) {
|
|
|
3949
3952
|
function isBoolean(...args) {
|
|
3950
3953
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
3951
3954
|
}
|
|
3952
|
-
|
|
3953
3955
|
//#endregion
|
|
3954
3956
|
//#region packages/runtime-core/src/componentSlots.ts
|
|
3955
3957
|
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
@@ -4018,7 +4020,6 @@ const updateSlots = (instance, children, optimized) => {
|
|
|
4018
4020
|
for (const key in slots) if (!isInternalKey(key) && deletionComparisonTarget[key] == null) delete slots[key];
|
|
4019
4021
|
}
|
|
4020
4022
|
};
|
|
4021
|
-
|
|
4022
4023
|
//#endregion
|
|
4023
4024
|
//#region packages/runtime-core/src/profiling.ts
|
|
4024
4025
|
let supported;
|
|
@@ -4057,7 +4058,6 @@ function isSupported() {
|
|
|
4057
4058
|
} else supported = false;
|
|
4058
4059
|
return supported;
|
|
4059
4060
|
}
|
|
4060
|
-
|
|
4061
4061
|
//#endregion
|
|
4062
4062
|
//#region packages/runtime-core/src/featureFlags.ts
|
|
4063
4063
|
let initialized = false;
|
|
@@ -4087,7 +4087,6 @@ function initFeatureFlags() {
|
|
|
4087
4087
|
}
|
|
4088
4088
|
initialized = true;
|
|
4089
4089
|
}
|
|
4090
|
-
|
|
4091
4090
|
//#endregion
|
|
4092
4091
|
//#region packages/runtime-core/src/renderer.ts
|
|
4093
4092
|
const MoveType = {
|
|
@@ -4153,7 +4152,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4153
4152
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
4154
4153
|
break;
|
|
4155
4154
|
case VaporSlot:
|
|
4156
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent);
|
|
4155
|
+
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense);
|
|
4157
4156
|
break;
|
|
4158
4157
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
4159
4158
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -4485,7 +4484,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4485
4484
|
if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
|
|
4486
4485
|
else hydrateSubTree();
|
|
4487
4486
|
} else {
|
|
4488
|
-
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
|
|
4487
|
+
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type, instance.parent ? instance.parent.type : void 0);
|
|
4489
4488
|
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `render`);
|
|
4490
4489
|
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
4491
4490
|
if (!!(process.env.NODE_ENV !== "production")) endMeasure(instance, `render`);
|
|
@@ -4999,12 +4998,11 @@ function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
|
4999
4998
|
if (instance) return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
5000
4999
|
return null;
|
|
5001
5000
|
}
|
|
5002
|
-
|
|
5003
5001
|
//#endregion
|
|
5004
5002
|
//#region packages/runtime-core/src/components/Suspense.ts
|
|
5005
5003
|
const isSuspense = (type) => type.__isSuspense;
|
|
5006
5004
|
let suspenseId = 0;
|
|
5007
|
-
const
|
|
5005
|
+
const Suspense = {
|
|
5008
5006
|
name: "Suspense",
|
|
5009
5007
|
__isSuspense: true,
|
|
5010
5008
|
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
@@ -5022,7 +5020,6 @@ const SuspenseImpl = {
|
|
|
5022
5020
|
hydrate: hydrateSuspense,
|
|
5023
5021
|
normalize: normalizeSuspenseChildren
|
|
5024
5022
|
};
|
|
5025
|
-
const Suspense = SuspenseImpl;
|
|
5026
5023
|
function triggerEvent(vnode, name) {
|
|
5027
5024
|
const eventListener = vnode.props && vnode.props[name];
|
|
5028
5025
|
if (isFunction(eventListener)) eventListener();
|
|
@@ -5285,7 +5282,6 @@ function isVNodeSuspensible(vnode) {
|
|
|
5285
5282
|
const suspensible = vnode.props && vnode.props.suspensible;
|
|
5286
5283
|
return suspensible != null && suspensible !== false;
|
|
5287
5284
|
}
|
|
5288
|
-
|
|
5289
5285
|
//#endregion
|
|
5290
5286
|
//#region packages/runtime-core/src/vnode.ts
|
|
5291
5287
|
const Fragment = Symbol.for("v-fgt");
|
|
@@ -5603,7 +5599,6 @@ function mergeProps(...args) {
|
|
|
5603
5599
|
function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
|
|
5604
5600
|
callWithAsyncErrorHandling(hook, instance, 7, [vnode, prevVNode]);
|
|
5605
5601
|
}
|
|
5606
|
-
|
|
5607
5602
|
//#endregion
|
|
5608
5603
|
//#region packages/runtime-core/src/componentCurrentInstance.ts
|
|
5609
5604
|
/**
|
|
@@ -5671,7 +5666,6 @@ const useInstanceOption = (key, silent = false) => {
|
|
|
5671
5666
|
value: instance[key]
|
|
5672
5667
|
};
|
|
5673
5668
|
};
|
|
5674
|
-
|
|
5675
5669
|
//#endregion
|
|
5676
5670
|
//#region packages/runtime-core/src/component.ts
|
|
5677
5671
|
const emptyAppContext = /* @__PURE__ */ createAppContext();
|
|
@@ -5986,13 +5980,11 @@ function formatComponentName(instance, Component, isRoot = false) {
|
|
|
5986
5980
|
function isClassComponent(value) {
|
|
5987
5981
|
return isFunction(value) && "__vccOpts" in value;
|
|
5988
5982
|
}
|
|
5989
|
-
|
|
5990
5983
|
//#endregion
|
|
5991
5984
|
//#region packages/runtime-core/src/apiComputed.ts
|
|
5992
5985
|
const computed = (getterOrOptions, debugOptions) => {
|
|
5993
5986
|
return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
5994
5987
|
};
|
|
5995
|
-
|
|
5996
5988
|
//#endregion
|
|
5997
5989
|
//#region packages/runtime-core/src/h.ts
|
|
5998
5990
|
function h(type, propsOrChildren, children) {
|
|
@@ -6012,7 +6004,6 @@ function h(type, propsOrChildren, children) {
|
|
|
6012
6004
|
setBlockTracking(1);
|
|
6013
6005
|
}
|
|
6014
6006
|
}
|
|
6015
|
-
|
|
6016
6007
|
//#endregion
|
|
6017
6008
|
//#region packages/runtime-core/src/customFormatter.ts
|
|
6018
6009
|
function initCustomFormatter() {
|
|
@@ -6177,7 +6168,6 @@ function initCustomFormatter() {
|
|
|
6177
6168
|
if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
|
|
6178
6169
|
else window.devtoolsFormatters = [formatter];
|
|
6179
6170
|
}
|
|
6180
|
-
|
|
6181
6171
|
//#endregion
|
|
6182
6172
|
//#region packages/runtime-core/src/helpers/withMemo.ts
|
|
6183
6173
|
function withMemo(memo, render, cache, index) {
|
|
@@ -6195,10 +6185,9 @@ function isMemoSame(cached, memo) {
|
|
|
6195
6185
|
if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
|
|
6196
6186
|
return true;
|
|
6197
6187
|
}
|
|
6198
|
-
|
|
6199
6188
|
//#endregion
|
|
6200
6189
|
//#region packages/runtime-core/src/index.ts
|
|
6201
|
-
const version = "3.6.0-beta.
|
|
6190
|
+
const version = "3.6.0-beta.8";
|
|
6202
6191
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
6203
6192
|
/**
|
|
6204
6193
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -6207,7 +6196,11 @@ const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
|
6207
6196
|
const ErrorTypeStrings = ErrorTypeStrings$1;
|
|
6208
6197
|
const devtools = (process.env.NODE_ENV, devtools$1);
|
|
6209
6198
|
const setDevtoolsHook = (process.env.NODE_ENV, setDevtoolsHook$1);
|
|
6210
|
-
|
|
6199
|
+
/**
|
|
6200
|
+
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
6201
|
+
* @internal
|
|
6202
|
+
*/
|
|
6203
|
+
const ssrUtils = {
|
|
6211
6204
|
createComponentInstance,
|
|
6212
6205
|
setupComponent,
|
|
6213
6206
|
renderComponentRoot,
|
|
@@ -6220,11 +6213,6 @@ const _ssrUtils = {
|
|
|
6220
6213
|
popWarningContext
|
|
6221
6214
|
};
|
|
6222
6215
|
/**
|
|
6223
|
-
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
6224
|
-
* @internal
|
|
6225
|
-
*/
|
|
6226
|
-
const ssrUtils = _ssrUtils;
|
|
6227
|
-
/**
|
|
6228
6216
|
* @internal only exposed in compat builds
|
|
6229
6217
|
*/
|
|
6230
6218
|
const resolveFilter = null;
|
|
@@ -6233,6 +6221,5 @@ const resolveFilter = null;
|
|
|
6233
6221
|
*/
|
|
6234
6222
|
const compatUtils = null;
|
|
6235
6223
|
const DeprecationTypes = null;
|
|
6236
|
-
|
|
6237
6224
|
//#endregion
|
|
6238
|
-
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, TriggerOpTypes, activate, assertNumber, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, defineAsyncComponent, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureVaporSlotFallback, expose, flushOnAppMount, getAttributeMismatch, getComponentName, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initFeatureFlags, inject, isAsyncWrapper, isEmitListener, isHydrating, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, normalizeClass, normalizeProps, normalizeRef, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionHooks, setBlockTracking, setCurrentInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, useAsyncComponentState, useAttrs, useId, useInstanceOption, useModel, useSSRContext, useSlots, useTemplateRef, useTransitionState, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withMemo, withScopeId };
|
|
6225
|
+
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, SchedulerJobFlags, Static, Suspense, Teleport, Text, TrackOpTypes, TriggerOpTypes, activate, assertNumber, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, defineAsyncComponent, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureVaporSlotFallback, expose, flushOnAppMount, getAttributeMismatch, getComponentName, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initFeatureFlags, inject, isAsyncWrapper, isEmitListener, isHydrating, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, normalizeClass, normalizeProps, normalizeRef, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionHooks, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, useAsyncComponentState, useAttrs, useId, useInstanceOption, useModel, useSSRContext, useSlots, useTemplateRef, useTransitionState, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withMemo, withScopeId };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.6.0-beta.
|
|
3
|
+
"version": "3.6.0-beta.8",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.6.0-beta.
|
|
50
|
-
"@vue/reactivity": "3.6.0-beta.
|
|
49
|
+
"@vue/shared": "3.6.0-beta.8",
|
|
50
|
+
"@vue/reactivity": "3.6.0-beta.8"
|
|
51
51
|
}
|
|
52
52
|
}
|