@vtj/materials 0.8.149 → 0.8.151
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/assets/antdv/index.umd.js +2 -2
- package/dist/assets/charts/index.umd.js +2 -2
- package/dist/assets/element/index.umd.js +2 -2
- package/dist/assets/ui/index.umd.js +2 -2
- package/dist/assets/vant/index.umd.js +2 -2
- package/dist/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/deps/@vtj/ui/index.umd.js +9 -9
- package/dist/deps/@vtj/ui/style.css +1 -1
- package/dist/deps/@vtj/utils/index.umd.js +14 -14
- package/dist/deps/element-plus/index.css +1 -1
- package/dist/deps/element-plus/index.full.min.js +11 -11
- package/dist/deps/element-plus/zh-cn.js +1 -1
- package/dist/deps/vue/vue.global.js +72 -60
- package/dist/deps/vue/vue.global.prod.js +6 -6
- package/package.json +5 -5
- package/src/ui/panel.ts +1 -0
- package/src/version.ts +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* vue v3.5.
|
2
|
+
* vue v3.5.10
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
4
4
|
* @license MIT
|
5
5
|
**/
|
@@ -109,6 +109,12 @@ var Vue = (function (exports) {
|
|
109
109
|
const getGlobalThis = () => {
|
110
110
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
111
111
|
};
|
112
|
+
function genCacheKey(source, options) {
|
113
|
+
return source + JSON.stringify(
|
114
|
+
options,
|
115
|
+
(_, val) => typeof val === "function" ? val.toString() : val
|
116
|
+
);
|
117
|
+
}
|
112
118
|
|
113
119
|
const PatchFlagNames = {
|
114
120
|
[1]: `TEXT`,
|
@@ -642,9 +648,17 @@ var Vue = (function (exports) {
|
|
642
648
|
let error;
|
643
649
|
while (batchedSub) {
|
644
650
|
let e = batchedSub;
|
651
|
+
let next;
|
652
|
+
while (e) {
|
653
|
+
if (!(e.flags & 1)) {
|
654
|
+
e.flags &= ~8;
|
655
|
+
}
|
656
|
+
e = e.next;
|
657
|
+
}
|
658
|
+
e = batchedSub;
|
645
659
|
batchedSub = void 0;
|
646
660
|
while (e) {
|
647
|
-
|
661
|
+
next = e.next;
|
648
662
|
e.next = void 0;
|
649
663
|
e.flags &= ~8;
|
650
664
|
if (e.flags & 1) {
|
@@ -667,7 +681,7 @@ var Vue = (function (exports) {
|
|
667
681
|
link.dep.activeLink = link;
|
668
682
|
}
|
669
683
|
}
|
670
|
-
function cleanupDeps(sub
|
684
|
+
function cleanupDeps(sub) {
|
671
685
|
let head;
|
672
686
|
let tail = sub.depsTail;
|
673
687
|
let link = tail;
|
@@ -675,7 +689,7 @@ var Vue = (function (exports) {
|
|
675
689
|
const prev = link.prevDep;
|
676
690
|
if (link.version === -1) {
|
677
691
|
if (link === tail) tail = prev;
|
678
|
-
removeSub(link
|
692
|
+
removeSub(link);
|
679
693
|
removeDep(link);
|
680
694
|
} else {
|
681
695
|
head = link;
|
@@ -730,11 +744,11 @@ var Vue = (function (exports) {
|
|
730
744
|
} finally {
|
731
745
|
activeSub = prevSub;
|
732
746
|
shouldTrack = prevShouldTrack;
|
733
|
-
cleanupDeps(computed
|
747
|
+
cleanupDeps(computed);
|
734
748
|
computed.flags &= ~2;
|
735
749
|
}
|
736
750
|
}
|
737
|
-
function removeSub(link,
|
751
|
+
function removeSub(link, soft = false) {
|
738
752
|
const { dep, prevSub, nextSub } = link;
|
739
753
|
if (prevSub) {
|
740
754
|
prevSub.nextSub = nextSub;
|
@@ -750,17 +764,15 @@ var Vue = (function (exports) {
|
|
750
764
|
if (dep.subsHead === link) {
|
751
765
|
dep.subsHead = nextSub;
|
752
766
|
}
|
753
|
-
if (!dep.subs) {
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
removeSub(l, true);
|
758
|
-
}
|
759
|
-
} else if (dep.map && !fromComputed) {
|
760
|
-
dep.map.delete(dep.key);
|
761
|
-
if (!dep.map.size) targetMap.delete(dep.target);
|
767
|
+
if (!dep.subs && dep.computed) {
|
768
|
+
dep.computed.flags &= ~4;
|
769
|
+
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
770
|
+
removeSub(l, true);
|
762
771
|
}
|
763
772
|
}
|
773
|
+
if (!soft && !--dep.sc && dep.map) {
|
774
|
+
dep.map.delete(dep.key);
|
775
|
+
}
|
764
776
|
}
|
765
777
|
function removeDep(link) {
|
766
778
|
const { prevDep, nextDep } = link;
|
@@ -845,6 +857,10 @@ var Vue = (function (exports) {
|
|
845
857
|
this.target = void 0;
|
846
858
|
this.map = void 0;
|
847
859
|
this.key = void 0;
|
860
|
+
/**
|
861
|
+
* Subscriber counter
|
862
|
+
*/
|
863
|
+
this.sc = 0;
|
848
864
|
{
|
849
865
|
this.subsHead = void 0;
|
850
866
|
}
|
@@ -863,9 +879,7 @@ var Vue = (function (exports) {
|
|
863
879
|
activeSub.depsTail.nextDep = link;
|
864
880
|
activeSub.depsTail = link;
|
865
881
|
}
|
866
|
-
|
867
|
-
addSub(link);
|
868
|
-
}
|
882
|
+
addSub(link);
|
869
883
|
} else if (link.version === -1) {
|
870
884
|
link.version = this.version;
|
871
885
|
if (link.nextDep) {
|
@@ -929,22 +943,25 @@ var Vue = (function (exports) {
|
|
929
943
|
}
|
930
944
|
}
|
931
945
|
function addSub(link) {
|
932
|
-
|
933
|
-
if (
|
934
|
-
computed
|
935
|
-
|
936
|
-
|
946
|
+
link.dep.sc++;
|
947
|
+
if (link.sub.flags & 4) {
|
948
|
+
const computed = link.dep.computed;
|
949
|
+
if (computed && !link.dep.subs) {
|
950
|
+
computed.flags |= 4 | 16;
|
951
|
+
for (let l = computed.deps; l; l = l.nextDep) {
|
952
|
+
addSub(l);
|
953
|
+
}
|
937
954
|
}
|
955
|
+
const currentTail = link.dep.subs;
|
956
|
+
if (currentTail !== link) {
|
957
|
+
link.prevSub = currentTail;
|
958
|
+
if (currentTail) currentTail.nextSub = link;
|
959
|
+
}
|
960
|
+
if (link.dep.subsHead === void 0) {
|
961
|
+
link.dep.subsHead = link;
|
962
|
+
}
|
963
|
+
link.dep.subs = link;
|
938
964
|
}
|
939
|
-
const currentTail = link.dep.subs;
|
940
|
-
if (currentTail !== link) {
|
941
|
-
link.prevSub = currentTail;
|
942
|
-
if (currentTail) currentTail.nextSub = link;
|
943
|
-
}
|
944
|
-
if (link.dep.subsHead === void 0) {
|
945
|
-
link.dep.subsHead = link;
|
946
|
-
}
|
947
|
-
link.dep.subs = link;
|
948
965
|
}
|
949
966
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
950
967
|
const ITERATE_KEY = Symbol(
|
@@ -1048,8 +1065,8 @@ var Vue = (function (exports) {
|
|
1048
1065
|
endBatch();
|
1049
1066
|
}
|
1050
1067
|
function getDepFromReactive(object, key) {
|
1051
|
-
|
1052
|
-
return
|
1068
|
+
const depMap = targetMap.get(object);
|
1069
|
+
return depMap && depMap.get(key);
|
1053
1070
|
}
|
1054
1071
|
|
1055
1072
|
function reactiveReadArray(array) {
|
@@ -1985,6 +2002,10 @@ var Vue = (function (exports) {
|
|
1985
2002
|
* @internal
|
1986
2003
|
*/
|
1987
2004
|
this.globalVersion = globalVersion - 1;
|
2005
|
+
/**
|
2006
|
+
* @internal
|
2007
|
+
*/
|
2008
|
+
this.next = void 0;
|
1988
2009
|
// for backwards compat
|
1989
2010
|
this.effect = this;
|
1990
2011
|
this["__v_isReadonly"] = !setter;
|
@@ -3701,6 +3722,7 @@ var Vue = (function (exports) {
|
|
3701
3722
|
`useId() is called when there is no active component instance to be associated with.`
|
3702
3723
|
);
|
3703
3724
|
}
|
3725
|
+
return "";
|
3704
3726
|
}
|
3705
3727
|
function markAsyncBoundary(instance) {
|
3706
3728
|
instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
|
@@ -9729,7 +9751,7 @@ Component that was made reactive: `,
|
|
9729
9751
|
// #3666, avoid reference pollution when reusing vnode
|
9730
9752
|
child.slice()
|
9731
9753
|
);
|
9732
|
-
} else if (
|
9754
|
+
} else if (isVNode(child)) {
|
9733
9755
|
return cloneIfMounted(child);
|
9734
9756
|
} else {
|
9735
9757
|
return createVNode(Text, null, String(child));
|
@@ -10460,7 +10482,7 @@ Component that was made reactive: `,
|
|
10460
10482
|
return true;
|
10461
10483
|
}
|
10462
10484
|
|
10463
|
-
const version = "3.5.
|
10485
|
+
const version = "3.5.10";
|
10464
10486
|
const warn = warn$1 ;
|
10465
10487
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
10466
10488
|
const devtools = devtools$1 ;
|
@@ -11228,6 +11250,11 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11228
11250
|
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
|
11229
11251
|
patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
|
11230
11252
|
}
|
11253
|
+
} else if (
|
11254
|
+
// #11081 force set props for possible async custom element
|
11255
|
+
el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
|
11256
|
+
) {
|
11257
|
+
patchDOMProp(el, camelize(key), nextValue);
|
11231
11258
|
} else {
|
11232
11259
|
if (key === "true-value") {
|
11233
11260
|
el._trueValue = nextValue;
|
@@ -11268,13 +11295,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11268
11295
|
if (isNativeOn(key) && isString(value)) {
|
11269
11296
|
return false;
|
11270
11297
|
}
|
11271
|
-
|
11272
|
-
return true;
|
11273
|
-
}
|
11274
|
-
if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
|
11275
|
-
return true;
|
11276
|
-
}
|
11277
|
-
return false;
|
11298
|
+
return key in el;
|
11278
11299
|
}
|
11279
11300
|
|
11280
11301
|
const REMOVAL = {};
|
@@ -11939,7 +11960,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11939
11960
|
setChecked(el, binding, vnode);
|
11940
11961
|
}
|
11941
11962
|
};
|
11942
|
-
function setChecked(el, { value
|
11963
|
+
function setChecked(el, { value }, vnode) {
|
11943
11964
|
el._modelValue = value;
|
11944
11965
|
let checked;
|
11945
11966
|
if (isArray(value)) {
|
@@ -11989,19 +12010,19 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11989
12010
|
},
|
11990
12011
|
// set value in mounted & updated because <select> relies on its children
|
11991
12012
|
// <option>s.
|
11992
|
-
mounted(el, { value
|
12013
|
+
mounted(el, { value }) {
|
11993
12014
|
setSelected(el, value);
|
11994
12015
|
},
|
11995
12016
|
beforeUpdate(el, _binding, vnode) {
|
11996
12017
|
el[assignKey] = getModelAssigner(vnode);
|
11997
12018
|
},
|
11998
|
-
updated(el, { value
|
12019
|
+
updated(el, { value }) {
|
11999
12020
|
if (!el._assigning) {
|
12000
12021
|
setSelected(el, value);
|
12001
12022
|
}
|
12002
12023
|
}
|
12003
12024
|
};
|
12004
|
-
function setSelected(el, value
|
12025
|
+
function setSelected(el, value) {
|
12005
12026
|
const isMultiple = el.multiple;
|
12006
12027
|
const isArrayValue = isArray(value);
|
12007
12028
|
if (isMultiple && !isArrayValue && !isSet(value)) {
|
@@ -17829,15 +17850,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
17829
17850
|
{
|
17830
17851
|
initDev();
|
17831
17852
|
}
|
17832
|
-
const compileCache = /* @__PURE__ */
|
17833
|
-
function getCache(options) {
|
17834
|
-
let c = compileCache.get(options != null ? options : EMPTY_OBJ);
|
17835
|
-
if (!c) {
|
17836
|
-
c = /* @__PURE__ */ Object.create(null);
|
17837
|
-
compileCache.set(options != null ? options : EMPTY_OBJ, c);
|
17838
|
-
}
|
17839
|
-
return c;
|
17840
|
-
}
|
17853
|
+
const compileCache = /* @__PURE__ */ Object.create(null);
|
17841
17854
|
function compileToFunction(template, options) {
|
17842
17855
|
if (!isString(template)) {
|
17843
17856
|
if (template.nodeType) {
|
@@ -17847,9 +17860,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
17847
17860
|
return NOOP;
|
17848
17861
|
}
|
17849
17862
|
}
|
17850
|
-
const key = template;
|
17851
|
-
const
|
17852
|
-
const cached = cache[key];
|
17863
|
+
const key = genCacheKey(template, options);
|
17864
|
+
const cached = compileCache[key];
|
17853
17865
|
if (cached) {
|
17854
17866
|
return cached;
|
17855
17867
|
}
|
@@ -17884,7 +17896,7 @@ ${codeFrame}` : message);
|
|
17884
17896
|
}
|
17885
17897
|
const render = new Function(code)() ;
|
17886
17898
|
render._rc = true;
|
17887
|
-
return
|
17899
|
+
return compileCache[key] = render;
|
17888
17900
|
}
|
17889
17901
|
registerRuntimeCompiler(compileToFunction);
|
17890
17902
|
|