@vue/compat 3.5.25 → 3.5.27
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/README.md +38 -40
- package/dist/vue.cjs.js +446 -379
- package/dist/vue.cjs.prod.js +387 -333
- package/dist/vue.esm-browser.js +440 -373
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +440 -373
- package/dist/vue.global.js +413 -346
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +327 -279
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +327 -279
- package/dist/vue.runtime.global.js +300 -252
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.27
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
var parser = require('@babel/parser');
|
|
9
9
|
var estreeWalker = require('estree-walker');
|
|
10
|
-
var
|
|
10
|
+
var decode = require('entities/decode');
|
|
11
11
|
var sourceMapJs = require('source-map-js');
|
|
12
12
|
|
|
13
13
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -911,13 +911,13 @@ function addSub(link) {
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
914
|
-
const ITERATE_KEY = Symbol(
|
|
914
|
+
const ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
915
915
|
""
|
|
916
916
|
);
|
|
917
|
-
const MAP_KEY_ITERATE_KEY = Symbol(
|
|
917
|
+
const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
918
918
|
""
|
|
919
919
|
);
|
|
920
|
-
const ARRAY_ITERATE_KEY = Symbol(
|
|
920
|
+
const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
921
921
|
""
|
|
922
922
|
);
|
|
923
923
|
function track(target, type, key) {
|
|
@@ -1371,20 +1371,20 @@ function createIterableMethod(method, isReadonly2, isShallow2) {
|
|
|
1371
1371
|
"iterate",
|
|
1372
1372
|
isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
|
|
1373
1373
|
);
|
|
1374
|
-
return
|
|
1375
|
-
// iterator
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
done
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1374
|
+
return extend$1(
|
|
1375
|
+
// inheriting all iterator properties
|
|
1376
|
+
Object.create(innerIterator),
|
|
1377
|
+
{
|
|
1378
|
+
// iterator protocol
|
|
1379
|
+
next() {
|
|
1380
|
+
const { value, done } = innerIterator.next();
|
|
1381
|
+
return done ? { value, done } : {
|
|
1382
|
+
value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
|
|
1383
|
+
done
|
|
1384
|
+
};
|
|
1385
|
+
}
|
|
1386
1386
|
}
|
|
1387
|
-
|
|
1387
|
+
);
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
1390
|
function createReadonlyMethod(type) {
|
|
@@ -1575,8 +1575,9 @@ function targetTypeMap(rawType) {
|
|
|
1575
1575
|
function getTargetType(value) {
|
|
1576
1576
|
return value["__v_skip"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));
|
|
1577
1577
|
}
|
|
1578
|
+
// @__NO_SIDE_EFFECTS__
|
|
1578
1579
|
function reactive(target) {
|
|
1579
|
-
if (isReadonly(target)) {
|
|
1580
|
+
if (/* @__PURE__ */ isReadonly(target)) {
|
|
1580
1581
|
return target;
|
|
1581
1582
|
}
|
|
1582
1583
|
return createReactiveObject(
|
|
@@ -1587,6 +1588,7 @@ function reactive(target) {
|
|
|
1587
1588
|
reactiveMap
|
|
1588
1589
|
);
|
|
1589
1590
|
}
|
|
1591
|
+
// @__NO_SIDE_EFFECTS__
|
|
1590
1592
|
function shallowReactive(target) {
|
|
1591
1593
|
return createReactiveObject(
|
|
1592
1594
|
target,
|
|
@@ -1596,6 +1598,7 @@ function shallowReactive(target) {
|
|
|
1596
1598
|
shallowReactiveMap
|
|
1597
1599
|
);
|
|
1598
1600
|
}
|
|
1601
|
+
// @__NO_SIDE_EFFECTS__
|
|
1599
1602
|
function readonly(target) {
|
|
1600
1603
|
return createReactiveObject(
|
|
1601
1604
|
target,
|
|
@@ -1605,6 +1608,7 @@ function readonly(target) {
|
|
|
1605
1608
|
readonlyMap
|
|
1606
1609
|
);
|
|
1607
1610
|
}
|
|
1611
|
+
// @__NO_SIDE_EFFECTS__
|
|
1608
1612
|
function shallowReadonly$1(target) {
|
|
1609
1613
|
return createReactiveObject(
|
|
1610
1614
|
target,
|
|
@@ -1636,24 +1640,29 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
|
|
|
1636
1640
|
proxyMap.set(target, proxy);
|
|
1637
1641
|
return proxy;
|
|
1638
1642
|
}
|
|
1643
|
+
// @__NO_SIDE_EFFECTS__
|
|
1639
1644
|
function isReactive(value) {
|
|
1640
|
-
if (isReadonly(value)) {
|
|
1641
|
-
return isReactive(value["__v_raw"]);
|
|
1645
|
+
if (/* @__PURE__ */ isReadonly(value)) {
|
|
1646
|
+
return /* @__PURE__ */ isReactive(value["__v_raw"]);
|
|
1642
1647
|
}
|
|
1643
1648
|
return !!(value && value["__v_isReactive"]);
|
|
1644
1649
|
}
|
|
1650
|
+
// @__NO_SIDE_EFFECTS__
|
|
1645
1651
|
function isReadonly(value) {
|
|
1646
1652
|
return !!(value && value["__v_isReadonly"]);
|
|
1647
1653
|
}
|
|
1654
|
+
// @__NO_SIDE_EFFECTS__
|
|
1648
1655
|
function isShallow(value) {
|
|
1649
1656
|
return !!(value && value["__v_isShallow"]);
|
|
1650
1657
|
}
|
|
1658
|
+
// @__NO_SIDE_EFFECTS__
|
|
1651
1659
|
function isProxy(value) {
|
|
1652
1660
|
return value ? !!value["__v_raw"] : false;
|
|
1653
1661
|
}
|
|
1662
|
+
// @__NO_SIDE_EFFECTS__
|
|
1654
1663
|
function toRaw(observed) {
|
|
1655
1664
|
const raw = observed && observed["__v_raw"];
|
|
1656
|
-
return raw ? toRaw(raw) : observed;
|
|
1665
|
+
return raw ? /* @__PURE__ */ toRaw(raw) : observed;
|
|
1657
1666
|
}
|
|
1658
1667
|
function markRaw(value) {
|
|
1659
1668
|
if (!hasOwn(value, "__v_skip") && Object.isExtensible(value)) {
|
|
@@ -1661,20 +1670,23 @@ function markRaw(value) {
|
|
|
1661
1670
|
}
|
|
1662
1671
|
return value;
|
|
1663
1672
|
}
|
|
1664
|
-
const toReactive = (value) => isObject(value) ? reactive(value) : value;
|
|
1665
|
-
const toReadonly = (value) => isObject(value) ? readonly(value) : value;
|
|
1673
|
+
const toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value) : value;
|
|
1674
|
+
const toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
|
|
1666
1675
|
|
|
1676
|
+
// @__NO_SIDE_EFFECTS__
|
|
1667
1677
|
function isRef(r) {
|
|
1668
1678
|
return r ? r["__v_isRef"] === true : false;
|
|
1669
1679
|
}
|
|
1680
|
+
// @__NO_SIDE_EFFECTS__
|
|
1670
1681
|
function ref(value) {
|
|
1671
1682
|
return createRef(value, false);
|
|
1672
1683
|
}
|
|
1684
|
+
// @__NO_SIDE_EFFECTS__
|
|
1673
1685
|
function shallowRef(value) {
|
|
1674
1686
|
return createRef(value, true);
|
|
1675
1687
|
}
|
|
1676
1688
|
function createRef(rawValue, shallow) {
|
|
1677
|
-
if (isRef(rawValue)) {
|
|
1689
|
+
if (/* @__PURE__ */ isRef(rawValue)) {
|
|
1678
1690
|
return rawValue;
|
|
1679
1691
|
}
|
|
1680
1692
|
return new RefImpl(rawValue, shallow);
|
|
@@ -1715,7 +1727,7 @@ function triggerRef(ref2) {
|
|
|
1715
1727
|
}
|
|
1716
1728
|
}
|
|
1717
1729
|
function unref(ref2) {
|
|
1718
|
-
return isRef(ref2) ? ref2.value : ref2;
|
|
1730
|
+
return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;
|
|
1719
1731
|
}
|
|
1720
1732
|
function toValue(source) {
|
|
1721
1733
|
return isFunction(source) ? source() : unref(source);
|
|
@@ -1724,7 +1736,7 @@ const shallowUnwrapHandlers = {
|
|
|
1724
1736
|
get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
|
|
1725
1737
|
set: (target, key, value, receiver) => {
|
|
1726
1738
|
const oldValue = target[key];
|
|
1727
|
-
if (isRef(oldValue) &&
|
|
1739
|
+
if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
|
|
1728
1740
|
oldValue.value = value;
|
|
1729
1741
|
return true;
|
|
1730
1742
|
} else {
|
|
@@ -1754,6 +1766,7 @@ class CustomRefImpl {
|
|
|
1754
1766
|
function customRef(factory) {
|
|
1755
1767
|
return new CustomRefImpl(factory);
|
|
1756
1768
|
}
|
|
1769
|
+
// @__NO_SIDE_EFFECTS__
|
|
1757
1770
|
function toRefs(object) {
|
|
1758
1771
|
const ret = isArray(object) ? new Array(object.length) : {};
|
|
1759
1772
|
for (const key in object) {
|
|
@@ -1786,9 +1799,9 @@ class ObjectRefImpl {
|
|
|
1786
1799
|
return this._value = val === void 0 ? this._defaultValue : val;
|
|
1787
1800
|
}
|
|
1788
1801
|
set value(newVal) {
|
|
1789
|
-
if (this._shallow && isRef(this._raw[this._key])) {
|
|
1802
|
+
if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {
|
|
1790
1803
|
const nestedRef = this._object[this._key];
|
|
1791
|
-
if (isRef(nestedRef)) {
|
|
1804
|
+
if (/* @__PURE__ */ isRef(nestedRef)) {
|
|
1792
1805
|
nestedRef.value = newVal;
|
|
1793
1806
|
return;
|
|
1794
1807
|
}
|
|
@@ -1810,15 +1823,16 @@ class GetterRefImpl {
|
|
|
1810
1823
|
return this._value = this._getter();
|
|
1811
1824
|
}
|
|
1812
1825
|
}
|
|
1826
|
+
// @__NO_SIDE_EFFECTS__
|
|
1813
1827
|
function toRef(source, key, defaultValue) {
|
|
1814
|
-
if (isRef(source)) {
|
|
1828
|
+
if (/* @__PURE__ */ isRef(source)) {
|
|
1815
1829
|
return source;
|
|
1816
1830
|
} else if (isFunction(source)) {
|
|
1817
1831
|
return new GetterRefImpl(source);
|
|
1818
1832
|
} else if (isObject(source) && arguments.length > 1) {
|
|
1819
1833
|
return propertyToRef(source, key, defaultValue);
|
|
1820
1834
|
} else {
|
|
1821
|
-
return ref(source);
|
|
1835
|
+
return /* @__PURE__ */ ref(source);
|
|
1822
1836
|
}
|
|
1823
1837
|
}
|
|
1824
1838
|
function propertyToRef(source, key, defaultValue) {
|
|
@@ -1893,6 +1907,7 @@ class ComputedRefImpl {
|
|
|
1893
1907
|
}
|
|
1894
1908
|
}
|
|
1895
1909
|
}
|
|
1910
|
+
// @__NO_SIDE_EFFECTS__
|
|
1896
1911
|
function computed$1(getterOrOptions, debugOptions, isSSR = false) {
|
|
1897
1912
|
let getter;
|
|
1898
1913
|
let setter;
|
|
@@ -2537,58 +2552,6 @@ function emit$1(instance, event, args) {
|
|
|
2537
2552
|
return instance.proxy;
|
|
2538
2553
|
}
|
|
2539
2554
|
|
|
2540
|
-
const compatModelEventPrefix = `onModelCompat:`;
|
|
2541
|
-
function convertLegacyVModelProps(vnode) {
|
|
2542
|
-
const { type, shapeFlag, props, dynamicProps } = vnode;
|
|
2543
|
-
const comp = type;
|
|
2544
|
-
if (shapeFlag & 6 && props && "modelValue" in props) {
|
|
2545
|
-
if (!isCompatEnabled$1(
|
|
2546
|
-
"COMPONENT_V_MODEL",
|
|
2547
|
-
// this is a special case where we want to use the vnode component's
|
|
2548
|
-
// compat config instead of the current rendering instance (which is the
|
|
2549
|
-
// parent of the component that exposes v-model)
|
|
2550
|
-
{ type }
|
|
2551
|
-
)) {
|
|
2552
|
-
return;
|
|
2553
|
-
}
|
|
2554
|
-
const model = comp.model || {};
|
|
2555
|
-
applyModelFromMixins(model, comp.mixins);
|
|
2556
|
-
const { prop = "value", event = "input" } = model;
|
|
2557
|
-
if (prop !== "modelValue") {
|
|
2558
|
-
props[prop] = props.modelValue;
|
|
2559
|
-
delete props.modelValue;
|
|
2560
|
-
}
|
|
2561
|
-
if (dynamicProps) {
|
|
2562
|
-
dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
|
|
2563
|
-
}
|
|
2564
|
-
props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
|
|
2565
|
-
delete props["onUpdate:modelValue"];
|
|
2566
|
-
}
|
|
2567
|
-
}
|
|
2568
|
-
function applyModelFromMixins(model, mixins) {
|
|
2569
|
-
if (mixins) {
|
|
2570
|
-
mixins.forEach((m) => {
|
|
2571
|
-
if (m.model) extend$1(model, m.model);
|
|
2572
|
-
if (m.mixins) applyModelFromMixins(model, m.mixins);
|
|
2573
|
-
});
|
|
2574
|
-
}
|
|
2575
|
-
}
|
|
2576
|
-
function compatModelEmit(instance, event, args) {
|
|
2577
|
-
if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
|
|
2578
|
-
return;
|
|
2579
|
-
}
|
|
2580
|
-
const props = instance.vnode.props;
|
|
2581
|
-
const modelHandler = props && props[compatModelEventPrefix + event];
|
|
2582
|
-
if (modelHandler) {
|
|
2583
|
-
callWithErrorHandling(
|
|
2584
|
-
modelHandler,
|
|
2585
|
-
instance,
|
|
2586
|
-
6,
|
|
2587
|
-
args
|
|
2588
|
-
);
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
2555
|
let currentRenderingInstance = null;
|
|
2593
2556
|
let currentScopeId = null;
|
|
2594
2557
|
function setCurrentRenderingInstance(instance) {
|
|
@@ -2730,7 +2693,143 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
2730
2693
|
}
|
|
2731
2694
|
}
|
|
2732
2695
|
|
|
2733
|
-
|
|
2696
|
+
function provide(key, value) {
|
|
2697
|
+
if (currentInstance) {
|
|
2698
|
+
let provides = currentInstance.provides;
|
|
2699
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
2700
|
+
if (parentProvides === provides) {
|
|
2701
|
+
provides = currentInstance.provides = Object.create(parentProvides);
|
|
2702
|
+
}
|
|
2703
|
+
provides[key] = value;
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
2707
|
+
const instance = getCurrentInstance();
|
|
2708
|
+
if (instance || currentApp) {
|
|
2709
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
2710
|
+
if (provides && key in provides) {
|
|
2711
|
+
return provides[key];
|
|
2712
|
+
} else if (arguments.length > 1) {
|
|
2713
|
+
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
2714
|
+
} else ;
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
function hasInjectionContext() {
|
|
2718
|
+
return !!(getCurrentInstance() || currentApp);
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
2722
|
+
const useSSRContext = () => {
|
|
2723
|
+
{
|
|
2724
|
+
const ctx = inject(ssrContextKey);
|
|
2725
|
+
return ctx;
|
|
2726
|
+
}
|
|
2727
|
+
};
|
|
2728
|
+
|
|
2729
|
+
function watchEffect(effect, options) {
|
|
2730
|
+
return doWatch(effect, null, options);
|
|
2731
|
+
}
|
|
2732
|
+
function watchPostEffect(effect, options) {
|
|
2733
|
+
return doWatch(
|
|
2734
|
+
effect,
|
|
2735
|
+
null,
|
|
2736
|
+
{ flush: "post" }
|
|
2737
|
+
);
|
|
2738
|
+
}
|
|
2739
|
+
function watchSyncEffect(effect, options) {
|
|
2740
|
+
return doWatch(
|
|
2741
|
+
effect,
|
|
2742
|
+
null,
|
|
2743
|
+
{ flush: "sync" }
|
|
2744
|
+
);
|
|
2745
|
+
}
|
|
2746
|
+
function watch(source, cb, options) {
|
|
2747
|
+
return doWatch(source, cb, options);
|
|
2748
|
+
}
|
|
2749
|
+
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
2750
|
+
const { immediate, deep, flush, once } = options;
|
|
2751
|
+
const baseWatchOptions = extend$1({}, options);
|
|
2752
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
2753
|
+
let ssrCleanup;
|
|
2754
|
+
if (isInSSRComponentSetup) {
|
|
2755
|
+
if (flush === "sync") {
|
|
2756
|
+
const ctx = useSSRContext();
|
|
2757
|
+
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
2758
|
+
} else if (!runsImmediately) {
|
|
2759
|
+
const watchStopHandle = () => {
|
|
2760
|
+
};
|
|
2761
|
+
watchStopHandle.stop = NOOP;
|
|
2762
|
+
watchStopHandle.resume = NOOP;
|
|
2763
|
+
watchStopHandle.pause = NOOP;
|
|
2764
|
+
return watchStopHandle;
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
const instance = currentInstance;
|
|
2768
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
2769
|
+
let isPre = false;
|
|
2770
|
+
if (flush === "post") {
|
|
2771
|
+
baseWatchOptions.scheduler = (job) => {
|
|
2772
|
+
queuePostRenderEffect(job, instance && instance.suspense);
|
|
2773
|
+
};
|
|
2774
|
+
} else if (flush !== "sync") {
|
|
2775
|
+
isPre = true;
|
|
2776
|
+
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
2777
|
+
if (isFirstRun) {
|
|
2778
|
+
job();
|
|
2779
|
+
} else {
|
|
2780
|
+
queueJob(job);
|
|
2781
|
+
}
|
|
2782
|
+
};
|
|
2783
|
+
}
|
|
2784
|
+
baseWatchOptions.augmentJob = (job) => {
|
|
2785
|
+
if (cb) {
|
|
2786
|
+
job.flags |= 4;
|
|
2787
|
+
}
|
|
2788
|
+
if (isPre) {
|
|
2789
|
+
job.flags |= 2;
|
|
2790
|
+
if (instance) {
|
|
2791
|
+
job.id = instance.uid;
|
|
2792
|
+
job.i = instance;
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
};
|
|
2796
|
+
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
2797
|
+
if (isInSSRComponentSetup) {
|
|
2798
|
+
if (ssrCleanup) {
|
|
2799
|
+
ssrCleanup.push(watchHandle);
|
|
2800
|
+
} else if (runsImmediately) {
|
|
2801
|
+
watchHandle();
|
|
2802
|
+
}
|
|
2803
|
+
}
|
|
2804
|
+
return watchHandle;
|
|
2805
|
+
}
|
|
2806
|
+
function instanceWatch(source, value, options) {
|
|
2807
|
+
const publicThis = this.proxy;
|
|
2808
|
+
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
2809
|
+
let cb;
|
|
2810
|
+
if (isFunction(value)) {
|
|
2811
|
+
cb = value;
|
|
2812
|
+
} else {
|
|
2813
|
+
cb = value.handler;
|
|
2814
|
+
options = value;
|
|
2815
|
+
}
|
|
2816
|
+
const reset = setCurrentInstance(this);
|
|
2817
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
2818
|
+
reset();
|
|
2819
|
+
return res;
|
|
2820
|
+
}
|
|
2821
|
+
function createPathGetter(ctx, path) {
|
|
2822
|
+
const segments = path.split(".");
|
|
2823
|
+
return () => {
|
|
2824
|
+
let cur = ctx;
|
|
2825
|
+
for (let i = 0; i < segments.length && cur; i++) {
|
|
2826
|
+
cur = cur[segments[i]];
|
|
2827
|
+
}
|
|
2828
|
+
return cur;
|
|
2829
|
+
};
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
2734
2833
|
const isTeleport = (type) => type.__isTeleport;
|
|
2735
2834
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
2736
2835
|
const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
|
|
@@ -3063,8 +3162,8 @@ function prepareAnchor(target, vnode, createText, insert) {
|
|
|
3063
3162
|
return targetAnchor;
|
|
3064
3163
|
}
|
|
3065
3164
|
|
|
3066
|
-
const leaveCbKey = Symbol("_leaveCb");
|
|
3067
|
-
const enterCbKey$1 = Symbol("_enterCb");
|
|
3165
|
+
const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
3166
|
+
const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
|
|
3068
3167
|
function useTransitionState() {
|
|
3069
3168
|
const state = {
|
|
3070
3169
|
isMounted: false,
|
|
@@ -3827,7 +3926,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
3827
3926
|
const isCustomElement = el.tagName.includes("-");
|
|
3828
3927
|
for (const key in props) {
|
|
3829
3928
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
3830
|
-
key[0] === "." || isCustomElement) {
|
|
3929
|
+
key[0] === "." || isCustomElement && !isReservedProp(key)) {
|
|
3831
3930
|
patchProp(el, key, null, props[key], void 0, parentComponent);
|
|
3832
3931
|
}
|
|
3833
3932
|
}
|
|
@@ -4360,7 +4459,9 @@ const KeepAliveImpl = {
|
|
|
4360
4459
|
}
|
|
4361
4460
|
function pruneCache(filter) {
|
|
4362
4461
|
cache.forEach((vnode, key) => {
|
|
4363
|
-
const name = getComponentName(
|
|
4462
|
+
const name = getComponentName(
|
|
4463
|
+
isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
|
|
4464
|
+
);
|
|
4364
4465
|
if (name && !filter(name)) {
|
|
4365
4466
|
pruneCacheEntry(key);
|
|
4366
4467
|
}
|
|
@@ -4619,7 +4720,7 @@ const FILTERS = "filters";
|
|
|
4619
4720
|
function resolveComponent(name, maybeSelfReference) {
|
|
4620
4721
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
4621
4722
|
}
|
|
4622
|
-
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
4723
|
+
const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
4623
4724
|
function resolveDynamicComponent(component) {
|
|
4624
4725
|
if (isString(component)) {
|
|
4625
4726
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -5913,7 +6014,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5913
6014
|
return vm;
|
|
5914
6015
|
}
|
|
5915
6016
|
}
|
|
5916
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
6017
|
+
Vue.version = `2.6.14-compat:${"3.5.27"}`;
|
|
5917
6018
|
Vue.config = singletonApp.config;
|
|
5918
6019
|
Vue.use = (plugin, ...options) => {
|
|
5919
6020
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -6380,140 +6481,56 @@ function createAppAPI(render, hydrate) {
|
|
|
6380
6481
|
}
|
|
6381
6482
|
let currentApp = null;
|
|
6382
6483
|
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
6397
|
-
if (provides && key in provides) {
|
|
6398
|
-
return provides[key];
|
|
6399
|
-
} else if (arguments.length > 1) {
|
|
6400
|
-
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
6401
|
-
} else ;
|
|
6402
|
-
}
|
|
6403
|
-
}
|
|
6404
|
-
function hasInjectionContext() {
|
|
6405
|
-
return !!(getCurrentInstance() || currentApp);
|
|
6406
|
-
}
|
|
6407
|
-
|
|
6408
|
-
const ssrContextKey = Symbol.for("v-scx");
|
|
6409
|
-
const useSSRContext = () => {
|
|
6410
|
-
{
|
|
6411
|
-
const ctx = inject(ssrContextKey);
|
|
6412
|
-
return ctx;
|
|
6413
|
-
}
|
|
6414
|
-
};
|
|
6415
|
-
|
|
6416
|
-
function watchEffect(effect, options) {
|
|
6417
|
-
return doWatch(effect, null, options);
|
|
6418
|
-
}
|
|
6419
|
-
function watchPostEffect(effect, options) {
|
|
6420
|
-
return doWatch(
|
|
6421
|
-
effect,
|
|
6422
|
-
null,
|
|
6423
|
-
{ flush: "post" }
|
|
6424
|
-
);
|
|
6425
|
-
}
|
|
6426
|
-
function watchSyncEffect(effect, options) {
|
|
6427
|
-
return doWatch(
|
|
6428
|
-
effect,
|
|
6429
|
-
null,
|
|
6430
|
-
{ flush: "sync" }
|
|
6431
|
-
);
|
|
6432
|
-
}
|
|
6433
|
-
function watch(source, cb, options) {
|
|
6434
|
-
return doWatch(source, cb, options);
|
|
6435
|
-
}
|
|
6436
|
-
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
6437
|
-
const { immediate, deep, flush, once } = options;
|
|
6438
|
-
const baseWatchOptions = extend$1({}, options);
|
|
6439
|
-
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
6440
|
-
let ssrCleanup;
|
|
6441
|
-
if (isInSSRComponentSetup) {
|
|
6442
|
-
if (flush === "sync") {
|
|
6443
|
-
const ctx = useSSRContext();
|
|
6444
|
-
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
6445
|
-
} else if (!runsImmediately) {
|
|
6446
|
-
const watchStopHandle = () => {
|
|
6447
|
-
};
|
|
6448
|
-
watchStopHandle.stop = NOOP;
|
|
6449
|
-
watchStopHandle.resume = NOOP;
|
|
6450
|
-
watchStopHandle.pause = NOOP;
|
|
6451
|
-
return watchStopHandle;
|
|
6452
|
-
}
|
|
6453
|
-
}
|
|
6454
|
-
const instance = currentInstance;
|
|
6455
|
-
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
6456
|
-
let isPre = false;
|
|
6457
|
-
if (flush === "post") {
|
|
6458
|
-
baseWatchOptions.scheduler = (job) => {
|
|
6459
|
-
queuePostRenderEffect(job, instance && instance.suspense);
|
|
6460
|
-
};
|
|
6461
|
-
} else if (flush !== "sync") {
|
|
6462
|
-
isPre = true;
|
|
6463
|
-
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
6464
|
-
if (isFirstRun) {
|
|
6465
|
-
job();
|
|
6466
|
-
} else {
|
|
6467
|
-
queueJob(job);
|
|
6468
|
-
}
|
|
6469
|
-
};
|
|
6470
|
-
}
|
|
6471
|
-
baseWatchOptions.augmentJob = (job) => {
|
|
6472
|
-
if (cb) {
|
|
6473
|
-
job.flags |= 4;
|
|
6484
|
+
const compatModelEventPrefix = `onModelCompat:`;
|
|
6485
|
+
function convertLegacyVModelProps(vnode) {
|
|
6486
|
+
const { type, shapeFlag, props, dynamicProps } = vnode;
|
|
6487
|
+
const comp = type;
|
|
6488
|
+
if (shapeFlag & 6 && props && "modelValue" in props) {
|
|
6489
|
+
if (!isCompatEnabled$1(
|
|
6490
|
+
"COMPONENT_V_MODEL",
|
|
6491
|
+
// this is a special case where we want to use the vnode component's
|
|
6492
|
+
// compat config instead of the current rendering instance (which is the
|
|
6493
|
+
// parent of the component that exposes v-model)
|
|
6494
|
+
{ type }
|
|
6495
|
+
)) {
|
|
6496
|
+
return;
|
|
6474
6497
|
}
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6498
|
+
const model = comp.model || {};
|
|
6499
|
+
applyModelFromMixins(model, comp.mixins);
|
|
6500
|
+
const { prop = "value", event = "input" } = model;
|
|
6501
|
+
if (prop !== "modelValue") {
|
|
6502
|
+
props[prop] = props.modelValue;
|
|
6503
|
+
delete props.modelValue;
|
|
6481
6504
|
}
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
if (isInSSRComponentSetup) {
|
|
6485
|
-
if (ssrCleanup) {
|
|
6486
|
-
ssrCleanup.push(watchHandle);
|
|
6487
|
-
} else if (runsImmediately) {
|
|
6488
|
-
watchHandle();
|
|
6505
|
+
if (dynamicProps) {
|
|
6506
|
+
dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
|
|
6489
6507
|
}
|
|
6508
|
+
props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
|
|
6509
|
+
delete props["onUpdate:modelValue"];
|
|
6490
6510
|
}
|
|
6491
|
-
return watchHandle;
|
|
6492
6511
|
}
|
|
6493
|
-
function
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
} else {
|
|
6500
|
-
cb = value.handler;
|
|
6501
|
-
options = value;
|
|
6512
|
+
function applyModelFromMixins(model, mixins) {
|
|
6513
|
+
if (mixins) {
|
|
6514
|
+
mixins.forEach((m) => {
|
|
6515
|
+
if (m.model) extend$1(model, m.model);
|
|
6516
|
+
if (m.mixins) applyModelFromMixins(model, m.mixins);
|
|
6517
|
+
});
|
|
6502
6518
|
}
|
|
6503
|
-
const reset = setCurrentInstance(this);
|
|
6504
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
6505
|
-
reset();
|
|
6506
|
-
return res;
|
|
6507
6519
|
}
|
|
6508
|
-
function
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6520
|
+
function compatModelEmit(instance, event, args) {
|
|
6521
|
+
if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
|
|
6522
|
+
return;
|
|
6523
|
+
}
|
|
6524
|
+
const props = instance.vnode.props;
|
|
6525
|
+
const modelHandler = props && props[compatModelEventPrefix + event];
|
|
6526
|
+
if (modelHandler) {
|
|
6527
|
+
callWithErrorHandling(
|
|
6528
|
+
modelHandler,
|
|
6529
|
+
instance,
|
|
6530
|
+
6,
|
|
6531
|
+
args
|
|
6532
|
+
);
|
|
6533
|
+
}
|
|
6517
6534
|
}
|
|
6518
6535
|
|
|
6519
6536
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
@@ -7466,7 +7483,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
7466
7483
|
} else {
|
|
7467
7484
|
const el = n2.el = n1.el;
|
|
7468
7485
|
if (n2.children !== n1.children) {
|
|
7469
|
-
|
|
7486
|
+
{
|
|
7487
|
+
hostSetText(el, n2.children);
|
|
7488
|
+
}
|
|
7470
7489
|
}
|
|
7471
7490
|
}
|
|
7472
7491
|
};
|
|
@@ -7811,7 +7830,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
7811
7830
|
} else {
|
|
7812
7831
|
if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
|
|
7813
7832
|
// of renderSlot() with no valid children
|
|
7814
|
-
n1.dynamicChildren) {
|
|
7833
|
+
n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
7815
7834
|
patchBlockChildren(
|
|
7816
7835
|
n1.dynamicChildren,
|
|
7817
7836
|
dynamicChildren,
|
|
@@ -8353,8 +8372,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8353
8372
|
const nextChild = c2[nextIndex];
|
|
8354
8373
|
const anchorVNode = c2[nextIndex + 1];
|
|
8355
8374
|
const anchor = nextIndex + 1 < l2 ? (
|
|
8356
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
8357
|
-
anchorVNode.el || anchorVNode
|
|
8375
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
8376
|
+
anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
|
|
8358
8377
|
) : parentAnchor;
|
|
8359
8378
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
8360
8379
|
patch(
|
|
@@ -8605,9 +8624,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8605
8624
|
};
|
|
8606
8625
|
let isFlushing = false;
|
|
8607
8626
|
const render = (vnode, container, namespace) => {
|
|
8627
|
+
let instance;
|
|
8608
8628
|
if (vnode == null) {
|
|
8609
8629
|
if (container._vnode) {
|
|
8610
8630
|
unmount(container._vnode, null, null, true);
|
|
8631
|
+
instance = container._vnode.component;
|
|
8611
8632
|
}
|
|
8612
8633
|
} else {
|
|
8613
8634
|
patch(
|
|
@@ -8623,7 +8644,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8623
8644
|
container._vnode = vnode;
|
|
8624
8645
|
if (!isFlushing) {
|
|
8625
8646
|
isFlushing = true;
|
|
8626
|
-
flushPreFlushCbs();
|
|
8647
|
+
flushPreFlushCbs(instance);
|
|
8627
8648
|
flushPostFlushCbs();
|
|
8628
8649
|
isFlushing = false;
|
|
8629
8650
|
}
|
|
@@ -8683,9 +8704,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
8683
8704
|
if (!shallow && c2.patchFlag !== -2)
|
|
8684
8705
|
traverseStaticChildren(c1, c2);
|
|
8685
8706
|
}
|
|
8686
|
-
if (c2.type === Text
|
|
8687
|
-
|
|
8688
|
-
|
|
8707
|
+
if (c2.type === Text) {
|
|
8708
|
+
if (c2.patchFlag !== -1) {
|
|
8709
|
+
c2.el = c1.el;
|
|
8710
|
+
} else {
|
|
8711
|
+
c2.__elIndex = i + // take fragment start anchor into account
|
|
8712
|
+
(n1.type === Fragment ? 1 : 0);
|
|
8713
|
+
}
|
|
8689
8714
|
}
|
|
8690
8715
|
if (c2.type === Comment && !c2.el) {
|
|
8691
8716
|
c2.el = c1.el;
|
|
@@ -8749,6 +8774,16 @@ function invalidateMount(hooks) {
|
|
|
8749
8774
|
hooks[i].flags |= 8;
|
|
8750
8775
|
}
|
|
8751
8776
|
}
|
|
8777
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
8778
|
+
if (anchorVnode.placeholder) {
|
|
8779
|
+
return anchorVnode.placeholder;
|
|
8780
|
+
}
|
|
8781
|
+
const instance = anchorVnode.component;
|
|
8782
|
+
if (instance) {
|
|
8783
|
+
return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
8784
|
+
}
|
|
8785
|
+
return null;
|
|
8786
|
+
}
|
|
8752
8787
|
|
|
8753
8788
|
const isSuspense = (type) => type.__isSuspense;
|
|
8754
8789
|
let suspenseId = 0;
|
|
@@ -9377,10 +9412,10 @@ function convertLegacyComponent(comp, instance) {
|
|
|
9377
9412
|
return comp;
|
|
9378
9413
|
}
|
|
9379
9414
|
|
|
9380
|
-
const Fragment = Symbol.for("v-fgt");
|
|
9381
|
-
const Text = Symbol.for("v-txt");
|
|
9382
|
-
const Comment = Symbol.for("v-cmt");
|
|
9383
|
-
const Static = Symbol.for("v-stc");
|
|
9415
|
+
const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
9416
|
+
const Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
9417
|
+
const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
9418
|
+
const Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
9384
9419
|
const blockStack = [];
|
|
9385
9420
|
let currentBlock = null;
|
|
9386
9421
|
function openBlock(disableTracking = false) {
|
|
@@ -10088,7 +10123,7 @@ function isMemoSame(cached, memo) {
|
|
|
10088
10123
|
return true;
|
|
10089
10124
|
}
|
|
10090
10125
|
|
|
10091
|
-
const version = "3.5.
|
|
10126
|
+
const version = "3.5.27";
|
|
10092
10127
|
const warn$1 = NOOP;
|
|
10093
10128
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10094
10129
|
const devtools = void 0;
|
|
@@ -10199,7 +10234,7 @@ const nodeOps = {
|
|
|
10199
10234
|
|
|
10200
10235
|
const TRANSITION$1 = "transition";
|
|
10201
10236
|
const ANIMATION = "animation";
|
|
10202
|
-
const vtcKey = Symbol("_vtc");
|
|
10237
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
10203
10238
|
const DOMTransitionPropsValidators = {
|
|
10204
10239
|
name: String,
|
|
10205
10240
|
type: String,
|
|
@@ -10526,8 +10561,8 @@ function patchClass(el, value, isSVG) {
|
|
|
10526
10561
|
}
|
|
10527
10562
|
}
|
|
10528
10563
|
|
|
10529
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
10530
|
-
const vShowHidden = Symbol("_vsh");
|
|
10564
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
10565
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
10531
10566
|
const vShow = {
|
|
10532
10567
|
// used for prop mismatch check during hydration
|
|
10533
10568
|
name: "show",
|
|
@@ -10576,7 +10611,7 @@ function initVShowForSSR() {
|
|
|
10576
10611
|
};
|
|
10577
10612
|
}
|
|
10578
10613
|
|
|
10579
|
-
const CSS_VAR_TEXT = Symbol("");
|
|
10614
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("");
|
|
10580
10615
|
function useCssVars(getter) {
|
|
10581
10616
|
return;
|
|
10582
10617
|
}
|
|
@@ -10698,7 +10733,7 @@ function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBoolean
|
|
|
10698
10733
|
const isEnumeratedAttr = /* @__PURE__ */ makeMap("contenteditable,draggable,spellcheck") ;
|
|
10699
10734
|
function compatCoerceAttr(el, key, value, instance = null) {
|
|
10700
10735
|
if (isEnumeratedAttr(key)) {
|
|
10701
|
-
const v2CoercedValue = value ===
|
|
10736
|
+
const v2CoercedValue = value === void 0 ? null : value === null || value === false || value === "false" ? "false" : "true";
|
|
10702
10737
|
if (v2CoercedValue && compatUtils.softAssertCompatEnabled(
|
|
10703
10738
|
"ATTR_ENUMERATED_COERCION",
|
|
10704
10739
|
instance,
|
|
@@ -10783,7 +10818,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
10783
10818
|
function removeEventListener(el, event, handler, options) {
|
|
10784
10819
|
el.removeEventListener(event, handler, options);
|
|
10785
10820
|
}
|
|
10786
|
-
const veiKey = Symbol("_vei");
|
|
10821
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
10787
10822
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
10788
10823
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
10789
10824
|
const existingInvoker = invokers[rawName];
|
|
@@ -11349,8 +11384,8 @@ function useCssModule(name = "$style") {
|
|
|
11349
11384
|
|
|
11350
11385
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
11351
11386
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
11352
|
-
const moveCbKey = Symbol("_moveCb");
|
|
11353
|
-
const enterCbKey = Symbol("_enterCb");
|
|
11387
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
11388
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
11354
11389
|
const decorate = (t) => {
|
|
11355
11390
|
delete t.props.mode;
|
|
11356
11391
|
{
|
|
@@ -11510,7 +11545,7 @@ function onCompositionEnd(e) {
|
|
|
11510
11545
|
target.dispatchEvent(new Event("input"));
|
|
11511
11546
|
}
|
|
11512
11547
|
}
|
|
11513
|
-
const assignKey = Symbol("_assign");
|
|
11548
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
11514
11549
|
function castValue(value, trim, number) {
|
|
11515
11550
|
if (trim) value = value.trim();
|
|
11516
11551
|
if (number) value = looseToNumber(value);
|
|
@@ -12116,81 +12151,81 @@ function createCompatVue() {
|
|
|
12116
12151
|
return Vue;
|
|
12117
12152
|
}
|
|
12118
12153
|
|
|
12119
|
-
const FRAGMENT = Symbol(``);
|
|
12120
|
-
const TELEPORT = Symbol(``);
|
|
12121
|
-
const SUSPENSE = Symbol(``);
|
|
12122
|
-
const KEEP_ALIVE = Symbol(``);
|
|
12123
|
-
const BASE_TRANSITION = Symbol(
|
|
12154
|
+
const FRAGMENT = /* @__PURE__ */ Symbol(``);
|
|
12155
|
+
const TELEPORT = /* @__PURE__ */ Symbol(``);
|
|
12156
|
+
const SUSPENSE = /* @__PURE__ */ Symbol(``);
|
|
12157
|
+
const KEEP_ALIVE = /* @__PURE__ */ Symbol(``);
|
|
12158
|
+
const BASE_TRANSITION = /* @__PURE__ */ Symbol(
|
|
12124
12159
|
``
|
|
12125
12160
|
);
|
|
12126
|
-
const OPEN_BLOCK = Symbol(``);
|
|
12127
|
-
const CREATE_BLOCK = Symbol(``);
|
|
12128
|
-
const CREATE_ELEMENT_BLOCK = Symbol(
|
|
12161
|
+
const OPEN_BLOCK = /* @__PURE__ */ Symbol(``);
|
|
12162
|
+
const CREATE_BLOCK = /* @__PURE__ */ Symbol(``);
|
|
12163
|
+
const CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(
|
|
12129
12164
|
``
|
|
12130
12165
|
);
|
|
12131
|
-
const CREATE_VNODE = Symbol(``);
|
|
12132
|
-
const CREATE_ELEMENT_VNODE = Symbol(
|
|
12166
|
+
const CREATE_VNODE = /* @__PURE__ */ Symbol(``);
|
|
12167
|
+
const CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(
|
|
12133
12168
|
``
|
|
12134
12169
|
);
|
|
12135
|
-
const CREATE_COMMENT = Symbol(
|
|
12170
|
+
const CREATE_COMMENT = /* @__PURE__ */ Symbol(
|
|
12136
12171
|
``
|
|
12137
12172
|
);
|
|
12138
|
-
const CREATE_TEXT = Symbol(
|
|
12173
|
+
const CREATE_TEXT = /* @__PURE__ */ Symbol(
|
|
12139
12174
|
``
|
|
12140
12175
|
);
|
|
12141
|
-
const CREATE_STATIC = Symbol(
|
|
12176
|
+
const CREATE_STATIC = /* @__PURE__ */ Symbol(
|
|
12142
12177
|
``
|
|
12143
12178
|
);
|
|
12144
|
-
const RESOLVE_COMPONENT = Symbol(
|
|
12179
|
+
const RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(
|
|
12145
12180
|
``
|
|
12146
12181
|
);
|
|
12147
|
-
const RESOLVE_DYNAMIC_COMPONENT = Symbol(
|
|
12182
|
+
const RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(
|
|
12148
12183
|
``
|
|
12149
12184
|
);
|
|
12150
|
-
const RESOLVE_DIRECTIVE = Symbol(
|
|
12185
|
+
const RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(
|
|
12151
12186
|
``
|
|
12152
12187
|
);
|
|
12153
|
-
const RESOLVE_FILTER = Symbol(
|
|
12188
|
+
const RESOLVE_FILTER = /* @__PURE__ */ Symbol(
|
|
12154
12189
|
``
|
|
12155
12190
|
);
|
|
12156
|
-
const WITH_DIRECTIVES = Symbol(
|
|
12191
|
+
const WITH_DIRECTIVES = /* @__PURE__ */ Symbol(
|
|
12157
12192
|
``
|
|
12158
12193
|
);
|
|
12159
|
-
const RENDER_LIST = Symbol(``);
|
|
12160
|
-
const RENDER_SLOT = Symbol(``);
|
|
12161
|
-
const CREATE_SLOTS = Symbol(``);
|
|
12162
|
-
const TO_DISPLAY_STRING = Symbol(
|
|
12194
|
+
const RENDER_LIST = /* @__PURE__ */ Symbol(``);
|
|
12195
|
+
const RENDER_SLOT = /* @__PURE__ */ Symbol(``);
|
|
12196
|
+
const CREATE_SLOTS = /* @__PURE__ */ Symbol(``);
|
|
12197
|
+
const TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(
|
|
12163
12198
|
``
|
|
12164
12199
|
);
|
|
12165
|
-
const MERGE_PROPS = Symbol(``);
|
|
12166
|
-
const NORMALIZE_CLASS = Symbol(
|
|
12200
|
+
const MERGE_PROPS = /* @__PURE__ */ Symbol(``);
|
|
12201
|
+
const NORMALIZE_CLASS = /* @__PURE__ */ Symbol(
|
|
12167
12202
|
``
|
|
12168
12203
|
);
|
|
12169
|
-
const NORMALIZE_STYLE = Symbol(
|
|
12204
|
+
const NORMALIZE_STYLE = /* @__PURE__ */ Symbol(
|
|
12170
12205
|
``
|
|
12171
12206
|
);
|
|
12172
|
-
const NORMALIZE_PROPS = Symbol(
|
|
12207
|
+
const NORMALIZE_PROPS = /* @__PURE__ */ Symbol(
|
|
12173
12208
|
``
|
|
12174
12209
|
);
|
|
12175
|
-
const GUARD_REACTIVE_PROPS = Symbol(
|
|
12210
|
+
const GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(
|
|
12176
12211
|
``
|
|
12177
12212
|
);
|
|
12178
|
-
const TO_HANDLERS = Symbol(``);
|
|
12179
|
-
const CAMELIZE = Symbol(``);
|
|
12180
|
-
const CAPITALIZE = Symbol(``);
|
|
12181
|
-
const TO_HANDLER_KEY = Symbol(
|
|
12213
|
+
const TO_HANDLERS = /* @__PURE__ */ Symbol(``);
|
|
12214
|
+
const CAMELIZE = /* @__PURE__ */ Symbol(``);
|
|
12215
|
+
const CAPITALIZE = /* @__PURE__ */ Symbol(``);
|
|
12216
|
+
const TO_HANDLER_KEY = /* @__PURE__ */ Symbol(
|
|
12182
12217
|
``
|
|
12183
12218
|
);
|
|
12184
|
-
const SET_BLOCK_TRACKING = Symbol(
|
|
12219
|
+
const SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(
|
|
12185
12220
|
``
|
|
12186
12221
|
);
|
|
12187
|
-
const PUSH_SCOPE_ID = Symbol(``);
|
|
12188
|
-
const POP_SCOPE_ID = Symbol(``);
|
|
12189
|
-
const WITH_CTX = Symbol(``);
|
|
12190
|
-
const UNREF = Symbol(``);
|
|
12191
|
-
const IS_REF = Symbol(``);
|
|
12192
|
-
const WITH_MEMO = Symbol(``);
|
|
12193
|
-
const IS_MEMO_SAME = Symbol(``);
|
|
12222
|
+
const PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(``);
|
|
12223
|
+
const POP_SCOPE_ID = /* @__PURE__ */ Symbol(``);
|
|
12224
|
+
const WITH_CTX = /* @__PURE__ */ Symbol(``);
|
|
12225
|
+
const UNREF = /* @__PURE__ */ Symbol(``);
|
|
12226
|
+
const IS_REF = /* @__PURE__ */ Symbol(``);
|
|
12227
|
+
const WITH_MEMO = /* @__PURE__ */ Symbol(``);
|
|
12228
|
+
const IS_MEMO_SAME = /* @__PURE__ */ Symbol(``);
|
|
12194
12229
|
const helperNameMap = {
|
|
12195
12230
|
[FRAGMENT]: `Fragment`,
|
|
12196
12231
|
[TELEPORT]: `Teleport`,
|
|
@@ -12460,8 +12495,8 @@ class Tokenizer {
|
|
|
12460
12495
|
this.currentSequence = void 0;
|
|
12461
12496
|
this.sequenceIndex = 0;
|
|
12462
12497
|
{
|
|
12463
|
-
this.entityDecoder = new
|
|
12464
|
-
|
|
12498
|
+
this.entityDecoder = new decode.EntityDecoder(
|
|
12499
|
+
decode.htmlDecodeTree,
|
|
12465
12500
|
(cp, consumed) => this.emitCodePoint(cp, consumed)
|
|
12466
12501
|
);
|
|
12467
12502
|
}
|
|
@@ -12491,14 +12526,28 @@ class Tokenizer {
|
|
|
12491
12526
|
getPos(index) {
|
|
12492
12527
|
let line = 1;
|
|
12493
12528
|
let column = index + 1;
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
|
|
12529
|
+
const length = this.newlines.length;
|
|
12530
|
+
let j = -1;
|
|
12531
|
+
if (length > 100) {
|
|
12532
|
+
let l = -1;
|
|
12533
|
+
let r = length;
|
|
12534
|
+
while (l + 1 < r) {
|
|
12535
|
+
const m = l + r >>> 1;
|
|
12536
|
+
this.newlines[m] < index ? l = m : r = m;
|
|
12537
|
+
}
|
|
12538
|
+
j = l;
|
|
12539
|
+
} else {
|
|
12540
|
+
for (let i = length - 1; i >= 0; i--) {
|
|
12541
|
+
if (index > this.newlines[i]) {
|
|
12542
|
+
j = i;
|
|
12543
|
+
break;
|
|
12544
|
+
}
|
|
12500
12545
|
}
|
|
12501
12546
|
}
|
|
12547
|
+
if (j >= 0) {
|
|
12548
|
+
line = j + 2;
|
|
12549
|
+
column = index - this.newlines[j];
|
|
12550
|
+
}
|
|
12502
12551
|
return {
|
|
12503
12552
|
column,
|
|
12504
12553
|
line,
|
|
@@ -13011,7 +13060,7 @@ class Tokenizer {
|
|
|
13011
13060
|
this.state = 33;
|
|
13012
13061
|
this.entityStart = this.index;
|
|
13013
13062
|
this.entityDecoder.startEntity(
|
|
13014
|
-
this.baseState === 1 || this.baseState === 32 ?
|
|
13063
|
+
this.baseState === 1 || this.baseState === 32 ? decode.DecodingMode.Legacy : decode.DecodingMode.Attribute
|
|
13015
13064
|
);
|
|
13016
13065
|
}
|
|
13017
13066
|
}
|
|
@@ -13230,7 +13279,7 @@ class Tokenizer {
|
|
|
13230
13279
|
this.sectionStart = this.entityStart + consumed;
|
|
13231
13280
|
this.index = this.sectionStart - 1;
|
|
13232
13281
|
this.cbs.onattribentity(
|
|
13233
|
-
|
|
13282
|
+
decode.fromCodePoint(cp),
|
|
13234
13283
|
this.entityStart,
|
|
13235
13284
|
this.sectionStart
|
|
13236
13285
|
);
|
|
@@ -13241,7 +13290,7 @@ class Tokenizer {
|
|
|
13241
13290
|
this.sectionStart = this.entityStart + consumed;
|
|
13242
13291
|
this.index = this.sectionStart - 1;
|
|
13243
13292
|
this.cbs.ontextentity(
|
|
13244
|
-
|
|
13293
|
+
decode.fromCodePoint(cp),
|
|
13245
13294
|
this.entityStart,
|
|
13246
13295
|
this.sectionStart
|
|
13247
13296
|
);
|
|
@@ -13319,7 +13368,7 @@ const errorMessages = {
|
|
|
13319
13368
|
[32]: `v-for has invalid expression.`,
|
|
13320
13369
|
[33]: `<template v-for> key should be placed on the <template> tag.`,
|
|
13321
13370
|
[34]: `v-bind is missing expression.`,
|
|
13322
|
-
[
|
|
13371
|
+
[53]: `v-bind with same-name shorthand only allows static argument.`,
|
|
13323
13372
|
[35]: `v-on is missing expression.`,
|
|
13324
13373
|
[36]: `Unexpected custom directive on <slot> outlet.`,
|
|
13325
13374
|
[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.`,
|
|
@@ -13331,16 +13380,17 @@ const errorMessages = {
|
|
|
13331
13380
|
[43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
|
|
13332
13381
|
[44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
13333
13382
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
|
|
13334
|
-
[45]: `
|
|
13335
|
-
[46]:
|
|
13336
|
-
[
|
|
13383
|
+
[45]: `v-model cannot be used on a const binding because it is not writable.`,
|
|
13384
|
+
[46]: `Error parsing JavaScript expression: `,
|
|
13385
|
+
[47]: `<KeepAlive> expects exactly one child component.`,
|
|
13386
|
+
[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.`,
|
|
13337
13387
|
// generic errors
|
|
13338
|
-
[
|
|
13339
|
-
[
|
|
13340
|
-
[
|
|
13341
|
-
[
|
|
13388
|
+
[48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
|
|
13389
|
+
[49]: `ES module mode is not supported in this build of compiler.`,
|
|
13390
|
+
[50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
|
13391
|
+
[51]: `"scopeId" option is only supported in module mode.`,
|
|
13342
13392
|
// just to fulfill types
|
|
13343
|
-
[
|
|
13393
|
+
[54]: ``
|
|
13344
13394
|
};
|
|
13345
13395
|
|
|
13346
13396
|
function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = /* @__PURE__ */ Object.create(null)) {
|
|
@@ -14059,7 +14109,7 @@ const tokenizer = new Tokenizer(stack, {
|
|
|
14059
14109
|
let exp = getSlice(innerStart, innerEnd);
|
|
14060
14110
|
if (exp.includes("&")) {
|
|
14061
14111
|
{
|
|
14062
|
-
exp =
|
|
14112
|
+
exp = decode.decodeHTML(exp);
|
|
14063
14113
|
}
|
|
14064
14114
|
}
|
|
14065
14115
|
addNode({
|
|
@@ -14690,7 +14740,7 @@ function createExp(content, isStatic = false, loc, constType = 0, parseMode = 0
|
|
|
14690
14740
|
}
|
|
14691
14741
|
} catch (e) {
|
|
14692
14742
|
exp.ast = false;
|
|
14693
|
-
emitError(
|
|
14743
|
+
emitError(46, loc.start.offset, e.message);
|
|
14694
14744
|
}
|
|
14695
14745
|
}
|
|
14696
14746
|
return exp;
|
|
@@ -16221,7 +16271,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
16221
16271
|
} catch (e) {
|
|
16222
16272
|
context.onError(
|
|
16223
16273
|
createCompilerError(
|
|
16224
|
-
|
|
16274
|
+
46,
|
|
16225
16275
|
node.loc,
|
|
16226
16276
|
void 0,
|
|
16227
16277
|
e.message
|
|
@@ -17986,6 +18036,10 @@ const transformModel$1 = (dir, node, context) => {
|
|
|
17986
18036
|
context.onError(createCompilerError(44, exp.loc));
|
|
17987
18037
|
return createTransformProps();
|
|
17988
18038
|
}
|
|
18039
|
+
if (bindingType === "literal-const" || bindingType === "setup-const") {
|
|
18040
|
+
context.onError(createCompilerError(45, exp.loc));
|
|
18041
|
+
return createTransformProps();
|
|
18042
|
+
}
|
|
17989
18043
|
const maybeRef = context.inline && (bindingType === "setup-let" || bindingType === "setup-ref" || bindingType === "setup-maybe-ref");
|
|
17990
18044
|
if (!expString.trim() || !isMemberExpression(exp, context) && !maybeRef) {
|
|
17991
18045
|
context.onError(
|
|
@@ -18234,7 +18288,7 @@ const transformVBindShorthand = (node, context) => {
|
|
|
18234
18288
|
if (arg.type !== 4 || !arg.isStatic) {
|
|
18235
18289
|
context.onError(
|
|
18236
18290
|
createCompilerError(
|
|
18237
|
-
|
|
18291
|
+
53,
|
|
18238
18292
|
arg.loc
|
|
18239
18293
|
)
|
|
18240
18294
|
);
|
|
@@ -18282,10 +18336,10 @@ function baseCompile(source, options = {}) {
|
|
|
18282
18336
|
const isModuleMode = options.mode === "module";
|
|
18283
18337
|
const prefixIdentifiers = options.prefixIdentifiers === true || isModuleMode;
|
|
18284
18338
|
if (!prefixIdentifiers && options.cacheHandlers) {
|
|
18285
|
-
onError(createCompilerError(
|
|
18339
|
+
onError(createCompilerError(50));
|
|
18286
18340
|
}
|
|
18287
18341
|
if (options.scopeId && !isModuleMode) {
|
|
18288
|
-
onError(createCompilerError(
|
|
18342
|
+
onError(createCompilerError(51));
|
|
18289
18343
|
}
|
|
18290
18344
|
const resolvedOptions = extend$1({}, options, {
|
|
18291
18345
|
prefixIdentifiers
|
|
@@ -18319,26 +18373,26 @@ function baseCompile(source, options = {}) {
|
|
|
18319
18373
|
|
|
18320
18374
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
18321
18375
|
|
|
18322
|
-
const V_MODEL_RADIO = Symbol(``);
|
|
18323
|
-
const V_MODEL_CHECKBOX = Symbol(
|
|
18376
|
+
const V_MODEL_RADIO = /* @__PURE__ */ Symbol(``);
|
|
18377
|
+
const V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(
|
|
18324
18378
|
``
|
|
18325
18379
|
);
|
|
18326
|
-
const V_MODEL_TEXT = Symbol(``);
|
|
18327
|
-
const V_MODEL_SELECT = Symbol(
|
|
18380
|
+
const V_MODEL_TEXT = /* @__PURE__ */ Symbol(``);
|
|
18381
|
+
const V_MODEL_SELECT = /* @__PURE__ */ Symbol(
|
|
18328
18382
|
``
|
|
18329
18383
|
);
|
|
18330
|
-
const V_MODEL_DYNAMIC = Symbol(
|
|
18384
|
+
const V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(
|
|
18331
18385
|
``
|
|
18332
18386
|
);
|
|
18333
|
-
const V_ON_WITH_MODIFIERS = Symbol(
|
|
18387
|
+
const V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(
|
|
18334
18388
|
``
|
|
18335
18389
|
);
|
|
18336
|
-
const V_ON_WITH_KEYS = Symbol(
|
|
18390
|
+
const V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(
|
|
18337
18391
|
``
|
|
18338
18392
|
);
|
|
18339
|
-
const V_SHOW = Symbol(``);
|
|
18340
|
-
const TRANSITION = Symbol(``);
|
|
18341
|
-
const TRANSITION_GROUP = Symbol(
|
|
18393
|
+
const V_SHOW = /* @__PURE__ */ Symbol(``);
|
|
18394
|
+
const TRANSITION = /* @__PURE__ */ Symbol(``);
|
|
18395
|
+
const TRANSITION_GROUP = /* @__PURE__ */ Symbol(
|
|
18342
18396
|
``
|
|
18343
18397
|
);
|
|
18344
18398
|
registerRuntimeHelpers({
|
|
@@ -18435,29 +18489,29 @@ function createDOMCompilerError(code, loc) {
|
|
|
18435
18489
|
);
|
|
18436
18490
|
}
|
|
18437
18491
|
const DOMErrorMessages = {
|
|
18438
|
-
[
|
|
18439
|
-
[
|
|
18440
|
-
[
|
|
18441
|
-
[
|
|
18442
|
-
[
|
|
18443
|
-
[
|
|
18444
|
-
[
|
|
18445
|
-
[
|
|
18446
|
-
[
|
|
18447
|
-
[
|
|
18448
|
-
[
|
|
18492
|
+
[54]: `v-html is missing expression.`,
|
|
18493
|
+
[55]: `v-html will override element children.`,
|
|
18494
|
+
[56]: `v-text is missing expression.`,
|
|
18495
|
+
[57]: `v-text will override element children.`,
|
|
18496
|
+
[58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
|
|
18497
|
+
[59]: `v-model argument is not supported on plain elements.`,
|
|
18498
|
+
[60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
|
|
18499
|
+
[61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
|
|
18500
|
+
[62]: `v-show is missing expression.`,
|
|
18501
|
+
[63]: `<Transition> expects exactly one child element or component.`,
|
|
18502
|
+
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
|
|
18449
18503
|
};
|
|
18450
18504
|
|
|
18451
18505
|
const transformVHtml = (dir, node, context) => {
|
|
18452
18506
|
const { exp, loc } = dir;
|
|
18453
18507
|
if (!exp) {
|
|
18454
18508
|
context.onError(
|
|
18455
|
-
createDOMCompilerError(
|
|
18509
|
+
createDOMCompilerError(54, loc)
|
|
18456
18510
|
);
|
|
18457
18511
|
}
|
|
18458
18512
|
if (node.children.length) {
|
|
18459
18513
|
context.onError(
|
|
18460
|
-
createDOMCompilerError(
|
|
18514
|
+
createDOMCompilerError(55, loc)
|
|
18461
18515
|
);
|
|
18462
18516
|
node.children.length = 0;
|
|
18463
18517
|
}
|
|
@@ -18475,12 +18529,12 @@ const transformVText = (dir, node, context) => {
|
|
|
18475
18529
|
const { exp, loc } = dir;
|
|
18476
18530
|
if (!exp) {
|
|
18477
18531
|
context.onError(
|
|
18478
|
-
createDOMCompilerError(
|
|
18532
|
+
createDOMCompilerError(56, loc)
|
|
18479
18533
|
);
|
|
18480
18534
|
}
|
|
18481
18535
|
if (node.children.length) {
|
|
18482
18536
|
context.onError(
|
|
18483
|
-
createDOMCompilerError(
|
|
18537
|
+
createDOMCompilerError(57, loc)
|
|
18484
18538
|
);
|
|
18485
18539
|
node.children.length = 0;
|
|
18486
18540
|
}
|
|
@@ -18506,7 +18560,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18506
18560
|
if (dir.arg) {
|
|
18507
18561
|
context.onError(
|
|
18508
18562
|
createDOMCompilerError(
|
|
18509
|
-
|
|
18563
|
+
59,
|
|
18510
18564
|
dir.arg.loc
|
|
18511
18565
|
)
|
|
18512
18566
|
);
|
|
@@ -18533,7 +18587,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18533
18587
|
isInvalidType = true;
|
|
18534
18588
|
context.onError(
|
|
18535
18589
|
createDOMCompilerError(
|
|
18536
|
-
|
|
18590
|
+
60,
|
|
18537
18591
|
dir.loc
|
|
18538
18592
|
)
|
|
18539
18593
|
);
|
|
@@ -18552,7 +18606,7 @@ const transformModel = (dir, node, context) => {
|
|
|
18552
18606
|
} else {
|
|
18553
18607
|
context.onError(
|
|
18554
18608
|
createDOMCompilerError(
|
|
18555
|
-
|
|
18609
|
+
58,
|
|
18556
18610
|
dir.loc
|
|
18557
18611
|
)
|
|
18558
18612
|
);
|
|
@@ -18658,7 +18712,7 @@ const transformShow = (dir, node, context) => {
|
|
|
18658
18712
|
const { exp, loc } = dir;
|
|
18659
18713
|
if (!exp) {
|
|
18660
18714
|
context.onError(
|
|
18661
|
-
createDOMCompilerError(
|
|
18715
|
+
createDOMCompilerError(62, loc)
|
|
18662
18716
|
);
|
|
18663
18717
|
}
|
|
18664
18718
|
return {
|