vant 4.0.7 → 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/index.d.ts +5 -1
- package/es/index.mjs +13 -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/lib/icon/index.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -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/vant.cjs.js +221 -200
- package/lib/vant.es.js +221 -200
- package/lib/vant.js +231 -201
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +2 -2
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"],
|
@@ -2471,9 +2471,9 @@ var stdin_default$1t = vue.defineComponent({
|
|
2471
2471
|
};
|
2472
2472
|
}
|
2473
2473
|
});
|
2474
|
-
const Swipe = withInstall(stdin_default$
|
2474
|
+
const Swipe = withInstall(stdin_default$1w);
|
2475
2475
|
const [name$1k, bem$1g] = createNamespace("tabs");
|
2476
|
-
var stdin_default$
|
2476
|
+
var stdin_default$1v = vue.defineComponent({
|
2477
2477
|
name: name$1k,
|
2478
2478
|
props: {
|
2479
2479
|
count: makeRequiredProp(Number),
|
@@ -2556,7 +2556,7 @@ const tabsProps = {
|
|
2556
2556
|
titleInactiveColor: String
|
2557
2557
|
};
|
2558
2558
|
const TABS_KEY = Symbol(name$1j);
|
2559
|
-
var stdin_default$
|
2559
|
+
var stdin_default$1u = vue.defineComponent({
|
2560
2560
|
name: name$1j,
|
2561
2561
|
props: tabsProps,
|
2562
2562
|
emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
|
@@ -2746,7 +2746,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2746
2746
|
setCurrentIndex(index);
|
2747
2747
|
}
|
2748
2748
|
};
|
2749
|
-
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$
|
2749
|
+
const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1x, vue.mergeProps({
|
2750
2750
|
"key": item.id,
|
2751
2751
|
"id": `${id}-${index}`,
|
2752
2752
|
"ref": setTitleRefs(index),
|
@@ -2862,7 +2862,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2862
2862
|
"onScroll": onStickyScroll
|
2863
2863
|
}, {
|
2864
2864
|
default: () => [renderHeader()]
|
2865
|
-
}) : renderHeader(), vue.createVNode(stdin_default$
|
2865
|
+
}) : renderHeader(), vue.createVNode(stdin_default$1v, {
|
2866
2866
|
"ref": contentRef,
|
2867
2867
|
"count": children.length,
|
2868
2868
|
"inited": state.inited,
|
@@ -2883,7 +2883,7 @@ var stdin_default$1r = vue.defineComponent({
|
|
2883
2883
|
const TAB_STATUS_KEY = Symbol();
|
2884
2884
|
const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
|
2885
2885
|
const [name$1i, bem$1e] = createNamespace("swipe-item");
|
2886
|
-
var stdin_default$
|
2886
|
+
var stdin_default$1t = vue.defineComponent({
|
2887
2887
|
name: name$1i,
|
2888
2888
|
setup(props, {
|
2889
2889
|
slots
|
@@ -2955,7 +2955,7 @@ var stdin_default$1q = vue.defineComponent({
|
|
2955
2955
|
};
|
2956
2956
|
}
|
2957
2957
|
});
|
2958
|
-
const SwipeItem = withInstall(stdin_default$
|
2958
|
+
const SwipeItem = withInstall(stdin_default$1t);
|
2959
2959
|
const [name$1h, bem$1d] = createNamespace("tab");
|
2960
2960
|
const tabProps = extend({}, routeProps, {
|
2961
2961
|
dot: Boolean,
|
@@ -2967,7 +2967,7 @@ const tabProps = extend({}, routeProps, {
|
|
2967
2967
|
titleStyle: [String, Object],
|
2968
2968
|
showZeroBadge: truthProp
|
2969
2969
|
});
|
2970
|
-
var stdin_default$
|
2970
|
+
var stdin_default$1s = vue.defineComponent({
|
2971
2971
|
name: name$1h,
|
2972
2972
|
props: tabProps,
|
2973
2973
|
setup(props, {
|
@@ -3066,14 +3066,15 @@ var stdin_default$1p = vue.defineComponent({
|
|
3066
3066
|
};
|
3067
3067
|
}
|
3068
3068
|
});
|
3069
|
-
const Tab = withInstall(stdin_default$
|
3070
|
-
const Tabs = withInstall(stdin_default$
|
3069
|
+
const Tab = withInstall(stdin_default$1s);
|
3070
|
+
const Tabs = withInstall(stdin_default$1u);
|
3071
3071
|
const [name$1g, bem$1c] = createNamespace("picker-group");
|
3072
3072
|
const PICKER_GROUP_KEY = Symbol(name$1g);
|
3073
3073
|
const pickerGroupProps = extend({
|
3074
|
-
tabs: makeArrayProp()
|
3074
|
+
tabs: makeArrayProp(),
|
3075
|
+
nextStepText: String
|
3075
3076
|
}, pickerToolbarProps);
|
3076
|
-
var stdin_default$
|
3077
|
+
var stdin_default$1r = vue.defineComponent({
|
3077
3078
|
name: name$1g,
|
3078
3079
|
props: pickerGroupProps,
|
3079
3080
|
emits: ["confirm", "cancel"],
|
@@ -3081,26 +3082,38 @@ var stdin_default$1o = vue.defineComponent({
|
|
3081
3082
|
emit,
|
3082
3083
|
slots
|
3083
3084
|
}) {
|
3085
|
+
const activeTab = vue.ref(0);
|
3084
3086
|
const {
|
3085
3087
|
children,
|
3086
3088
|
linkChildren
|
3087
3089
|
} = use.useChildren(PICKER_GROUP_KEY);
|
3088
3090
|
linkChildren();
|
3091
|
+
const showNextButton = () => activeTab.value < props.tabs.length - 1 && props.nextStepText;
|
3089
3092
|
const onConfirm = () => {
|
3090
|
-
|
3093
|
+
if (showNextButton()) {
|
3094
|
+
activeTab.value++;
|
3095
|
+
} else {
|
3096
|
+
emit("confirm", children.map((item) => item.confirm()));
|
3097
|
+
}
|
3091
3098
|
};
|
3092
3099
|
const onCancel = () => emit("cancel");
|
3093
3100
|
return () => {
|
3094
3101
|
var _a;
|
3095
3102
|
const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
3103
|
+
const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
|
3096
3104
|
return vue.createVNode("div", {
|
3097
3105
|
"class": bem$1c()
|
3098
|
-
}, [vue.createVNode(stdin_default$
|
3106
|
+
}, [vue.createVNode(stdin_default$1z, {
|
3107
|
+
"title": props.title,
|
3108
|
+
"cancelButtonText": props.cancelButtonText,
|
3109
|
+
"confirmButtonText": confirmButtonText,
|
3099
3110
|
"onConfirm": onConfirm,
|
3100
3111
|
"onCancel": onCancel
|
3101
|
-
}
|
3102
|
-
"
|
3112
|
+
}, null), vue.createVNode(Tabs, {
|
3113
|
+
"active": activeTab.value,
|
3114
|
+
"onUpdate:active": ($event) => activeTab.value = $event,
|
3103
3115
|
"class": bem$1c("tabs"),
|
3116
|
+
"shrink": true,
|
3104
3117
|
"animated": true
|
3105
3118
|
}, {
|
3106
3119
|
default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
|
@@ -3128,7 +3141,7 @@ const pickerProps = extend({}, pickerSharedProps, {
|
|
3128
3141
|
toolbarPosition: makeStringProp("top"),
|
3129
3142
|
columnsFieldNames: Object
|
3130
3143
|
});
|
3131
|
-
var stdin_default$
|
3144
|
+
var stdin_default$1q = vue.defineComponent({
|
3132
3145
|
name: name$1q,
|
3133
3146
|
props: pickerProps,
|
3134
3147
|
emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
|
@@ -3204,7 +3217,7 @@ var stdin_default$1n = vue.defineComponent({
|
|
3204
3217
|
return params;
|
3205
3218
|
};
|
3206
3219
|
const cancel = () => emit("cancel", getEventParams());
|
3207
|
-
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$
|
3220
|
+
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1A, {
|
3208
3221
|
"value": selectedValues.value[columnIndex],
|
3209
3222
|
"fields": fields.value,
|
3210
3223
|
"options": options,
|
@@ -3248,7 +3261,7 @@ var stdin_default$1n = vue.defineComponent({
|
|
3248
3261
|
};
|
3249
3262
|
const renderToolbar = () => {
|
3250
3263
|
if (props.showToolbar && !parent) {
|
3251
|
-
return vue.createVNode(stdin_default$
|
3264
|
+
return vue.createVNode(stdin_default$1z, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
|
3252
3265
|
"onConfirm": confirm,
|
3253
3266
|
"onCancel": cancel
|
3254
3267
|
}), pick(slots, pickerToolbarSlots));
|
@@ -3383,7 +3396,7 @@ function formatDataForCascade({
|
|
3383
3396
|
}
|
3384
3397
|
return options;
|
3385
3398
|
}
|
3386
|
-
const Picker = withInstall(stdin_default$
|
3399
|
+
const Picker = withInstall(stdin_default$1q);
|
3387
3400
|
const [name$1f, bem$1b] = createNamespace("area");
|
3388
3401
|
const areaProps = extend({}, pickerSharedProps, {
|
3389
3402
|
modelValue: String,
|
@@ -3394,7 +3407,7 @@ const areaProps = extend({}, pickerSharedProps, {
|
|
3394
3407
|
default: () => ({})
|
3395
3408
|
}
|
3396
3409
|
});
|
3397
|
-
var stdin_default$
|
3410
|
+
var stdin_default$1p = vue.defineComponent({
|
3398
3411
|
name: name$1f,
|
3399
3412
|
props: areaProps,
|
3400
3413
|
emits: ["change", "confirm", "cancel", "update:modelValue"],
|
@@ -3450,7 +3463,7 @@ var stdin_default$1m = vue.defineComponent({
|
|
3450
3463
|
}, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
|
3451
3464
|
}
|
3452
3465
|
});
|
3453
|
-
const Area = withInstall(stdin_default$
|
3466
|
+
const Area = withInstall(stdin_default$1p);
|
3454
3467
|
const [name$1e, bem$1a] = createNamespace("cell");
|
3455
3468
|
const cellSharedProps = {
|
3456
3469
|
tag: makeStringProp("div"),
|
@@ -3475,7 +3488,7 @@ const cellSharedProps = {
|
|
3475
3488
|
}
|
3476
3489
|
};
|
3477
3490
|
const cellProps = extend({}, cellSharedProps, routeProps);
|
3478
|
-
var stdin_default$
|
3491
|
+
var stdin_default$1o = vue.defineComponent({
|
3479
3492
|
name: name$1e,
|
3480
3493
|
props: cellProps,
|
3481
3494
|
setup(props, {
|
@@ -3570,7 +3583,7 @@ var stdin_default$1l = vue.defineComponent({
|
|
3570
3583
|
};
|
3571
3584
|
}
|
3572
3585
|
});
|
3573
|
-
const Cell = withInstall(stdin_default$
|
3586
|
+
const Cell = withInstall(stdin_default$1o);
|
3574
3587
|
const [name$1d, bem$19] = createNamespace("form");
|
3575
3588
|
const formProps = {
|
3576
3589
|
colon: Boolean,
|
@@ -3590,7 +3603,7 @@ const formProps = {
|
|
3590
3603
|
default: "onBlur"
|
3591
3604
|
}
|
3592
3605
|
};
|
3593
|
-
var stdin_default$
|
3606
|
+
var stdin_default$1n = vue.defineComponent({
|
3594
3607
|
name: name$1d,
|
3595
3608
|
props: formProps,
|
3596
3609
|
emits: ["submit", "failed"],
|
@@ -3723,7 +3736,7 @@ var stdin_default$1k = vue.defineComponent({
|
|
3723
3736
|
};
|
3724
3737
|
}
|
3725
3738
|
});
|
3726
|
-
const Form = withInstall(stdin_default$
|
3739
|
+
const Form = withInstall(stdin_default$1n);
|
3727
3740
|
function isEmptyValue(value) {
|
3728
3741
|
if (Array.isArray(value)) {
|
3729
3742
|
return !value.length;
|
@@ -3859,7 +3872,7 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
|
|
3859
3872
|
default: null
|
3860
3873
|
}
|
3861
3874
|
});
|
3862
|
-
var stdin_default$
|
3875
|
+
var stdin_default$1m = vue.defineComponent({
|
3863
3876
|
name: name$1c,
|
3864
3877
|
props: fieldProps,
|
3865
3878
|
emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -4307,7 +4320,7 @@ var stdin_default$1j = vue.defineComponent({
|
|
4307
4320
|
};
|
4308
4321
|
}
|
4309
4322
|
});
|
4310
|
-
const Field = withInstall(stdin_default$
|
4323
|
+
const Field = withInstall(stdin_default$1m);
|
4311
4324
|
let lockCount = 0;
|
4312
4325
|
function lockClick(lock) {
|
4313
4326
|
if (lock) {
|
@@ -4345,7 +4358,7 @@ const toastProps = {
|
|
4345
4358
|
closeOnClick: Boolean,
|
4346
4359
|
closeOnClickOverlay: Boolean
|
4347
4360
|
};
|
4348
|
-
var stdin_default$
|
4361
|
+
var stdin_default$1l = vue.defineComponent({
|
4349
4362
|
name: name$1b,
|
4350
4363
|
props: toastProps,
|
4351
4364
|
emits: ["update:show"],
|
@@ -4527,7 +4540,7 @@ function createInstance() {
|
|
4527
4540
|
onClosed,
|
4528
4541
|
"onUpdate:show": toggle
|
4529
4542
|
};
|
4530
|
-
return vue.createVNode(stdin_default$
|
4543
|
+
return vue.createVNode(stdin_default$1l, vue.mergeProps(state, attrs), null);
|
4531
4544
|
};
|
4532
4545
|
vue.watch(message, (val) => {
|
4533
4546
|
state.message = val;
|
@@ -4597,7 +4610,7 @@ const resetToastDefaultOptions = (type) => {
|
|
4597
4610
|
const allowMultipleToast = (value = true) => {
|
4598
4611
|
allowMultiple = value;
|
4599
4612
|
};
|
4600
|
-
const Toast = withInstall(stdin_default$
|
4613
|
+
const Toast = withInstall(stdin_default$1l);
|
4601
4614
|
const [name$1a, bem$16] = createNamespace("switch");
|
4602
4615
|
const switchProps = {
|
4603
4616
|
size: numericProp,
|
@@ -4615,7 +4628,7 @@ const switchProps = {
|
|
4615
4628
|
default: false
|
4616
4629
|
}
|
4617
4630
|
};
|
4618
|
-
var stdin_default$
|
4631
|
+
var stdin_default$1k = vue.defineComponent({
|
4619
4632
|
name: name$1a,
|
4620
4633
|
props: switchProps,
|
4621
4634
|
emits: ["change", "update:modelValue"],
|
@@ -4675,10 +4688,10 @@ var stdin_default$1h = vue.defineComponent({
|
|
4675
4688
|
};
|
4676
4689
|
}
|
4677
4690
|
});
|
4678
|
-
const Switch = withInstall(stdin_default$
|
4691
|
+
const Switch = withInstall(stdin_default$1k);
|
4679
4692
|
const [name$19, bem$15] = createNamespace("address-edit-detail");
|
4680
4693
|
const t$i = createNamespace("address-edit")[2];
|
4681
|
-
var stdin_default$
|
4694
|
+
var stdin_default$1j = vue.defineComponent({
|
4682
4695
|
name: name$19,
|
4683
4696
|
props: {
|
4684
4697
|
show: Boolean,
|
@@ -4784,7 +4797,7 @@ const addressEditProps = {
|
|
4784
4797
|
default: isMobile
|
4785
4798
|
}
|
4786
4799
|
};
|
4787
|
-
var stdin_default$
|
4800
|
+
var stdin_default$1i = vue.defineComponent({
|
4788
4801
|
name: name$18,
|
4789
4802
|
props: addressEditProps,
|
4790
4803
|
emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
|
@@ -4959,7 +4972,7 @@ var stdin_default$1f = vue.defineComponent({
|
|
4959
4972
|
emit("clickArea");
|
4960
4973
|
showAreaPopup.value = !disableArea;
|
4961
4974
|
}
|
4962
|
-
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$
|
4975
|
+
}, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1j, {
|
4963
4976
|
"show": props.showDetail,
|
4964
4977
|
"rows": props.detailRows,
|
4965
4978
|
"rules": rules.value.addressDetail,
|
@@ -5015,7 +5028,7 @@ var stdin_default$1f = vue.defineComponent({
|
|
5015
5028
|
};
|
5016
5029
|
}
|
5017
5030
|
});
|
5018
|
-
const AddressEdit = withInstall(stdin_default$
|
5031
|
+
const AddressEdit = withInstall(stdin_default$1i);
|
5019
5032
|
const [name$17, bem$13] = createNamespace("radio-group");
|
5020
5033
|
const radioGroupProps = {
|
5021
5034
|
disabled: Boolean,
|
@@ -5025,7 +5038,7 @@ const radioGroupProps = {
|
|
5025
5038
|
checkedColor: String
|
5026
5039
|
};
|
5027
5040
|
const RADIO_KEY = Symbol(name$17);
|
5028
|
-
var stdin_default$
|
5041
|
+
var stdin_default$1h = vue.defineComponent({
|
5029
5042
|
name: name$17,
|
5030
5043
|
props: radioGroupProps,
|
5031
5044
|
emits: ["change", "update:modelValue"],
|
@@ -5052,7 +5065,7 @@ var stdin_default$1e = vue.defineComponent({
|
|
5052
5065
|
};
|
5053
5066
|
}
|
5054
5067
|
});
|
5055
|
-
const RadioGroup = withInstall(stdin_default$
|
5068
|
+
const RadioGroup = withInstall(stdin_default$1h);
|
5056
5069
|
const [name$16, bem$12] = createNamespace("tag");
|
5057
5070
|
const tagProps = {
|
5058
5071
|
size: String,
|
@@ -5065,7 +5078,7 @@ const tagProps = {
|
|
5065
5078
|
textColor: String,
|
5066
5079
|
closeable: Boolean
|
5067
5080
|
};
|
5068
|
-
var stdin_default$
|
5081
|
+
var stdin_default$1g = vue.defineComponent({
|
5069
5082
|
name: name$16,
|
5070
5083
|
props: tagProps,
|
5071
5084
|
emits: ["close"],
|
@@ -5124,7 +5137,7 @@ var stdin_default$1d = vue.defineComponent({
|
|
5124
5137
|
});
|
5125
5138
|
}
|
5126
5139
|
});
|
5127
|
-
const Tag = withInstall(stdin_default$
|
5140
|
+
const Tag = withInstall(stdin_default$1g);
|
5128
5141
|
const checkerProps = {
|
5129
5142
|
name: unknownProp,
|
5130
5143
|
shape: makeStringProp("round"),
|
@@ -5135,7 +5148,7 @@ const checkerProps = {
|
|
5135
5148
|
labelPosition: String,
|
5136
5149
|
labelDisabled: Boolean
|
5137
5150
|
};
|
5138
|
-
var stdin_default$
|
5151
|
+
var stdin_default$1f = vue.defineComponent({
|
5139
5152
|
props: extend({}, checkerProps, {
|
5140
5153
|
bem: makeRequiredProp(Function),
|
5141
5154
|
role: String,
|
@@ -5226,7 +5239,7 @@ var stdin_default$1c = vue.defineComponent({
|
|
5226
5239
|
});
|
5227
5240
|
const radioProps = checkerProps;
|
5228
5241
|
const [name$15, bem$11] = createNamespace("radio");
|
5229
|
-
var stdin_default$
|
5242
|
+
var stdin_default$1e = vue.defineComponent({
|
5230
5243
|
name: name$15,
|
5231
5244
|
props: checkerProps,
|
5232
5245
|
emits: ["update:modelValue"],
|
@@ -5248,7 +5261,7 @@ var stdin_default$1b = vue.defineComponent({
|
|
5248
5261
|
emit("update:modelValue", props.name);
|
5249
5262
|
}
|
5250
5263
|
};
|
5251
|
-
return () => vue.createVNode(stdin_default$
|
5264
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
5252
5265
|
"bem": bem$11,
|
5253
5266
|
"role": "radio",
|
5254
5267
|
"parent": parent,
|
@@ -5257,9 +5270,9 @@ var stdin_default$1b = vue.defineComponent({
|
|
5257
5270
|
}, props), pick(slots, ["default", "icon"]));
|
5258
5271
|
}
|
5259
5272
|
});
|
5260
|
-
const Radio = withInstall(stdin_default$
|
5273
|
+
const Radio = withInstall(stdin_default$1e);
|
5261
5274
|
const [name$14, bem$10] = createNamespace("address-item");
|
5262
|
-
var stdin_default$
|
5275
|
+
var stdin_default$1d = vue.defineComponent({
|
5263
5276
|
name: name$14,
|
5264
5277
|
props: {
|
5265
5278
|
address: makeRequiredProp(Object),
|
@@ -5354,7 +5367,7 @@ const addressListProps = {
|
|
5354
5367
|
addButtonText: String,
|
5355
5368
|
defaultTagText: String
|
5356
5369
|
};
|
5357
|
-
var stdin_default$
|
5370
|
+
var stdin_default$1c = vue.defineComponent({
|
5358
5371
|
name: name$13,
|
5359
5372
|
props: addressListProps,
|
5360
5373
|
emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
|
@@ -5371,7 +5384,7 @@ var stdin_default$19 = vue.defineComponent({
|
|
5371
5384
|
emit("update:modelValue", item.id);
|
5372
5385
|
}
|
5373
5386
|
};
|
5374
|
-
return vue.createVNode(stdin_default$
|
5387
|
+
return vue.createVNode(stdin_default$1d, {
|
5375
5388
|
"key": item.id,
|
5376
5389
|
"address": item,
|
5377
5390
|
"disabled": disabled,
|
@@ -5417,7 +5430,7 @@ var stdin_default$19 = vue.defineComponent({
|
|
5417
5430
|
};
|
5418
5431
|
}
|
5419
5432
|
});
|
5420
|
-
const AddressList = withInstall(stdin_default$
|
5433
|
+
const AddressList = withInstall(stdin_default$1c);
|
5421
5434
|
const hasIntersectionObserver = use.inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
|
5422
5435
|
const modeType = {
|
5423
5436
|
event: "event",
|
@@ -5581,7 +5594,7 @@ const backTopProps = {
|
|
5581
5594
|
default: "body"
|
5582
5595
|
}
|
5583
5596
|
};
|
5584
|
-
var stdin_default$
|
5597
|
+
var stdin_default$1b = vue.defineComponent({
|
5585
5598
|
name: name$12,
|
5586
5599
|
inheritAttrs: false,
|
5587
5600
|
props: backTopProps,
|
@@ -5661,7 +5674,7 @@ var stdin_default$18 = vue.defineComponent({
|
|
5661
5674
|
};
|
5662
5675
|
}
|
5663
5676
|
});
|
5664
|
-
const BackTop = withInstall(stdin_default$
|
5677
|
+
const BackTop = withInstall(stdin_default$1b);
|
5665
5678
|
const [name$11, bem$Z, t$f] = createNamespace("calendar");
|
5666
5679
|
const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
|
5667
5680
|
function compareMonth(date1, date2) {
|
@@ -5744,7 +5757,7 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
|
|
5744
5757
|
return value;
|
5745
5758
|
});
|
5746
5759
|
const [name$10] = createNamespace("calendar-day");
|
5747
|
-
var stdin_default$
|
5760
|
+
var stdin_default$1a = vue.defineComponent({
|
5748
5761
|
name: name$10,
|
5749
5762
|
props: {
|
5750
5763
|
item: makeRequiredProp(Object),
|
@@ -5882,7 +5895,7 @@ const calendarMonthProps = {
|
|
5882
5895
|
showMonthTitle: Boolean,
|
5883
5896
|
firstDayOfWeek: Number
|
5884
5897
|
};
|
5885
|
-
var stdin_default$
|
5898
|
+
var stdin_default$19 = vue.defineComponent({
|
5886
5899
|
name: name$$,
|
5887
5900
|
props: calendarMonthProps,
|
5888
5901
|
emits: ["click"],
|
@@ -6035,7 +6048,7 @@ var stdin_default$16 = vue.defineComponent({
|
|
6035
6048
|
setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
|
6036
6049
|
}
|
6037
6050
|
};
|
6038
|
-
const renderDay = (item, index) => vue.createVNode(stdin_default$
|
6051
|
+
const renderDay = (item, index) => vue.createVNode(stdin_default$1a, {
|
6039
6052
|
"item": item,
|
6040
6053
|
"index": index,
|
6041
6054
|
"color": props.color,
|
@@ -6062,7 +6075,7 @@ var stdin_default$16 = vue.defineComponent({
|
|
6062
6075
|
}
|
6063
6076
|
});
|
6064
6077
|
const [name$_] = createNamespace("calendar-header");
|
6065
|
-
var stdin_default$
|
6078
|
+
var stdin_default$18 = vue.defineComponent({
|
6066
6079
|
name: name$_,
|
6067
6080
|
props: {
|
6068
6081
|
date: Date,
|
@@ -6163,7 +6176,7 @@ const calendarProps = {
|
|
6163
6176
|
validator: (val) => val >= 0 && val <= 6
|
6164
6177
|
}
|
6165
6178
|
};
|
6166
|
-
var stdin_default$
|
6179
|
+
var stdin_default$17 = vue.defineComponent({
|
6167
6180
|
name: name$11,
|
6168
6181
|
props: calendarProps,
|
6169
6182
|
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
|
@@ -6427,7 +6440,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6427
6440
|
const updateShow = (value) => emit("update:show", value);
|
6428
6441
|
const renderMonth = (date, index) => {
|
6429
6442
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
6430
|
-
return vue.createVNode(stdin_default$
|
6443
|
+
return vue.createVNode(stdin_default$19, vue.mergeProps({
|
6431
6444
|
"ref": setMonthRefs(index),
|
6432
6445
|
"date": date,
|
6433
6446
|
"currentDate": currentDate.value,
|
@@ -6468,7 +6481,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6468
6481
|
}, [renderFooterButton()]);
|
6469
6482
|
const renderCalendar = () => vue.createVNode("div", {
|
6470
6483
|
"class": bem$Z()
|
6471
|
-
}, [vue.createVNode(stdin_default$
|
6484
|
+
}, [vue.createVNode(stdin_default$18, {
|
6472
6485
|
"date": subtitle.value.date,
|
6473
6486
|
"title": props.title,
|
6474
6487
|
"subtitle": subtitle.value.text,
|
@@ -6514,7 +6527,7 @@ var stdin_default$14 = vue.defineComponent({
|
|
6514
6527
|
};
|
6515
6528
|
}
|
6516
6529
|
});
|
6517
|
-
const Calendar = withInstall(stdin_default$
|
6530
|
+
const Calendar = withInstall(stdin_default$17);
|
6518
6531
|
const [name$Z, bem$Y] = createNamespace("image");
|
6519
6532
|
const imageProps = {
|
6520
6533
|
src: String,
|
@@ -6534,7 +6547,7 @@ const imageProps = {
|
|
6534
6547
|
showLoading: truthProp,
|
6535
6548
|
loadingIcon: makeStringProp("photo")
|
6536
6549
|
};
|
6537
|
-
var stdin_default$
|
6550
|
+
var stdin_default$16 = vue.defineComponent({
|
6538
6551
|
name: name$Z,
|
6539
6552
|
props: imageProps,
|
6540
6553
|
emits: ["load", "error"],
|
@@ -6678,7 +6691,7 @@ var stdin_default$13 = vue.defineComponent({
|
|
6678
6691
|
};
|
6679
6692
|
}
|
6680
6693
|
});
|
6681
|
-
const Image$1 = withInstall(stdin_default$
|
6694
|
+
const Image$1 = withInstall(stdin_default$16);
|
6682
6695
|
const [name$Y, bem$X] = createNamespace("card");
|
6683
6696
|
const cardProps = {
|
6684
6697
|
tag: String,
|
@@ -6693,7 +6706,7 @@ const cardProps = {
|
|
6693
6706
|
thumbLink: String,
|
6694
6707
|
originPrice: numericProp
|
6695
6708
|
};
|
6696
|
-
var stdin_default$
|
6709
|
+
var stdin_default$15 = vue.defineComponent({
|
6697
6710
|
name: name$Y,
|
6698
6711
|
props: cardProps,
|
6699
6712
|
emits: ["clickThumb"],
|
@@ -6797,7 +6810,7 @@ var stdin_default$12 = vue.defineComponent({
|
|
6797
6810
|
};
|
6798
6811
|
}
|
6799
6812
|
});
|
6800
|
-
const Card = withInstall(stdin_default$
|
6813
|
+
const Card = withInstall(stdin_default$15);
|
6801
6814
|
const [name$X, bem$W, t$e] = createNamespace("cascader");
|
6802
6815
|
const cascaderProps = {
|
6803
6816
|
title: String,
|
@@ -6811,7 +6824,7 @@ const cascaderProps = {
|
|
6811
6824
|
placeholder: String,
|
6812
6825
|
activeColor: String
|
6813
6826
|
};
|
6814
|
-
var stdin_default$
|
6827
|
+
var stdin_default$14 = vue.defineComponent({
|
6815
6828
|
name: name$X,
|
6816
6829
|
props: cascaderProps,
|
6817
6830
|
emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
|
@@ -7016,14 +7029,14 @@ var stdin_default$11 = vue.defineComponent({
|
|
7016
7029
|
}, [renderHeader(), renderTabs()]);
|
7017
7030
|
}
|
7018
7031
|
});
|
7019
|
-
const Cascader = withInstall(stdin_default$
|
7032
|
+
const Cascader = withInstall(stdin_default$14);
|
7020
7033
|
const [name$W, bem$V] = createNamespace("cell-group");
|
7021
7034
|
const cellGroupProps = {
|
7022
7035
|
title: String,
|
7023
7036
|
inset: Boolean,
|
7024
7037
|
border: truthProp
|
7025
7038
|
};
|
7026
|
-
var stdin_default$
|
7039
|
+
var stdin_default$13 = vue.defineComponent({
|
7027
7040
|
name: name$W,
|
7028
7041
|
inheritAttrs: false,
|
7029
7042
|
props: cellGroupProps,
|
@@ -7054,7 +7067,7 @@ var stdin_default$10 = vue.defineComponent({
|
|
7054
7067
|
};
|
7055
7068
|
}
|
7056
7069
|
});
|
7057
|
-
const CellGroup = withInstall(stdin_default$
|
7070
|
+
const CellGroup = withInstall(stdin_default$13);
|
7058
7071
|
const [name$V, bem$U] = createNamespace("checkbox-group");
|
7059
7072
|
const checkboxGroupProps = {
|
7060
7073
|
max: numericProp,
|
@@ -7065,7 +7078,7 @@ const checkboxGroupProps = {
|
|
7065
7078
|
checkedColor: String
|
7066
7079
|
};
|
7067
7080
|
const CHECKBOX_GROUP_KEY = Symbol(name$V);
|
7068
|
-
var stdin_default
|
7081
|
+
var stdin_default$12 = vue.defineComponent({
|
7069
7082
|
name: name$V,
|
7070
7083
|
props: checkboxGroupProps,
|
7071
7084
|
emits: ["change", "update:modelValue"],
|
@@ -7121,7 +7134,7 @@ const [name$U, bem$T] = createNamespace("checkbox");
|
|
7121
7134
|
const checkboxProps = extend({}, checkerProps, {
|
7122
7135
|
bindGroup: truthProp
|
7123
7136
|
});
|
7124
|
-
var stdin_default$
|
7137
|
+
var stdin_default$11 = vue.defineComponent({
|
7125
7138
|
name: name$U,
|
7126
7139
|
props: checkboxProps,
|
7127
7140
|
emits: ["change", "update:modelValue"],
|
@@ -7179,7 +7192,7 @@ var stdin_default$_ = vue.defineComponent({
|
|
7179
7192
|
checked
|
7180
7193
|
});
|
7181
7194
|
use.useCustomFieldValue(() => props.modelValue);
|
7182
|
-
return () => vue.createVNode(stdin_default$
|
7195
|
+
return () => vue.createVNode(stdin_default$1f, vue.mergeProps({
|
7183
7196
|
"bem": bem$T,
|
7184
7197
|
"role": "checkbox",
|
7185
7198
|
"parent": parent,
|
@@ -7188,8 +7201,8 @@ var stdin_default$_ = vue.defineComponent({
|
|
7188
7201
|
}, props), pick(slots, ["default", "icon"]));
|
7189
7202
|
}
|
7190
7203
|
});
|
7191
|
-
const Checkbox = withInstall(stdin_default$
|
7192
|
-
const CheckboxGroup = withInstall(stdin_default
|
7204
|
+
const Checkbox = withInstall(stdin_default$11);
|
7205
|
+
const CheckboxGroup = withInstall(stdin_default$12);
|
7193
7206
|
const [name$T, bem$S] = createNamespace("circle");
|
7194
7207
|
let uid = 0;
|
7195
7208
|
const format = (rate) => Math.min(Math.max(+rate, 0), 100);
|
@@ -7211,7 +7224,7 @@ const circleProps = {
|
|
7211
7224
|
strokeLinecap: String,
|
7212
7225
|
startPosition: makeStringProp("top")
|
7213
7226
|
};
|
7214
|
-
var stdin_default$
|
7227
|
+
var stdin_default$10 = vue.defineComponent({
|
7215
7228
|
name: name$T,
|
7216
7229
|
props: circleProps,
|
7217
7230
|
emits: ["update:currentRate"],
|
@@ -7335,7 +7348,7 @@ var stdin_default$Z = vue.defineComponent({
|
|
7335
7348
|
}, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
|
7336
7349
|
}
|
7337
7350
|
});
|
7338
|
-
const Circle = withInstall(stdin_default$
|
7351
|
+
const Circle = withInstall(stdin_default$10);
|
7339
7352
|
const [name$S, bem$R] = createNamespace("row");
|
7340
7353
|
const ROW_KEY = Symbol(name$S);
|
7341
7354
|
const rowProps = {
|
@@ -7345,7 +7358,7 @@ const rowProps = {
|
|
7345
7358
|
gutter: makeNumericProp(0),
|
7346
7359
|
justify: String
|
7347
7360
|
};
|
7348
|
-
var stdin_default
|
7361
|
+
var stdin_default$$ = vue.defineComponent({
|
7349
7362
|
name: name$S,
|
7350
7363
|
props: rowProps,
|
7351
7364
|
setup(props, {
|
@@ -7425,7 +7438,7 @@ const colProps = {
|
|
7425
7438
|
span: makeNumericProp(0),
|
7426
7439
|
offset: numericProp
|
7427
7440
|
};
|
7428
|
-
var stdin_default$
|
7441
|
+
var stdin_default$_ = vue.defineComponent({
|
7429
7442
|
name: name$R,
|
7430
7443
|
props: colProps,
|
7431
7444
|
setup(props, {
|
@@ -7474,7 +7487,7 @@ var stdin_default$X = vue.defineComponent({
|
|
7474
7487
|
};
|
7475
7488
|
}
|
7476
7489
|
});
|
7477
|
-
const Col = withInstall(stdin_default$
|
7490
|
+
const Col = withInstall(stdin_default$_);
|
7478
7491
|
const [name$Q, bem$P] = createNamespace("collapse");
|
7479
7492
|
const COLLAPSE_KEY = Symbol(name$Q);
|
7480
7493
|
const collapseProps = {
|
@@ -7496,7 +7509,7 @@ function validateModelValue(modelValue, accordion) {
|
|
7496
7509
|
}
|
7497
7510
|
return true;
|
7498
7511
|
}
|
7499
|
-
var stdin_default$
|
7512
|
+
var stdin_default$Z = vue.defineComponent({
|
7500
7513
|
name: name$Q,
|
7501
7514
|
props: collapseProps,
|
7502
7515
|
emits: ["change", "update:modelValue"],
|
@@ -7574,7 +7587,7 @@ var stdin_default$W = vue.defineComponent({
|
|
7574
7587
|
};
|
7575
7588
|
}
|
7576
7589
|
});
|
7577
|
-
const Collapse = withInstall(stdin_default$
|
7590
|
+
const Collapse = withInstall(stdin_default$Z);
|
7578
7591
|
const [name$P, bem$O] = createNamespace("collapse-item");
|
7579
7592
|
const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
|
7580
7593
|
const collapseItemProps = extend({}, cellSharedProps, {
|
@@ -7584,7 +7597,7 @@ const collapseItemProps = extend({}, cellSharedProps, {
|
|
7584
7597
|
readonly: Boolean,
|
7585
7598
|
lazyRender: truthProp
|
7586
7599
|
});
|
7587
|
-
var stdin_default$
|
7600
|
+
var stdin_default$Y = vue.defineComponent({
|
7588
7601
|
name: name$P,
|
7589
7602
|
props: collapseItemProps,
|
7590
7603
|
setup(props, {
|
@@ -7699,8 +7712,8 @@ var stdin_default$V = vue.defineComponent({
|
|
7699
7712
|
}, [renderTitle(), renderContent()]);
|
7700
7713
|
}
|
7701
7714
|
});
|
7702
|
-
const CollapseItem = withInstall(stdin_default$
|
7703
|
-
const ConfigProvider = withInstall(stdin_default$
|
7715
|
+
const CollapseItem = withInstall(stdin_default$Y);
|
7716
|
+
const ConfigProvider = withInstall(stdin_default$1J);
|
7704
7717
|
const [name$O, bem$N, t$d] = createNamespace("contact-card");
|
7705
7718
|
const contactCardProps = {
|
7706
7719
|
tel: String,
|
@@ -7709,7 +7722,7 @@ const contactCardProps = {
|
|
7709
7722
|
addText: String,
|
7710
7723
|
editable: truthProp
|
7711
7724
|
};
|
7712
|
-
var stdin_default$
|
7725
|
+
var stdin_default$X = vue.defineComponent({
|
7713
7726
|
name: name$O,
|
7714
7727
|
props: contactCardProps,
|
7715
7728
|
emits: ["click"],
|
@@ -7740,7 +7753,7 @@ var stdin_default$U = vue.defineComponent({
|
|
7740
7753
|
});
|
7741
7754
|
}
|
7742
7755
|
});
|
7743
|
-
const ContactCard = withInstall(stdin_default$
|
7756
|
+
const ContactCard = withInstall(stdin_default$X);
|
7744
7757
|
const [name$N, bem$M, t$c] = createNamespace("contact-edit");
|
7745
7758
|
const DEFAULT_CONTACT = {
|
7746
7759
|
tel: "",
|
@@ -7761,7 +7774,7 @@ const contactEditProps = {
|
|
7761
7774
|
default: isMobile
|
7762
7775
|
}
|
7763
7776
|
};
|
7764
|
-
var stdin_default$
|
7777
|
+
var stdin_default$W = vue.defineComponent({
|
7765
7778
|
name: name$N,
|
7766
7779
|
props: contactEditProps,
|
7767
7780
|
emits: ["save", "delete", "changeDefault"],
|
@@ -7842,7 +7855,7 @@ var stdin_default$T = vue.defineComponent({
|
|
7842
7855
|
});
|
7843
7856
|
}
|
7844
7857
|
});
|
7845
|
-
const ContactEdit = withInstall(stdin_default$
|
7858
|
+
const ContactEdit = withInstall(stdin_default$W);
|
7846
7859
|
const [name$M, bem$L, t$b] = createNamespace("contact-list");
|
7847
7860
|
const contactListProps = {
|
7848
7861
|
list: Array,
|
@@ -7850,7 +7863,7 @@ const contactListProps = {
|
|
7850
7863
|
modelValue: unknownProp,
|
7851
7864
|
defaultTagText: String
|
7852
7865
|
};
|
7853
|
-
var stdin_default$
|
7866
|
+
var stdin_default$V = vue.defineComponent({
|
7854
7867
|
name: name$M,
|
7855
7868
|
props: contactListProps,
|
7856
7869
|
emits: ["add", "edit", "select", "update:modelValue"],
|
@@ -7920,7 +7933,7 @@ var stdin_default$S = vue.defineComponent({
|
|
7920
7933
|
}, null)])]);
|
7921
7934
|
}
|
7922
7935
|
});
|
7923
|
-
const ContactList = withInstall(stdin_default$
|
7936
|
+
const ContactList = withInstall(stdin_default$V);
|
7924
7937
|
function parseFormat(format2, currentTime) {
|
7925
7938
|
const { days } = currentTime;
|
7926
7939
|
let { hours, minutes, seconds, milliseconds } = currentTime;
|
@@ -7963,7 +7976,7 @@ const countDownProps = {
|
|
7963
7976
|
autoStart: truthProp,
|
7964
7977
|
millisecond: Boolean
|
7965
7978
|
};
|
7966
|
-
var stdin_default$
|
7979
|
+
var stdin_default$U = vue.defineComponent({
|
7967
7980
|
name: name$L,
|
7968
7981
|
props: countDownProps,
|
7969
7982
|
emits: ["change", "finish"],
|
@@ -8003,7 +8016,7 @@ var stdin_default$R = vue.defineComponent({
|
|
8003
8016
|
}, [slots.default ? slots.default(current2.value) : timeText.value]);
|
8004
8017
|
}
|
8005
8018
|
});
|
8006
|
-
const CountDown = withInstall(stdin_default$
|
8019
|
+
const CountDown = withInstall(stdin_default$U);
|
8007
8020
|
function getDate(timeStamp) {
|
8008
8021
|
const date = new Date(timeStamp * 1e3);
|
8009
8022
|
return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
|
@@ -8013,7 +8026,7 @@ function getDate(timeStamp) {
|
|
8013
8026
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
8014
8027
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
8015
8028
|
const [name$K, bem$J, t$a] = createNamespace("coupon");
|
8016
|
-
var stdin_default$
|
8029
|
+
var stdin_default$T = vue.defineComponent({
|
8017
8030
|
name: name$K,
|
8018
8031
|
props: {
|
8019
8032
|
chosen: Boolean,
|
@@ -8084,7 +8097,7 @@ var stdin_default$Q = vue.defineComponent({
|
|
8084
8097
|
};
|
8085
8098
|
}
|
8086
8099
|
});
|
8087
|
-
const Coupon = withInstall(stdin_default$
|
8100
|
+
const Coupon = withInstall(stdin_default$T);
|
8088
8101
|
const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
|
8089
8102
|
const couponCellProps = {
|
8090
8103
|
title: String,
|
@@ -8113,7 +8126,7 @@ function formatValue({
|
|
8113
8126
|
}
|
8114
8127
|
return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
|
8115
8128
|
}
|
8116
|
-
var stdin_default$
|
8129
|
+
var stdin_default$S = vue.defineComponent({
|
8117
8130
|
name: name$J,
|
8118
8131
|
props: couponCellProps,
|
8119
8132
|
setup(props) {
|
@@ -8132,14 +8145,14 @@ var stdin_default$P = vue.defineComponent({
|
|
8132
8145
|
};
|
8133
8146
|
}
|
8134
8147
|
});
|
8135
|
-
const CouponCell = withInstall(stdin_default$
|
8148
|
+
const CouponCell = withInstall(stdin_default$S);
|
8136
8149
|
const [name$I, bem$H] = createNamespace("empty");
|
8137
8150
|
const emptyProps = {
|
8138
8151
|
image: makeStringProp("default"),
|
8139
8152
|
imageSize: [Number, String, Array],
|
8140
8153
|
description: String
|
8141
8154
|
};
|
8142
|
-
var stdin_default$
|
8155
|
+
var stdin_default$R = vue.defineComponent({
|
8143
8156
|
name: name$I,
|
8144
8157
|
props: emptyProps,
|
8145
8158
|
setup(props, {
|
@@ -8448,7 +8461,7 @@ var stdin_default$O = vue.defineComponent({
|
|
8448
8461
|
}, [renderImage()]), renderDescription(), renderBottom()]);
|
8449
8462
|
}
|
8450
8463
|
});
|
8451
|
-
const Empty = withInstall(stdin_default$
|
8464
|
+
const Empty = withInstall(stdin_default$R);
|
8452
8465
|
const [name$H, bem$G, t$8] = createNamespace("coupon-list");
|
8453
8466
|
const couponListProps = {
|
8454
8467
|
code: makeStringProp(""),
|
@@ -8470,7 +8483,7 @@ const couponListProps = {
|
|
8470
8483
|
exchangeButtonLoading: Boolean,
|
8471
8484
|
exchangeButtonDisabled: Boolean
|
8472
8485
|
};
|
8473
|
-
var stdin_default$
|
8486
|
+
var stdin_default$Q = vue.defineComponent({
|
8474
8487
|
name: name$H,
|
8475
8488
|
props: couponListProps,
|
8476
8489
|
emits: ["change", "exchange", "update:code"],
|
@@ -8621,7 +8634,7 @@ var stdin_default$N = vue.defineComponent({
|
|
8621
8634
|
}, null), [[vue.vShow, props.showCloseButton]])])]);
|
8622
8635
|
}
|
8623
8636
|
});
|
8624
|
-
const CouponList = withInstall(stdin_default$
|
8637
|
+
const CouponList = withInstall(stdin_default$Q);
|
8625
8638
|
const currentYear = new Date().getFullYear();
|
8626
8639
|
const [name$G] = createNamespace("date-picker");
|
8627
8640
|
const datePickerProps = extend({}, sharedProps, {
|
@@ -8640,7 +8653,7 @@ const datePickerProps = extend({}, sharedProps, {
|
|
8640
8653
|
validator: isDate
|
8641
8654
|
}
|
8642
8655
|
});
|
8643
|
-
var stdin_default$
|
8656
|
+
var stdin_default$P = vue.defineComponent({
|
8644
8657
|
name: name$G,
|
8645
8658
|
props: datePickerProps,
|
8646
8659
|
emits: ["confirm", "cancel", "change", "update:modelValue"],
|
@@ -8731,7 +8744,7 @@ var stdin_default$M = vue.defineComponent({
|
|
8731
8744
|
}, pick(props, pickerInheritKeys)), slots);
|
8732
8745
|
}
|
8733
8746
|
});
|
8734
|
-
const DatePicker = withInstall(stdin_default$
|
8747
|
+
const DatePicker = withInstall(stdin_default$P);
|
8735
8748
|
const [name$F, bem$F, t$7] = createNamespace("dialog");
|
8736
8749
|
const dialogProps = extend({}, popupSharedProps, {
|
8737
8750
|
title: String,
|
@@ -8755,7 +8768,7 @@ const dialogProps = extend({}, popupSharedProps, {
|
|
8755
8768
|
closeOnClickOverlay: Boolean
|
8756
8769
|
});
|
8757
8770
|
const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
|
8758
|
-
var stdin_default$
|
8771
|
+
var stdin_default$O = vue.defineComponent({
|
8759
8772
|
name: name$F,
|
8760
8773
|
props: dialogProps,
|
8761
8774
|
emits: ["confirm", "cancel", "keydown", "update:show"],
|
@@ -8974,7 +8987,7 @@ function initInstance$2() {
|
|
8974
8987
|
state,
|
8975
8988
|
toggle
|
8976
8989
|
} = usePopupState();
|
8977
|
-
return () => vue.createVNode(stdin_default$
|
8990
|
+
return () => vue.createVNode(stdin_default$O, vue.mergeProps(state, {
|
8978
8991
|
"onUpdate:show": toggle
|
8979
8992
|
}), null);
|
8980
8993
|
}
|
@@ -9012,14 +9025,14 @@ const closeDialog = () => {
|
|
9012
9025
|
instance$2.toggle(false);
|
9013
9026
|
}
|
9014
9027
|
};
|
9015
|
-
const Dialog = withInstall(stdin_default$
|
9028
|
+
const Dialog = withInstall(stdin_default$O);
|
9016
9029
|
const [name$E, bem$E] = createNamespace("divider");
|
9017
9030
|
const dividerProps = {
|
9018
9031
|
dashed: Boolean,
|
9019
9032
|
hairline: truthProp,
|
9020
9033
|
contentPosition: makeStringProp("center")
|
9021
9034
|
};
|
9022
|
-
var stdin_default$
|
9035
|
+
var stdin_default$N = vue.defineComponent({
|
9023
9036
|
name: name$E,
|
9024
9037
|
props: dividerProps,
|
9025
9038
|
setup(props, {
|
@@ -9038,7 +9051,7 @@ var stdin_default$K = vue.defineComponent({
|
|
9038
9051
|
};
|
9039
9052
|
}
|
9040
9053
|
});
|
9041
|
-
const Divider = withInstall(stdin_default$
|
9054
|
+
const Divider = withInstall(stdin_default$N);
|
9042
9055
|
const [name$D, bem$D] = createNamespace("dropdown-menu");
|
9043
9056
|
const dropdownMenuProps = {
|
9044
9057
|
overlay: truthProp,
|
@@ -9050,7 +9063,7 @@ const dropdownMenuProps = {
|
|
9050
9063
|
closeOnClickOverlay: truthProp
|
9051
9064
|
};
|
9052
9065
|
const DROPDOWN_KEY = Symbol(name$D);
|
9053
|
-
var stdin_default$
|
9066
|
+
var stdin_default$M = vue.defineComponent({
|
9054
9067
|
name: name$D,
|
9055
9068
|
props: dropdownMenuProps,
|
9056
9069
|
setup(props, {
|
@@ -9176,7 +9189,7 @@ const dropdownItemProps = {
|
|
9176
9189
|
modelValue: unknownProp,
|
9177
9190
|
titleClass: unknownProp
|
9178
9191
|
};
|
9179
|
-
var stdin_default$
|
9192
|
+
var stdin_default$L = vue.defineComponent({
|
9180
9193
|
name: name$C,
|
9181
9194
|
inheritAttrs: false,
|
9182
9195
|
props: dropdownItemProps,
|
@@ -9336,8 +9349,8 @@ var stdin_default$I = vue.defineComponent({
|
|
9336
9349
|
};
|
9337
9350
|
}
|
9338
9351
|
});
|
9339
|
-
const DropdownItem = withInstall(stdin_default$
|
9340
|
-
const DropdownMenu = withInstall(stdin_default$
|
9352
|
+
const DropdownItem = withInstall(stdin_default$L);
|
9353
|
+
const DropdownMenu = withInstall(stdin_default$M);
|
9341
9354
|
const [name$B, bem$B] = createNamespace("grid");
|
9342
9355
|
const gridProps = {
|
9343
9356
|
square: Boolean,
|
@@ -9351,7 +9364,7 @@ const gridProps = {
|
|
9351
9364
|
columnNum: makeNumericProp(4)
|
9352
9365
|
};
|
9353
9366
|
const GRID_KEY = Symbol(name$B);
|
9354
|
-
var stdin_default$
|
9367
|
+
var stdin_default$K = vue.defineComponent({
|
9355
9368
|
name: name$B,
|
9356
9369
|
props: gridProps,
|
9357
9370
|
setup(props, {
|
@@ -9376,7 +9389,7 @@ var stdin_default$H = vue.defineComponent({
|
|
9376
9389
|
};
|
9377
9390
|
}
|
9378
9391
|
});
|
9379
|
-
const Grid = withInstall(stdin_default$
|
9392
|
+
const Grid = withInstall(stdin_default$K);
|
9380
9393
|
const [name$A, bem$A] = createNamespace("grid-item");
|
9381
9394
|
const gridItemProps = extend({}, routeProps, {
|
9382
9395
|
dot: Boolean,
|
@@ -9387,7 +9400,7 @@ const gridItemProps = extend({}, routeProps, {
|
|
9387
9400
|
iconPrefix: String,
|
9388
9401
|
badgeProps: Object
|
9389
9402
|
});
|
9390
|
-
var stdin_default$
|
9403
|
+
var stdin_default$J = vue.defineComponent({
|
9391
9404
|
name: name$A,
|
9392
9405
|
props: gridItemProps,
|
9393
9406
|
setup(props, {
|
@@ -9511,10 +9524,10 @@ var stdin_default$G = vue.defineComponent({
|
|
9511
9524
|
};
|
9512
9525
|
}
|
9513
9526
|
});
|
9514
|
-
const GridItem = withInstall(stdin_default$
|
9527
|
+
const GridItem = withInstall(stdin_default$J);
|
9515
9528
|
const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
|
9516
9529
|
const bem$z = createNamespace("image-preview")[1];
|
9517
|
-
var stdin_default$
|
9530
|
+
var stdin_default$I = vue.defineComponent({
|
9518
9531
|
props: {
|
9519
9532
|
src: String,
|
9520
9533
|
show: Boolean,
|
@@ -9790,7 +9803,7 @@ const imagePreviewProps = {
|
|
9790
9803
|
closeIconPosition: makeStringProp("top-right"),
|
9791
9804
|
teleport: [String, Object]
|
9792
9805
|
};
|
9793
|
-
var stdin_default$
|
9806
|
+
var stdin_default$H = vue.defineComponent({
|
9794
9807
|
name: name$z,
|
9795
9808
|
props: imagePreviewProps,
|
9796
9809
|
emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
|
@@ -9853,7 +9866,7 @@ var stdin_default$E = vue.defineComponent({
|
|
9853
9866
|
"indicatorColor": "white",
|
9854
9867
|
"onChange": setActive
|
9855
9868
|
}, {
|
9856
|
-
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$
|
9869
|
+
default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$I, {
|
9857
9870
|
"src": image,
|
9858
9871
|
"show": props.show,
|
9859
9872
|
"active": state.active,
|
@@ -9957,7 +9970,7 @@ function initInstance$1() {
|
|
9957
9970
|
const onClosed = () => {
|
9958
9971
|
state.images = [];
|
9959
9972
|
};
|
9960
|
-
return () => vue.createVNode(stdin_default$
|
9973
|
+
return () => vue.createVNode(stdin_default$H, vue.mergeProps(state, {
|
9961
9974
|
"onClosed": onClosed,
|
9962
9975
|
"onUpdate:show": toggle
|
9963
9976
|
}), null);
|
@@ -9978,7 +9991,7 @@ const showImagePreview = (options, startPosition = 0) => {
|
|
9978
9991
|
instance$1.open(extend({}, defaultConfig, options));
|
9979
9992
|
return instance$1;
|
9980
9993
|
};
|
9981
|
-
const ImagePreview = withInstall(stdin_default$
|
9994
|
+
const ImagePreview = withInstall(stdin_default$H);
|
9982
9995
|
function genAlphabet() {
|
9983
9996
|
const charCodeOfA = "A".charCodeAt(0);
|
9984
9997
|
const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
|
@@ -9997,7 +10010,7 @@ const indexBarProps = {
|
|
9997
10010
|
}
|
9998
10011
|
};
|
9999
10012
|
const INDEX_BAR_KEY = Symbol(name$y);
|
10000
|
-
var stdin_default$
|
10013
|
+
var stdin_default$G = vue.defineComponent({
|
10001
10014
|
name: name$y,
|
10002
10015
|
props: indexBarProps,
|
10003
10016
|
emits: ["select", "change"],
|
@@ -10199,7 +10212,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
|
|
10199
10212
|
const indexAnchorProps = {
|
10200
10213
|
index: numericProp
|
10201
10214
|
};
|
10202
|
-
var stdin_default$
|
10215
|
+
var stdin_default$F = vue.defineComponent({
|
10203
10216
|
name: name$x,
|
10204
10217
|
props: indexAnchorProps,
|
10205
10218
|
setup(props, {
|
@@ -10272,8 +10285,8 @@ var stdin_default$C = vue.defineComponent({
|
|
10272
10285
|
};
|
10273
10286
|
}
|
10274
10287
|
});
|
10275
|
-
const IndexAnchor = withInstall(stdin_default$
|
10276
|
-
const IndexBar = withInstall(stdin_default$
|
10288
|
+
const IndexAnchor = withInstall(stdin_default$F);
|
10289
|
+
const IndexBar = withInstall(stdin_default$G);
|
10277
10290
|
const [name$w, bem$v, t$6] = createNamespace("list");
|
10278
10291
|
const listProps = {
|
10279
10292
|
error: Boolean,
|
@@ -10287,7 +10300,7 @@ const listProps = {
|
|
10287
10300
|
finishedText: String,
|
10288
10301
|
immediateCheck: truthProp
|
10289
10302
|
};
|
10290
|
-
var stdin_default$
|
10303
|
+
var stdin_default$E = vue.defineComponent({
|
10291
10304
|
name: name$w,
|
10292
10305
|
props: listProps,
|
10293
10306
|
emits: ["load", "update:error", "update:loading"],
|
@@ -10404,7 +10417,7 @@ var stdin_default$B = vue.defineComponent({
|
|
10404
10417
|
};
|
10405
10418
|
}
|
10406
10419
|
});
|
10407
|
-
const List = withInstall(stdin_default$
|
10420
|
+
const List = withInstall(stdin_default$E);
|
10408
10421
|
const [name$v, bem$u] = createNamespace("nav-bar");
|
10409
10422
|
const navBarProps = {
|
10410
10423
|
title: String,
|
@@ -10418,7 +10431,7 @@ const navBarProps = {
|
|
10418
10431
|
safeAreaInsetTop: Boolean,
|
10419
10432
|
clickable: truthProp
|
10420
10433
|
};
|
10421
|
-
var stdin_default$
|
10434
|
+
var stdin_default$D = vue.defineComponent({
|
10422
10435
|
name: name$v,
|
10423
10436
|
props: navBarProps,
|
10424
10437
|
emits: ["clickLeft", "clickRight"],
|
@@ -10488,7 +10501,7 @@ var stdin_default$A = vue.defineComponent({
|
|
10488
10501
|
};
|
10489
10502
|
}
|
10490
10503
|
});
|
10491
|
-
const NavBar = withInstall(stdin_default$
|
10504
|
+
const NavBar = withInstall(stdin_default$D);
|
10492
10505
|
const [name$u, bem$t] = createNamespace("notice-bar");
|
10493
10506
|
const noticeBarProps = {
|
10494
10507
|
text: String,
|
@@ -10504,7 +10517,7 @@ const noticeBarProps = {
|
|
10504
10517
|
default: null
|
10505
10518
|
}
|
10506
10519
|
};
|
10507
|
-
var stdin_default$
|
10520
|
+
var stdin_default$C = vue.defineComponent({
|
10508
10521
|
name: name$u,
|
10509
10522
|
props: noticeBarProps,
|
10510
10523
|
emits: ["close", "replay"],
|
@@ -10644,7 +10657,7 @@ var stdin_default$z = vue.defineComponent({
|
|
10644
10657
|
};
|
10645
10658
|
}
|
10646
10659
|
});
|
10647
|
-
const NoticeBar = withInstall(stdin_default$
|
10660
|
+
const NoticeBar = withInstall(stdin_default$C);
|
10648
10661
|
const [name$t, bem$s] = createNamespace("notify");
|
10649
10662
|
const notifyProps = extend({}, popupSharedProps, {
|
10650
10663
|
type: makeStringProp("danger"),
|
@@ -10655,7 +10668,7 @@ const notifyProps = extend({}, popupSharedProps, {
|
|
10655
10668
|
background: String,
|
10656
10669
|
lockScroll: Boolean
|
10657
10670
|
});
|
10658
|
-
var stdin_default$
|
10671
|
+
var stdin_default$B = vue.defineComponent({
|
10659
10672
|
name: name$t,
|
10660
10673
|
props: notifyProps,
|
10661
10674
|
emits: ["update:show"],
|
@@ -10696,7 +10709,7 @@ function initInstance() {
|
|
10696
10709
|
state,
|
10697
10710
|
toggle
|
10698
10711
|
} = usePopupState();
|
10699
|
-
return () => vue.createVNode(stdin_default$
|
10712
|
+
return () => vue.createVNode(stdin_default$B, vue.mergeProps(state, {
|
10700
10713
|
"onUpdate:show": toggle
|
10701
10714
|
}), null);
|
10702
10715
|
}
|
@@ -10740,7 +10753,7 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
|
|
10740
10753
|
const resetNotifyDefaultOptions = () => {
|
10741
10754
|
currentOptions = getDefaultOptions();
|
10742
10755
|
};
|
10743
|
-
const Notify = withInstall(stdin_default$
|
10756
|
+
const Notify = withInstall(stdin_default$B);
|
10744
10757
|
const [name$s, bem$r] = createNamespace("key");
|
10745
10758
|
const CollapseIcon = vue.createVNode("svg", {
|
10746
10759
|
"class": bem$r("collapse-icon"),
|
@@ -10756,7 +10769,7 @@ const DeleteIcon = vue.createVNode("svg", {
|
|
10756
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",
|
10757
10770
|
"fill": "currentColor"
|
10758
10771
|
}, null)]);
|
10759
|
-
var stdin_default$
|
10772
|
+
var stdin_default$A = vue.defineComponent({
|
10760
10773
|
name: name$s,
|
10761
10774
|
props: {
|
10762
10775
|
type: String,
|
@@ -10859,7 +10872,7 @@ function shuffle(array) {
|
|
10859
10872
|
}
|
10860
10873
|
return array;
|
10861
10874
|
}
|
10862
|
-
var stdin_default$
|
10875
|
+
var stdin_default$z = vue.defineComponent({
|
10863
10876
|
name: name$r,
|
10864
10877
|
inheritAttrs: false,
|
10865
10878
|
props: numberKeyboardProps,
|
@@ -10978,7 +10991,7 @@ var stdin_default$w = vue.defineComponent({
|
|
10978
10991
|
if (key.type === "extra") {
|
10979
10992
|
keySlots.default = slots["extra-key"];
|
10980
10993
|
}
|
10981
|
-
return vue.createVNode(stdin_default$
|
10994
|
+
return vue.createVNode(stdin_default$A, {
|
10982
10995
|
"key": key.text,
|
10983
10996
|
"text": key.text,
|
10984
10997
|
"type": key.type,
|
@@ -10991,14 +11004,14 @@ var stdin_default$w = vue.defineComponent({
|
|
10991
11004
|
if (props.theme === "custom") {
|
10992
11005
|
return vue.createVNode("div", {
|
10993
11006
|
"class": bem$q("sidebar")
|
10994
|
-
}, [props.showDeleteKey && vue.createVNode(stdin_default$
|
11007
|
+
}, [props.showDeleteKey && vue.createVNode(stdin_default$A, {
|
10995
11008
|
"large": true,
|
10996
11009
|
"text": props.deleteButtonText,
|
10997
11010
|
"type": "delete",
|
10998
11011
|
"onPress": onPress
|
10999
11012
|
}, {
|
11000
11013
|
delete: slots.delete
|
11001
|
-
}), vue.createVNode(stdin_default$
|
11014
|
+
}), vue.createVNode(stdin_default$A, {
|
11002
11015
|
"large": true,
|
11003
11016
|
"text": props.closeButtonText,
|
11004
11017
|
"type": "close",
|
@@ -11049,7 +11062,7 @@ var stdin_default$w = vue.defineComponent({
|
|
11049
11062
|
};
|
11050
11063
|
}
|
11051
11064
|
});
|
11052
|
-
const NumberKeyboard = withInstall(stdin_default$
|
11065
|
+
const NumberKeyboard = withInstall(stdin_default$z);
|
11053
11066
|
const [name$q, bem$p, t$5] = createNamespace("pagination");
|
11054
11067
|
const makePage = (number, text, active) => ({
|
11055
11068
|
number,
|
@@ -11067,7 +11080,7 @@ const paginationProps = {
|
|
11067
11080
|
itemsPerPage: makeNumericProp(10),
|
11068
11081
|
forceEllipses: Boolean
|
11069
11082
|
};
|
11070
|
-
var stdin_default$
|
11083
|
+
var stdin_default$y = vue.defineComponent({
|
11071
11084
|
name: name$q,
|
11072
11085
|
props: paginationProps,
|
11073
11086
|
emits: ["change", "update:modelValue"],
|
@@ -11188,7 +11201,7 @@ var stdin_default$v = vue.defineComponent({
|
|
11188
11201
|
}, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
|
11189
11202
|
}
|
11190
11203
|
});
|
11191
|
-
const Pagination = withInstall(stdin_default$
|
11204
|
+
const Pagination = withInstall(stdin_default$y);
|
11192
11205
|
const [name$p, bem$o] = createNamespace("password-input");
|
11193
11206
|
const passwordInputProps = {
|
11194
11207
|
info: String,
|
@@ -11199,7 +11212,7 @@ const passwordInputProps = {
|
|
11199
11212
|
focused: Boolean,
|
11200
11213
|
errorInfo: String
|
11201
11214
|
};
|
11202
|
-
var stdin_default$
|
11215
|
+
var stdin_default$x = vue.defineComponent({
|
11203
11216
|
name: name$p,
|
11204
11217
|
props: passwordInputProps,
|
11205
11218
|
emits: ["focus"],
|
@@ -11261,8 +11274,8 @@ var stdin_default$u = vue.defineComponent({
|
|
11261
11274
|
};
|
11262
11275
|
}
|
11263
11276
|
});
|
11264
|
-
const PasswordInput = withInstall(stdin_default$
|
11265
|
-
const PickerGroup = withInstall(stdin_default$
|
11277
|
+
const PasswordInput = withInstall(stdin_default$x);
|
11278
|
+
const PickerGroup = withInstall(stdin_default$1r);
|
11266
11279
|
const useSyncPropRef = (getProp, setProp) => {
|
11267
11280
|
const propRef = vue.ref(getProp());
|
11268
11281
|
vue.watch(getProp, (value) => {
|
@@ -11303,7 +11316,7 @@ const popoverProps = {
|
|
11303
11316
|
default: "body"
|
11304
11317
|
}
|
11305
11318
|
};
|
11306
|
-
var stdin_default$
|
11319
|
+
var stdin_default$w = vue.defineComponent({
|
11307
11320
|
name: name$o,
|
11308
11321
|
props: popoverProps,
|
11309
11322
|
emits: ["select", "touchstart", "update:show"],
|
@@ -11449,7 +11462,7 @@ var stdin_default$t = vue.defineComponent({
|
|
11449
11462
|
};
|
11450
11463
|
}
|
11451
11464
|
});
|
11452
|
-
const Popover = withInstall(stdin_default$
|
11465
|
+
const Popover = withInstall(stdin_default$w);
|
11453
11466
|
const [name$n, bem$m] = createNamespace("progress");
|
11454
11467
|
const progressProps = {
|
11455
11468
|
color: String,
|
@@ -11466,7 +11479,7 @@ const progressProps = {
|
|
11466
11479
|
validator: (value) => value >= 0 && value <= 100
|
11467
11480
|
}
|
11468
11481
|
};
|
11469
|
-
var stdin_default$
|
11482
|
+
var stdin_default$v = vue.defineComponent({
|
11470
11483
|
name: name$n,
|
11471
11484
|
props: progressProps,
|
11472
11485
|
setup(props) {
|
@@ -11520,7 +11533,7 @@ var stdin_default$s = vue.defineComponent({
|
|
11520
11533
|
};
|
11521
11534
|
}
|
11522
11535
|
});
|
11523
|
-
const Progress = withInstall(stdin_default$
|
11536
|
+
const Progress = withInstall(stdin_default$v);
|
11524
11537
|
const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
|
11525
11538
|
const DEFAULT_HEAD_HEIGHT = 50;
|
11526
11539
|
const TEXT_STATUS = ["pulling", "loosing", "success"];
|
@@ -11536,7 +11549,7 @@ const pullRefreshProps = {
|
|
11536
11549
|
successDuration: makeNumericProp(500),
|
11537
11550
|
animationDuration: makeNumericProp(300)
|
11538
11551
|
};
|
11539
|
-
var stdin_default$
|
11552
|
+
var stdin_default$u = vue.defineComponent({
|
11540
11553
|
name: name$m,
|
11541
11554
|
props: pullRefreshProps,
|
11542
11555
|
emits: ["change", "refresh", "update:modelValue"],
|
@@ -11705,7 +11718,7 @@ var stdin_default$r = vue.defineComponent({
|
|
11705
11718
|
};
|
11706
11719
|
}
|
11707
11720
|
});
|
11708
|
-
const PullRefresh = withInstall(stdin_default$
|
11721
|
+
const PullRefresh = withInstall(stdin_default$u);
|
11709
11722
|
const [name$l, bem$k] = createNamespace("rate");
|
11710
11723
|
function getRateStatus(value, index, allowHalf, readonly) {
|
11711
11724
|
if (value >= index) {
|
@@ -11748,7 +11761,7 @@ const rateProps = {
|
|
11748
11761
|
modelValue: makeNumberProp(0),
|
11749
11762
|
disabledColor: String
|
11750
11763
|
};
|
11751
|
-
var stdin_default$
|
11764
|
+
var stdin_default$t = vue.defineComponent({
|
11752
11765
|
name: name$l,
|
11753
11766
|
props: rateProps,
|
11754
11767
|
emits: ["change", "update:modelValue"],
|
@@ -11915,8 +11928,8 @@ var stdin_default$q = vue.defineComponent({
|
|
11915
11928
|
}, [list.value.map(renderStar)]);
|
11916
11929
|
}
|
11917
11930
|
});
|
11918
|
-
const Rate = withInstall(stdin_default$
|
11919
|
-
const Row = withInstall(stdin_default
|
11931
|
+
const Rate = withInstall(stdin_default$t);
|
11932
|
+
const Row = withInstall(stdin_default$$);
|
11920
11933
|
const [name$k, bem$j, t$3] = createNamespace("search");
|
11921
11934
|
const searchProps = extend({}, fieldSharedProps, {
|
11922
11935
|
label: String,
|
@@ -11927,7 +11940,7 @@ const searchProps = extend({}, fieldSharedProps, {
|
|
11927
11940
|
background: String,
|
11928
11941
|
showAction: Boolean
|
11929
11942
|
});
|
11930
|
-
var stdin_default$
|
11943
|
+
var stdin_default$s = vue.defineComponent({
|
11931
11944
|
name: name$k,
|
11932
11945
|
props: searchProps,
|
11933
11946
|
emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -12025,7 +12038,7 @@ var stdin_default$p = vue.defineComponent({
|
|
12025
12038
|
};
|
12026
12039
|
}
|
12027
12040
|
});
|
12028
|
-
const Search = withInstall(stdin_default$
|
12041
|
+
const Search = withInstall(stdin_default$s);
|
12029
12042
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
12030
12043
|
const iconMap = {
|
12031
12044
|
qq: "qq",
|
@@ -12047,7 +12060,7 @@ const shareSheetProps = extend({}, popupSharedProps, {
|
|
12047
12060
|
closeOnPopstate: truthProp,
|
12048
12061
|
safeAreaInsetBottom: truthProp
|
12049
12062
|
});
|
12050
|
-
var stdin_default$
|
12063
|
+
var stdin_default$r = vue.defineComponent({
|
12051
12064
|
name: name$j,
|
12052
12065
|
props: shareSheetProps,
|
12053
12066
|
emits: ["cancel", "select", "update:show"],
|
@@ -12139,13 +12152,13 @@ var stdin_default$o = vue.defineComponent({
|
|
12139
12152
|
});
|
12140
12153
|
}
|
12141
12154
|
});
|
12142
|
-
const ShareSheet = withInstall(stdin_default$
|
12155
|
+
const ShareSheet = withInstall(stdin_default$r);
|
12143
12156
|
const [name$i, bem$h] = createNamespace("sidebar");
|
12144
12157
|
const SIDEBAR_KEY = Symbol(name$i);
|
12145
12158
|
const sidebarProps = {
|
12146
12159
|
modelValue: makeNumericProp(0)
|
12147
12160
|
};
|
12148
|
-
var stdin_default$
|
12161
|
+
var stdin_default$q = vue.defineComponent({
|
12149
12162
|
name: name$i,
|
12150
12163
|
props: sidebarProps,
|
12151
12164
|
emits: ["change", "update:modelValue"],
|
@@ -12176,7 +12189,7 @@ var stdin_default$n = vue.defineComponent({
|
|
12176
12189
|
};
|
12177
12190
|
}
|
12178
12191
|
});
|
12179
|
-
const Sidebar = withInstall(stdin_default$
|
12192
|
+
const Sidebar = withInstall(stdin_default$q);
|
12180
12193
|
const [name$h, bem$g] = createNamespace("sidebar-item");
|
12181
12194
|
const sidebarItemProps = extend({}, routeProps, {
|
12182
12195
|
dot: Boolean,
|
@@ -12185,7 +12198,7 @@ const sidebarItemProps = extend({}, routeProps, {
|
|
12185
12198
|
disabled: Boolean,
|
12186
12199
|
badgeProps: Object
|
12187
12200
|
});
|
12188
|
-
var stdin_default$
|
12201
|
+
var stdin_default$p = vue.defineComponent({
|
12189
12202
|
name: name$h,
|
12190
12203
|
props: sidebarItemProps,
|
12191
12204
|
emits: ["click"],
|
@@ -12239,13 +12252,13 @@ var stdin_default$m = vue.defineComponent({
|
|
12239
12252
|
};
|
12240
12253
|
}
|
12241
12254
|
});
|
12242
|
-
const SidebarItem = withInstall(stdin_default$
|
12255
|
+
const SidebarItem = withInstall(stdin_default$p);
|
12243
12256
|
const [name$g, bem$f] = createNamespace("skeleton-title");
|
12244
12257
|
const skeletonTitleProps = {
|
12245
12258
|
round: Boolean,
|
12246
12259
|
titleWidth: numericProp
|
12247
12260
|
};
|
12248
|
-
var stdin_default$
|
12261
|
+
var stdin_default$o = vue.defineComponent({
|
12249
12262
|
name: name$g,
|
12250
12263
|
props: skeletonTitleProps,
|
12251
12264
|
setup(props) {
|
@@ -12259,12 +12272,14 @@ var stdin_default$l = vue.defineComponent({
|
|
12259
12272
|
}, null);
|
12260
12273
|
}
|
12261
12274
|
});
|
12275
|
+
const SkeletonTitle = withInstall(stdin_default$o);
|
12276
|
+
var stdin_default$n = SkeletonTitle;
|
12262
12277
|
const [name$f, bem$e] = createNamespace("skeleton-avatar");
|
12263
12278
|
const skeletonAvatarProps = {
|
12264
12279
|
avatarSize: numericProp,
|
12265
12280
|
avatarShape: makeStringProp("round")
|
12266
12281
|
};
|
12267
|
-
var stdin_default$
|
12282
|
+
var stdin_default$m = vue.defineComponent({
|
12268
12283
|
name: name$f,
|
12269
12284
|
props: skeletonAvatarProps,
|
12270
12285
|
setup(props) {
|
@@ -12274,6 +12289,8 @@ var stdin_default$k = vue.defineComponent({
|
|
12274
12289
|
}, null);
|
12275
12290
|
}
|
12276
12291
|
});
|
12292
|
+
const SkeletonAvatar = withInstall(stdin_default$m);
|
12293
|
+
var stdin_default$l = SkeletonAvatar;
|
12277
12294
|
const DEFAULT_ROW_WIDTH = "100%";
|
12278
12295
|
const skeletonParagraphProps = {
|
12279
12296
|
round: Boolean,
|
@@ -12283,7 +12300,7 @@ const skeletonParagraphProps = {
|
|
12283
12300
|
}
|
12284
12301
|
};
|
12285
12302
|
const [name$e, bem$d] = createNamespace("skeleton-paragraph");
|
12286
|
-
var stdin_default$
|
12303
|
+
var stdin_default$k = vue.defineComponent({
|
12287
12304
|
name: name$e,
|
12288
12305
|
props: skeletonParagraphProps,
|
12289
12306
|
setup(props) {
|
@@ -12297,6 +12314,8 @@ var stdin_default$j = vue.defineComponent({
|
|
12297
12314
|
}, null);
|
12298
12315
|
}
|
12299
12316
|
});
|
12317
|
+
const SkeletonParagraph = withInstall(stdin_default$k);
|
12318
|
+
var stdin_default$j = SkeletonParagraph;
|
12300
12319
|
const [name$d, bem$c] = createNamespace("skeleton");
|
12301
12320
|
const DEFAULT_LAST_ROW_WIDTH = "60%";
|
12302
12321
|
const skeletonProps = {
|
@@ -12324,7 +12343,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12324
12343
|
}) {
|
12325
12344
|
const renderAvatar = () => {
|
12326
12345
|
if (props.avatar) {
|
12327
|
-
return vue.createVNode(stdin_default$
|
12346
|
+
return vue.createVNode(stdin_default$l, {
|
12328
12347
|
"avatarShape": props.avatarShape,
|
12329
12348
|
"avatarSize": props.avatarSize
|
12330
12349
|
}, null);
|
@@ -12332,7 +12351,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12332
12351
|
};
|
12333
12352
|
const renderTitle = () => {
|
12334
12353
|
if (props.title) {
|
12335
|
-
return vue.createVNode(stdin_default$
|
12354
|
+
return vue.createVNode(stdin_default$n, {
|
12336
12355
|
"round": props.round,
|
12337
12356
|
"titleWidth": props.titleWidth
|
12338
12357
|
}, null);
|
@@ -12377,6 +12396,7 @@ var stdin_default$i = vue.defineComponent({
|
|
12377
12396
|
};
|
12378
12397
|
}
|
12379
12398
|
});
|
12399
|
+
const Skeleton = withInstall(stdin_default$i);
|
12380
12400
|
const [name$c, bem$b] = createNamespace("skeleton-image");
|
12381
12401
|
const skeletonImageProps = {
|
12382
12402
|
imageSize: numericProp,
|
@@ -12396,10 +12416,6 @@ var stdin_default$h = vue.defineComponent({
|
|
12396
12416
|
}
|
12397
12417
|
});
|
12398
12418
|
const SkeletonImage = withInstall(stdin_default$h);
|
12399
|
-
const SkeletonTitle = withInstall(stdin_default$l);
|
12400
|
-
const SkeletonAvatar = withInstall(stdin_default$k);
|
12401
|
-
const SkeletonParagraph = withInstall(stdin_default$j);
|
12402
|
-
const Skeleton = withInstall(stdin_default$i);
|
12403
12419
|
const [name$b, bem$a] = createNamespace("slider");
|
12404
12420
|
const sliderProps = {
|
12405
12421
|
min: makeNumericProp(0),
|
@@ -14903,7 +14919,7 @@ const Lazyload = {
|
|
14903
14919
|
});
|
14904
14920
|
}
|
14905
14921
|
};
|
14906
|
-
const version = "4.0.
|
14922
|
+
const version = "4.0.8";
|
14907
14923
|
function install(app) {
|
14908
14924
|
const components = [
|
14909
14925
|
ActionBar,
|
@@ -14975,6 +14991,10 @@ function install(app) {
|
|
14975
14991
|
Sidebar,
|
14976
14992
|
SidebarItem,
|
14977
14993
|
Skeleton,
|
14994
|
+
SkeletonAvatar,
|
14995
|
+
SkeletonImage,
|
14996
|
+
SkeletonParagraph,
|
14997
|
+
SkeletonTitle,
|
14978
14998
|
Slider,
|
14979
14999
|
Space,
|
14980
15000
|
Step,
|
@@ -15037,6 +15057,7 @@ exports.CountDown = CountDown;
|
|
15037
15057
|
exports.Coupon = Coupon;
|
15038
15058
|
exports.CouponCell = CouponCell;
|
15039
15059
|
exports.CouponList = CouponList;
|
15060
|
+
exports.DEFAULT_ROW_WIDTH = DEFAULT_ROW_WIDTH;
|
15040
15061
|
exports.DatePicker = DatePicker;
|
15041
15062
|
exports.Dialog = Dialog;
|
15042
15063
|
exports.Divider = Divider;
|