@varlet/ui 2.21.0 → 2.22.0-alpha.1705845515578
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/es/index-bar/IndexBar.mjs +10 -2
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/fa-IR.d.ts +5 -0
- package/es/locale/fa-IR.mjs +108 -0
- package/es/locale/index.mjs +2 -0
- package/es/picker/Picker.mjs +27 -34
- package/es/popup/Popup.mjs +1 -1
- package/es/popup/popup.css +1 -1
- package/es/snackbar/Snackbar.mjs +21 -18
- package/es/snackbar/core.mjs +18 -16
- package/es/snackbar/props.mjs +1 -3
- package/es/snackbar/snackbar.css +1 -1
- package/es/snackbar/style/index.mjs +1 -2
- package/es/style.css +1 -1
- package/es/switch/Switch.mjs +18 -6
- package/es/switch/props.mjs +6 -0
- package/es/varlet.esm.js +4241 -4112
- package/highlight/web-types.en-US.json +39 -8
- package/highlight/web-types.zh-CN.json +40 -9
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +299 -171
- package/package.json +7 -7
- package/types/form.d.ts +1 -1
- package/types/indexBar.d.ts +1 -0
- package/types/rate.d.ts +1 -1
- package/types/styleVars.d.ts +2 -0
- package/types/switch.d.ts +7 -2
- package/umd/varlet.js +5 -5
package/lib/varlet.cjs.js
CHANGED
|
@@ -7,7 +7,7 @@ const context = {
|
|
|
7
7
|
enableRipple: true
|
|
8
8
|
};
|
|
9
9
|
const _ContextComponent = vue.reactive(context);
|
|
10
|
-
var stdin_default$
|
|
10
|
+
var stdin_default$3z = vue.reactive(context);
|
|
11
11
|
var __defProp$v = Object.defineProperty;
|
|
12
12
|
var __defProps$a = Object.defineProperties;
|
|
13
13
|
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
@@ -824,7 +824,7 @@ function computeRippleStyles(element, event) {
|
|
|
824
824
|
function createRipple(event) {
|
|
825
825
|
const _ripple = this._ripple;
|
|
826
826
|
_ripple.removeRipple();
|
|
827
|
-
if (_ripple.disabled || _ripple.tasker || !stdin_default$
|
|
827
|
+
if (_ripple.disabled || _ripple.tasker || !stdin_default$3z.enableRipple) {
|
|
828
828
|
return;
|
|
829
829
|
}
|
|
830
830
|
const task = () => {
|
|
@@ -867,7 +867,7 @@ function removeRipple() {
|
|
|
867
867
|
_ripple.tasker ? window.setTimeout(task, 30) : task();
|
|
868
868
|
}
|
|
869
869
|
function forbidRippleTask() {
|
|
870
|
-
if (!supportTouch() || !stdin_default$
|
|
870
|
+
if (!supportTouch() || !stdin_default$3z.enableRipple) {
|
|
871
871
|
return;
|
|
872
872
|
}
|
|
873
873
|
const _ripple = this._ripple;
|
|
@@ -919,7 +919,7 @@ const Ripple = {
|
|
|
919
919
|
}
|
|
920
920
|
};
|
|
921
921
|
const _RippleComponent = Ripple;
|
|
922
|
-
var stdin_default$
|
|
922
|
+
var stdin_default$3y = Ripple;
|
|
923
923
|
const props$1g = {
|
|
924
924
|
show: Boolean,
|
|
925
925
|
position: {
|
|
@@ -961,15 +961,15 @@ const props$1g = {
|
|
|
961
961
|
onRouteChange: defineListenerProp()
|
|
962
962
|
};
|
|
963
963
|
function resolveLock() {
|
|
964
|
-
const lockCounts = Object.keys(stdin_default$
|
|
964
|
+
const lockCounts = Object.keys(stdin_default$3z.locks).length;
|
|
965
965
|
lockCounts <= 0 ? document.body.classList.remove("var--lock") : document.body.classList.add("var--lock");
|
|
966
966
|
}
|
|
967
967
|
function addLock(uid) {
|
|
968
|
-
stdin_default$
|
|
968
|
+
stdin_default$3z.locks[uid] = 1;
|
|
969
969
|
resolveLock();
|
|
970
970
|
}
|
|
971
971
|
function releaseLock(uid) {
|
|
972
|
-
delete stdin_default$
|
|
972
|
+
delete stdin_default$3z.locks[uid];
|
|
973
973
|
resolveLock();
|
|
974
974
|
}
|
|
975
975
|
function useLock(source, useSource) {
|
|
@@ -1027,13 +1027,13 @@ function useLock(source, useSource) {
|
|
|
1027
1027
|
});
|
|
1028
1028
|
}
|
|
1029
1029
|
function useZIndex(source, count) {
|
|
1030
|
-
const zIndex = vue.ref(stdin_default$
|
|
1030
|
+
const zIndex = vue.ref(stdin_default$3z.zIndex);
|
|
1031
1031
|
vue.watch(
|
|
1032
1032
|
source,
|
|
1033
1033
|
(newValue) => {
|
|
1034
1034
|
if (newValue) {
|
|
1035
|
-
stdin_default$
|
|
1036
|
-
zIndex.value = stdin_default$
|
|
1035
|
+
stdin_default$3z.zIndex += process.env.NODE_ENV === "test" ? 0 : count;
|
|
1036
|
+
zIndex.value = stdin_default$3z.zIndex;
|
|
1037
1037
|
}
|
|
1038
1038
|
},
|
|
1039
1039
|
{ immediate: true }
|
|
@@ -1078,7 +1078,7 @@ const {
|
|
|
1078
1078
|
n: n$1n,
|
|
1079
1079
|
classes: classes$19
|
|
1080
1080
|
} = createNamespace("popup");
|
|
1081
|
-
var stdin_default$
|
|
1081
|
+
var stdin_default$3x = vue.defineComponent({
|
|
1082
1082
|
name: name$1g,
|
|
1083
1083
|
inheritAttrs: false,
|
|
1084
1084
|
props: props$1g,
|
|
@@ -1143,7 +1143,7 @@ var stdin_default$3w = vue.defineComponent({
|
|
|
1143
1143
|
"onAfterLeave": props2.onClosed
|
|
1144
1144
|
}, {
|
|
1145
1145
|
default: () => [vue.withDirectives(vue.createVNode("div", {
|
|
1146
|
-
"class": classes$19(n$1n("$--box"), n$1n()),
|
|
1146
|
+
"class": classes$19(n$1n("$--box"), n$1n(), [!props2.overlay, n$1n("--pointer-events-none")]),
|
|
1147
1147
|
"style": {
|
|
1148
1148
|
zIndex: zIndex.value - 2
|
|
1149
1149
|
}
|
|
@@ -1170,10 +1170,10 @@ var stdin_default$3w = vue.defineComponent({
|
|
|
1170
1170
|
};
|
|
1171
1171
|
}
|
|
1172
1172
|
});
|
|
1173
|
-
withInstall(stdin_default$
|
|
1174
|
-
withPropsDefaultsSetter(stdin_default$
|
|
1175
|
-
const _PopupComponent = stdin_default$
|
|
1176
|
-
var stdin_default$
|
|
1173
|
+
withInstall(stdin_default$3x);
|
|
1174
|
+
withPropsDefaultsSetter(stdin_default$3x, props$1g);
|
|
1175
|
+
const _PopupComponent = stdin_default$3x;
|
|
1176
|
+
var stdin_default$3w = stdin_default$3x;
|
|
1177
1177
|
const props$1f = {
|
|
1178
1178
|
name: String,
|
|
1179
1179
|
size: [Number, String],
|
|
@@ -1420,11 +1420,11 @@ const __sfc__$1n = vue.defineComponent({
|
|
|
1420
1420
|
}
|
|
1421
1421
|
});
|
|
1422
1422
|
__sfc__$1n.render = __render__$1m;
|
|
1423
|
-
var stdin_default$
|
|
1424
|
-
withInstall(stdin_default$
|
|
1425
|
-
withPropsDefaultsSetter(stdin_default$
|
|
1426
|
-
const _IconComponent = stdin_default$
|
|
1427
|
-
var stdin_default$
|
|
1423
|
+
var stdin_default$3v = __sfc__$1n;
|
|
1424
|
+
withInstall(stdin_default$3v);
|
|
1425
|
+
withPropsDefaultsSetter(stdin_default$3v, props$1f);
|
|
1426
|
+
const _IconComponent = stdin_default$3v;
|
|
1427
|
+
var stdin_default$3u = stdin_default$3v;
|
|
1428
1428
|
var __defProp$q = Object.defineProperty;
|
|
1429
1429
|
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
1430
1430
|
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
@@ -1470,7 +1470,7 @@ const props$1e = __spreadValues$q({
|
|
|
1470
1470
|
// internal for function call closes the dialog
|
|
1471
1471
|
"onRouteChange"
|
|
1472
1472
|
]));
|
|
1473
|
-
var stdin_default$
|
|
1473
|
+
var stdin_default$3t = {
|
|
1474
1474
|
// Dialog
|
|
1475
1475
|
dialogTitle: "提示",
|
|
1476
1476
|
dialogConfirmButtonText: "确认",
|
|
@@ -1575,7 +1575,7 @@ var stdin_default$3s = {
|
|
|
1575
1575
|
// time-picker
|
|
1576
1576
|
timePickerHint: "选择时间"
|
|
1577
1577
|
};
|
|
1578
|
-
var stdin_default$
|
|
1578
|
+
var stdin_default$3s = {
|
|
1579
1579
|
// Dialog
|
|
1580
1580
|
dialogTitle: "Hint",
|
|
1581
1581
|
dialogConfirmButtonText: "Confirm",
|
|
@@ -1680,7 +1680,7 @@ var stdin_default$3r = {
|
|
|
1680
1680
|
// time-picker
|
|
1681
1681
|
timePickerHint: "SELECT TIME"
|
|
1682
1682
|
};
|
|
1683
|
-
var stdin_default$
|
|
1683
|
+
var stdin_default$3r = {
|
|
1684
1684
|
// Dialog
|
|
1685
1685
|
dialogTitle: "提示",
|
|
1686
1686
|
dialogConfirmButtonText: "確認",
|
|
@@ -1782,7 +1782,112 @@ var stdin_default$3q = {
|
|
|
1782
1782
|
paginationPage: "頁",
|
|
1783
1783
|
paginationJump: "前往"
|
|
1784
1784
|
};
|
|
1785
|
-
var stdin_default$
|
|
1785
|
+
var stdin_default$3q = stdin_default$3r;
|
|
1786
|
+
var stdin_default$3p = {
|
|
1787
|
+
// Dialog
|
|
1788
|
+
dialogTitle: "اشاره",
|
|
1789
|
+
dialogConfirmButtonText: "تایید",
|
|
1790
|
+
dialogCancelButtonText: "لغو",
|
|
1791
|
+
// ActionSheet
|
|
1792
|
+
actionSheetTitle: "انتخاب یک مورد",
|
|
1793
|
+
// List
|
|
1794
|
+
listLoadingText: "در حال بارگزاری",
|
|
1795
|
+
listFinishedText: "مورد دیگری وجود ندارد",
|
|
1796
|
+
listErrorText: "بارگزاری ناموفق",
|
|
1797
|
+
// Picker
|
|
1798
|
+
pickerTitle: "انتخاب کنید",
|
|
1799
|
+
pickerConfirmButtonText: "تایید",
|
|
1800
|
+
pickerCancelButtonText: "لغو",
|
|
1801
|
+
// date-picker
|
|
1802
|
+
datePickerMonthDict: {
|
|
1803
|
+
"01": {
|
|
1804
|
+
name: "ژانویه",
|
|
1805
|
+
abbr: "JAN"
|
|
1806
|
+
},
|
|
1807
|
+
"02": {
|
|
1808
|
+
name: "فوریه",
|
|
1809
|
+
abbr: "FEB"
|
|
1810
|
+
},
|
|
1811
|
+
"03": {
|
|
1812
|
+
name: "مارس",
|
|
1813
|
+
abbr: "MAR"
|
|
1814
|
+
},
|
|
1815
|
+
"04": {
|
|
1816
|
+
name: "آوریل",
|
|
1817
|
+
abbr: "APR"
|
|
1818
|
+
},
|
|
1819
|
+
"05": {
|
|
1820
|
+
name: "مه",
|
|
1821
|
+
abbr: "MAY"
|
|
1822
|
+
},
|
|
1823
|
+
"06": {
|
|
1824
|
+
name: "ژوئن",
|
|
1825
|
+
abbr: "JUN"
|
|
1826
|
+
},
|
|
1827
|
+
"07": {
|
|
1828
|
+
name: "جولای",
|
|
1829
|
+
abbr: "JUL"
|
|
1830
|
+
},
|
|
1831
|
+
"08": {
|
|
1832
|
+
name: "آگوست",
|
|
1833
|
+
abbr: "AUG"
|
|
1834
|
+
},
|
|
1835
|
+
"09": {
|
|
1836
|
+
name: "سپتامبر",
|
|
1837
|
+
abbr: "SEP"
|
|
1838
|
+
},
|
|
1839
|
+
"10": {
|
|
1840
|
+
name: "اوکتبر",
|
|
1841
|
+
abbr: "OCT"
|
|
1842
|
+
},
|
|
1843
|
+
"11": {
|
|
1844
|
+
name: "نوامبر",
|
|
1845
|
+
abbr: "NOV"
|
|
1846
|
+
},
|
|
1847
|
+
"12": {
|
|
1848
|
+
name: "دسامبر",
|
|
1849
|
+
abbr: "DEC"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
datePickerWeekDict: {
|
|
1853
|
+
"0": {
|
|
1854
|
+
name: "یکشنبه",
|
|
1855
|
+
abbr: "S"
|
|
1856
|
+
},
|
|
1857
|
+
"1": {
|
|
1858
|
+
name: "دوشنبه",
|
|
1859
|
+
abbr: "M"
|
|
1860
|
+
},
|
|
1861
|
+
"2": {
|
|
1862
|
+
name: "سهشنبه",
|
|
1863
|
+
abbr: "T"
|
|
1864
|
+
},
|
|
1865
|
+
"3": {
|
|
1866
|
+
name: "چهارشنبه",
|
|
1867
|
+
abbr: "W"
|
|
1868
|
+
},
|
|
1869
|
+
"4": {
|
|
1870
|
+
name: "پنجشنبه",
|
|
1871
|
+
abbr: "T"
|
|
1872
|
+
},
|
|
1873
|
+
"5": {
|
|
1874
|
+
name: "جمعه",
|
|
1875
|
+
abbr: "F"
|
|
1876
|
+
},
|
|
1877
|
+
"6": {
|
|
1878
|
+
name: "شنبه",
|
|
1879
|
+
abbr: "S"
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
datePickerSelected: " انتخاب شده",
|
|
1883
|
+
datePickerHint: "انتخاب تاریخ",
|
|
1884
|
+
// pagination
|
|
1885
|
+
paginationItem: "",
|
|
1886
|
+
paginationPage: "صفحه",
|
|
1887
|
+
paginationJump: "برو به",
|
|
1888
|
+
// time-picker
|
|
1889
|
+
timePickerHint: "انتخاب زمان"
|
|
1890
|
+
};
|
|
1786
1891
|
var __defProp$p = Object.defineProperty;
|
|
1787
1892
|
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
1788
1893
|
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
@@ -1830,14 +1935,15 @@ function useLocale() {
|
|
|
1830
1935
|
};
|
|
1831
1936
|
}
|
|
1832
1937
|
const { packs, pack, add: add$2, use, merge } = useLocale();
|
|
1833
|
-
add$2("zh-CN", stdin_default$
|
|
1938
|
+
add$2("zh-CN", stdin_default$3t);
|
|
1834
1939
|
use("zh-CN");
|
|
1835
|
-
const _LocaleComponent = { zhCN: stdin_default$
|
|
1940
|
+
const _LocaleComponent = { zhCN: stdin_default$3t, enUS: stdin_default$3s, packs, pack, add: add$2, use, merge, useLocale };
|
|
1836
1941
|
var stdin_default$3o = {
|
|
1837
|
-
zhCN: stdin_default$
|
|
1838
|
-
enUS: stdin_default$
|
|
1839
|
-
zhTW: stdin_default$
|
|
1840
|
-
zhHK: stdin_default$
|
|
1942
|
+
zhCN: stdin_default$3t,
|
|
1943
|
+
enUS: stdin_default$3s,
|
|
1944
|
+
zhTW: stdin_default$3r,
|
|
1945
|
+
zhHK: stdin_default$3q,
|
|
1946
|
+
faIR: stdin_default$3p,
|
|
1841
1947
|
packs,
|
|
1842
1948
|
pack,
|
|
1843
1949
|
add: add$2,
|
|
@@ -1939,10 +2045,10 @@ function __render__$1l(_ctx, _cache) {
|
|
|
1939
2045
|
}
|
|
1940
2046
|
const __sfc__$1m = vue.defineComponent({
|
|
1941
2047
|
name: name$1e,
|
|
1942
|
-
directives: { Ripple: stdin_default$
|
|
2048
|
+
directives: { Ripple: stdin_default$3y },
|
|
1943
2049
|
components: {
|
|
1944
|
-
VarPopup: stdin_default$
|
|
1945
|
-
VarIcon: stdin_default$
|
|
2050
|
+
VarPopup: stdin_default$3w,
|
|
2051
|
+
VarIcon: stdin_default$3u
|
|
1946
2052
|
},
|
|
1947
2053
|
inheritAttrs: false,
|
|
1948
2054
|
props: props$1e,
|
|
@@ -3172,7 +3278,7 @@ const __sfc__$1g = vue.defineComponent({
|
|
|
3172
3278
|
VarLoading: stdin_default$3d,
|
|
3173
3279
|
VarHoverOverlay: stdin_default$3b
|
|
3174
3280
|
},
|
|
3175
|
-
directives: { Ripple: stdin_default$
|
|
3281
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
3176
3282
|
props: props$18,
|
|
3177
3283
|
setup(props2) {
|
|
3178
3284
|
const pending = vue.ref(false);
|
|
@@ -3307,7 +3413,7 @@ const __sfc__$1f = vue.defineComponent({
|
|
|
3307
3413
|
name: name$17,
|
|
3308
3414
|
components: {
|
|
3309
3415
|
VarButton: stdin_default$38,
|
|
3310
|
-
VarIcon: stdin_default$
|
|
3416
|
+
VarIcon: stdin_default$3u
|
|
3311
3417
|
},
|
|
3312
3418
|
inheritAttrs: false,
|
|
3313
3419
|
props: props$17,
|
|
@@ -3467,7 +3573,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
3467
3573
|
}
|
|
3468
3574
|
const __sfc__$1e = vue.defineComponent({
|
|
3469
3575
|
name: name$16,
|
|
3470
|
-
components: { VarIcon: stdin_default$
|
|
3576
|
+
components: { VarIcon: stdin_default$3u },
|
|
3471
3577
|
inheritAttrs: false,
|
|
3472
3578
|
props: props$16,
|
|
3473
3579
|
setup(props2) {
|
|
@@ -3799,9 +3905,9 @@ const __sfc__$1c = vue.defineComponent({
|
|
|
3799
3905
|
name: name$14,
|
|
3800
3906
|
components: {
|
|
3801
3907
|
VarBadge: stdin_default$34,
|
|
3802
|
-
VarIcon: stdin_default$
|
|
3908
|
+
VarIcon: stdin_default$3u
|
|
3803
3909
|
},
|
|
3804
|
-
directives: { Ripple: stdin_default$
|
|
3910
|
+
directives: { Ripple: stdin_default$3y },
|
|
3805
3911
|
props: props$14,
|
|
3806
3912
|
setup(props2) {
|
|
3807
3913
|
const name2 = vue.computed(() => props2.name);
|
|
@@ -4288,9 +4394,9 @@ function __render__$17(_ctx, _cache) {
|
|
|
4288
4394
|
}
|
|
4289
4395
|
const __sfc__$18 = vue.defineComponent({
|
|
4290
4396
|
name: name$10,
|
|
4291
|
-
directives: { Ripple: stdin_default$
|
|
4397
|
+
directives: { Ripple: stdin_default$3y },
|
|
4292
4398
|
components: {
|
|
4293
|
-
VarIcon: stdin_default$
|
|
4399
|
+
VarIcon: stdin_default$3u,
|
|
4294
4400
|
VarButton: stdin_default$38
|
|
4295
4401
|
},
|
|
4296
4402
|
props: props$10,
|
|
@@ -4524,8 +4630,8 @@ function __render__$16(_ctx, _cache) {
|
|
|
4524
4630
|
}
|
|
4525
4631
|
const __sfc__$17 = vue.defineComponent({
|
|
4526
4632
|
name: name$$,
|
|
4527
|
-
components: { VarIcon: stdin_default$
|
|
4528
|
-
directives: { Ripple: stdin_default$
|
|
4633
|
+
components: { VarIcon: stdin_default$3u },
|
|
4634
|
+
directives: { Ripple: stdin_default$3y },
|
|
4529
4635
|
props: props$$,
|
|
4530
4636
|
setup(props2) {
|
|
4531
4637
|
const borderOffsetStyles = vue.computed(() => {
|
|
@@ -4844,9 +4950,9 @@ function __render__$14(_ctx, _cache) {
|
|
|
4844
4950
|
}
|
|
4845
4951
|
const __sfc__$15 = vue.defineComponent({
|
|
4846
4952
|
name: name$Z,
|
|
4847
|
-
directives: { Ripple: stdin_default$
|
|
4953
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
4848
4954
|
components: {
|
|
4849
|
-
VarIcon: stdin_default$
|
|
4955
|
+
VarIcon: stdin_default$3u,
|
|
4850
4956
|
VarFormDetails: stdin_default$2Q,
|
|
4851
4957
|
VarHoverOverlay: stdin_default$3b
|
|
4852
4958
|
},
|
|
@@ -5179,7 +5285,7 @@ function __render__$12(_ctx, _cache) {
|
|
|
5179
5285
|
const __sfc__$13 = vue.defineComponent({
|
|
5180
5286
|
name: name$X,
|
|
5181
5287
|
components: {
|
|
5182
|
-
VarIcon: stdin_default$
|
|
5288
|
+
VarIcon: stdin_default$3u
|
|
5183
5289
|
},
|
|
5184
5290
|
inheritAttrs: false,
|
|
5185
5291
|
props: props$X,
|
|
@@ -5700,7 +5806,7 @@ function __render__$$(_ctx, _cache) {
|
|
|
5700
5806
|
const __sfc__$10 = vue.defineComponent({
|
|
5701
5807
|
name: name$U,
|
|
5702
5808
|
components: {
|
|
5703
|
-
VarIcon: stdin_default$
|
|
5809
|
+
VarIcon: stdin_default$3u
|
|
5704
5810
|
},
|
|
5705
5811
|
props: props$U,
|
|
5706
5812
|
setup(props2) {
|
|
@@ -8470,10 +8576,10 @@ const __sfc__$Z = vue.defineComponent({
|
|
|
8470
8576
|
name: name$R,
|
|
8471
8577
|
components: {
|
|
8472
8578
|
VarButton: stdin_default$38,
|
|
8473
|
-
VarIcon: stdin_default$
|
|
8579
|
+
VarIcon: stdin_default$3u,
|
|
8474
8580
|
VarFormDetails: stdin_default$2Q
|
|
8475
8581
|
},
|
|
8476
|
-
directives: { Ripple: stdin_default$
|
|
8582
|
+
directives: { Ripple: stdin_default$3y },
|
|
8477
8583
|
inheritAttrs: false,
|
|
8478
8584
|
props: props$R,
|
|
8479
8585
|
setup(props2) {
|
|
@@ -9223,7 +9329,7 @@ const __sfc__$Y = vue.defineComponent({
|
|
|
9223
9329
|
name: "PanelHeader",
|
|
9224
9330
|
components: {
|
|
9225
9331
|
VarButton: stdin_default$38,
|
|
9226
|
-
VarIcon: stdin_default$
|
|
9332
|
+
VarIcon: stdin_default$3u
|
|
9227
9333
|
},
|
|
9228
9334
|
props: {
|
|
9229
9335
|
date: {
|
|
@@ -11238,7 +11344,7 @@ function __render__$R(_ctx, _cache) {
|
|
|
11238
11344
|
const __sfc__$S = vue.defineComponent({
|
|
11239
11345
|
name: name$O,
|
|
11240
11346
|
components: {
|
|
11241
|
-
VarPopup: stdin_default$
|
|
11347
|
+
VarPopup: stdin_default$3w,
|
|
11242
11348
|
VarButton: stdin_default$38
|
|
11243
11349
|
},
|
|
11244
11350
|
inheritAttrs: false,
|
|
@@ -13777,7 +13883,7 @@ var stdin_default$2f = vue.defineComponent({
|
|
|
13777
13883
|
"elevation": props2.elevation,
|
|
13778
13884
|
"round": true
|
|
13779
13885
|
}, {
|
|
13780
|
-
default: () => [vue.createVNode(stdin_default$
|
|
13886
|
+
default: () => [vue.createVNode(stdin_default$3u, {
|
|
13781
13887
|
"var-fab-cover": true,
|
|
13782
13888
|
"class": classes$E([isActive.value, n$M("trigger-active-icon"), n$M("trigger-inactive-icon")]),
|
|
13783
13889
|
"name": isActive.value ? props2.activeIcon : props2.inactiveIcon,
|
|
@@ -14066,7 +14172,7 @@ function __render__$M(_ctx, _cache) {
|
|
|
14066
14172
|
}
|
|
14067
14173
|
const __sfc__$N = vue.defineComponent({
|
|
14068
14174
|
name: name$I,
|
|
14069
|
-
components: { VarIcon: stdin_default$
|
|
14175
|
+
components: { VarIcon: stdin_default$3u },
|
|
14070
14176
|
props: props$I,
|
|
14071
14177
|
setup(props2, { slots }) {
|
|
14072
14178
|
const placeholderTextEl = vue.ref(null);
|
|
@@ -14525,7 +14631,7 @@ const __sfc__$K = vue.defineComponent({
|
|
|
14525
14631
|
name: name$F,
|
|
14526
14632
|
directives: {
|
|
14527
14633
|
Lazy: stdin_default$3j,
|
|
14528
|
-
Ripple: stdin_default$
|
|
14634
|
+
Ripple: stdin_default$3y
|
|
14529
14635
|
},
|
|
14530
14636
|
props: props$F,
|
|
14531
14637
|
setup(props2, { slots }) {
|
|
@@ -14804,7 +14910,7 @@ function __render__$I(_ctx, _cache) {
|
|
|
14804
14910
|
const __sfc__$J = vue.defineComponent({
|
|
14805
14911
|
name: name$E,
|
|
14806
14912
|
directives: { Hover: stdin_default$3a },
|
|
14807
|
-
components: { VarButton: stdin_default$38, VarIcon: stdin_default$
|
|
14913
|
+
components: { VarButton: stdin_default$38, VarIcon: stdin_default$3u },
|
|
14808
14914
|
props: props$E,
|
|
14809
14915
|
setup(props2) {
|
|
14810
14916
|
const swipeEl = vue.ref(null);
|
|
@@ -15345,8 +15451,8 @@ const __sfc__$H = vue.defineComponent({
|
|
|
15345
15451
|
components: {
|
|
15346
15452
|
VarSwipe: stdin_default$24,
|
|
15347
15453
|
VarSwipeItem: stdin_default$22,
|
|
15348
|
-
VarPopup: stdin_default$
|
|
15349
|
-
VarIcon: stdin_default$
|
|
15454
|
+
VarPopup: stdin_default$3w,
|
|
15455
|
+
VarIcon: stdin_default$3u
|
|
15350
15456
|
},
|
|
15351
15457
|
inheritAttrs: false,
|
|
15352
15458
|
props: props$D,
|
|
@@ -15809,7 +15915,15 @@ function __render__$E(_ctx, _cache) {
|
|
|
15809
15915
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("anchor-item"), [_ctx.active === anchorName, _ctx.n("anchor-item--active")])),
|
|
15810
15916
|
style: vue.normalizeStyle({ color: _ctx.active === anchorName && _ctx.highlightColor ? _ctx.highlightColor : void 0 }),
|
|
15811
15917
|
onClick: ($event) => _ctx.anchorClick({ anchorName, manualCall: true })
|
|
15812
|
-
},
|
|
15918
|
+
}, [
|
|
15919
|
+
vue.renderSlot(_ctx.$slots, "anchor-name", { anchorName }, () => [
|
|
15920
|
+
vue.createTextVNode(
|
|
15921
|
+
vue.toDisplayString(anchorName),
|
|
15922
|
+
1
|
|
15923
|
+
/* TEXT */
|
|
15924
|
+
)
|
|
15925
|
+
])
|
|
15926
|
+
], 14, _hoisted_1$h);
|
|
15813
15927
|
}),
|
|
15814
15928
|
128
|
|
15815
15929
|
/* KEYED_FRAGMENT */
|
|
@@ -16662,7 +16776,7 @@ function __render__$B(_ctx, _cache) {
|
|
|
16662
16776
|
}
|
|
16663
16777
|
const __sfc__$C = vue.defineComponent({
|
|
16664
16778
|
name: name$x,
|
|
16665
|
-
directives: { Ripple: stdin_default$
|
|
16779
|
+
directives: { Ripple: stdin_default$3y },
|
|
16666
16780
|
components: { VarLoading: stdin_default$3d },
|
|
16667
16781
|
props: props$y,
|
|
16668
16782
|
setup(props2) {
|
|
@@ -16750,7 +16864,7 @@ var stdin_default$1R = vue.defineComponent({
|
|
|
16750
16864
|
return () => vue.createVNode("div", {
|
|
16751
16865
|
"class": classes$t(n$z(), [props2.error, n$z("--error")]),
|
|
16752
16866
|
"style": {
|
|
16753
|
-
zIndex: stdin_default$
|
|
16867
|
+
zIndex: stdin_default$3z.zIndex + 10,
|
|
16754
16868
|
width: `${props2.value}%`,
|
|
16755
16869
|
opacity: props2.opacity,
|
|
16756
16870
|
height: toSizeUnit(props2.height),
|
|
@@ -17105,7 +17219,7 @@ function __render__$z(_ctx, _cache) {
|
|
|
17105
17219
|
}
|
|
17106
17220
|
const __sfc__$A = vue.defineComponent({
|
|
17107
17221
|
name: name$u,
|
|
17108
|
-
directives: { Ripple: stdin_default$
|
|
17222
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
17109
17223
|
components: {
|
|
17110
17224
|
VarCheckbox: stdin_default$2O,
|
|
17111
17225
|
VarHoverOverlay: stdin_default$3b
|
|
@@ -17468,7 +17582,7 @@ function __render__$x(_ctx, _cache) {
|
|
|
17468
17582
|
}
|
|
17469
17583
|
const __sfc__$y = vue.defineComponent({
|
|
17470
17584
|
name: name$s,
|
|
17471
|
-
directives: { Ripple: stdin_default$
|
|
17585
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
17472
17586
|
components: {
|
|
17473
17587
|
VarCheckbox: stdin_default$2O,
|
|
17474
17588
|
VarHoverOverlay: stdin_default$3b
|
|
@@ -17872,11 +17986,11 @@ const __sfc__$x = vue.defineComponent({
|
|
|
17872
17986
|
name: name$q,
|
|
17873
17987
|
components: {
|
|
17874
17988
|
VarMenu: stdin_default$1O,
|
|
17875
|
-
VarIcon: stdin_default$
|
|
17989
|
+
VarIcon: stdin_default$3u,
|
|
17876
17990
|
VarCell: stdin_default$2S,
|
|
17877
17991
|
VarInput: stdin_default$1W
|
|
17878
17992
|
},
|
|
17879
|
-
directives: { Ripple: stdin_default$
|
|
17993
|
+
directives: { Ripple: stdin_default$3y },
|
|
17880
17994
|
props: props$q,
|
|
17881
17995
|
setup(props2) {
|
|
17882
17996
|
const menuVisible = vue.ref(false);
|
|
@@ -18094,7 +18208,7 @@ function __render__$v(_ctx, _cache) {
|
|
|
18094
18208
|
}
|
|
18095
18209
|
const __sfc__$w = vue.defineComponent({
|
|
18096
18210
|
name: name$p,
|
|
18097
|
-
directives: { Ripple: stdin_default$
|
|
18211
|
+
directives: { Ripple: stdin_default$3y },
|
|
18098
18212
|
props: props$p,
|
|
18099
18213
|
setup(props2) {
|
|
18100
18214
|
function handleClick(e) {
|
|
@@ -18399,7 +18513,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18399
18513
|
name: name$o,
|
|
18400
18514
|
components: {
|
|
18401
18515
|
VarButton: stdin_default$38,
|
|
18402
|
-
VarPopup: stdin_default$
|
|
18516
|
+
VarPopup: stdin_default$3w
|
|
18403
18517
|
},
|
|
18404
18518
|
inheritAttrs: false,
|
|
18405
18519
|
props: props$o,
|
|
@@ -18412,18 +18526,9 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18412
18526
|
const columnHeight = vue.computed(() => optionCount.value * optionHeight.value);
|
|
18413
18527
|
const { prevY, moveY, dragging, startTouch, moveTouch, endTouch } = useTouch();
|
|
18414
18528
|
let prevIndexes = [];
|
|
18415
|
-
|
|
18416
|
-
vue.watch(() => props2.columns,
|
|
18417
|
-
vue.watch(
|
|
18418
|
-
() => modelValue.value,
|
|
18419
|
-
() => {
|
|
18420
|
-
if (props2.cascade && props2.modelValue.length) {
|
|
18421
|
-
buildScrollColumns();
|
|
18422
|
-
} else {
|
|
18423
|
-
updateScrollColumnsIndex();
|
|
18424
|
-
}
|
|
18425
|
-
}
|
|
18426
|
-
);
|
|
18529
|
+
initScrollColumns();
|
|
18530
|
+
vue.watch(() => props2.columns, initScrollColumns, { deep: true });
|
|
18531
|
+
vue.watch(() => modelValue.value, initScrollColumns);
|
|
18427
18532
|
function getOptionKey(key) {
|
|
18428
18533
|
const keyMap = {
|
|
18429
18534
|
text: props2.textKey,
|
|
@@ -18440,7 +18545,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18440
18545
|
prevIndexes = [...indexes];
|
|
18441
18546
|
}
|
|
18442
18547
|
function normalizeNormalMode(columns) {
|
|
18443
|
-
return columns.map((column) => {
|
|
18548
|
+
return columns.map((column, idx) => {
|
|
18444
18549
|
const scrollColumn = {
|
|
18445
18550
|
id: sid$1++,
|
|
18446
18551
|
prevY: 0,
|
|
@@ -18454,6 +18559,9 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18454
18559
|
scrollEl: null,
|
|
18455
18560
|
scrolling: false
|
|
18456
18561
|
};
|
|
18562
|
+
const value = modelValue.value[idx];
|
|
18563
|
+
const index = scrollColumn.column.findIndex((option) => value === getValue(option));
|
|
18564
|
+
scrollColumn.index = index === -1 ? 0 : index;
|
|
18457
18565
|
scrollTo2(scrollColumn);
|
|
18458
18566
|
return scrollColumn;
|
|
18459
18567
|
});
|
|
@@ -18463,7 +18571,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18463
18571
|
createChildren(scrollColumns2, column);
|
|
18464
18572
|
return scrollColumns2;
|
|
18465
18573
|
}
|
|
18466
|
-
function createChildren(scrollColumns2, children) {
|
|
18574
|
+
function createChildren(scrollColumns2, children, syncModelValue = true) {
|
|
18467
18575
|
var _a;
|
|
18468
18576
|
if (children.length) {
|
|
18469
18577
|
const scrollColumn = {
|
|
@@ -18480,31 +18588,30 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18480
18588
|
scrolling: false
|
|
18481
18589
|
};
|
|
18482
18590
|
scrollColumns2.push(scrollColumn);
|
|
18483
|
-
if (
|
|
18484
|
-
const
|
|
18591
|
+
if (syncModelValue) {
|
|
18592
|
+
const value = modelValue.value[scrollColumns2.length - 1];
|
|
18593
|
+
const index = children.findIndex((option) => value === getValue(option));
|
|
18485
18594
|
scrollColumn.index = index === -1 ? 0 : index;
|
|
18486
18595
|
}
|
|
18487
18596
|
scrollTo2(scrollColumn);
|
|
18488
|
-
createChildren(
|
|
18597
|
+
createChildren(
|
|
18598
|
+
scrollColumns2,
|
|
18599
|
+
(_a = scrollColumn.column[scrollColumn.index][getOptionKey("children")]) != null ? _a : [],
|
|
18600
|
+
syncModelValue
|
|
18601
|
+
);
|
|
18489
18602
|
}
|
|
18490
18603
|
}
|
|
18491
18604
|
function rebuildChildren(scrollColumn) {
|
|
18492
18605
|
var _a;
|
|
18493
18606
|
scrollColumns.value.splice(scrollColumns.value.indexOf(scrollColumn) + 1);
|
|
18494
|
-
createChildren(
|
|
18607
|
+
createChildren(
|
|
18608
|
+
scrollColumns.value,
|
|
18609
|
+
(_a = scrollColumn.column[scrollColumn.index][getOptionKey("children")]) != null ? _a : [],
|
|
18610
|
+
false
|
|
18611
|
+
);
|
|
18495
18612
|
}
|
|
18496
|
-
function
|
|
18613
|
+
function initScrollColumns() {
|
|
18497
18614
|
scrollColumns.value = props2.cascade ? normalizeCascadeMode(props2.columns) : normalizeNormalMode(props2.columns);
|
|
18498
|
-
if (!props2.cascade) {
|
|
18499
|
-
updateScrollColumnsIndex();
|
|
18500
|
-
}
|
|
18501
|
-
}
|
|
18502
|
-
function updateScrollColumnsIndex() {
|
|
18503
|
-
scrollColumns.value.forEach((scrollColumn, idx) => {
|
|
18504
|
-
const index = scrollColumn.column.findIndex((option) => modelValue.value[idx] === getValue(option));
|
|
18505
|
-
scrollColumn.index = index === -1 ? 0 : index;
|
|
18506
|
-
scrollTo2(scrollColumn);
|
|
18507
|
-
});
|
|
18508
18615
|
const { indexes } = getPicked();
|
|
18509
18616
|
setPrevIndexes(indexes);
|
|
18510
18617
|
}
|
|
@@ -18593,23 +18700,23 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18593
18700
|
scrollTo2(scrollColumn, shouldMomentum ? MOMENTUM_TRANSITION_DURATION : TRANSITION_DURATION);
|
|
18594
18701
|
scrollColumn.scrolling = scrollColumn.translate !== oldTranslate;
|
|
18595
18702
|
if (!scrollColumn.scrolling) {
|
|
18596
|
-
|
|
18703
|
+
handleScrollColumnChange(scrollColumn);
|
|
18597
18704
|
}
|
|
18598
18705
|
}
|
|
18599
18706
|
function handleTransitionend(scrollColumn) {
|
|
18600
18707
|
scrollColumn.scrolling = false;
|
|
18601
|
-
|
|
18708
|
+
handleScrollColumnChange(scrollColumn);
|
|
18602
18709
|
}
|
|
18603
18710
|
function isSamePicked() {
|
|
18604
18711
|
const { indexes } = getPicked();
|
|
18605
18712
|
return indexes.every((index, idx) => index === prevIndexes[idx]);
|
|
18606
18713
|
}
|
|
18607
|
-
function
|
|
18608
|
-
const {
|
|
18714
|
+
function handleScrollColumnChange(scrollColumn) {
|
|
18715
|
+
const { onChange, cascade } = props2;
|
|
18609
18716
|
if (isSamePicked()) {
|
|
18610
18717
|
return;
|
|
18611
18718
|
}
|
|
18612
|
-
if (cascade
|
|
18719
|
+
if (cascade) {
|
|
18613
18720
|
rebuildChildren(scrollColumn);
|
|
18614
18721
|
}
|
|
18615
18722
|
const hasScrolling = scrollColumns.value.some((scrollColumn2) => scrollColumn2.scrolling);
|
|
@@ -19115,7 +19222,7 @@ function __render__$s(_ctx, _cache) {
|
|
|
19115
19222
|
}
|
|
19116
19223
|
const __sfc__$t = vue.defineComponent({
|
|
19117
19224
|
name: name$m,
|
|
19118
|
-
components: { VarIcon: stdin_default$
|
|
19225
|
+
components: { VarIcon: stdin_default$3u },
|
|
19119
19226
|
props: props$m,
|
|
19120
19227
|
setup(props2) {
|
|
19121
19228
|
const controlPosition = vue.ref(0);
|
|
@@ -19404,9 +19511,9 @@ function __render__$r(_ctx, _cache) {
|
|
|
19404
19511
|
}
|
|
19405
19512
|
const __sfc__$s = vue.defineComponent({
|
|
19406
19513
|
name: name$l,
|
|
19407
|
-
directives: { Ripple: stdin_default$
|
|
19514
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
19408
19515
|
components: {
|
|
19409
|
-
VarIcon: stdin_default$
|
|
19516
|
+
VarIcon: stdin_default$3u,
|
|
19410
19517
|
VarFormDetails: stdin_default$2Q,
|
|
19411
19518
|
VarHoverOverlay: stdin_default$3b
|
|
19412
19519
|
},
|
|
@@ -19715,11 +19822,11 @@ function __render__$p(_ctx, _cache) {
|
|
|
19715
19822
|
const __sfc__$q = vue.defineComponent({
|
|
19716
19823
|
name: name$j,
|
|
19717
19824
|
components: {
|
|
19718
|
-
VarIcon: stdin_default$
|
|
19825
|
+
VarIcon: stdin_default$3u,
|
|
19719
19826
|
VarFormDetails: stdin_default$2Q,
|
|
19720
19827
|
VarHoverOverlay: stdin_default$3b
|
|
19721
19828
|
},
|
|
19722
|
-
directives: { Ripple: stdin_default$
|
|
19829
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
19723
19830
|
props: props$j,
|
|
19724
19831
|
setup(props2) {
|
|
19725
19832
|
const currentHoveringValue = vue.ref(-1);
|
|
@@ -20523,7 +20630,7 @@ function __render__$g(_ctx, _cache) {
|
|
|
20523
20630
|
const __sfc__$h = vue.defineComponent({
|
|
20524
20631
|
name: name$g,
|
|
20525
20632
|
components: {
|
|
20526
|
-
VarIcon: stdin_default$
|
|
20633
|
+
VarIcon: stdin_default$3u,
|
|
20527
20634
|
VarMenu: stdin_default$1O,
|
|
20528
20635
|
VarChip: stdin_default$2K,
|
|
20529
20636
|
VarFieldDecorator: stdin_default$2c,
|
|
@@ -21475,9 +21582,7 @@ const props$d = {
|
|
|
21475
21582
|
type: String,
|
|
21476
21583
|
default: "top"
|
|
21477
21584
|
},
|
|
21478
|
-
content:
|
|
21479
|
-
type: [String, Function, Object]
|
|
21480
|
-
},
|
|
21585
|
+
content: [String, Function, Object],
|
|
21481
21586
|
contentClass: String,
|
|
21482
21587
|
duration: {
|
|
21483
21588
|
type: Number,
|
|
@@ -21554,10 +21659,11 @@ function __render__$d(_ctx, _cache) {
|
|
|
21554
21659
|
2
|
|
21555
21660
|
/* CLASS */
|
|
21556
21661
|
),
|
|
21557
|
-
vue.
|
|
21662
|
+
_ctx.iconName || _ctx.type === "loading" || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock(
|
|
21558
21663
|
"div",
|
|
21559
21664
|
{
|
|
21560
|
-
|
|
21665
|
+
key: 0,
|
|
21666
|
+
class: vue.normalizeClass(_ctx.n("icon"))
|
|
21561
21667
|
},
|
|
21562
21668
|
[
|
|
21563
21669
|
_ctx.iconName ? (vue.openBlock(), vue.createBlock(_component_var_icon, {
|
|
@@ -21575,11 +21681,11 @@ function __render__$d(_ctx, _cache) {
|
|
|
21575
21681
|
],
|
|
21576
21682
|
2
|
|
21577
21683
|
/* CLASS */
|
|
21578
|
-
),
|
|
21684
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
21579
21685
|
_ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock(
|
|
21580
21686
|
"div",
|
|
21581
21687
|
{
|
|
21582
|
-
key:
|
|
21688
|
+
key: 1,
|
|
21583
21689
|
class: vue.normalizeClass(_ctx.n("action"))
|
|
21584
21690
|
},
|
|
21585
21691
|
[
|
|
@@ -21603,7 +21709,7 @@ const __sfc__$e = vue.defineComponent({
|
|
|
21603
21709
|
name: "VarSnackbarCore",
|
|
21604
21710
|
components: {
|
|
21605
21711
|
VarLoading: stdin_default$3d,
|
|
21606
|
-
VarIcon: stdin_default$
|
|
21712
|
+
VarIcon: stdin_default$3u
|
|
21607
21713
|
},
|
|
21608
21714
|
props: props$d,
|
|
21609
21715
|
setup(props2) {
|
|
@@ -21613,24 +21719,25 @@ const __sfc__$e = vue.defineComponent({
|
|
|
21613
21719
|
() => props2.show,
|
|
21614
21720
|
() => props2.lockScroll
|
|
21615
21721
|
);
|
|
21616
|
-
const isForbidClick = vue.computed(() =>
|
|
21617
|
-
|
|
21618
|
-
|
|
21619
|
-
return "";
|
|
21620
|
-
return ICON_TYPE_DICT[props2.type];
|
|
21722
|
+
const isForbidClick = vue.computed(() => {
|
|
21723
|
+
const { type, forbidClick } = props2;
|
|
21724
|
+
return type === "loading" || forbidClick;
|
|
21621
21725
|
});
|
|
21622
|
-
const
|
|
21726
|
+
const iconName = vue.computed(() => !props2.type ? "" : ICON_TYPE_DICT[props2.type]);
|
|
21727
|
+
function updateAfterDuration() {
|
|
21623
21728
|
timer.value = setTimeout(() => {
|
|
21624
|
-
props2.type !== "loading"
|
|
21729
|
+
if (props2.type !== "loading") {
|
|
21730
|
+
call(props2["onUpdate:show"], false);
|
|
21731
|
+
}
|
|
21625
21732
|
}, props2.duration);
|
|
21626
|
-
}
|
|
21733
|
+
}
|
|
21627
21734
|
vue.watch(
|
|
21628
21735
|
() => props2.show,
|
|
21629
21736
|
(show) => {
|
|
21630
21737
|
if (show) {
|
|
21631
21738
|
call(props2.onOpen);
|
|
21632
21739
|
updateAfterDuration();
|
|
21633
|
-
} else
|
|
21740
|
+
} else {
|
|
21634
21741
|
clearTimeout(timer.value);
|
|
21635
21742
|
call(props2.onClose);
|
|
21636
21743
|
}
|
|
@@ -21651,11 +21758,11 @@ const __sfc__$e = vue.defineComponent({
|
|
|
21651
21758
|
});
|
|
21652
21759
|
return {
|
|
21653
21760
|
SNACKBAR_TYPE,
|
|
21654
|
-
n: n$f,
|
|
21655
|
-
classes: classes$b,
|
|
21656
21761
|
zIndex,
|
|
21657
21762
|
iconName,
|
|
21658
|
-
isForbidClick
|
|
21763
|
+
isForbidClick,
|
|
21764
|
+
n: n$f,
|
|
21765
|
+
classes: classes$b
|
|
21659
21766
|
};
|
|
21660
21767
|
}
|
|
21661
21768
|
});
|
|
@@ -21676,25 +21783,28 @@ function __render__$c(_ctx, _cache) {
|
|
|
21676
21783
|
default: vue.withCtx(() => [
|
|
21677
21784
|
vue.createVNode(_component_var_snackbar_core, vue.mergeProps(_ctx.$props, {
|
|
21678
21785
|
class: _ctx.n("transition")
|
|
21679
|
-
}), {
|
|
21680
|
-
icon: vue.withCtx(() => [
|
|
21681
|
-
vue.renderSlot(_ctx.$slots, "icon")
|
|
21682
|
-
]),
|
|
21683
|
-
action: vue.withCtx(() => [
|
|
21684
|
-
vue.renderSlot(_ctx.$slots, "action")
|
|
21685
|
-
]),
|
|
21786
|
+
}), vue.createSlots({
|
|
21686
21787
|
default: vue.withCtx(() => [
|
|
21687
|
-
vue.renderSlot(_ctx.$slots, "default"
|
|
21688
|
-
vue.createTextVNode(
|
|
21689
|
-
vue.toDisplayString(_ctx.content),
|
|
21690
|
-
1
|
|
21691
|
-
/* TEXT */
|
|
21692
|
-
)
|
|
21693
|
-
])
|
|
21788
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
21694
21789
|
]),
|
|
21695
|
-
_:
|
|
21696
|
-
/*
|
|
21697
|
-
},
|
|
21790
|
+
_: 2
|
|
21791
|
+
/* DYNAMIC */
|
|
21792
|
+
}, [
|
|
21793
|
+
_ctx.$slots.icon ? {
|
|
21794
|
+
name: "icon",
|
|
21795
|
+
fn: vue.withCtx(() => [
|
|
21796
|
+
vue.renderSlot(_ctx.$slots, "icon")
|
|
21797
|
+
]),
|
|
21798
|
+
key: "0"
|
|
21799
|
+
} : void 0,
|
|
21800
|
+
_ctx.$slots.action ? {
|
|
21801
|
+
name: "action",
|
|
21802
|
+
fn: vue.withCtx(() => [
|
|
21803
|
+
vue.renderSlot(_ctx.$slots, "action")
|
|
21804
|
+
]),
|
|
21805
|
+
key: "1"
|
|
21806
|
+
} : void 0
|
|
21807
|
+
]), 1040, ["class"])
|
|
21698
21808
|
]),
|
|
21699
21809
|
_: 3
|
|
21700
21810
|
/* FORWARDED */
|
|
@@ -21805,7 +21915,7 @@ const TransitionGroupHost = {
|
|
|
21805
21915
|
});
|
|
21806
21916
|
return vue.createVNode(vue.TransitionGroup, vue.mergeProps(transitionGroupProps, {
|
|
21807
21917
|
"style": {
|
|
21808
|
-
zIndex: stdin_default$
|
|
21918
|
+
zIndex: stdin_default$3z.zIndex
|
|
21809
21919
|
},
|
|
21810
21920
|
"onAfterEnter": opened,
|
|
21811
21921
|
"onAfterLeave": removeUniqOption
|
|
@@ -22153,7 +22263,7 @@ function __render__$b(_ctx, _cache) {
|
|
|
22153
22263
|
}
|
|
22154
22264
|
const __sfc__$c = vue.defineComponent({
|
|
22155
22265
|
name: name$b,
|
|
22156
|
-
components: { VarIcon: stdin_default$
|
|
22266
|
+
components: { VarIcon: stdin_default$3u },
|
|
22157
22267
|
props: props$b,
|
|
22158
22268
|
setup() {
|
|
22159
22269
|
const { index, steps, bindSteps } = useSteps();
|
|
@@ -22293,6 +22403,7 @@ const props$8 = {
|
|
|
22293
22403
|
inactiveValue: {
|
|
22294
22404
|
default: false
|
|
22295
22405
|
},
|
|
22406
|
+
lazyChange: Boolean,
|
|
22296
22407
|
disabled: Boolean,
|
|
22297
22408
|
readonly: Boolean,
|
|
22298
22409
|
loading: Boolean,
|
|
@@ -22305,7 +22416,12 @@ const props$8 = {
|
|
|
22305
22416
|
type: Boolean,
|
|
22306
22417
|
default: true
|
|
22307
22418
|
},
|
|
22419
|
+
validateTrigger: {
|
|
22420
|
+
type: Array,
|
|
22421
|
+
default: () => ["onChange", "onLazyChange"]
|
|
22422
|
+
},
|
|
22308
22423
|
onClick: defineListenerProp(),
|
|
22424
|
+
onBeforeChange: defineListenerProp(),
|
|
22309
22425
|
onChange: defineListenerProp(),
|
|
22310
22426
|
"onUpdate:modelValue": defineListenerProp()
|
|
22311
22427
|
};
|
|
@@ -22425,7 +22541,7 @@ const __sfc__$9 = vue.defineComponent({
|
|
|
22425
22541
|
VarFormDetails: stdin_default$2Q,
|
|
22426
22542
|
VarHoverOverlay: stdin_default$3b
|
|
22427
22543
|
},
|
|
22428
|
-
directives: { Ripple: stdin_default$
|
|
22544
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
22429
22545
|
props: props$8,
|
|
22430
22546
|
setup(props2) {
|
|
22431
22547
|
const { bindForm, form } = useForm();
|
|
@@ -22469,8 +22585,11 @@ const __sfc__$9 = vue.defineComponent({
|
|
|
22469
22585
|
function validate() {
|
|
22470
22586
|
return v(props2.rules, props2.modelValue);
|
|
22471
22587
|
}
|
|
22472
|
-
function validateWithTrigger() {
|
|
22473
|
-
|
|
22588
|
+
function validateWithTrigger(trigger) {
|
|
22589
|
+
vue.nextTick(() => {
|
|
22590
|
+
const { validateTrigger, rules, modelValue } = props2;
|
|
22591
|
+
vt(validateTrigger, trigger, rules, modelValue);
|
|
22592
|
+
});
|
|
22474
22593
|
}
|
|
22475
22594
|
function switchActive(event) {
|
|
22476
22595
|
const {
|
|
@@ -22482,16 +22601,25 @@ const __sfc__$9 = vue.defineComponent({
|
|
|
22482
22601
|
modelValue,
|
|
22483
22602
|
activeValue,
|
|
22484
22603
|
inactiveValue,
|
|
22485
|
-
|
|
22604
|
+
lazyChange,
|
|
22605
|
+
"onUpdate:modelValue": updateModelValue,
|
|
22606
|
+
onBeforeChange
|
|
22486
22607
|
} = props2;
|
|
22487
22608
|
call(onClick, event);
|
|
22488
22609
|
if (disabled || loading || readonly || (form == null ? void 0 : form.disabled.value) || (form == null ? void 0 : form.readonly.value)) {
|
|
22489
22610
|
return;
|
|
22490
22611
|
}
|
|
22491
22612
|
const newValue = modelValue === activeValue ? inactiveValue : activeValue;
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22613
|
+
if (lazyChange) {
|
|
22614
|
+
call(onBeforeChange, newValue, (value) => {
|
|
22615
|
+
call(updateModelValue, value);
|
|
22616
|
+
validateWithTrigger("onLazyChange");
|
|
22617
|
+
});
|
|
22618
|
+
} else {
|
|
22619
|
+
call(onChange, newValue);
|
|
22620
|
+
call(updateModelValue, newValue);
|
|
22621
|
+
validateWithTrigger("onChange");
|
|
22622
|
+
}
|
|
22495
22623
|
}
|
|
22496
22624
|
function hover(value) {
|
|
22497
22625
|
if (props2.disabled || (form == null ? void 0 : form.disabled.value)) {
|
|
@@ -22577,7 +22705,7 @@ function __render__$8(_ctx, _cache) {
|
|
|
22577
22705
|
}
|
|
22578
22706
|
const __sfc__$8 = vue.defineComponent({
|
|
22579
22707
|
name: name$7,
|
|
22580
|
-
directives: { Ripple: stdin_default$
|
|
22708
|
+
directives: { Ripple: stdin_default$3y },
|
|
22581
22709
|
props: props$7,
|
|
22582
22710
|
setup(props2) {
|
|
22583
22711
|
const tabEl = vue.ref(null);
|
|
@@ -24482,10 +24610,10 @@ function __render__$1(_ctx, _cache) {
|
|
|
24482
24610
|
}
|
|
24483
24611
|
const __sfc__$1 = vue.defineComponent({
|
|
24484
24612
|
name: name$1,
|
|
24485
|
-
directives: { Ripple: stdin_default$
|
|
24613
|
+
directives: { Ripple: stdin_default$3y, Hover: stdin_default$3a },
|
|
24486
24614
|
components: {
|
|
24487
|
-
VarIcon: stdin_default$
|
|
24488
|
-
VarPopup: stdin_default$
|
|
24615
|
+
VarIcon: stdin_default$3u,
|
|
24616
|
+
VarPopup: stdin_default$3w,
|
|
24489
24617
|
VarFormDetails: stdin_default$2Q,
|
|
24490
24618
|
VarHoverOverlay: stdin_default$3b
|
|
24491
24619
|
},
|
|
@@ -25037,7 +25165,7 @@ withInstall(stdin_default$1);
|
|
|
25037
25165
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
25038
25166
|
const _WatermarkComponent = stdin_default$1;
|
|
25039
25167
|
var stdin_default = stdin_default$1;
|
|
25040
|
-
const version = "2.
|
|
25168
|
+
const version = "2.22.0-alpha.1705845515578";
|
|
25041
25169
|
function install(app) {
|
|
25042
25170
|
stdin_default$3m.install && app.use(stdin_default$3m);
|
|
25043
25171
|
stdin_default$3k.install && app.use(stdin_default$3k);
|
|
@@ -25060,7 +25188,7 @@ function install(app) {
|
|
|
25060
25188
|
stdin_default$2G.install && app.use(stdin_default$2G);
|
|
25061
25189
|
stdin_default$2E.install && app.use(stdin_default$2E);
|
|
25062
25190
|
stdin_default$2C.install && app.use(stdin_default$2C);
|
|
25063
|
-
stdin_default$
|
|
25191
|
+
stdin_default$3z.install && app.use(stdin_default$3z);
|
|
25064
25192
|
stdin_default$2A.install && app.use(stdin_default$2A);
|
|
25065
25193
|
stdin_default$2y.install && app.use(stdin_default$2y);
|
|
25066
25194
|
stdin_default$2q.install && app.use(stdin_default$2q);
|
|
@@ -25075,7 +25203,7 @@ function install(app) {
|
|
|
25075
25203
|
stdin_default$2Q.install && app.use(stdin_default$2Q);
|
|
25076
25204
|
stdin_default$3a.install && app.use(stdin_default$3a);
|
|
25077
25205
|
stdin_default$3b.install && app.use(stdin_default$3b);
|
|
25078
|
-
stdin_default$
|
|
25206
|
+
stdin_default$3u.install && app.use(stdin_default$3u);
|
|
25079
25207
|
stdin_default$26.install && app.use(stdin_default$26);
|
|
25080
25208
|
stdin_default$20.install && app.use(stdin_default$20);
|
|
25081
25209
|
stdin_default$1_.install && app.use(stdin_default$1_);
|
|
@@ -25095,14 +25223,14 @@ function install(app) {
|
|
|
25095
25223
|
stdin_default$1E.install && app.use(stdin_default$1E);
|
|
25096
25224
|
stdin_default$1C.install && app.use(stdin_default$1C);
|
|
25097
25225
|
stdin_default$1A.install && app.use(stdin_default$1A);
|
|
25098
|
-
stdin_default$
|
|
25226
|
+
stdin_default$3w.install && app.use(stdin_default$3w);
|
|
25099
25227
|
stdin_default$1y.install && app.use(stdin_default$1y);
|
|
25100
25228
|
stdin_default$1w.install && app.use(stdin_default$1w);
|
|
25101
25229
|
stdin_default$1u.install && app.use(stdin_default$1u);
|
|
25102
25230
|
stdin_default$1s.install && app.use(stdin_default$1s);
|
|
25103
25231
|
stdin_default$1q.install && app.use(stdin_default$1q);
|
|
25104
25232
|
stdin_default$1i.install && app.use(stdin_default$1i);
|
|
25105
|
-
stdin_default$
|
|
25233
|
+
stdin_default$3y.install && app.use(stdin_default$3y);
|
|
25106
25234
|
stdin_default$1g.install && app.use(stdin_default$1g);
|
|
25107
25235
|
stdin_default$1e.install && app.use(stdin_default$1e);
|
|
25108
25236
|
stdin_default$1c.install && app.use(stdin_default$1c);
|
|
@@ -25151,7 +25279,7 @@ const index_bundle = {
|
|
|
25151
25279
|
Collapse: stdin_default$2G,
|
|
25152
25280
|
CollapseItem: stdin_default$2E,
|
|
25153
25281
|
CollapseTransition: stdin_default$2C,
|
|
25154
|
-
Context: stdin_default$
|
|
25282
|
+
Context: stdin_default$3z,
|
|
25155
25283
|
Countdown: stdin_default$2A,
|
|
25156
25284
|
Counter: stdin_default$2y,
|
|
25157
25285
|
DatePicker: stdin_default$2q,
|
|
@@ -25166,7 +25294,7 @@ const index_bundle = {
|
|
|
25166
25294
|
FormDetails: stdin_default$2Q,
|
|
25167
25295
|
Hover: stdin_default$3a,
|
|
25168
25296
|
HoverOverlay: stdin_default$3b,
|
|
25169
|
-
Icon: stdin_default$
|
|
25297
|
+
Icon: stdin_default$3u,
|
|
25170
25298
|
Image: stdin_default$26,
|
|
25171
25299
|
ImagePreview: stdin_default$20,
|
|
25172
25300
|
IndexAnchor: stdin_default$1_,
|
|
@@ -25186,14 +25314,14 @@ const index_bundle = {
|
|
|
25186
25314
|
Pagination: stdin_default$1E,
|
|
25187
25315
|
Paper: stdin_default$1C,
|
|
25188
25316
|
Picker: stdin_default$1A,
|
|
25189
|
-
Popup: stdin_default$
|
|
25317
|
+
Popup: stdin_default$3w,
|
|
25190
25318
|
Progress: stdin_default$1y,
|
|
25191
25319
|
PullRefresh: stdin_default$1w,
|
|
25192
25320
|
Radio: stdin_default$1u,
|
|
25193
25321
|
RadioGroup: stdin_default$1s,
|
|
25194
25322
|
Rate: stdin_default$1q,
|
|
25195
25323
|
Result: stdin_default$1i,
|
|
25196
|
-
Ripple: stdin_default$
|
|
25324
|
+
Ripple: stdin_default$3y,
|
|
25197
25325
|
Row: stdin_default$1g,
|
|
25198
25326
|
Select: stdin_default$1e,
|
|
25199
25327
|
Skeleton: stdin_default$1c,
|
|
@@ -25239,7 +25367,7 @@ exports.Col = stdin_default$2I;
|
|
|
25239
25367
|
exports.Collapse = stdin_default$2G;
|
|
25240
25368
|
exports.CollapseItem = stdin_default$2E;
|
|
25241
25369
|
exports.CollapseTransition = stdin_default$2C;
|
|
25242
|
-
exports.Context = stdin_default$
|
|
25370
|
+
exports.Context = stdin_default$3z;
|
|
25243
25371
|
exports.Countdown = stdin_default$2A;
|
|
25244
25372
|
exports.Counter = stdin_default$2y;
|
|
25245
25373
|
exports.DatePicker = stdin_default$2q;
|
|
@@ -25254,7 +25382,7 @@ exports.Form = stdin_default$28;
|
|
|
25254
25382
|
exports.FormDetails = stdin_default$2Q;
|
|
25255
25383
|
exports.Hover = stdin_default$3a;
|
|
25256
25384
|
exports.HoverOverlay = stdin_default$3b;
|
|
25257
|
-
exports.Icon = stdin_default$
|
|
25385
|
+
exports.Icon = stdin_default$3u;
|
|
25258
25386
|
exports.Image = stdin_default$26;
|
|
25259
25387
|
exports.ImagePreview = stdin_default$20;
|
|
25260
25388
|
exports.IndexAnchor = stdin_default$1_;
|
|
@@ -25275,14 +25403,14 @@ exports.PIXEL = PIXEL;
|
|
|
25275
25403
|
exports.Pagination = stdin_default$1E;
|
|
25276
25404
|
exports.Paper = stdin_default$1C;
|
|
25277
25405
|
exports.Picker = stdin_default$1A;
|
|
25278
|
-
exports.Popup = stdin_default$
|
|
25406
|
+
exports.Popup = stdin_default$3w;
|
|
25279
25407
|
exports.Progress = stdin_default$1y;
|
|
25280
25408
|
exports.PullRefresh = stdin_default$1w;
|
|
25281
25409
|
exports.Radio = stdin_default$1u;
|
|
25282
25410
|
exports.RadioGroup = stdin_default$1s;
|
|
25283
25411
|
exports.Rate = stdin_default$1q;
|
|
25284
25412
|
exports.Result = stdin_default$1i;
|
|
25285
|
-
exports.Ripple = stdin_default$
|
|
25413
|
+
exports.Ripple = stdin_default$3y;
|
|
25286
25414
|
exports.Row = stdin_default$1g;
|
|
25287
25415
|
exports.SNACKBAR_TYPE = SNACKBAR_TYPE;
|
|
25288
25416
|
exports.Select = stdin_default$1e;
|
|
@@ -25425,7 +25553,7 @@ exports.dialogProps = props$O;
|
|
|
25425
25553
|
exports.dividerProps = props$N;
|
|
25426
25554
|
exports.dragProps = props$M;
|
|
25427
25555
|
exports.ellipsisProps = props$K;
|
|
25428
|
-
exports.enUS = stdin_default$
|
|
25556
|
+
exports.enUS = stdin_default$3s;
|
|
25429
25557
|
exports.fabProps = props$J;
|
|
25430
25558
|
exports.fieldDecoratorProps = props$I;
|
|
25431
25559
|
exports.formDetailsProps = props$_;
|
|
@@ -25486,4 +25614,4 @@ exports.useHoverOverlay = useHoverOverlay;
|
|
|
25486
25614
|
exports.useLocale = useLocale;
|
|
25487
25615
|
exports.version = version;
|
|
25488
25616
|
exports.watermarkProps = props;
|
|
25489
|
-
exports.zhCN = stdin_default$
|
|
25617
|
+
exports.zhCN = stdin_default$3t;
|