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.es.js
CHANGED
@@ -235,7 +235,7 @@ function deepAssign(to, from) {
|
|
235
235
|
});
|
236
236
|
return to;
|
237
237
|
}
|
238
|
-
var stdin_default$
|
238
|
+
var stdin_default$1N = {
|
239
239
|
name: "姓名",
|
240
240
|
tel: "电话",
|
241
241
|
save: "保存",
|
@@ -298,7 +298,7 @@ var stdin_default$1K = {
|
|
298
298
|
};
|
299
299
|
const lang = ref("zh-CN");
|
300
300
|
const messages = reactive({
|
301
|
-
"zh-CN": stdin_default$
|
301
|
+
"zh-CN": stdin_default$1N
|
302
302
|
});
|
303
303
|
const Locale = {
|
304
304
|
messages() {
|
@@ -312,11 +312,11 @@ const Locale = {
|
|
312
312
|
deepAssign(messages, newMessages);
|
313
313
|
}
|
314
314
|
};
|
315
|
-
var stdin_default$
|
315
|
+
var stdin_default$1M = Locale;
|
316
316
|
function createTranslate(name2) {
|
317
317
|
const prefix = camelize(name2) + ".";
|
318
318
|
return (path, ...args) => {
|
319
|
-
const messages2 = stdin_default$
|
319
|
+
const messages2 = stdin_default$1M.messages();
|
320
320
|
const message = get(messages2, prefix + path) || get(messages2, path);
|
321
321
|
return isFunction(message) ? message(...args) : message;
|
322
322
|
};
|
@@ -444,7 +444,7 @@ const actionBarProps = {
|
|
444
444
|
placeholder: Boolean,
|
445
445
|
safeAreaInsetBottom: truthProp
|
446
446
|
};
|
447
|
-
var stdin_default$
|
447
|
+
var stdin_default$1L = defineComponent({
|
448
448
|
name: name$1B,
|
449
449
|
props: actionBarProps,
|
450
450
|
setup(props, {
|
@@ -473,7 +473,7 @@ var stdin_default$1I = defineComponent({
|
|
473
473
|
};
|
474
474
|
}
|
475
475
|
});
|
476
|
-
const ActionBar = withInstall(stdin_default$
|
476
|
+
const ActionBar = withInstall(stdin_default$1L);
|
477
477
|
function useExpose(apis) {
|
478
478
|
const instance2 = getCurrentInstance();
|
479
479
|
if (instance2) {
|
@@ -512,7 +512,7 @@ const badgeProps = {
|
|
512
512
|
showZero: truthProp,
|
513
513
|
position: makeStringProp("top-right")
|
514
514
|
};
|
515
|
-
var stdin_default$
|
515
|
+
var stdin_default$1K = defineComponent({
|
516
516
|
name: name$1A,
|
517
517
|
props: badgeProps,
|
518
518
|
setup(props, {
|
@@ -599,7 +599,7 @@ var stdin_default$1H = defineComponent({
|
|
599
599
|
};
|
600
600
|
}
|
601
601
|
});
|
602
|
-
const Badge = withInstall(stdin_default$
|
602
|
+
const Badge = withInstall(stdin_default$1K);
|
603
603
|
let globalZIndex = 2e3;
|
604
604
|
const useGlobalZIndex = () => ++globalZIndex;
|
605
605
|
const setGlobalZIndex = (val) => {
|
@@ -623,7 +623,7 @@ function mapThemeVarsToCSSVars(themeVars) {
|
|
623
623
|
});
|
624
624
|
return cssVars;
|
625
625
|
}
|
626
|
-
var stdin_default$
|
626
|
+
var stdin_default$1J = defineComponent({
|
627
627
|
name: name$1z,
|
628
628
|
props: configProviderProps,
|
629
629
|
setup(props, {
|
@@ -678,7 +678,7 @@ const iconProps = {
|
|
678
678
|
badgeProps: Object,
|
679
679
|
classPrefix: String
|
680
680
|
};
|
681
|
-
var stdin_default$
|
681
|
+
var stdin_default$1I = defineComponent({
|
682
682
|
name: name$1y,
|
683
683
|
props: iconProps,
|
684
684
|
setup(props, {
|
@@ -717,7 +717,7 @@ var stdin_default$1F = defineComponent({
|
|
717
717
|
};
|
718
718
|
}
|
719
719
|
});
|
720
|
-
const Icon = withInstall(stdin_default$
|
720
|
+
const Icon = withInstall(stdin_default$1I);
|
721
721
|
const [name$1x, bem$1s] = createNamespace("loading");
|
722
722
|
const SpinIcon = Array(12).fill(null).map((_, index) => createVNode("i", {
|
723
723
|
"class": bem$1s("line", String(index + 1))
|
@@ -739,7 +739,7 @@ const loadingProps = {
|
|
739
739
|
textSize: numericProp,
|
740
740
|
textColor: String
|
741
741
|
};
|
742
|
-
var stdin_default$
|
742
|
+
var stdin_default$1H = defineComponent({
|
743
743
|
name: name$1x,
|
744
744
|
props: loadingProps,
|
745
745
|
setup(props, {
|
@@ -782,7 +782,7 @@ var stdin_default$1E = defineComponent({
|
|
782
782
|
};
|
783
783
|
}
|
784
784
|
});
|
785
|
-
const Loading = withInstall(stdin_default$
|
785
|
+
const Loading = withInstall(stdin_default$1H);
|
786
786
|
const [name$1w, bem$1r] = createNamespace("button");
|
787
787
|
const buttonProps = extend({}, routeProps, {
|
788
788
|
tag: makeStringProp("button"),
|
@@ -805,7 +805,7 @@ const buttonProps = extend({}, routeProps, {
|
|
805
805
|
loadingType: String,
|
806
806
|
iconPosition: makeStringProp("left")
|
807
807
|
});
|
808
|
-
var stdin_default$
|
808
|
+
var stdin_default$1G = defineComponent({
|
809
809
|
name: name$1w,
|
810
810
|
props: buttonProps,
|
811
811
|
emits: ["click"],
|
@@ -922,7 +922,7 @@ var stdin_default$1D = defineComponent({
|
|
922
922
|
};
|
923
923
|
}
|
924
924
|
});
|
925
|
-
const Button = withInstall(stdin_default$
|
925
|
+
const Button = withInstall(stdin_default$1G);
|
926
926
|
const [name$1v, bem$1q] = createNamespace("action-bar-button");
|
927
927
|
const actionBarButtonProps = extend({}, routeProps, {
|
928
928
|
type: String,
|
@@ -932,7 +932,7 @@ const actionBarButtonProps = extend({}, routeProps, {
|
|
932
932
|
loading: Boolean,
|
933
933
|
disabled: Boolean
|
934
934
|
});
|
935
|
-
var stdin_default$
|
935
|
+
var stdin_default$1F = defineComponent({
|
936
936
|
name: name$1v,
|
937
937
|
props: actionBarButtonProps,
|
938
938
|
setup(props, {
|
@@ -985,7 +985,7 @@ var stdin_default$1C = defineComponent({
|
|
985
985
|
};
|
986
986
|
}
|
987
987
|
});
|
988
|
-
const ActionBarButton = withInstall(stdin_default$
|
988
|
+
const ActionBarButton = withInstall(stdin_default$1F);
|
989
989
|
const [name$1u, bem$1p] = createNamespace("action-bar-icon");
|
990
990
|
const actionBarIconProps = extend({}, routeProps, {
|
991
991
|
dot: Boolean,
|
@@ -997,7 +997,7 @@ const actionBarIconProps = extend({}, routeProps, {
|
|
997
997
|
badgeProps: Object,
|
998
998
|
iconPrefix: String
|
999
999
|
});
|
1000
|
-
var stdin_default$
|
1000
|
+
var stdin_default$1E = defineComponent({
|
1001
1001
|
name: name$1u,
|
1002
1002
|
props: actionBarIconProps,
|
1003
1003
|
setup(props, {
|
@@ -1043,7 +1043,7 @@ var stdin_default$1B = defineComponent({
|
|
1043
1043
|
}, [renderIcon(), slots.default ? slots.default() : props.text]);
|
1044
1044
|
}
|
1045
1045
|
});
|
1046
|
-
const ActionBarIcon = withInstall(stdin_default$
|
1046
|
+
const ActionBarIcon = withInstall(stdin_default$1E);
|
1047
1047
|
const popupSharedProps = {
|
1048
1048
|
show: Boolean,
|
1049
1049
|
zIndex: numericProp,
|
@@ -1192,7 +1192,7 @@ const overlayProps = {
|
|
1192
1192
|
lazyRender: truthProp,
|
1193
1193
|
customStyle: Object
|
1194
1194
|
};
|
1195
|
-
var stdin_default$
|
1195
|
+
var stdin_default$1D = defineComponent({
|
1196
1196
|
name: name$1t,
|
1197
1197
|
props: overlayProps,
|
1198
1198
|
setup(props, {
|
@@ -1228,7 +1228,7 @@ var stdin_default$1A = defineComponent({
|
|
1228
1228
|
});
|
1229
1229
|
}
|
1230
1230
|
});
|
1231
|
-
const Overlay = withInstall(stdin_default$
|
1231
|
+
const Overlay = withInstall(stdin_default$1D);
|
1232
1232
|
const popupProps$2 = extend({}, popupSharedProps, {
|
1233
1233
|
round: Boolean,
|
1234
1234
|
position: makeStringProp("center"),
|
@@ -1242,7 +1242,7 @@ const popupProps$2 = extend({}, popupSharedProps, {
|
|
1242
1242
|
safeAreaInsetBottom: Boolean
|
1243
1243
|
});
|
1244
1244
|
const [name$1s, bem$1n] = createNamespace("popup");
|
1245
|
-
var stdin_default$
|
1245
|
+
var stdin_default$1C = defineComponent({
|
1246
1246
|
name: name$1s,
|
1247
1247
|
inheritAttrs: false,
|
1248
1248
|
props: popupProps$2,
|
@@ -1420,7 +1420,7 @@ var stdin_default$1z = defineComponent({
|
|
1420
1420
|
};
|
1421
1421
|
}
|
1422
1422
|
});
|
1423
|
-
const Popup = withInstall(stdin_default$
|
1423
|
+
const Popup = withInstall(stdin_default$1C);
|
1424
1424
|
const [name$1r, bem$1m] = createNamespace("action-sheet");
|
1425
1425
|
const actionSheetProps = extend({}, popupSharedProps, {
|
1426
1426
|
title: String,
|
@@ -1435,7 +1435,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
|
|
1435
1435
|
safeAreaInsetBottom: truthProp
|
1436
1436
|
});
|
1437
1437
|
const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
1438
|
-
var stdin_default$
|
1438
|
+
var stdin_default$1B = defineComponent({
|
1439
1439
|
name: name$1r,
|
1440
1440
|
props: actionSheetProps,
|
1441
1441
|
emits: ["select", "cancel", "update:show"],
|
@@ -1542,7 +1542,7 @@ var stdin_default$1y = defineComponent({
|
|
1542
1542
|
});
|
1543
1543
|
}
|
1544
1544
|
});
|
1545
|
-
const ActionSheet = withInstall(stdin_default$
|
1545
|
+
const ActionSheet = withInstall(stdin_default$1B);
|
1546
1546
|
const [name$1q, bem$1l, t$j] = createNamespace("picker");
|
1547
1547
|
const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
|
1548
1548
|
function getColumnsType(columns, fields) {
|
@@ -1614,7 +1614,7 @@ const MOMENTUM_TIME = 300;
|
|
1614
1614
|
const MOMENTUM_DISTANCE = 15;
|
1615
1615
|
const [name$1p, bem$1k] = createNamespace("picker-column");
|
1616
1616
|
const PICKER_KEY = Symbol(name$1p);
|
1617
|
-
var stdin_default$
|
1617
|
+
var stdin_default$1A = defineComponent({
|
1618
1618
|
name: name$1p,
|
1619
1619
|
props: {
|
1620
1620
|
value: numericProp,
|
@@ -1800,7 +1800,7 @@ const pickerToolbarProps = {
|
|
1800
1800
|
};
|
1801
1801
|
const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
|
1802
1802
|
const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
|
1803
|
-
var stdin_default$
|
1803
|
+
var stdin_default$1z = defineComponent({
|
1804
1804
|
name: name$1o,
|
1805
1805
|
props: pickerToolbarProps,
|
1806
1806
|
emits: ["confirm", "cancel"],
|
@@ -1929,7 +1929,7 @@ const stickyProps = {
|
|
1929
1929
|
offsetTop: makeNumericProp(0),
|
1930
1930
|
offsetBottom: makeNumericProp(0)
|
1931
1931
|
};
|
1932
|
-
var stdin_default$
|
1932
|
+
var stdin_default$1y = defineComponent({
|
1933
1933
|
name: name$1n,
|
1934
1934
|
props: stickyProps,
|
1935
1935
|
emits: ["scroll", "change"],
|
@@ -2033,9 +2033,9 @@ var stdin_default$1v = defineComponent({
|
|
2033
2033
|
};
|
2034
2034
|
}
|
2035
2035
|
});
|
2036
|
-
const Sticky = withInstall(stdin_default$
|
2036
|
+
const Sticky = withInstall(stdin_default$1y);
|
2037
2037
|
const [name$1m, bem$1i] = createNamespace("tab");
|
2038
|
-
var stdin_default$
|
2038
|
+
var stdin_default$1x = defineComponent({
|
2039
2039
|
name: name$1m,
|
2040
2040
|
props: {
|
2041
2041
|
id: String,
|
@@ -2133,7 +2133,7 @@ const swipeProps = {
|
|
2133
2133
|
stopPropagation: truthProp
|
2134
2134
|
};
|
2135
2135
|
const SWIPE_KEY = Symbol(name$1l);
|
2136
|
-
var stdin_default$
|
2136
|
+
var stdin_default$1w = defineComponent({
|
2137
2137
|
name: name$1l,
|
2138
2138
|
props: swipeProps,
|
2139
2139
|
emits: ["change"],
|
@@ -2469,9 +2469,9 @@ var stdin_default$1t = defineComponent({
|
|
2469
2469
|
};
|
2470
2470
|
}
|
2471
2471
|
});
|
2472
|
-
const Swipe = withInstall(stdin_default$
|
2472
|
+
const Swipe = withInstall(stdin_default$1w);
|
2473
2473
|
const [name$1k, bem$1g] = createNamespace("tabs");
|
2474
|
-
var stdin_default$
|
2474
|
+
var stdin_default$1v = defineComponent({
|
2475
2475
|
name: name$1k,
|
2476
2476
|
props: {
|
2477
2477
|
count: makeRequiredProp(Number),
|
@@ -2554,7 +2554,7 @@ const tabsProps = {
|
|
2554
2554
|
titleInactiveColor: String
|
2555
2555
|
};
|
2556
2556
|
const TABS_KEY = Symbol(name$1j);
|
2557
|
-
var stdin_default$
|
2557
|
+
var stdin_default$1u = defineComponent({
|
2558
2558
|
name: name$1j,
|
2559
2559
|
props: tabsProps,
|
2560
2560
|
emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
|
@@ -2744,7 +2744,7 @@ var stdin_default$1r = defineComponent({
|
|
2744
2744
|
setCurrentIndex(index);
|
2745
2745
|
}
|
2746
2746
|
};
|
2747
|
-
const renderNav = () => children.map((item, index) => createVNode(stdin_default$
|
2747
|
+
const renderNav = () => children.map((item, index) => createVNode(stdin_default$1x, mergeProps({
|
2748
2748
|
"key": item.id,
|
2749
2749
|
"id": `${id}-${index}`,
|
2750
2750
|
"ref": setTitleRefs(index),
|
@@ -2860,7 +2860,7 @@ var stdin_default$1r = defineComponent({
|
|
2860
2860
|
"onScroll": onStickyScroll
|
2861
2861
|
}, {
|
2862
2862
|
default: () => [renderHeader()]
|
2863
|
-
}) : renderHeader(), createVNode(stdin_default$
|
2863
|
+
}) : renderHeader(), createVNode(stdin_default$1v, {
|
2864
2864
|
"ref": contentRef,
|
2865
2865
|
"count": children.length,
|
2866
2866
|
"inited": state.inited,
|
@@ -2881,7 +2881,7 @@ var stdin_default$1r = defineComponent({
|
|
2881
2881
|
const TAB_STATUS_KEY = Symbol();
|
2882
2882
|
const useTabStatus = () => inject(TAB_STATUS_KEY, null);
|
2883
2883
|
const [name$1i, bem$1e] = createNamespace("swipe-item");
|
2884
|
-
var stdin_default$
|
2884
|
+
var stdin_default$1t = defineComponent({
|
2885
2885
|
name: name$1i,
|
2886
2886
|
setup(props, {
|
2887
2887
|
slots
|
@@ -2953,7 +2953,7 @@ var stdin_default$1q = defineComponent({
|
|
2953
2953
|
};
|
2954
2954
|
}
|
2955
2955
|
});
|
2956
|
-
const SwipeItem = withInstall(stdin_default$
|
2956
|
+
const SwipeItem = withInstall(stdin_default$1t);
|
2957
2957
|
const [name$1h, bem$1d] = createNamespace("tab");
|
2958
2958
|
const tabProps = extend({}, routeProps, {
|
2959
2959
|
dot: Boolean,
|
@@ -2965,7 +2965,7 @@ const tabProps = extend({}, routeProps, {
|
|
2965
2965
|
titleStyle: [String, Object],
|
2966
2966
|
showZeroBadge: truthProp
|
2967
2967
|
});
|
2968
|
-
var stdin_default$
|
2968
|
+
var stdin_default$1s = defineComponent({
|
2969
2969
|
name: name$1h,
|
2970
2970
|
props: tabProps,
|
2971
2971
|
setup(props, {
|
@@ -3064,14 +3064,15 @@ var stdin_default$1p = defineComponent({
|
|
3064
3064
|
};
|
3065
3065
|
}
|
3066
3066
|
});
|
3067
|
-
const Tab = withInstall(stdin_default$
|
3068
|
-
const Tabs = withInstall(stdin_default$
|
3067
|
+
const Tab = withInstall(stdin_default$1s);
|
3068
|
+
const Tabs = withInstall(stdin_default$1u);
|
3069
3069
|
const [name$1g, bem$1c] = createNamespace("picker-group");
|
3070
3070
|
const PICKER_GROUP_KEY = Symbol(name$1g);
|
3071
3071
|
const pickerGroupProps = extend({
|
3072
|
-
tabs: makeArrayProp()
|
3072
|
+
tabs: makeArrayProp(),
|
3073
|
+
nextStepText: String
|
3073
3074
|
}, pickerToolbarProps);
|
3074
|
-
var stdin_default$
|
3075
|
+
var stdin_default$1r = defineComponent({
|
3075
3076
|
name: name$1g,
|
3076
3077
|
props: pickerGroupProps,
|
3077
3078
|
emits: ["confirm", "cancel"],
|
@@ -3079,26 +3080,38 @@ var stdin_default$1o = defineComponent({
|
|
3079
3080
|
emit,
|
3080
3081
|
slots
|
3081
3082
|
}) {
|
3083
|
+
const activeTab = ref(0);
|
3082
3084
|
const {
|
3083
3085
|
children,
|
3084
3086
|
linkChildren
|
3085
3087
|
} = useChildren(PICKER_GROUP_KEY);
|
3086
3088
|
linkChildren();
|
3089
|
+
const showNextButton = () => activeTab.value < props.tabs.length - 1 && props.nextStepText;
|
3087
3090
|
const onConfirm = () => {
|
3088
|
-
|
3091
|
+
if (showNextButton()) {
|
3092
|
+
activeTab.value++;
|
3093
|
+
} else {
|
3094
|
+
emit("confirm", children.map((item) => item.confirm()));
|
3095
|
+
}
|
3089
3096
|
};
|
3090
3097
|
const onCancel = () => emit("cancel");
|
3091
3098
|
return () => {
|
3092
3099
|
var _a;
|
3093
3100
|
const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
3101
|
+
const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
|
3094
3102
|
return createVNode("div", {
|
3095
3103
|
"class": bem$1c()
|
3096
|
-
}, [createVNode(stdin_default$
|
3104
|
+
}, [createVNode(stdin_default$1z, {
|
3105
|
+
"title": props.title,
|
3106
|
+
"cancelButtonText": props.cancelButtonText,
|
3107
|
+
"confirmButtonText": confirmButtonText,
|
3097
3108
|
"onConfirm": onConfirm,
|
3098
3109
|
"onCancel": onCancel
|
3099
|
-
}
|
3100
|
-
"
|
3110
|
+
}, null), createVNode(Tabs, {
|
3111
|
+
"active": activeTab.value,
|
3112
|
+
"onUpdate:active": ($event) => activeTab.value = $event,
|
3101
3113
|
"class": bem$1c("tabs"),
|
3114
|
+
"shrink": true,
|
3102
3115
|
"animated": true
|
3103
3116
|
}, {
|
3104
3117
|
default: () => [props.tabs.map((title, index) => createVNode(Tab, {
|
@@ -3126,7 +3139,7 @@ const pickerProps = extend({}, pickerSharedProps, {
|
|
3126
3139
|
toolbarPosition: makeStringProp("top"),
|
3127
3140
|
columnsFieldNames: Object
|
3128
3141
|
});
|
3129
|
-
var stdin_default$
|
3142
|
+
var stdin_default$1q = defineComponent({
|
3130
3143
|
name: name$1q,
|
3131
3144
|
props: pickerProps,
|
3132
3145
|
emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
|
@@ -3202,7 +3215,7 @@ var stdin_default$1n = defineComponent({
|
|
3202
3215
|
return params;
|
3203
3216
|
};
|
3204
3217
|
const cancel = () => emit("cancel", getEventParams());
|
3205
|
-
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$
|
3218
|
+
const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1A, {
|
3206
3219
|
"value": selectedValues.value[columnIndex],
|
3207
3220
|
"fields": fields.value,
|
3208
3221
|
"options": options,
|
@@ -3246,7 +3259,7 @@ var stdin_default$1n = defineComponent({
|
|
3246
3259
|
};
|
3247
3260
|
const renderToolbar = () => {
|
3248
3261
|
if (props.showToolbar && !parent) {
|
3249
|
-
return createVNode(stdin_default$
|
3262
|
+
return createVNode(stdin_default$1z, mergeProps(pick(props, pickerToolbarPropKeys), {
|
3250
3263
|
"onConfirm": confirm,
|
3251
3264
|
"onCancel": cancel
|
3252
3265
|
}), pick(slots, pickerToolbarSlots));
|
@@ -3381,7 +3394,7 @@ function formatDataForCascade({
|
|
3381
3394
|
}
|
3382
3395
|
return options;
|
3383
3396
|
}
|
3384
|
-
const Picker = withInstall(stdin_default$
|
3397
|
+
const Picker = withInstall(stdin_default$1q);
|
3385
3398
|
const [name$1f, bem$1b] = createNamespace("area");
|
3386
3399
|
const areaProps = extend({}, pickerSharedProps, {
|
3387
3400
|
modelValue: String,
|
@@ -3392,7 +3405,7 @@ const areaProps = extend({}, pickerSharedProps, {
|
|
3392
3405
|
default: () => ({})
|
3393
3406
|
}
|
3394
3407
|
});
|
3395
|
-
var stdin_default$
|
3408
|
+
var stdin_default$1p = defineComponent({
|
3396
3409
|
name: name$1f,
|
3397
3410
|
props: areaProps,
|
3398
3411
|
emits: ["change", "confirm", "cancel", "update:modelValue"],
|
@@ -3448,7 +3461,7 @@ var stdin_default$1m = defineComponent({
|
|
3448
3461
|
}, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
|
3449
3462
|
}
|
3450
3463
|
});
|
3451
|
-
const Area = withInstall(stdin_default$
|
3464
|
+
const Area = withInstall(stdin_default$1p);
|
3452
3465
|
const [name$1e, bem$1a] = createNamespace("cell");
|
3453
3466
|
const cellSharedProps = {
|
3454
3467
|
tag: makeStringProp("div"),
|
@@ -3473,7 +3486,7 @@ const cellSharedProps = {
|
|
3473
3486
|
}
|
3474
3487
|
};
|
3475
3488
|
const cellProps = extend({}, cellSharedProps, routeProps);
|
3476
|
-
var stdin_default$
|
3489
|
+
var stdin_default$1o = defineComponent({
|
3477
3490
|
name: name$1e,
|
3478
3491
|
props: cellProps,
|
3479
3492
|
setup(props, {
|
@@ -3568,7 +3581,7 @@ var stdin_default$1l = defineComponent({
|
|
3568
3581
|
};
|
3569
3582
|
}
|
3570
3583
|
});
|
3571
|
-
const Cell = withInstall(stdin_default$
|
3584
|
+
const Cell = withInstall(stdin_default$1o);
|
3572
3585
|
const [name$1d, bem$19] = createNamespace("form");
|
3573
3586
|
const formProps = {
|
3574
3587
|
colon: Boolean,
|
@@ -3588,7 +3601,7 @@ const formProps = {
|
|
3588
3601
|
default: "onBlur"
|
3589
3602
|
}
|
3590
3603
|
};
|
3591
|
-
var stdin_default$
|
3604
|
+
var stdin_default$1n = defineComponent({
|
3592
3605
|
name: name$1d,
|
3593
3606
|
props: formProps,
|
3594
3607
|
emits: ["submit", "failed"],
|
@@ -3721,7 +3734,7 @@ var stdin_default$1k = defineComponent({
|
|
3721
3734
|
};
|
3722
3735
|
}
|
3723
3736
|
});
|
3724
|
-
const Form = withInstall(stdin_default$
|
3737
|
+
const Form = withInstall(stdin_default$1n);
|
3725
3738
|
function isEmptyValue(value) {
|
3726
3739
|
if (Array.isArray(value)) {
|
3727
3740
|
return !value.length;
|
@@ -3857,7 +3870,7 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
|
|
3857
3870
|
default: null
|
3858
3871
|
}
|
3859
3872
|
});
|
3860
|
-
var stdin_default$
|
3873
|
+
var stdin_default$1m = defineComponent({
|
3861
3874
|
name: name$1c,
|
3862
3875
|
props: fieldProps,
|
3863
3876
|
emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -4305,7 +4318,7 @@ var stdin_default$1j = defineComponent({
|
|
4305
4318
|
};
|
4306
4319
|
}
|
4307
4320
|
});
|
4308
|
-
const Field = withInstall(stdin_default$
|
4321
|
+
const Field = withInstall(stdin_default$1m);
|
4309
4322
|
let lockCount = 0;
|
4310
4323
|
function lockClick(lock) {
|
4311
4324
|
if (lock) {
|
@@ -4343,7 +4356,7 @@ const toastProps = {
|
|
4343
4356
|
closeOnClick: Boolean,
|
4344
4357
|
closeOnClickOverlay: Boolean
|
4345
4358
|
};
|
4346
|
-
var stdin_default$
|
4359
|
+
var stdin_default$1l = defineComponent({
|
4347
4360
|
name: name$1b,
|
4348
4361
|
props: toastProps,
|
4349
4362
|
emits: ["update:show"],
|
@@ -4525,7 +4538,7 @@ function createInstance() {
|
|
4525
4538
|
onClosed,
|
4526
4539
|
"onUpdate:show": toggle
|
4527
4540
|
};
|
4528
|
-
return createVNode(stdin_default$
|
4541
|
+
return createVNode(stdin_default$1l, mergeProps(state, attrs), null);
|
4529
4542
|
};
|
4530
4543
|
watch(message, (val) => {
|
4531
4544
|
state.message = val;
|
@@ -4595,7 +4608,7 @@ const resetToastDefaultOptions = (type) => {
|
|
4595
4608
|
const allowMultipleToast = (value = true) => {
|
4596
4609
|
allowMultiple = value;
|
4597
4610
|
};
|
4598
|
-
const Toast = withInstall(stdin_default$
|
4611
|
+
const Toast = withInstall(stdin_default$1l);
|
4599
4612
|
const [name$1a, bem$16] = createNamespace("switch");
|
4600
4613
|
const switchProps = {
|
4601
4614
|
size: numericProp,
|
@@ -4613,7 +4626,7 @@ const switchProps = {
|
|
4613
4626
|
default: false
|
4614
4627
|
}
|
4615
4628
|
};
|
4616
|
-
var stdin_default$
|
4629
|
+
var stdin_default$1k = defineComponent({
|
4617
4630
|
name: name$1a,
|
4618
4631
|
props: switchProps,
|
4619
4632
|
emits: ["change", "update:modelValue"],
|
@@ -4673,10 +4686,10 @@ var stdin_default$1h = defineComponent({
|
|
4673
4686
|
};
|
4674
4687
|
}
|
4675
4688
|
});
|
4676
|
-
const Switch = withInstall(stdin_default$
|
4689
|
+
const Switch = withInstall(stdin_default$1k);
|
4677
4690
|
const [name$19, bem$15] = createNamespace("address-edit-detail");
|
4678
4691
|
const t$i = createNamespace("address-edit")[2];
|
4679
|
-
var stdin_default$
|
4692
|
+
var stdin_default$1j = defineComponent({
|
4680
4693
|
name: name$19,
|
4681
4694
|
props: {
|
4682
4695
|
show: Boolean,
|
@@ -4782,7 +4795,7 @@ const addressEditProps = {
|
|
4782
4795
|
default: isMobile
|
4783
4796
|
}
|
4784
4797
|
};
|
4785
|
-
var stdin_default$
|
4798
|
+
var stdin_default$1i = defineComponent({
|
4786
4799
|
name: name$18,
|
4787
4800
|
props: addressEditProps,
|
4788
4801
|
emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
|
@@ -4957,7 +4970,7 @@ var stdin_default$1f = defineComponent({
|
|
4957
4970
|
emit("clickArea");
|
4958
4971
|
showAreaPopup.value = !disableArea;
|
4959
4972
|
}
|
4960
|
-
}, null), [[vShow, props.showArea]]), createVNode(stdin_default$
|
4973
|
+
}, null), [[vShow, props.showArea]]), createVNode(stdin_default$1j, {
|
4961
4974
|
"show": props.showDetail,
|
4962
4975
|
"rows": props.detailRows,
|
4963
4976
|
"rules": rules.value.addressDetail,
|
@@ -5013,7 +5026,7 @@ var stdin_default$1f = defineComponent({
|
|
5013
5026
|
};
|
5014
5027
|
}
|
5015
5028
|
});
|
5016
|
-
const AddressEdit = withInstall(stdin_default$
|
5029
|
+
const AddressEdit = withInstall(stdin_default$1i);
|
5017
5030
|
const [name$17, bem$13] = createNamespace("radio-group");
|
5018
5031
|
const radioGroupProps = {
|
5019
5032
|
disabled: Boolean,
|
@@ -5023,7 +5036,7 @@ const radioGroupProps = {
|
|
5023
5036
|
checkedColor: String
|
5024
5037
|
};
|
5025
5038
|
const RADIO_KEY = Symbol(name$17);
|
5026
|
-
var stdin_default$
|
5039
|
+
var stdin_default$1h = defineComponent({
|
5027
5040
|
name: name$17,
|
5028
5041
|
props: radioGroupProps,
|
5029
5042
|
emits: ["change", "update:modelValue"],
|
@@ -5050,7 +5063,7 @@ var stdin_default$1e = defineComponent({
|
|
5050
5063
|
};
|
5051
5064
|
}
|
5052
5065
|
});
|
5053
|
-
const RadioGroup = withInstall(stdin_default$
|
5066
|
+
const RadioGroup = withInstall(stdin_default$1h);
|
5054
5067
|
const [name$16, bem$12] = createNamespace("tag");
|
5055
5068
|
const tagProps = {
|
5056
5069
|
size: String,
|
@@ -5063,7 +5076,7 @@ const tagProps = {
|
|
5063
5076
|
textColor: String,
|
5064
5077
|
closeable: Boolean
|
5065
5078
|
};
|
5066
|
-
var stdin_default$
|
5079
|
+
var stdin_default$1g = defineComponent({
|
5067
5080
|
name: name$16,
|
5068
5081
|
props: tagProps,
|
5069
5082
|
emits: ["close"],
|
@@ -5122,7 +5135,7 @@ var stdin_default$1d = defineComponent({
|
|
5122
5135
|
});
|
5123
5136
|
}
|
5124
5137
|
});
|
5125
|
-
const Tag = withInstall(stdin_default$
|
5138
|
+
const Tag = withInstall(stdin_default$1g);
|
5126
5139
|
const checkerProps = {
|
5127
5140
|
name: unknownProp,
|
5128
5141
|
shape: makeStringProp("round"),
|
@@ -5133,7 +5146,7 @@ const checkerProps = {
|
|
5133
5146
|
labelPosition: String,
|
5134
5147
|
labelDisabled: Boolean
|
5135
5148
|
};
|
5136
|
-
var stdin_default$
|
5149
|
+
var stdin_default$1f = defineComponent({
|
5137
5150
|
props: extend({}, checkerProps, {
|
5138
5151
|
bem: makeRequiredProp(Function),
|
5139
5152
|
role: String,
|
@@ -5224,7 +5237,7 @@ var stdin_default$1c = defineComponent({
|
|
5224
5237
|
});
|
5225
5238
|
const radioProps = checkerProps;
|
5226
5239
|
const [name$15, bem$11] = createNamespace("radio");
|
5227
|
-
var stdin_default$
|
5240
|
+
var stdin_default$1e = defineComponent({
|
5228
5241
|
name: name$15,
|
5229
5242
|
props: checkerProps,
|
5230
5243
|
emits: ["update:modelValue"],
|
@@ -5246,7 +5259,7 @@ var stdin_default$1b = defineComponent({
|
|
5246
5259
|
emit("update:modelValue", props.name);
|
5247
5260
|
}
|
5248
5261
|
};
|
5249
|
-
return () => createVNode(stdin_default$
|
5262
|
+
return () => createVNode(stdin_default$1f, mergeProps({
|
5250
5263
|
"bem": bem$11,
|
5251
5264
|
"role": "radio",
|
5252
5265
|
"parent": parent,
|
@@ -5255,9 +5268,9 @@ var stdin_default$1b = defineComponent({
|
|
5255
5268
|
}, props), pick(slots, ["default", "icon"]));
|
5256
5269
|
}
|
5257
5270
|
});
|
5258
|
-
const Radio = withInstall(stdin_default$
|
5271
|
+
const Radio = withInstall(stdin_default$1e);
|
5259
5272
|
const [name$14, bem$10] = createNamespace("address-item");
|
5260
|
-
var stdin_default$
|
5273
|
+
var stdin_default$1d = defineComponent({
|
5261
5274
|
name: name$14,
|
5262
5275
|
props: {
|
5263
5276
|
address: makeRequiredProp(Object),
|
@@ -5352,7 +5365,7 @@ const addressListProps = {
|
|
5352
5365
|
addButtonText: String,
|
5353
5366
|
defaultTagText: String
|
5354
5367
|
};
|
5355
|
-
var stdin_default$
|
5368
|
+
var stdin_default$1c = defineComponent({
|
5356
5369
|
name: name$13,
|
5357
5370
|
props: addressListProps,
|
5358
5371
|
emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
|
@@ -5369,7 +5382,7 @@ var stdin_default$19 = defineComponent({
|
|
5369
5382
|
emit("update:modelValue", item.id);
|
5370
5383
|
}
|
5371
5384
|
};
|
5372
|
-
return createVNode(stdin_default$
|
5385
|
+
return createVNode(stdin_default$1d, {
|
5373
5386
|
"key": item.id,
|
5374
5387
|
"address": item,
|
5375
5388
|
"disabled": disabled,
|
@@ -5415,7 +5428,7 @@ var stdin_default$19 = defineComponent({
|
|
5415
5428
|
};
|
5416
5429
|
}
|
5417
5430
|
});
|
5418
|
-
const AddressList = withInstall(stdin_default$
|
5431
|
+
const AddressList = withInstall(stdin_default$1c);
|
5419
5432
|
const hasIntersectionObserver = inBrowser$1 && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
|
5420
5433
|
const modeType = {
|
5421
5434
|
event: "event",
|
@@ -5579,7 +5592,7 @@ const backTopProps = {
|
|
5579
5592
|
default: "body"
|
5580
5593
|
}
|
5581
5594
|
};
|
5582
|
-
var stdin_default$
|
5595
|
+
var stdin_default$1b = defineComponent({
|
5583
5596
|
name: name$12,
|
5584
5597
|
inheritAttrs: false,
|
5585
5598
|
props: backTopProps,
|
@@ -5659,7 +5672,7 @@ var stdin_default$18 = defineComponent({
|
|
5659
5672
|
};
|
5660
5673
|
}
|
5661
5674
|
});
|
5662
|
-
const BackTop = withInstall(stdin_default$
|
5675
|
+
const BackTop = withInstall(stdin_default$1b);
|
5663
5676
|
const [name$11, bem$Z, t$f] = createNamespace("calendar");
|
5664
5677
|
const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
|
5665
5678
|
function compareMonth(date1, date2) {
|
@@ -5742,7 +5755,7 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
|
|
5742
5755
|
return value;
|
5743
5756
|
});
|
5744
5757
|
const [name$10] = createNamespace("calendar-day");
|
5745
|
-
var stdin_default$
|
5758
|
+
var stdin_default$1a = defineComponent({
|
5746
5759
|
name: name$10,
|
5747
5760
|
props: {
|
5748
5761
|
item: makeRequiredProp(Object),
|
@@ -5880,7 +5893,7 @@ const calendarMonthProps = {
|
|
5880
5893
|
showMonthTitle: Boolean,
|
5881
5894
|
firstDayOfWeek: Number
|
5882
5895
|
};
|
5883
|
-
var stdin_default$
|
5896
|
+
var stdin_default$19 = defineComponent({
|
5884
5897
|
name: name$$,
|
5885
5898
|
props: calendarMonthProps,
|
5886
5899
|
emits: ["click"],
|
@@ -6033,7 +6046,7 @@ var stdin_default$16 = defineComponent({
|
|
6033
6046
|
setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
|
6034
6047
|
}
|
6035
6048
|
};
|
6036
|
-
const renderDay = (item, index) => createVNode(stdin_default$
|
6049
|
+
const renderDay = (item, index) => createVNode(stdin_default$1a, {
|
6037
6050
|
"item": item,
|
6038
6051
|
"index": index,
|
6039
6052
|
"color": props.color,
|
@@ -6060,7 +6073,7 @@ var stdin_default$16 = defineComponent({
|
|
6060
6073
|
}
|
6061
6074
|
});
|
6062
6075
|
const [name$_] = createNamespace("calendar-header");
|
6063
|
-
var stdin_default$
|
6076
|
+
var stdin_default$18 = defineComponent({
|
6064
6077
|
name: name$_,
|
6065
6078
|
props: {
|
6066
6079
|
date: Date,
|
@@ -6161,7 +6174,7 @@ const calendarProps = {
|
|
6161
6174
|
validator: (val) => val >= 0 && val <= 6
|
6162
6175
|
}
|
6163
6176
|
};
|
6164
|
-
var stdin_default$
|
6177
|
+
var stdin_default$17 = defineComponent({
|
6165
6178
|
name: name$11,
|
6166
6179
|
props: calendarProps,
|
6167
6180
|
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
|
@@ -6425,7 +6438,7 @@ var stdin_default$14 = defineComponent({
|
|
6425
6438
|
const updateShow = (value) => emit("update:show", value);
|
6426
6439
|
const renderMonth = (date, index) => {
|
6427
6440
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
6428
|
-
return createVNode(stdin_default$
|
6441
|
+
return createVNode(stdin_default$19, mergeProps({
|
6429
6442
|
"ref": setMonthRefs(index),
|
6430
6443
|
"date": date,
|
6431
6444
|
"currentDate": currentDate.value,
|
@@ -6466,7 +6479,7 @@ var stdin_default$14 = defineComponent({
|
|
6466
6479
|
}, [renderFooterButton()]);
|
6467
6480
|
const renderCalendar = () => createVNode("div", {
|
6468
6481
|
"class": bem$Z()
|
6469
|
-
}, [createVNode(stdin_default$
|
6482
|
+
}, [createVNode(stdin_default$18, {
|
6470
6483
|
"date": subtitle.value.date,
|
6471
6484
|
"title": props.title,
|
6472
6485
|
"subtitle": subtitle.value.text,
|
@@ -6512,7 +6525,7 @@ var stdin_default$14 = defineComponent({
|
|
6512
6525
|
};
|
6513
6526
|
}
|
6514
6527
|
});
|
6515
|
-
const Calendar = withInstall(stdin_default$
|
6528
|
+
const Calendar = withInstall(stdin_default$17);
|
6516
6529
|
const [name$Z, bem$Y] = createNamespace("image");
|
6517
6530
|
const imageProps = {
|
6518
6531
|
src: String,
|
@@ -6532,7 +6545,7 @@ const imageProps = {
|
|
6532
6545
|
showLoading: truthProp,
|
6533
6546
|
loadingIcon: makeStringProp("photo")
|
6534
6547
|
};
|
6535
|
-
var stdin_default$
|
6548
|
+
var stdin_default$16 = defineComponent({
|
6536
6549
|
name: name$Z,
|
6537
6550
|
props: imageProps,
|
6538
6551
|
emits: ["load", "error"],
|
@@ -6676,7 +6689,7 @@ var stdin_default$13 = defineComponent({
|
|
6676
6689
|
};
|
6677
6690
|
}
|
6678
6691
|
});
|
6679
|
-
const Image$1 = withInstall(stdin_default$
|
6692
|
+
const Image$1 = withInstall(stdin_default$16);
|
6680
6693
|
const [name$Y, bem$X] = createNamespace("card");
|
6681
6694
|
const cardProps = {
|
6682
6695
|
tag: String,
|
@@ -6691,7 +6704,7 @@ const cardProps = {
|
|
6691
6704
|
thumbLink: String,
|
6692
6705
|
originPrice: numericProp
|
6693
6706
|
};
|
6694
|
-
var stdin_default$
|
6707
|
+
var stdin_default$15 = defineComponent({
|
6695
6708
|
name: name$Y,
|
6696
6709
|
props: cardProps,
|
6697
6710
|
emits: ["clickThumb"],
|
@@ -6795,7 +6808,7 @@ var stdin_default$12 = defineComponent({
|
|
6795
6808
|
};
|
6796
6809
|
}
|
6797
6810
|
});
|
6798
|
-
const Card = withInstall(stdin_default$
|
6811
|
+
const Card = withInstall(stdin_default$15);
|
6799
6812
|
const [name$X, bem$W, t$e] = createNamespace("cascader");
|
6800
6813
|
const cascaderProps = {
|
6801
6814
|
title: String,
|
@@ -6809,7 +6822,7 @@ const cascaderProps = {
|
|
6809
6822
|
placeholder: String,
|
6810
6823
|
activeColor: String
|
6811
6824
|
};
|
6812
|
-
var stdin_default$
|
6825
|
+
var stdin_default$14 = defineComponent({
|
6813
6826
|
name: name$X,
|
6814
6827
|
props: cascaderProps,
|
6815
6828
|
emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
|
@@ -7014,14 +7027,14 @@ var stdin_default$11 = defineComponent({
|
|
7014
7027
|
}, [renderHeader(), renderTabs()]);
|
7015
7028
|
}
|
7016
7029
|
});
|
7017
|
-
const Cascader = withInstall(stdin_default$
|
7030
|
+
const Cascader = withInstall(stdin_default$14);
|
7018
7031
|
const [name$W, bem$V] = createNamespace("cell-group");
|
7019
7032
|
const cellGroupProps = {
|
7020
7033
|
title: String,
|
7021
7034
|
inset: Boolean,
|
7022
7035
|
border: truthProp
|
7023
7036
|
};
|
7024
|
-
var stdin_default$
|
7037
|
+
var stdin_default$13 = defineComponent({
|
7025
7038
|
name: name$W,
|
7026
7039
|
inheritAttrs: false,
|
7027
7040
|
props: cellGroupProps,
|
@@ -7052,7 +7065,7 @@ var stdin_default$10 = defineComponent({
|
|
7052
7065
|
};
|
7053
7066
|
}
|
7054
7067
|
});
|
7055
|
-
const CellGroup = withInstall(stdin_default$
|
7068
|
+
const CellGroup = withInstall(stdin_default$13);
|
7056
7069
|
const [name$V, bem$U] = createNamespace("checkbox-group");
|
7057
7070
|
const checkboxGroupProps = {
|
7058
7071
|
max: numericProp,
|
@@ -7063,7 +7076,7 @@ const checkboxGroupProps = {
|
|
7063
7076
|
checkedColor: String
|
7064
7077
|
};
|
7065
7078
|
const CHECKBOX_GROUP_KEY = Symbol(name$V);
|
7066
|
-
var stdin_default
|
7079
|
+
var stdin_default$12 = defineComponent({
|
7067
7080
|
name: name$V,
|
7068
7081
|
props: checkboxGroupProps,
|
7069
7082
|
emits: ["change", "update:modelValue"],
|
@@ -7119,7 +7132,7 @@ const [name$U, bem$T] = createNamespace("checkbox");
|
|
7119
7132
|
const checkboxProps = extend({}, checkerProps, {
|
7120
7133
|
bindGroup: truthProp
|
7121
7134
|
});
|
7122
|
-
var stdin_default$
|
7135
|
+
var stdin_default$11 = defineComponent({
|
7123
7136
|
name: name$U,
|
7124
7137
|
props: checkboxProps,
|
7125
7138
|
emits: ["change", "update:modelValue"],
|
@@ -7177,7 +7190,7 @@ var stdin_default$_ = defineComponent({
|
|
7177
7190
|
checked
|
7178
7191
|
});
|
7179
7192
|
useCustomFieldValue(() => props.modelValue);
|
7180
|
-
return () => createVNode(stdin_default$
|
7193
|
+
return () => createVNode(stdin_default$1f, mergeProps({
|
7181
7194
|
"bem": bem$T,
|
7182
7195
|
"role": "checkbox",
|
7183
7196
|
"parent": parent,
|
@@ -7186,8 +7199,8 @@ var stdin_default$_ = defineComponent({
|
|
7186
7199
|
}, props), pick(slots, ["default", "icon"]));
|
7187
7200
|
}
|
7188
7201
|
});
|
7189
|
-
const Checkbox = withInstall(stdin_default$
|
7190
|
-
const CheckboxGroup = withInstall(stdin_default
|
7202
|
+
const Checkbox = withInstall(stdin_default$11);
|
7203
|
+
const CheckboxGroup = withInstall(stdin_default$12);
|
7191
7204
|
const [name$T, bem$S] = createNamespace("circle");
|
7192
7205
|
let uid = 0;
|
7193
7206
|
const format = (rate) => Math.min(Math.max(+rate, 0), 100);
|
@@ -7209,7 +7222,7 @@ const circleProps = {
|
|
7209
7222
|
strokeLinecap: String,
|
7210
7223
|
startPosition: makeStringProp("top")
|
7211
7224
|
};
|
7212
|
-
var stdin_default$
|
7225
|
+
var stdin_default$10 = defineComponent({
|
7213
7226
|
name: name$T,
|
7214
7227
|
props: circleProps,
|
7215
7228
|
emits: ["update:currentRate"],
|
@@ -7333,7 +7346,7 @@ var stdin_default$Z = defineComponent({
|
|
7333
7346
|
}, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
|
7334
7347
|
}
|
7335
7348
|
});
|
7336
|
-
const Circle = withInstall(stdin_default$
|
7349
|
+
const Circle = withInstall(stdin_default$10);
|
7337
7350
|
const [name$S, bem$R] = createNamespace("row");
|
7338
7351
|
const ROW_KEY = Symbol(name$S);
|
7339
7352
|
const rowProps = {
|
@@ -7343,7 +7356,7 @@ const rowProps = {
|
|
7343
7356
|
gutter: makeNumericProp(0),
|
7344
7357
|
justify: String
|
7345
7358
|
};
|
7346
|
-
var stdin_default
|
7359
|
+
var stdin_default$$ = defineComponent({
|
7347
7360
|
name: name$S,
|
7348
7361
|
props: rowProps,
|
7349
7362
|
setup(props, {
|
@@ -7423,7 +7436,7 @@ const colProps = {
|
|
7423
7436
|
span: makeNumericProp(0),
|
7424
7437
|
offset: numericProp
|
7425
7438
|
};
|
7426
|
-
var stdin_default$
|
7439
|
+
var stdin_default$_ = defineComponent({
|
7427
7440
|
name: name$R,
|
7428
7441
|
props: colProps,
|
7429
7442
|
setup(props, {
|
@@ -7472,7 +7485,7 @@ var stdin_default$X = defineComponent({
|
|
7472
7485
|
};
|
7473
7486
|
}
|
7474
7487
|
});
|
7475
|
-
const Col = withInstall(stdin_default$
|
7488
|
+
const Col = withInstall(stdin_default$_);
|
7476
7489
|
const [name$Q, bem$P] = createNamespace("collapse");
|
7477
7490
|
const COLLAPSE_KEY = Symbol(name$Q);
|
7478
7491
|
const collapseProps = {
|
@@ -7494,7 +7507,7 @@ function validateModelValue(modelValue, accordion) {
|
|
7494
7507
|
}
|
7495
7508
|
return true;
|
7496
7509
|
}
|
7497
|
-
var stdin_default$
|
7510
|
+
var stdin_default$Z = defineComponent({
|
7498
7511
|
name: name$Q,
|
7499
7512
|
props: collapseProps,
|
7500
7513
|
emits: ["change", "update:modelValue"],
|
@@ -7572,7 +7585,7 @@ var stdin_default$W = defineComponent({
|
|
7572
7585
|
};
|
7573
7586
|
}
|
7574
7587
|
});
|
7575
|
-
const Collapse = withInstall(stdin_default$
|
7588
|
+
const Collapse = withInstall(stdin_default$Z);
|
7576
7589
|
const [name$P, bem$O] = createNamespace("collapse-item");
|
7577
7590
|
const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
|
7578
7591
|
const collapseItemProps = extend({}, cellSharedProps, {
|
@@ -7582,7 +7595,7 @@ const collapseItemProps = extend({}, cellSharedProps, {
|
|
7582
7595
|
readonly: Boolean,
|
7583
7596
|
lazyRender: truthProp
|
7584
7597
|
});
|
7585
|
-
var stdin_default$
|
7598
|
+
var stdin_default$Y = defineComponent({
|
7586
7599
|
name: name$P,
|
7587
7600
|
props: collapseItemProps,
|
7588
7601
|
setup(props, {
|
@@ -7697,8 +7710,8 @@ var stdin_default$V = defineComponent({
|
|
7697
7710
|
}, [renderTitle(), renderContent()]);
|
7698
7711
|
}
|
7699
7712
|
});
|
7700
|
-
const CollapseItem = withInstall(stdin_default$
|
7701
|
-
const ConfigProvider = withInstall(stdin_default$
|
7713
|
+
const CollapseItem = withInstall(stdin_default$Y);
|
7714
|
+
const ConfigProvider = withInstall(stdin_default$1J);
|
7702
7715
|
const [name$O, bem$N, t$d] = createNamespace("contact-card");
|
7703
7716
|
const contactCardProps = {
|
7704
7717
|
tel: String,
|
@@ -7707,7 +7720,7 @@ const contactCardProps = {
|
|
7707
7720
|
addText: String,
|
7708
7721
|
editable: truthProp
|
7709
7722
|
};
|
7710
|
-
var stdin_default$
|
7723
|
+
var stdin_default$X = defineComponent({
|
7711
7724
|
name: name$O,
|
7712
7725
|
props: contactCardProps,
|
7713
7726
|
emits: ["click"],
|
@@ -7738,7 +7751,7 @@ var stdin_default$U = defineComponent({
|
|
7738
7751
|
});
|
7739
7752
|
}
|
7740
7753
|
});
|
7741
|
-
const ContactCard = withInstall(stdin_default$
|
7754
|
+
const ContactCard = withInstall(stdin_default$X);
|
7742
7755
|
const [name$N, bem$M, t$c] = createNamespace("contact-edit");
|
7743
7756
|
const DEFAULT_CONTACT = {
|
7744
7757
|
tel: "",
|
@@ -7759,7 +7772,7 @@ const contactEditProps = {
|
|
7759
7772
|
default: isMobile
|
7760
7773
|
}
|
7761
7774
|
};
|
7762
|
-
var stdin_default$
|
7775
|
+
var stdin_default$W = defineComponent({
|
7763
7776
|
name: name$N,
|
7764
7777
|
props: contactEditProps,
|
7765
7778
|
emits: ["save", "delete", "changeDefault"],
|
@@ -7840,7 +7853,7 @@ var stdin_default$T = defineComponent({
|
|
7840
7853
|
});
|
7841
7854
|
}
|
7842
7855
|
});
|
7843
|
-
const ContactEdit = withInstall(stdin_default$
|
7856
|
+
const ContactEdit = withInstall(stdin_default$W);
|
7844
7857
|
const [name$M, bem$L, t$b] = createNamespace("contact-list");
|
7845
7858
|
const contactListProps = {
|
7846
7859
|
list: Array,
|
@@ -7848,7 +7861,7 @@ const contactListProps = {
|
|
7848
7861
|
modelValue: unknownProp,
|
7849
7862
|
defaultTagText: String
|
7850
7863
|
};
|
7851
|
-
var stdin_default$
|
7864
|
+
var stdin_default$V = defineComponent({
|
7852
7865
|
name: name$M,
|
7853
7866
|
props: contactListProps,
|
7854
7867
|
emits: ["add", "edit", "select", "update:modelValue"],
|
@@ -7918,7 +7931,7 @@ var stdin_default$S = defineComponent({
|
|
7918
7931
|
}, null)])]);
|
7919
7932
|
}
|
7920
7933
|
});
|
7921
|
-
const ContactList = withInstall(stdin_default$
|
7934
|
+
const ContactList = withInstall(stdin_default$V);
|
7922
7935
|
function parseFormat(format2, currentTime) {
|
7923
7936
|
const { days } = currentTime;
|
7924
7937
|
let { hours, minutes, seconds, milliseconds } = currentTime;
|
@@ -7961,7 +7974,7 @@ const countDownProps = {
|
|
7961
7974
|
autoStart: truthProp,
|
7962
7975
|
millisecond: Boolean
|
7963
7976
|
};
|
7964
|
-
var stdin_default$
|
7977
|
+
var stdin_default$U = defineComponent({
|
7965
7978
|
name: name$L,
|
7966
7979
|
props: countDownProps,
|
7967
7980
|
emits: ["change", "finish"],
|
@@ -8001,7 +8014,7 @@ var stdin_default$R = defineComponent({
|
|
8001
8014
|
}, [slots.default ? slots.default(current2.value) : timeText.value]);
|
8002
8015
|
}
|
8003
8016
|
});
|
8004
|
-
const CountDown = withInstall(stdin_default$
|
8017
|
+
const CountDown = withInstall(stdin_default$U);
|
8005
8018
|
function getDate(timeStamp) {
|
8006
8019
|
const date = new Date(timeStamp * 1e3);
|
8007
8020
|
return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
|
@@ -8011,7 +8024,7 @@ function getDate(timeStamp) {
|
|
8011
8024
|
const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
|
8012
8025
|
const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
|
8013
8026
|
const [name$K, bem$J, t$a] = createNamespace("coupon");
|
8014
|
-
var stdin_default$
|
8027
|
+
var stdin_default$T = defineComponent({
|
8015
8028
|
name: name$K,
|
8016
8029
|
props: {
|
8017
8030
|
chosen: Boolean,
|
@@ -8082,7 +8095,7 @@ var stdin_default$Q = defineComponent({
|
|
8082
8095
|
};
|
8083
8096
|
}
|
8084
8097
|
});
|
8085
|
-
const Coupon = withInstall(stdin_default$
|
8098
|
+
const Coupon = withInstall(stdin_default$T);
|
8086
8099
|
const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
|
8087
8100
|
const couponCellProps = {
|
8088
8101
|
title: String,
|
@@ -8111,7 +8124,7 @@ function formatValue({
|
|
8111
8124
|
}
|
8112
8125
|
return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
|
8113
8126
|
}
|
8114
|
-
var stdin_default$
|
8127
|
+
var stdin_default$S = defineComponent({
|
8115
8128
|
name: name$J,
|
8116
8129
|
props: couponCellProps,
|
8117
8130
|
setup(props) {
|
@@ -8130,14 +8143,14 @@ var stdin_default$P = defineComponent({
|
|
8130
8143
|
};
|
8131
8144
|
}
|
8132
8145
|
});
|
8133
|
-
const CouponCell = withInstall(stdin_default$
|
8146
|
+
const CouponCell = withInstall(stdin_default$S);
|
8134
8147
|
const [name$I, bem$H] = createNamespace("empty");
|
8135
8148
|
const emptyProps = {
|
8136
8149
|
image: makeStringProp("default"),
|
8137
8150
|
imageSize: [Number, String, Array],
|
8138
8151
|
description: String
|
8139
8152
|
};
|
8140
|
-
var stdin_default$
|
8153
|
+
var stdin_default$R = defineComponent({
|
8141
8154
|
name: name$I,
|
8142
8155
|
props: emptyProps,
|
8143
8156
|
setup(props, {
|
@@ -8446,7 +8459,7 @@ var stdin_default$O = defineComponent({
|
|
8446
8459
|
}, [renderImage()]), renderDescription(), renderBottom()]);
|
8447
8460
|
}
|
8448
8461
|
});
|
8449
|
-
const Empty = withInstall(stdin_default$
|
8462
|
+
const Empty = withInstall(stdin_default$R);
|
8450
8463
|
const [name$H, bem$G, t$8] = createNamespace("coupon-list");
|
8451
8464
|
const couponListProps = {
|
8452
8465
|
code: makeStringProp(""),
|
@@ -8468,7 +8481,7 @@ const couponListProps = {
|
|
8468
8481
|
exchangeButtonLoading: Boolean,
|
8469
8482
|
exchangeButtonDisabled: Boolean
|
8470
8483
|
};
|
8471
|
-
var stdin_default$
|
8484
|
+
var stdin_default$Q = defineComponent({
|
8472
8485
|
name: name$H,
|
8473
8486
|
props: couponListProps,
|
8474
8487
|
emits: ["change", "exchange", "update:code"],
|
@@ -8619,7 +8632,7 @@ var stdin_default$N = defineComponent({
|
|
8619
8632
|
}, null), [[vShow, props.showCloseButton]])])]);
|
8620
8633
|
}
|
8621
8634
|
});
|
8622
|
-
const CouponList = withInstall(stdin_default$
|
8635
|
+
const CouponList = withInstall(stdin_default$Q);
|
8623
8636
|
const currentYear = new Date().getFullYear();
|
8624
8637
|
const [name$G] = createNamespace("date-picker");
|
8625
8638
|
const datePickerProps = extend({}, sharedProps, {
|
@@ -8638,7 +8651,7 @@ const datePickerProps = extend({}, sharedProps, {
|
|
8638
8651
|
validator: isDate
|
8639
8652
|
}
|
8640
8653
|
});
|
8641
|
-
var stdin_default$
|
8654
|
+
var stdin_default$P = defineComponent({
|
8642
8655
|
name: name$G,
|
8643
8656
|
props: datePickerProps,
|
8644
8657
|
emits: ["confirm", "cancel", "change", "update:modelValue"],
|
@@ -8729,7 +8742,7 @@ var stdin_default$M = defineComponent({
|
|
8729
8742
|
}, pick(props, pickerInheritKeys)), slots);
|
8730
8743
|
}
|
8731
8744
|
});
|
8732
|
-
const DatePicker = withInstall(stdin_default$
|
8745
|
+
const DatePicker = withInstall(stdin_default$P);
|
8733
8746
|
const [name$F, bem$F, t$7] = createNamespace("dialog");
|
8734
8747
|
const dialogProps = extend({}, popupSharedProps, {
|
8735
8748
|
title: String,
|
@@ -8753,7 +8766,7 @@ const dialogProps = extend({}, popupSharedProps, {
|
|
8753
8766
|
closeOnClickOverlay: Boolean
|
8754
8767
|
});
|
8755
8768
|
const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
|
8756
|
-
var stdin_default$
|
8769
|
+
var stdin_default$O = defineComponent({
|
8757
8770
|
name: name$F,
|
8758
8771
|
props: dialogProps,
|
8759
8772
|
emits: ["confirm", "cancel", "keydown", "update:show"],
|
@@ -8972,7 +8985,7 @@ function initInstance$2() {
|
|
8972
8985
|
state,
|
8973
8986
|
toggle
|
8974
8987
|
} = usePopupState();
|
8975
|
-
return () => createVNode(stdin_default$
|
8988
|
+
return () => createVNode(stdin_default$O, mergeProps(state, {
|
8976
8989
|
"onUpdate:show": toggle
|
8977
8990
|
}), null);
|
8978
8991
|
}
|
@@ -9010,14 +9023,14 @@ const closeDialog = () => {
|
|
9010
9023
|
instance$2.toggle(false);
|
9011
9024
|
}
|
9012
9025
|
};
|
9013
|
-
const Dialog = withInstall(stdin_default$
|
9026
|
+
const Dialog = withInstall(stdin_default$O);
|
9014
9027
|
const [name$E, bem$E] = createNamespace("divider");
|
9015
9028
|
const dividerProps = {
|
9016
9029
|
dashed: Boolean,
|
9017
9030
|
hairline: truthProp,
|
9018
9031
|
contentPosition: makeStringProp("center")
|
9019
9032
|
};
|
9020
|
-
var stdin_default$
|
9033
|
+
var stdin_default$N = defineComponent({
|
9021
9034
|
name: name$E,
|
9022
9035
|
props: dividerProps,
|
9023
9036
|
setup(props, {
|
@@ -9036,7 +9049,7 @@ var stdin_default$K = defineComponent({
|
|
9036
9049
|
};
|
9037
9050
|
}
|
9038
9051
|
});
|
9039
|
-
const Divider = withInstall(stdin_default$
|
9052
|
+
const Divider = withInstall(stdin_default$N);
|
9040
9053
|
const [name$D, bem$D] = createNamespace("dropdown-menu");
|
9041
9054
|
const dropdownMenuProps = {
|
9042
9055
|
overlay: truthProp,
|
@@ -9048,7 +9061,7 @@ const dropdownMenuProps = {
|
|
9048
9061
|
closeOnClickOverlay: truthProp
|
9049
9062
|
};
|
9050
9063
|
const DROPDOWN_KEY = Symbol(name$D);
|
9051
|
-
var stdin_default$
|
9064
|
+
var stdin_default$M = defineComponent({
|
9052
9065
|
name: name$D,
|
9053
9066
|
props: dropdownMenuProps,
|
9054
9067
|
setup(props, {
|
@@ -9174,7 +9187,7 @@ const dropdownItemProps = {
|
|
9174
9187
|
modelValue: unknownProp,
|
9175
9188
|
titleClass: unknownProp
|
9176
9189
|
};
|
9177
|
-
var stdin_default$
|
9190
|
+
var stdin_default$L = defineComponent({
|
9178
9191
|
name: name$C,
|
9179
9192
|
inheritAttrs: false,
|
9180
9193
|
props: dropdownItemProps,
|
@@ -9334,8 +9347,8 @@ var stdin_default$I = defineComponent({
|
|
9334
9347
|
};
|
9335
9348
|
}
|
9336
9349
|
});
|
9337
|
-
const DropdownItem = withInstall(stdin_default$
|
9338
|
-
const DropdownMenu = withInstall(stdin_default$
|
9350
|
+
const DropdownItem = withInstall(stdin_default$L);
|
9351
|
+
const DropdownMenu = withInstall(stdin_default$M);
|
9339
9352
|
const [name$B, bem$B] = createNamespace("grid");
|
9340
9353
|
const gridProps = {
|
9341
9354
|
square: Boolean,
|
@@ -9349,7 +9362,7 @@ const gridProps = {
|
|
9349
9362
|
columnNum: makeNumericProp(4)
|
9350
9363
|
};
|
9351
9364
|
const GRID_KEY = Symbol(name$B);
|
9352
|
-
var stdin_default$
|
9365
|
+
var stdin_default$K = defineComponent({
|
9353
9366
|
name: name$B,
|
9354
9367
|
props: gridProps,
|
9355
9368
|
setup(props, {
|
@@ -9374,7 +9387,7 @@ var stdin_default$H = defineComponent({
|
|
9374
9387
|
};
|
9375
9388
|
}
|
9376
9389
|
});
|
9377
|
-
const Grid = withInstall(stdin_default$
|
9390
|
+
const Grid = withInstall(stdin_default$K);
|
9378
9391
|
const [name$A, bem$A] = createNamespace("grid-item");
|
9379
9392
|
const gridItemProps = extend({}, routeProps, {
|
9380
9393
|
dot: Boolean,
|
@@ -9385,7 +9398,7 @@ const gridItemProps = extend({}, routeProps, {
|
|
9385
9398
|
iconPrefix: String,
|
9386
9399
|
badgeProps: Object
|
9387
9400
|
});
|
9388
|
-
var stdin_default$
|
9401
|
+
var stdin_default$J = defineComponent({
|
9389
9402
|
name: name$A,
|
9390
9403
|
props: gridItemProps,
|
9391
9404
|
setup(props, {
|
@@ -9509,10 +9522,10 @@ var stdin_default$G = defineComponent({
|
|
9509
9522
|
};
|
9510
9523
|
}
|
9511
9524
|
});
|
9512
|
-
const GridItem = withInstall(stdin_default$
|
9525
|
+
const GridItem = withInstall(stdin_default$J);
|
9513
9526
|
const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
|
9514
9527
|
const bem$z = createNamespace("image-preview")[1];
|
9515
|
-
var stdin_default$
|
9528
|
+
var stdin_default$I = defineComponent({
|
9516
9529
|
props: {
|
9517
9530
|
src: String,
|
9518
9531
|
show: Boolean,
|
@@ -9788,7 +9801,7 @@ const imagePreviewProps = {
|
|
9788
9801
|
closeIconPosition: makeStringProp("top-right"),
|
9789
9802
|
teleport: [String, Object]
|
9790
9803
|
};
|
9791
|
-
var stdin_default$
|
9804
|
+
var stdin_default$H = defineComponent({
|
9792
9805
|
name: name$z,
|
9793
9806
|
props: imagePreviewProps,
|
9794
9807
|
emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
|
@@ -9851,7 +9864,7 @@ var stdin_default$E = defineComponent({
|
|
9851
9864
|
"indicatorColor": "white",
|
9852
9865
|
"onChange": setActive
|
9853
9866
|
}, {
|
9854
|
-
default: () => [props.images.map((image, index) => createVNode(stdin_default$
|
9867
|
+
default: () => [props.images.map((image, index) => createVNode(stdin_default$I, {
|
9855
9868
|
"src": image,
|
9856
9869
|
"show": props.show,
|
9857
9870
|
"active": state.active,
|
@@ -9955,7 +9968,7 @@ function initInstance$1() {
|
|
9955
9968
|
const onClosed = () => {
|
9956
9969
|
state.images = [];
|
9957
9970
|
};
|
9958
|
-
return () => createVNode(stdin_default$
|
9971
|
+
return () => createVNode(stdin_default$H, mergeProps(state, {
|
9959
9972
|
"onClosed": onClosed,
|
9960
9973
|
"onUpdate:show": toggle
|
9961
9974
|
}), null);
|
@@ -9976,7 +9989,7 @@ const showImagePreview = (options, startPosition = 0) => {
|
|
9976
9989
|
instance$1.open(extend({}, defaultConfig, options));
|
9977
9990
|
return instance$1;
|
9978
9991
|
};
|
9979
|
-
const ImagePreview = withInstall(stdin_default$
|
9992
|
+
const ImagePreview = withInstall(stdin_default$H);
|
9980
9993
|
function genAlphabet() {
|
9981
9994
|
const charCodeOfA = "A".charCodeAt(0);
|
9982
9995
|
const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
|
@@ -9995,7 +10008,7 @@ const indexBarProps = {
|
|
9995
10008
|
}
|
9996
10009
|
};
|
9997
10010
|
const INDEX_BAR_KEY = Symbol(name$y);
|
9998
|
-
var stdin_default$
|
10011
|
+
var stdin_default$G = defineComponent({
|
9999
10012
|
name: name$y,
|
10000
10013
|
props: indexBarProps,
|
10001
10014
|
emits: ["select", "change"],
|
@@ -10197,7 +10210,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
|
|
10197
10210
|
const indexAnchorProps = {
|
10198
10211
|
index: numericProp
|
10199
10212
|
};
|
10200
|
-
var stdin_default$
|
10213
|
+
var stdin_default$F = defineComponent({
|
10201
10214
|
name: name$x,
|
10202
10215
|
props: indexAnchorProps,
|
10203
10216
|
setup(props, {
|
@@ -10270,8 +10283,8 @@ var stdin_default$C = defineComponent({
|
|
10270
10283
|
};
|
10271
10284
|
}
|
10272
10285
|
});
|
10273
|
-
const IndexAnchor = withInstall(stdin_default$
|
10274
|
-
const IndexBar = withInstall(stdin_default$
|
10286
|
+
const IndexAnchor = withInstall(stdin_default$F);
|
10287
|
+
const IndexBar = withInstall(stdin_default$G);
|
10275
10288
|
const [name$w, bem$v, t$6] = createNamespace("list");
|
10276
10289
|
const listProps = {
|
10277
10290
|
error: Boolean,
|
@@ -10285,7 +10298,7 @@ const listProps = {
|
|
10285
10298
|
finishedText: String,
|
10286
10299
|
immediateCheck: truthProp
|
10287
10300
|
};
|
10288
|
-
var stdin_default$
|
10301
|
+
var stdin_default$E = defineComponent({
|
10289
10302
|
name: name$w,
|
10290
10303
|
props: listProps,
|
10291
10304
|
emits: ["load", "update:error", "update:loading"],
|
@@ -10402,7 +10415,7 @@ var stdin_default$B = defineComponent({
|
|
10402
10415
|
};
|
10403
10416
|
}
|
10404
10417
|
});
|
10405
|
-
const List = withInstall(stdin_default$
|
10418
|
+
const List = withInstall(stdin_default$E);
|
10406
10419
|
const [name$v, bem$u] = createNamespace("nav-bar");
|
10407
10420
|
const navBarProps = {
|
10408
10421
|
title: String,
|
@@ -10416,7 +10429,7 @@ const navBarProps = {
|
|
10416
10429
|
safeAreaInsetTop: Boolean,
|
10417
10430
|
clickable: truthProp
|
10418
10431
|
};
|
10419
|
-
var stdin_default$
|
10432
|
+
var stdin_default$D = defineComponent({
|
10420
10433
|
name: name$v,
|
10421
10434
|
props: navBarProps,
|
10422
10435
|
emits: ["clickLeft", "clickRight"],
|
@@ -10486,7 +10499,7 @@ var stdin_default$A = defineComponent({
|
|
10486
10499
|
};
|
10487
10500
|
}
|
10488
10501
|
});
|
10489
|
-
const NavBar = withInstall(stdin_default$
|
10502
|
+
const NavBar = withInstall(stdin_default$D);
|
10490
10503
|
const [name$u, bem$t] = createNamespace("notice-bar");
|
10491
10504
|
const noticeBarProps = {
|
10492
10505
|
text: String,
|
@@ -10502,7 +10515,7 @@ const noticeBarProps = {
|
|
10502
10515
|
default: null
|
10503
10516
|
}
|
10504
10517
|
};
|
10505
|
-
var stdin_default$
|
10518
|
+
var stdin_default$C = defineComponent({
|
10506
10519
|
name: name$u,
|
10507
10520
|
props: noticeBarProps,
|
10508
10521
|
emits: ["close", "replay"],
|
@@ -10642,7 +10655,7 @@ var stdin_default$z = defineComponent({
|
|
10642
10655
|
};
|
10643
10656
|
}
|
10644
10657
|
});
|
10645
|
-
const NoticeBar = withInstall(stdin_default$
|
10658
|
+
const NoticeBar = withInstall(stdin_default$C);
|
10646
10659
|
const [name$t, bem$s] = createNamespace("notify");
|
10647
10660
|
const notifyProps = extend({}, popupSharedProps, {
|
10648
10661
|
type: makeStringProp("danger"),
|
@@ -10653,7 +10666,7 @@ const notifyProps = extend({}, popupSharedProps, {
|
|
10653
10666
|
background: String,
|
10654
10667
|
lockScroll: Boolean
|
10655
10668
|
});
|
10656
|
-
var stdin_default$
|
10669
|
+
var stdin_default$B = defineComponent({
|
10657
10670
|
name: name$t,
|
10658
10671
|
props: notifyProps,
|
10659
10672
|
emits: ["update:show"],
|
@@ -10694,7 +10707,7 @@ function initInstance() {
|
|
10694
10707
|
state,
|
10695
10708
|
toggle
|
10696
10709
|
} = usePopupState();
|
10697
|
-
return () => createVNode(stdin_default$
|
10710
|
+
return () => createVNode(stdin_default$B, mergeProps(state, {
|
10698
10711
|
"onUpdate:show": toggle
|
10699
10712
|
}), null);
|
10700
10713
|
}
|
@@ -10738,7 +10751,7 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
|
|
10738
10751
|
const resetNotifyDefaultOptions = () => {
|
10739
10752
|
currentOptions = getDefaultOptions();
|
10740
10753
|
};
|
10741
|
-
const Notify = withInstall(stdin_default$
|
10754
|
+
const Notify = withInstall(stdin_default$B);
|
10742
10755
|
const [name$s, bem$r] = createNamespace("key");
|
10743
10756
|
const CollapseIcon = createVNode("svg", {
|
10744
10757
|
"class": bem$r("collapse-icon"),
|
@@ -10754,7 +10767,7 @@ const DeleteIcon = createVNode("svg", {
|
|
10754
10767
|
"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",
|
10755
10768
|
"fill": "currentColor"
|
10756
10769
|
}, null)]);
|
10757
|
-
var stdin_default$
|
10770
|
+
var stdin_default$A = defineComponent({
|
10758
10771
|
name: name$s,
|
10759
10772
|
props: {
|
10760
10773
|
type: String,
|
@@ -10857,7 +10870,7 @@ function shuffle(array) {
|
|
10857
10870
|
}
|
10858
10871
|
return array;
|
10859
10872
|
}
|
10860
|
-
var stdin_default$
|
10873
|
+
var stdin_default$z = defineComponent({
|
10861
10874
|
name: name$r,
|
10862
10875
|
inheritAttrs: false,
|
10863
10876
|
props: numberKeyboardProps,
|
@@ -10976,7 +10989,7 @@ var stdin_default$w = defineComponent({
|
|
10976
10989
|
if (key.type === "extra") {
|
10977
10990
|
keySlots.default = slots["extra-key"];
|
10978
10991
|
}
|
10979
|
-
return createVNode(stdin_default$
|
10992
|
+
return createVNode(stdin_default$A, {
|
10980
10993
|
"key": key.text,
|
10981
10994
|
"text": key.text,
|
10982
10995
|
"type": key.type,
|
@@ -10989,14 +11002,14 @@ var stdin_default$w = defineComponent({
|
|
10989
11002
|
if (props.theme === "custom") {
|
10990
11003
|
return createVNode("div", {
|
10991
11004
|
"class": bem$q("sidebar")
|
10992
|
-
}, [props.showDeleteKey && createVNode(stdin_default$
|
11005
|
+
}, [props.showDeleteKey && createVNode(stdin_default$A, {
|
10993
11006
|
"large": true,
|
10994
11007
|
"text": props.deleteButtonText,
|
10995
11008
|
"type": "delete",
|
10996
11009
|
"onPress": onPress
|
10997
11010
|
}, {
|
10998
11011
|
delete: slots.delete
|
10999
|
-
}), createVNode(stdin_default$
|
11012
|
+
}), createVNode(stdin_default$A, {
|
11000
11013
|
"large": true,
|
11001
11014
|
"text": props.closeButtonText,
|
11002
11015
|
"type": "close",
|
@@ -11047,7 +11060,7 @@ var stdin_default$w = defineComponent({
|
|
11047
11060
|
};
|
11048
11061
|
}
|
11049
11062
|
});
|
11050
|
-
const NumberKeyboard = withInstall(stdin_default$
|
11063
|
+
const NumberKeyboard = withInstall(stdin_default$z);
|
11051
11064
|
const [name$q, bem$p, t$5] = createNamespace("pagination");
|
11052
11065
|
const makePage = (number, text, active) => ({
|
11053
11066
|
number,
|
@@ -11065,7 +11078,7 @@ const paginationProps = {
|
|
11065
11078
|
itemsPerPage: makeNumericProp(10),
|
11066
11079
|
forceEllipses: Boolean
|
11067
11080
|
};
|
11068
|
-
var stdin_default$
|
11081
|
+
var stdin_default$y = defineComponent({
|
11069
11082
|
name: name$q,
|
11070
11083
|
props: paginationProps,
|
11071
11084
|
emits: ["change", "update:modelValue"],
|
@@ -11186,7 +11199,7 @@ var stdin_default$v = defineComponent({
|
|
11186
11199
|
}, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
|
11187
11200
|
}
|
11188
11201
|
});
|
11189
|
-
const Pagination = withInstall(stdin_default$
|
11202
|
+
const Pagination = withInstall(stdin_default$y);
|
11190
11203
|
const [name$p, bem$o] = createNamespace("password-input");
|
11191
11204
|
const passwordInputProps = {
|
11192
11205
|
info: String,
|
@@ -11197,7 +11210,7 @@ const passwordInputProps = {
|
|
11197
11210
|
focused: Boolean,
|
11198
11211
|
errorInfo: String
|
11199
11212
|
};
|
11200
|
-
var stdin_default$
|
11213
|
+
var stdin_default$x = defineComponent({
|
11201
11214
|
name: name$p,
|
11202
11215
|
props: passwordInputProps,
|
11203
11216
|
emits: ["focus"],
|
@@ -11259,8 +11272,8 @@ var stdin_default$u = defineComponent({
|
|
11259
11272
|
};
|
11260
11273
|
}
|
11261
11274
|
});
|
11262
|
-
const PasswordInput = withInstall(stdin_default$
|
11263
|
-
const PickerGroup = withInstall(stdin_default$
|
11275
|
+
const PasswordInput = withInstall(stdin_default$x);
|
11276
|
+
const PickerGroup = withInstall(stdin_default$1r);
|
11264
11277
|
const useSyncPropRef = (getProp, setProp) => {
|
11265
11278
|
const propRef = ref(getProp());
|
11266
11279
|
watch(getProp, (value) => {
|
@@ -11301,7 +11314,7 @@ const popoverProps = {
|
|
11301
11314
|
default: "body"
|
11302
11315
|
}
|
11303
11316
|
};
|
11304
|
-
var stdin_default$
|
11317
|
+
var stdin_default$w = defineComponent({
|
11305
11318
|
name: name$o,
|
11306
11319
|
props: popoverProps,
|
11307
11320
|
emits: ["select", "touchstart", "update:show"],
|
@@ -11447,7 +11460,7 @@ var stdin_default$t = defineComponent({
|
|
11447
11460
|
};
|
11448
11461
|
}
|
11449
11462
|
});
|
11450
|
-
const Popover = withInstall(stdin_default$
|
11463
|
+
const Popover = withInstall(stdin_default$w);
|
11451
11464
|
const [name$n, bem$m] = createNamespace("progress");
|
11452
11465
|
const progressProps = {
|
11453
11466
|
color: String,
|
@@ -11464,7 +11477,7 @@ const progressProps = {
|
|
11464
11477
|
validator: (value) => value >= 0 && value <= 100
|
11465
11478
|
}
|
11466
11479
|
};
|
11467
|
-
var stdin_default$
|
11480
|
+
var stdin_default$v = defineComponent({
|
11468
11481
|
name: name$n,
|
11469
11482
|
props: progressProps,
|
11470
11483
|
setup(props) {
|
@@ -11518,7 +11531,7 @@ var stdin_default$s = defineComponent({
|
|
11518
11531
|
};
|
11519
11532
|
}
|
11520
11533
|
});
|
11521
|
-
const Progress = withInstall(stdin_default$
|
11534
|
+
const Progress = withInstall(stdin_default$v);
|
11522
11535
|
const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
|
11523
11536
|
const DEFAULT_HEAD_HEIGHT = 50;
|
11524
11537
|
const TEXT_STATUS = ["pulling", "loosing", "success"];
|
@@ -11534,7 +11547,7 @@ const pullRefreshProps = {
|
|
11534
11547
|
successDuration: makeNumericProp(500),
|
11535
11548
|
animationDuration: makeNumericProp(300)
|
11536
11549
|
};
|
11537
|
-
var stdin_default$
|
11550
|
+
var stdin_default$u = defineComponent({
|
11538
11551
|
name: name$m,
|
11539
11552
|
props: pullRefreshProps,
|
11540
11553
|
emits: ["change", "refresh", "update:modelValue"],
|
@@ -11703,7 +11716,7 @@ var stdin_default$r = defineComponent({
|
|
11703
11716
|
};
|
11704
11717
|
}
|
11705
11718
|
});
|
11706
|
-
const PullRefresh = withInstall(stdin_default$
|
11719
|
+
const PullRefresh = withInstall(stdin_default$u);
|
11707
11720
|
const [name$l, bem$k] = createNamespace("rate");
|
11708
11721
|
function getRateStatus(value, index, allowHalf, readonly) {
|
11709
11722
|
if (value >= index) {
|
@@ -11746,7 +11759,7 @@ const rateProps = {
|
|
11746
11759
|
modelValue: makeNumberProp(0),
|
11747
11760
|
disabledColor: String
|
11748
11761
|
};
|
11749
|
-
var stdin_default$
|
11762
|
+
var stdin_default$t = defineComponent({
|
11750
11763
|
name: name$l,
|
11751
11764
|
props: rateProps,
|
11752
11765
|
emits: ["change", "update:modelValue"],
|
@@ -11913,8 +11926,8 @@ var stdin_default$q = defineComponent({
|
|
11913
11926
|
}, [list.value.map(renderStar)]);
|
11914
11927
|
}
|
11915
11928
|
});
|
11916
|
-
const Rate = withInstall(stdin_default$
|
11917
|
-
const Row = withInstall(stdin_default
|
11929
|
+
const Rate = withInstall(stdin_default$t);
|
11930
|
+
const Row = withInstall(stdin_default$$);
|
11918
11931
|
const [name$k, bem$j, t$3] = createNamespace("search");
|
11919
11932
|
const searchProps = extend({}, fieldSharedProps, {
|
11920
11933
|
label: String,
|
@@ -11925,7 +11938,7 @@ const searchProps = extend({}, fieldSharedProps, {
|
|
11925
11938
|
background: String,
|
11926
11939
|
showAction: Boolean
|
11927
11940
|
});
|
11928
|
-
var stdin_default$
|
11941
|
+
var stdin_default$s = defineComponent({
|
11929
11942
|
name: name$k,
|
11930
11943
|
props: searchProps,
|
11931
11944
|
emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
|
@@ -12023,7 +12036,7 @@ var stdin_default$p = defineComponent({
|
|
12023
12036
|
};
|
12024
12037
|
}
|
12025
12038
|
});
|
12026
|
-
const Search = withInstall(stdin_default$
|
12039
|
+
const Search = withInstall(stdin_default$s);
|
12027
12040
|
const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
|
12028
12041
|
const iconMap = {
|
12029
12042
|
qq: "qq",
|
@@ -12045,7 +12058,7 @@ const shareSheetProps = extend({}, popupSharedProps, {
|
|
12045
12058
|
closeOnPopstate: truthProp,
|
12046
12059
|
safeAreaInsetBottom: truthProp
|
12047
12060
|
});
|
12048
|
-
var stdin_default$
|
12061
|
+
var stdin_default$r = defineComponent({
|
12049
12062
|
name: name$j,
|
12050
12063
|
props: shareSheetProps,
|
12051
12064
|
emits: ["cancel", "select", "update:show"],
|
@@ -12137,13 +12150,13 @@ var stdin_default$o = defineComponent({
|
|
12137
12150
|
});
|
12138
12151
|
}
|
12139
12152
|
});
|
12140
|
-
const ShareSheet = withInstall(stdin_default$
|
12153
|
+
const ShareSheet = withInstall(stdin_default$r);
|
12141
12154
|
const [name$i, bem$h] = createNamespace("sidebar");
|
12142
12155
|
const SIDEBAR_KEY = Symbol(name$i);
|
12143
12156
|
const sidebarProps = {
|
12144
12157
|
modelValue: makeNumericProp(0)
|
12145
12158
|
};
|
12146
|
-
var stdin_default$
|
12159
|
+
var stdin_default$q = defineComponent({
|
12147
12160
|
name: name$i,
|
12148
12161
|
props: sidebarProps,
|
12149
12162
|
emits: ["change", "update:modelValue"],
|
@@ -12174,7 +12187,7 @@ var stdin_default$n = defineComponent({
|
|
12174
12187
|
};
|
12175
12188
|
}
|
12176
12189
|
});
|
12177
|
-
const Sidebar = withInstall(stdin_default$
|
12190
|
+
const Sidebar = withInstall(stdin_default$q);
|
12178
12191
|
const [name$h, bem$g] = createNamespace("sidebar-item");
|
12179
12192
|
const sidebarItemProps = extend({}, routeProps, {
|
12180
12193
|
dot: Boolean,
|
@@ -12183,7 +12196,7 @@ const sidebarItemProps = extend({}, routeProps, {
|
|
12183
12196
|
disabled: Boolean,
|
12184
12197
|
badgeProps: Object
|
12185
12198
|
});
|
12186
|
-
var stdin_default$
|
12199
|
+
var stdin_default$p = defineComponent({
|
12187
12200
|
name: name$h,
|
12188
12201
|
props: sidebarItemProps,
|
12189
12202
|
emits: ["click"],
|
@@ -12237,13 +12250,13 @@ var stdin_default$m = defineComponent({
|
|
12237
12250
|
};
|
12238
12251
|
}
|
12239
12252
|
});
|
12240
|
-
const SidebarItem = withInstall(stdin_default$
|
12253
|
+
const SidebarItem = withInstall(stdin_default$p);
|
12241
12254
|
const [name$g, bem$f] = createNamespace("skeleton-title");
|
12242
12255
|
const skeletonTitleProps = {
|
12243
12256
|
round: Boolean,
|
12244
12257
|
titleWidth: numericProp
|
12245
12258
|
};
|
12246
|
-
var stdin_default$
|
12259
|
+
var stdin_default$o = defineComponent({
|
12247
12260
|
name: name$g,
|
12248
12261
|
props: skeletonTitleProps,
|
12249
12262
|
setup(props) {
|
@@ -12257,12 +12270,14 @@ var stdin_default$l = defineComponent({
|
|
12257
12270
|
}, null);
|
12258
12271
|
}
|
12259
12272
|
});
|
12273
|
+
const SkeletonTitle = withInstall(stdin_default$o);
|
12274
|
+
var stdin_default$n = SkeletonTitle;
|
12260
12275
|
const [name$f, bem$e] = createNamespace("skeleton-avatar");
|
12261
12276
|
const skeletonAvatarProps = {
|
12262
12277
|
avatarSize: numericProp,
|
12263
12278
|
avatarShape: makeStringProp("round")
|
12264
12279
|
};
|
12265
|
-
var stdin_default$
|
12280
|
+
var stdin_default$m = defineComponent({
|
12266
12281
|
name: name$f,
|
12267
12282
|
props: skeletonAvatarProps,
|
12268
12283
|
setup(props) {
|
@@ -12272,6 +12287,8 @@ var stdin_default$k = defineComponent({
|
|
12272
12287
|
}, null);
|
12273
12288
|
}
|
12274
12289
|
});
|
12290
|
+
const SkeletonAvatar = withInstall(stdin_default$m);
|
12291
|
+
var stdin_default$l = SkeletonAvatar;
|
12275
12292
|
const DEFAULT_ROW_WIDTH = "100%";
|
12276
12293
|
const skeletonParagraphProps = {
|
12277
12294
|
round: Boolean,
|
@@ -12281,7 +12298,7 @@ const skeletonParagraphProps = {
|
|
12281
12298
|
}
|
12282
12299
|
};
|
12283
12300
|
const [name$e, bem$d] = createNamespace("skeleton-paragraph");
|
12284
|
-
var stdin_default$
|
12301
|
+
var stdin_default$k = defineComponent({
|
12285
12302
|
name: name$e,
|
12286
12303
|
props: skeletonParagraphProps,
|
12287
12304
|
setup(props) {
|
@@ -12295,6 +12312,8 @@ var stdin_default$j = defineComponent({
|
|
12295
12312
|
}, null);
|
12296
12313
|
}
|
12297
12314
|
});
|
12315
|
+
const SkeletonParagraph = withInstall(stdin_default$k);
|
12316
|
+
var stdin_default$j = SkeletonParagraph;
|
12298
12317
|
const [name$d, bem$c] = createNamespace("skeleton");
|
12299
12318
|
const DEFAULT_LAST_ROW_WIDTH = "60%";
|
12300
12319
|
const skeletonProps = {
|
@@ -12322,7 +12341,7 @@ var stdin_default$i = defineComponent({
|
|
12322
12341
|
}) {
|
12323
12342
|
const renderAvatar = () => {
|
12324
12343
|
if (props.avatar) {
|
12325
|
-
return createVNode(stdin_default$
|
12344
|
+
return createVNode(stdin_default$l, {
|
12326
12345
|
"avatarShape": props.avatarShape,
|
12327
12346
|
"avatarSize": props.avatarSize
|
12328
12347
|
}, null);
|
@@ -12330,7 +12349,7 @@ var stdin_default$i = defineComponent({
|
|
12330
12349
|
};
|
12331
12350
|
const renderTitle = () => {
|
12332
12351
|
if (props.title) {
|
12333
|
-
return createVNode(stdin_default$
|
12352
|
+
return createVNode(stdin_default$n, {
|
12334
12353
|
"round": props.round,
|
12335
12354
|
"titleWidth": props.titleWidth
|
12336
12355
|
}, null);
|
@@ -12375,6 +12394,7 @@ var stdin_default$i = defineComponent({
|
|
12375
12394
|
};
|
12376
12395
|
}
|
12377
12396
|
});
|
12397
|
+
const Skeleton = withInstall(stdin_default$i);
|
12378
12398
|
const [name$c, bem$b] = createNamespace("skeleton-image");
|
12379
12399
|
const skeletonImageProps = {
|
12380
12400
|
imageSize: numericProp,
|
@@ -12394,10 +12414,6 @@ var stdin_default$h = defineComponent({
|
|
12394
12414
|
}
|
12395
12415
|
});
|
12396
12416
|
const SkeletonImage = withInstall(stdin_default$h);
|
12397
|
-
const SkeletonTitle = withInstall(stdin_default$l);
|
12398
|
-
const SkeletonAvatar = withInstall(stdin_default$k);
|
12399
|
-
const SkeletonParagraph = withInstall(stdin_default$j);
|
12400
|
-
const Skeleton = withInstall(stdin_default$i);
|
12401
12417
|
const [name$b, bem$a] = createNamespace("slider");
|
12402
12418
|
const sliderProps = {
|
12403
12419
|
min: makeNumericProp(0),
|
@@ -14901,7 +14917,7 @@ const Lazyload = {
|
|
14901
14917
|
});
|
14902
14918
|
}
|
14903
14919
|
};
|
14904
|
-
const version = "4.0.
|
14920
|
+
const version = "4.0.8";
|
14905
14921
|
function install(app) {
|
14906
14922
|
const components = [
|
14907
14923
|
ActionBar,
|
@@ -14973,6 +14989,10 @@ function install(app) {
|
|
14973
14989
|
Sidebar,
|
14974
14990
|
SidebarItem,
|
14975
14991
|
Skeleton,
|
14992
|
+
SkeletonAvatar,
|
14993
|
+
SkeletonImage,
|
14994
|
+
SkeletonParagraph,
|
14995
|
+
SkeletonTitle,
|
14976
14996
|
Slider,
|
14977
14997
|
Space,
|
14978
14998
|
Step,
|
@@ -15036,6 +15056,7 @@ export {
|
|
15036
15056
|
Coupon,
|
15037
15057
|
CouponCell,
|
15038
15058
|
CouponList,
|
15059
|
+
DEFAULT_ROW_WIDTH,
|
15039
15060
|
DatePicker,
|
15040
15061
|
Dialog,
|
15041
15062
|
Divider,
|