vant 4.0.6 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/es/icon/index.css +1 -1
  2. package/es/image-preview/ImagePreview.d.ts +3 -0
  3. package/es/image-preview/ImagePreview.mjs +3 -2
  4. package/es/image-preview/index.d.ts +2 -0
  5. package/es/index.d.ts +5 -1
  6. package/es/index.mjs +13 -1
  7. package/es/locale/lang/ru-RU.mjs +1 -1
  8. package/es/number-keyboard/index.css +1 -1
  9. package/es/picker/index.css +1 -1
  10. package/es/picker-group/PickerGroup.d.ts +3 -0
  11. package/es/picker-group/PickerGroup.mjs +20 -7
  12. package/es/picker-group/index.d.ts +2 -0
  13. package/es/skeleton/Skeleton.d.ts +1 -1
  14. package/es/skeleton/Skeleton.mjs +3 -3
  15. package/es/skeleton/index.css +1 -1
  16. package/es/skeleton/index.d.ts +6 -73
  17. package/es/skeleton/index.mjs +1 -21
  18. package/es/skeleton/style/index.mjs +3 -2
  19. package/es/skeleton/types.d.ts +0 -2
  20. package/es/{skeleton → skeleton-avatar}/SkeletonAvatar.d.ts +1 -1
  21. package/es/{skeleton → skeleton-avatar}/SkeletonAvatar.mjs +0 -0
  22. package/es/skeleton-avatar/index.css +1 -0
  23. package/es/skeleton-avatar/index.d.ts +23 -0
  24. package/es/skeleton-avatar/index.mjs +10 -0
  25. package/es/skeleton-avatar/style/index.d.ts +1 -0
  26. package/es/skeleton-avatar/style/index.mjs +2 -0
  27. package/{lib/skeleton → es/skeleton-image}/SkeletonImage.d.ts +1 -1
  28. package/es/{skeleton → skeleton-image}/SkeletonImage.mjs +0 -0
  29. package/es/skeleton-image/index.css +1 -0
  30. package/es/skeleton-image/index.d.ts +23 -0
  31. package/es/skeleton-image/index.mjs +10 -0
  32. package/es/skeleton-image/style/index.d.ts +1 -0
  33. package/es/skeleton-image/style/index.mjs +4 -0
  34. package/es/{skeleton → skeleton-paragraph}/SkeletonParagraph.d.ts +0 -0
  35. package/es/{skeleton → skeleton-paragraph}/SkeletonParagraph.mjs +0 -0
  36. package/es/skeleton-paragraph/index.css +1 -0
  37. package/es/skeleton-paragraph/index.d.ts +24 -0
  38. package/es/skeleton-paragraph/index.mjs +11 -0
  39. package/es/skeleton-paragraph/style/index.d.ts +1 -0
  40. package/es/skeleton-paragraph/style/index.mjs +2 -0
  41. package/es/{skeleton → skeleton-title}/SkeletonTitle.d.ts +0 -0
  42. package/es/{skeleton → skeleton-title}/SkeletonTitle.mjs +0 -0
  43. package/es/skeleton-title/index.css +1 -0
  44. package/es/skeleton-title/index.d.ts +17 -0
  45. package/es/skeleton-title/index.mjs +10 -0
  46. package/es/skeleton-title/style/index.d.ts +1 -0
  47. package/es/skeleton-title/style/index.mjs +2 -0
  48. package/es/style/base.css +1 -1
  49. package/es/style/css-variables.css +1 -1
  50. package/es/swipe/Swipe.mjs +3 -0
  51. package/lib/icon/index.css +1 -1
  52. package/lib/image-preview/ImagePreview.d.ts +3 -0
  53. package/lib/image-preview/ImagePreview.js +3 -2
  54. package/lib/image-preview/index.d.ts +2 -0
  55. package/lib/index.css +1 -1
  56. package/lib/index.d.ts +5 -1
  57. package/lib/index.js +13 -1
  58. package/lib/locale/lang/ru-RU.js +1 -1
  59. package/lib/number-keyboard/index.css +1 -1
  60. package/lib/picker/index.css +1 -1
  61. package/lib/picker-group/PickerGroup.d.ts +3 -0
  62. package/lib/picker-group/PickerGroup.js +18 -5
  63. package/lib/picker-group/index.d.ts +2 -0
  64. package/lib/skeleton/Skeleton.d.ts +1 -1
  65. package/lib/skeleton/Skeleton.js +8 -8
  66. package/lib/skeleton/index.css +1 -1
  67. package/lib/skeleton/index.d.ts +6 -73
  68. package/lib/skeleton/index.js +1 -21
  69. package/lib/skeleton/style/index.js +3 -2
  70. package/lib/skeleton/types.d.ts +0 -2
  71. package/lib/{skeleton → skeleton-avatar}/SkeletonAvatar.d.ts +1 -1
  72. package/lib/{skeleton → skeleton-avatar}/SkeletonAvatar.js +0 -0
  73. package/lib/skeleton-avatar/index.css +1 -0
  74. package/lib/skeleton-avatar/index.d.ts +23 -0
  75. package/lib/skeleton-avatar/index.js +35 -0
  76. package/lib/skeleton-avatar/style/index.d.ts +1 -0
  77. package/lib/skeleton-avatar/style/index.js +2 -0
  78. package/{es/skeleton → lib/skeleton-image}/SkeletonImage.d.ts +1 -1
  79. package/lib/{skeleton → skeleton-image}/SkeletonImage.js +0 -0
  80. package/lib/skeleton-image/index.css +1 -0
  81. package/lib/skeleton-image/index.d.ts +23 -0
  82. package/lib/skeleton-image/index.js +35 -0
  83. package/lib/skeleton-image/style/index.d.ts +1 -0
  84. package/lib/skeleton-image/style/index.js +4 -0
  85. package/lib/{skeleton → skeleton-paragraph}/SkeletonParagraph.d.ts +0 -0
  86. package/lib/{skeleton → skeleton-paragraph}/SkeletonParagraph.js +0 -0
  87. package/lib/skeleton-paragraph/index.css +1 -0
  88. package/lib/skeleton-paragraph/index.d.ts +24 -0
  89. package/lib/skeleton-paragraph/index.js +36 -0
  90. package/lib/skeleton-paragraph/style/index.d.ts +1 -0
  91. package/lib/skeleton-paragraph/style/index.js +2 -0
  92. package/lib/{skeleton → skeleton-title}/SkeletonTitle.d.ts +0 -0
  93. package/lib/{skeleton → skeleton-title}/SkeletonTitle.js +0 -0
  94. package/lib/skeleton-title/index.css +1 -0
  95. package/lib/skeleton-title/index.d.ts +17 -0
  96. package/lib/skeleton-title/index.js +35 -0
  97. package/lib/skeleton-title/style/index.d.ts +1 -0
  98. package/lib/skeleton-title/style/index.js +2 -0
  99. package/lib/style/base.css +1 -1
  100. package/lib/style/css-variables.css +1 -1
  101. package/lib/swipe/Swipe.js +3 -0
  102. package/lib/vant.cjs.js +227 -202
  103. package/lib/vant.es.js +227 -202
  104. package/lib/vant.js +237 -203
  105. package/lib/vant.min.js +1 -1
  106. package/lib/web-types.json +1 -1
  107. package/package.json +3 -3
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$1K = {
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$1K
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$1J = Locale;
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$1J.messages();
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$1I = defineComponent({
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$1I);
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$1H = defineComponent({
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$1H);
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$1G = defineComponent({
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$1F = defineComponent({
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$1F);
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$1E = defineComponent({
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$1E);
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$1D = defineComponent({
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$1D);
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$1C = defineComponent({
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$1C);
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$1B = defineComponent({
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$1B);
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$1A = defineComponent({
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$1A);
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$1z = defineComponent({
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$1z);
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$1y = defineComponent({
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$1y);
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$1x = defineComponent({
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$1w = defineComponent({
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$1v = defineComponent({
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$1v);
2036
+ const Sticky = withInstall(stdin_default$1y);
2037
2037
  const [name$1m, bem$1i] = createNamespace("tab");
2038
- var stdin_default$1u = defineComponent({
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$1t = defineComponent({
2136
+ var stdin_default$1w = defineComponent({
2137
2137
  name: name$1l,
2138
2138
  props: swipeProps,
2139
2139
  emits: ["change"],
@@ -2300,6 +2300,9 @@ var stdin_default$1t = defineComponent({
2300
2300
  }
2301
2301
  if (count.value) {
2302
2302
  active = Math.min(count.value - 1, active);
2303
+ if (active === -1) {
2304
+ active = count.value - 1;
2305
+ }
2303
2306
  }
2304
2307
  state.active = active;
2305
2308
  state.swiping = true;
@@ -2466,9 +2469,9 @@ var stdin_default$1t = defineComponent({
2466
2469
  };
2467
2470
  }
2468
2471
  });
2469
- const Swipe = withInstall(stdin_default$1t);
2472
+ const Swipe = withInstall(stdin_default$1w);
2470
2473
  const [name$1k, bem$1g] = createNamespace("tabs");
2471
- var stdin_default$1s = defineComponent({
2474
+ var stdin_default$1v = defineComponent({
2472
2475
  name: name$1k,
2473
2476
  props: {
2474
2477
  count: makeRequiredProp(Number),
@@ -2551,7 +2554,7 @@ const tabsProps = {
2551
2554
  titleInactiveColor: String
2552
2555
  };
2553
2556
  const TABS_KEY = Symbol(name$1j);
2554
- var stdin_default$1r = defineComponent({
2557
+ var stdin_default$1u = defineComponent({
2555
2558
  name: name$1j,
2556
2559
  props: tabsProps,
2557
2560
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
@@ -2741,7 +2744,7 @@ var stdin_default$1r = defineComponent({
2741
2744
  setCurrentIndex(index);
2742
2745
  }
2743
2746
  };
2744
- const renderNav = () => children.map((item, index) => createVNode(stdin_default$1u, mergeProps({
2747
+ const renderNav = () => children.map((item, index) => createVNode(stdin_default$1x, mergeProps({
2745
2748
  "key": item.id,
2746
2749
  "id": `${id}-${index}`,
2747
2750
  "ref": setTitleRefs(index),
@@ -2857,7 +2860,7 @@ var stdin_default$1r = defineComponent({
2857
2860
  "onScroll": onStickyScroll
2858
2861
  }, {
2859
2862
  default: () => [renderHeader()]
2860
- }) : renderHeader(), createVNode(stdin_default$1s, {
2863
+ }) : renderHeader(), createVNode(stdin_default$1v, {
2861
2864
  "ref": contentRef,
2862
2865
  "count": children.length,
2863
2866
  "inited": state.inited,
@@ -2878,7 +2881,7 @@ var stdin_default$1r = defineComponent({
2878
2881
  const TAB_STATUS_KEY = Symbol();
2879
2882
  const useTabStatus = () => inject(TAB_STATUS_KEY, null);
2880
2883
  const [name$1i, bem$1e] = createNamespace("swipe-item");
2881
- var stdin_default$1q = defineComponent({
2884
+ var stdin_default$1t = defineComponent({
2882
2885
  name: name$1i,
2883
2886
  setup(props, {
2884
2887
  slots
@@ -2950,7 +2953,7 @@ var stdin_default$1q = defineComponent({
2950
2953
  };
2951
2954
  }
2952
2955
  });
2953
- const SwipeItem = withInstall(stdin_default$1q);
2956
+ const SwipeItem = withInstall(stdin_default$1t);
2954
2957
  const [name$1h, bem$1d] = createNamespace("tab");
2955
2958
  const tabProps = extend({}, routeProps, {
2956
2959
  dot: Boolean,
@@ -2962,7 +2965,7 @@ const tabProps = extend({}, routeProps, {
2962
2965
  titleStyle: [String, Object],
2963
2966
  showZeroBadge: truthProp
2964
2967
  });
2965
- var stdin_default$1p = defineComponent({
2968
+ var stdin_default$1s = defineComponent({
2966
2969
  name: name$1h,
2967
2970
  props: tabProps,
2968
2971
  setup(props, {
@@ -3061,14 +3064,15 @@ var stdin_default$1p = defineComponent({
3061
3064
  };
3062
3065
  }
3063
3066
  });
3064
- const Tab = withInstall(stdin_default$1p);
3065
- const Tabs = withInstall(stdin_default$1r);
3067
+ const Tab = withInstall(stdin_default$1s);
3068
+ const Tabs = withInstall(stdin_default$1u);
3066
3069
  const [name$1g, bem$1c] = createNamespace("picker-group");
3067
3070
  const PICKER_GROUP_KEY = Symbol(name$1g);
3068
3071
  const pickerGroupProps = extend({
3069
- tabs: makeArrayProp()
3072
+ tabs: makeArrayProp(),
3073
+ nextStepText: String
3070
3074
  }, pickerToolbarProps);
3071
- var stdin_default$1o = defineComponent({
3075
+ var stdin_default$1r = defineComponent({
3072
3076
  name: name$1g,
3073
3077
  props: pickerGroupProps,
3074
3078
  emits: ["confirm", "cancel"],
@@ -3076,26 +3080,38 @@ var stdin_default$1o = defineComponent({
3076
3080
  emit,
3077
3081
  slots
3078
3082
  }) {
3083
+ const activeTab = ref(0);
3079
3084
  const {
3080
3085
  children,
3081
3086
  linkChildren
3082
3087
  } = useChildren(PICKER_GROUP_KEY);
3083
3088
  linkChildren();
3089
+ const showNextButton = () => activeTab.value < props.tabs.length - 1 && props.nextStepText;
3084
3090
  const onConfirm = () => {
3085
- emit("confirm", children.map((item) => item.confirm()));
3091
+ if (showNextButton()) {
3092
+ activeTab.value++;
3093
+ } else {
3094
+ emit("confirm", children.map((item) => item.confirm()));
3095
+ }
3086
3096
  };
3087
3097
  const onCancel = () => emit("cancel");
3088
3098
  return () => {
3089
3099
  var _a;
3090
3100
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3101
+ const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
3091
3102
  return createVNode("div", {
3092
3103
  "class": bem$1c()
3093
- }, [createVNode(stdin_default$1w, mergeProps(props, {
3104
+ }, [createVNode(stdin_default$1z, {
3105
+ "title": props.title,
3106
+ "cancelButtonText": props.cancelButtonText,
3107
+ "confirmButtonText": confirmButtonText,
3094
3108
  "onConfirm": onConfirm,
3095
3109
  "onCancel": onCancel
3096
- }), null), createVNode(Tabs, {
3097
- "shrink": true,
3110
+ }, null), createVNode(Tabs, {
3111
+ "active": activeTab.value,
3112
+ "onUpdate:active": ($event) => activeTab.value = $event,
3098
3113
  "class": bem$1c("tabs"),
3114
+ "shrink": true,
3099
3115
  "animated": true
3100
3116
  }, {
3101
3117
  default: () => [props.tabs.map((title, index) => createVNode(Tab, {
@@ -3123,7 +3139,7 @@ const pickerProps = extend({}, pickerSharedProps, {
3123
3139
  toolbarPosition: makeStringProp("top"),
3124
3140
  columnsFieldNames: Object
3125
3141
  });
3126
- var stdin_default$1n = defineComponent({
3142
+ var stdin_default$1q = defineComponent({
3127
3143
  name: name$1q,
3128
3144
  props: pickerProps,
3129
3145
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
@@ -3199,7 +3215,7 @@ var stdin_default$1n = defineComponent({
3199
3215
  return params;
3200
3216
  };
3201
3217
  const cancel = () => emit("cancel", getEventParams());
3202
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1x, {
3218
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1A, {
3203
3219
  "value": selectedValues.value[columnIndex],
3204
3220
  "fields": fields.value,
3205
3221
  "options": options,
@@ -3243,7 +3259,7 @@ var stdin_default$1n = defineComponent({
3243
3259
  };
3244
3260
  const renderToolbar = () => {
3245
3261
  if (props.showToolbar && !parent) {
3246
- return createVNode(stdin_default$1w, mergeProps(pick(props, pickerToolbarPropKeys), {
3262
+ return createVNode(stdin_default$1z, mergeProps(pick(props, pickerToolbarPropKeys), {
3247
3263
  "onConfirm": confirm,
3248
3264
  "onCancel": cancel
3249
3265
  }), pick(slots, pickerToolbarSlots));
@@ -3378,7 +3394,7 @@ function formatDataForCascade({
3378
3394
  }
3379
3395
  return options;
3380
3396
  }
3381
- const Picker = withInstall(stdin_default$1n);
3397
+ const Picker = withInstall(stdin_default$1q);
3382
3398
  const [name$1f, bem$1b] = createNamespace("area");
3383
3399
  const areaProps = extend({}, pickerSharedProps, {
3384
3400
  modelValue: String,
@@ -3389,7 +3405,7 @@ const areaProps = extend({}, pickerSharedProps, {
3389
3405
  default: () => ({})
3390
3406
  }
3391
3407
  });
3392
- var stdin_default$1m = defineComponent({
3408
+ var stdin_default$1p = defineComponent({
3393
3409
  name: name$1f,
3394
3410
  props: areaProps,
3395
3411
  emits: ["change", "confirm", "cancel", "update:modelValue"],
@@ -3445,7 +3461,7 @@ var stdin_default$1m = defineComponent({
3445
3461
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3446
3462
  }
3447
3463
  });
3448
- const Area = withInstall(stdin_default$1m);
3464
+ const Area = withInstall(stdin_default$1p);
3449
3465
  const [name$1e, bem$1a] = createNamespace("cell");
3450
3466
  const cellSharedProps = {
3451
3467
  tag: makeStringProp("div"),
@@ -3470,7 +3486,7 @@ const cellSharedProps = {
3470
3486
  }
3471
3487
  };
3472
3488
  const cellProps = extend({}, cellSharedProps, routeProps);
3473
- var stdin_default$1l = defineComponent({
3489
+ var stdin_default$1o = defineComponent({
3474
3490
  name: name$1e,
3475
3491
  props: cellProps,
3476
3492
  setup(props, {
@@ -3565,7 +3581,7 @@ var stdin_default$1l = defineComponent({
3565
3581
  };
3566
3582
  }
3567
3583
  });
3568
- const Cell = withInstall(stdin_default$1l);
3584
+ const Cell = withInstall(stdin_default$1o);
3569
3585
  const [name$1d, bem$19] = createNamespace("form");
3570
3586
  const formProps = {
3571
3587
  colon: Boolean,
@@ -3585,7 +3601,7 @@ const formProps = {
3585
3601
  default: "onBlur"
3586
3602
  }
3587
3603
  };
3588
- var stdin_default$1k = defineComponent({
3604
+ var stdin_default$1n = defineComponent({
3589
3605
  name: name$1d,
3590
3606
  props: formProps,
3591
3607
  emits: ["submit", "failed"],
@@ -3718,7 +3734,7 @@ var stdin_default$1k = defineComponent({
3718
3734
  };
3719
3735
  }
3720
3736
  });
3721
- const Form = withInstall(stdin_default$1k);
3737
+ const Form = withInstall(stdin_default$1n);
3722
3738
  function isEmptyValue(value) {
3723
3739
  if (Array.isArray(value)) {
3724
3740
  return !value.length;
@@ -3854,7 +3870,7 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3854
3870
  default: null
3855
3871
  }
3856
3872
  });
3857
- var stdin_default$1j = defineComponent({
3873
+ var stdin_default$1m = defineComponent({
3858
3874
  name: name$1c,
3859
3875
  props: fieldProps,
3860
3876
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
@@ -4302,7 +4318,7 @@ var stdin_default$1j = defineComponent({
4302
4318
  };
4303
4319
  }
4304
4320
  });
4305
- const Field = withInstall(stdin_default$1j);
4321
+ const Field = withInstall(stdin_default$1m);
4306
4322
  let lockCount = 0;
4307
4323
  function lockClick(lock) {
4308
4324
  if (lock) {
@@ -4340,7 +4356,7 @@ const toastProps = {
4340
4356
  closeOnClick: Boolean,
4341
4357
  closeOnClickOverlay: Boolean
4342
4358
  };
4343
- var stdin_default$1i = defineComponent({
4359
+ var stdin_default$1l = defineComponent({
4344
4360
  name: name$1b,
4345
4361
  props: toastProps,
4346
4362
  emits: ["update:show"],
@@ -4522,7 +4538,7 @@ function createInstance() {
4522
4538
  onClosed,
4523
4539
  "onUpdate:show": toggle
4524
4540
  };
4525
- return createVNode(stdin_default$1i, mergeProps(state, attrs), null);
4541
+ return createVNode(stdin_default$1l, mergeProps(state, attrs), null);
4526
4542
  };
4527
4543
  watch(message, (val) => {
4528
4544
  state.message = val;
@@ -4592,7 +4608,7 @@ const resetToastDefaultOptions = (type) => {
4592
4608
  const allowMultipleToast = (value = true) => {
4593
4609
  allowMultiple = value;
4594
4610
  };
4595
- const Toast = withInstall(stdin_default$1i);
4611
+ const Toast = withInstall(stdin_default$1l);
4596
4612
  const [name$1a, bem$16] = createNamespace("switch");
4597
4613
  const switchProps = {
4598
4614
  size: numericProp,
@@ -4610,7 +4626,7 @@ const switchProps = {
4610
4626
  default: false
4611
4627
  }
4612
4628
  };
4613
- var stdin_default$1h = defineComponent({
4629
+ var stdin_default$1k = defineComponent({
4614
4630
  name: name$1a,
4615
4631
  props: switchProps,
4616
4632
  emits: ["change", "update:modelValue"],
@@ -4670,10 +4686,10 @@ var stdin_default$1h = defineComponent({
4670
4686
  };
4671
4687
  }
4672
4688
  });
4673
- const Switch = withInstall(stdin_default$1h);
4689
+ const Switch = withInstall(stdin_default$1k);
4674
4690
  const [name$19, bem$15] = createNamespace("address-edit-detail");
4675
4691
  const t$i = createNamespace("address-edit")[2];
4676
- var stdin_default$1g = defineComponent({
4692
+ var stdin_default$1j = defineComponent({
4677
4693
  name: name$19,
4678
4694
  props: {
4679
4695
  show: Boolean,
@@ -4779,7 +4795,7 @@ const addressEditProps = {
4779
4795
  default: isMobile
4780
4796
  }
4781
4797
  };
4782
- var stdin_default$1f = defineComponent({
4798
+ var stdin_default$1i = defineComponent({
4783
4799
  name: name$18,
4784
4800
  props: addressEditProps,
4785
4801
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
@@ -4954,7 +4970,7 @@ var stdin_default$1f = defineComponent({
4954
4970
  emit("clickArea");
4955
4971
  showAreaPopup.value = !disableArea;
4956
4972
  }
4957
- }, null), [[vShow, props.showArea]]), createVNode(stdin_default$1g, {
4973
+ }, null), [[vShow, props.showArea]]), createVNode(stdin_default$1j, {
4958
4974
  "show": props.showDetail,
4959
4975
  "rows": props.detailRows,
4960
4976
  "rules": rules.value.addressDetail,
@@ -5010,7 +5026,7 @@ var stdin_default$1f = defineComponent({
5010
5026
  };
5011
5027
  }
5012
5028
  });
5013
- const AddressEdit = withInstall(stdin_default$1f);
5029
+ const AddressEdit = withInstall(stdin_default$1i);
5014
5030
  const [name$17, bem$13] = createNamespace("radio-group");
5015
5031
  const radioGroupProps = {
5016
5032
  disabled: Boolean,
@@ -5020,7 +5036,7 @@ const radioGroupProps = {
5020
5036
  checkedColor: String
5021
5037
  };
5022
5038
  const RADIO_KEY = Symbol(name$17);
5023
- var stdin_default$1e = defineComponent({
5039
+ var stdin_default$1h = defineComponent({
5024
5040
  name: name$17,
5025
5041
  props: radioGroupProps,
5026
5042
  emits: ["change", "update:modelValue"],
@@ -5047,7 +5063,7 @@ var stdin_default$1e = defineComponent({
5047
5063
  };
5048
5064
  }
5049
5065
  });
5050
- const RadioGroup = withInstall(stdin_default$1e);
5066
+ const RadioGroup = withInstall(stdin_default$1h);
5051
5067
  const [name$16, bem$12] = createNamespace("tag");
5052
5068
  const tagProps = {
5053
5069
  size: String,
@@ -5060,7 +5076,7 @@ const tagProps = {
5060
5076
  textColor: String,
5061
5077
  closeable: Boolean
5062
5078
  };
5063
- var stdin_default$1d = defineComponent({
5079
+ var stdin_default$1g = defineComponent({
5064
5080
  name: name$16,
5065
5081
  props: tagProps,
5066
5082
  emits: ["close"],
@@ -5119,7 +5135,7 @@ var stdin_default$1d = defineComponent({
5119
5135
  });
5120
5136
  }
5121
5137
  });
5122
- const Tag = withInstall(stdin_default$1d);
5138
+ const Tag = withInstall(stdin_default$1g);
5123
5139
  const checkerProps = {
5124
5140
  name: unknownProp,
5125
5141
  shape: makeStringProp("round"),
@@ -5130,7 +5146,7 @@ const checkerProps = {
5130
5146
  labelPosition: String,
5131
5147
  labelDisabled: Boolean
5132
5148
  };
5133
- var stdin_default$1c = defineComponent({
5149
+ var stdin_default$1f = defineComponent({
5134
5150
  props: extend({}, checkerProps, {
5135
5151
  bem: makeRequiredProp(Function),
5136
5152
  role: String,
@@ -5221,7 +5237,7 @@ var stdin_default$1c = defineComponent({
5221
5237
  });
5222
5238
  const radioProps = checkerProps;
5223
5239
  const [name$15, bem$11] = createNamespace("radio");
5224
- var stdin_default$1b = defineComponent({
5240
+ var stdin_default$1e = defineComponent({
5225
5241
  name: name$15,
5226
5242
  props: checkerProps,
5227
5243
  emits: ["update:modelValue"],
@@ -5243,7 +5259,7 @@ var stdin_default$1b = defineComponent({
5243
5259
  emit("update:modelValue", props.name);
5244
5260
  }
5245
5261
  };
5246
- return () => createVNode(stdin_default$1c, mergeProps({
5262
+ return () => createVNode(stdin_default$1f, mergeProps({
5247
5263
  "bem": bem$11,
5248
5264
  "role": "radio",
5249
5265
  "parent": parent,
@@ -5252,9 +5268,9 @@ var stdin_default$1b = defineComponent({
5252
5268
  }, props), pick(slots, ["default", "icon"]));
5253
5269
  }
5254
5270
  });
5255
- const Radio = withInstall(stdin_default$1b);
5271
+ const Radio = withInstall(stdin_default$1e);
5256
5272
  const [name$14, bem$10] = createNamespace("address-item");
5257
- var stdin_default$1a = defineComponent({
5273
+ var stdin_default$1d = defineComponent({
5258
5274
  name: name$14,
5259
5275
  props: {
5260
5276
  address: makeRequiredProp(Object),
@@ -5349,7 +5365,7 @@ const addressListProps = {
5349
5365
  addButtonText: String,
5350
5366
  defaultTagText: String
5351
5367
  };
5352
- var stdin_default$19 = defineComponent({
5368
+ var stdin_default$1c = defineComponent({
5353
5369
  name: name$13,
5354
5370
  props: addressListProps,
5355
5371
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
@@ -5366,7 +5382,7 @@ var stdin_default$19 = defineComponent({
5366
5382
  emit("update:modelValue", item.id);
5367
5383
  }
5368
5384
  };
5369
- return createVNode(stdin_default$1a, {
5385
+ return createVNode(stdin_default$1d, {
5370
5386
  "key": item.id,
5371
5387
  "address": item,
5372
5388
  "disabled": disabled,
@@ -5412,7 +5428,7 @@ var stdin_default$19 = defineComponent({
5412
5428
  };
5413
5429
  }
5414
5430
  });
5415
- const AddressList = withInstall(stdin_default$19);
5431
+ const AddressList = withInstall(stdin_default$1c);
5416
5432
  const hasIntersectionObserver = inBrowser$1 && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5417
5433
  const modeType = {
5418
5434
  event: "event",
@@ -5576,7 +5592,7 @@ const backTopProps = {
5576
5592
  default: "body"
5577
5593
  }
5578
5594
  };
5579
- var stdin_default$18 = defineComponent({
5595
+ var stdin_default$1b = defineComponent({
5580
5596
  name: name$12,
5581
5597
  inheritAttrs: false,
5582
5598
  props: backTopProps,
@@ -5656,7 +5672,7 @@ var stdin_default$18 = defineComponent({
5656
5672
  };
5657
5673
  }
5658
5674
  });
5659
- const BackTop = withInstall(stdin_default$18);
5675
+ const BackTop = withInstall(stdin_default$1b);
5660
5676
  const [name$11, bem$Z, t$f] = createNamespace("calendar");
5661
5677
  const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
5662
5678
  function compareMonth(date1, date2) {
@@ -5739,7 +5755,7 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
5739
5755
  return value;
5740
5756
  });
5741
5757
  const [name$10] = createNamespace("calendar-day");
5742
- var stdin_default$17 = defineComponent({
5758
+ var stdin_default$1a = defineComponent({
5743
5759
  name: name$10,
5744
5760
  props: {
5745
5761
  item: makeRequiredProp(Object),
@@ -5877,7 +5893,7 @@ const calendarMonthProps = {
5877
5893
  showMonthTitle: Boolean,
5878
5894
  firstDayOfWeek: Number
5879
5895
  };
5880
- var stdin_default$16 = defineComponent({
5896
+ var stdin_default$19 = defineComponent({
5881
5897
  name: name$$,
5882
5898
  props: calendarMonthProps,
5883
5899
  emits: ["click"],
@@ -6030,7 +6046,7 @@ var stdin_default$16 = defineComponent({
6030
6046
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
6031
6047
  }
6032
6048
  };
6033
- const renderDay = (item, index) => createVNode(stdin_default$17, {
6049
+ const renderDay = (item, index) => createVNode(stdin_default$1a, {
6034
6050
  "item": item,
6035
6051
  "index": index,
6036
6052
  "color": props.color,
@@ -6057,7 +6073,7 @@ var stdin_default$16 = defineComponent({
6057
6073
  }
6058
6074
  });
6059
6075
  const [name$_] = createNamespace("calendar-header");
6060
- var stdin_default$15 = defineComponent({
6076
+ var stdin_default$18 = defineComponent({
6061
6077
  name: name$_,
6062
6078
  props: {
6063
6079
  date: Date,
@@ -6158,7 +6174,7 @@ const calendarProps = {
6158
6174
  validator: (val) => val >= 0 && val <= 6
6159
6175
  }
6160
6176
  };
6161
- var stdin_default$14 = defineComponent({
6177
+ var stdin_default$17 = defineComponent({
6162
6178
  name: name$11,
6163
6179
  props: calendarProps,
6164
6180
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
@@ -6422,7 +6438,7 @@ var stdin_default$14 = defineComponent({
6422
6438
  const updateShow = (value) => emit("update:show", value);
6423
6439
  const renderMonth = (date, index) => {
6424
6440
  const showMonthTitle = index !== 0 || !props.showSubtitle;
6425
- return createVNode(stdin_default$16, mergeProps({
6441
+ return createVNode(stdin_default$19, mergeProps({
6426
6442
  "ref": setMonthRefs(index),
6427
6443
  "date": date,
6428
6444
  "currentDate": currentDate.value,
@@ -6463,7 +6479,7 @@ var stdin_default$14 = defineComponent({
6463
6479
  }, [renderFooterButton()]);
6464
6480
  const renderCalendar = () => createVNode("div", {
6465
6481
  "class": bem$Z()
6466
- }, [createVNode(stdin_default$15, {
6482
+ }, [createVNode(stdin_default$18, {
6467
6483
  "date": subtitle.value.date,
6468
6484
  "title": props.title,
6469
6485
  "subtitle": subtitle.value.text,
@@ -6509,7 +6525,7 @@ var stdin_default$14 = defineComponent({
6509
6525
  };
6510
6526
  }
6511
6527
  });
6512
- const Calendar = withInstall(stdin_default$14);
6528
+ const Calendar = withInstall(stdin_default$17);
6513
6529
  const [name$Z, bem$Y] = createNamespace("image");
6514
6530
  const imageProps = {
6515
6531
  src: String,
@@ -6529,7 +6545,7 @@ const imageProps = {
6529
6545
  showLoading: truthProp,
6530
6546
  loadingIcon: makeStringProp("photo")
6531
6547
  };
6532
- var stdin_default$13 = defineComponent({
6548
+ var stdin_default$16 = defineComponent({
6533
6549
  name: name$Z,
6534
6550
  props: imageProps,
6535
6551
  emits: ["load", "error"],
@@ -6673,7 +6689,7 @@ var stdin_default$13 = defineComponent({
6673
6689
  };
6674
6690
  }
6675
6691
  });
6676
- const Image$1 = withInstall(stdin_default$13);
6692
+ const Image$1 = withInstall(stdin_default$16);
6677
6693
  const [name$Y, bem$X] = createNamespace("card");
6678
6694
  const cardProps = {
6679
6695
  tag: String,
@@ -6688,7 +6704,7 @@ const cardProps = {
6688
6704
  thumbLink: String,
6689
6705
  originPrice: numericProp
6690
6706
  };
6691
- var stdin_default$12 = defineComponent({
6707
+ var stdin_default$15 = defineComponent({
6692
6708
  name: name$Y,
6693
6709
  props: cardProps,
6694
6710
  emits: ["clickThumb"],
@@ -6792,7 +6808,7 @@ var stdin_default$12 = defineComponent({
6792
6808
  };
6793
6809
  }
6794
6810
  });
6795
- const Card = withInstall(stdin_default$12);
6811
+ const Card = withInstall(stdin_default$15);
6796
6812
  const [name$X, bem$W, t$e] = createNamespace("cascader");
6797
6813
  const cascaderProps = {
6798
6814
  title: String,
@@ -6806,7 +6822,7 @@ const cascaderProps = {
6806
6822
  placeholder: String,
6807
6823
  activeColor: String
6808
6824
  };
6809
- var stdin_default$11 = defineComponent({
6825
+ var stdin_default$14 = defineComponent({
6810
6826
  name: name$X,
6811
6827
  props: cascaderProps,
6812
6828
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
@@ -7011,14 +7027,14 @@ var stdin_default$11 = defineComponent({
7011
7027
  }, [renderHeader(), renderTabs()]);
7012
7028
  }
7013
7029
  });
7014
- const Cascader = withInstall(stdin_default$11);
7030
+ const Cascader = withInstall(stdin_default$14);
7015
7031
  const [name$W, bem$V] = createNamespace("cell-group");
7016
7032
  const cellGroupProps = {
7017
7033
  title: String,
7018
7034
  inset: Boolean,
7019
7035
  border: truthProp
7020
7036
  };
7021
- var stdin_default$10 = defineComponent({
7037
+ var stdin_default$13 = defineComponent({
7022
7038
  name: name$W,
7023
7039
  inheritAttrs: false,
7024
7040
  props: cellGroupProps,
@@ -7049,7 +7065,7 @@ var stdin_default$10 = defineComponent({
7049
7065
  };
7050
7066
  }
7051
7067
  });
7052
- const CellGroup = withInstall(stdin_default$10);
7068
+ const CellGroup = withInstall(stdin_default$13);
7053
7069
  const [name$V, bem$U] = createNamespace("checkbox-group");
7054
7070
  const checkboxGroupProps = {
7055
7071
  max: numericProp,
@@ -7060,7 +7076,7 @@ const checkboxGroupProps = {
7060
7076
  checkedColor: String
7061
7077
  };
7062
7078
  const CHECKBOX_GROUP_KEY = Symbol(name$V);
7063
- var stdin_default$$ = defineComponent({
7079
+ var stdin_default$12 = defineComponent({
7064
7080
  name: name$V,
7065
7081
  props: checkboxGroupProps,
7066
7082
  emits: ["change", "update:modelValue"],
@@ -7116,7 +7132,7 @@ const [name$U, bem$T] = createNamespace("checkbox");
7116
7132
  const checkboxProps = extend({}, checkerProps, {
7117
7133
  bindGroup: truthProp
7118
7134
  });
7119
- var stdin_default$_ = defineComponent({
7135
+ var stdin_default$11 = defineComponent({
7120
7136
  name: name$U,
7121
7137
  props: checkboxProps,
7122
7138
  emits: ["change", "update:modelValue"],
@@ -7174,7 +7190,7 @@ var stdin_default$_ = defineComponent({
7174
7190
  checked
7175
7191
  });
7176
7192
  useCustomFieldValue(() => props.modelValue);
7177
- return () => createVNode(stdin_default$1c, mergeProps({
7193
+ return () => createVNode(stdin_default$1f, mergeProps({
7178
7194
  "bem": bem$T,
7179
7195
  "role": "checkbox",
7180
7196
  "parent": parent,
@@ -7183,8 +7199,8 @@ var stdin_default$_ = defineComponent({
7183
7199
  }, props), pick(slots, ["default", "icon"]));
7184
7200
  }
7185
7201
  });
7186
- const Checkbox = withInstall(stdin_default$_);
7187
- const CheckboxGroup = withInstall(stdin_default$$);
7202
+ const Checkbox = withInstall(stdin_default$11);
7203
+ const CheckboxGroup = withInstall(stdin_default$12);
7188
7204
  const [name$T, bem$S] = createNamespace("circle");
7189
7205
  let uid = 0;
7190
7206
  const format = (rate) => Math.min(Math.max(+rate, 0), 100);
@@ -7206,7 +7222,7 @@ const circleProps = {
7206
7222
  strokeLinecap: String,
7207
7223
  startPosition: makeStringProp("top")
7208
7224
  };
7209
- var stdin_default$Z = defineComponent({
7225
+ var stdin_default$10 = defineComponent({
7210
7226
  name: name$T,
7211
7227
  props: circleProps,
7212
7228
  emits: ["update:currentRate"],
@@ -7330,7 +7346,7 @@ var stdin_default$Z = defineComponent({
7330
7346
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7331
7347
  }
7332
7348
  });
7333
- const Circle = withInstall(stdin_default$Z);
7349
+ const Circle = withInstall(stdin_default$10);
7334
7350
  const [name$S, bem$R] = createNamespace("row");
7335
7351
  const ROW_KEY = Symbol(name$S);
7336
7352
  const rowProps = {
@@ -7340,7 +7356,7 @@ const rowProps = {
7340
7356
  gutter: makeNumericProp(0),
7341
7357
  justify: String
7342
7358
  };
7343
- var stdin_default$Y = defineComponent({
7359
+ var stdin_default$$ = defineComponent({
7344
7360
  name: name$S,
7345
7361
  props: rowProps,
7346
7362
  setup(props, {
@@ -7420,7 +7436,7 @@ const colProps = {
7420
7436
  span: makeNumericProp(0),
7421
7437
  offset: numericProp
7422
7438
  };
7423
- var stdin_default$X = defineComponent({
7439
+ var stdin_default$_ = defineComponent({
7424
7440
  name: name$R,
7425
7441
  props: colProps,
7426
7442
  setup(props, {
@@ -7469,7 +7485,7 @@ var stdin_default$X = defineComponent({
7469
7485
  };
7470
7486
  }
7471
7487
  });
7472
- const Col = withInstall(stdin_default$X);
7488
+ const Col = withInstall(stdin_default$_);
7473
7489
  const [name$Q, bem$P] = createNamespace("collapse");
7474
7490
  const COLLAPSE_KEY = Symbol(name$Q);
7475
7491
  const collapseProps = {
@@ -7491,7 +7507,7 @@ function validateModelValue(modelValue, accordion) {
7491
7507
  }
7492
7508
  return true;
7493
7509
  }
7494
- var stdin_default$W = defineComponent({
7510
+ var stdin_default$Z = defineComponent({
7495
7511
  name: name$Q,
7496
7512
  props: collapseProps,
7497
7513
  emits: ["change", "update:modelValue"],
@@ -7569,7 +7585,7 @@ var stdin_default$W = defineComponent({
7569
7585
  };
7570
7586
  }
7571
7587
  });
7572
- const Collapse = withInstall(stdin_default$W);
7588
+ const Collapse = withInstall(stdin_default$Z);
7573
7589
  const [name$P, bem$O] = createNamespace("collapse-item");
7574
7590
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
7575
7591
  const collapseItemProps = extend({}, cellSharedProps, {
@@ -7579,7 +7595,7 @@ const collapseItemProps = extend({}, cellSharedProps, {
7579
7595
  readonly: Boolean,
7580
7596
  lazyRender: truthProp
7581
7597
  });
7582
- var stdin_default$V = defineComponent({
7598
+ var stdin_default$Y = defineComponent({
7583
7599
  name: name$P,
7584
7600
  props: collapseItemProps,
7585
7601
  setup(props, {
@@ -7694,8 +7710,8 @@ var stdin_default$V = defineComponent({
7694
7710
  }, [renderTitle(), renderContent()]);
7695
7711
  }
7696
7712
  });
7697
- const CollapseItem = withInstall(stdin_default$V);
7698
- const ConfigProvider = withInstall(stdin_default$1G);
7713
+ const CollapseItem = withInstall(stdin_default$Y);
7714
+ const ConfigProvider = withInstall(stdin_default$1J);
7699
7715
  const [name$O, bem$N, t$d] = createNamespace("contact-card");
7700
7716
  const contactCardProps = {
7701
7717
  tel: String,
@@ -7704,7 +7720,7 @@ const contactCardProps = {
7704
7720
  addText: String,
7705
7721
  editable: truthProp
7706
7722
  };
7707
- var stdin_default$U = defineComponent({
7723
+ var stdin_default$X = defineComponent({
7708
7724
  name: name$O,
7709
7725
  props: contactCardProps,
7710
7726
  emits: ["click"],
@@ -7735,7 +7751,7 @@ var stdin_default$U = defineComponent({
7735
7751
  });
7736
7752
  }
7737
7753
  });
7738
- const ContactCard = withInstall(stdin_default$U);
7754
+ const ContactCard = withInstall(stdin_default$X);
7739
7755
  const [name$N, bem$M, t$c] = createNamespace("contact-edit");
7740
7756
  const DEFAULT_CONTACT = {
7741
7757
  tel: "",
@@ -7756,7 +7772,7 @@ const contactEditProps = {
7756
7772
  default: isMobile
7757
7773
  }
7758
7774
  };
7759
- var stdin_default$T = defineComponent({
7775
+ var stdin_default$W = defineComponent({
7760
7776
  name: name$N,
7761
7777
  props: contactEditProps,
7762
7778
  emits: ["save", "delete", "changeDefault"],
@@ -7837,7 +7853,7 @@ var stdin_default$T = defineComponent({
7837
7853
  });
7838
7854
  }
7839
7855
  });
7840
- const ContactEdit = withInstall(stdin_default$T);
7856
+ const ContactEdit = withInstall(stdin_default$W);
7841
7857
  const [name$M, bem$L, t$b] = createNamespace("contact-list");
7842
7858
  const contactListProps = {
7843
7859
  list: Array,
@@ -7845,7 +7861,7 @@ const contactListProps = {
7845
7861
  modelValue: unknownProp,
7846
7862
  defaultTagText: String
7847
7863
  };
7848
- var stdin_default$S = defineComponent({
7864
+ var stdin_default$V = defineComponent({
7849
7865
  name: name$M,
7850
7866
  props: contactListProps,
7851
7867
  emits: ["add", "edit", "select", "update:modelValue"],
@@ -7915,7 +7931,7 @@ var stdin_default$S = defineComponent({
7915
7931
  }, null)])]);
7916
7932
  }
7917
7933
  });
7918
- const ContactList = withInstall(stdin_default$S);
7934
+ const ContactList = withInstall(stdin_default$V);
7919
7935
  function parseFormat(format2, currentTime) {
7920
7936
  const { days } = currentTime;
7921
7937
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -7958,7 +7974,7 @@ const countDownProps = {
7958
7974
  autoStart: truthProp,
7959
7975
  millisecond: Boolean
7960
7976
  };
7961
- var stdin_default$R = defineComponent({
7977
+ var stdin_default$U = defineComponent({
7962
7978
  name: name$L,
7963
7979
  props: countDownProps,
7964
7980
  emits: ["change", "finish"],
@@ -7998,7 +8014,7 @@ var stdin_default$R = defineComponent({
7998
8014
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
7999
8015
  }
8000
8016
  });
8001
- const CountDown = withInstall(stdin_default$R);
8017
+ const CountDown = withInstall(stdin_default$U);
8002
8018
  function getDate(timeStamp) {
8003
8019
  const date = new Date(timeStamp * 1e3);
8004
8020
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8008,7 +8024,7 @@ function getDate(timeStamp) {
8008
8024
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8009
8025
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8010
8026
  const [name$K, bem$J, t$a] = createNamespace("coupon");
8011
- var stdin_default$Q = defineComponent({
8027
+ var stdin_default$T = defineComponent({
8012
8028
  name: name$K,
8013
8029
  props: {
8014
8030
  chosen: Boolean,
@@ -8079,7 +8095,7 @@ var stdin_default$Q = defineComponent({
8079
8095
  };
8080
8096
  }
8081
8097
  });
8082
- const Coupon = withInstall(stdin_default$Q);
8098
+ const Coupon = withInstall(stdin_default$T);
8083
8099
  const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
8084
8100
  const couponCellProps = {
8085
8101
  title: String,
@@ -8108,7 +8124,7 @@ function formatValue({
8108
8124
  }
8109
8125
  return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
8110
8126
  }
8111
- var stdin_default$P = defineComponent({
8127
+ var stdin_default$S = defineComponent({
8112
8128
  name: name$J,
8113
8129
  props: couponCellProps,
8114
8130
  setup(props) {
@@ -8127,14 +8143,14 @@ var stdin_default$P = defineComponent({
8127
8143
  };
8128
8144
  }
8129
8145
  });
8130
- const CouponCell = withInstall(stdin_default$P);
8146
+ const CouponCell = withInstall(stdin_default$S);
8131
8147
  const [name$I, bem$H] = createNamespace("empty");
8132
8148
  const emptyProps = {
8133
8149
  image: makeStringProp("default"),
8134
8150
  imageSize: [Number, String, Array],
8135
8151
  description: String
8136
8152
  };
8137
- var stdin_default$O = defineComponent({
8153
+ var stdin_default$R = defineComponent({
8138
8154
  name: name$I,
8139
8155
  props: emptyProps,
8140
8156
  setup(props, {
@@ -8443,7 +8459,7 @@ var stdin_default$O = defineComponent({
8443
8459
  }, [renderImage()]), renderDescription(), renderBottom()]);
8444
8460
  }
8445
8461
  });
8446
- const Empty = withInstall(stdin_default$O);
8462
+ const Empty = withInstall(stdin_default$R);
8447
8463
  const [name$H, bem$G, t$8] = createNamespace("coupon-list");
8448
8464
  const couponListProps = {
8449
8465
  code: makeStringProp(""),
@@ -8465,7 +8481,7 @@ const couponListProps = {
8465
8481
  exchangeButtonLoading: Boolean,
8466
8482
  exchangeButtonDisabled: Boolean
8467
8483
  };
8468
- var stdin_default$N = defineComponent({
8484
+ var stdin_default$Q = defineComponent({
8469
8485
  name: name$H,
8470
8486
  props: couponListProps,
8471
8487
  emits: ["change", "exchange", "update:code"],
@@ -8616,7 +8632,7 @@ var stdin_default$N = defineComponent({
8616
8632
  }, null), [[vShow, props.showCloseButton]])])]);
8617
8633
  }
8618
8634
  });
8619
- const CouponList = withInstall(stdin_default$N);
8635
+ const CouponList = withInstall(stdin_default$Q);
8620
8636
  const currentYear = new Date().getFullYear();
8621
8637
  const [name$G] = createNamespace("date-picker");
8622
8638
  const datePickerProps = extend({}, sharedProps, {
@@ -8635,7 +8651,7 @@ const datePickerProps = extend({}, sharedProps, {
8635
8651
  validator: isDate
8636
8652
  }
8637
8653
  });
8638
- var stdin_default$M = defineComponent({
8654
+ var stdin_default$P = defineComponent({
8639
8655
  name: name$G,
8640
8656
  props: datePickerProps,
8641
8657
  emits: ["confirm", "cancel", "change", "update:modelValue"],
@@ -8726,7 +8742,7 @@ var stdin_default$M = defineComponent({
8726
8742
  }, pick(props, pickerInheritKeys)), slots);
8727
8743
  }
8728
8744
  });
8729
- const DatePicker = withInstall(stdin_default$M);
8745
+ const DatePicker = withInstall(stdin_default$P);
8730
8746
  const [name$F, bem$F, t$7] = createNamespace("dialog");
8731
8747
  const dialogProps = extend({}, popupSharedProps, {
8732
8748
  title: String,
@@ -8750,7 +8766,7 @@ const dialogProps = extend({}, popupSharedProps, {
8750
8766
  closeOnClickOverlay: Boolean
8751
8767
  });
8752
8768
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
8753
- var stdin_default$L = defineComponent({
8769
+ var stdin_default$O = defineComponent({
8754
8770
  name: name$F,
8755
8771
  props: dialogProps,
8756
8772
  emits: ["confirm", "cancel", "keydown", "update:show"],
@@ -8969,7 +8985,7 @@ function initInstance$2() {
8969
8985
  state,
8970
8986
  toggle
8971
8987
  } = usePopupState();
8972
- return () => createVNode(stdin_default$L, mergeProps(state, {
8988
+ return () => createVNode(stdin_default$O, mergeProps(state, {
8973
8989
  "onUpdate:show": toggle
8974
8990
  }), null);
8975
8991
  }
@@ -9007,14 +9023,14 @@ const closeDialog = () => {
9007
9023
  instance$2.toggle(false);
9008
9024
  }
9009
9025
  };
9010
- const Dialog = withInstall(stdin_default$L);
9026
+ const Dialog = withInstall(stdin_default$O);
9011
9027
  const [name$E, bem$E] = createNamespace("divider");
9012
9028
  const dividerProps = {
9013
9029
  dashed: Boolean,
9014
9030
  hairline: truthProp,
9015
9031
  contentPosition: makeStringProp("center")
9016
9032
  };
9017
- var stdin_default$K = defineComponent({
9033
+ var stdin_default$N = defineComponent({
9018
9034
  name: name$E,
9019
9035
  props: dividerProps,
9020
9036
  setup(props, {
@@ -9033,7 +9049,7 @@ var stdin_default$K = defineComponent({
9033
9049
  };
9034
9050
  }
9035
9051
  });
9036
- const Divider = withInstall(stdin_default$K);
9052
+ const Divider = withInstall(stdin_default$N);
9037
9053
  const [name$D, bem$D] = createNamespace("dropdown-menu");
9038
9054
  const dropdownMenuProps = {
9039
9055
  overlay: truthProp,
@@ -9045,7 +9061,7 @@ const dropdownMenuProps = {
9045
9061
  closeOnClickOverlay: truthProp
9046
9062
  };
9047
9063
  const DROPDOWN_KEY = Symbol(name$D);
9048
- var stdin_default$J = defineComponent({
9064
+ var stdin_default$M = defineComponent({
9049
9065
  name: name$D,
9050
9066
  props: dropdownMenuProps,
9051
9067
  setup(props, {
@@ -9171,7 +9187,7 @@ const dropdownItemProps = {
9171
9187
  modelValue: unknownProp,
9172
9188
  titleClass: unknownProp
9173
9189
  };
9174
- var stdin_default$I = defineComponent({
9190
+ var stdin_default$L = defineComponent({
9175
9191
  name: name$C,
9176
9192
  inheritAttrs: false,
9177
9193
  props: dropdownItemProps,
@@ -9331,8 +9347,8 @@ var stdin_default$I = defineComponent({
9331
9347
  };
9332
9348
  }
9333
9349
  });
9334
- const DropdownItem = withInstall(stdin_default$I);
9335
- const DropdownMenu = withInstall(stdin_default$J);
9350
+ const DropdownItem = withInstall(stdin_default$L);
9351
+ const DropdownMenu = withInstall(stdin_default$M);
9336
9352
  const [name$B, bem$B] = createNamespace("grid");
9337
9353
  const gridProps = {
9338
9354
  square: Boolean,
@@ -9346,7 +9362,7 @@ const gridProps = {
9346
9362
  columnNum: makeNumericProp(4)
9347
9363
  };
9348
9364
  const GRID_KEY = Symbol(name$B);
9349
- var stdin_default$H = defineComponent({
9365
+ var stdin_default$K = defineComponent({
9350
9366
  name: name$B,
9351
9367
  props: gridProps,
9352
9368
  setup(props, {
@@ -9371,7 +9387,7 @@ var stdin_default$H = defineComponent({
9371
9387
  };
9372
9388
  }
9373
9389
  });
9374
- const Grid = withInstall(stdin_default$H);
9390
+ const Grid = withInstall(stdin_default$K);
9375
9391
  const [name$A, bem$A] = createNamespace("grid-item");
9376
9392
  const gridItemProps = extend({}, routeProps, {
9377
9393
  dot: Boolean,
@@ -9382,7 +9398,7 @@ const gridItemProps = extend({}, routeProps, {
9382
9398
  iconPrefix: String,
9383
9399
  badgeProps: Object
9384
9400
  });
9385
- var stdin_default$G = defineComponent({
9401
+ var stdin_default$J = defineComponent({
9386
9402
  name: name$A,
9387
9403
  props: gridItemProps,
9388
9404
  setup(props, {
@@ -9506,10 +9522,10 @@ var stdin_default$G = defineComponent({
9506
9522
  };
9507
9523
  }
9508
9524
  });
9509
- const GridItem = withInstall(stdin_default$G);
9525
+ const GridItem = withInstall(stdin_default$J);
9510
9526
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
9511
9527
  const bem$z = createNamespace("image-preview")[1];
9512
- var stdin_default$F = defineComponent({
9528
+ var stdin_default$I = defineComponent({
9513
9529
  props: {
9514
9530
  src: String,
9515
9531
  show: Boolean,
@@ -9762,7 +9778,7 @@ var stdin_default$F = defineComponent({
9762
9778
  }
9763
9779
  });
9764
9780
  const [name$z, bem$y] = createNamespace("image-preview");
9765
- const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
9781
+ const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate", "teleport"];
9766
9782
  const imagePreviewProps = {
9767
9783
  show: Boolean,
9768
9784
  loop: truthProp,
@@ -9782,9 +9798,10 @@ const imagePreviewProps = {
9782
9798
  startPosition: makeNumericProp(0),
9783
9799
  showIndicators: Boolean,
9784
9800
  closeOnPopstate: truthProp,
9785
- closeIconPosition: makeStringProp("top-right")
9801
+ closeIconPosition: makeStringProp("top-right"),
9802
+ teleport: [String, Object]
9786
9803
  };
9787
- var stdin_default$E = defineComponent({
9804
+ var stdin_default$H = defineComponent({
9788
9805
  name: name$z,
9789
9806
  props: imagePreviewProps,
9790
9807
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
@@ -9847,7 +9864,7 @@ var stdin_default$E = defineComponent({
9847
9864
  "indicatorColor": "white",
9848
9865
  "onChange": setActive
9849
9866
  }, {
9850
- default: () => [props.images.map((image, index) => createVNode(stdin_default$F, {
9867
+ default: () => [props.images.map((image, index) => createVNode(stdin_default$I, {
9851
9868
  "src": image,
9852
9869
  "show": props.show,
9853
9870
  "active": state.active,
@@ -9951,7 +9968,7 @@ function initInstance$1() {
9951
9968
  const onClosed = () => {
9952
9969
  state.images = [];
9953
9970
  };
9954
- return () => createVNode(stdin_default$E, mergeProps(state, {
9971
+ return () => createVNode(stdin_default$H, mergeProps(state, {
9955
9972
  "onClosed": onClosed,
9956
9973
  "onUpdate:show": toggle
9957
9974
  }), null);
@@ -9972,7 +9989,7 @@ const showImagePreview = (options, startPosition = 0) => {
9972
9989
  instance$1.open(extend({}, defaultConfig, options));
9973
9990
  return instance$1;
9974
9991
  };
9975
- const ImagePreview = withInstall(stdin_default$E);
9992
+ const ImagePreview = withInstall(stdin_default$H);
9976
9993
  function genAlphabet() {
9977
9994
  const charCodeOfA = "A".charCodeAt(0);
9978
9995
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
@@ -9991,7 +10008,7 @@ const indexBarProps = {
9991
10008
  }
9992
10009
  };
9993
10010
  const INDEX_BAR_KEY = Symbol(name$y);
9994
- var stdin_default$D = defineComponent({
10011
+ var stdin_default$G = defineComponent({
9995
10012
  name: name$y,
9996
10013
  props: indexBarProps,
9997
10014
  emits: ["select", "change"],
@@ -10193,7 +10210,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
10193
10210
  const indexAnchorProps = {
10194
10211
  index: numericProp
10195
10212
  };
10196
- var stdin_default$C = defineComponent({
10213
+ var stdin_default$F = defineComponent({
10197
10214
  name: name$x,
10198
10215
  props: indexAnchorProps,
10199
10216
  setup(props, {
@@ -10266,8 +10283,8 @@ var stdin_default$C = defineComponent({
10266
10283
  };
10267
10284
  }
10268
10285
  });
10269
- const IndexAnchor = withInstall(stdin_default$C);
10270
- const IndexBar = withInstall(stdin_default$D);
10286
+ const IndexAnchor = withInstall(stdin_default$F);
10287
+ const IndexBar = withInstall(stdin_default$G);
10271
10288
  const [name$w, bem$v, t$6] = createNamespace("list");
10272
10289
  const listProps = {
10273
10290
  error: Boolean,
@@ -10281,7 +10298,7 @@ const listProps = {
10281
10298
  finishedText: String,
10282
10299
  immediateCheck: truthProp
10283
10300
  };
10284
- var stdin_default$B = defineComponent({
10301
+ var stdin_default$E = defineComponent({
10285
10302
  name: name$w,
10286
10303
  props: listProps,
10287
10304
  emits: ["load", "update:error", "update:loading"],
@@ -10398,7 +10415,7 @@ var stdin_default$B = defineComponent({
10398
10415
  };
10399
10416
  }
10400
10417
  });
10401
- const List = withInstall(stdin_default$B);
10418
+ const List = withInstall(stdin_default$E);
10402
10419
  const [name$v, bem$u] = createNamespace("nav-bar");
10403
10420
  const navBarProps = {
10404
10421
  title: String,
@@ -10412,7 +10429,7 @@ const navBarProps = {
10412
10429
  safeAreaInsetTop: Boolean,
10413
10430
  clickable: truthProp
10414
10431
  };
10415
- var stdin_default$A = defineComponent({
10432
+ var stdin_default$D = defineComponent({
10416
10433
  name: name$v,
10417
10434
  props: navBarProps,
10418
10435
  emits: ["clickLeft", "clickRight"],
@@ -10482,7 +10499,7 @@ var stdin_default$A = defineComponent({
10482
10499
  };
10483
10500
  }
10484
10501
  });
10485
- const NavBar = withInstall(stdin_default$A);
10502
+ const NavBar = withInstall(stdin_default$D);
10486
10503
  const [name$u, bem$t] = createNamespace("notice-bar");
10487
10504
  const noticeBarProps = {
10488
10505
  text: String,
@@ -10498,7 +10515,7 @@ const noticeBarProps = {
10498
10515
  default: null
10499
10516
  }
10500
10517
  };
10501
- var stdin_default$z = defineComponent({
10518
+ var stdin_default$C = defineComponent({
10502
10519
  name: name$u,
10503
10520
  props: noticeBarProps,
10504
10521
  emits: ["close", "replay"],
@@ -10638,7 +10655,7 @@ var stdin_default$z = defineComponent({
10638
10655
  };
10639
10656
  }
10640
10657
  });
10641
- const NoticeBar = withInstall(stdin_default$z);
10658
+ const NoticeBar = withInstall(stdin_default$C);
10642
10659
  const [name$t, bem$s] = createNamespace("notify");
10643
10660
  const notifyProps = extend({}, popupSharedProps, {
10644
10661
  type: makeStringProp("danger"),
@@ -10649,7 +10666,7 @@ const notifyProps = extend({}, popupSharedProps, {
10649
10666
  background: String,
10650
10667
  lockScroll: Boolean
10651
10668
  });
10652
- var stdin_default$y = defineComponent({
10669
+ var stdin_default$B = defineComponent({
10653
10670
  name: name$t,
10654
10671
  props: notifyProps,
10655
10672
  emits: ["update:show"],
@@ -10690,7 +10707,7 @@ function initInstance() {
10690
10707
  state,
10691
10708
  toggle
10692
10709
  } = usePopupState();
10693
- return () => createVNode(stdin_default$y, mergeProps(state, {
10710
+ return () => createVNode(stdin_default$B, mergeProps(state, {
10694
10711
  "onUpdate:show": toggle
10695
10712
  }), null);
10696
10713
  }
@@ -10734,7 +10751,7 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
10734
10751
  const resetNotifyDefaultOptions = () => {
10735
10752
  currentOptions = getDefaultOptions();
10736
10753
  };
10737
- const Notify = withInstall(stdin_default$y);
10754
+ const Notify = withInstall(stdin_default$B);
10738
10755
  const [name$s, bem$r] = createNamespace("key");
10739
10756
  const CollapseIcon = createVNode("svg", {
10740
10757
  "class": bem$r("collapse-icon"),
@@ -10750,7 +10767,7 @@ const DeleteIcon = createVNode("svg", {
10750
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",
10751
10768
  "fill": "currentColor"
10752
10769
  }, null)]);
10753
- var stdin_default$x = defineComponent({
10770
+ var stdin_default$A = defineComponent({
10754
10771
  name: name$s,
10755
10772
  props: {
10756
10773
  type: String,
@@ -10853,7 +10870,7 @@ function shuffle(array) {
10853
10870
  }
10854
10871
  return array;
10855
10872
  }
10856
- var stdin_default$w = defineComponent({
10873
+ var stdin_default$z = defineComponent({
10857
10874
  name: name$r,
10858
10875
  inheritAttrs: false,
10859
10876
  props: numberKeyboardProps,
@@ -10972,7 +10989,7 @@ var stdin_default$w = defineComponent({
10972
10989
  if (key.type === "extra") {
10973
10990
  keySlots.default = slots["extra-key"];
10974
10991
  }
10975
- return createVNode(stdin_default$x, {
10992
+ return createVNode(stdin_default$A, {
10976
10993
  "key": key.text,
10977
10994
  "text": key.text,
10978
10995
  "type": key.type,
@@ -10985,14 +11002,14 @@ var stdin_default$w = defineComponent({
10985
11002
  if (props.theme === "custom") {
10986
11003
  return createVNode("div", {
10987
11004
  "class": bem$q("sidebar")
10988
- }, [props.showDeleteKey && createVNode(stdin_default$x, {
11005
+ }, [props.showDeleteKey && createVNode(stdin_default$A, {
10989
11006
  "large": true,
10990
11007
  "text": props.deleteButtonText,
10991
11008
  "type": "delete",
10992
11009
  "onPress": onPress
10993
11010
  }, {
10994
11011
  delete: slots.delete
10995
- }), createVNode(stdin_default$x, {
11012
+ }), createVNode(stdin_default$A, {
10996
11013
  "large": true,
10997
11014
  "text": props.closeButtonText,
10998
11015
  "type": "close",
@@ -11043,7 +11060,7 @@ var stdin_default$w = defineComponent({
11043
11060
  };
11044
11061
  }
11045
11062
  });
11046
- const NumberKeyboard = withInstall(stdin_default$w);
11063
+ const NumberKeyboard = withInstall(stdin_default$z);
11047
11064
  const [name$q, bem$p, t$5] = createNamespace("pagination");
11048
11065
  const makePage = (number, text, active) => ({
11049
11066
  number,
@@ -11061,7 +11078,7 @@ const paginationProps = {
11061
11078
  itemsPerPage: makeNumericProp(10),
11062
11079
  forceEllipses: Boolean
11063
11080
  };
11064
- var stdin_default$v = defineComponent({
11081
+ var stdin_default$y = defineComponent({
11065
11082
  name: name$q,
11066
11083
  props: paginationProps,
11067
11084
  emits: ["change", "update:modelValue"],
@@ -11182,7 +11199,7 @@ var stdin_default$v = defineComponent({
11182
11199
  }, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
11183
11200
  }
11184
11201
  });
11185
- const Pagination = withInstall(stdin_default$v);
11202
+ const Pagination = withInstall(stdin_default$y);
11186
11203
  const [name$p, bem$o] = createNamespace("password-input");
11187
11204
  const passwordInputProps = {
11188
11205
  info: String,
@@ -11193,7 +11210,7 @@ const passwordInputProps = {
11193
11210
  focused: Boolean,
11194
11211
  errorInfo: String
11195
11212
  };
11196
- var stdin_default$u = defineComponent({
11213
+ var stdin_default$x = defineComponent({
11197
11214
  name: name$p,
11198
11215
  props: passwordInputProps,
11199
11216
  emits: ["focus"],
@@ -11255,8 +11272,8 @@ var stdin_default$u = defineComponent({
11255
11272
  };
11256
11273
  }
11257
11274
  });
11258
- const PasswordInput = withInstall(stdin_default$u);
11259
- const PickerGroup = withInstall(stdin_default$1o);
11275
+ const PasswordInput = withInstall(stdin_default$x);
11276
+ const PickerGroup = withInstall(stdin_default$1r);
11260
11277
  const useSyncPropRef = (getProp, setProp) => {
11261
11278
  const propRef = ref(getProp());
11262
11279
  watch(getProp, (value) => {
@@ -11297,7 +11314,7 @@ const popoverProps = {
11297
11314
  default: "body"
11298
11315
  }
11299
11316
  };
11300
- var stdin_default$t = defineComponent({
11317
+ var stdin_default$w = defineComponent({
11301
11318
  name: name$o,
11302
11319
  props: popoverProps,
11303
11320
  emits: ["select", "touchstart", "update:show"],
@@ -11443,7 +11460,7 @@ var stdin_default$t = defineComponent({
11443
11460
  };
11444
11461
  }
11445
11462
  });
11446
- const Popover = withInstall(stdin_default$t);
11463
+ const Popover = withInstall(stdin_default$w);
11447
11464
  const [name$n, bem$m] = createNamespace("progress");
11448
11465
  const progressProps = {
11449
11466
  color: String,
@@ -11460,7 +11477,7 @@ const progressProps = {
11460
11477
  validator: (value) => value >= 0 && value <= 100
11461
11478
  }
11462
11479
  };
11463
- var stdin_default$s = defineComponent({
11480
+ var stdin_default$v = defineComponent({
11464
11481
  name: name$n,
11465
11482
  props: progressProps,
11466
11483
  setup(props) {
@@ -11514,7 +11531,7 @@ var stdin_default$s = defineComponent({
11514
11531
  };
11515
11532
  }
11516
11533
  });
11517
- const Progress = withInstall(stdin_default$s);
11534
+ const Progress = withInstall(stdin_default$v);
11518
11535
  const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
11519
11536
  const DEFAULT_HEAD_HEIGHT = 50;
11520
11537
  const TEXT_STATUS = ["pulling", "loosing", "success"];
@@ -11530,7 +11547,7 @@ const pullRefreshProps = {
11530
11547
  successDuration: makeNumericProp(500),
11531
11548
  animationDuration: makeNumericProp(300)
11532
11549
  };
11533
- var stdin_default$r = defineComponent({
11550
+ var stdin_default$u = defineComponent({
11534
11551
  name: name$m,
11535
11552
  props: pullRefreshProps,
11536
11553
  emits: ["change", "refresh", "update:modelValue"],
@@ -11699,7 +11716,7 @@ var stdin_default$r = defineComponent({
11699
11716
  };
11700
11717
  }
11701
11718
  });
11702
- const PullRefresh = withInstall(stdin_default$r);
11719
+ const PullRefresh = withInstall(stdin_default$u);
11703
11720
  const [name$l, bem$k] = createNamespace("rate");
11704
11721
  function getRateStatus(value, index, allowHalf, readonly) {
11705
11722
  if (value >= index) {
@@ -11742,7 +11759,7 @@ const rateProps = {
11742
11759
  modelValue: makeNumberProp(0),
11743
11760
  disabledColor: String
11744
11761
  };
11745
- var stdin_default$q = defineComponent({
11762
+ var stdin_default$t = defineComponent({
11746
11763
  name: name$l,
11747
11764
  props: rateProps,
11748
11765
  emits: ["change", "update:modelValue"],
@@ -11909,8 +11926,8 @@ var stdin_default$q = defineComponent({
11909
11926
  }, [list.value.map(renderStar)]);
11910
11927
  }
11911
11928
  });
11912
- const Rate = withInstall(stdin_default$q);
11913
- const Row = withInstall(stdin_default$Y);
11929
+ const Rate = withInstall(stdin_default$t);
11930
+ const Row = withInstall(stdin_default$$);
11914
11931
  const [name$k, bem$j, t$3] = createNamespace("search");
11915
11932
  const searchProps = extend({}, fieldSharedProps, {
11916
11933
  label: String,
@@ -11921,7 +11938,7 @@ const searchProps = extend({}, fieldSharedProps, {
11921
11938
  background: String,
11922
11939
  showAction: Boolean
11923
11940
  });
11924
- var stdin_default$p = defineComponent({
11941
+ var stdin_default$s = defineComponent({
11925
11942
  name: name$k,
11926
11943
  props: searchProps,
11927
11944
  emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
@@ -12019,7 +12036,7 @@ var stdin_default$p = defineComponent({
12019
12036
  };
12020
12037
  }
12021
12038
  });
12022
- const Search = withInstall(stdin_default$p);
12039
+ const Search = withInstall(stdin_default$s);
12023
12040
  const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
12024
12041
  const iconMap = {
12025
12042
  qq: "qq",
@@ -12041,7 +12058,7 @@ const shareSheetProps = extend({}, popupSharedProps, {
12041
12058
  closeOnPopstate: truthProp,
12042
12059
  safeAreaInsetBottom: truthProp
12043
12060
  });
12044
- var stdin_default$o = defineComponent({
12061
+ var stdin_default$r = defineComponent({
12045
12062
  name: name$j,
12046
12063
  props: shareSheetProps,
12047
12064
  emits: ["cancel", "select", "update:show"],
@@ -12133,13 +12150,13 @@ var stdin_default$o = defineComponent({
12133
12150
  });
12134
12151
  }
12135
12152
  });
12136
- const ShareSheet = withInstall(stdin_default$o);
12153
+ const ShareSheet = withInstall(stdin_default$r);
12137
12154
  const [name$i, bem$h] = createNamespace("sidebar");
12138
12155
  const SIDEBAR_KEY = Symbol(name$i);
12139
12156
  const sidebarProps = {
12140
12157
  modelValue: makeNumericProp(0)
12141
12158
  };
12142
- var stdin_default$n = defineComponent({
12159
+ var stdin_default$q = defineComponent({
12143
12160
  name: name$i,
12144
12161
  props: sidebarProps,
12145
12162
  emits: ["change", "update:modelValue"],
@@ -12170,7 +12187,7 @@ var stdin_default$n = defineComponent({
12170
12187
  };
12171
12188
  }
12172
12189
  });
12173
- const Sidebar = withInstall(stdin_default$n);
12190
+ const Sidebar = withInstall(stdin_default$q);
12174
12191
  const [name$h, bem$g] = createNamespace("sidebar-item");
12175
12192
  const sidebarItemProps = extend({}, routeProps, {
12176
12193
  dot: Boolean,
@@ -12179,7 +12196,7 @@ const sidebarItemProps = extend({}, routeProps, {
12179
12196
  disabled: Boolean,
12180
12197
  badgeProps: Object
12181
12198
  });
12182
- var stdin_default$m = defineComponent({
12199
+ var stdin_default$p = defineComponent({
12183
12200
  name: name$h,
12184
12201
  props: sidebarItemProps,
12185
12202
  emits: ["click"],
@@ -12233,13 +12250,13 @@ var stdin_default$m = defineComponent({
12233
12250
  };
12234
12251
  }
12235
12252
  });
12236
- const SidebarItem = withInstall(stdin_default$m);
12253
+ const SidebarItem = withInstall(stdin_default$p);
12237
12254
  const [name$g, bem$f] = createNamespace("skeleton-title");
12238
12255
  const skeletonTitleProps = {
12239
12256
  round: Boolean,
12240
12257
  titleWidth: numericProp
12241
12258
  };
12242
- var stdin_default$l = defineComponent({
12259
+ var stdin_default$o = defineComponent({
12243
12260
  name: name$g,
12244
12261
  props: skeletonTitleProps,
12245
12262
  setup(props) {
@@ -12253,12 +12270,14 @@ var stdin_default$l = defineComponent({
12253
12270
  }, null);
12254
12271
  }
12255
12272
  });
12273
+ const SkeletonTitle = withInstall(stdin_default$o);
12274
+ var stdin_default$n = SkeletonTitle;
12256
12275
  const [name$f, bem$e] = createNamespace("skeleton-avatar");
12257
12276
  const skeletonAvatarProps = {
12258
12277
  avatarSize: numericProp,
12259
12278
  avatarShape: makeStringProp("round")
12260
12279
  };
12261
- var stdin_default$k = defineComponent({
12280
+ var stdin_default$m = defineComponent({
12262
12281
  name: name$f,
12263
12282
  props: skeletonAvatarProps,
12264
12283
  setup(props) {
@@ -12268,6 +12287,8 @@ var stdin_default$k = defineComponent({
12268
12287
  }, null);
12269
12288
  }
12270
12289
  });
12290
+ const SkeletonAvatar = withInstall(stdin_default$m);
12291
+ var stdin_default$l = SkeletonAvatar;
12271
12292
  const DEFAULT_ROW_WIDTH = "100%";
12272
12293
  const skeletonParagraphProps = {
12273
12294
  round: Boolean,
@@ -12277,7 +12298,7 @@ const skeletonParagraphProps = {
12277
12298
  }
12278
12299
  };
12279
12300
  const [name$e, bem$d] = createNamespace("skeleton-paragraph");
12280
- var stdin_default$j = defineComponent({
12301
+ var stdin_default$k = defineComponent({
12281
12302
  name: name$e,
12282
12303
  props: skeletonParagraphProps,
12283
12304
  setup(props) {
@@ -12291,6 +12312,8 @@ var stdin_default$j = defineComponent({
12291
12312
  }, null);
12292
12313
  }
12293
12314
  });
12315
+ const SkeletonParagraph = withInstall(stdin_default$k);
12316
+ var stdin_default$j = SkeletonParagraph;
12294
12317
  const [name$d, bem$c] = createNamespace("skeleton");
12295
12318
  const DEFAULT_LAST_ROW_WIDTH = "60%";
12296
12319
  const skeletonProps = {
@@ -12318,7 +12341,7 @@ var stdin_default$i = defineComponent({
12318
12341
  }) {
12319
12342
  const renderAvatar = () => {
12320
12343
  if (props.avatar) {
12321
- return createVNode(stdin_default$k, {
12344
+ return createVNode(stdin_default$l, {
12322
12345
  "avatarShape": props.avatarShape,
12323
12346
  "avatarSize": props.avatarSize
12324
12347
  }, null);
@@ -12326,7 +12349,7 @@ var stdin_default$i = defineComponent({
12326
12349
  };
12327
12350
  const renderTitle = () => {
12328
12351
  if (props.title) {
12329
- return createVNode(stdin_default$l, {
12352
+ return createVNode(stdin_default$n, {
12330
12353
  "round": props.round,
12331
12354
  "titleWidth": props.titleWidth
12332
12355
  }, null);
@@ -12371,6 +12394,7 @@ var stdin_default$i = defineComponent({
12371
12394
  };
12372
12395
  }
12373
12396
  });
12397
+ const Skeleton = withInstall(stdin_default$i);
12374
12398
  const [name$c, bem$b] = createNamespace("skeleton-image");
12375
12399
  const skeletonImageProps = {
12376
12400
  imageSize: numericProp,
@@ -12390,10 +12414,6 @@ var stdin_default$h = defineComponent({
12390
12414
  }
12391
12415
  });
12392
12416
  const SkeletonImage = withInstall(stdin_default$h);
12393
- const SkeletonTitle = withInstall(stdin_default$l);
12394
- const SkeletonAvatar = withInstall(stdin_default$k);
12395
- const SkeletonParagraph = withInstall(stdin_default$j);
12396
- const Skeleton = withInstall(stdin_default$i);
12397
12417
  const [name$b, bem$a] = createNamespace("slider");
12398
12418
  const sliderProps = {
12399
12419
  min: makeNumericProp(0),
@@ -14897,7 +14917,7 @@ const Lazyload = {
14897
14917
  });
14898
14918
  }
14899
14919
  };
14900
- const version = "4.0.6";
14920
+ const version = "4.0.8";
14901
14921
  function install(app) {
14902
14922
  const components = [
14903
14923
  ActionBar,
@@ -14969,6 +14989,10 @@ function install(app) {
14969
14989
  Sidebar,
14970
14990
  SidebarItem,
14971
14991
  Skeleton,
14992
+ SkeletonAvatar,
14993
+ SkeletonImage,
14994
+ SkeletonParagraph,
14995
+ SkeletonTitle,
14972
14996
  Slider,
14973
14997
  Space,
14974
14998
  Step,
@@ -15032,6 +15056,7 @@ export {
15032
15056
  Coupon,
15033
15057
  CouponCell,
15034
15058
  CouponList,
15059
+ DEFAULT_ROW_WIDTH,
15035
15060
  DatePicker,
15036
15061
  Dialog,
15037
15062
  Divider,