vant 4.0.7 → 4.0.9
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/back-top/BackTop.d.ts +4 -0
- package/es/back-top/BackTop.mjs +2 -1
- package/es/back-top/index.d.ts +3 -0
- package/es/calendar/Calendar.mjs +1 -1
- package/es/calendar/CalendarMonth.mjs +4 -1
- package/es/icon/index.css +1 -1
- package/es/image-preview/ImagePreview.mjs +13 -3
- package/es/image-preview/ImagePreviewItem.d.ts +3 -0
- package/es/image-preview/ImagePreviewItem.mjs +21 -9
- package/es/index.d.ts +5 -1
- package/es/index.mjs +13 -1
- package/es/locale/index.d.ts +1 -0
- package/es/locale/index.mjs +3 -1
- package/es/locale/lang/eo-EO.d.ts +62 -0
- package/es/locale/lang/eo-EO.mjs +64 -0
- package/es/locale/lang/it-IT.mjs +12 -12
- package/es/number-keyboard/index.css +1 -1
- package/es/picker/index.css +1 -1
- package/es/picker-group/PickerGroup.d.ts +3 -0
- package/es/picker-group/PickerGroup.mjs +20 -7
- package/es/picker-group/index.d.ts +2 -0
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/Skeleton.mjs +3 -3
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +6 -73
- package/es/skeleton/index.mjs +1 -21
- package/es/skeleton/style/index.mjs +3 -2
- package/es/skeleton/types.d.ts +0 -2
- package/es/{skeleton → skeleton-avatar}/SkeletonAvatar.d.ts +1 -1
- package/es/{skeleton → skeleton-avatar}/SkeletonAvatar.mjs +0 -0
- package/es/skeleton-avatar/index.css +1 -0
- package/es/skeleton-avatar/index.d.ts +23 -0
- package/es/skeleton-avatar/index.mjs +10 -0
- package/es/skeleton-avatar/style/index.d.ts +1 -0
- package/es/skeleton-avatar/style/index.mjs +2 -0
- package/{lib/skeleton → es/skeleton-image}/SkeletonImage.d.ts +1 -1
- package/es/{skeleton → skeleton-image}/SkeletonImage.mjs +0 -0
- package/es/skeleton-image/index.css +1 -0
- package/es/skeleton-image/index.d.ts +23 -0
- package/es/skeleton-image/index.mjs +10 -0
- package/es/skeleton-image/style/index.d.ts +1 -0
- package/es/skeleton-image/style/index.mjs +4 -0
- package/es/{skeleton → skeleton-paragraph}/SkeletonParagraph.d.ts +0 -0
- package/es/{skeleton → skeleton-paragraph}/SkeletonParagraph.mjs +0 -0
- package/es/skeleton-paragraph/index.css +1 -0
- package/es/skeleton-paragraph/index.d.ts +24 -0
- package/es/skeleton-paragraph/index.mjs +11 -0
- package/es/skeleton-paragraph/style/index.d.ts +1 -0
- package/es/skeleton-paragraph/style/index.mjs +2 -0
- package/es/{skeleton → skeleton-title}/SkeletonTitle.d.ts +0 -0
- package/es/{skeleton → skeleton-title}/SkeletonTitle.mjs +0 -0
- package/es/skeleton-title/index.css +1 -0
- package/es/skeleton-title/index.d.ts +17 -0
- package/es/skeleton-title/index.mjs +10 -0
- package/es/skeleton-title/style/index.d.ts +1 -0
- package/es/skeleton-title/style/index.mjs +2 -0
- package/es/slider/Slider.d.ts +2 -2
- package/es/slider/index.d.ts +2 -2
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/swipe/Swipe.d.ts +3 -1
- package/es/swipe/Swipe.mjs +10 -2
- package/es/swipe/index.d.ts +3 -1
- package/lib/back-top/BackTop.d.ts +4 -0
- package/lib/back-top/BackTop.js +2 -1
- package/lib/back-top/index.d.ts +3 -0
- package/lib/calendar/Calendar.js +1 -1
- package/lib/calendar/CalendarMonth.js +4 -1
- package/lib/icon/index.css +1 -1
- package/lib/image-preview/ImagePreview.js +13 -3
- package/lib/image-preview/ImagePreviewItem.d.ts +3 -0
- package/lib/image-preview/ImagePreviewItem.js +21 -9
- package/lib/index.css +1 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -1
- package/lib/locale/index.d.ts +1 -0
- package/lib/locale/index.js +3 -1
- package/lib/locale/lang/eo-EO.d.ts +62 -0
- package/lib/locale/lang/eo-EO.js +83 -0
- package/lib/locale/lang/it-IT.js +12 -12
- package/lib/number-keyboard/index.css +1 -1
- package/lib/picker/index.css +1 -1
- package/lib/picker-group/PickerGroup.d.ts +3 -0
- package/lib/picker-group/PickerGroup.js +18 -5
- package/lib/picker-group/index.d.ts +2 -0
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/Skeleton.js +8 -8
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +6 -73
- package/lib/skeleton/index.js +1 -21
- package/lib/skeleton/style/index.js +3 -2
- package/lib/skeleton/types.d.ts +0 -2
- package/lib/{skeleton → skeleton-avatar}/SkeletonAvatar.d.ts +1 -1
- package/lib/{skeleton → skeleton-avatar}/SkeletonAvatar.js +0 -0
- package/lib/skeleton-avatar/index.css +1 -0
- package/lib/skeleton-avatar/index.d.ts +23 -0
- package/lib/skeleton-avatar/index.js +35 -0
- package/lib/skeleton-avatar/style/index.d.ts +1 -0
- package/lib/skeleton-avatar/style/index.js +2 -0
- package/{es/skeleton → lib/skeleton-image}/SkeletonImage.d.ts +1 -1
- package/lib/{skeleton → skeleton-image}/SkeletonImage.js +0 -0
- package/lib/skeleton-image/index.css +1 -0
- package/lib/skeleton-image/index.d.ts +23 -0
- package/lib/skeleton-image/index.js +35 -0
- package/lib/skeleton-image/style/index.d.ts +1 -0
- package/lib/skeleton-image/style/index.js +4 -0
- package/lib/{skeleton → skeleton-paragraph}/SkeletonParagraph.d.ts +0 -0
- package/lib/{skeleton → skeleton-paragraph}/SkeletonParagraph.js +0 -0
- package/lib/skeleton-paragraph/index.css +1 -0
- package/lib/skeleton-paragraph/index.d.ts +24 -0
- package/lib/skeleton-paragraph/index.js +36 -0
- package/lib/skeleton-paragraph/style/index.d.ts +1 -0
- package/lib/skeleton-paragraph/style/index.js +2 -0
- package/lib/{skeleton → skeleton-title}/SkeletonTitle.d.ts +0 -0
- package/lib/{skeleton → skeleton-title}/SkeletonTitle.js +0 -0
- package/lib/skeleton-title/index.css +1 -0
- package/lib/skeleton-title/index.d.ts +17 -0
- package/lib/skeleton-title/index.js +35 -0
- package/lib/skeleton-title/style/index.d.ts +1 -0
- package/lib/skeleton-title/style/index.js +2 -0
- package/lib/slider/Slider.d.ts +2 -2
- package/lib/slider/index.d.ts +2 -2
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/swipe/Swipe.d.ts +3 -1
- package/lib/swipe/Swipe.js +10 -2
- package/lib/swipe/index.d.ts +3 -1
- package/lib/vant.cjs.js +274 -217
- package/lib/vant.es.js +274 -217
- package/lib/vant.js +284 -218
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +2 -2
package/lib/vant.js
CHANGED
@@ -142,10 +142,19 @@
|
|
142
142
|
traverse(children);
|
143
143
|
return result;
|
144
144
|
}
|
145
|
+
var findVNodeIndex = (vnodes, vnode) => {
|
146
|
+
const index = vnodes.indexOf(vnode);
|
147
|
+
if (index === -1) {
|
148
|
+
return vnodes.findIndex(
|
149
|
+
(item) => vnode.key !== void 0 && vnode.key !== null && item.type === vnode.type && item.key === vnode.key
|
150
|
+
);
|
151
|
+
}
|
152
|
+
return index;
|
153
|
+
};
|
145
154
|
function sortChildren(parent, publicChildren, internalChildren) {
|
146
155
|
const vnodes = flattenVNodes(parent.subTree.children);
|
147
156
|
internalChildren.sort(
|
148
|
-
(a, b) => vnodes
|
157
|
+
(a, b) => findVNodeIndex(vnodes, a.vnode) - findVNodeIndex(vnodes, b.vnode)
|
149
158
|
);
|
150
159
|
const orderedPublicChildren = internalChildren.map((item) => item.proxy);
|
151
160
|
publicChildren.sort((a, b) => {
|
@@ -604,7 +613,7 @@
|
|
604
613
|
});
|
605
614
|
return to;
|
606
615
|
}
|
607
|
-
var stdin_default$
|
616
|
+
var stdin_default$1N = {
|
608
617
|
name: "姓名",
|
609
618
|
tel: "电话",
|
610
619
|
save: "保存",
|
@@ -667,7 +676,7 @@
|
|
667
676
|
};
|
668
677
|
const lang = vue.ref("zh-CN");
|
669
678
|
const messages = vue.reactive({
|
670
|
-
"zh-CN": stdin_default$
|
679
|
+
"zh-CN": stdin_default$1N
|
671
680
|
});
|
672
681
|
const Locale = {
|
673
682
|
messages() {
|
@@ -681,11 +690,12 @@
|
|
681
690
|
deepAssign(messages, newMessages);
|
682
691
|
}
|
683
692
|
};
|
684
|
-
|
693
|
+
const useCurrentLang = () => lang;
|
694
|
+
var stdin_default$1M = Locale;
|
685
695
|
function createTranslate(name2) {
|
686
696
|
const prefix = camelize(name2) + ".";
|
687
697
|
return (path, ...args) => {
|
688
|
-
const messages2 = stdin_default$
|
698
|
+
const messages2 = stdin_default$1M.messages();
|
689
699
|
const message = get(messages2, prefix + path) || get(messages2, path);
|
690
700
|
return isFunction(message) ? message(...args) : message;
|
691
701
|
};
|
@@ -813,7 +823,7 @@
|
|
813
823
|
placeholder: Boolean,
|
814
824
|
safeAreaInsetBottom: truthProp
|
815
825
|
};
|
816
|
-
var stdin_default$
|
826
|
+
var stdin_default$1L = vue.defineComponent({
|
817
827
|
name: name$1B,
|
818
828
|
props: actionBarProps,
|
819
829
|
setup(props, {
|
@@ -842,7 +852,7 @@
|
|
842
852
|
};
|
843
853
|
}
|
844
854
|
});
|
845
|
-
const ActionBar = withInstall(stdin_default$
|
855
|
+
const ActionBar = withInstall(stdin_default$1L);
|
846
856
|
function useExpose(apis) {
|
847
857
|
const instance2 = vue.getCurrentInstance();
|
848
858
|
if (instance2) {
|
@@ -881,7 +891,7 @@
|
|
881
891
|
showZero: truthProp,
|
882
892
|
position: makeStringProp("top-right")
|
883
893
|
};
|
884
|
-
var stdin_default$
|
894
|
+
var stdin_default$1K = vue.defineComponent({
|
885
895
|
name: name$1A,
|
886
896
|
props: badgeProps,
|
887
897
|
setup(props, {
|
@@ -968,7 +978,7 @@
|
|
968
978
|
};
|
969
979
|
}
|
970
980
|
});
|
971
|
-
const Badge = withInstall(stdin_default$
|
981
|
+
const Badge = withInstall(stdin_default$1K);
|
972
982
|
let globalZIndex = 2e3;
|
973
983
|
const useGlobalZIndex = () => ++globalZIndex;
|
974
984
|
const setGlobalZIndex = (val) => {
|
@@ -992,7 +1002,7 @@
|
|
992
1002
|
});
|
993
1003
|
return cssVars;
|
994
1004
|
}
|
995
|
-
var stdin_default$
|
1005
|
+
var stdin_default$1J = vue.defineComponent({
|
996
1006
|
name: name$1z,
|
997
1007
|
props: configProviderProps,
|
998
1008
|
setup(props, {
|
@@ -1047,7 +1057,7 @@
|
|
1047
1057
|
badgeProps: Object,
|
1048
1058
|
classPrefix: String
|
1049
1059
|
};
|
1050
|
-
var stdin_default$
|
1060
|
+
var stdin_default$1I = vue.defineComponent({
|
1051
1061
|
name: name$1y,
|
1052
1062
|
props: iconProps,
|
1053
1063
|
setup(props, {
|
@@ -1086,7 +1096,7 @@
|
|
1086
1096
|
};
|
1087
1097
|
}
|
1088
1098
|
});
|
1089
|
-
const Icon = withInstall(stdin_default$
|
1099
|
+
const Icon = withInstall(stdin_default$1I);
|
1090
1100
|
const [name$1x, bem$1s] = createNamespace("loading");
|
1091
1101
|
const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
|
1092
1102
|
"class": bem$1s("line", String(index + 1))
|
@@ -1108,7 +1118,7 @@
|
|
1108
1118
|
textSize: numericProp,
|
1109
1119
|
textColor: String
|
1110
1120
|
};
|
1111
|
-
var stdin_default$
|
1121
|
+
var stdin_default$1H = vue.defineComponent({
|
1112
1122
|
name: name$1x,
|
1113
1123
|
props: loadingProps,
|
1114
1124
|
setup(props, {
|
@@ -1151,7 +1161,7 @@
|
|
1151
1161
|
};
|
1152
1162
|
}
|
1153
1163
|
});
|
1154
|
-
const Loading = withInstall(stdin_default$
|
1164
|
+
const Loading = withInstall(stdin_default$1H);
|
1155
1165
|
const [name$1w, bem$1r] = createNamespace("button");
|
1156
1166
|
const buttonProps = extend({}, routeProps, {
|
1157
1167
|
tag: makeStringProp("button"),
|
@@ -1174,7 +1184,7 @@
|
|
1174
1184
|
loadingType: String,
|
1175
1185
|
iconPosition: makeStringProp("left")
|
1176
1186
|
});
|
1177
|
-
var stdin_default$
|
1187
|
+
var stdin_default$1G = vue.defineComponent({
|
1178
1188
|
name: name$1w,
|
1179
1189
|
props: buttonProps,
|
1180
1190
|
emits: ["click"],
|
@@ -1291,7 +1301,7 @@
|
|
1291
1301
|
};
|
1292
1302
|
}
|
1293
1303
|
});
|
1294
|
-
const Button = withInstall(stdin_default$
|
1304
|
+
const Button = withInstall(stdin_default$1G);
|
1295
1305
|
const [name$1v, bem$1q] = createNamespace("action-bar-button");
|
1296
1306
|
const actionBarButtonProps = extend({}, routeProps, {
|
1297
1307
|
type: String,
|
@@ -1301,7 +1311,7 @@
|
|
1301
1311
|
loading: Boolean,
|
1302
1312
|
disabled: Boolean
|
1303
1313
|
});
|
1304
|
-
var stdin_default$
|
1314
|
+
var stdin_default$1F = vue.defineComponent({
|
1305
1315
|
name: name$1v,
|
1306
1316
|
props: actionBarButtonProps,
|
1307
1317
|
setup(props, {
|
@@ -1354,7 +1364,7 @@
|
|
1354
1364
|
};
|
1355
1365
|
}
|
1356
1366
|
});
|
1357
|
-
const ActionBarButton = withInstall(stdin_default$
|
1367
|
+
const ActionBarButton = withInstall(stdin_default$1F);
|
1358
1368
|
const [name$1u, bem$1p] = createNamespace("action-bar-icon");
|
1359
1369
|
const actionBarIconProps = extend({}, routeProps, {
|
1360
1370
|
dot: Boolean,
|
@@ -1366,7 +1376,7 @@
|
|
1366
1376
|
badgeProps: Object,
|
1367
1377
|
iconPrefix: String
|
1368
1378
|
});
|
1369
|
-
var stdin_default$
|
1379
|
+
var stdin_default$1E = vue.defineComponent({
|
1370
1380
|
name: name$1u,
|
1371
1381
|
props: actionBarIconProps,
|
1372
1382
|
setup(props, {
|
@@ -1412,7 +1422,7 @@
|
|
1412
1422
|
}, [renderIcon(), slots.default ? slots.default() : props.text]);
|
1413
1423
|
}
|
1414
1424
|
});
|
1415
|
-
const ActionBarIcon = withInstall(stdin_default$
|
1425
|
+
const ActionBarIcon = withInstall(stdin_default$1E);
|
1416
1426
|
const popupSharedProps = {
|
1417
1427
|
show: Boolean,
|
1418
1428
|
zIndex: numericProp,
|
@@ -1561,7 +1571,7 @@
|
|
1561
1571
|
lazyRender: truthProp,
|
1562
1572
|
customStyle: Object
|
1563
1573
|
};
|
1564
|
-
var stdin_default$
|
1574
|
+
var stdin_default$1D = vue.defineComponent({
|
1565
1575
|
name: name$1t,
|
1566
1576
|
props: overlayProps,
|
1567
1577
|
setup(props, {
|
@@ -1597,7 +1607,7 @@
|
|
1597
1607
|
});
|
1598
1608
|
}
|
1599
1609
|
});
|
1600
|
-
const Overlay = withInstall(stdin_default$
|
1610
|
+
const Overlay = withInstall(stdin_default$1D);
|
1601
1611
|
const popupProps$2 = extend({}, popupSharedProps, {
|
1602
1612
|
round: Boolean,
|
1603
1613
|
position: makeStringProp("center"),
|
@@ -1611,7 +1621,7 @@
|
|
1611
1621
|
safeAreaInsetBottom: Boolean
|
1612
1622
|
});
|
1613
1623
|
const [name$1s, bem$1n] = createNamespace("popup");
|
1614
|
-
var stdin_default$
|
1624
|
+
var stdin_default$1C = vue.defineComponent({
|
1615
1625
|
name: name$1s,
|
1616
1626
|
inheritAttrs: false,
|
1617
1627
|
props: popupProps$2,
|
@@ -1789,7 +1799,7 @@
|
|
1789
1799
|
};
|
1790
1800
|
}
|
1791
1801
|
});
|
1792
|
-
const Popup = withInstall(stdin_default$
|
1802
|
+
const Popup = withInstall(stdin_default$1C);
|
1793
1803
|
const [name$1r, bem$1m] = createNamespace("action-sheet");
|
1794
1804
|
const actionSheetProps = extend({}, popupSharedProps, {
|
1795
1805
|
title: String,
|
@@ -1804,7 +1814,7 @@
|
|
1804
1814
|
safeAreaInsetBottom: truthProp
|
1805
1815
|
});
|
1806
1816
|
const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
1807
|
-
var stdin_default$
|
1817
|
+
var stdin_default$1B = vue.defineComponent({
|
1808
1818
|
name: name$1r,
|
1809
1819
|
props: actionSheetProps,
|
1810
1820
|
emits: ["select", "cancel", "update:show"],
|
@@ -1911,7 +1921,7 @@
|
|
1911
1921
|
});
|
1912
1922
|
}
|
1913
1923
|
});
|
1914
|
-
const ActionSheet = withInstall(stdin_default$
|
1924
|
+
const ActionSheet = withInstall(stdin_default$1B);
|
1915
1925
|
const [name$1q, bem$1l, t$j] = createNamespace("picker");
|
1916
1926
|
const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
|
1917
1927
|
function getColumnsType(columns, fields) {
|
@@ -1983,7 +1993,7 @@
|
|
1983
1993
|
const MOMENTUM_DISTANCE = 15;
|
1984
1994
|
const [name$1p, bem$1k] = createNamespace("picker-column");
|
1985
1995
|
const PICKER_KEY = Symbol(name$1p);
|
1986
|
-
var stdin_default$
|
1996
|
+
var stdin_default$1A = vue.defineComponent({
|
1987
1997
|
name: name$1p,
|
1988
1998
|
props: {
|
1989
1999
|
value: numericProp,
|
@@ -2169,7 +2179,7 @@
|
|
2169
2179
|
};
|
2170
2180
|
const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
|
2171
2181
|
const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
|
2172
|
-
var stdin_default$
|
2182
|
+
var stdin_default$1z = vue.defineComponent({
|
2173
2183
|
name: name$1o,
|
2174
2184
|
props: pickerToolbarProps,
|
2175
2185
|
emits: ["confirm", "cancel"],
|
@@ -2295,7 +2305,7 @@
|
|
2295
2305
|
offsetTop: makeNumericProp(0),
|
2296
2306
|
offsetBottom: makeNumericProp(0)
|
2297
2307
|
};
|
2298
|
-
var stdin_default$
|
2308
|
+
var stdin_default$1y = vue.defineComponent({
|
2299
2309
|
name: name$1n,
|
2300
2310
|
props: stickyProps,
|
2301
2311
|
emits: ["scroll", "change"],
|
@@ -2399,9 +2409,9 @@
|
|
2399
2409
|
};
|
2400
2410
|
}
|
2401
2411
|
});
|
2402
|
-
const Sticky = withInstall(stdin_default$
|
2412
|
+
const Sticky = withInstall(stdin_default$1y);
|
2403
2413
|
const [name$1m, bem$1i] = createNamespace("tab");
|
2404
|
-
var stdin_default$
|
2414
|
+
var stdin_default$1x = vue.defineComponent({
|
2405
2415
|
name: name$1m,
|
2406
2416
|
props: {
|
2407
2417
|
id: String,
|
@@ -2499,10 +2509,10 @@
|
|
2499
2509
|
stopPropagation: truthProp
|
2500
2510
|
};
|
2501
2511
|
const SWIPE_KEY = Symbol(name$1l);
|
2502
|
-
var stdin_default$
|
2512
|
+
var stdin_default$1w = vue.defineComponent({
|
2503
2513
|
name: name$1l,
|
2504
2514
|
props: swipeProps,
|
2505
|
-
emits: ["change"],
|
2515
|
+
emits: ["change", "dragStart", "dragEnd"],
|
2506
2516
|
setup(props, {
|
2507
2517
|
emit,
|
2508
2518
|
slots
|
@@ -2517,6 +2527,7 @@
|
|
2517
2527
|
active: 0,
|
2518
2528
|
swiping: false
|
2519
2529
|
});
|
2530
|
+
let dragging = false;
|
2520
2531
|
const touch = useTouch();
|
2521
2532
|
const {
|
2522
2533
|
children,
|
@@ -2687,9 +2698,10 @@
|
|
2687
2698
|
const resize = () => initialize(state.active);
|
2688
2699
|
let touchStartTime;
|
2689
2700
|
const onTouchStart = (event) => {
|
2690
|
-
if (!props.touchable)
|
2701
|
+
if (!props.touchable || event.touches.length > 1)
|
2691
2702
|
return;
|
2692
2703
|
touch.start(event);
|
2704
|
+
dragging = false;
|
2693
2705
|
touchStartTime = Date.now();
|
2694
2706
|
stopAutoplay();
|
2695
2707
|
correctPosition();
|
@@ -2704,6 +2716,10 @@
|
|
2704
2716
|
move({
|
2705
2717
|
offset: delta.value
|
2706
2718
|
});
|
2719
|
+
if (!dragging) {
|
2720
|
+
emit("dragStart");
|
2721
|
+
dragging = true;
|
2722
|
+
}
|
2707
2723
|
}
|
2708
2724
|
}
|
2709
2725
|
}
|
@@ -2732,7 +2748,9 @@
|
|
2732
2748
|
pace: 0
|
2733
2749
|
});
|
2734
2750
|
}
|
2751
|
+
dragging = false;
|
2735
2752
|
state.swiping = false;
|
2753
|
+
emit("dragEnd");
|
2736
2754
|
autoplay();
|
2737
2755
|
};
|
2738
2756
|
const swipeTo = (index, options = {}) => {
|
@@ -2835,9 +2853,9 @@
|
|
2835
2853
|
};
|
2836
2854
|
}
|
2837
2855
|
});
|
2838
|
-
const Swipe = withInstall(stdin_default$
|
2856
|
+
const Swipe = withInstall(stdin_default$1w);
|
2839
2857
|
const [name$1k, bem$1g] = createNamespace("tabs");
|
2840
|
-
var stdin_default$
|
2858
|
+
var stdin_default$1v = vue.defineComponent({
|
2841
2859
|
name: name$1k,
|
2842
2860
|
props: {
|
2843
2861
|
count: makeRequiredProp(Number),
|
@@ -2920,7 +2938,7 @@
|
|
2920
2938
|
titleInactiveColor: String
|
2921
2939
|
};
|
2922
2940
|
const TABS_KEY = Symbol(name$1j);
|
2923
|
-
var stdin_default$
|
2941
|
+
var stdin_default$1u = vue.defineComponent({
|
2924
2942
|
name: name$1j,
|
2925
2943
|
props: tabsProps,
|
2926
2944
|
emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
|
@@ -3110,7 +3128,7 @@
|
|
3110
3128
|
setCurrentIndex(index);
|
3111
3129
|
}
|
3112
3130
|
};
|
3113
|
-
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$
|
3131
|
+
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1x, vue.mergeProps({
|
3114
3132
|
"key": item.id,
|
3115
3133
|
"id": `${id}-${index}`,
|
3116
3134
|
"ref": setTitleRefs(index),
|
@@ -3226,7 +3244,7 @@
|
|
3226
3244
|
"onScroll": onStickyScroll
|
3227
3245
|
}, {
|
3228
3246
|
default: () => [renderHeader()]
|
3229
|
-
}) : renderHeader(), vue.createVNode(stdin_default$
|
3247
|
+
}) : renderHeader(), vue.createVNode(stdin_default$1v, {
|
3230
3248
|
"ref": contentRef,
|
3231
3249
|
"count": children.length,
|
3232
3250
|
"inited": state.inited,
|
@@ -3247,7 +3265,7 @@
|
|
3247
3265
|
const TAB_STATUS_KEY = Symbol();
|
3248
3266
|
const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
|
3249
3267
|
const [name$1i, bem$1e] = createNamespace("swipe-item");
|
3250
|
-
var stdin_default$
|
3268
|
+
var stdin_default$1t = vue.defineComponent({
|
3251
3269
|
name: name$1i,
|
3252
3270
|
setup(props, {
|
3253
3271
|
slots
|
@@ -3316,7 +3334,7 @@
|
|
3316
3334
|
};
|
3317
3335
|
}
|
3318
3336
|
});
|
3319
|
-
const SwipeItem = withInstall(stdin_default$
|
3337
|
+
const SwipeItem = withInstall(stdin_default$1t);
|
3320
3338
|
const [name$1h, bem$1d] = createNamespace("tab");
|
3321
3339
|
const tabProps = extend({}, routeProps, {
|
3322
3340
|
dot: Boolean,
|
@@ -3328,7 +3346,7 @@
|
|
3328
3346
|
titleStyle: [String, Object],
|
3329
3347
|
showZeroBadge: truthProp
|
3330
3348
|
});
|
3331
|
-
var stdin_default$
|
3349
|
+
var stdin_default$1s = vue.defineComponent({
|
3332
3350
|
name: name$1h,
|
3333
3351
|
props: tabProps,
|
3334
3352
|
setup(props, {
|
@@ -3424,14 +3442,15 @@
|
|
3424
3442
|
};
|
3425
3443
|
}
|
3426
3444
|
});
|
3427
|
-
const Tab = withInstall(stdin_default$
|
3428
|
-
const Tabs = withInstall(stdin_default$
|
3445
|
+
const Tab = withInstall(stdin_default$1s);
|
3446
|
+
const Tabs = withInstall(stdin_default$1u);
|
3429
3447
|
const [name$1g, bem$1c] = createNamespace("picker-group");
|
3430
3448
|
const PICKER_GROUP_KEY = Symbol(name$1g);
|
3431
3449
|
const pickerGroupProps = extend({
|
3432
|
-
tabs: makeArrayProp()
|
3450
|
+
tabs: makeArrayProp(),
|
3451
|
+
nextStepText: String
|
3433
3452
|
}, pickerToolbarProps);
|
3434
|
-
var stdin_default$
|
3453
|
+
var stdin_default$1r = vue.defineComponent({
|
3435
3454
|
name: name$1g,
|
3436
3455
|
props: pickerGroupProps,
|
3437
3456
|
emits: ["confirm", "cancel"],
|
@@ -3439,26 +3458,38 @@
|
|
3439
3458
|
emit,
|
3440
3459
|
slots
|
3441
3460
|
}) {
|
3461
|
+
const activeTab = vue.ref(0);
|
3442
3462
|
const {
|
3443
3463
|
children,
|
3444
3464
|
linkChildren
|
3445
3465
|
} = useChildren(PICKER_GROUP_KEY);
|
3446
3466
|
linkChildren();
|
3467
|
+
const showNextButton = () => activeTab.value < props.tabs.length - 1 && props.nextStepText;
|
3447
3468
|
const onConfirm = () => {
|
3448
|
-
|
3469
|
+
if (showNextButton()) {
|
3470
|
+
activeTab.value++;
|
3471
|
+
} else {
|
3472
|
+
emit("confirm", children.map((item) => item.confirm()));
|
3473
|
+
}
|
3449
3474
|
};
|
3450
3475
|
const onCancel = () => emit("cancel");
|
3451
3476
|
return () => {
|
3452
3477
|
var _a;
|
3453
3478
|
const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
3479
|
+
const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
|
3454
3480
|
return vue.createVNode("div", {
|
3455
3481
|
"class": bem$1c()
|
3456
|
-
}, [vue.createVNode(stdin_default$
|
3482
|
+
}, [vue.createVNode(stdin_default$1z, {
|
3483
|
+
"title": props.title,
|
3484
|
+
"cancelButtonText": props.cancelButtonText,
|
3485
|
+
"confirmButtonText": confirmButtonText,
|
3457
3486
|
"onConfirm": onConfirm,
|
3458
3487
|
"onCancel": onCancel
|
3459
|
-
}
|
3460
|
-
"
|
3488
|
+
}, null), vue.createVNode(Tabs, {
|
3489
|
+
"active": activeTab.value,
|
3490
|
+
"onUpdate:active": ($event) => activeTab.value = $event,
|
3461
3491
|
"class": bem$1c("tabs"),
|
3492
|
+
"shrink": true,
|
3462
3493
|
"animated": true
|
3463
3494
|
}, {
|
3464
3495
|
default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
|
@@ -3486,7 +3517,7 @@
|
|
3486
3517
|
toolbarPosition: makeStringProp("top"),
|
3487
3518
|
columnsFieldNames: Object
|
3488
3519
|
});
|
3489
|
-
var stdin_default$
|
3520
|
+
var stdin_default$1q = vue.defineComponent({
|
3490
3521
|
name: name$1q,
|
3491
3522
|
props: pickerProps,
|
3492
3523
|
emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
|
@@ -3562,7 +3593,7 @@
|
|
3562
3593
|
return params;
|
3563
3594
|
};
|
3564
3595
|
const cancel = () => emit("cancel", getEventParams());
|
3565
|
-
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$
|
3596
|
+
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1A, {
|
3566
3597
|
"value": selectedValues.value[columnIndex],
|
3567
3598
|
"fields": fields.value,
|
3568
3599
|
"options": options,
|
@@ -3606,7 +3637,7 @@
|
|
3606
3637
|
};
|
3607
3638
|
const renderToolbar = () => {
|
3608
3639
|
if (props.showToolbar && !parent) {
|
3609
|
-
return vue.createVNode(stdin_default$
|
3640
|
+
return vue.createVNode(stdin_default$1z, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
|
3610
3641
|
"onConfirm": confirm,
|
3611
3642
|
"onCancel": cancel
|
3612
3643
|
}), pick(slots, pickerToolbarSlots));
|
@@ -3741,7 +3772,7 @@
|
|
3741
3772
|
}
|
3742
3773
|
return options;
|
3743
3774
|
}
|
3744
|
-
const Picker = withInstall(stdin_default$
|
3775
|
+
const Picker = withInstall(stdin_default$1q);
|
3745
3776
|
const [name$1f, bem$1b] = createNamespace("area");
|
3746
3777
|
const areaProps = extend({}, pickerSharedProps, {
|
3747
3778
|
modelValue: String,
|
@@ -3752,7 +3783,7 @@
|
|
3752
3783
|
default: () => ({})
|
3753
3784
|
}
|
3754
3785
|
});
|
3755
|
-
var stdin_default$
|
3786
|
+
var stdin_default$1p = vue.defineComponent({
|
3756
3787
|
name: name$1f,
|
3757
3788
|
props: areaProps,
|
3758
3789
|
emits: ["change", "confirm", "cancel", "update:modelValue"],
|
@@ -3808,7 +3839,7 @@
|
|
3808
3839
|
}, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
|
3809
3840
|
}
|
3810
3841
|
});
|
3811
|
-
const Area = withInstall(stdin_default$
|
3842
|
+
const Area = withInstall(stdin_default$1p);
|
3812
3843
|
const [name$1e, bem$1a] = createNamespace("cell");
|
3813
3844
|
const cellSharedProps = {
|
3814
3845
|
tag: makeStringProp("div"),
|
@@ -3833,7 +3864,7 @@
|
|
3833
3864
|
}
|
3834
3865
|
};
|
3835
3866
|
const cellProps = extend({}, cellSharedProps, routeProps);
|
3836
|
-
var stdin_default$
|
3867
|
+
var stdin_default$1o = vue.defineComponent({
|
3837
3868
|
name: name$1e,
|
3838
3869
|
props: cellProps,
|
3839
3870
|
setup(props, {
|
@@ -3928,7 +3959,7 @@
|
|
3928
3959
|
};
|
3929
3960
|
}
|
3930
3961
|
});
|
3931
|
-
const Cell = withInstall(stdin_default$
|
3962
|
+
const Cell = withInstall(stdin_default$1o);
|
3932
3963
|
const [name$1d, bem$19] = createNamespace("form");
|
3933
3964
|
const formProps = {
|
3934
3965
|
colon: Boolean,
|
@@ -3948,7 +3979,7 @@
|
|
3948
3979
|
default: "onBlur"
|
3949
3980
|
}
|
3950
3981
|
};
|
3951
|
-
var stdin_default$
|
3982
|
+
var stdin_default$1n = vue.defineComponent({
|
3952
3983
|
name: name$1d,
|
3953
3984
|
props: formProps,
|
3954
3985
|
emits: ["submit", "failed"],
|
@@ -4081,7 +4112,7 @@
|
|
4081
4112
|
};
|
4082
4113
|
}
|
4083
4114
|
});
|
4084
|
-
const Form = withInstall(stdin_default$
|
4115
|
+
const Form = withInstall(stdin_default$1n);
|
4085
4116
|
function isEmptyValue(value) {
|
4086
4117
|
if (Array.isArray(value)) {
|
4087
4118
|
return !value.length;
|
@@ -4217,7 +4248,7 @@
|
|
4217
4248
|
default: null
|
4218
4249
|
}
|
4219
4250
|
});
|
4220
|
-
var stdin_default$
|
4251
|
+
var stdin_default$1m = vue.defineComponent({
|
4221
4252
|
name: name$1c,
|
4222
4253
|
props: fieldProps,
|
4223
4254
|
emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -4665,7 +4696,7 @@
|
|
4665
4696
|
};
|
4666
4697
|
}
|
4667
4698
|
});
|
4668
|
-
const Field = withInstall(stdin_default$
|
4699
|
+
const Field = withInstall(stdin_default$1m);
|
4669
4700
|
let lockCount = 0;
|
4670
4701
|
function lockClick(lock) {
|
4671
4702
|
if (lock) {
|
@@ -4703,7 +4734,7 @@
|
|
4703
4734
|
closeOnClick: Boolean,
|
4704
4735
|
closeOnClickOverlay: Boolean
|
4705
4736
|
};
|
4706
|
-
var stdin_default$
|
4737
|
+
var stdin_default$1l = vue.defineComponent({
|
4707
4738
|
name: name$1b,
|
4708
4739
|
props: toastProps,
|
4709
4740
|
emits: ["update:show"],
|
@@ -4885,7 +4916,7 @@
|
|
4885
4916
|
onClosed,
|
4886
4917
|
"onUpdate:show": toggle
|
4887
4918
|
};
|
4888
|
-
return vue.createVNode(stdin_default$
|
4919
|
+
return vue.createVNode(stdin_default$1l, vue.mergeProps(state, attrs), null);
|
4889
4920
|
};
|
4890
4921
|
vue.watch(message, (val) => {
|
4891
4922
|
state.message = val;
|
@@ -4955,7 +4986,7 @@
|
|
4955
4986
|
const allowMultipleToast = (value = true) => {
|
4956
4987
|
allowMultiple = value;
|
4957
4988
|
};
|
4958
|
-
const Toast = withInstall(stdin_default$
|
4989
|
+
const Toast = withInstall(stdin_default$1l);
|
4959
4990
|
const [name$1a, bem$16] = createNamespace("switch");
|
4960
4991
|
const switchProps = {
|
4961
4992
|
size: numericProp,
|
@@ -4973,7 +5004,7 @@
|
|
4973
5004
|
default: false
|
4974
5005
|
}
|
4975
5006
|
};
|
4976
|
-
var stdin_default$
|
5007
|
+
var stdin_default$1k = vue.defineComponent({
|
4977
5008
|
name: name$1a,
|
4978
5009
|
props: switchProps,
|
4979
5010
|
emits: ["change", "update:modelValue"],
|
@@ -5033,10 +5064,10 @@
|
|
5033
5064
|
};
|
5034
5065
|
}
|
5035
5066
|
});
|
5036
|
-
const Switch = withInstall(stdin_default$
|
5067
|
+
const Switch = withInstall(stdin_default$1k);
|
5037
5068
|
const [name$19, bem$15] = createNamespace("address-edit-detail");
|
5038
5069
|
const t$i = createNamespace("address-edit")[2];
|
5039
|
-
var stdin_default$
|
5070
|
+
var stdin_default$1j = vue.defineComponent({
|
5040
5071
|
name: name$19,
|
5041
5072
|
props: {
|
5042
5073
|
show: Boolean,
|
@@ -5142,7 +5173,7 @@
|
|
5142
5173
|
default: isMobile
|
5143
5174
|
}
|
5144
5175
|
};
|
5145
|
-
var stdin_default$
|
5176
|
+
var stdin_default$1i = vue.defineComponent({
|
5146
5177
|
name: name$18,
|
5147
5178
|
props: addressEditProps,
|
5148
5179
|
emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
|
@@ -5317,7 +5348,7 @@
|
|
5317
5348
|
emit("clickArea");
|
5318
5349
|
showAreaPopup.value = !disableArea;
|
5319
5350
|
}
|
5320
|
-
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$
|
5351
|
+
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1j, {
|
5321
5352
|
"show": props.showDetail,
|
5322
5353
|
"rows": props.detailRows,
|
5323
5354
|
"rules": rules.value.addressDetail,
|
@@ -5373,7 +5404,7 @@
|
|
5373
5404
|
};
|
5374
5405
|
}
|
5375
5406
|
});
|
5376
|
-
const AddressEdit = withInstall(stdin_default$
|
5407
|
+
const AddressEdit = withInstall(stdin_default$1i);
|
5377
5408
|
const [name$17, bem$13] = createNamespace("radio-group");
|
5378
5409
|
const radioGroupProps = {
|
5379
5410
|
disabled: Boolean,
|
@@ -5383,7 +5414,7 @@
|
|
5383
5414
|
checkedColor: String
|
5384
5415
|
};
|
5385
5416
|
const RADIO_KEY = Symbol(name$17);
|
5386
|
-
var stdin_default$
|
5417
|
+
var stdin_default$1h = vue.defineComponent({
|
5387
5418
|
name: name$17,
|
5388
5419
|
props: radioGroupProps,
|
5389
5420
|
emits: ["change", "update:modelValue"],
|
@@ -5410,7 +5441,7 @@
|
|
5410
5441
|
};
|
5411
5442
|
}
|
5412
5443
|
});
|
5413
|
-
const RadioGroup = withInstall(stdin_default$
|
5444
|
+
const RadioGroup = withInstall(stdin_default$1h);
|
5414
5445
|
const [name$16, bem$12] = createNamespace("tag");
|
5415
5446
|
const tagProps = {
|
5416
5447
|
size: String,
|
@@ -5423,7 +5454,7 @@
|
|
5423
5454
|
textColor: String,
|
5424
5455
|
closeable: Boolean
|
5425
5456
|
};
|
5426
|
-
var stdin_default$
|
5457
|
+
var stdin_default$1g = vue.defineComponent({
|
5427
5458
|
name: name$16,
|
5428
5459
|
props: tagProps,
|
5429
5460
|
emits: ["close"],
|
@@ -5482,7 +5513,7 @@
|
|
5482
5513
|
});
|
5483
5514
|
}
|
5484
5515
|
});
|
5485
|
-
const Tag = withInstall(stdin_default$
|
5516
|
+
const Tag = withInstall(stdin_default$1g);
|
5486
5517
|
const checkerProps = {
|
5487
5518
|
name: unknownProp,
|
5488
5519
|
shape: makeStringProp("round"),
|
@@ -5493,7 +5524,7 @@
|
|
5493
5524
|
labelPosition: String,
|
5494
5525
|
labelDisabled: Boolean
|
5495
5526
|
};
|
5496
|
-
var stdin_default$
|
5527
|
+
var stdin_default$1f = vue.defineComponent({
|
5497
5528
|
props: extend({}, checkerProps, {
|
5498
5529
|
bem: makeRequiredProp(Function),
|
5499
5530
|
role: String,
|
@@ -5584,7 +5615,7 @@
|
|
5584
5615
|
});
|
5585
5616
|
const radioProps = checkerProps;
|
5586
5617
|
const [name$15, bem$11] = createNamespace("radio");
|
5587
|
-
var stdin_default$
|
5618
|
+
var stdin_default$1e = vue.defineComponent({
|
5588
5619
|
name: name$15,
|
5589
5620
|
props: checkerProps,
|
5590
5621
|
emits: ["update:modelValue"],
|
@@ -5606,7 +5637,7 @@
|
|
5606
5637
|
emit("update:modelValue", props.name);
|
5607
5638
|
}
|
5608
5639
|
};
|
5609
|
-
return () => vue.createVNode(stdin_default$
|
5640
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
5610
5641
|
"bem": bem$11,
|
5611
5642
|
"role": "radio",
|
5612
5643
|
"parent": parent,
|
@@ -5615,9 +5646,9 @@
|
|
5615
5646
|
}, props), pick(slots, ["default", "icon"]));
|
5616
5647
|
}
|
5617
5648
|
});
|
5618
|
-
const Radio = withInstall(stdin_default$
|
5649
|
+
const Radio = withInstall(stdin_default$1e);
|
5619
5650
|
const [name$14, bem$10] = createNamespace("address-item");
|
5620
|
-
var stdin_default$
|
5651
|
+
var stdin_default$1d = vue.defineComponent({
|
5621
5652
|
name: name$14,
|
5622
5653
|
props: {
|
5623
5654
|
address: makeRequiredProp(Object),
|
@@ -5712,7 +5743,7 @@
|
|
5712
5743
|
addButtonText: String,
|
5713
5744
|
defaultTagText: String
|
5714
5745
|
};
|
5715
|
-
var stdin_default$
|
5746
|
+
var stdin_default$1c = vue.defineComponent({
|
5716
5747
|
name: name$13,
|
5717
5748
|
props: addressListProps,
|
5718
5749
|
emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
|
@@ -5729,7 +5760,7 @@
|
|
5729
5760
|
emit("update:modelValue", item.id);
|
5730
5761
|
}
|
5731
5762
|
};
|
5732
|
-
return vue.createVNode(stdin_default$
|
5763
|
+
return vue.createVNode(stdin_default$1d, {
|
5733
5764
|
"key": item.id,
|
5734
5765
|
"address": item,
|
5735
5766
|
"disabled": disabled,
|
@@ -5775,7 +5806,7 @@
|
|
5775
5806
|
};
|
5776
5807
|
}
|
5777
5808
|
});
|
5778
|
-
const AddressList = withInstall(stdin_default$
|
5809
|
+
const AddressList = withInstall(stdin_default$1c);
|
5779
5810
|
const hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
|
5780
5811
|
const modeType = {
|
5781
5812
|
event: "event",
|
@@ -5934,12 +5965,13 @@
|
|
5934
5965
|
bottom: numericProp,
|
5935
5966
|
target: [String, Object],
|
5936
5967
|
offset: makeNumericProp(200),
|
5968
|
+
immediate: Boolean,
|
5937
5969
|
teleport: {
|
5938
5970
|
type: [String, Object],
|
5939
5971
|
default: "body"
|
5940
5972
|
}
|
5941
5973
|
};
|
5942
|
-
var stdin_default$
|
5974
|
+
var stdin_default$1b = vue.defineComponent({
|
5943
5975
|
name: name$12,
|
5944
5976
|
inheritAttrs: false,
|
5945
5977
|
props: backTopProps,
|
@@ -5961,7 +5993,7 @@
|
|
5961
5993
|
emit("click", event);
|
5962
5994
|
(_a = scrollParent.value) == null ? void 0 : _a.scrollTo({
|
5963
5995
|
top: 0,
|
5964
|
-
behavior: "smooth"
|
5996
|
+
behavior: props.immediate ? "auto" : "smooth"
|
5965
5997
|
});
|
5966
5998
|
};
|
5967
5999
|
const scroll = () => {
|
@@ -6016,7 +6048,7 @@
|
|
6016
6048
|
};
|
6017
6049
|
}
|
6018
6050
|
});
|
6019
|
-
const BackTop = withInstall(stdin_default$
|
6051
|
+
const BackTop = withInstall(stdin_default$1b);
|
6020
6052
|
const [name$11, bem$Z, t$f] = createNamespace("calendar");
|
6021
6053
|
const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
|
6022
6054
|
function compareMonth(date1, date2) {
|
@@ -6099,7 +6131,7 @@
|
|
6099
6131
|
return value;
|
6100
6132
|
});
|
6101
6133
|
const [name$10] = createNamespace("calendar-day");
|
6102
|
-
var stdin_default$
|
6134
|
+
var stdin_default$1a = vue.defineComponent({
|
6103
6135
|
name: name$10,
|
6104
6136
|
props: {
|
6105
6137
|
item: makeRequiredProp(Object),
|
@@ -6237,7 +6269,7 @@
|
|
6237
6269
|
showMonthTitle: Boolean,
|
6238
6270
|
firstDayOfWeek: Number
|
6239
6271
|
};
|
6240
|
-
var stdin_default$
|
6272
|
+
var stdin_default$19 = vue.defineComponent({
|
6241
6273
|
name: name$$,
|
6242
6274
|
props: calendarMonthProps,
|
6243
6275
|
emits: ["click"],
|
@@ -6344,7 +6376,10 @@
|
|
6344
6376
|
if (props.showMonthTitle) {
|
6345
6377
|
return vue.createVNode("div", {
|
6346
6378
|
"class": bem$Z("month-title")
|
6347
|
-
}, [title
|
6379
|
+
}, [slots["month-title"] ? slots["month-title"]({
|
6380
|
+
date: props.date,
|
6381
|
+
text: title.value
|
6382
|
+
}) : title.value]);
|
6348
6383
|
}
|
6349
6384
|
};
|
6350
6385
|
const renderMark = () => {
|
@@ -6390,7 +6425,7 @@
|
|
6390
6425
|
setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
|
6391
6426
|
}
|
6392
6427
|
};
|
6393
|
-
const renderDay = (item, index) => vue.createVNode(stdin_default$
|
6428
|
+
const renderDay = (item, index) => vue.createVNode(stdin_default$1a, {
|
6394
6429
|
"item": item,
|
6395
6430
|
"index": index,
|
6396
6431
|
"color": props.color,
|
@@ -6417,7 +6452,7 @@
|
|
6417
6452
|
}
|
6418
6453
|
});
|
6419
6454
|
const [name$_] = createNamespace("calendar-header");
|
6420
|
-
var stdin_default$
|
6455
|
+
var stdin_default$18 = vue.defineComponent({
|
6421
6456
|
name: name$_,
|
6422
6457
|
props: {
|
6423
6458
|
date: Date,
|
@@ -6518,7 +6553,7 @@
|
|
6518
6553
|
validator: (val) => val >= 0 && val <= 6
|
6519
6554
|
}
|
6520
6555
|
};
|
6521
|
-
var stdin_default$
|
6556
|
+
var stdin_default$17 = vue.defineComponent({
|
6522
6557
|
name: name$11,
|
6523
6558
|
props: calendarProps,
|
6524
6559
|
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
|
@@ -6782,7 +6817,7 @@
|
|
6782
6817
|
const updateShow = (value) => emit("update:show", value);
|
6783
6818
|
const renderMonth = (date, index) => {
|
6784
6819
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
6785
|
-
return vue.createVNode(stdin_default$
|
6820
|
+
return vue.createVNode(stdin_default$19, vue.mergeProps({
|
6786
6821
|
"ref": setMonthRefs(index),
|
6787
6822
|
"date": date,
|
6788
6823
|
"currentDate": currentDate.value,
|
@@ -6790,7 +6825,7 @@
|
|
6790
6825
|
"firstDayOfWeek": dayOffset.value
|
6791
6826
|
}, pick(props, ["type", "color", "minDate", "maxDate", "showMark", "formatter", "rowHeight", "lazyRender", "showSubtitle", "allowSameDay"]), {
|
6792
6827
|
"onClick": onClickDay
|
6793
|
-
}), pick(slots, ["top-info", "bottom-info"]));
|
6828
|
+
}), pick(slots, ["top-info", "bottom-info", "month-title"]));
|
6794
6829
|
};
|
6795
6830
|
const renderFooterButton = () => {
|
6796
6831
|
if (slots.footer) {
|
@@ -6823,7 +6858,7 @@
|
|
6823
6858
|
}, [renderFooterButton()]);
|
6824
6859
|
const renderCalendar = () => vue.createVNode("div", {
|
6825
6860
|
"class": bem$Z()
|
6826
|
-
}, [vue.createVNode(stdin_default$
|
6861
|
+
}, [vue.createVNode(stdin_default$18, {
|
6827
6862
|
"date": subtitle.value.date,
|
6828
6863
|
"title": props.title,
|
6829
6864
|
"subtitle": subtitle.value.text,
|
@@ -6869,7 +6904,7 @@
|
|
6869
6904
|
};
|
6870
6905
|
}
|
6871
6906
|
});
|
6872
|
-
const Calendar = withInstall(stdin_default$
|
6907
|
+
const Calendar = withInstall(stdin_default$17);
|
6873
6908
|
const [name$Z, bem$Y] = createNamespace("image");
|
6874
6909
|
const imageProps = {
|
6875
6910
|
src: String,
|
@@ -6889,7 +6924,7 @@
|
|
6889
6924
|
showLoading: truthProp,
|
6890
6925
|
loadingIcon: makeStringProp("photo")
|
6891
6926
|
};
|
6892
|
-
var stdin_default$
|
6927
|
+
var stdin_default$16 = vue.defineComponent({
|
6893
6928
|
name: name$Z,
|
6894
6929
|
props: imageProps,
|
6895
6930
|
emits: ["load", "error"],
|
@@ -7033,7 +7068,7 @@
|
|
7033
7068
|
};
|
7034
7069
|
}
|
7035
7070
|
});
|
7036
|
-
const Image$1 = withInstall(stdin_default$
|
7071
|
+
const Image$1 = withInstall(stdin_default$16);
|
7037
7072
|
const [name$Y, bem$X] = createNamespace("card");
|
7038
7073
|
const cardProps = {
|
7039
7074
|
tag: String,
|
@@ -7048,7 +7083,7 @@
|
|
7048
7083
|
thumbLink: String,
|
7049
7084
|
originPrice: numericProp
|
7050
7085
|
};
|
7051
|
-
var stdin_default$
|
7086
|
+
var stdin_default$15 = vue.defineComponent({
|
7052
7087
|
name: name$Y,
|
7053
7088
|
props: cardProps,
|
7054
7089
|
emits: ["clickThumb"],
|
@@ -7152,7 +7187,7 @@
|
|
7152
7187
|
};
|
7153
7188
|
}
|
7154
7189
|
});
|
7155
|
-
const Card = withInstall(stdin_default$
|
7190
|
+
const Card = withInstall(stdin_default$15);
|
7156
7191
|
const [name$X, bem$W, t$e] = createNamespace("cascader");
|
7157
7192
|
const cascaderProps = {
|
7158
7193
|
title: String,
|
@@ -7166,7 +7201,7 @@
|
|
7166
7201
|
placeholder: String,
|
7167
7202
|
activeColor: String
|
7168
7203
|
};
|
7169
|
-
var stdin_default$
|
7204
|
+
var stdin_default$14 = vue.defineComponent({
|
7170
7205
|
name: name$X,
|
7171
7206
|
props: cascaderProps,
|
7172
7207
|
emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
|
@@ -7371,14 +7406,14 @@
|
|
7371
7406
|
}, [renderHeader(), renderTabs()]);
|
7372
7407
|
}
|
7373
7408
|
});
|
7374
|
-
const Cascader = withInstall(stdin_default$
|
7409
|
+
const Cascader = withInstall(stdin_default$14);
|
7375
7410
|
const [name$W, bem$V] = createNamespace("cell-group");
|
7376
7411
|
const cellGroupProps = {
|
7377
7412
|
title: String,
|
7378
7413
|
inset: Boolean,
|
7379
7414
|
border: truthProp
|
7380
7415
|
};
|
7381
|
-
var stdin_default$
|
7416
|
+
var stdin_default$13 = vue.defineComponent({
|
7382
7417
|
name: name$W,
|
7383
7418
|
inheritAttrs: false,
|
7384
7419
|
props: cellGroupProps,
|
@@ -7409,7 +7444,7 @@
|
|
7409
7444
|
};
|
7410
7445
|
}
|
7411
7446
|
});
|
7412
|
-
const CellGroup = withInstall(stdin_default$
|
7447
|
+
const CellGroup = withInstall(stdin_default$13);
|
7413
7448
|
const [name$V, bem$U] = createNamespace("checkbox-group");
|
7414
7449
|
const checkboxGroupProps = {
|
7415
7450
|
max: numericProp,
|
@@ -7420,7 +7455,7 @@
|
|
7420
7455
|
checkedColor: String
|
7421
7456
|
};
|
7422
7457
|
const CHECKBOX_GROUP_KEY = Symbol(name$V);
|
7423
|
-
var stdin_default
|
7458
|
+
var stdin_default$12 = vue.defineComponent({
|
7424
7459
|
name: name$V,
|
7425
7460
|
props: checkboxGroupProps,
|
7426
7461
|
emits: ["change", "update:modelValue"],
|
@@ -7476,7 +7511,7 @@
|
|
7476
7511
|
const checkboxProps = extend({}, checkerProps, {
|
7477
7512
|
bindGroup: truthProp
|
7478
7513
|
});
|
7479
|
-
var stdin_default$
|
7514
|
+
var stdin_default$11 = vue.defineComponent({
|
7480
7515
|
name: name$U,
|
7481
7516
|
props: checkboxProps,
|
7482
7517
|
emits: ["change", "update:modelValue"],
|
@@ -7534,7 +7569,7 @@
|
|
7534
7569
|
checked
|
7535
7570
|
});
|
7536
7571
|
useCustomFieldValue(() => props.modelValue);
|
7537
|
-
return () => vue.createVNode(stdin_default$
|
7572
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
7538
7573
|
"bem": bem$T,
|
7539
7574
|
"role": "checkbox",
|
7540
7575
|
"parent": parent,
|
@@ -7543,8 +7578,8 @@
|
|
7543
7578
|
}, props), pick(slots, ["default", "icon"]));
|
7544
7579
|
}
|
7545
7580
|
});
|
7546
|
-
const Checkbox = withInstall(stdin_default$
|
7547
|
-
const CheckboxGroup = withInstall(stdin_default
|
7581
|
+
const Checkbox = withInstall(stdin_default$11);
|
7582
|
+
const CheckboxGroup = withInstall(stdin_default$12);
|
7548
7583
|
const [name$T, bem$S] = createNamespace("circle");
|
7549
7584
|
let uid = 0;
|
7550
7585
|
const format$1 = (rate) => Math.min(Math.max(+rate, 0), 100);
|
@@ -7566,7 +7601,7 @@
|
|
7566
7601
|
strokeLinecap: String,
|
7567
7602
|
startPosition: makeStringProp("top")
|
7568
7603
|
};
|
7569
|
-
var stdin_default$
|
7604
|
+
var stdin_default$10 = vue.defineComponent({
|
7570
7605
|
name: name$T,
|
7571
7606
|
props: circleProps,
|
7572
7607
|
emits: ["update:currentRate"],
|
@@ -7690,7 +7725,7 @@
|
|
7690
7725
|
}, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
|
7691
7726
|
}
|
7692
7727
|
});
|
7693
|
-
const Circle = withInstall(stdin_default$
|
7728
|
+
const Circle = withInstall(stdin_default$10);
|
7694
7729
|
const [name$S, bem$R] = createNamespace("row");
|
7695
7730
|
const ROW_KEY = Symbol(name$S);
|
7696
7731
|
const rowProps = {
|
@@ -7700,7 +7735,7 @@
|
|
7700
7735
|
gutter: makeNumericProp(0),
|
7701
7736
|
justify: String
|
7702
7737
|
};
|
7703
|
-
var stdin_default
|
7738
|
+
var stdin_default$$ = vue.defineComponent({
|
7704
7739
|
name: name$S,
|
7705
7740
|
props: rowProps,
|
7706
7741
|
setup(props, {
|
@@ -7780,7 +7815,7 @@
|
|
7780
7815
|
span: makeNumericProp(0),
|
7781
7816
|
offset: numericProp
|
7782
7817
|
};
|
7783
|
-
var stdin_default$
|
7818
|
+
var stdin_default$_ = vue.defineComponent({
|
7784
7819
|
name: name$R,
|
7785
7820
|
props: colProps,
|
7786
7821
|
setup(props, {
|
@@ -7829,7 +7864,7 @@
|
|
7829
7864
|
};
|
7830
7865
|
}
|
7831
7866
|
});
|
7832
|
-
const Col = withInstall(stdin_default$
|
7867
|
+
const Col = withInstall(stdin_default$_);
|
7833
7868
|
const [name$Q, bem$P] = createNamespace("collapse");
|
7834
7869
|
const COLLAPSE_KEY = Symbol(name$Q);
|
7835
7870
|
const collapseProps = {
|
@@ -7840,7 +7875,7 @@
|
|
7840
7875
|
default: ""
|
7841
7876
|
}
|
7842
7877
|
};
|
7843
|
-
var stdin_default$
|
7878
|
+
var stdin_default$Z = vue.defineComponent({
|
7844
7879
|
name: name$Q,
|
7845
7880
|
props: collapseProps,
|
7846
7881
|
emits: ["change", "update:modelValue"],
|
@@ -7915,7 +7950,7 @@
|
|
7915
7950
|
};
|
7916
7951
|
}
|
7917
7952
|
});
|
7918
|
-
const Collapse = withInstall(stdin_default$
|
7953
|
+
const Collapse = withInstall(stdin_default$Z);
|
7919
7954
|
const [name$P, bem$O] = createNamespace("collapse-item");
|
7920
7955
|
const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
|
7921
7956
|
const collapseItemProps = extend({}, cellSharedProps, {
|
@@ -7925,7 +7960,7 @@
|
|
7925
7960
|
readonly: Boolean,
|
7926
7961
|
lazyRender: truthProp
|
7927
7962
|
});
|
7928
|
-
var stdin_default$
|
7963
|
+
var stdin_default$Y = vue.defineComponent({
|
7929
7964
|
name: name$P,
|
7930
7965
|
props: collapseItemProps,
|
7931
7966
|
setup(props, {
|
@@ -8037,8 +8072,8 @@
|
|
8037
8072
|
}, [renderTitle(), renderContent()]);
|
8038
8073
|
}
|
8039
8074
|
});
|
8040
|
-
const CollapseItem = withInstall(stdin_default$
|
8041
|
-
const ConfigProvider = withInstall(stdin_default$
|
8075
|
+
const CollapseItem = withInstall(stdin_default$Y);
|
8076
|
+
const ConfigProvider = withInstall(stdin_default$1J);
|
8042
8077
|
const [name$O, bem$N, t$d] = createNamespace("contact-card");
|
8043
8078
|
const contactCardProps = {
|
8044
8079
|
tel: String,
|
@@ -8047,7 +8082,7 @@
|
|
8047
8082
|
addText: String,
|
8048
8083
|
editable: truthProp
|
8049
8084
|
};
|
8050
|
-
var stdin_default$
|
8085
|
+
var stdin_default$X = vue.defineComponent({
|
8051
8086
|
name: name$O,
|
8052
8087
|
props: contactCardProps,
|
8053
8088
|
emits: ["click"],
|
@@ -8078,7 +8113,7 @@
|
|
8078
8113
|
});
|
8079
8114
|
}
|
8080
8115
|
});
|
8081
|
-
const ContactCard = withInstall(stdin_default$
|
8116
|
+
const ContactCard = withInstall(stdin_default$X);
|
8082
8117
|
const [name$N, bem$M, t$c] = createNamespace("contact-edit");
|
8083
8118
|
const DEFAULT_CONTACT = {
|
8084
8119
|
tel: "",
|
@@ -8099,7 +8134,7 @@
|
|
8099
8134
|
default: isMobile
|
8100
8135
|
}
|
8101
8136
|
};
|
8102
|
-
var stdin_default$
|
8137
|
+
var stdin_default$W = vue.defineComponent({
|
8103
8138
|
name: name$N,
|
8104
8139
|
props: contactEditProps,
|
8105
8140
|
emits: ["save", "delete", "changeDefault"],
|
@@ -8180,7 +8215,7 @@
|
|
8180
8215
|
});
|
8181
8216
|
}
|
8182
8217
|
});
|
8183
|
-
const ContactEdit = withInstall(stdin_default$
|
8218
|
+
const ContactEdit = withInstall(stdin_default$W);
|
8184
8219
|
const [name$M, bem$L, t$b] = createNamespace("contact-list");
|
8185
8220
|
const contactListProps = {
|
8186
8221
|
list: Array,
|
@@ -8188,7 +8223,7 @@
|
|
8188
8223
|
modelValue: unknownProp,
|
8189
8224
|
defaultTagText: String
|
8190
8225
|
};
|
8191
|
-
var stdin_default$
|
8226
|
+
var stdin_default$V = vue.defineComponent({
|
8192
8227
|
name: name$M,
|
8193
8228
|
props: contactListProps,
|
8194
8229
|
emits: ["add", "edit", "select", "update:modelValue"],
|
@@ -8258,7 +8293,7 @@
|
|
8258
8293
|
}, null)])]);
|
8259
8294
|
}
|
8260
8295
|
});
|
8261
|
-
const ContactList = withInstall(stdin_default$
|
8296
|
+
const ContactList = withInstall(stdin_default$V);
|
8262
8297
|
function parseFormat(format2, currentTime) {
|
8263
8298
|
const { days } = currentTime;
|
8264
8299
|
let { hours, minutes, seconds, milliseconds } = currentTime;
|
@@ -8301,7 +8336,7 @@
|
|
8301
8336
|
autoStart: truthProp,
|
8302
8337
|
millisecond: Boolean
|
8303
8338
|
};
|
8304
|
-
var stdin_default$
|
8339
|
+
var stdin_default$U = vue.defineComponent({
|
8305
8340
|
name: name$L,
|
8306
8341
|
props: countDownProps,
|
8307
8342
|
emits: ["change", "finish"],
|
@@ -8341,7 +8376,7 @@
|
|
8341
8376
|
}, [slots.default ? slots.default(current2.value) : timeText.value]);
|
8342
8377
|
}
|
8343
8378
|
});
|
8344
|
-
const CountDown = withInstall(stdin_default$
|
8379
|
+
const CountDown = withInstall(stdin_default$U);
|
8345
8380
|
function getDate(timeStamp) {
|
8346
8381
|
const date = new Date(timeStamp * 1e3);
|
8347
8382
|
return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
|
@@ -8351,7 +8386,7 @@
|
|
8351
8386
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
8352
8387
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
8353
8388
|
const [name$K, bem$J, t$a] = createNamespace("coupon");
|
8354
|
-
var stdin_default$
|
8389
|
+
var stdin_default$T = vue.defineComponent({
|
8355
8390
|
name: name$K,
|
8356
8391
|
props: {
|
8357
8392
|
chosen: Boolean,
|
@@ -8422,7 +8457,7 @@
|
|
8422
8457
|
};
|
8423
8458
|
}
|
8424
8459
|
});
|
8425
|
-
const Coupon = withInstall(stdin_default$
|
8460
|
+
const Coupon = withInstall(stdin_default$T);
|
8426
8461
|
const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
|
8427
8462
|
const couponCellProps = {
|
8428
8463
|
title: String,
|
@@ -8451,7 +8486,7 @@
|
|
8451
8486
|
}
|
8452
8487
|
return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
|
8453
8488
|
}
|
8454
|
-
var stdin_default$
|
8489
|
+
var stdin_default$S = vue.defineComponent({
|
8455
8490
|
name: name$J,
|
8456
8491
|
props: couponCellProps,
|
8457
8492
|
setup(props) {
|
@@ -8470,14 +8505,14 @@
|
|
8470
8505
|
};
|
8471
8506
|
}
|
8472
8507
|
});
|
8473
|
-
const CouponCell = withInstall(stdin_default$
|
8508
|
+
const CouponCell = withInstall(stdin_default$S);
|
8474
8509
|
const [name$I, bem$H] = createNamespace("empty");
|
8475
8510
|
const emptyProps = {
|
8476
8511
|
image: makeStringProp("default"),
|
8477
8512
|
imageSize: [Number, String, Array],
|
8478
8513
|
description: String
|
8479
8514
|
};
|
8480
|
-
var stdin_default$
|
8515
|
+
var stdin_default$R = vue.defineComponent({
|
8481
8516
|
name: name$I,
|
8482
8517
|
props: emptyProps,
|
8483
8518
|
setup(props, {
|
@@ -8786,7 +8821,7 @@
|
|
8786
8821
|
}, [renderImage()]), renderDescription(), renderBottom()]);
|
8787
8822
|
}
|
8788
8823
|
});
|
8789
|
-
const Empty = withInstall(stdin_default$
|
8824
|
+
const Empty = withInstall(stdin_default$R);
|
8790
8825
|
const [name$H, bem$G, t$8] = createNamespace("coupon-list");
|
8791
8826
|
const couponListProps = {
|
8792
8827
|
code: makeStringProp(""),
|
@@ -8808,7 +8843,7 @@
|
|
8808
8843
|
exchangeButtonLoading: Boolean,
|
8809
8844
|
exchangeButtonDisabled: Boolean
|
8810
8845
|
};
|
8811
|
-
var stdin_default$
|
8846
|
+
var stdin_default$Q = vue.defineComponent({
|
8812
8847
|
name: name$H,
|
8813
8848
|
props: couponListProps,
|
8814
8849
|
emits: ["change", "exchange", "update:code"],
|
@@ -8959,7 +8994,7 @@
|
|
8959
8994
|
}, null), [[vue.vShow, props.showCloseButton]])])]);
|
8960
8995
|
}
|
8961
8996
|
});
|
8962
|
-
const CouponList = withInstall(stdin_default$
|
8997
|
+
const CouponList = withInstall(stdin_default$Q);
|
8963
8998
|
const currentYear = new Date().getFullYear();
|
8964
8999
|
const [name$G] = createNamespace("date-picker");
|
8965
9000
|
const datePickerProps = extend({}, sharedProps, {
|
@@ -8978,7 +9013,7 @@
|
|
8978
9013
|
validator: isDate
|
8979
9014
|
}
|
8980
9015
|
});
|
8981
|
-
var stdin_default$
|
9016
|
+
var stdin_default$P = vue.defineComponent({
|
8982
9017
|
name: name$G,
|
8983
9018
|
props: datePickerProps,
|
8984
9019
|
emits: ["confirm", "cancel", "change", "update:modelValue"],
|
@@ -9066,7 +9101,7 @@
|
|
9066
9101
|
}, pick(props, pickerInheritKeys)), slots);
|
9067
9102
|
}
|
9068
9103
|
});
|
9069
|
-
const DatePicker = withInstall(stdin_default$
|
9104
|
+
const DatePicker = withInstall(stdin_default$P);
|
9070
9105
|
const [name$F, bem$F, t$7] = createNamespace("dialog");
|
9071
9106
|
const dialogProps = extend({}, popupSharedProps, {
|
9072
9107
|
title: String,
|
@@ -9090,7 +9125,7 @@
|
|
9090
9125
|
closeOnClickOverlay: Boolean
|
9091
9126
|
});
|
9092
9127
|
const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
|
9093
|
-
var stdin_default$
|
9128
|
+
var stdin_default$O = vue.defineComponent({
|
9094
9129
|
name: name$F,
|
9095
9130
|
props: dialogProps,
|
9096
9131
|
emits: ["confirm", "cancel", "keydown", "update:show"],
|
@@ -9309,7 +9344,7 @@
|
|
9309
9344
|
state,
|
9310
9345
|
toggle
|
9311
9346
|
} = usePopupState();
|
9312
|
-
return () => vue.createVNode(stdin_default$
|
9347
|
+
return () => vue.createVNode(stdin_default$O, vue.mergeProps(state, {
|
9313
9348
|
"onUpdate:show": toggle
|
9314
9349
|
}), null);
|
9315
9350
|
}
|
@@ -9347,14 +9382,14 @@
|
|
9347
9382
|
instance$2.toggle(false);
|
9348
9383
|
}
|
9349
9384
|
};
|
9350
|
-
const Dialog = withInstall(stdin_default$
|
9385
|
+
const Dialog = withInstall(stdin_default$O);
|
9351
9386
|
const [name$E, bem$E] = createNamespace("divider");
|
9352
9387
|
const dividerProps = {
|
9353
9388
|
dashed: Boolean,
|
9354
9389
|
hairline: truthProp,
|
9355
9390
|
contentPosition: makeStringProp("center")
|
9356
9391
|
};
|
9357
|
-
var stdin_default$
|
9392
|
+
var stdin_default$N = vue.defineComponent({
|
9358
9393
|
name: name$E,
|
9359
9394
|
props: dividerProps,
|
9360
9395
|
setup(props, {
|
@@ -9373,7 +9408,7 @@
|
|
9373
9408
|
};
|
9374
9409
|
}
|
9375
9410
|
});
|
9376
|
-
const Divider = withInstall(stdin_default$
|
9411
|
+
const Divider = withInstall(stdin_default$N);
|
9377
9412
|
const [name$D, bem$D] = createNamespace("dropdown-menu");
|
9378
9413
|
const dropdownMenuProps = {
|
9379
9414
|
overlay: truthProp,
|
@@ -9385,7 +9420,7 @@
|
|
9385
9420
|
closeOnClickOverlay: truthProp
|
9386
9421
|
};
|
9387
9422
|
const DROPDOWN_KEY = Symbol(name$D);
|
9388
|
-
var stdin_default$
|
9423
|
+
var stdin_default$M = vue.defineComponent({
|
9389
9424
|
name: name$D,
|
9390
9425
|
props: dropdownMenuProps,
|
9391
9426
|
setup(props, {
|
@@ -9511,7 +9546,7 @@
|
|
9511
9546
|
modelValue: unknownProp,
|
9512
9547
|
titleClass: unknownProp
|
9513
9548
|
};
|
9514
|
-
var stdin_default$
|
9549
|
+
var stdin_default$L = vue.defineComponent({
|
9515
9550
|
name: name$C,
|
9516
9551
|
inheritAttrs: false,
|
9517
9552
|
props: dropdownItemProps,
|
@@ -9668,8 +9703,8 @@
|
|
9668
9703
|
};
|
9669
9704
|
}
|
9670
9705
|
});
|
9671
|
-
const DropdownItem = withInstall(stdin_default$
|
9672
|
-
const DropdownMenu = withInstall(stdin_default$
|
9706
|
+
const DropdownItem = withInstall(stdin_default$L);
|
9707
|
+
const DropdownMenu = withInstall(stdin_default$M);
|
9673
9708
|
const [name$B, bem$B] = createNamespace("grid");
|
9674
9709
|
const gridProps = {
|
9675
9710
|
square: Boolean,
|
@@ -9683,7 +9718,7 @@
|
|
9683
9718
|
columnNum: makeNumericProp(4)
|
9684
9719
|
};
|
9685
9720
|
const GRID_KEY = Symbol(name$B);
|
9686
|
-
var stdin_default$
|
9721
|
+
var stdin_default$K = vue.defineComponent({
|
9687
9722
|
name: name$B,
|
9688
9723
|
props: gridProps,
|
9689
9724
|
setup(props, {
|
@@ -9708,7 +9743,7 @@
|
|
9708
9743
|
};
|
9709
9744
|
}
|
9710
9745
|
});
|
9711
|
-
const Grid = withInstall(stdin_default$
|
9746
|
+
const Grid = withInstall(stdin_default$K);
|
9712
9747
|
const [name$A, bem$A] = createNamespace("grid-item");
|
9713
9748
|
const gridItemProps = extend({}, routeProps, {
|
9714
9749
|
dot: Boolean,
|
@@ -9719,7 +9754,7 @@
|
|
9719
9754
|
iconPrefix: String,
|
9720
9755
|
badgeProps: Object
|
9721
9756
|
});
|
9722
|
-
var stdin_default$
|
9757
|
+
var stdin_default$J = vue.defineComponent({
|
9723
9758
|
name: name$A,
|
9724
9759
|
props: gridItemProps,
|
9725
9760
|
setup(props, {
|
@@ -9840,10 +9875,10 @@
|
|
9840
9875
|
};
|
9841
9876
|
}
|
9842
9877
|
});
|
9843
|
-
const GridItem = withInstall(stdin_default$
|
9878
|
+
const GridItem = withInstall(stdin_default$J);
|
9844
9879
|
const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
|
9845
9880
|
const bem$z = createNamespace("image-preview")[1];
|
9846
|
-
var stdin_default$
|
9881
|
+
var stdin_default$I = vue.defineComponent({
|
9847
9882
|
props: {
|
9848
9883
|
src: String,
|
9849
9884
|
show: Boolean,
|
@@ -9851,7 +9886,8 @@
|
|
9851
9886
|
minZoom: makeRequiredProp(numericProp),
|
9852
9887
|
maxZoom: makeRequiredProp(numericProp),
|
9853
9888
|
rootWidth: makeRequiredProp(Number),
|
9854
|
-
rootHeight: makeRequiredProp(Number)
|
9889
|
+
rootHeight: makeRequiredProp(Number),
|
9890
|
+
disableZoom: Boolean
|
9855
9891
|
},
|
9856
9892
|
emits: ["scale", "close", "longPress"],
|
9857
9893
|
setup(props, {
|
@@ -9946,18 +9982,23 @@
|
|
9946
9982
|
let startDistance;
|
9947
9983
|
let doubleTapTimer;
|
9948
9984
|
let touchStartTime;
|
9985
|
+
let isImageMoved = false;
|
9949
9986
|
const onTouchStart = (event) => {
|
9950
9987
|
const {
|
9951
9988
|
touches
|
9952
9989
|
} = event;
|
9990
|
+
fingerNum = touches.length;
|
9991
|
+
if (fingerNum === 2 && props.disableZoom) {
|
9992
|
+
return;
|
9993
|
+
}
|
9953
9994
|
const {
|
9954
9995
|
offsetX
|
9955
9996
|
} = touch;
|
9956
9997
|
touch.start(event);
|
9957
|
-
fingerNum = touches.length;
|
9958
9998
|
startMoveX = state.moveX;
|
9959
9999
|
startMoveY = state.moveY;
|
9960
10000
|
touchStartTime = Date.now();
|
10001
|
+
isImageMoved = false;
|
9961
10002
|
state.moving = fingerNum === 1 && state.scale !== 1;
|
9962
10003
|
state.zooming = fingerNum === 2 && !offsetX.value;
|
9963
10004
|
if (state.zooming) {
|
@@ -9970,9 +10011,6 @@
|
|
9970
10011
|
touches
|
9971
10012
|
} = event;
|
9972
10013
|
touch.move(event);
|
9973
|
-
if (state.moving || state.zooming) {
|
9974
|
-
preventDefault(event, true);
|
9975
|
-
}
|
9976
10014
|
if (state.moving) {
|
9977
10015
|
const {
|
9978
10016
|
deltaX,
|
@@ -9980,13 +10018,22 @@
|
|
9980
10018
|
} = touch;
|
9981
10019
|
const moveX = deltaX.value + startMoveX;
|
9982
10020
|
const moveY = deltaY.value + startMoveY;
|
10021
|
+
if ((moveX > maxMoveX.value || moveX < -maxMoveX.value) && !isImageMoved) {
|
10022
|
+
state.moving = false;
|
10023
|
+
return;
|
10024
|
+
}
|
10025
|
+
isImageMoved = true;
|
10026
|
+
preventDefault(event, true);
|
9983
10027
|
state.moveX = clamp(moveX, -maxMoveX.value, maxMoveX.value);
|
9984
10028
|
state.moveY = clamp(moveY, -maxMoveY.value, maxMoveY.value);
|
9985
10029
|
}
|
9986
|
-
if (state.zooming
|
9987
|
-
|
9988
|
-
|
9989
|
-
|
10030
|
+
if (state.zooming) {
|
10031
|
+
preventDefault(event, true);
|
10032
|
+
if (touches.length === 2) {
|
10033
|
+
const distance = getDistance(touches);
|
10034
|
+
const scale = startScale * distance / startDistance;
|
10035
|
+
setScale(scale);
|
10036
|
+
}
|
9990
10037
|
}
|
9991
10038
|
};
|
9992
10039
|
const checkTap = () => {
|
@@ -10096,7 +10143,7 @@
|
|
10096
10143
|
}
|
10097
10144
|
});
|
10098
10145
|
const [name$z, bem$y] = createNamespace("image-preview");
|
10099
|
-
const popupProps$1 = ["show", "
|
10146
|
+
const popupProps$1 = ["show", "teleport", "transition", "overlayStyle", "closeOnPopstate"];
|
10100
10147
|
const imagePreviewProps = {
|
10101
10148
|
show: Boolean,
|
10102
10149
|
loop: truthProp,
|
@@ -10119,7 +10166,7 @@
|
|
10119
10166
|
closeIconPosition: makeStringProp("top-right"),
|
10120
10167
|
teleport: [String, Object]
|
10121
10168
|
};
|
10122
|
-
var stdin_default$
|
10169
|
+
var stdin_default$H = vue.defineComponent({
|
10123
10170
|
name: name$z,
|
10124
10171
|
props: imagePreviewProps,
|
10125
10172
|
emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
|
@@ -10131,7 +10178,8 @@
|
|
10131
10178
|
const state = vue.reactive({
|
10132
10179
|
active: 0,
|
10133
10180
|
rootWidth: 0,
|
10134
|
-
rootHeight: 0
|
10181
|
+
rootHeight: 0,
|
10182
|
+
disableZoom: false
|
10135
10183
|
});
|
10136
10184
|
const resize = () => {
|
10137
10185
|
if (swipeRef.value) {
|
@@ -10171,6 +10219,12 @@
|
|
10171
10219
|
}, [slots.cover()]);
|
10172
10220
|
}
|
10173
10221
|
};
|
10222
|
+
const onDragStart = () => {
|
10223
|
+
state.disableZoom = true;
|
10224
|
+
};
|
10225
|
+
const onDragEnd = () => {
|
10226
|
+
state.disableZoom = false;
|
10227
|
+
};
|
10174
10228
|
const renderImages = () => vue.createVNode(Swipe, {
|
10175
10229
|
"ref": swipeRef,
|
10176
10230
|
"lazyRender": true,
|
@@ -10180,9 +10234,11 @@
|
|
10180
10234
|
"initialSwipe": props.startPosition,
|
10181
10235
|
"showIndicators": props.showIndicators,
|
10182
10236
|
"indicatorColor": "white",
|
10183
|
-
"onChange": setActive
|
10237
|
+
"onChange": setActive,
|
10238
|
+
"onDragEnd": onDragEnd,
|
10239
|
+
"onDragStart": onDragStart
|
10184
10240
|
}, {
|
10185
|
-
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$
|
10241
|
+
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$I, {
|
10186
10242
|
"src": image,
|
10187
10243
|
"show": props.show,
|
10188
10244
|
"active": state.active,
|
@@ -10190,6 +10246,7 @@
|
|
10190
10246
|
"minZoom": props.minZoom,
|
10191
10247
|
"rootWidth": state.rootWidth,
|
10192
10248
|
"rootHeight": state.rootHeight,
|
10249
|
+
"disableZoom": state.disableZoom,
|
10193
10250
|
"onScale": emitScale,
|
10194
10251
|
"onClose": emitClose,
|
10195
10252
|
"onLongPress": () => emit("longPress", {
|
@@ -10286,7 +10343,7 @@
|
|
10286
10343
|
const onClosed = () => {
|
10287
10344
|
state.images = [];
|
10288
10345
|
};
|
10289
|
-
return () => vue.createVNode(stdin_default$
|
10346
|
+
return () => vue.createVNode(stdin_default$H, vue.mergeProps(state, {
|
10290
10347
|
"onClosed": onClosed,
|
10291
10348
|
"onUpdate:show": toggle
|
10292
10349
|
}), null);
|
@@ -10307,7 +10364,7 @@
|
|
10307
10364
|
instance$1.open(extend({}, defaultConfig, options));
|
10308
10365
|
return instance$1;
|
10309
10366
|
};
|
10310
|
-
const ImagePreview = withInstall(stdin_default$
|
10367
|
+
const ImagePreview = withInstall(stdin_default$H);
|
10311
10368
|
function genAlphabet() {
|
10312
10369
|
const charCodeOfA = "A".charCodeAt(0);
|
10313
10370
|
const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
|
@@ -10326,7 +10383,7 @@
|
|
10326
10383
|
}
|
10327
10384
|
};
|
10328
10385
|
const INDEX_BAR_KEY = Symbol(name$y);
|
10329
|
-
var stdin_default$
|
10386
|
+
var stdin_default$G = vue.defineComponent({
|
10330
10387
|
name: name$y,
|
10331
10388
|
props: indexBarProps,
|
10332
10389
|
emits: ["select", "change"],
|
@@ -10528,7 +10585,7 @@
|
|
10528
10585
|
const indexAnchorProps = {
|
10529
10586
|
index: numericProp
|
10530
10587
|
};
|
10531
|
-
var stdin_default$
|
10588
|
+
var stdin_default$F = vue.defineComponent({
|
10532
10589
|
name: name$x,
|
10533
10590
|
props: indexAnchorProps,
|
10534
10591
|
setup(props, {
|
@@ -10598,8 +10655,8 @@
|
|
10598
10655
|
};
|
10599
10656
|
}
|
10600
10657
|
});
|
10601
|
-
const IndexAnchor = withInstall(stdin_default$
|
10602
|
-
const IndexBar = withInstall(stdin_default$
|
10658
|
+
const IndexAnchor = withInstall(stdin_default$F);
|
10659
|
+
const IndexBar = withInstall(stdin_default$G);
|
10603
10660
|
const [name$w, bem$v, t$6] = createNamespace("list");
|
10604
10661
|
const listProps = {
|
10605
10662
|
error: Boolean,
|
@@ -10613,7 +10670,7 @@
|
|
10613
10670
|
finishedText: String,
|
10614
10671
|
immediateCheck: truthProp
|
10615
10672
|
};
|
10616
|
-
var stdin_default$
|
10673
|
+
var stdin_default$E = vue.defineComponent({
|
10617
10674
|
name: name$w,
|
10618
10675
|
props: listProps,
|
10619
10676
|
emits: ["load", "update:error", "update:loading"],
|
@@ -10730,7 +10787,7 @@
|
|
10730
10787
|
};
|
10731
10788
|
}
|
10732
10789
|
});
|
10733
|
-
const List = withInstall(stdin_default$
|
10790
|
+
const List = withInstall(stdin_default$E);
|
10734
10791
|
const [name$v, bem$u] = createNamespace("nav-bar");
|
10735
10792
|
const navBarProps = {
|
10736
10793
|
title: String,
|
@@ -10744,7 +10801,7 @@
|
|
10744
10801
|
safeAreaInsetTop: Boolean,
|
10745
10802
|
clickable: truthProp
|
10746
10803
|
};
|
10747
|
-
var stdin_default$
|
10804
|
+
var stdin_default$D = vue.defineComponent({
|
10748
10805
|
name: name$v,
|
10749
10806
|
props: navBarProps,
|
10750
10807
|
emits: ["clickLeft", "clickRight"],
|
@@ -10814,7 +10871,7 @@
|
|
10814
10871
|
};
|
10815
10872
|
}
|
10816
10873
|
});
|
10817
|
-
const NavBar = withInstall(stdin_default$
|
10874
|
+
const NavBar = withInstall(stdin_default$D);
|
10818
10875
|
const [name$u, bem$t] = createNamespace("notice-bar");
|
10819
10876
|
const noticeBarProps = {
|
10820
10877
|
text: String,
|
@@ -10830,7 +10887,7 @@
|
|
10830
10887
|
default: null
|
10831
10888
|
}
|
10832
10889
|
};
|
10833
|
-
var stdin_default$
|
10890
|
+
var stdin_default$C = vue.defineComponent({
|
10834
10891
|
name: name$u,
|
10835
10892
|
props: noticeBarProps,
|
10836
10893
|
emits: ["close", "replay"],
|
@@ -10970,7 +11027,7 @@
|
|
10970
11027
|
};
|
10971
11028
|
}
|
10972
11029
|
});
|
10973
|
-
const NoticeBar = withInstall(stdin_default$
|
11030
|
+
const NoticeBar = withInstall(stdin_default$C);
|
10974
11031
|
const [name$t, bem$s] = createNamespace("notify");
|
10975
11032
|
const notifyProps = extend({}, popupSharedProps, {
|
10976
11033
|
type: makeStringProp("danger"),
|
@@ -10981,7 +11038,7 @@
|
|
10981
11038
|
background: String,
|
10982
11039
|
lockScroll: Boolean
|
10983
11040
|
});
|
10984
|
-
var stdin_default$
|
11041
|
+
var stdin_default$B = vue.defineComponent({
|
10985
11042
|
name: name$t,
|
10986
11043
|
props: notifyProps,
|
10987
11044
|
emits: ["update:show"],
|
@@ -11022,7 +11079,7 @@
|
|
11022
11079
|
state,
|
11023
11080
|
toggle
|
11024
11081
|
} = usePopupState();
|
11025
|
-
return () => vue.createVNode(stdin_default$
|
11082
|
+
return () => vue.createVNode(stdin_default$B, vue.mergeProps(state, {
|
11026
11083
|
"onUpdate:show": toggle
|
11027
11084
|
}), null);
|
11028
11085
|
}
|
@@ -11066,7 +11123,7 @@
|
|
11066
11123
|
const resetNotifyDefaultOptions = () => {
|
11067
11124
|
currentOptions = getDefaultOptions();
|
11068
11125
|
};
|
11069
|
-
const Notify = withInstall(stdin_default$
|
11126
|
+
const Notify = withInstall(stdin_default$B);
|
11070
11127
|
const [name$s, bem$r] = createNamespace("key");
|
11071
11128
|
const CollapseIcon = vue.createVNode("svg", {
|
11072
11129
|
"class": bem$r("collapse-icon"),
|
@@ -11082,7 +11139,7 @@
|
|
11082
11139
|
"d": "M28 0a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H10.4a2 2 0 0 1-1.4-.6L1 13.1c-.6-.5-.9-1.3-.9-2 0-1 .3-1.7.9-2.2L9 .6a2 2 0 0 1 1.4-.6zm0 2H10.4l-8.2 8.3a1 1 0 0 0-.3.7c0 .3.1.5.3.7l8.2 8.4H28a2 2 0 0 0 2-2V4c0-1.1-.9-2-2-2zm-5 4a1 1 0 0 1 .7.3 1 1 0 0 1 0 1.4L20.4 11l3.3 3.3c.2.2.3.5.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3L19 12.4l-3.4 3.3a1 1 0 0 1-.6.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.2.1-.5.3-.7l3.3-3.3-3.3-3.3A1 1 0 0 1 14 7c0-.3.1-.5.3-.7A1 1 0 0 1 15 6a1 1 0 0 1 .6.3L19 9.6l3.3-3.3A1 1 0 0 1 23 6z",
|
11083
11140
|
"fill": "currentColor"
|
11084
11141
|
}, null)]);
|
11085
|
-
var stdin_default$
|
11142
|
+
var stdin_default$A = vue.defineComponent({
|
11086
11143
|
name: name$s,
|
11087
11144
|
props: {
|
11088
11145
|
type: String,
|
@@ -11185,7 +11242,7 @@
|
|
11185
11242
|
}
|
11186
11243
|
return array;
|
11187
11244
|
}
|
11188
|
-
var stdin_default$
|
11245
|
+
var stdin_default$z = vue.defineComponent({
|
11189
11246
|
name: name$r,
|
11190
11247
|
inheritAttrs: false,
|
11191
11248
|
props: numberKeyboardProps,
|
@@ -11304,7 +11361,7 @@
|
|
11304
11361
|
if (key.type === "extra") {
|
11305
11362
|
keySlots.default = slots["extra-key"];
|
11306
11363
|
}
|
11307
|
-
return vue.createVNode(stdin_default$
|
11364
|
+
return vue.createVNode(stdin_default$A, {
|
11308
11365
|
"key": key.text,
|
11309
11366
|
"text": key.text,
|
11310
11367
|
"type": key.type,
|
@@ -11317,14 +11374,14 @@
|
|
11317
11374
|
if (props.theme === "custom") {
|
11318
11375
|
return vue.createVNode("div", {
|
11319
11376
|
"class": bem$q("sidebar")
|
11320
|
-
}, [props.showDeleteKey && vue.createVNode(stdin_default$
|
11377
|
+
}, [props.showDeleteKey && vue.createVNode(stdin_default$A, {
|
11321
11378
|
"large": true,
|
11322
11379
|
"text": props.deleteButtonText,
|
11323
11380
|
"type": "delete",
|
11324
11381
|
"onPress": onPress
|
11325
11382
|
}, {
|
11326
11383
|
delete: slots.delete
|
11327
|
-
}), vue.createVNode(stdin_default$
|
11384
|
+
}), vue.createVNode(stdin_default$A, {
|
11328
11385
|
"large": true,
|
11329
11386
|
"text": props.closeButtonText,
|
11330
11387
|
"type": "close",
|
@@ -11375,7 +11432,7 @@
|
|
11375
11432
|
};
|
11376
11433
|
}
|
11377
11434
|
});
|
11378
|
-
const NumberKeyboard = withInstall(stdin_default$
|
11435
|
+
const NumberKeyboard = withInstall(stdin_default$z);
|
11379
11436
|
const [name$q, bem$p, t$5] = createNamespace("pagination");
|
11380
11437
|
const makePage = (number, text, active) => ({
|
11381
11438
|
number,
|
@@ -11393,7 +11450,7 @@
|
|
11393
11450
|
itemsPerPage: makeNumericProp(10),
|
11394
11451
|
forceEllipses: Boolean
|
11395
11452
|
};
|
11396
|
-
var stdin_default$
|
11453
|
+
var stdin_default$y = vue.defineComponent({
|
11397
11454
|
name: name$q,
|
11398
11455
|
props: paginationProps,
|
11399
11456
|
emits: ["change", "update:modelValue"],
|
@@ -11514,7 +11571,7 @@
|
|
11514
11571
|
}, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
|
11515
11572
|
}
|
11516
11573
|
});
|
11517
|
-
const Pagination = withInstall(stdin_default$
|
11574
|
+
const Pagination = withInstall(stdin_default$y);
|
11518
11575
|
const [name$p, bem$o] = createNamespace("password-input");
|
11519
11576
|
const passwordInputProps = {
|
11520
11577
|
info: String,
|
@@ -11525,7 +11582,7 @@
|
|
11525
11582
|
focused: Boolean,
|
11526
11583
|
errorInfo: String
|
11527
11584
|
};
|
11528
|
-
var stdin_default$
|
11585
|
+
var stdin_default$x = vue.defineComponent({
|
11529
11586
|
name: name$p,
|
11530
11587
|
props: passwordInputProps,
|
11531
11588
|
emits: ["focus"],
|
@@ -11587,8 +11644,8 @@
|
|
11587
11644
|
};
|
11588
11645
|
}
|
11589
11646
|
});
|
11590
|
-
const PasswordInput = withInstall(stdin_default$
|
11591
|
-
const PickerGroup = withInstall(stdin_default$
|
11647
|
+
const PasswordInput = withInstall(stdin_default$x);
|
11648
|
+
const PickerGroup = withInstall(stdin_default$1r);
|
11592
11649
|
function getWindow(node) {
|
11593
11650
|
if (node == null) {
|
11594
11651
|
return window;
|
@@ -12538,7 +12595,7 @@
|
|
12538
12595
|
default: "body"
|
12539
12596
|
}
|
12540
12597
|
};
|
12541
|
-
var stdin_default$
|
12598
|
+
var stdin_default$w = vue.defineComponent({
|
12542
12599
|
name: name$o,
|
12543
12600
|
props: popoverProps,
|
12544
12601
|
emits: ["select", "touchstart", "update:show"],
|
@@ -12684,7 +12741,7 @@
|
|
12684
12741
|
};
|
12685
12742
|
}
|
12686
12743
|
});
|
12687
|
-
const Popover = withInstall(stdin_default$
|
12744
|
+
const Popover = withInstall(stdin_default$w);
|
12688
12745
|
const [name$n, bem$m] = createNamespace("progress");
|
12689
12746
|
const progressProps = {
|
12690
12747
|
color: String,
|
@@ -12701,7 +12758,7 @@
|
|
12701
12758
|
validator: (value) => value >= 0 && value <= 100
|
12702
12759
|
}
|
12703
12760
|
};
|
12704
|
-
var stdin_default$
|
12761
|
+
var stdin_default$v = vue.defineComponent({
|
12705
12762
|
name: name$n,
|
12706
12763
|
props: progressProps,
|
12707
12764
|
setup(props) {
|
@@ -12755,7 +12812,7 @@
|
|
12755
12812
|
};
|
12756
12813
|
}
|
12757
12814
|
});
|
12758
|
-
const Progress = withInstall(stdin_default$
|
12815
|
+
const Progress = withInstall(stdin_default$v);
|
12759
12816
|
const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
|
12760
12817
|
const DEFAULT_HEAD_HEIGHT = 50;
|
12761
12818
|
const TEXT_STATUS = ["pulling", "loosing", "success"];
|
@@ -12771,7 +12828,7 @@
|
|
12771
12828
|
successDuration: makeNumericProp(500),
|
12772
12829
|
animationDuration: makeNumericProp(300)
|
12773
12830
|
};
|
12774
|
-
var stdin_default$
|
12831
|
+
var stdin_default$u = vue.defineComponent({
|
12775
12832
|
name: name$m,
|
12776
12833
|
props: pullRefreshProps,
|
12777
12834
|
emits: ["change", "refresh", "update:modelValue"],
|
@@ -12940,7 +12997,7 @@
|
|
12940
12997
|
};
|
12941
12998
|
}
|
12942
12999
|
});
|
12943
|
-
const PullRefresh = withInstall(stdin_default$
|
13000
|
+
const PullRefresh = withInstall(stdin_default$u);
|
12944
13001
|
const [name$l, bem$k] = createNamespace("rate");
|
12945
13002
|
function getRateStatus(value, index, allowHalf, readonly) {
|
12946
13003
|
if (value >= index) {
|
@@ -12983,7 +13040,7 @@
|
|
12983
13040
|
modelValue: makeNumberProp(0),
|
12984
13041
|
disabledColor: String
|
12985
13042
|
};
|
12986
|
-
var stdin_default$
|
13043
|
+
var stdin_default$t = vue.defineComponent({
|
12987
13044
|
name: name$l,
|
12988
13045
|
props: rateProps,
|
12989
13046
|
emits: ["change", "update:modelValue"],
|
@@ -13150,8 +13207,8 @@
|
|
13150
13207
|
}, [list.value.map(renderStar)]);
|
13151
13208
|
}
|
13152
13209
|
});
|
13153
|
-
const Rate = withInstall(stdin_default$
|
13154
|
-
const Row = withInstall(stdin_default
|
13210
|
+
const Rate = withInstall(stdin_default$t);
|
13211
|
+
const Row = withInstall(stdin_default$$);
|
13155
13212
|
const [name$k, bem$j, t$3] = createNamespace("search");
|
13156
13213
|
const searchProps = extend({}, fieldSharedProps, {
|
13157
13214
|
label: String,
|
@@ -13162,7 +13219,7 @@
|
|
13162
13219
|
background: String,
|
13163
13220
|
showAction: Boolean
|
13164
13221
|
});
|
13165
|
-
var stdin_default$
|
13222
|
+
var stdin_default$s = vue.defineComponent({
|
13166
13223
|
name: name$k,
|
13167
13224
|
props: searchProps,
|
13168
13225
|
emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -13260,7 +13317,7 @@
|
|
13260
13317
|
};
|
13261
13318
|
}
|
13262
13319
|
});
|
13263
|
-
const Search = withInstall(stdin_default$
|
13320
|
+
const Search = withInstall(stdin_default$s);
|
13264
13321
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
13265
13322
|
const iconMap = {
|
13266
13323
|
qq: "qq",
|
@@ -13282,7 +13339,7 @@
|
|
13282
13339
|
closeOnPopstate: truthProp,
|
13283
13340
|
safeAreaInsetBottom: truthProp
|
13284
13341
|
});
|
13285
|
-
var stdin_default$
|
13342
|
+
var stdin_default$r = vue.defineComponent({
|
13286
13343
|
name: name$j,
|
13287
13344
|
props: shareSheetProps,
|
13288
13345
|
emits: ["cancel", "select", "update:show"],
|
@@ -13374,13 +13431,13 @@
|
|
13374
13431
|
});
|
13375
13432
|
}
|
13376
13433
|
});
|
13377
|
-
const ShareSheet = withInstall(stdin_default$
|
13434
|
+
const ShareSheet = withInstall(stdin_default$r);
|
13378
13435
|
const [name$i, bem$h] = createNamespace("sidebar");
|
13379
13436
|
const SIDEBAR_KEY = Symbol(name$i);
|
13380
13437
|
const sidebarProps = {
|
13381
13438
|
modelValue: makeNumericProp(0)
|
13382
13439
|
};
|
13383
|
-
var stdin_default$
|
13440
|
+
var stdin_default$q = vue.defineComponent({
|
13384
13441
|
name: name$i,
|
13385
13442
|
props: sidebarProps,
|
13386
13443
|
emits: ["change", "update:modelValue"],
|
@@ -13411,7 +13468,7 @@
|
|
13411
13468
|
};
|
13412
13469
|
}
|
13413
13470
|
});
|
13414
|
-
const Sidebar = withInstall(stdin_default$
|
13471
|
+
const Sidebar = withInstall(stdin_default$q);
|
13415
13472
|
const [name$h, bem$g] = createNamespace("sidebar-item");
|
13416
13473
|
const sidebarItemProps = extend({}, routeProps, {
|
13417
13474
|
dot: Boolean,
|
@@ -13420,7 +13477,7 @@
|
|
13420
13477
|
disabled: Boolean,
|
13421
13478
|
badgeProps: Object
|
13422
13479
|
});
|
13423
|
-
var stdin_default$
|
13480
|
+
var stdin_default$p = vue.defineComponent({
|
13424
13481
|
name: name$h,
|
13425
13482
|
props: sidebarItemProps,
|
13426
13483
|
emits: ["click"],
|
@@ -13471,13 +13528,13 @@
|
|
13471
13528
|
};
|
13472
13529
|
}
|
13473
13530
|
});
|
13474
|
-
const SidebarItem = withInstall(stdin_default$
|
13531
|
+
const SidebarItem = withInstall(stdin_default$p);
|
13475
13532
|
const [name$g, bem$f] = createNamespace("skeleton-title");
|
13476
13533
|
const skeletonTitleProps = {
|
13477
13534
|
round: Boolean,
|
13478
13535
|
titleWidth: numericProp
|
13479
13536
|
};
|
13480
|
-
var stdin_default$
|
13537
|
+
var stdin_default$o = vue.defineComponent({
|
13481
13538
|
name: name$g,
|
13482
13539
|
props: skeletonTitleProps,
|
13483
13540
|
setup(props) {
|
@@ -13491,12 +13548,14 @@
|
|
13491
13548
|
}, null);
|
13492
13549
|
}
|
13493
13550
|
});
|
13551
|
+
const SkeletonTitle = withInstall(stdin_default$o);
|
13552
|
+
var stdin_default$n = SkeletonTitle;
|
13494
13553
|
const [name$f, bem$e] = createNamespace("skeleton-avatar");
|
13495
13554
|
const skeletonAvatarProps = {
|
13496
13555
|
avatarSize: numericProp,
|
13497
13556
|
avatarShape: makeStringProp("round")
|
13498
13557
|
};
|
13499
|
-
var stdin_default$
|
13558
|
+
var stdin_default$m = vue.defineComponent({
|
13500
13559
|
name: name$f,
|
13501
13560
|
props: skeletonAvatarProps,
|
13502
13561
|
setup(props) {
|
@@ -13506,6 +13565,8 @@
|
|
13506
13565
|
}, null);
|
13507
13566
|
}
|
13508
13567
|
});
|
13568
|
+
const SkeletonAvatar = withInstall(stdin_default$m);
|
13569
|
+
var stdin_default$l = SkeletonAvatar;
|
13509
13570
|
const DEFAULT_ROW_WIDTH = "100%";
|
13510
13571
|
const skeletonParagraphProps = {
|
13511
13572
|
round: Boolean,
|
@@ -13515,7 +13576,7 @@
|
|
13515
13576
|
}
|
13516
13577
|
};
|
13517
13578
|
const [name$e, bem$d] = createNamespace("skeleton-paragraph");
|
13518
|
-
var stdin_default$
|
13579
|
+
var stdin_default$k = vue.defineComponent({
|
13519
13580
|
name: name$e,
|
13520
13581
|
props: skeletonParagraphProps,
|
13521
13582
|
setup(props) {
|
@@ -13529,6 +13590,8 @@
|
|
13529
13590
|
}, null);
|
13530
13591
|
}
|
13531
13592
|
});
|
13593
|
+
const SkeletonParagraph = withInstall(stdin_default$k);
|
13594
|
+
var stdin_default$j = SkeletonParagraph;
|
13532
13595
|
const [name$d, bem$c] = createNamespace("skeleton");
|
13533
13596
|
const DEFAULT_LAST_ROW_WIDTH = "60%";
|
13534
13597
|
const skeletonProps = {
|
@@ -13556,7 +13619,7 @@
|
|
13556
13619
|
}) {
|
13557
13620
|
const renderAvatar = () => {
|
13558
13621
|
if (props.avatar) {
|
13559
|
-
return vue.createVNode(stdin_default$
|
13622
|
+
return vue.createVNode(stdin_default$l, {
|
13560
13623
|
"avatarShape": props.avatarShape,
|
13561
13624
|
"avatarSize": props.avatarSize
|
13562
13625
|
}, null);
|
@@ -13564,7 +13627,7 @@
|
|
13564
13627
|
};
|
13565
13628
|
const renderTitle = () => {
|
13566
13629
|
if (props.title) {
|
13567
|
-
return vue.createVNode(stdin_default$
|
13630
|
+
return vue.createVNode(stdin_default$n, {
|
13568
13631
|
"round": props.round,
|
13569
13632
|
"titleWidth": props.titleWidth
|
13570
13633
|
}, null);
|
@@ -13609,6 +13672,7 @@
|
|
13609
13672
|
};
|
13610
13673
|
}
|
13611
13674
|
});
|
13675
|
+
const Skeleton = withInstall(stdin_default$i);
|
13612
13676
|
const [name$c, bem$b] = createNamespace("skeleton-image");
|
13613
13677
|
const skeletonImageProps = {
|
13614
13678
|
imageSize: numericProp,
|
@@ -13628,10 +13692,6 @@
|
|
13628
13692
|
}
|
13629
13693
|
});
|
13630
13694
|
const SkeletonImage = withInstall(stdin_default$h);
|
13631
|
-
const SkeletonTitle = withInstall(stdin_default$l);
|
13632
|
-
const SkeletonAvatar = withInstall(stdin_default$k);
|
13633
|
-
const SkeletonParagraph = withInstall(stdin_default$j);
|
13634
|
-
const Skeleton = withInstall(stdin_default$i);
|
13635
13695
|
const [name$b, bem$a] = createNamespace("slider");
|
13636
13696
|
const sliderProps = {
|
13637
13697
|
min: makeNumericProp(0),
|
@@ -16109,7 +16169,7 @@
|
|
16109
16169
|
});
|
16110
16170
|
}
|
16111
16171
|
};
|
16112
|
-
const version = "4.0.
|
16172
|
+
const version = "4.0.9";
|
16113
16173
|
function install(app) {
|
16114
16174
|
const components = [
|
16115
16175
|
ActionBar,
|
@@ -16181,6 +16241,10 @@
|
|
16181
16241
|
Sidebar,
|
16182
16242
|
SidebarItem,
|
16183
16243
|
Skeleton,
|
16244
|
+
SkeletonAvatar,
|
16245
|
+
SkeletonImage,
|
16246
|
+
SkeletonParagraph,
|
16247
|
+
SkeletonTitle,
|
16184
16248
|
Slider,
|
16185
16249
|
Space,
|
16186
16250
|
Step,
|
@@ -16243,6 +16307,7 @@
|
|
16243
16307
|
exports2.Coupon = Coupon;
|
16244
16308
|
exports2.CouponCell = CouponCell;
|
16245
16309
|
exports2.CouponList = CouponList;
|
16310
|
+
exports2.DEFAULT_ROW_WIDTH = DEFAULT_ROW_WIDTH;
|
16246
16311
|
exports2.DatePicker = DatePicker;
|
16247
16312
|
exports2.Dialog = Dialog;
|
16248
16313
|
exports2.Divider = Divider;
|
@@ -16417,6 +16482,7 @@
|
|
16417
16482
|
exports2.toastProps = toastProps;
|
16418
16483
|
exports2.treeSelectProps = treeSelectProps;
|
16419
16484
|
exports2.uploaderProps = uploaderProps;
|
16485
|
+
exports2.useCurrentLang = useCurrentLang;
|
16420
16486
|
exports2.version = version;
|
16421
16487
|
Object.defineProperties(exports2, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
16422
16488
|
});
|