vant 4.0.6 → 4.0.8
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/icon/index.css +1 -1
- package/es/image-preview/ImagePreview.d.ts +3 -0
- package/es/image-preview/ImagePreview.mjs +3 -2
- package/es/image-preview/index.d.ts +2 -0
- package/es/index.d.ts +5 -1
- package/es/index.mjs +13 -1
- package/es/locale/lang/ru-RU.mjs +1 -1
- 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/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/swipe/Swipe.mjs +3 -0
- package/lib/icon/index.css +1 -1
- package/lib/image-preview/ImagePreview.d.ts +3 -0
- package/lib/image-preview/ImagePreview.js +3 -2
- package/lib/image-preview/index.d.ts +2 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -1
- package/lib/locale/lang/ru-RU.js +1 -1
- 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/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/swipe/Swipe.js +3 -0
- package/lib/vant.cjs.js +227 -202
- package/lib/vant.es.js +227 -202
- package/lib/vant.js +237 -203
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +3 -3
package/lib/vant.cjs.js
CHANGED
@@ -237,7 +237,7 @@ function deepAssign(to, from) {
|
|
237
237
|
});
|
238
238
|
return to;
|
239
239
|
}
|
240
|
-
var stdin_default$
|
240
|
+
var stdin_default$1N = {
|
241
241
|
name: "姓名",
|
242
242
|
tel: "电话",
|
243
243
|
save: "保存",
|
@@ -300,7 +300,7 @@ var stdin_default$1K = {
|
|
300
300
|
};
|
301
301
|
const lang = vue.ref("zh-CN");
|
302
302
|
const messages = vue.reactive({
|
303
|
-
"zh-CN": stdin_default$
|
303
|
+
"zh-CN": stdin_default$1N
|
304
304
|
});
|
305
305
|
const Locale = {
|
306
306
|
messages() {
|
@@ -314,11 +314,11 @@ const Locale = {
|
|
314
314
|
deepAssign(messages, newMessages);
|
315
315
|
}
|
316
316
|
};
|
317
|
-
var stdin_default$
|
317
|
+
var stdin_default$1M = Locale;
|
318
318
|
function createTranslate(name2) {
|
319
319
|
const prefix = camelize(name2) + ".";
|
320
320
|
return (path, ...args) => {
|
321
|
-
const messages2 = stdin_default$
|
321
|
+
const messages2 = stdin_default$1M.messages();
|
322
322
|
const message = get(messages2, prefix + path) || get(messages2, path);
|
323
323
|
return isFunction(message) ? message(...args) : message;
|
324
324
|
};
|
@@ -446,7 +446,7 @@ const actionBarProps = {
|
|
446
446
|
placeholder: Boolean,
|
447
447
|
safeAreaInsetBottom: truthProp
|
448
448
|
};
|
449
|
-
var stdin_default$
|
449
|
+
var stdin_default$1L = vue.defineComponent({
|
450
450
|
name: name$1B,
|
451
451
|
props: actionBarProps,
|
452
452
|
setup(props, {
|
@@ -475,7 +475,7 @@ var stdin_default$1I = vue.defineComponent({
|
|
475
475
|
};
|
476
476
|
}
|
477
477
|
});
|
478
|
-
const ActionBar = withInstall(stdin_default$
|
478
|
+
const ActionBar = withInstall(stdin_default$1L);
|
479
479
|
function useExpose(apis) {
|
480
480
|
const instance2 = vue.getCurrentInstance();
|
481
481
|
if (instance2) {
|
@@ -514,7 +514,7 @@ const badgeProps = {
|
|
514
514
|
showZero: truthProp,
|
515
515
|
position: makeStringProp("top-right")
|
516
516
|
};
|
517
|
-
var stdin_default$
|
517
|
+
var stdin_default$1K = vue.defineComponent({
|
518
518
|
name: name$1A,
|
519
519
|
props: badgeProps,
|
520
520
|
setup(props, {
|
@@ -601,7 +601,7 @@ var stdin_default$1H = vue.defineComponent({
|
|
601
601
|
};
|
602
602
|
}
|
603
603
|
});
|
604
|
-
const Badge = withInstall(stdin_default$
|
604
|
+
const Badge = withInstall(stdin_default$1K);
|
605
605
|
let globalZIndex = 2e3;
|
606
606
|
const useGlobalZIndex = () => ++globalZIndex;
|
607
607
|
const setGlobalZIndex = (val) => {
|
@@ -625,7 +625,7 @@ function mapThemeVarsToCSSVars(themeVars) {
|
|
625
625
|
});
|
626
626
|
return cssVars;
|
627
627
|
}
|
628
|
-
var stdin_default$
|
628
|
+
var stdin_default$1J = vue.defineComponent({
|
629
629
|
name: name$1z,
|
630
630
|
props: configProviderProps,
|
631
631
|
setup(props, {
|
@@ -680,7 +680,7 @@ const iconProps = {
|
|
680
680
|
badgeProps: Object,
|
681
681
|
classPrefix: String
|
682
682
|
};
|
683
|
-
var stdin_default$
|
683
|
+
var stdin_default$1I = vue.defineComponent({
|
684
684
|
name: name$1y,
|
685
685
|
props: iconProps,
|
686
686
|
setup(props, {
|
@@ -719,7 +719,7 @@ var stdin_default$1F = vue.defineComponent({
|
|
719
719
|
};
|
720
720
|
}
|
721
721
|
});
|
722
|
-
const Icon = withInstall(stdin_default$
|
722
|
+
const Icon = withInstall(stdin_default$1I);
|
723
723
|
const [name$1x, bem$1s] = createNamespace("loading");
|
724
724
|
const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
|
725
725
|
"class": bem$1s("line", String(index + 1))
|
@@ -741,7 +741,7 @@ const loadingProps = {
|
|
741
741
|
textSize: numericProp,
|
742
742
|
textColor: String
|
743
743
|
};
|
744
|
-
var stdin_default$
|
744
|
+
var stdin_default$1H = vue.defineComponent({
|
745
745
|
name: name$1x,
|
746
746
|
props: loadingProps,
|
747
747
|
setup(props, {
|
@@ -784,7 +784,7 @@ var stdin_default$1E = vue.defineComponent({
|
|
784
784
|
};
|
785
785
|
}
|
786
786
|
});
|
787
|
-
const Loading = withInstall(stdin_default$
|
787
|
+
const Loading = withInstall(stdin_default$1H);
|
788
788
|
const [name$1w, bem$1r] = createNamespace("button");
|
789
789
|
const buttonProps = extend({}, routeProps, {
|
790
790
|
tag: makeStringProp("button"),
|
@@ -807,7 +807,7 @@ const buttonProps = extend({}, routeProps, {
|
|
807
807
|
loadingType: String,
|
808
808
|
iconPosition: makeStringProp("left")
|
809
809
|
});
|
810
|
-
var stdin_default$
|
810
|
+
var stdin_default$1G = vue.defineComponent({
|
811
811
|
name: name$1w,
|
812
812
|
props: buttonProps,
|
813
813
|
emits: ["click"],
|
@@ -924,7 +924,7 @@ var stdin_default$1D = vue.defineComponent({
|
|
924
924
|
};
|
925
925
|
}
|
926
926
|
});
|
927
|
-
const Button = withInstall(stdin_default$
|
927
|
+
const Button = withInstall(stdin_default$1G);
|
928
928
|
const [name$1v, bem$1q] = createNamespace("action-bar-button");
|
929
929
|
const actionBarButtonProps = extend({}, routeProps, {
|
930
930
|
type: String,
|
@@ -934,7 +934,7 @@ const actionBarButtonProps = extend({}, routeProps, {
|
|
934
934
|
loading: Boolean,
|
935
935
|
disabled: Boolean
|
936
936
|
});
|
937
|
-
var stdin_default$
|
937
|
+
var stdin_default$1F = vue.defineComponent({
|
938
938
|
name: name$1v,
|
939
939
|
props: actionBarButtonProps,
|
940
940
|
setup(props, {
|
@@ -987,7 +987,7 @@ var stdin_default$1C = vue.defineComponent({
|
|
987
987
|
};
|
988
988
|
}
|
989
989
|
});
|
990
|
-
const ActionBarButton = withInstall(stdin_default$
|
990
|
+
const ActionBarButton = withInstall(stdin_default$1F);
|
991
991
|
const [name$1u, bem$1p] = createNamespace("action-bar-icon");
|
992
992
|
const actionBarIconProps = extend({}, routeProps, {
|
993
993
|
dot: Boolean,
|
@@ -999,7 +999,7 @@ const actionBarIconProps = extend({}, routeProps, {
|
|
999
999
|
badgeProps: Object,
|
1000
1000
|
iconPrefix: String
|
1001
1001
|
});
|
1002
|
-
var stdin_default$
|
1002
|
+
var stdin_default$1E = vue.defineComponent({
|
1003
1003
|
name: name$1u,
|
1004
1004
|
props: actionBarIconProps,
|
1005
1005
|
setup(props, {
|
@@ -1045,7 +1045,7 @@ var stdin_default$1B = vue.defineComponent({
|
|
1045
1045
|
}, [renderIcon(), slots.default ? slots.default() : props.text]);
|
1046
1046
|
}
|
1047
1047
|
});
|
1048
|
-
const ActionBarIcon = withInstall(stdin_default$
|
1048
|
+
const ActionBarIcon = withInstall(stdin_default$1E);
|
1049
1049
|
const popupSharedProps = {
|
1050
1050
|
show: Boolean,
|
1051
1051
|
zIndex: numericProp,
|
@@ -1194,7 +1194,7 @@ const overlayProps = {
|
|
1194
1194
|
lazyRender: truthProp,
|
1195
1195
|
customStyle: Object
|
1196
1196
|
};
|
1197
|
-
var stdin_default$
|
1197
|
+
var stdin_default$1D = vue.defineComponent({
|
1198
1198
|
name: name$1t,
|
1199
1199
|
props: overlayProps,
|
1200
1200
|
setup(props, {
|
@@ -1230,7 +1230,7 @@ var stdin_default$1A = vue.defineComponent({
|
|
1230
1230
|
});
|
1231
1231
|
}
|
1232
1232
|
});
|
1233
|
-
const Overlay = withInstall(stdin_default$
|
1233
|
+
const Overlay = withInstall(stdin_default$1D);
|
1234
1234
|
const popupProps$2 = extend({}, popupSharedProps, {
|
1235
1235
|
round: Boolean,
|
1236
1236
|
position: makeStringProp("center"),
|
@@ -1244,7 +1244,7 @@ const popupProps$2 = extend({}, popupSharedProps, {
|
|
1244
1244
|
safeAreaInsetBottom: Boolean
|
1245
1245
|
});
|
1246
1246
|
const [name$1s, bem$1n] = createNamespace("popup");
|
1247
|
-
var stdin_default$
|
1247
|
+
var stdin_default$1C = vue.defineComponent({
|
1248
1248
|
name: name$1s,
|
1249
1249
|
inheritAttrs: false,
|
1250
1250
|
props: popupProps$2,
|
@@ -1422,7 +1422,7 @@ var stdin_default$1z = vue.defineComponent({
|
|
1422
1422
|
};
|
1423
1423
|
}
|
1424
1424
|
});
|
1425
|
-
const Popup = withInstall(stdin_default$
|
1425
|
+
const Popup = withInstall(stdin_default$1C);
|
1426
1426
|
const [name$1r, bem$1m] = createNamespace("action-sheet");
|
1427
1427
|
const actionSheetProps = extend({}, popupSharedProps, {
|
1428
1428
|
title: String,
|
@@ -1437,7 +1437,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
|
|
1437
1437
|
safeAreaInsetBottom: truthProp
|
1438
1438
|
});
|
1439
1439
|
const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
1440
|
-
var stdin_default$
|
1440
|
+
var stdin_default$1B = vue.defineComponent({
|
1441
1441
|
name: name$1r,
|
1442
1442
|
props: actionSheetProps,
|
1443
1443
|
emits: ["select", "cancel", "update:show"],
|
@@ -1544,7 +1544,7 @@ var stdin_default$1y = vue.defineComponent({
|
|
1544
1544
|
});
|
1545
1545
|
}
|
1546
1546
|
});
|
1547
|
-
const ActionSheet = withInstall(stdin_default$
|
1547
|
+
const ActionSheet = withInstall(stdin_default$1B);
|
1548
1548
|
const [name$1q, bem$1l, t$j] = createNamespace("picker");
|
1549
1549
|
const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
|
1550
1550
|
function getColumnsType(columns, fields) {
|
@@ -1616,7 +1616,7 @@ const MOMENTUM_TIME = 300;
|
|
1616
1616
|
const MOMENTUM_DISTANCE = 15;
|
1617
1617
|
const [name$1p, bem$1k] = createNamespace("picker-column");
|
1618
1618
|
const PICKER_KEY = Symbol(name$1p);
|
1619
|
-
var stdin_default$
|
1619
|
+
var stdin_default$1A = vue.defineComponent({
|
1620
1620
|
name: name$1p,
|
1621
1621
|
props: {
|
1622
1622
|
value: numericProp,
|
@@ -1802,7 +1802,7 @@ const pickerToolbarProps = {
|
|
1802
1802
|
};
|
1803
1803
|
const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
|
1804
1804
|
const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
|
1805
|
-
var stdin_default$
|
1805
|
+
var stdin_default$1z = vue.defineComponent({
|
1806
1806
|
name: name$1o,
|
1807
1807
|
props: pickerToolbarProps,
|
1808
1808
|
emits: ["confirm", "cancel"],
|
@@ -1931,7 +1931,7 @@ const stickyProps = {
|
|
1931
1931
|
offsetTop: makeNumericProp(0),
|
1932
1932
|
offsetBottom: makeNumericProp(0)
|
1933
1933
|
};
|
1934
|
-
var stdin_default$
|
1934
|
+
var stdin_default$1y = vue.defineComponent({
|
1935
1935
|
name: name$1n,
|
1936
1936
|
props: stickyProps,
|
1937
1937
|
emits: ["scroll", "change"],
|
@@ -2035,9 +2035,9 @@ var stdin_default$1v = vue.defineComponent({
|
|
2035
2035
|
};
|
2036
2036
|
}
|
2037
2037
|
});
|
2038
|
-
const Sticky = withInstall(stdin_default$
|
2038
|
+
const Sticky = withInstall(stdin_default$1y);
|
2039
2039
|
const [name$1m, bem$1i] = createNamespace("tab");
|
2040
|
-
var stdin_default$
|
2040
|
+
var stdin_default$1x = vue.defineComponent({
|
2041
2041
|
name: name$1m,
|
2042
2042
|
props: {
|
2043
2043
|
id: String,
|
@@ -2135,7 +2135,7 @@ const swipeProps = {
|
|
2135
2135
|
stopPropagation: truthProp
|
2136
2136
|
};
|
2137
2137
|
const SWIPE_KEY = Symbol(name$1l);
|
2138
|
-
var stdin_default$
|
2138
|
+
var stdin_default$1w = vue.defineComponent({
|
2139
2139
|
name: name$1l,
|
2140
2140
|
props: swipeProps,
|
2141
2141
|
emits: ["change"],
|
@@ -2302,6 +2302,9 @@ var stdin_default$1t = vue.defineComponent({
|
|
2302
2302
|
}
|
2303
2303
|
if (count.value) {
|
2304
2304
|
active = Math.min(count.value - 1, active);
|
2305
|
+
if (active === -1) {
|
2306
|
+
active = count.value - 1;
|
2307
|
+
}
|
2305
2308
|
}
|
2306
2309
|
state.active = active;
|
2307
2310
|
state.swiping = true;
|
@@ -2468,9 +2471,9 @@ var stdin_default$1t = vue.defineComponent({
|
|
2468
2471
|
};
|
2469
2472
|
}
|
2470
2473
|
});
|
2471
|
-
const Swipe = withInstall(stdin_default$
|
2474
|
+
const Swipe = withInstall(stdin_default$1w);
|
2472
2475
|
const [name$1k, bem$1g] = createNamespace("tabs");
|
2473
|
-
var stdin_default$
|
2476
|
+
var stdin_default$1v = vue.defineComponent({
|
2474
2477
|
name: name$1k,
|
2475
2478
|
props: {
|
2476
2479
|
count: makeRequiredProp(Number),
|
@@ -2553,7 +2556,7 @@ const tabsProps = {
|
|
2553
2556
|
titleInactiveColor: String
|
2554
2557
|
};
|
2555
2558
|
const TABS_KEY = Symbol(name$1j);
|
2556
|
-
var stdin_default$
|
2559
|
+
var stdin_default$1u = vue.defineComponent({
|
2557
2560
|
name: name$1j,
|
2558
2561
|
props: tabsProps,
|
2559
2562
|
emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
|
@@ -2743,7 +2746,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2743
2746
|
setCurrentIndex(index);
|
2744
2747
|
}
|
2745
2748
|
};
|
2746
|
-
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$
|
2749
|
+
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1x, vue.mergeProps({
|
2747
2750
|
"key": item.id,
|
2748
2751
|
"id": `${id}-${index}`,
|
2749
2752
|
"ref": setTitleRefs(index),
|
@@ -2859,7 +2862,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2859
2862
|
"onScroll": onStickyScroll
|
2860
2863
|
}, {
|
2861
2864
|
default: () => [renderHeader()]
|
2862
|
-
}) : renderHeader(), vue.createVNode(stdin_default$
|
2865
|
+
}) : renderHeader(), vue.createVNode(stdin_default$1v, {
|
2863
2866
|
"ref": contentRef,
|
2864
2867
|
"count": children.length,
|
2865
2868
|
"inited": state.inited,
|
@@ -2880,7 +2883,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2880
2883
|
const TAB_STATUS_KEY = Symbol();
|
2881
2884
|
const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
|
2882
2885
|
const [name$1i, bem$1e] = createNamespace("swipe-item");
|
2883
|
-
var stdin_default$
|
2886
|
+
var stdin_default$1t = vue.defineComponent({
|
2884
2887
|
name: name$1i,
|
2885
2888
|
setup(props, {
|
2886
2889
|
slots
|
@@ -2952,7 +2955,7 @@ var stdin_default$1q = vue.defineComponent({
|
|
2952
2955
|
};
|
2953
2956
|
}
|
2954
2957
|
});
|
2955
|
-
const SwipeItem = withInstall(stdin_default$
|
2958
|
+
const SwipeItem = withInstall(stdin_default$1t);
|
2956
2959
|
const [name$1h, bem$1d] = createNamespace("tab");
|
2957
2960
|
const tabProps = extend({}, routeProps, {
|
2958
2961
|
dot: Boolean,
|
@@ -2964,7 +2967,7 @@ const tabProps = extend({}, routeProps, {
|
|
2964
2967
|
titleStyle: [String, Object],
|
2965
2968
|
showZeroBadge: truthProp
|
2966
2969
|
});
|
2967
|
-
var stdin_default$
|
2970
|
+
var stdin_default$1s = vue.defineComponent({
|
2968
2971
|
name: name$1h,
|
2969
2972
|
props: tabProps,
|
2970
2973
|
setup(props, {
|
@@ -3063,14 +3066,15 @@ var stdin_default$1p = vue.defineComponent({
|
|
3063
3066
|
};
|
3064
3067
|
}
|
3065
3068
|
});
|
3066
|
-
const Tab = withInstall(stdin_default$
|
3067
|
-
const Tabs = withInstall(stdin_default$
|
3069
|
+
const Tab = withInstall(stdin_default$1s);
|
3070
|
+
const Tabs = withInstall(stdin_default$1u);
|
3068
3071
|
const [name$1g, bem$1c] = createNamespace("picker-group");
|
3069
3072
|
const PICKER_GROUP_KEY = Symbol(name$1g);
|
3070
3073
|
const pickerGroupProps = extend({
|
3071
|
-
tabs: makeArrayProp()
|
3074
|
+
tabs: makeArrayProp(),
|
3075
|
+
nextStepText: String
|
3072
3076
|
}, pickerToolbarProps);
|
3073
|
-
var stdin_default$
|
3077
|
+
var stdin_default$1r = vue.defineComponent({
|
3074
3078
|
name: name$1g,
|
3075
3079
|
props: pickerGroupProps,
|
3076
3080
|
emits: ["confirm", "cancel"],
|
@@ -3078,26 +3082,38 @@ var stdin_default$1o = vue.defineComponent({
|
|
3078
3082
|
emit,
|
3079
3083
|
slots
|
3080
3084
|
}) {
|
3085
|
+
const activeTab = vue.ref(0);
|
3081
3086
|
const {
|
3082
3087
|
children,
|
3083
3088
|
linkChildren
|
3084
3089
|
} = use.useChildren(PICKER_GROUP_KEY);
|
3085
3090
|
linkChildren();
|
3091
|
+
const showNextButton = () => activeTab.value < props.tabs.length - 1 && props.nextStepText;
|
3086
3092
|
const onConfirm = () => {
|
3087
|
-
|
3093
|
+
if (showNextButton()) {
|
3094
|
+
activeTab.value++;
|
3095
|
+
} else {
|
3096
|
+
emit("confirm", children.map((item) => item.confirm()));
|
3097
|
+
}
|
3088
3098
|
};
|
3089
3099
|
const onCancel = () => emit("cancel");
|
3090
3100
|
return () => {
|
3091
3101
|
var _a;
|
3092
3102
|
const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
3103
|
+
const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
|
3093
3104
|
return vue.createVNode("div", {
|
3094
3105
|
"class": bem$1c()
|
3095
|
-
}, [vue.createVNode(stdin_default$
|
3106
|
+
}, [vue.createVNode(stdin_default$1z, {
|
3107
|
+
"title": props.title,
|
3108
|
+
"cancelButtonText": props.cancelButtonText,
|
3109
|
+
"confirmButtonText": confirmButtonText,
|
3096
3110
|
"onConfirm": onConfirm,
|
3097
3111
|
"onCancel": onCancel
|
3098
|
-
}
|
3099
|
-
"
|
3112
|
+
}, null), vue.createVNode(Tabs, {
|
3113
|
+
"active": activeTab.value,
|
3114
|
+
"onUpdate:active": ($event) => activeTab.value = $event,
|
3100
3115
|
"class": bem$1c("tabs"),
|
3116
|
+
"shrink": true,
|
3101
3117
|
"animated": true
|
3102
3118
|
}, {
|
3103
3119
|
default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
|
@@ -3125,7 +3141,7 @@ const pickerProps = extend({}, pickerSharedProps, {
|
|
3125
3141
|
toolbarPosition: makeStringProp("top"),
|
3126
3142
|
columnsFieldNames: Object
|
3127
3143
|
});
|
3128
|
-
var stdin_default$
|
3144
|
+
var stdin_default$1q = vue.defineComponent({
|
3129
3145
|
name: name$1q,
|
3130
3146
|
props: pickerProps,
|
3131
3147
|
emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
|
@@ -3201,7 +3217,7 @@ var stdin_default$1n = vue.defineComponent({
|
|
3201
3217
|
return params;
|
3202
3218
|
};
|
3203
3219
|
const cancel = () => emit("cancel", getEventParams());
|
3204
|
-
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$
|
3220
|
+
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1A, {
|
3205
3221
|
"value": selectedValues.value[columnIndex],
|
3206
3222
|
"fields": fields.value,
|
3207
3223
|
"options": options,
|
@@ -3245,7 +3261,7 @@ var stdin_default$1n = vue.defineComponent({
|
|
3245
3261
|
};
|
3246
3262
|
const renderToolbar = () => {
|
3247
3263
|
if (props.showToolbar && !parent) {
|
3248
|
-
return vue.createVNode(stdin_default$
|
3264
|
+
return vue.createVNode(stdin_default$1z, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
|
3249
3265
|
"onConfirm": confirm,
|
3250
3266
|
"onCancel": cancel
|
3251
3267
|
}), pick(slots, pickerToolbarSlots));
|
@@ -3380,7 +3396,7 @@ function formatDataForCascade({
|
|
3380
3396
|
}
|
3381
3397
|
return options;
|
3382
3398
|
}
|
3383
|
-
const Picker = withInstall(stdin_default$
|
3399
|
+
const Picker = withInstall(stdin_default$1q);
|
3384
3400
|
const [name$1f, bem$1b] = createNamespace("area");
|
3385
3401
|
const areaProps = extend({}, pickerSharedProps, {
|
3386
3402
|
modelValue: String,
|
@@ -3391,7 +3407,7 @@ const areaProps = extend({}, pickerSharedProps, {
|
|
3391
3407
|
default: () => ({})
|
3392
3408
|
}
|
3393
3409
|
});
|
3394
|
-
var stdin_default$
|
3410
|
+
var stdin_default$1p = vue.defineComponent({
|
3395
3411
|
name: name$1f,
|
3396
3412
|
props: areaProps,
|
3397
3413
|
emits: ["change", "confirm", "cancel", "update:modelValue"],
|
@@ -3447,7 +3463,7 @@ var stdin_default$1m = vue.defineComponent({
|
|
3447
3463
|
}, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
|
3448
3464
|
}
|
3449
3465
|
});
|
3450
|
-
const Area = withInstall(stdin_default$
|
3466
|
+
const Area = withInstall(stdin_default$1p);
|
3451
3467
|
const [name$1e, bem$1a] = createNamespace("cell");
|
3452
3468
|
const cellSharedProps = {
|
3453
3469
|
tag: makeStringProp("div"),
|
@@ -3472,7 +3488,7 @@ const cellSharedProps = {
|
|
3472
3488
|
}
|
3473
3489
|
};
|
3474
3490
|
const cellProps = extend({}, cellSharedProps, routeProps);
|
3475
|
-
var stdin_default$
|
3491
|
+
var stdin_default$1o = vue.defineComponent({
|
3476
3492
|
name: name$1e,
|
3477
3493
|
props: cellProps,
|
3478
3494
|
setup(props, {
|
@@ -3567,7 +3583,7 @@ var stdin_default$1l = vue.defineComponent({
|
|
3567
3583
|
};
|
3568
3584
|
}
|
3569
3585
|
});
|
3570
|
-
const Cell = withInstall(stdin_default$
|
3586
|
+
const Cell = withInstall(stdin_default$1o);
|
3571
3587
|
const [name$1d, bem$19] = createNamespace("form");
|
3572
3588
|
const formProps = {
|
3573
3589
|
colon: Boolean,
|
@@ -3587,7 +3603,7 @@ const formProps = {
|
|
3587
3603
|
default: "onBlur"
|
3588
3604
|
}
|
3589
3605
|
};
|
3590
|
-
var stdin_default$
|
3606
|
+
var stdin_default$1n = vue.defineComponent({
|
3591
3607
|
name: name$1d,
|
3592
3608
|
props: formProps,
|
3593
3609
|
emits: ["submit", "failed"],
|
@@ -3720,7 +3736,7 @@ var stdin_default$1k = vue.defineComponent({
|
|
3720
3736
|
};
|
3721
3737
|
}
|
3722
3738
|
});
|
3723
|
-
const Form = withInstall(stdin_default$
|
3739
|
+
const Form = withInstall(stdin_default$1n);
|
3724
3740
|
function isEmptyValue(value) {
|
3725
3741
|
if (Array.isArray(value)) {
|
3726
3742
|
return !value.length;
|
@@ -3856,7 +3872,7 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
|
|
3856
3872
|
default: null
|
3857
3873
|
}
|
3858
3874
|
});
|
3859
|
-
var stdin_default$
|
3875
|
+
var stdin_default$1m = vue.defineComponent({
|
3860
3876
|
name: name$1c,
|
3861
3877
|
props: fieldProps,
|
3862
3878
|
emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -4304,7 +4320,7 @@ var stdin_default$1j = vue.defineComponent({
|
|
4304
4320
|
};
|
4305
4321
|
}
|
4306
4322
|
});
|
4307
|
-
const Field = withInstall(stdin_default$
|
4323
|
+
const Field = withInstall(stdin_default$1m);
|
4308
4324
|
let lockCount = 0;
|
4309
4325
|
function lockClick(lock) {
|
4310
4326
|
if (lock) {
|
@@ -4342,7 +4358,7 @@ const toastProps = {
|
|
4342
4358
|
closeOnClick: Boolean,
|
4343
4359
|
closeOnClickOverlay: Boolean
|
4344
4360
|
};
|
4345
|
-
var stdin_default$
|
4361
|
+
var stdin_default$1l = vue.defineComponent({
|
4346
4362
|
name: name$1b,
|
4347
4363
|
props: toastProps,
|
4348
4364
|
emits: ["update:show"],
|
@@ -4524,7 +4540,7 @@ function createInstance() {
|
|
4524
4540
|
onClosed,
|
4525
4541
|
"onUpdate:show": toggle
|
4526
4542
|
};
|
4527
|
-
return vue.createVNode(stdin_default$
|
4543
|
+
return vue.createVNode(stdin_default$1l, vue.mergeProps(state, attrs), null);
|
4528
4544
|
};
|
4529
4545
|
vue.watch(message, (val) => {
|
4530
4546
|
state.message = val;
|
@@ -4594,7 +4610,7 @@ const resetToastDefaultOptions = (type) => {
|
|
4594
4610
|
const allowMultipleToast = (value = true) => {
|
4595
4611
|
allowMultiple = value;
|
4596
4612
|
};
|
4597
|
-
const Toast = withInstall(stdin_default$
|
4613
|
+
const Toast = withInstall(stdin_default$1l);
|
4598
4614
|
const [name$1a, bem$16] = createNamespace("switch");
|
4599
4615
|
const switchProps = {
|
4600
4616
|
size: numericProp,
|
@@ -4612,7 +4628,7 @@ const switchProps = {
|
|
4612
4628
|
default: false
|
4613
4629
|
}
|
4614
4630
|
};
|
4615
|
-
var stdin_default$
|
4631
|
+
var stdin_default$1k = vue.defineComponent({
|
4616
4632
|
name: name$1a,
|
4617
4633
|
props: switchProps,
|
4618
4634
|
emits: ["change", "update:modelValue"],
|
@@ -4672,10 +4688,10 @@ var stdin_default$1h = vue.defineComponent({
|
|
4672
4688
|
};
|
4673
4689
|
}
|
4674
4690
|
});
|
4675
|
-
const Switch = withInstall(stdin_default$
|
4691
|
+
const Switch = withInstall(stdin_default$1k);
|
4676
4692
|
const [name$19, bem$15] = createNamespace("address-edit-detail");
|
4677
4693
|
const t$i = createNamespace("address-edit")[2];
|
4678
|
-
var stdin_default$
|
4694
|
+
var stdin_default$1j = vue.defineComponent({
|
4679
4695
|
name: name$19,
|
4680
4696
|
props: {
|
4681
4697
|
show: Boolean,
|
@@ -4781,7 +4797,7 @@ const addressEditProps = {
|
|
4781
4797
|
default: isMobile
|
4782
4798
|
}
|
4783
4799
|
};
|
4784
|
-
var stdin_default$
|
4800
|
+
var stdin_default$1i = vue.defineComponent({
|
4785
4801
|
name: name$18,
|
4786
4802
|
props: addressEditProps,
|
4787
4803
|
emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
|
@@ -4956,7 +4972,7 @@ var stdin_default$1f = vue.defineComponent({
|
|
4956
4972
|
emit("clickArea");
|
4957
4973
|
showAreaPopup.value = !disableArea;
|
4958
4974
|
}
|
4959
|
-
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$
|
4975
|
+
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1j, {
|
4960
4976
|
"show": props.showDetail,
|
4961
4977
|
"rows": props.detailRows,
|
4962
4978
|
"rules": rules.value.addressDetail,
|
@@ -5012,7 +5028,7 @@ var stdin_default$1f = vue.defineComponent({
|
|
5012
5028
|
};
|
5013
5029
|
}
|
5014
5030
|
});
|
5015
|
-
const AddressEdit = withInstall(stdin_default$
|
5031
|
+
const AddressEdit = withInstall(stdin_default$1i);
|
5016
5032
|
const [name$17, bem$13] = createNamespace("radio-group");
|
5017
5033
|
const radioGroupProps = {
|
5018
5034
|
disabled: Boolean,
|
@@ -5022,7 +5038,7 @@ const radioGroupProps = {
|
|
5022
5038
|
checkedColor: String
|
5023
5039
|
};
|
5024
5040
|
const RADIO_KEY = Symbol(name$17);
|
5025
|
-
var stdin_default$
|
5041
|
+
var stdin_default$1h = vue.defineComponent({
|
5026
5042
|
name: name$17,
|
5027
5043
|
props: radioGroupProps,
|
5028
5044
|
emits: ["change", "update:modelValue"],
|
@@ -5049,7 +5065,7 @@ var stdin_default$1e = vue.defineComponent({
|
|
5049
5065
|
};
|
5050
5066
|
}
|
5051
5067
|
});
|
5052
|
-
const RadioGroup = withInstall(stdin_default$
|
5068
|
+
const RadioGroup = withInstall(stdin_default$1h);
|
5053
5069
|
const [name$16, bem$12] = createNamespace("tag");
|
5054
5070
|
const tagProps = {
|
5055
5071
|
size: String,
|
@@ -5062,7 +5078,7 @@ const tagProps = {
|
|
5062
5078
|
textColor: String,
|
5063
5079
|
closeable: Boolean
|
5064
5080
|
};
|
5065
|
-
var stdin_default$
|
5081
|
+
var stdin_default$1g = vue.defineComponent({
|
5066
5082
|
name: name$16,
|
5067
5083
|
props: tagProps,
|
5068
5084
|
emits: ["close"],
|
@@ -5121,7 +5137,7 @@ var stdin_default$1d = vue.defineComponent({
|
|
5121
5137
|
});
|
5122
5138
|
}
|
5123
5139
|
});
|
5124
|
-
const Tag = withInstall(stdin_default$
|
5140
|
+
const Tag = withInstall(stdin_default$1g);
|
5125
5141
|
const checkerProps = {
|
5126
5142
|
name: unknownProp,
|
5127
5143
|
shape: makeStringProp("round"),
|
@@ -5132,7 +5148,7 @@ const checkerProps = {
|
|
5132
5148
|
labelPosition: String,
|
5133
5149
|
labelDisabled: Boolean
|
5134
5150
|
};
|
5135
|
-
var stdin_default$
|
5151
|
+
var stdin_default$1f = vue.defineComponent({
|
5136
5152
|
props: extend({}, checkerProps, {
|
5137
5153
|
bem: makeRequiredProp(Function),
|
5138
5154
|
role: String,
|
@@ -5223,7 +5239,7 @@ var stdin_default$1c = vue.defineComponent({
|
|
5223
5239
|
});
|
5224
5240
|
const radioProps = checkerProps;
|
5225
5241
|
const [name$15, bem$11] = createNamespace("radio");
|
5226
|
-
var stdin_default$
|
5242
|
+
var stdin_default$1e = vue.defineComponent({
|
5227
5243
|
name: name$15,
|
5228
5244
|
props: checkerProps,
|
5229
5245
|
emits: ["update:modelValue"],
|
@@ -5245,7 +5261,7 @@ var stdin_default$1b = vue.defineComponent({
|
|
5245
5261
|
emit("update:modelValue", props.name);
|
5246
5262
|
}
|
5247
5263
|
};
|
5248
|
-
return () => vue.createVNode(stdin_default$
|
5264
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
5249
5265
|
"bem": bem$11,
|
5250
5266
|
"role": "radio",
|
5251
5267
|
"parent": parent,
|
@@ -5254,9 +5270,9 @@ var stdin_default$1b = vue.defineComponent({
|
|
5254
5270
|
}, props), pick(slots, ["default", "icon"]));
|
5255
5271
|
}
|
5256
5272
|
});
|
5257
|
-
const Radio = withInstall(stdin_default$
|
5273
|
+
const Radio = withInstall(stdin_default$1e);
|
5258
5274
|
const [name$14, bem$10] = createNamespace("address-item");
|
5259
|
-
var stdin_default$
|
5275
|
+
var stdin_default$1d = vue.defineComponent({
|
5260
5276
|
name: name$14,
|
5261
5277
|
props: {
|
5262
5278
|
address: makeRequiredProp(Object),
|
@@ -5351,7 +5367,7 @@ const addressListProps = {
|
|
5351
5367
|
addButtonText: String,
|
5352
5368
|
defaultTagText: String
|
5353
5369
|
};
|
5354
|
-
var stdin_default$
|
5370
|
+
var stdin_default$1c = vue.defineComponent({
|
5355
5371
|
name: name$13,
|
5356
5372
|
props: addressListProps,
|
5357
5373
|
emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
|
@@ -5368,7 +5384,7 @@ var stdin_default$19 = vue.defineComponent({
|
|
5368
5384
|
emit("update:modelValue", item.id);
|
5369
5385
|
}
|
5370
5386
|
};
|
5371
|
-
return vue.createVNode(stdin_default$
|
5387
|
+
return vue.createVNode(stdin_default$1d, {
|
5372
5388
|
"key": item.id,
|
5373
5389
|
"address": item,
|
5374
5390
|
"disabled": disabled,
|
@@ -5414,7 +5430,7 @@ var stdin_default$19 = vue.defineComponent({
|
|
5414
5430
|
};
|
5415
5431
|
}
|
5416
5432
|
});
|
5417
|
-
const AddressList = withInstall(stdin_default$
|
5433
|
+
const AddressList = withInstall(stdin_default$1c);
|
5418
5434
|
const hasIntersectionObserver = use.inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
|
5419
5435
|
const modeType = {
|
5420
5436
|
event: "event",
|
@@ -5578,7 +5594,7 @@ const backTopProps = {
|
|
5578
5594
|
default: "body"
|
5579
5595
|
}
|
5580
5596
|
};
|
5581
|
-
var stdin_default$
|
5597
|
+
var stdin_default$1b = vue.defineComponent({
|
5582
5598
|
name: name$12,
|
5583
5599
|
inheritAttrs: false,
|
5584
5600
|
props: backTopProps,
|
@@ -5658,7 +5674,7 @@ var stdin_default$18 = vue.defineComponent({
|
|
5658
5674
|
};
|
5659
5675
|
}
|
5660
5676
|
});
|
5661
|
-
const BackTop = withInstall(stdin_default$
|
5677
|
+
const BackTop = withInstall(stdin_default$1b);
|
5662
5678
|
const [name$11, bem$Z, t$f] = createNamespace("calendar");
|
5663
5679
|
const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
|
5664
5680
|
function compareMonth(date1, date2) {
|
@@ -5741,7 +5757,7 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
|
|
5741
5757
|
return value;
|
5742
5758
|
});
|
5743
5759
|
const [name$10] = createNamespace("calendar-day");
|
5744
|
-
var stdin_default$
|
5760
|
+
var stdin_default$1a = vue.defineComponent({
|
5745
5761
|
name: name$10,
|
5746
5762
|
props: {
|
5747
5763
|
item: makeRequiredProp(Object),
|
@@ -5879,7 +5895,7 @@ const calendarMonthProps = {
|
|
5879
5895
|
showMonthTitle: Boolean,
|
5880
5896
|
firstDayOfWeek: Number
|
5881
5897
|
};
|
5882
|
-
var stdin_default$
|
5898
|
+
var stdin_default$19 = vue.defineComponent({
|
5883
5899
|
name: name$$,
|
5884
5900
|
props: calendarMonthProps,
|
5885
5901
|
emits: ["click"],
|
@@ -6032,7 +6048,7 @@ var stdin_default$16 = vue.defineComponent({
|
|
6032
6048
|
setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
|
6033
6049
|
}
|
6034
6050
|
};
|
6035
|
-
const renderDay = (item, index) => vue.createVNode(stdin_default$
|
6051
|
+
const renderDay = (item, index) => vue.createVNode(stdin_default$1a, {
|
6036
6052
|
"item": item,
|
6037
6053
|
"index": index,
|
6038
6054
|
"color": props.color,
|
@@ -6059,7 +6075,7 @@ var stdin_default$16 = vue.defineComponent({
|
|
6059
6075
|
}
|
6060
6076
|
});
|
6061
6077
|
const [name$_] = createNamespace("calendar-header");
|
6062
|
-
var stdin_default$
|
6078
|
+
var stdin_default$18 = vue.defineComponent({
|
6063
6079
|
name: name$_,
|
6064
6080
|
props: {
|
6065
6081
|
date: Date,
|
@@ -6160,7 +6176,7 @@ const calendarProps = {
|
|
6160
6176
|
validator: (val) => val >= 0 && val <= 6
|
6161
6177
|
}
|
6162
6178
|
};
|
6163
|
-
var stdin_default$
|
6179
|
+
var stdin_default$17 = vue.defineComponent({
|
6164
6180
|
name: name$11,
|
6165
6181
|
props: calendarProps,
|
6166
6182
|
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
|
@@ -6424,7 +6440,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6424
6440
|
const updateShow = (value) => emit("update:show", value);
|
6425
6441
|
const renderMonth = (date, index) => {
|
6426
6442
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
6427
|
-
return vue.createVNode(stdin_default$
|
6443
|
+
return vue.createVNode(stdin_default$19, vue.mergeProps({
|
6428
6444
|
"ref": setMonthRefs(index),
|
6429
6445
|
"date": date,
|
6430
6446
|
"currentDate": currentDate.value,
|
@@ -6465,7 +6481,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6465
6481
|
}, [renderFooterButton()]);
|
6466
6482
|
const renderCalendar = () => vue.createVNode("div", {
|
6467
6483
|
"class": bem$Z()
|
6468
|
-
}, [vue.createVNode(stdin_default$
|
6484
|
+
}, [vue.createVNode(stdin_default$18, {
|
6469
6485
|
"date": subtitle.value.date,
|
6470
6486
|
"title": props.title,
|
6471
6487
|
"subtitle": subtitle.value.text,
|
@@ -6511,7 +6527,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6511
6527
|
};
|
6512
6528
|
}
|
6513
6529
|
});
|
6514
|
-
const Calendar = withInstall(stdin_default$
|
6530
|
+
const Calendar = withInstall(stdin_default$17);
|
6515
6531
|
const [name$Z, bem$Y] = createNamespace("image");
|
6516
6532
|
const imageProps = {
|
6517
6533
|
src: String,
|
@@ -6531,7 +6547,7 @@ const imageProps = {
|
|
6531
6547
|
showLoading: truthProp,
|
6532
6548
|
loadingIcon: makeStringProp("photo")
|
6533
6549
|
};
|
6534
|
-
var stdin_default$
|
6550
|
+
var stdin_default$16 = vue.defineComponent({
|
6535
6551
|
name: name$Z,
|
6536
6552
|
props: imageProps,
|
6537
6553
|
emits: ["load", "error"],
|
@@ -6675,7 +6691,7 @@ var stdin_default$13 = vue.defineComponent({
|
|
6675
6691
|
};
|
6676
6692
|
}
|
6677
6693
|
});
|
6678
|
-
const Image$1 = withInstall(stdin_default$
|
6694
|
+
const Image$1 = withInstall(stdin_default$16);
|
6679
6695
|
const [name$Y, bem$X] = createNamespace("card");
|
6680
6696
|
const cardProps = {
|
6681
6697
|
tag: String,
|
@@ -6690,7 +6706,7 @@ const cardProps = {
|
|
6690
6706
|
thumbLink: String,
|
6691
6707
|
originPrice: numericProp
|
6692
6708
|
};
|
6693
|
-
var stdin_default$
|
6709
|
+
var stdin_default$15 = vue.defineComponent({
|
6694
6710
|
name: name$Y,
|
6695
6711
|
props: cardProps,
|
6696
6712
|
emits: ["clickThumb"],
|
@@ -6794,7 +6810,7 @@ var stdin_default$12 = vue.defineComponent({
|
|
6794
6810
|
};
|
6795
6811
|
}
|
6796
6812
|
});
|
6797
|
-
const Card = withInstall(stdin_default$
|
6813
|
+
const Card = withInstall(stdin_default$15);
|
6798
6814
|
const [name$X, bem$W, t$e] = createNamespace("cascader");
|
6799
6815
|
const cascaderProps = {
|
6800
6816
|
title: String,
|
@@ -6808,7 +6824,7 @@ const cascaderProps = {
|
|
6808
6824
|
placeholder: String,
|
6809
6825
|
activeColor: String
|
6810
6826
|
};
|
6811
|
-
var stdin_default$
|
6827
|
+
var stdin_default$14 = vue.defineComponent({
|
6812
6828
|
name: name$X,
|
6813
6829
|
props: cascaderProps,
|
6814
6830
|
emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
|
@@ -7013,14 +7029,14 @@ var stdin_default$11 = vue.defineComponent({
|
|
7013
7029
|
}, [renderHeader(), renderTabs()]);
|
7014
7030
|
}
|
7015
7031
|
});
|
7016
|
-
const Cascader = withInstall(stdin_default$
|
7032
|
+
const Cascader = withInstall(stdin_default$14);
|
7017
7033
|
const [name$W, bem$V] = createNamespace("cell-group");
|
7018
7034
|
const cellGroupProps = {
|
7019
7035
|
title: String,
|
7020
7036
|
inset: Boolean,
|
7021
7037
|
border: truthProp
|
7022
7038
|
};
|
7023
|
-
var stdin_default$
|
7039
|
+
var stdin_default$13 = vue.defineComponent({
|
7024
7040
|
name: name$W,
|
7025
7041
|
inheritAttrs: false,
|
7026
7042
|
props: cellGroupProps,
|
@@ -7051,7 +7067,7 @@ var stdin_default$10 = vue.defineComponent({
|
|
7051
7067
|
};
|
7052
7068
|
}
|
7053
7069
|
});
|
7054
|
-
const CellGroup = withInstall(stdin_default$
|
7070
|
+
const CellGroup = withInstall(stdin_default$13);
|
7055
7071
|
const [name$V, bem$U] = createNamespace("checkbox-group");
|
7056
7072
|
const checkboxGroupProps = {
|
7057
7073
|
max: numericProp,
|
@@ -7062,7 +7078,7 @@ const checkboxGroupProps = {
|
|
7062
7078
|
checkedColor: String
|
7063
7079
|
};
|
7064
7080
|
const CHECKBOX_GROUP_KEY = Symbol(name$V);
|
7065
|
-
var stdin_default
|
7081
|
+
var stdin_default$12 = vue.defineComponent({
|
7066
7082
|
name: name$V,
|
7067
7083
|
props: checkboxGroupProps,
|
7068
7084
|
emits: ["change", "update:modelValue"],
|
@@ -7118,7 +7134,7 @@ const [name$U, bem$T] = createNamespace("checkbox");
|
|
7118
7134
|
const checkboxProps = extend({}, checkerProps, {
|
7119
7135
|
bindGroup: truthProp
|
7120
7136
|
});
|
7121
|
-
var stdin_default$
|
7137
|
+
var stdin_default$11 = vue.defineComponent({
|
7122
7138
|
name: name$U,
|
7123
7139
|
props: checkboxProps,
|
7124
7140
|
emits: ["change", "update:modelValue"],
|
@@ -7176,7 +7192,7 @@ var stdin_default$_ = vue.defineComponent({
|
|
7176
7192
|
checked
|
7177
7193
|
});
|
7178
7194
|
use.useCustomFieldValue(() => props.modelValue);
|
7179
|
-
return () => vue.createVNode(stdin_default$
|
7195
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
7180
7196
|
"bem": bem$T,
|
7181
7197
|
"role": "checkbox",
|
7182
7198
|
"parent": parent,
|
@@ -7185,8 +7201,8 @@ var stdin_default$_ = vue.defineComponent({
|
|
7185
7201
|
}, props), pick(slots, ["default", "icon"]));
|
7186
7202
|
}
|
7187
7203
|
});
|
7188
|
-
const Checkbox = withInstall(stdin_default$
|
7189
|
-
const CheckboxGroup = withInstall(stdin_default
|
7204
|
+
const Checkbox = withInstall(stdin_default$11);
|
7205
|
+
const CheckboxGroup = withInstall(stdin_default$12);
|
7190
7206
|
const [name$T, bem$S] = createNamespace("circle");
|
7191
7207
|
let uid = 0;
|
7192
7208
|
const format = (rate) => Math.min(Math.max(+rate, 0), 100);
|
@@ -7208,7 +7224,7 @@ const circleProps = {
|
|
7208
7224
|
strokeLinecap: String,
|
7209
7225
|
startPosition: makeStringProp("top")
|
7210
7226
|
};
|
7211
|
-
var stdin_default$
|
7227
|
+
var stdin_default$10 = vue.defineComponent({
|
7212
7228
|
name: name$T,
|
7213
7229
|
props: circleProps,
|
7214
7230
|
emits: ["update:currentRate"],
|
@@ -7332,7 +7348,7 @@ var stdin_default$Z = vue.defineComponent({
|
|
7332
7348
|
}, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
|
7333
7349
|
}
|
7334
7350
|
});
|
7335
|
-
const Circle = withInstall(stdin_default$
|
7351
|
+
const Circle = withInstall(stdin_default$10);
|
7336
7352
|
const [name$S, bem$R] = createNamespace("row");
|
7337
7353
|
const ROW_KEY = Symbol(name$S);
|
7338
7354
|
const rowProps = {
|
@@ -7342,7 +7358,7 @@ const rowProps = {
|
|
7342
7358
|
gutter: makeNumericProp(0),
|
7343
7359
|
justify: String
|
7344
7360
|
};
|
7345
|
-
var stdin_default
|
7361
|
+
var stdin_default$$ = vue.defineComponent({
|
7346
7362
|
name: name$S,
|
7347
7363
|
props: rowProps,
|
7348
7364
|
setup(props, {
|
@@ -7422,7 +7438,7 @@ const colProps = {
|
|
7422
7438
|
span: makeNumericProp(0),
|
7423
7439
|
offset: numericProp
|
7424
7440
|
};
|
7425
|
-
var stdin_default$
|
7441
|
+
var stdin_default$_ = vue.defineComponent({
|
7426
7442
|
name: name$R,
|
7427
7443
|
props: colProps,
|
7428
7444
|
setup(props, {
|
@@ -7471,7 +7487,7 @@ var stdin_default$X = vue.defineComponent({
|
|
7471
7487
|
};
|
7472
7488
|
}
|
7473
7489
|
});
|
7474
|
-
const Col = withInstall(stdin_default$
|
7490
|
+
const Col = withInstall(stdin_default$_);
|
7475
7491
|
const [name$Q, bem$P] = createNamespace("collapse");
|
7476
7492
|
const COLLAPSE_KEY = Symbol(name$Q);
|
7477
7493
|
const collapseProps = {
|
@@ -7493,7 +7509,7 @@ function validateModelValue(modelValue, accordion) {
|
|
7493
7509
|
}
|
7494
7510
|
return true;
|
7495
7511
|
}
|
7496
|
-
var stdin_default$
|
7512
|
+
var stdin_default$Z = vue.defineComponent({
|
7497
7513
|
name: name$Q,
|
7498
7514
|
props: collapseProps,
|
7499
7515
|
emits: ["change", "update:modelValue"],
|
@@ -7571,7 +7587,7 @@ var stdin_default$W = vue.defineComponent({
|
|
7571
7587
|
};
|
7572
7588
|
}
|
7573
7589
|
});
|
7574
|
-
const Collapse = withInstall(stdin_default$
|
7590
|
+
const Collapse = withInstall(stdin_default$Z);
|
7575
7591
|
const [name$P, bem$O] = createNamespace("collapse-item");
|
7576
7592
|
const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
|
7577
7593
|
const collapseItemProps = extend({}, cellSharedProps, {
|
@@ -7581,7 +7597,7 @@ const collapseItemProps = extend({}, cellSharedProps, {
|
|
7581
7597
|
readonly: Boolean,
|
7582
7598
|
lazyRender: truthProp
|
7583
7599
|
});
|
7584
|
-
var stdin_default$
|
7600
|
+
var stdin_default$Y = vue.defineComponent({
|
7585
7601
|
name: name$P,
|
7586
7602
|
props: collapseItemProps,
|
7587
7603
|
setup(props, {
|
@@ -7696,8 +7712,8 @@ var stdin_default$V = vue.defineComponent({
|
|
7696
7712
|
}, [renderTitle(), renderContent()]);
|
7697
7713
|
}
|
7698
7714
|
});
|
7699
|
-
const CollapseItem = withInstall(stdin_default$
|
7700
|
-
const ConfigProvider = withInstall(stdin_default$
|
7715
|
+
const CollapseItem = withInstall(stdin_default$Y);
|
7716
|
+
const ConfigProvider = withInstall(stdin_default$1J);
|
7701
7717
|
const [name$O, bem$N, t$d] = createNamespace("contact-card");
|
7702
7718
|
const contactCardProps = {
|
7703
7719
|
tel: String,
|
@@ -7706,7 +7722,7 @@ const contactCardProps = {
|
|
7706
7722
|
addText: String,
|
7707
7723
|
editable: truthProp
|
7708
7724
|
};
|
7709
|
-
var stdin_default$
|
7725
|
+
var stdin_default$X = vue.defineComponent({
|
7710
7726
|
name: name$O,
|
7711
7727
|
props: contactCardProps,
|
7712
7728
|
emits: ["click"],
|
@@ -7737,7 +7753,7 @@ var stdin_default$U = vue.defineComponent({
|
|
7737
7753
|
});
|
7738
7754
|
}
|
7739
7755
|
});
|
7740
|
-
const ContactCard = withInstall(stdin_default$
|
7756
|
+
const ContactCard = withInstall(stdin_default$X);
|
7741
7757
|
const [name$N, bem$M, t$c] = createNamespace("contact-edit");
|
7742
7758
|
const DEFAULT_CONTACT = {
|
7743
7759
|
tel: "",
|
@@ -7758,7 +7774,7 @@ const contactEditProps = {
|
|
7758
7774
|
default: isMobile
|
7759
7775
|
}
|
7760
7776
|
};
|
7761
|
-
var stdin_default$
|
7777
|
+
var stdin_default$W = vue.defineComponent({
|
7762
7778
|
name: name$N,
|
7763
7779
|
props: contactEditProps,
|
7764
7780
|
emits: ["save", "delete", "changeDefault"],
|
@@ -7839,7 +7855,7 @@ var stdin_default$T = vue.defineComponent({
|
|
7839
7855
|
});
|
7840
7856
|
}
|
7841
7857
|
});
|
7842
|
-
const ContactEdit = withInstall(stdin_default$
|
7858
|
+
const ContactEdit = withInstall(stdin_default$W);
|
7843
7859
|
const [name$M, bem$L, t$b] = createNamespace("contact-list");
|
7844
7860
|
const contactListProps = {
|
7845
7861
|
list: Array,
|
@@ -7847,7 +7863,7 @@ const contactListProps = {
|
|
7847
7863
|
modelValue: unknownProp,
|
7848
7864
|
defaultTagText: String
|
7849
7865
|
};
|
7850
|
-
var stdin_default$
|
7866
|
+
var stdin_default$V = vue.defineComponent({
|
7851
7867
|
name: name$M,
|
7852
7868
|
props: contactListProps,
|
7853
7869
|
emits: ["add", "edit", "select", "update:modelValue"],
|
@@ -7917,7 +7933,7 @@ var stdin_default$S = vue.defineComponent({
|
|
7917
7933
|
}, null)])]);
|
7918
7934
|
}
|
7919
7935
|
});
|
7920
|
-
const ContactList = withInstall(stdin_default$
|
7936
|
+
const ContactList = withInstall(stdin_default$V);
|
7921
7937
|
function parseFormat(format2, currentTime) {
|
7922
7938
|
const { days } = currentTime;
|
7923
7939
|
let { hours, minutes, seconds, milliseconds } = currentTime;
|
@@ -7960,7 +7976,7 @@ const countDownProps = {
|
|
7960
7976
|
autoStart: truthProp,
|
7961
7977
|
millisecond: Boolean
|
7962
7978
|
};
|
7963
|
-
var stdin_default$
|
7979
|
+
var stdin_default$U = vue.defineComponent({
|
7964
7980
|
name: name$L,
|
7965
7981
|
props: countDownProps,
|
7966
7982
|
emits: ["change", "finish"],
|
@@ -8000,7 +8016,7 @@ var stdin_default$R = vue.defineComponent({
|
|
8000
8016
|
}, [slots.default ? slots.default(current2.value) : timeText.value]);
|
8001
8017
|
}
|
8002
8018
|
});
|
8003
|
-
const CountDown = withInstall(stdin_default$
|
8019
|
+
const CountDown = withInstall(stdin_default$U);
|
8004
8020
|
function getDate(timeStamp) {
|
8005
8021
|
const date = new Date(timeStamp * 1e3);
|
8006
8022
|
return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
|
@@ -8010,7 +8026,7 @@ function getDate(timeStamp) {
|
|
8010
8026
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
8011
8027
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
8012
8028
|
const [name$K, bem$J, t$a] = createNamespace("coupon");
|
8013
|
-
var stdin_default$
|
8029
|
+
var stdin_default$T = vue.defineComponent({
|
8014
8030
|
name: name$K,
|
8015
8031
|
props: {
|
8016
8032
|
chosen: Boolean,
|
@@ -8081,7 +8097,7 @@ var stdin_default$Q = vue.defineComponent({
|
|
8081
8097
|
};
|
8082
8098
|
}
|
8083
8099
|
});
|
8084
|
-
const Coupon = withInstall(stdin_default$
|
8100
|
+
const Coupon = withInstall(stdin_default$T);
|
8085
8101
|
const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
|
8086
8102
|
const couponCellProps = {
|
8087
8103
|
title: String,
|
@@ -8110,7 +8126,7 @@ function formatValue({
|
|
8110
8126
|
}
|
8111
8127
|
return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
|
8112
8128
|
}
|
8113
|
-
var stdin_default$
|
8129
|
+
var stdin_default$S = vue.defineComponent({
|
8114
8130
|
name: name$J,
|
8115
8131
|
props: couponCellProps,
|
8116
8132
|
setup(props) {
|
@@ -8129,14 +8145,14 @@ var stdin_default$P = vue.defineComponent({
|
|
8129
8145
|
};
|
8130
8146
|
}
|
8131
8147
|
});
|
8132
|
-
const CouponCell = withInstall(stdin_default$
|
8148
|
+
const CouponCell = withInstall(stdin_default$S);
|
8133
8149
|
const [name$I, bem$H] = createNamespace("empty");
|
8134
8150
|
const emptyProps = {
|
8135
8151
|
image: makeStringProp("default"),
|
8136
8152
|
imageSize: [Number, String, Array],
|
8137
8153
|
description: String
|
8138
8154
|
};
|
8139
|
-
var stdin_default$
|
8155
|
+
var stdin_default$R = vue.defineComponent({
|
8140
8156
|
name: name$I,
|
8141
8157
|
props: emptyProps,
|
8142
8158
|
setup(props, {
|
@@ -8445,7 +8461,7 @@ var stdin_default$O = vue.defineComponent({
|
|
8445
8461
|
}, [renderImage()]), renderDescription(), renderBottom()]);
|
8446
8462
|
}
|
8447
8463
|
});
|
8448
|
-
const Empty = withInstall(stdin_default$
|
8464
|
+
const Empty = withInstall(stdin_default$R);
|
8449
8465
|
const [name$H, bem$G, t$8] = createNamespace("coupon-list");
|
8450
8466
|
const couponListProps = {
|
8451
8467
|
code: makeStringProp(""),
|
@@ -8467,7 +8483,7 @@ const couponListProps = {
|
|
8467
8483
|
exchangeButtonLoading: Boolean,
|
8468
8484
|
exchangeButtonDisabled: Boolean
|
8469
8485
|
};
|
8470
|
-
var stdin_default$
|
8486
|
+
var stdin_default$Q = vue.defineComponent({
|
8471
8487
|
name: name$H,
|
8472
8488
|
props: couponListProps,
|
8473
8489
|
emits: ["change", "exchange", "update:code"],
|
@@ -8618,7 +8634,7 @@ var stdin_default$N = vue.defineComponent({
|
|
8618
8634
|
}, null), [[vue.vShow, props.showCloseButton]])])]);
|
8619
8635
|
}
|
8620
8636
|
});
|
8621
|
-
const CouponList = withInstall(stdin_default$
|
8637
|
+
const CouponList = withInstall(stdin_default$Q);
|
8622
8638
|
const currentYear = new Date().getFullYear();
|
8623
8639
|
const [name$G] = createNamespace("date-picker");
|
8624
8640
|
const datePickerProps = extend({}, sharedProps, {
|
@@ -8637,7 +8653,7 @@ const datePickerProps = extend({}, sharedProps, {
|
|
8637
8653
|
validator: isDate
|
8638
8654
|
}
|
8639
8655
|
});
|
8640
|
-
var stdin_default$
|
8656
|
+
var stdin_default$P = vue.defineComponent({
|
8641
8657
|
name: name$G,
|
8642
8658
|
props: datePickerProps,
|
8643
8659
|
emits: ["confirm", "cancel", "change", "update:modelValue"],
|
@@ -8728,7 +8744,7 @@ var stdin_default$M = vue.defineComponent({
|
|
8728
8744
|
}, pick(props, pickerInheritKeys)), slots);
|
8729
8745
|
}
|
8730
8746
|
});
|
8731
|
-
const DatePicker = withInstall(stdin_default$
|
8747
|
+
const DatePicker = withInstall(stdin_default$P);
|
8732
8748
|
const [name$F, bem$F, t$7] = createNamespace("dialog");
|
8733
8749
|
const dialogProps = extend({}, popupSharedProps, {
|
8734
8750
|
title: String,
|
@@ -8752,7 +8768,7 @@ const dialogProps = extend({}, popupSharedProps, {
|
|
8752
8768
|
closeOnClickOverlay: Boolean
|
8753
8769
|
});
|
8754
8770
|
const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
|
8755
|
-
var stdin_default$
|
8771
|
+
var stdin_default$O = vue.defineComponent({
|
8756
8772
|
name: name$F,
|
8757
8773
|
props: dialogProps,
|
8758
8774
|
emits: ["confirm", "cancel", "keydown", "update:show"],
|
@@ -8971,7 +8987,7 @@ function initInstance$2() {
|
|
8971
8987
|
state,
|
8972
8988
|
toggle
|
8973
8989
|
} = usePopupState();
|
8974
|
-
return () => vue.createVNode(stdin_default$
|
8990
|
+
return () => vue.createVNode(stdin_default$O, vue.mergeProps(state, {
|
8975
8991
|
"onUpdate:show": toggle
|
8976
8992
|
}), null);
|
8977
8993
|
}
|
@@ -9009,14 +9025,14 @@ const closeDialog = () => {
|
|
9009
9025
|
instance$2.toggle(false);
|
9010
9026
|
}
|
9011
9027
|
};
|
9012
|
-
const Dialog = withInstall(stdin_default$
|
9028
|
+
const Dialog = withInstall(stdin_default$O);
|
9013
9029
|
const [name$E, bem$E] = createNamespace("divider");
|
9014
9030
|
const dividerProps = {
|
9015
9031
|
dashed: Boolean,
|
9016
9032
|
hairline: truthProp,
|
9017
9033
|
contentPosition: makeStringProp("center")
|
9018
9034
|
};
|
9019
|
-
var stdin_default$
|
9035
|
+
var stdin_default$N = vue.defineComponent({
|
9020
9036
|
name: name$E,
|
9021
9037
|
props: dividerProps,
|
9022
9038
|
setup(props, {
|
@@ -9035,7 +9051,7 @@ var stdin_default$K = vue.defineComponent({
|
|
9035
9051
|
};
|
9036
9052
|
}
|
9037
9053
|
});
|
9038
|
-
const Divider = withInstall(stdin_default$
|
9054
|
+
const Divider = withInstall(stdin_default$N);
|
9039
9055
|
const [name$D, bem$D] = createNamespace("dropdown-menu");
|
9040
9056
|
const dropdownMenuProps = {
|
9041
9057
|
overlay: truthProp,
|
@@ -9047,7 +9063,7 @@ const dropdownMenuProps = {
|
|
9047
9063
|
closeOnClickOverlay: truthProp
|
9048
9064
|
};
|
9049
9065
|
const DROPDOWN_KEY = Symbol(name$D);
|
9050
|
-
var stdin_default$
|
9066
|
+
var stdin_default$M = vue.defineComponent({
|
9051
9067
|
name: name$D,
|
9052
9068
|
props: dropdownMenuProps,
|
9053
9069
|
setup(props, {
|
@@ -9173,7 +9189,7 @@ const dropdownItemProps = {
|
|
9173
9189
|
modelValue: unknownProp,
|
9174
9190
|
titleClass: unknownProp
|
9175
9191
|
};
|
9176
|
-
var stdin_default$
|
9192
|
+
var stdin_default$L = vue.defineComponent({
|
9177
9193
|
name: name$C,
|
9178
9194
|
inheritAttrs: false,
|
9179
9195
|
props: dropdownItemProps,
|
@@ -9333,8 +9349,8 @@ var stdin_default$I = vue.defineComponent({
|
|
9333
9349
|
};
|
9334
9350
|
}
|
9335
9351
|
});
|
9336
|
-
const DropdownItem = withInstall(stdin_default$
|
9337
|
-
const DropdownMenu = withInstall(stdin_default$
|
9352
|
+
const DropdownItem = withInstall(stdin_default$L);
|
9353
|
+
const DropdownMenu = withInstall(stdin_default$M);
|
9338
9354
|
const [name$B, bem$B] = createNamespace("grid");
|
9339
9355
|
const gridProps = {
|
9340
9356
|
square: Boolean,
|
@@ -9348,7 +9364,7 @@ const gridProps = {
|
|
9348
9364
|
columnNum: makeNumericProp(4)
|
9349
9365
|
};
|
9350
9366
|
const GRID_KEY = Symbol(name$B);
|
9351
|
-
var stdin_default$
|
9367
|
+
var stdin_default$K = vue.defineComponent({
|
9352
9368
|
name: name$B,
|
9353
9369
|
props: gridProps,
|
9354
9370
|
setup(props, {
|
@@ -9373,7 +9389,7 @@ var stdin_default$H = vue.defineComponent({
|
|
9373
9389
|
};
|
9374
9390
|
}
|
9375
9391
|
});
|
9376
|
-
const Grid = withInstall(stdin_default$
|
9392
|
+
const Grid = withInstall(stdin_default$K);
|
9377
9393
|
const [name$A, bem$A] = createNamespace("grid-item");
|
9378
9394
|
const gridItemProps = extend({}, routeProps, {
|
9379
9395
|
dot: Boolean,
|
@@ -9384,7 +9400,7 @@ const gridItemProps = extend({}, routeProps, {
|
|
9384
9400
|
iconPrefix: String,
|
9385
9401
|
badgeProps: Object
|
9386
9402
|
});
|
9387
|
-
var stdin_default$
|
9403
|
+
var stdin_default$J = vue.defineComponent({
|
9388
9404
|
name: name$A,
|
9389
9405
|
props: gridItemProps,
|
9390
9406
|
setup(props, {
|
@@ -9508,10 +9524,10 @@ var stdin_default$G = vue.defineComponent({
|
|
9508
9524
|
};
|
9509
9525
|
}
|
9510
9526
|
});
|
9511
|
-
const GridItem = withInstall(stdin_default$
|
9527
|
+
const GridItem = withInstall(stdin_default$J);
|
9512
9528
|
const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
|
9513
9529
|
const bem$z = createNamespace("image-preview")[1];
|
9514
|
-
var stdin_default$
|
9530
|
+
var stdin_default$I = vue.defineComponent({
|
9515
9531
|
props: {
|
9516
9532
|
src: String,
|
9517
9533
|
show: Boolean,
|
@@ -9764,7 +9780,7 @@ var stdin_default$F = vue.defineComponent({
|
|
9764
9780
|
}
|
9765
9781
|
});
|
9766
9782
|
const [name$z, bem$y] = createNamespace("image-preview");
|
9767
|
-
const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
|
9783
|
+
const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate", "teleport"];
|
9768
9784
|
const imagePreviewProps = {
|
9769
9785
|
show: Boolean,
|
9770
9786
|
loop: truthProp,
|
@@ -9784,9 +9800,10 @@ const imagePreviewProps = {
|
|
9784
9800
|
startPosition: makeNumericProp(0),
|
9785
9801
|
showIndicators: Boolean,
|
9786
9802
|
closeOnPopstate: truthProp,
|
9787
|
-
closeIconPosition: makeStringProp("top-right")
|
9803
|
+
closeIconPosition: makeStringProp("top-right"),
|
9804
|
+
teleport: [String, Object]
|
9788
9805
|
};
|
9789
|
-
var stdin_default$
|
9806
|
+
var stdin_default$H = vue.defineComponent({
|
9790
9807
|
name: name$z,
|
9791
9808
|
props: imagePreviewProps,
|
9792
9809
|
emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
|
@@ -9849,7 +9866,7 @@ var stdin_default$E = vue.defineComponent({
|
|
9849
9866
|
"indicatorColor": "white",
|
9850
9867
|
"onChange": setActive
|
9851
9868
|
}, {
|
9852
|
-
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$
|
9869
|
+
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$I, {
|
9853
9870
|
"src": image,
|
9854
9871
|
"show": props.show,
|
9855
9872
|
"active": state.active,
|
@@ -9953,7 +9970,7 @@ function initInstance$1() {
|
|
9953
9970
|
const onClosed = () => {
|
9954
9971
|
state.images = [];
|
9955
9972
|
};
|
9956
|
-
return () => vue.createVNode(stdin_default$
|
9973
|
+
return () => vue.createVNode(stdin_default$H, vue.mergeProps(state, {
|
9957
9974
|
"onClosed": onClosed,
|
9958
9975
|
"onUpdate:show": toggle
|
9959
9976
|
}), null);
|
@@ -9974,7 +9991,7 @@ const showImagePreview = (options, startPosition = 0) => {
|
|
9974
9991
|
instance$1.open(extend({}, defaultConfig, options));
|
9975
9992
|
return instance$1;
|
9976
9993
|
};
|
9977
|
-
const ImagePreview = withInstall(stdin_default$
|
9994
|
+
const ImagePreview = withInstall(stdin_default$H);
|
9978
9995
|
function genAlphabet() {
|
9979
9996
|
const charCodeOfA = "A".charCodeAt(0);
|
9980
9997
|
const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
|
@@ -9993,7 +10010,7 @@ const indexBarProps = {
|
|
9993
10010
|
}
|
9994
10011
|
};
|
9995
10012
|
const INDEX_BAR_KEY = Symbol(name$y);
|
9996
|
-
var stdin_default$
|
10013
|
+
var stdin_default$G = vue.defineComponent({
|
9997
10014
|
name: name$y,
|
9998
10015
|
props: indexBarProps,
|
9999
10016
|
emits: ["select", "change"],
|
@@ -10195,7 +10212,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
|
|
10195
10212
|
const indexAnchorProps = {
|
10196
10213
|
index: numericProp
|
10197
10214
|
};
|
10198
|
-
var stdin_default$
|
10215
|
+
var stdin_default$F = vue.defineComponent({
|
10199
10216
|
name: name$x,
|
10200
10217
|
props: indexAnchorProps,
|
10201
10218
|
setup(props, {
|
@@ -10268,8 +10285,8 @@ var stdin_default$C = vue.defineComponent({
|
|
10268
10285
|
};
|
10269
10286
|
}
|
10270
10287
|
});
|
10271
|
-
const IndexAnchor = withInstall(stdin_default$
|
10272
|
-
const IndexBar = withInstall(stdin_default$
|
10288
|
+
const IndexAnchor = withInstall(stdin_default$F);
|
10289
|
+
const IndexBar = withInstall(stdin_default$G);
|
10273
10290
|
const [name$w, bem$v, t$6] = createNamespace("list");
|
10274
10291
|
const listProps = {
|
10275
10292
|
error: Boolean,
|
@@ -10283,7 +10300,7 @@ const listProps = {
|
|
10283
10300
|
finishedText: String,
|
10284
10301
|
immediateCheck: truthProp
|
10285
10302
|
};
|
10286
|
-
var stdin_default$
|
10303
|
+
var stdin_default$E = vue.defineComponent({
|
10287
10304
|
name: name$w,
|
10288
10305
|
props: listProps,
|
10289
10306
|
emits: ["load", "update:error", "update:loading"],
|
@@ -10400,7 +10417,7 @@ var stdin_default$B = vue.defineComponent({
|
|
10400
10417
|
};
|
10401
10418
|
}
|
10402
10419
|
});
|
10403
|
-
const List = withInstall(stdin_default$
|
10420
|
+
const List = withInstall(stdin_default$E);
|
10404
10421
|
const [name$v, bem$u] = createNamespace("nav-bar");
|
10405
10422
|
const navBarProps = {
|
10406
10423
|
title: String,
|
@@ -10414,7 +10431,7 @@ const navBarProps = {
|
|
10414
10431
|
safeAreaInsetTop: Boolean,
|
10415
10432
|
clickable: truthProp
|
10416
10433
|
};
|
10417
|
-
var stdin_default$
|
10434
|
+
var stdin_default$D = vue.defineComponent({
|
10418
10435
|
name: name$v,
|
10419
10436
|
props: navBarProps,
|
10420
10437
|
emits: ["clickLeft", "clickRight"],
|
@@ -10484,7 +10501,7 @@ var stdin_default$A = vue.defineComponent({
|
|
10484
10501
|
};
|
10485
10502
|
}
|
10486
10503
|
});
|
10487
|
-
const NavBar = withInstall(stdin_default$
|
10504
|
+
const NavBar = withInstall(stdin_default$D);
|
10488
10505
|
const [name$u, bem$t] = createNamespace("notice-bar");
|
10489
10506
|
const noticeBarProps = {
|
10490
10507
|
text: String,
|
@@ -10500,7 +10517,7 @@ const noticeBarProps = {
|
|
10500
10517
|
default: null
|
10501
10518
|
}
|
10502
10519
|
};
|
10503
|
-
var stdin_default$
|
10520
|
+
var stdin_default$C = vue.defineComponent({
|
10504
10521
|
name: name$u,
|
10505
10522
|
props: noticeBarProps,
|
10506
10523
|
emits: ["close", "replay"],
|
@@ -10640,7 +10657,7 @@ var stdin_default$z = vue.defineComponent({
|
|
10640
10657
|
};
|
10641
10658
|
}
|
10642
10659
|
});
|
10643
|
-
const NoticeBar = withInstall(stdin_default$
|
10660
|
+
const NoticeBar = withInstall(stdin_default$C);
|
10644
10661
|
const [name$t, bem$s] = createNamespace("notify");
|
10645
10662
|
const notifyProps = extend({}, popupSharedProps, {
|
10646
10663
|
type: makeStringProp("danger"),
|
@@ -10651,7 +10668,7 @@ const notifyProps = extend({}, popupSharedProps, {
|
|
10651
10668
|
background: String,
|
10652
10669
|
lockScroll: Boolean
|
10653
10670
|
});
|
10654
|
-
var stdin_default$
|
10671
|
+
var stdin_default$B = vue.defineComponent({
|
10655
10672
|
name: name$t,
|
10656
10673
|
props: notifyProps,
|
10657
10674
|
emits: ["update:show"],
|
@@ -10692,7 +10709,7 @@ function initInstance() {
|
|
10692
10709
|
state,
|
10693
10710
|
toggle
|
10694
10711
|
} = usePopupState();
|
10695
|
-
return () => vue.createVNode(stdin_default$
|
10712
|
+
return () => vue.createVNode(stdin_default$B, vue.mergeProps(state, {
|
10696
10713
|
"onUpdate:show": toggle
|
10697
10714
|
}), null);
|
10698
10715
|
}
|
@@ -10736,7 +10753,7 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
|
|
10736
10753
|
const resetNotifyDefaultOptions = () => {
|
10737
10754
|
currentOptions = getDefaultOptions();
|
10738
10755
|
};
|
10739
|
-
const Notify = withInstall(stdin_default$
|
10756
|
+
const Notify = withInstall(stdin_default$B);
|
10740
10757
|
const [name$s, bem$r] = createNamespace("key");
|
10741
10758
|
const CollapseIcon = vue.createVNode("svg", {
|
10742
10759
|
"class": bem$r("collapse-icon"),
|
@@ -10752,7 +10769,7 @@ const DeleteIcon = vue.createVNode("svg", {
|
|
10752
10769
|
"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",
|
10753
10770
|
"fill": "currentColor"
|
10754
10771
|
}, null)]);
|
10755
|
-
var stdin_default$
|
10772
|
+
var stdin_default$A = vue.defineComponent({
|
10756
10773
|
name: name$s,
|
10757
10774
|
props: {
|
10758
10775
|
type: String,
|
@@ -10855,7 +10872,7 @@ function shuffle(array) {
|
|
10855
10872
|
}
|
10856
10873
|
return array;
|
10857
10874
|
}
|
10858
|
-
var stdin_default$
|
10875
|
+
var stdin_default$z = vue.defineComponent({
|
10859
10876
|
name: name$r,
|
10860
10877
|
inheritAttrs: false,
|
10861
10878
|
props: numberKeyboardProps,
|
@@ -10974,7 +10991,7 @@ var stdin_default$w = vue.defineComponent({
|
|
10974
10991
|
if (key.type === "extra") {
|
10975
10992
|
keySlots.default = slots["extra-key"];
|
10976
10993
|
}
|
10977
|
-
return vue.createVNode(stdin_default$
|
10994
|
+
return vue.createVNode(stdin_default$A, {
|
10978
10995
|
"key": key.text,
|
10979
10996
|
"text": key.text,
|
10980
10997
|
"type": key.type,
|
@@ -10987,14 +11004,14 @@ var stdin_default$w = vue.defineComponent({
|
|
10987
11004
|
if (props.theme === "custom") {
|
10988
11005
|
return vue.createVNode("div", {
|
10989
11006
|
"class": bem$q("sidebar")
|
10990
|
-
}, [props.showDeleteKey && vue.createVNode(stdin_default$
|
11007
|
+
}, [props.showDeleteKey && vue.createVNode(stdin_default$A, {
|
10991
11008
|
"large": true,
|
10992
11009
|
"text": props.deleteButtonText,
|
10993
11010
|
"type": "delete",
|
10994
11011
|
"onPress": onPress
|
10995
11012
|
}, {
|
10996
11013
|
delete: slots.delete
|
10997
|
-
}), vue.createVNode(stdin_default$
|
11014
|
+
}), vue.createVNode(stdin_default$A, {
|
10998
11015
|
"large": true,
|
10999
11016
|
"text": props.closeButtonText,
|
11000
11017
|
"type": "close",
|
@@ -11045,7 +11062,7 @@ var stdin_default$w = vue.defineComponent({
|
|
11045
11062
|
};
|
11046
11063
|
}
|
11047
11064
|
});
|
11048
|
-
const NumberKeyboard = withInstall(stdin_default$
|
11065
|
+
const NumberKeyboard = withInstall(stdin_default$z);
|
11049
11066
|
const [name$q, bem$p, t$5] = createNamespace("pagination");
|
11050
11067
|
const makePage = (number, text, active) => ({
|
11051
11068
|
number,
|
@@ -11063,7 +11080,7 @@ const paginationProps = {
|
|
11063
11080
|
itemsPerPage: makeNumericProp(10),
|
11064
11081
|
forceEllipses: Boolean
|
11065
11082
|
};
|
11066
|
-
var stdin_default$
|
11083
|
+
var stdin_default$y = vue.defineComponent({
|
11067
11084
|
name: name$q,
|
11068
11085
|
props: paginationProps,
|
11069
11086
|
emits: ["change", "update:modelValue"],
|
@@ -11184,7 +11201,7 @@ var stdin_default$v = vue.defineComponent({
|
|
11184
11201
|
}, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
|
11185
11202
|
}
|
11186
11203
|
});
|
11187
|
-
const Pagination = withInstall(stdin_default$
|
11204
|
+
const Pagination = withInstall(stdin_default$y);
|
11188
11205
|
const [name$p, bem$o] = createNamespace("password-input");
|
11189
11206
|
const passwordInputProps = {
|
11190
11207
|
info: String,
|
@@ -11195,7 +11212,7 @@ const passwordInputProps = {
|
|
11195
11212
|
focused: Boolean,
|
11196
11213
|
errorInfo: String
|
11197
11214
|
};
|
11198
|
-
var stdin_default$
|
11215
|
+
var stdin_default$x = vue.defineComponent({
|
11199
11216
|
name: name$p,
|
11200
11217
|
props: passwordInputProps,
|
11201
11218
|
emits: ["focus"],
|
@@ -11257,8 +11274,8 @@ var stdin_default$u = vue.defineComponent({
|
|
11257
11274
|
};
|
11258
11275
|
}
|
11259
11276
|
});
|
11260
|
-
const PasswordInput = withInstall(stdin_default$
|
11261
|
-
const PickerGroup = withInstall(stdin_default$
|
11277
|
+
const PasswordInput = withInstall(stdin_default$x);
|
11278
|
+
const PickerGroup = withInstall(stdin_default$1r);
|
11262
11279
|
const useSyncPropRef = (getProp, setProp) => {
|
11263
11280
|
const propRef = vue.ref(getProp());
|
11264
11281
|
vue.watch(getProp, (value) => {
|
@@ -11299,7 +11316,7 @@ const popoverProps = {
|
|
11299
11316
|
default: "body"
|
11300
11317
|
}
|
11301
11318
|
};
|
11302
|
-
var stdin_default$
|
11319
|
+
var stdin_default$w = vue.defineComponent({
|
11303
11320
|
name: name$o,
|
11304
11321
|
props: popoverProps,
|
11305
11322
|
emits: ["select", "touchstart", "update:show"],
|
@@ -11445,7 +11462,7 @@ var stdin_default$t = vue.defineComponent({
|
|
11445
11462
|
};
|
11446
11463
|
}
|
11447
11464
|
});
|
11448
|
-
const Popover = withInstall(stdin_default$
|
11465
|
+
const Popover = withInstall(stdin_default$w);
|
11449
11466
|
const [name$n, bem$m] = createNamespace("progress");
|
11450
11467
|
const progressProps = {
|
11451
11468
|
color: String,
|
@@ -11462,7 +11479,7 @@ const progressProps = {
|
|
11462
11479
|
validator: (value) => value >= 0 && value <= 100
|
11463
11480
|
}
|
11464
11481
|
};
|
11465
|
-
var stdin_default$
|
11482
|
+
var stdin_default$v = vue.defineComponent({
|
11466
11483
|
name: name$n,
|
11467
11484
|
props: progressProps,
|
11468
11485
|
setup(props) {
|
@@ -11516,7 +11533,7 @@ var stdin_default$s = vue.defineComponent({
|
|
11516
11533
|
};
|
11517
11534
|
}
|
11518
11535
|
});
|
11519
|
-
const Progress = withInstall(stdin_default$
|
11536
|
+
const Progress = withInstall(stdin_default$v);
|
11520
11537
|
const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
|
11521
11538
|
const DEFAULT_HEAD_HEIGHT = 50;
|
11522
11539
|
const TEXT_STATUS = ["pulling", "loosing", "success"];
|
@@ -11532,7 +11549,7 @@ const pullRefreshProps = {
|
|
11532
11549
|
successDuration: makeNumericProp(500),
|
11533
11550
|
animationDuration: makeNumericProp(300)
|
11534
11551
|
};
|
11535
|
-
var stdin_default$
|
11552
|
+
var stdin_default$u = vue.defineComponent({
|
11536
11553
|
name: name$m,
|
11537
11554
|
props: pullRefreshProps,
|
11538
11555
|
emits: ["change", "refresh", "update:modelValue"],
|
@@ -11701,7 +11718,7 @@ var stdin_default$r = vue.defineComponent({
|
|
11701
11718
|
};
|
11702
11719
|
}
|
11703
11720
|
});
|
11704
|
-
const PullRefresh = withInstall(stdin_default$
|
11721
|
+
const PullRefresh = withInstall(stdin_default$u);
|
11705
11722
|
const [name$l, bem$k] = createNamespace("rate");
|
11706
11723
|
function getRateStatus(value, index, allowHalf, readonly) {
|
11707
11724
|
if (value >= index) {
|
@@ -11744,7 +11761,7 @@ const rateProps = {
|
|
11744
11761
|
modelValue: makeNumberProp(0),
|
11745
11762
|
disabledColor: String
|
11746
11763
|
};
|
11747
|
-
var stdin_default$
|
11764
|
+
var stdin_default$t = vue.defineComponent({
|
11748
11765
|
name: name$l,
|
11749
11766
|
props: rateProps,
|
11750
11767
|
emits: ["change", "update:modelValue"],
|
@@ -11911,8 +11928,8 @@ var stdin_default$q = vue.defineComponent({
|
|
11911
11928
|
}, [list.value.map(renderStar)]);
|
11912
11929
|
}
|
11913
11930
|
});
|
11914
|
-
const Rate = withInstall(stdin_default$
|
11915
|
-
const Row = withInstall(stdin_default
|
11931
|
+
const Rate = withInstall(stdin_default$t);
|
11932
|
+
const Row = withInstall(stdin_default$$);
|
11916
11933
|
const [name$k, bem$j, t$3] = createNamespace("search");
|
11917
11934
|
const searchProps = extend({}, fieldSharedProps, {
|
11918
11935
|
label: String,
|
@@ -11923,7 +11940,7 @@ const searchProps = extend({}, fieldSharedProps, {
|
|
11923
11940
|
background: String,
|
11924
11941
|
showAction: Boolean
|
11925
11942
|
});
|
11926
|
-
var stdin_default$
|
11943
|
+
var stdin_default$s = vue.defineComponent({
|
11927
11944
|
name: name$k,
|
11928
11945
|
props: searchProps,
|
11929
11946
|
emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -12021,7 +12038,7 @@ var stdin_default$p = vue.defineComponent({
|
|
12021
12038
|
};
|
12022
12039
|
}
|
12023
12040
|
});
|
12024
|
-
const Search = withInstall(stdin_default$
|
12041
|
+
const Search = withInstall(stdin_default$s);
|
12025
12042
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
12026
12043
|
const iconMap = {
|
12027
12044
|
qq: "qq",
|
@@ -12043,7 +12060,7 @@ const shareSheetProps = extend({}, popupSharedProps, {
|
|
12043
12060
|
closeOnPopstate: truthProp,
|
12044
12061
|
safeAreaInsetBottom: truthProp
|
12045
12062
|
});
|
12046
|
-
var stdin_default$
|
12063
|
+
var stdin_default$r = vue.defineComponent({
|
12047
12064
|
name: name$j,
|
12048
12065
|
props: shareSheetProps,
|
12049
12066
|
emits: ["cancel", "select", "update:show"],
|
@@ -12135,13 +12152,13 @@ var stdin_default$o = vue.defineComponent({
|
|
12135
12152
|
});
|
12136
12153
|
}
|
12137
12154
|
});
|
12138
|
-
const ShareSheet = withInstall(stdin_default$
|
12155
|
+
const ShareSheet = withInstall(stdin_default$r);
|
12139
12156
|
const [name$i, bem$h] = createNamespace("sidebar");
|
12140
12157
|
const SIDEBAR_KEY = Symbol(name$i);
|
12141
12158
|
const sidebarProps = {
|
12142
12159
|
modelValue: makeNumericProp(0)
|
12143
12160
|
};
|
12144
|
-
var stdin_default$
|
12161
|
+
var stdin_default$q = vue.defineComponent({
|
12145
12162
|
name: name$i,
|
12146
12163
|
props: sidebarProps,
|
12147
12164
|
emits: ["change", "update:modelValue"],
|
@@ -12172,7 +12189,7 @@ var stdin_default$n = vue.defineComponent({
|
|
12172
12189
|
};
|
12173
12190
|
}
|
12174
12191
|
});
|
12175
|
-
const Sidebar = withInstall(stdin_default$
|
12192
|
+
const Sidebar = withInstall(stdin_default$q);
|
12176
12193
|
const [name$h, bem$g] = createNamespace("sidebar-item");
|
12177
12194
|
const sidebarItemProps = extend({}, routeProps, {
|
12178
12195
|
dot: Boolean,
|
@@ -12181,7 +12198,7 @@ const sidebarItemProps = extend({}, routeProps, {
|
|
12181
12198
|
disabled: Boolean,
|
12182
12199
|
badgeProps: Object
|
12183
12200
|
});
|
12184
|
-
var stdin_default$
|
12201
|
+
var stdin_default$p = vue.defineComponent({
|
12185
12202
|
name: name$h,
|
12186
12203
|
props: sidebarItemProps,
|
12187
12204
|
emits: ["click"],
|
@@ -12235,13 +12252,13 @@ var stdin_default$m = vue.defineComponent({
|
|
12235
12252
|
};
|
12236
12253
|
}
|
12237
12254
|
});
|
12238
|
-
const SidebarItem = withInstall(stdin_default$
|
12255
|
+
const SidebarItem = withInstall(stdin_default$p);
|
12239
12256
|
const [name$g, bem$f] = createNamespace("skeleton-title");
|
12240
12257
|
const skeletonTitleProps = {
|
12241
12258
|
round: Boolean,
|
12242
12259
|
titleWidth: numericProp
|
12243
12260
|
};
|
12244
|
-
var stdin_default$
|
12261
|
+
var stdin_default$o = vue.defineComponent({
|
12245
12262
|
name: name$g,
|
12246
12263
|
props: skeletonTitleProps,
|
12247
12264
|
setup(props) {
|
@@ -12255,12 +12272,14 @@ var stdin_default$l = vue.defineComponent({
|
|
12255
12272
|
}, null);
|
12256
12273
|
}
|
12257
12274
|
});
|
12275
|
+
const SkeletonTitle = withInstall(stdin_default$o);
|
12276
|
+
var stdin_default$n = SkeletonTitle;
|
12258
12277
|
const [name$f, bem$e] = createNamespace("skeleton-avatar");
|
12259
12278
|
const skeletonAvatarProps = {
|
12260
12279
|
avatarSize: numericProp,
|
12261
12280
|
avatarShape: makeStringProp("round")
|
12262
12281
|
};
|
12263
|
-
var stdin_default$
|
12282
|
+
var stdin_default$m = vue.defineComponent({
|
12264
12283
|
name: name$f,
|
12265
12284
|
props: skeletonAvatarProps,
|
12266
12285
|
setup(props) {
|
@@ -12270,6 +12289,8 @@ var stdin_default$k = vue.defineComponent({
|
|
12270
12289
|
}, null);
|
12271
12290
|
}
|
12272
12291
|
});
|
12292
|
+
const SkeletonAvatar = withInstall(stdin_default$m);
|
12293
|
+
var stdin_default$l = SkeletonAvatar;
|
12273
12294
|
const DEFAULT_ROW_WIDTH = "100%";
|
12274
12295
|
const skeletonParagraphProps = {
|
12275
12296
|
round: Boolean,
|
@@ -12279,7 +12300,7 @@ const skeletonParagraphProps = {
|
|
12279
12300
|
}
|
12280
12301
|
};
|
12281
12302
|
const [name$e, bem$d] = createNamespace("skeleton-paragraph");
|
12282
|
-
var stdin_default$
|
12303
|
+
var stdin_default$k = vue.defineComponent({
|
12283
12304
|
name: name$e,
|
12284
12305
|
props: skeletonParagraphProps,
|
12285
12306
|
setup(props) {
|
@@ -12293,6 +12314,8 @@ var stdin_default$j = vue.defineComponent({
|
|
12293
12314
|
}, null);
|
12294
12315
|
}
|
12295
12316
|
});
|
12317
|
+
const SkeletonParagraph = withInstall(stdin_default$k);
|
12318
|
+
var stdin_default$j = SkeletonParagraph;
|
12296
12319
|
const [name$d, bem$c] = createNamespace("skeleton");
|
12297
12320
|
const DEFAULT_LAST_ROW_WIDTH = "60%";
|
12298
12321
|
const skeletonProps = {
|
@@ -12320,7 +12343,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12320
12343
|
}) {
|
12321
12344
|
const renderAvatar = () => {
|
12322
12345
|
if (props.avatar) {
|
12323
|
-
return vue.createVNode(stdin_default$
|
12346
|
+
return vue.createVNode(stdin_default$l, {
|
12324
12347
|
"avatarShape": props.avatarShape,
|
12325
12348
|
"avatarSize": props.avatarSize
|
12326
12349
|
}, null);
|
@@ -12328,7 +12351,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12328
12351
|
};
|
12329
12352
|
const renderTitle = () => {
|
12330
12353
|
if (props.title) {
|
12331
|
-
return vue.createVNode(stdin_default$
|
12354
|
+
return vue.createVNode(stdin_default$n, {
|
12332
12355
|
"round": props.round,
|
12333
12356
|
"titleWidth": props.titleWidth
|
12334
12357
|
}, null);
|
@@ -12373,6 +12396,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12373
12396
|
};
|
12374
12397
|
}
|
12375
12398
|
});
|
12399
|
+
const Skeleton = withInstall(stdin_default$i);
|
12376
12400
|
const [name$c, bem$b] = createNamespace("skeleton-image");
|
12377
12401
|
const skeletonImageProps = {
|
12378
12402
|
imageSize: numericProp,
|
@@ -12392,10 +12416,6 @@ var stdin_default$h = vue.defineComponent({
|
|
12392
12416
|
}
|
12393
12417
|
});
|
12394
12418
|
const SkeletonImage = withInstall(stdin_default$h);
|
12395
|
-
const SkeletonTitle = withInstall(stdin_default$l);
|
12396
|
-
const SkeletonAvatar = withInstall(stdin_default$k);
|
12397
|
-
const SkeletonParagraph = withInstall(stdin_default$j);
|
12398
|
-
const Skeleton = withInstall(stdin_default$i);
|
12399
12419
|
const [name$b, bem$a] = createNamespace("slider");
|
12400
12420
|
const sliderProps = {
|
12401
12421
|
min: makeNumericProp(0),
|
@@ -14899,7 +14919,7 @@ const Lazyload = {
|
|
14899
14919
|
});
|
14900
14920
|
}
|
14901
14921
|
};
|
14902
|
-
const version = "4.0.
|
14922
|
+
const version = "4.0.8";
|
14903
14923
|
function install(app) {
|
14904
14924
|
const components = [
|
14905
14925
|
ActionBar,
|
@@ -14971,6 +14991,10 @@ function install(app) {
|
|
14971
14991
|
Sidebar,
|
14972
14992
|
SidebarItem,
|
14973
14993
|
Skeleton,
|
14994
|
+
SkeletonAvatar,
|
14995
|
+
SkeletonImage,
|
14996
|
+
SkeletonParagraph,
|
14997
|
+
SkeletonTitle,
|
14974
14998
|
Slider,
|
14975
14999
|
Space,
|
14976
15000
|
Step,
|
@@ -15033,6 +15057,7 @@ exports.CountDown = CountDown;
|
|
15033
15057
|
exports.Coupon = Coupon;
|
15034
15058
|
exports.CouponCell = CouponCell;
|
15035
15059
|
exports.CouponList = CouponList;
|
15060
|
+
exports.DEFAULT_ROW_WIDTH = DEFAULT_ROW_WIDTH;
|
15036
15061
|
exports.DatePicker = DatePicker;
|
15037
15062
|
exports.Dialog = Dialog;
|
15038
15063
|
exports.Divider = Divider;
|