@vitejs/devtools 0.0.0-alpha.31 → 0.0.0-alpha.33
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/{DockIcon-BfVdt_M0.js → DockIcon-BxTh1m5v.js} +11 -14
- package/dist/{ViewBuiltinLogs-C8wFxIxg.js → ViewBuiltinLogs-BwyIDX5w.js} +3 -5
- package/dist/{ViewBuiltinTerminals-CrBOq_Ni.js → ViewBuiltinTerminals-yFL0jGW0.js} +5 -11
- package/dist/cli-commands-BRi5CDUR.js +94 -0
- package/dist/cli-commands.js +3 -67
- package/dist/cli.js +3 -5
- package/dist/client/inject.js +6 -9
- package/dist/client/standalone/assets/ViewBuiltinLogs-B6YocKEt.js +1 -0
- package/dist/client/standalone/assets/{ViewBuiltinTerminals-B9l9XmES.js → ViewBuiltinTerminals-BoJR1xWn.js} +2 -2
- package/dist/client/standalone/assets/_plugin-vue_export-helper-DCOpKI5t.js +1 -0
- package/dist/client/standalone/assets/index-7t5UlDkF.css +1 -0
- package/dist/client/standalone/assets/index-BmL7atlP.js +3 -0
- package/dist/client/standalone/index.html +3 -2
- package/dist/client/webcomponents.d.ts +4 -4
- package/dist/client/webcomponents.js +163 -80
- package/dist/config.js +1 -3
- package/dist/dirs.js +1 -3
- package/dist/{dist-BpFPAu5f.js → dist-C5wFunwn.js} +11 -50
- package/dist/{docks-CYaKLVhQ.js → docks-YFmtkjZj.js} +2 -6
- package/dist/{export-helper-DjM8b2QE.js → export-helper-C1Zyf6xf.js} +1 -2
- package/dist/index.js +2 -3
- package/dist/plugins-C3h3TsXX.js +1870 -0
- package/dist/{vue.runtime.esm-bundler-DL0i8o0W.js → vue.runtime.esm-bundler-DL9ItCI-.js} +141 -117
- package/package.json +16 -16
- package/dist/client/standalone/assets/ViewBuiltinLogs-CYvdMq-7.js +0 -1
- package/dist/client/standalone/assets/index-DWC0UjCz.js +0 -2
- package/dist/client/standalone/assets/index-DzhHPm4X.css +0 -1
- package/dist/plugins-BbzqUdpu.js +0 -3038
- package/dist/standalone-DVh1a9tu.js +0 -34
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/dist/shared.esm-bundler.js
|
|
2
2
|
/**
|
|
3
|
-
* @vue/shared v3.5.
|
|
3
|
+
* @vue/shared v3.5.29
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
5
|
* @license MIT
|
|
6
6
|
**/
|
|
@@ -26,6 +26,7 @@ const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
|
26
26
|
const isArray = Array.isArray;
|
|
27
27
|
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
28
28
|
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
29
|
+
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
29
30
|
const isFunction = (val) => typeof val === "function";
|
|
30
31
|
const isString = (val) => typeof val === "string";
|
|
31
32
|
const isSymbol = (val) => typeof val === "symbol";
|
|
@@ -128,10 +129,40 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
|
128
129
|
const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
|
|
129
130
|
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
130
131
|
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
131
|
-
|
|
132
|
+
specialBooleanAttrs + "";
|
|
132
133
|
function includeBooleanAttr(value) {
|
|
133
134
|
return !!value || value === "";
|
|
134
135
|
}
|
|
136
|
+
function looseCompareArrays(a, b) {
|
|
137
|
+
if (a.length !== b.length) return false;
|
|
138
|
+
let equal = true;
|
|
139
|
+
for (let i = 0; equal && i < a.length; i++) equal = looseEqual(a[i], b[i]);
|
|
140
|
+
return equal;
|
|
141
|
+
}
|
|
142
|
+
function looseEqual(a, b) {
|
|
143
|
+
if (a === b) return true;
|
|
144
|
+
let aValidType = isDate(a);
|
|
145
|
+
let bValidType = isDate(b);
|
|
146
|
+
if (aValidType || bValidType) return aValidType && bValidType ? a.getTime() === b.getTime() : false;
|
|
147
|
+
aValidType = isSymbol(a);
|
|
148
|
+
bValidType = isSymbol(b);
|
|
149
|
+
if (aValidType || bValidType) return a === b;
|
|
150
|
+
aValidType = isArray(a);
|
|
151
|
+
bValidType = isArray(b);
|
|
152
|
+
if (aValidType || bValidType) return aValidType && bValidType ? looseCompareArrays(a, b) : false;
|
|
153
|
+
aValidType = isObject(a);
|
|
154
|
+
bValidType = isObject(b);
|
|
155
|
+
if (aValidType || bValidType) {
|
|
156
|
+
if (!aValidType || !bValidType) return false;
|
|
157
|
+
if (Object.keys(a).length !== Object.keys(b).length) return false;
|
|
158
|
+
for (const key in a) {
|
|
159
|
+
const aHasKey = a.hasOwnProperty(key);
|
|
160
|
+
const bHasKey = b.hasOwnProperty(key);
|
|
161
|
+
if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) return false;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return String(a) === String(b);
|
|
165
|
+
}
|
|
135
166
|
const isRef$1 = (val) => {
|
|
136
167
|
return !!(val && val["__v_isRef"] === true);
|
|
137
168
|
};
|
|
@@ -153,11 +184,10 @@ const stringifySymbol = (v, i = "") => {
|
|
|
153
184
|
var _a;
|
|
154
185
|
return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
|
|
155
186
|
};
|
|
156
|
-
|
|
157
187
|
//#endregion
|
|
158
|
-
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
188
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
|
159
189
|
/**
|
|
160
|
-
* @vue/reactivity v3.5.
|
|
190
|
+
* @vue/reactivity v3.5.29
|
|
161
191
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
162
192
|
* @license MIT
|
|
163
193
|
**/
|
|
@@ -185,6 +215,7 @@ var EffectScope = class {
|
|
|
185
215
|
*/
|
|
186
216
|
this.cleanups = [];
|
|
187
217
|
this._isPaused = false;
|
|
218
|
+
this.__v_skip = true;
|
|
188
219
|
this.parent = activeEffectScope;
|
|
189
220
|
if (!detached && activeEffectScope) this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
|
|
190
221
|
}
|
|
@@ -1580,11 +1611,10 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
1580
1611
|
}
|
|
1581
1612
|
return value;
|
|
1582
1613
|
}
|
|
1583
|
-
|
|
1584
1614
|
//#endregion
|
|
1585
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
1615
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
|
1586
1616
|
/**
|
|
1587
|
-
* @vue/runtime-core v3.5.
|
|
1617
|
+
* @vue/runtime-core v3.5.29
|
|
1588
1618
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1589
1619
|
* @license MIT
|
|
1590
1620
|
**/
|
|
@@ -1670,8 +1700,8 @@ function formatProp(key, value, raw) {
|
|
|
1670
1700
|
value = JSON.stringify(value);
|
|
1671
1701
|
return raw ? value : [`${key}=${value}`];
|
|
1672
1702
|
} else if (typeof value === "number" || typeof value === "boolean" || value == null) return raw ? value : [`${key}=${value}`];
|
|
1673
|
-
else if (isRef(value)) {
|
|
1674
|
-
value = formatProp(key, toRaw(value.value), true);
|
|
1703
|
+
else if (/* @__PURE__ */ isRef(value)) {
|
|
1704
|
+
value = formatProp(key, /* @__PURE__ */ toRaw(value.value), true);
|
|
1675
1705
|
return raw ? value : [
|
|
1676
1706
|
`${key}=Ref<`,
|
|
1677
1707
|
value,
|
|
@@ -1679,7 +1709,7 @@ function formatProp(key, value, raw) {
|
|
|
1679
1709
|
];
|
|
1680
1710
|
} else if (isFunction(value)) return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];
|
|
1681
1711
|
else {
|
|
1682
|
-
value = toRaw(value);
|
|
1712
|
+
value = /* @__PURE__ */ toRaw(value);
|
|
1683
1713
|
return raw ? value : [`${key}=`, value];
|
|
1684
1714
|
}
|
|
1685
1715
|
}
|
|
@@ -2283,21 +2313,24 @@ function markAsyncBoundary(instance) {
|
|
|
2283
2313
|
const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
|
|
2284
2314
|
function useTemplateRef(key) {
|
|
2285
2315
|
const i = getCurrentInstance();
|
|
2286
|
-
const r = shallowRef(null);
|
|
2316
|
+
const r = /* @__PURE__ */ shallowRef(null);
|
|
2287
2317
|
if (i) {
|
|
2288
2318
|
const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
|
|
2289
|
-
|
|
2290
|
-
if (!!(process.env.NODE_ENV !== "production") && (desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) warn$1(`useTemplateRef('${key}') already exists.`);
|
|
2319
|
+
if (!!(process.env.NODE_ENV !== "production") && isTemplateRefKey(refs, key)) warn$1(`useTemplateRef('${key}') already exists.`);
|
|
2291
2320
|
else Object.defineProperty(refs, key, {
|
|
2292
2321
|
enumerable: true,
|
|
2293
2322
|
get: () => r.value,
|
|
2294
2323
|
set: (val) => r.value = val
|
|
2295
2324
|
});
|
|
2296
2325
|
} else if (!!(process.env.NODE_ENV !== "production")) warn$1(`useTemplateRef() is called when there is no active component instance to be associated with.`);
|
|
2297
|
-
const ret = !!(process.env.NODE_ENV !== "production") ? readonly(r) : r;
|
|
2326
|
+
const ret = !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ readonly(r) : r;
|
|
2298
2327
|
if (!!(process.env.NODE_ENV !== "production")) knownTemplateRefs.add(ret);
|
|
2299
2328
|
return ret;
|
|
2300
2329
|
}
|
|
2330
|
+
function isTemplateRefKey(refs, key) {
|
|
2331
|
+
let desc;
|
|
2332
|
+
return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
|
|
2333
|
+
}
|
|
2301
2334
|
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
2302
2335
|
function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
2303
2336
|
if (isArray(rawRef)) {
|
|
@@ -2318,32 +2351,35 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2318
2351
|
const oldRef = oldRawRef && oldRawRef.r;
|
|
2319
2352
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
|
2320
2353
|
const setupState = owner.setupState;
|
|
2321
|
-
const rawSetupState = toRaw(setupState);
|
|
2354
|
+
const rawSetupState = /* @__PURE__ */ toRaw(setupState);
|
|
2322
2355
|
const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {
|
|
2323
2356
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
2324
|
-
if (hasOwn(rawSetupState, key) &&
|
|
2357
|
+
if (hasOwn(rawSetupState, key) && !/* @__PURE__ */ isRef(rawSetupState[key])) warn$1(`Template ref "${key}" used on a non-ref value. It will not work in the production build.`);
|
|
2325
2358
|
if (knownTemplateRefs.has(rawSetupState[key])) return false;
|
|
2326
2359
|
}
|
|
2360
|
+
if (isTemplateRefKey(refs, key)) return false;
|
|
2327
2361
|
return hasOwn(rawSetupState, key);
|
|
2328
2362
|
};
|
|
2329
|
-
const canSetRef = (ref2) => {
|
|
2330
|
-
|
|
2363
|
+
const canSetRef = (ref2, key) => {
|
|
2364
|
+
if (!!(process.env.NODE_ENV !== "production") && knownTemplateRefs.has(ref2)) return false;
|
|
2365
|
+
if (key && isTemplateRefKey(refs, key)) return false;
|
|
2366
|
+
return true;
|
|
2331
2367
|
};
|
|
2332
2368
|
if (oldRef != null && oldRef !== ref) {
|
|
2333
2369
|
invalidatePendingSetRef(oldRawRef);
|
|
2334
2370
|
if (isString(oldRef)) {
|
|
2335
2371
|
refs[oldRef] = null;
|
|
2336
2372
|
if (canSetSetupRef(oldRef)) setupState[oldRef] = null;
|
|
2337
|
-
} else if (isRef(oldRef)) {
|
|
2338
|
-
if (canSetRef(oldRef)) oldRef.value = null;
|
|
2373
|
+
} else if (/* @__PURE__ */ isRef(oldRef)) {
|
|
2339
2374
|
const oldRawRefAtom = oldRawRef;
|
|
2375
|
+
if (canSetRef(oldRef, oldRawRefAtom.k)) oldRef.value = null;
|
|
2340
2376
|
if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
|
|
2341
2377
|
}
|
|
2342
2378
|
}
|
|
2343
2379
|
if (isFunction(ref)) callWithErrorHandling(ref, owner, 12, [value, refs]);
|
|
2344
2380
|
else {
|
|
2345
2381
|
const _isString = isString(ref);
|
|
2346
|
-
const _isRef = isRef(ref);
|
|
2382
|
+
const _isRef = /* @__PURE__ */ isRef(ref);
|
|
2347
2383
|
if (_isString || _isRef) {
|
|
2348
2384
|
const doSet = () => {
|
|
2349
2385
|
if (rawRef.f) {
|
|
@@ -2354,7 +2390,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2354
2390
|
if (canSetSetupRef(ref)) setupState[ref] = refs[ref];
|
|
2355
2391
|
} else {
|
|
2356
2392
|
const newVal = [refValue];
|
|
2357
|
-
if (canSetRef(ref)) ref.value = newVal;
|
|
2393
|
+
if (canSetRef(ref, rawRef.k)) ref.value = newVal;
|
|
2358
2394
|
if (rawRef.k) refs[rawRef.k] = newVal;
|
|
2359
2395
|
}
|
|
2360
2396
|
else if (!existing.includes(refValue)) existing.push(refValue);
|
|
@@ -2362,7 +2398,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2362
2398
|
refs[ref] = value;
|
|
2363
2399
|
if (canSetSetupRef(ref)) setupState[ref] = value;
|
|
2364
2400
|
} else if (_isRef) {
|
|
2365
|
-
if (canSetRef(ref)) ref.value = value;
|
|
2401
|
+
if (canSetRef(ref, rawRef.k)) ref.value = value;
|
|
2366
2402
|
if (rawRef.k) refs[rawRef.k] = value;
|
|
2367
2403
|
} else if (!!(process.env.NODE_ENV !== "production")) warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
2368
2404
|
};
|
|
@@ -2389,8 +2425,8 @@ function invalidatePendingSetRef(rawRef) {
|
|
|
2389
2425
|
}
|
|
2390
2426
|
}
|
|
2391
2427
|
const isComment = (node) => node.nodeType === 8;
|
|
2392
|
-
|
|
2393
|
-
|
|
2428
|
+
getGlobalThis().requestIdleCallback;
|
|
2429
|
+
getGlobalThis().cancelIdleCallback;
|
|
2394
2430
|
function forEachElement(node, cb) {
|
|
2395
2431
|
if (isComment(node) && node.data === "[") {
|
|
2396
2432
|
let depth = 1;
|
|
@@ -2476,9 +2512,9 @@ function defineAsyncComponent(source) {
|
|
|
2476
2512
|
onError(err);
|
|
2477
2513
|
return () => errorComponent ? createVNode(errorComponent, { error: err }) : null;
|
|
2478
2514
|
});
|
|
2479
|
-
const loaded = ref(false);
|
|
2480
|
-
const error = ref();
|
|
2481
|
-
const delayed = ref(!!delay);
|
|
2515
|
+
const loaded = /* @__PURE__ */ ref(false);
|
|
2516
|
+
const error = /* @__PURE__ */ ref();
|
|
2517
|
+
const delayed = /* @__PURE__ */ ref(!!delay);
|
|
2482
2518
|
if (delay) setTimeout(() => {
|
|
2483
2519
|
delayed.value = false;
|
|
2484
2520
|
}, delay);
|
|
@@ -2580,12 +2616,12 @@ function renderList(source, renderItem, cache, index) {
|
|
|
2580
2616
|
const cached = cache && cache[index];
|
|
2581
2617
|
const sourceIsArray = isArray(source);
|
|
2582
2618
|
if (sourceIsArray || isString(source)) {
|
|
2583
|
-
const sourceIsReactiveArray = sourceIsArray && isReactive(source);
|
|
2619
|
+
const sourceIsReactiveArray = sourceIsArray && /* @__PURE__ */ isReactive(source);
|
|
2584
2620
|
let needsWrap = false;
|
|
2585
2621
|
let isReadonlySource = false;
|
|
2586
2622
|
if (sourceIsReactiveArray) {
|
|
2587
|
-
needsWrap =
|
|
2588
|
-
isReadonlySource = isReadonly(source);
|
|
2623
|
+
needsWrap = !/* @__PURE__ */ isShallow(source);
|
|
2624
|
+
isReadonlySource = /* @__PURE__ */ isReadonly(source);
|
|
2589
2625
|
source = shallowReadArray(source);
|
|
2590
2626
|
}
|
|
2591
2627
|
ret = new Array(source.length);
|
|
@@ -2644,10 +2680,10 @@ const publicPropertiesMap = /* @__PURE__ */ extend(/* @__PURE__ */ Object.create
|
|
|
2644
2680
|
$: (i) => i,
|
|
2645
2681
|
$el: (i) => i.vnode.el,
|
|
2646
2682
|
$data: (i) => i.data,
|
|
2647
|
-
$props: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.props) : i.props,
|
|
2648
|
-
$attrs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.attrs) : i.attrs,
|
|
2649
|
-
$slots: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots,
|
|
2650
|
-
$refs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.refs) : i.refs,
|
|
2683
|
+
$props: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.props) : i.props,
|
|
2684
|
+
$attrs: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.attrs) : i.attrs,
|
|
2685
|
+
$slots: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.slots) : i.slots,
|
|
2686
|
+
$refs: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.refs) : i.refs,
|
|
2651
2687
|
$parent: (i) => getPublicInstance(i.parent),
|
|
2652
2688
|
$root: (i) => getPublicInstance(i.root),
|
|
2653
2689
|
$host: (i) => i.ce,
|
|
@@ -2776,7 +2812,7 @@ function exposePropsOnRenderContext(instance) {
|
|
|
2776
2812
|
}
|
|
2777
2813
|
function exposeSetupStateOnRenderContext(instance) {
|
|
2778
2814
|
const { ctx, setupState } = instance;
|
|
2779
|
-
Object.keys(toRaw(setupState)).forEach((key) => {
|
|
2815
|
+
Object.keys(/* @__PURE__ */ toRaw(setupState)).forEach((key) => {
|
|
2780
2816
|
if (!setupState.__isScriptSetup) {
|
|
2781
2817
|
if (isReservedPrefix(key[0])) {
|
|
2782
2818
|
warn$1(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);
|
|
@@ -2834,7 +2870,7 @@ function applyOptions(instance) {
|
|
|
2834
2870
|
if (!!(process.env.NODE_ENV !== "production") && isPromise(data)) warn$1(`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`);
|
|
2835
2871
|
if (!isObject(data)) process.env.NODE_ENV !== "production" && warn$1(`data() should return an object.`);
|
|
2836
2872
|
else {
|
|
2837
|
-
instance.data = reactive(data);
|
|
2873
|
+
instance.data = /* @__PURE__ */ reactive(data);
|
|
2838
2874
|
if (!!(process.env.NODE_ENV !== "production")) for (const key in data) {
|
|
2839
2875
|
checkDuplicateProperties("Data", key);
|
|
2840
2876
|
if (!isReservedPrefix(key[0])) Object.defineProperty(ctx, key, {
|
|
@@ -2915,7 +2951,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
|
|
|
2915
2951
|
if (isObject(opt)) if ("default" in opt) injected = inject(opt.from || key, opt.default, true);
|
|
2916
2952
|
else injected = inject(opt.from || key);
|
|
2917
2953
|
else injected = inject(opt);
|
|
2918
|
-
if (isRef(injected)) Object.defineProperty(ctx, key, {
|
|
2954
|
+
if (/* @__PURE__ */ isRef(injected)) Object.defineProperty(ctx, key, {
|
|
2919
2955
|
enumerable: true,
|
|
2920
2956
|
configurable: true,
|
|
2921
2957
|
get: () => injected.value,
|
|
@@ -3265,15 +3301,15 @@ function renderComponentRoot(instance) {
|
|
|
3265
3301
|
warn$1(`Property '${String(key)}' was accessed via 'this'. Avoid using 'this' in templates.`);
|
|
3266
3302
|
return Reflect.get(target, key, receiver);
|
|
3267
3303
|
} }) : proxyToUse;
|
|
3268
|
-
result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, !!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, setupState, data, ctx));
|
|
3304
|
+
result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, setupState, data, ctx));
|
|
3269
3305
|
fallthroughAttrs = attrs;
|
|
3270
3306
|
} else {
|
|
3271
3307
|
const render2 = Component;
|
|
3272
3308
|
if (!!(process.env.NODE_ENV !== "production") && attrs === props) markAttrsAccessed();
|
|
3273
|
-
result = normalizeVNode(render2.length > 1 ? render2(!!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, !!(process.env.NODE_ENV !== "production") ? {
|
|
3309
|
+
result = normalizeVNode(render2.length > 1 ? render2(!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, !!(process.env.NODE_ENV !== "production") ? {
|
|
3274
3310
|
get attrs() {
|
|
3275
3311
|
markAttrsAccessed();
|
|
3276
|
-
return shallowReadonly(attrs);
|
|
3312
|
+
return /* @__PURE__ */ shallowReadonly(attrs);
|
|
3277
3313
|
},
|
|
3278
3314
|
slots,
|
|
3279
3315
|
emit
|
|
@@ -3281,7 +3317,7 @@ function renderComponentRoot(instance) {
|
|
|
3281
3317
|
attrs,
|
|
3282
3318
|
slots,
|
|
3283
3319
|
emit
|
|
3284
|
-
}) : render2(!!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, null));
|
|
3320
|
+
}) : render2(!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, null));
|
|
3285
3321
|
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
3286
3322
|
}
|
|
3287
3323
|
} catch (err) {
|
|
@@ -3387,7 +3423,7 @@ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
|
|
|
3387
3423
|
const dynamicProps = nextVNode.dynamicProps;
|
|
3388
3424
|
for (let i = 0; i < dynamicProps.length; i++) {
|
|
3389
3425
|
const key = dynamicProps[i];
|
|
3390
|
-
if (nextProps
|
|
3426
|
+
if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emits, key)) return true;
|
|
3391
3427
|
}
|
|
3392
3428
|
}
|
|
3393
3429
|
} else {
|
|
@@ -3406,10 +3442,16 @@ function hasPropsChanged(prevProps, nextProps, emitsOptions) {
|
|
|
3406
3442
|
if (nextKeys.length !== Object.keys(prevProps).length) return true;
|
|
3407
3443
|
for (let i = 0; i < nextKeys.length; i++) {
|
|
3408
3444
|
const key = nextKeys[i];
|
|
3409
|
-
if (nextProps
|
|
3445
|
+
if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emitsOptions, key)) return true;
|
|
3410
3446
|
}
|
|
3411
3447
|
return false;
|
|
3412
3448
|
}
|
|
3449
|
+
function hasPropValueChanged(nextProps, prevProps, key) {
|
|
3450
|
+
const nextProp = nextProps[key];
|
|
3451
|
+
const prevProp = prevProps[key];
|
|
3452
|
+
if (key === "style" && isObject(nextProp) && isObject(prevProp)) return !looseEqual(nextProp, prevProp);
|
|
3453
|
+
return nextProp !== prevProp;
|
|
3454
|
+
}
|
|
3413
3455
|
function updateHOCHostEl({ vnode, parent }, el) {
|
|
3414
3456
|
while (parent) {
|
|
3415
3457
|
const root = parent.subTree;
|
|
@@ -3430,7 +3472,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
|
3430
3472
|
setFullProps(instance, rawProps, props, attrs);
|
|
3431
3473
|
for (const key in instance.propsOptions[0]) if (!(key in props)) props[key] = void 0;
|
|
3432
3474
|
if (!!(process.env.NODE_ENV !== "production")) validateProps(rawProps || {}, props, instance);
|
|
3433
|
-
if (isStateful) instance.props = isSSR ? props : shallowReactive(props);
|
|
3475
|
+
if (isStateful) instance.props = isSSR ? props : /* @__PURE__ */ shallowReactive(props);
|
|
3434
3476
|
else if (!instance.type.props) instance.props = attrs;
|
|
3435
3477
|
else instance.props = props;
|
|
3436
3478
|
instance.attrs = attrs;
|
|
@@ -3443,7 +3485,7 @@ function isInHmrContext(instance) {
|
|
|
3443
3485
|
}
|
|
3444
3486
|
function updateProps(instance, rawProps, rawPrevProps, optimized) {
|
|
3445
3487
|
const { props, attrs, vnode: { patchFlag } } = instance;
|
|
3446
|
-
const rawCurrentProps = toRaw(props);
|
|
3488
|
+
const rawCurrentProps = /* @__PURE__ */ toRaw(props);
|
|
3447
3489
|
const [options] = instance.propsOptions;
|
|
3448
3490
|
let hasAttrsChanged = false;
|
|
3449
3491
|
if (!(!!(process.env.NODE_ENV !== "production") && isInHmrContext(instance)) && (optimized || patchFlag > 0) && !(patchFlag & 16)) {
|
|
@@ -3502,7 +3544,7 @@ function setFullProps(instance, rawProps, props, attrs) {
|
|
|
3502
3544
|
}
|
|
3503
3545
|
}
|
|
3504
3546
|
if (needCastKeys) {
|
|
3505
|
-
const rawCurrentProps = toRaw(props);
|
|
3547
|
+
const rawCurrentProps = /* @__PURE__ */ toRaw(props);
|
|
3506
3548
|
const castValues = rawCastValues || EMPTY_OBJ;
|
|
3507
3549
|
for (let i = 0; i < needCastKeys.length; i++) {
|
|
3508
3550
|
const key = needCastKeys[i];
|
|
@@ -3605,13 +3647,13 @@ function getType(ctor) {
|
|
|
3605
3647
|
return "";
|
|
3606
3648
|
}
|
|
3607
3649
|
function validateProps(rawProps, props, instance) {
|
|
3608
|
-
const resolvedValues = toRaw(props);
|
|
3650
|
+
const resolvedValues = /* @__PURE__ */ toRaw(props);
|
|
3609
3651
|
const options = instance.propsOptions[0];
|
|
3610
3652
|
const camelizePropsKey = Object.keys(rawProps).map((key) => camelize(key));
|
|
3611
3653
|
for (const key in options) {
|
|
3612
3654
|
let opt = options[key];
|
|
3613
3655
|
if (opt == null) continue;
|
|
3614
|
-
validateProp(key, resolvedValues[key], opt, !!(process.env.NODE_ENV !== "production") ? shallowReadonly(resolvedValues) : resolvedValues, !camelizePropsKey.includes(key));
|
|
3656
|
+
validateProp(key, resolvedValues[key], opt, !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(resolvedValues) : resolvedValues, !camelizePropsKey.includes(key));
|
|
3615
3657
|
}
|
|
3616
3658
|
}
|
|
3617
3659
|
function validateProp(name, value, prop, props, isAbsent) {
|
|
@@ -3844,13 +3886,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3844
3886
|
if (n1 == null) hostInsert(n2.el = hostCreateText(n2.children), container, anchor);
|
|
3845
3887
|
else {
|
|
3846
3888
|
const el = n2.el = n1.el;
|
|
3847
|
-
if (n2.children !== n1.children)
|
|
3848
|
-
const childNodes = container.childNodes;
|
|
3849
|
-
const newChild = hostCreateText(n2.children);
|
|
3850
|
-
const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
|
|
3851
|
-
hostInsert(newChild, container, oldChild);
|
|
3852
|
-
hostRemove(oldChild);
|
|
3853
|
-
} else hostSetText(el, n2.children);
|
|
3889
|
+
if (n2.children !== n1.children) hostSetText(el, n2.children);
|
|
3854
3890
|
}
|
|
3855
3891
|
};
|
|
3856
3892
|
const processCommentNode = (n1, n2, container, anchor) => {
|
|
@@ -3893,7 +3929,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3893
3929
|
else if (n2.type === "math") namespace = "mathml";
|
|
3894
3930
|
if (n1 == null) mountElement(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
3895
3931
|
else {
|
|
3896
|
-
const customElement =
|
|
3932
|
+
const customElement = n1.el && n1.el._isVueCE ? n1.el : null;
|
|
3897
3933
|
try {
|
|
3898
3934
|
if (customElement) customElement._beginPatch();
|
|
3899
3935
|
patchElement(n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -4104,7 +4140,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4104
4140
|
if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
|
|
4105
4141
|
else hydrateSubTree();
|
|
4106
4142
|
} else {
|
|
4107
|
-
if (root.ce && root.ce.
|
|
4143
|
+
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
|
|
4108
4144
|
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `render`);
|
|
4109
4145
|
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
4110
4146
|
if (!!(process.env.NODE_ENV !== "production")) endMeasure(instance, `render`);
|
|
@@ -4132,7 +4168,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4132
4168
|
updateComponentPreRender(instance, next, optimized);
|
|
4133
4169
|
}
|
|
4134
4170
|
nonHydratedAsyncRoot.asyncDep.then(() => {
|
|
4135
|
-
|
|
4171
|
+
queuePostRenderEffect(() => {
|
|
4172
|
+
if (!instance.isUnmounted) update();
|
|
4173
|
+
}, parentSuspense);
|
|
4136
4174
|
});
|
|
4137
4175
|
return;
|
|
4138
4176
|
}
|
|
@@ -4520,8 +4558,10 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
4520
4558
|
}
|
|
4521
4559
|
if (!shallow && c2.patchFlag !== -2) traverseStaticChildren(c1, c2);
|
|
4522
4560
|
}
|
|
4523
|
-
if (c2.type === Text)
|
|
4524
|
-
|
|
4561
|
+
if (c2.type === Text) {
|
|
4562
|
+
if (c2.patchFlag === -1) c2 = ch2[i] = cloneIfMounted(c2);
|
|
4563
|
+
c2.el = c1.el;
|
|
4564
|
+
}
|
|
4525
4565
|
if (c2.type === Comment && !c2.el) c2.el = c1.el;
|
|
4526
4566
|
if (!!(process.env.NODE_ENV !== "production")) c2.el && (c2.el.__vnode = c2);
|
|
4527
4567
|
}
|
|
@@ -4911,14 +4951,13 @@ function isSameVNodeType(n1, n2) {
|
|
|
4911
4951
|
}
|
|
4912
4952
|
return n1.type === n2.type && n1.key === n2.key;
|
|
4913
4953
|
}
|
|
4914
|
-
let vnodeArgsTransformer;
|
|
4915
4954
|
const createVNodeWithArgsTransform = (...args) => {
|
|
4916
|
-
return _createVNode(...
|
|
4955
|
+
return _createVNode(...args);
|
|
4917
4956
|
};
|
|
4918
4957
|
const normalizeKey = ({ key }) => key != null ? key : null;
|
|
4919
4958
|
const normalizeRef = ({ ref, ref_key, ref_for }) => {
|
|
4920
4959
|
if (typeof ref === "number") ref = "" + ref;
|
|
4921
|
-
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? {
|
|
4960
|
+
return ref != null ? isString(ref) || /* @__PURE__ */ isRef(ref) || isFunction(ref) ? {
|
|
4922
4961
|
i: currentRenderingInstance,
|
|
4923
4962
|
r: ref,
|
|
4924
4963
|
k: ref_key,
|
|
@@ -4983,13 +5022,13 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
|
|
|
4983
5022
|
let { class: klass, style } = props;
|
|
4984
5023
|
if (klass && !isString(klass)) props.class = normalizeClass(klass);
|
|
4985
5024
|
if (isObject(style)) {
|
|
4986
|
-
if (isProxy(style) && !isArray(style)) style = extend({}, style);
|
|
5025
|
+
if (/* @__PURE__ */ isProxy(style) && !isArray(style)) style = extend({}, style);
|
|
4987
5026
|
props.style = normalizeStyle(style);
|
|
4988
5027
|
}
|
|
4989
5028
|
}
|
|
4990
5029
|
const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
|
|
4991
|
-
if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && isProxy(type)) {
|
|
4992
|
-
type = toRaw(type);
|
|
5030
|
+
if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && /* @__PURE__ */ isProxy(type)) {
|
|
5031
|
+
type = /* @__PURE__ */ toRaw(type);
|
|
4993
5032
|
warn$1(`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`, `
|
|
4994
5033
|
Component that was made reactive: `, type);
|
|
4995
5034
|
}
|
|
@@ -4997,7 +5036,7 @@ Component that was made reactive: `, type);
|
|
|
4997
5036
|
}
|
|
4998
5037
|
function guardReactiveProps(props) {
|
|
4999
5038
|
if (!props) return null;
|
|
5000
|
-
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
5039
|
+
return /* @__PURE__ */ isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
5001
5040
|
}
|
|
5002
5041
|
function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
|
|
5003
5042
|
const { props, ref, patchFlag, children, transition } = vnode;
|
|
@@ -5265,7 +5304,7 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
5265
5304
|
pauseTracking();
|
|
5266
5305
|
const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
|
|
5267
5306
|
const reset = setCurrentInstance(instance);
|
|
5268
|
-
const setupResult = callWithErrorHandling(setup, instance, 0, [!!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props, setupContext]);
|
|
5307
|
+
const setupResult = callWithErrorHandling(setup, instance, 0, [!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(instance.props) : instance.props, setupContext]);
|
|
5269
5308
|
const isAsyncSetup = isPromise(setupResult);
|
|
5270
5309
|
resetTracking();
|
|
5271
5310
|
reset();
|
|
@@ -5295,29 +5334,10 @@ function handleSetupResult(instance, setupResult, isSSR) {
|
|
|
5295
5334
|
} else if (!!(process.env.NODE_ENV !== "production") && setupResult !== void 0) warn$1(`setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`);
|
|
5296
5335
|
finishComponentSetup(instance, isSSR);
|
|
5297
5336
|
}
|
|
5298
|
-
|
|
5299
|
-
let installWithProxy;
|
|
5300
|
-
const isRuntimeOnly = () => !compile;
|
|
5337
|
+
const isRuntimeOnly = () => true;
|
|
5301
5338
|
function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
5302
5339
|
const Component = instance.type;
|
|
5303
|
-
if (!instance.render)
|
|
5304
|
-
if (!isSSR && compile && !Component.render) {
|
|
5305
|
-
const template = Component.template || __VUE_OPTIONS_API__ && resolveMergedOptions(instance).template;
|
|
5306
|
-
if (template) {
|
|
5307
|
-
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `compile`);
|
|
5308
|
-
const { isCustomElement, compilerOptions } = instance.appContext.config;
|
|
5309
|
-
const { delimiters, compilerOptions: componentCompilerOptions } = Component;
|
|
5310
|
-
const finalCompilerOptions = extend(extend({
|
|
5311
|
-
isCustomElement,
|
|
5312
|
-
delimiters
|
|
5313
|
-
}, compilerOptions), componentCompilerOptions);
|
|
5314
|
-
Component.render = compile(template, finalCompilerOptions);
|
|
5315
|
-
if (!!(process.env.NODE_ENV !== "production")) endMeasure(instance, `compile`);
|
|
5316
|
-
}
|
|
5317
|
-
}
|
|
5318
|
-
instance.render = Component.render || NOOP;
|
|
5319
|
-
if (installWithProxy) installWithProxy(instance);
|
|
5320
|
-
}
|
|
5340
|
+
if (!instance.render) instance.render = Component.render || NOOP;
|
|
5321
5341
|
if (__VUE_OPTIONS_API__ && true) {
|
|
5322
5342
|
const reset = setCurrentInstance(instance);
|
|
5323
5343
|
pauseTracking();
|
|
@@ -5328,7 +5348,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
|
5328
5348
|
reset();
|
|
5329
5349
|
}
|
|
5330
5350
|
}
|
|
5331
|
-
if (!!(process.env.NODE_ENV !== "production") && !Component.render && instance.render === NOOP && !isSSR) if (
|
|
5351
|
+
if (!!(process.env.NODE_ENV !== "production") && !Component.render && instance.render === NOOP && !isSSR) if (Component.template) warn$1("Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".");
|
|
5332
5352
|
else warn$1(`Component is missing template or render function: `, Component);
|
|
5333
5353
|
}
|
|
5334
5354
|
const attrsProxyHandlers = !!(process.env.NODE_ENV !== "production") ? {
|
|
@@ -5363,7 +5383,7 @@ function createSetupContext(instance) {
|
|
|
5363
5383
|
let exposedType = typeof exposed;
|
|
5364
5384
|
if (exposedType === "object") {
|
|
5365
5385
|
if (isArray(exposed)) exposedType = "array";
|
|
5366
|
-
else if (isRef(exposed)) exposedType = "ref";
|
|
5386
|
+
else if (/* @__PURE__ */ isRef(exposed)) exposedType = "ref";
|
|
5367
5387
|
}
|
|
5368
5388
|
if (exposedType !== "object") warn$1(`expose() should be passed a plain object, received ${exposedType}.`);
|
|
5369
5389
|
}
|
|
@@ -5427,7 +5447,7 @@ function isClassComponent(value) {
|
|
|
5427
5447
|
return isFunction(value) && "__vccOpts" in value;
|
|
5428
5448
|
}
|
|
5429
5449
|
const computed = (getterOrOptions, debugOptions) => {
|
|
5430
|
-
const c = computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
5450
|
+
const c = /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
5431
5451
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
5432
5452
|
const i = getCurrentInstance();
|
|
5433
5453
|
if (i && i.appContext.config.warnRecursiveComputed) c._warnRecursive = true;
|
|
@@ -5466,7 +5486,7 @@ function initCustomFormatter() {
|
|
|
5466
5486
|
vueStyle,
|
|
5467
5487
|
`VueInstance`
|
|
5468
5488
|
];
|
|
5469
|
-
else if (isRef(obj)) {
|
|
5489
|
+
else if (/* @__PURE__ */ isRef(obj)) {
|
|
5470
5490
|
pauseTracking();
|
|
5471
5491
|
const value = obj.value;
|
|
5472
5492
|
resetTracking();
|
|
@@ -5482,25 +5502,25 @@ function initCustomFormatter() {
|
|
|
5482
5502
|
formatValue(value),
|
|
5483
5503
|
`>`
|
|
5484
5504
|
];
|
|
5485
|
-
} else if (isReactive(obj)) return [
|
|
5505
|
+
} else if (/* @__PURE__ */ isReactive(obj)) return [
|
|
5486
5506
|
"div",
|
|
5487
5507
|
{},
|
|
5488
5508
|
[
|
|
5489
5509
|
"span",
|
|
5490
5510
|
vueStyle,
|
|
5491
|
-
isShallow(obj) ? "ShallowReactive" : "Reactive"
|
|
5511
|
+
/* @__PURE__ */ isShallow(obj) ? "ShallowReactive" : "Reactive"
|
|
5492
5512
|
],
|
|
5493
5513
|
"<",
|
|
5494
5514
|
formatValue(obj),
|
|
5495
|
-
`>${isReadonly(obj) ? ` (readonly)` : ``}`
|
|
5515
|
+
`>${/* @__PURE__ */ isReadonly(obj) ? ` (readonly)` : ``}`
|
|
5496
5516
|
];
|
|
5497
|
-
else if (isReadonly(obj)) return [
|
|
5517
|
+
else if (/* @__PURE__ */ isReadonly(obj)) return [
|
|
5498
5518
|
"div",
|
|
5499
5519
|
{},
|
|
5500
5520
|
[
|
|
5501
5521
|
"span",
|
|
5502
5522
|
vueStyle,
|
|
5503
|
-
isShallow(obj) ? "ShallowReadonly" : "Readonly"
|
|
5523
|
+
/* @__PURE__ */ isShallow(obj) ? "ShallowReadonly" : "Readonly"
|
|
5504
5524
|
],
|
|
5505
5525
|
"<",
|
|
5506
5526
|
formatValue(obj),
|
|
@@ -5521,9 +5541,9 @@ function initCustomFormatter() {
|
|
|
5521
5541
|
};
|
|
5522
5542
|
function formatInstance(instance) {
|
|
5523
5543
|
const blocks = [];
|
|
5524
|
-
if (instance.type.props && instance.props) blocks.push(createInstanceBlock("props", toRaw(instance.props)));
|
|
5544
|
+
if (instance.type.props && instance.props) blocks.push(createInstanceBlock("props", /* @__PURE__ */ toRaw(instance.props)));
|
|
5525
5545
|
if (instance.setupState !== EMPTY_OBJ) blocks.push(createInstanceBlock("setup", instance.setupState));
|
|
5526
|
-
if (instance.data !== EMPTY_OBJ) blocks.push(createInstanceBlock("data", toRaw(instance.data)));
|
|
5546
|
+
if (instance.data !== EMPTY_OBJ) blocks.push(createInstanceBlock("data", /* @__PURE__ */ toRaw(instance.data)));
|
|
5527
5547
|
const computed = extractKeys(instance, "computed");
|
|
5528
5548
|
if (computed) blocks.push(createInstanceBlock("computed", computed));
|
|
5529
5549
|
const injected = extractKeys(instance, "inject");
|
|
@@ -5585,7 +5605,7 @@ function initCustomFormatter() {
|
|
|
5585
5605
|
keywordStyle,
|
|
5586
5606
|
v
|
|
5587
5607
|
];
|
|
5588
|
-
else if (isObject(v)) return ["object", { object: asRaw ? toRaw(v) : v }];
|
|
5608
|
+
else if (isObject(v)) return ["object", { object: asRaw ? /* @__PURE__ */ toRaw(v) : v }];
|
|
5589
5609
|
else return [
|
|
5590
5610
|
"span",
|
|
5591
5611
|
stringStyle,
|
|
@@ -5606,22 +5626,21 @@ function initCustomFormatter() {
|
|
|
5606
5626
|
if (Comp.mixins && Comp.mixins.some((m) => isKeyOfType(m, key, type))) return true;
|
|
5607
5627
|
}
|
|
5608
5628
|
function genRefFlag(v) {
|
|
5609
|
-
if (isShallow(v)) return `ShallowRef`;
|
|
5629
|
+
if (/* @__PURE__ */ isShallow(v)) return `ShallowRef`;
|
|
5610
5630
|
if (v.effect) return `ComputedRef`;
|
|
5611
5631
|
return `Ref`;
|
|
5612
5632
|
}
|
|
5613
5633
|
if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
|
|
5614
5634
|
else window.devtoolsFormatters = [formatter];
|
|
5615
5635
|
}
|
|
5616
|
-
const version = "3.5.
|
|
5636
|
+
const version = "3.5.29";
|
|
5617
5637
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5638
|
+
process.env.NODE_ENV;
|
|
5639
|
+
process.env.NODE_ENV;
|
|
5621
5640
|
//#endregion
|
|
5622
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
5641
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
|
5623
5642
|
/**
|
|
5624
|
-
* @vue/runtime-dom v3.5.
|
|
5643
|
+
* @vue/runtime-dom v3.5.29
|
|
5625
5644
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5626
5645
|
* @license MIT
|
|
5627
5646
|
**/
|
|
@@ -5927,7 +5946,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
|
|
|
5927
5946
|
const REMOVAL = {};
|
|
5928
5947
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5929
5948
|
function defineCustomElement(options, extraOptions, _createApp) {
|
|
5930
|
-
let Comp = defineComponent(options, extraOptions);
|
|
5949
|
+
let Comp = /* @__PURE__ */ defineComponent(options, extraOptions);
|
|
5931
5950
|
if (isPlainObject(Comp)) Comp = extend({}, Comp, extraOptions);
|
|
5932
5951
|
class VueCustomElement extends VueElement {
|
|
5933
5952
|
constructor(initialProps) {
|
|
@@ -6244,6 +6263,12 @@ var VueElement = class VueElement extends BaseClass {
|
|
|
6244
6263
|
/**
|
|
6245
6264
|
* @internal
|
|
6246
6265
|
*/
|
|
6266
|
+
_hasShadowRoot() {
|
|
6267
|
+
return this._def.shadowRoot !== false;
|
|
6268
|
+
}
|
|
6269
|
+
/**
|
|
6270
|
+
* @internal
|
|
6271
|
+
*/
|
|
6247
6272
|
_removeChildStyle(comp) {
|
|
6248
6273
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
6249
6274
|
this._styleChildren.delete(comp);
|
|
@@ -6277,6 +6302,7 @@ const modifierGuards = {
|
|
|
6277
6302
|
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
6278
6303
|
};
|
|
6279
6304
|
const withModifiers = (fn, modifiers) => {
|
|
6305
|
+
if (!fn) return fn;
|
|
6280
6306
|
const cache = fn._withMods || (fn._withMods = {});
|
|
6281
6307
|
const cacheKey = modifiers.join(".");
|
|
6282
6308
|
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
@@ -6381,11 +6407,10 @@ function normalizeContainer(container) {
|
|
|
6381
6407
|
if (!!(process.env.NODE_ENV !== "production") && window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === "closed") warn(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
|
|
6382
6408
|
return container;
|
|
6383
6409
|
}
|
|
6384
|
-
|
|
6385
6410
|
//#endregion
|
|
6386
|
-
//#region ../../node_modules/.pnpm/vue@3.5.
|
|
6411
|
+
//#region ../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
|
|
6387
6412
|
/**
|
|
6388
|
-
* vue v3.5.
|
|
6413
|
+
* vue v3.5.29
|
|
6389
6414
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6390
6415
|
* @license MIT
|
|
6391
6416
|
**/
|
|
@@ -6393,6 +6418,5 @@ function initDev() {
|
|
|
6393
6418
|
initCustomFormatter();
|
|
6394
6419
|
}
|
|
6395
6420
|
if (!!(process.env.NODE_ENV !== "production")) initDev();
|
|
6396
|
-
|
|
6397
6421
|
//#endregion
|
|
6398
|
-
export { withCtx as A, toRef as B, onUnmounted as C, useTemplateRef as D, renderSlot as E, onScopeDispose as F, normalizeStyle as G, toValue as H, reactive as I, toDisplayString as K, readonly as L, customRef as M, getCurrentScope as N, watch as O, markRaw as P, ref as R, onMounted as S, renderList as T, unref as U, toRefs as V, normalizeClass as W, getCurrentInstance as _, Fragment as a, inject as b, createBaseVNode as c, createElementBlock as d, createStaticVNode as f, defineComponent as g, defineAsyncComponent as h, withModifiers as i, withDirectives as j, watchEffect as k, createBlock as l, createVNode as m, vShow as n, Suspense as o, createTextVNode as p, withKeys as r, computed as s, defineCustomElement as t, createCommentVNode as u, h as v, openBlock as w, nextTick as x, hasInjectionContext as y, shallowRef as z };
|
|
6422
|
+
export { withCtx as A, toRef as B, onUnmounted as C, useTemplateRef as D, renderSlot as E, onScopeDispose as F, normalizeStyle as G, toValue as H, reactive as I, toDisplayString as K, readonly as L, customRef as M, getCurrentScope as N, watch as O, markRaw as P, ref as R, onMounted as S, renderList as T, unref as U, toRefs as V, normalizeClass as W, getCurrentInstance as _, Fragment as a, inject as b, createBaseVNode as c, createElementBlock as d, createStaticVNode as f, defineComponent as g, defineAsyncComponent as h, withModifiers as i, withDirectives as j, watchEffect as k, createBlock as l, createVNode as m, vShow as n, Suspense as o, createTextVNode as p, withKeys as r, computed as s, defineCustomElement as t, createCommentVNode as u, h as v, openBlock as w, nextTick as x, hasInjectionContext as y, shallowRef as z };
|