vant 4.7.2 → 4.8.0

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 (110) hide show
  1. package/README.md +1 -0
  2. package/es/address-edit/AddressEdit.mjs +1 -1
  3. package/es/calendar/Calendar.mjs +20 -17
  4. package/es/cell/Cell.d.ts +17 -5
  5. package/es/cell/Cell.mjs +5 -2
  6. package/es/cell/index.d.ts +9 -3
  7. package/es/checkbox/Checker.mjs +7 -1
  8. package/es/col/Col.mjs +11 -3
  9. package/es/collapse-item/CollapseItem.d.ts +13 -4
  10. package/es/collapse-item/index.d.ts +9 -3
  11. package/es/config-provider/types.d.ts +1 -1
  12. package/es/field/Field.d.ts +30 -21
  13. package/es/field/Field.mjs +11 -3
  14. package/es/field/index.css +1 -1
  15. package/es/field/index.d.ts +18 -12
  16. package/es/field/types.d.ts +1 -1
  17. package/es/form/Form.d.ts +3 -0
  18. package/es/form/Form.mjs +1 -0
  19. package/es/form/index.d.ts +2 -0
  20. package/es/highlight/Highlight.d.ts +96 -0
  21. package/es/highlight/Highlight.mjs +122 -0
  22. package/es/highlight/index.css +1 -0
  23. package/es/highlight/index.d.ts +73 -0
  24. package/es/highlight/index.mjs +10 -0
  25. package/es/highlight/style/index.d.ts +1 -0
  26. package/es/highlight/style/index.mjs +2 -0
  27. package/es/highlight/types.d.ts +3 -0
  28. package/es/highlight/types.mjs +0 -0
  29. package/es/image-preview/ImagePreview.mjs +10 -0
  30. package/es/image-preview/ImagePreviewItem.d.ts +27 -1
  31. package/es/image-preview/ImagePreviewItem.mjs +17 -12
  32. package/es/image-preview/types.d.ts +7 -0
  33. package/es/index.d.ts +2 -1
  34. package/es/index.mjs +4 -1
  35. package/es/locale/lang/ar-SA.d.ts +63 -0
  36. package/es/locale/lang/ar-SA.mjs +65 -0
  37. package/es/picker-group/PickerGroup.mjs +3 -3
  38. package/es/progress/types.d.ts +1 -4
  39. package/es/row/Row.d.ts +8 -4
  40. package/es/row/Row.mjs +35 -4
  41. package/es/row/index.d.ts +3 -3
  42. package/es/search/Search.d.ts +13 -13
  43. package/es/search/Search.mjs +3 -1
  44. package/es/search/index.css +1 -1
  45. package/es/search/index.d.ts +9 -9
  46. package/es/signature/Signature.mjs +16 -3
  47. package/es/signature/index.d.ts +1 -1
  48. package/es/signature/types.d.ts +6 -0
  49. package/es/tabs/Tabs.d.ts +13 -0
  50. package/es/tabs/Tabs.mjs +3 -2
  51. package/es/tabs/index.d.ts +9 -0
  52. package/es/text-ellipsis/index.css +1 -1
  53. package/lib/address-edit/AddressEdit.js +1 -1
  54. package/lib/calendar/Calendar.js +20 -17
  55. package/lib/cell/Cell.d.ts +17 -5
  56. package/lib/cell/Cell.js +5 -2
  57. package/lib/cell/index.d.ts +9 -3
  58. package/lib/checkbox/Checker.js +7 -1
  59. package/lib/col/Col.js +10 -2
  60. package/lib/collapse-item/CollapseItem.d.ts +13 -4
  61. package/lib/collapse-item/index.d.ts +9 -3
  62. package/lib/config-provider/types.d.ts +1 -1
  63. package/lib/field/Field.d.ts +30 -21
  64. package/lib/field/Field.js +11 -3
  65. package/lib/field/index.css +1 -1
  66. package/lib/field/index.d.ts +18 -12
  67. package/lib/field/types.d.ts +1 -1
  68. package/lib/form/Form.d.ts +3 -0
  69. package/lib/form/Form.js +1 -0
  70. package/lib/form/index.d.ts +2 -0
  71. package/lib/highlight/Highlight.d.ts +96 -0
  72. package/lib/highlight/Highlight.js +141 -0
  73. package/lib/highlight/index.css +1 -0
  74. package/lib/highlight/index.d.ts +73 -0
  75. package/lib/highlight/index.js +39 -0
  76. package/lib/highlight/style/index.d.ts +1 -0
  77. package/lib/highlight/style/index.js +2 -0
  78. package/lib/highlight/types.d.ts +3 -0
  79. package/lib/highlight/types.js +15 -0
  80. package/lib/image-preview/ImagePreview.js +10 -0
  81. package/lib/image-preview/ImagePreviewItem.d.ts +27 -1
  82. package/lib/image-preview/ImagePreviewItem.js +17 -12
  83. package/lib/image-preview/types.d.ts +7 -0
  84. package/lib/index.css +1 -1
  85. package/lib/index.d.ts +2 -1
  86. package/lib/index.js +4 -1
  87. package/lib/locale/lang/ar-SA.d.ts +63 -0
  88. package/lib/locale/lang/ar-SA.js +84 -0
  89. package/lib/picker-group/PickerGroup.js +2 -2
  90. package/lib/progress/types.d.ts +1 -4
  91. package/lib/row/Row.d.ts +8 -4
  92. package/lib/row/Row.js +34 -3
  93. package/lib/row/index.d.ts +3 -3
  94. package/lib/search/Search.d.ts +13 -13
  95. package/lib/search/Search.js +3 -1
  96. package/lib/search/index.css +1 -1
  97. package/lib/search/index.d.ts +9 -9
  98. package/lib/signature/Signature.js +14 -1
  99. package/lib/signature/index.d.ts +1 -1
  100. package/lib/signature/types.d.ts +6 -0
  101. package/lib/tabs/Tabs.d.ts +13 -0
  102. package/lib/tabs/Tabs.js +3 -2
  103. package/lib/tabs/index.d.ts +9 -0
  104. package/lib/text-ellipsis/index.css +1 -1
  105. package/lib/vant.cjs.js +813 -605
  106. package/lib/vant.es.js +814 -606
  107. package/lib/vant.js +813 -605
  108. package/lib/vant.min.js +1 -1
  109. package/lib/web-types.json +1 -1
  110. package/package.json +2 -2
package/lib/vant.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { unref, ref, reactive, inject, watch, onMounted, nextTick, createVNode, defineComponent, getCurrentInstance, computed, onActivated, onDeactivated, onBeforeUnmount, provide, watchEffect, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, onBeforeUpdate, createTextVNode, onUnmounted, createApp, resolveDirective, withKeys, onUpdated, Comment, Text, h } from "vue";
1
+ import { unref, ref, reactive, inject, watch, onMounted, nextTick, createVNode, defineComponent, getCurrentInstance, computed, onActivated, onDeactivated, onBeforeUnmount, provide, watchEffect, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, onBeforeUpdate, Comment, createTextVNode, onUnmounted, createApp, resolveDirective, withKeys, onUpdated, Text, h } from "vue";
2
2
  import { useWindowSize, useRect, useChildren, useParent, onMountedOrActivated, getScrollParent, useEventListener, cancelRaf, raf, useScrollParent, usePageVisibility, doubleRaf, CUSTOM_FIELD_INJECTION_KEY, useCustomFieldValue, inBrowser as inBrowser$1, useToggle, useCountDown, useClickAway } from "@vant/use";
3
3
  import { normalizeClass, stringifyStyle, normalizeStyle } from "@vue/shared";
4
4
  import { offsetModifier, createPopper } from "@vant/popperjs";
@@ -239,7 +239,7 @@ function deepAssign(to, from) {
239
239
  });
240
240
  return to;
241
241
  }
242
- var stdin_default$1V = {
242
+ var stdin_default$1W = {
243
243
  name: "姓名",
244
244
  tel: "电话",
245
245
  save: "保存",
@@ -303,7 +303,7 @@ var stdin_default$1V = {
303
303
  };
304
304
  const lang = ref("zh-CN");
305
305
  const messages = reactive({
306
- "zh-CN": stdin_default$1V
306
+ "zh-CN": stdin_default$1W
307
307
  });
308
308
  const Locale = {
309
309
  messages() {
@@ -318,11 +318,11 @@ const Locale = {
318
318
  }
319
319
  };
320
320
  const useCurrentLang = () => lang;
321
- var stdin_default$1U = Locale;
321
+ var stdin_default$1V = Locale;
322
322
  function createTranslate(name2) {
323
323
  const prefix = camelize(name2) + ".";
324
324
  return (path, ...args) => {
325
- const messages2 = stdin_default$1U.messages();
325
+ const messages2 = stdin_default$1V.messages();
326
326
  const message = get(messages2, prefix + path) || get(messages2, path);
327
327
  return isFunction(message) ? message(...args) : message;
328
328
  };
@@ -452,20 +452,20 @@ function usePlaceholder(contentRef, bem2) {
452
452
  }
453
453
  }, [renderContent()]);
454
454
  }
455
- const [name$1J, bem$1E] = createNamespace("action-bar");
456
- const ACTION_BAR_KEY = Symbol(name$1J);
455
+ const [name$1K, bem$1F] = createNamespace("action-bar");
456
+ const ACTION_BAR_KEY = Symbol(name$1K);
457
457
  const actionBarProps = {
458
458
  placeholder: Boolean,
459
459
  safeAreaInsetBottom: truthProp
460
460
  };
461
- var stdin_default$1T = defineComponent({
462
- name: name$1J,
461
+ var stdin_default$1U = defineComponent({
462
+ name: name$1K,
463
463
  props: actionBarProps,
464
464
  setup(props2, {
465
465
  slots
466
466
  }) {
467
467
  const root = ref();
468
- const renderPlaceholder = usePlaceholder(root, bem$1E);
468
+ const renderPlaceholder = usePlaceholder(root, bem$1F);
469
469
  const {
470
470
  linkChildren
471
471
  } = useChildren(ACTION_BAR_KEY);
@@ -474,7 +474,7 @@ var stdin_default$1T = defineComponent({
474
474
  var _a;
475
475
  return createVNode("div", {
476
476
  "ref": root,
477
- "class": [bem$1E(), {
477
+ "class": [bem$1F(), {
478
478
  "van-safe-area-bottom": props2.safeAreaInsetBottom
479
479
  }]
480
480
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -487,7 +487,7 @@ var stdin_default$1T = defineComponent({
487
487
  };
488
488
  }
489
489
  });
490
- const ActionBar = withInstall(stdin_default$1T);
490
+ const ActionBar = withInstall(stdin_default$1U);
491
491
  function useExpose(apis) {
492
492
  const instance2 = getCurrentInstance();
493
493
  if (instance2) {
@@ -515,7 +515,7 @@ function useRoute() {
515
515
  const vm = getCurrentInstance().proxy;
516
516
  return () => route(vm);
517
517
  }
518
- const [name$1I, bem$1D] = createNamespace("badge");
518
+ const [name$1J, bem$1E] = createNamespace("badge");
519
519
  const badgeProps = {
520
520
  dot: Boolean,
521
521
  max: numericProp,
@@ -526,8 +526,8 @@ const badgeProps = {
526
526
  showZero: truthProp,
527
527
  position: makeStringProp("top-right")
528
528
  };
529
- var stdin_default$1S = defineComponent({
530
- name: name$1I,
529
+ var stdin_default$1T = defineComponent({
530
+ name: name$1J,
531
531
  props: badgeProps,
532
532
  setup(props2, {
533
533
  slots
@@ -590,7 +590,7 @@ var stdin_default$1S = defineComponent({
590
590
  const renderBadge = () => {
591
591
  if (hasContent() || props2.dot) {
592
592
  return createVNode("div", {
593
- "class": bem$1D([props2.position, {
593
+ "class": bem$1E([props2.position, {
594
594
  dot: props2.dot,
595
595
  fixed: !!slots.default
596
596
  }]),
@@ -604,7 +604,7 @@ var stdin_default$1S = defineComponent({
604
604
  tag
605
605
  } = props2;
606
606
  return createVNode(tag, {
607
- "class": bem$1D("wrapper")
607
+ "class": bem$1E("wrapper")
608
608
  }, {
609
609
  default: () => [slots.default(), renderBadge()]
610
610
  });
@@ -613,14 +613,14 @@ var stdin_default$1S = defineComponent({
613
613
  };
614
614
  }
615
615
  });
616
- const Badge = withInstall(stdin_default$1S);
616
+ const Badge = withInstall(stdin_default$1T);
617
617
  let globalZIndex = 2e3;
618
618
  const useGlobalZIndex = () => ++globalZIndex;
619
619
  const setGlobalZIndex = (val) => {
620
620
  globalZIndex = val;
621
621
  };
622
- const [name$1H, bem$1C] = createNamespace("config-provider");
623
- const CONFIG_PROVIDER_KEY = Symbol(name$1H);
622
+ const [name$1I, bem$1D] = createNamespace("config-provider");
623
+ const CONFIG_PROVIDER_KEY = Symbol(name$1I);
624
624
  const configProviderProps = {
625
625
  tag: makeStringProp("div"),
626
626
  theme: makeStringProp("light"),
@@ -654,8 +654,8 @@ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
654
654
  }
655
655
  });
656
656
  }
657
- var stdin_default$1R = defineComponent({
658
- name: name$1H,
657
+ var stdin_default$1S = defineComponent({
658
+ name: name$1I,
659
659
  props: configProviderProps,
660
660
  setup(props2, {
661
661
  slots
@@ -703,7 +703,7 @@ var stdin_default$1R = defineComponent({
703
703
  }
704
704
  });
705
705
  return () => createVNode(props2.tag, {
706
- "class": bem$1C(),
706
+ "class": bem$1D(),
707
707
  "style": props2.themeVarsScope === "local" ? style.value : void 0
708
708
  }, {
709
709
  default: () => {
@@ -713,7 +713,7 @@ var stdin_default$1R = defineComponent({
713
713
  });
714
714
  }
715
715
  });
716
- const [name$1G, bem$1B] = createNamespace("icon");
716
+ const [name$1H, bem$1C] = createNamespace("icon");
717
717
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
718
718
  const iconProps = {
719
719
  dot: Boolean,
@@ -725,14 +725,14 @@ const iconProps = {
725
725
  badgeProps: Object,
726
726
  classPrefix: String
727
727
  };
728
- var stdin_default$1Q = defineComponent({
729
- name: name$1G,
728
+ var stdin_default$1R = defineComponent({
729
+ name: name$1H,
730
730
  props: iconProps,
731
731
  setup(props2, {
732
732
  slots
733
733
  }) {
734
734
  const config = inject(CONFIG_PROVIDER_KEY, null);
735
- const classPrefix = computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1B());
735
+ const classPrefix = computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1C());
736
736
  return () => {
737
737
  const {
738
738
  tag,
@@ -756,7 +756,7 @@ var stdin_default$1Q = defineComponent({
756
756
  default: () => {
757
757
  var _a;
758
758
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && createVNode("img", {
759
- "class": bem$1B("image"),
759
+ "class": bem$1C("image"),
760
760
  "src": name2
761
761
  }, null)];
762
762
  }
@@ -764,14 +764,14 @@ var stdin_default$1Q = defineComponent({
764
764
  };
765
765
  }
766
766
  });
767
- const Icon = withInstall(stdin_default$1Q);
768
- var stdin_default$1P = Icon;
769
- const [name$1F, bem$1A] = createNamespace("loading");
767
+ const Icon = withInstall(stdin_default$1R);
768
+ var stdin_default$1Q = Icon;
769
+ const [name$1G, bem$1B] = createNamespace("loading");
770
770
  const SpinIcon = Array(12).fill(null).map((_, index) => createVNode("i", {
771
- "class": bem$1A("line", String(index + 1))
771
+ "class": bem$1B("line", String(index + 1))
772
772
  }, null));
773
773
  const CircularIcon = createVNode("svg", {
774
- "class": bem$1A("circular"),
774
+ "class": bem$1B("circular"),
775
775
  "viewBox": "25 25 50 50"
776
776
  }, [createVNode("circle", {
777
777
  "cx": "50",
@@ -787,8 +787,8 @@ const loadingProps = {
787
787
  textSize: numericProp,
788
788
  textColor: String
789
789
  };
790
- var stdin_default$1O = defineComponent({
791
- name: name$1F,
790
+ var stdin_default$1P = defineComponent({
791
+ name: name$1G,
792
792
  props: loadingProps,
793
793
  setup(props2, {
794
794
  slots
@@ -799,7 +799,7 @@ var stdin_default$1O = defineComponent({
799
799
  const renderIcon = () => {
800
800
  const DefaultIcon = props2.type === "spinner" ? SpinIcon : CircularIcon;
801
801
  return createVNode("span", {
802
- "class": bem$1A("spinner", props2.type),
802
+ "class": bem$1B("spinner", props2.type),
803
803
  "style": spinnerStyle.value
804
804
  }, [slots.icon ? slots.icon() : DefaultIcon]);
805
805
  };
@@ -807,7 +807,7 @@ var stdin_default$1O = defineComponent({
807
807
  var _a;
808
808
  if (slots.default) {
809
809
  return createVNode("span", {
810
- "class": bem$1A("text"),
810
+ "class": bem$1B("text"),
811
811
  "style": {
812
812
  fontSize: addUnit(props2.textSize),
813
813
  color: (_a = props2.textColor) != null ? _a : props2.color
@@ -821,7 +821,7 @@ var stdin_default$1O = defineComponent({
821
821
  vertical
822
822
  } = props2;
823
823
  return createVNode("div", {
824
- "class": bem$1A([type, {
824
+ "class": bem$1B([type, {
825
825
  vertical
826
826
  }]),
827
827
  "aria-live": "polite",
@@ -830,8 +830,8 @@ var stdin_default$1O = defineComponent({
830
830
  };
831
831
  }
832
832
  });
833
- const Loading = withInstall(stdin_default$1O);
834
- const [name$1E, bem$1z] = createNamespace("button");
833
+ const Loading = withInstall(stdin_default$1P);
834
+ const [name$1F, bem$1A] = createNamespace("button");
835
835
  const buttonProps = extend({}, routeProps, {
836
836
  tag: makeStringProp("button"),
837
837
  text: String,
@@ -853,8 +853,8 @@ const buttonProps = extend({}, routeProps, {
853
853
  loadingType: String,
854
854
  iconPosition: makeStringProp("left")
855
855
  });
856
- var stdin_default$1N = defineComponent({
857
- name: name$1E,
856
+ var stdin_default$1O = defineComponent({
857
+ name: name$1F,
858
858
  props: buttonProps,
859
859
  emits: ["click"],
860
860
  setup(props2, {
@@ -869,7 +869,7 @@ var stdin_default$1N = defineComponent({
869
869
  return createVNode(Loading, {
870
870
  "size": props2.loadingSize,
871
871
  "type": props2.loadingType,
872
- "class": bem$1z("loading")
872
+ "class": bem$1A("loading")
873
873
  }, null);
874
874
  };
875
875
  const renderIcon = () => {
@@ -878,13 +878,13 @@ var stdin_default$1N = defineComponent({
878
878
  }
879
879
  if (slots.icon) {
880
880
  return createVNode("div", {
881
- "class": bem$1z("icon")
881
+ "class": bem$1A("icon")
882
882
  }, [slots.icon()]);
883
883
  }
884
884
  if (props2.icon) {
885
885
  return createVNode(Icon, {
886
886
  "name": props2.icon,
887
- "class": bem$1z("icon"),
887
+ "class": bem$1A("icon"),
888
888
  "classPrefix": props2.iconPrefix
889
889
  }, null);
890
890
  }
@@ -898,7 +898,7 @@ var stdin_default$1N = defineComponent({
898
898
  }
899
899
  if (text) {
900
900
  return createVNode("span", {
901
- "class": bem$1z("text")
901
+ "class": bem$1A("text")
902
902
  }, [text]);
903
903
  }
904
904
  };
@@ -945,7 +945,7 @@ var stdin_default$1N = defineComponent({
945
945
  nativeType,
946
946
  iconPosition
947
947
  } = props2;
948
- const classes = [bem$1z([type, size, {
948
+ const classes = [bem$1A([type, size, {
949
949
  plain,
950
950
  block,
951
951
  round,
@@ -964,14 +964,14 @@ var stdin_default$1N = defineComponent({
964
964
  "onClick": onClick
965
965
  }, {
966
966
  default: () => [createVNode("div", {
967
- "class": bem$1z("content")
967
+ "class": bem$1A("content")
968
968
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
969
969
  });
970
970
  };
971
971
  }
972
972
  });
973
- const Button = withInstall(stdin_default$1N);
974
- const [name$1D, bem$1y] = createNamespace("action-bar-button");
973
+ const Button = withInstall(stdin_default$1O);
974
+ const [name$1E, bem$1z] = createNamespace("action-bar-button");
975
975
  const actionBarButtonProps = extend({}, routeProps, {
976
976
  type: String,
977
977
  text: String,
@@ -980,8 +980,8 @@ const actionBarButtonProps = extend({}, routeProps, {
980
980
  loading: Boolean,
981
981
  disabled: Boolean
982
982
  });
983
- var stdin_default$1M = defineComponent({
984
- name: name$1D,
983
+ var stdin_default$1N = defineComponent({
984
+ name: name$1E,
985
985
  props: actionBarButtonProps,
986
986
  setup(props2, {
987
987
  slots
@@ -1016,7 +1016,7 @@ var stdin_default$1M = defineComponent({
1016
1016
  disabled
1017
1017
  } = props2;
1018
1018
  return createVNode(Button, {
1019
- "class": bem$1y([type, {
1019
+ "class": bem$1z([type, {
1020
1020
  last: isLast.value,
1021
1021
  first: isFirst.value
1022
1022
  }]),
@@ -1033,8 +1033,8 @@ var stdin_default$1M = defineComponent({
1033
1033
  };
1034
1034
  }
1035
1035
  });
1036
- const ActionBarButton = withInstall(stdin_default$1M);
1037
- const [name$1C, bem$1x] = createNamespace("action-bar-icon");
1036
+ const ActionBarButton = withInstall(stdin_default$1N);
1037
+ const [name$1D, bem$1y] = createNamespace("action-bar-icon");
1038
1038
  const actionBarIconProps = extend({}, routeProps, {
1039
1039
  dot: Boolean,
1040
1040
  text: String,
@@ -1045,8 +1045,8 @@ const actionBarIconProps = extend({}, routeProps, {
1045
1045
  badgeProps: Object,
1046
1046
  iconPrefix: String
1047
1047
  });
1048
- var stdin_default$1L = defineComponent({
1049
- name: name$1C,
1048
+ var stdin_default$1M = defineComponent({
1049
+ name: name$1D,
1050
1050
  props: actionBarIconProps,
1051
1051
  setup(props2, {
1052
1052
  slots
@@ -1066,7 +1066,7 @@ var stdin_default$1L = defineComponent({
1066
1066
  if (slots.icon) {
1067
1067
  return createVNode(Badge, mergeProps({
1068
1068
  "dot": dot,
1069
- "class": bem$1x("icon"),
1069
+ "class": bem$1y("icon"),
1070
1070
  "content": badge
1071
1071
  }, badgeProps2), {
1072
1072
  default: slots.icon
@@ -1078,20 +1078,20 @@ var stdin_default$1L = defineComponent({
1078
1078
  "name": icon,
1079
1079
  "badge": badge,
1080
1080
  "color": color,
1081
- "class": [bem$1x("icon"), iconClass],
1081
+ "class": [bem$1y("icon"), iconClass],
1082
1082
  "badgeProps": badgeProps2,
1083
1083
  "classPrefix": iconPrefix
1084
1084
  }, null);
1085
1085
  };
1086
1086
  return () => createVNode("div", {
1087
1087
  "role": "button",
1088
- "class": bem$1x(),
1088
+ "class": bem$1y(),
1089
1089
  "tabindex": 0,
1090
1090
  "onClick": route2
1091
1091
  }, [renderIcon(), slots.default ? slots.default() : props2.text]);
1092
1092
  }
1093
1093
  });
1094
- const ActionBarIcon = withInstall(stdin_default$1L);
1094
+ const ActionBarIcon = withInstall(stdin_default$1M);
1095
1095
  const popupSharedProps = {
1096
1096
  // whether to show popup
1097
1097
  show: Boolean,
@@ -1253,7 +1253,7 @@ const useScopeId = () => {
1253
1253
  const { scopeId } = ((_a = getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1254
1254
  return scopeId ? { [scopeId]: "" } : null;
1255
1255
  };
1256
- const [name$1B, bem$1w] = createNamespace("overlay");
1256
+ const [name$1C, bem$1x] = createNamespace("overlay");
1257
1257
  const overlayProps = {
1258
1258
  show: Boolean,
1259
1259
  zIndex: numericProp,
@@ -1263,8 +1263,8 @@ const overlayProps = {
1263
1263
  lazyRender: truthProp,
1264
1264
  customStyle: Object
1265
1265
  };
1266
- var stdin_default$1K = defineComponent({
1267
- name: name$1B,
1266
+ var stdin_default$1L = defineComponent({
1267
+ name: name$1C,
1268
1268
  props: overlayProps,
1269
1269
  setup(props2, {
1270
1270
  slots
@@ -1285,7 +1285,7 @@ var stdin_default$1K = defineComponent({
1285
1285
  return withDirectives(createVNode("div", {
1286
1286
  "ref": root,
1287
1287
  "style": style,
1288
- "class": [bem$1w(), props2.className]
1288
+ "class": [bem$1x(), props2.className]
1289
1289
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vShow, props2.show]]);
1290
1290
  });
1291
1291
  useEventListener("touchmove", onTouchMove, {
@@ -1299,7 +1299,7 @@ var stdin_default$1K = defineComponent({
1299
1299
  });
1300
1300
  }
1301
1301
  });
1302
- const Overlay = withInstall(stdin_default$1K);
1302
+ const Overlay = withInstall(stdin_default$1L);
1303
1303
  const popupProps$2 = extend({}, popupSharedProps, {
1304
1304
  round: Boolean,
1305
1305
  position: makeStringProp("center"),
@@ -1312,9 +1312,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
1312
1312
  safeAreaInsetTop: Boolean,
1313
1313
  safeAreaInsetBottom: Boolean
1314
1314
  });
1315
- const [name$1A, bem$1v] = createNamespace("popup");
1316
- var stdin_default$1J = defineComponent({
1317
- name: name$1A,
1315
+ const [name$1B, bem$1w] = createNamespace("popup");
1316
+ var stdin_default$1K = defineComponent({
1317
+ name: name$1B,
1318
1318
  inheritAttrs: false,
1319
1319
  props: popupProps$2,
1320
1320
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1389,7 +1389,7 @@ var stdin_default$1J = defineComponent({
1389
1389
  "role": "button",
1390
1390
  "tabindex": 0,
1391
1391
  "name": props2.closeIcon,
1392
- "class": [bem$1v("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1392
+ "class": [bem$1w("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1393
1393
  "classPrefix": props2.iconPrefix,
1394
1394
  "onClick": onClickCloseIcon
1395
1395
  }, null);
@@ -1418,7 +1418,7 @@ var stdin_default$1J = defineComponent({
1418
1418
  "style": style.value,
1419
1419
  "role": "dialog",
1420
1420
  "tabindex": 0,
1421
- "class": [bem$1v({
1421
+ "class": [bem$1w({
1422
1422
  round,
1423
1423
  [position]: position
1424
1424
  }), {
@@ -1499,8 +1499,8 @@ var stdin_default$1J = defineComponent({
1499
1499
  };
1500
1500
  }
1501
1501
  });
1502
- const Popup = withInstall(stdin_default$1J);
1503
- const [name$1z, bem$1u] = createNamespace("action-sheet");
1502
+ const Popup = withInstall(stdin_default$1K);
1503
+ const [name$1A, bem$1v] = createNamespace("action-sheet");
1504
1504
  const actionSheetProps = extend({}, popupSharedProps, {
1505
1505
  title: String,
1506
1506
  round: truthProp,
@@ -1514,8 +1514,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1514
1514
  safeAreaInsetBottom: truthProp
1515
1515
  });
1516
1516
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1517
- var stdin_default$1I = defineComponent({
1518
- name: name$1z,
1517
+ var stdin_default$1J = defineComponent({
1518
+ name: name$1A,
1519
1519
  props: actionSheetProps,
1520
1520
  emits: ["select", "cancel", "update:show"],
1521
1521
  setup(props2, {
@@ -1530,10 +1530,10 @@ var stdin_default$1I = defineComponent({
1530
1530
  const renderHeader = () => {
1531
1531
  if (props2.title) {
1532
1532
  return createVNode("div", {
1533
- "class": bem$1u("header")
1533
+ "class": bem$1v("header")
1534
1534
  }, [props2.title, props2.closeable && createVNode(Icon, {
1535
1535
  "name": props2.closeIcon,
1536
- "class": [bem$1u("close"), HAPTICS_FEEDBACK],
1536
+ "class": [bem$1v("close"), HAPTICS_FEEDBACK],
1537
1537
  "onClick": onCancel
1538
1538
  }, null)]);
1539
1539
  }
@@ -1541,10 +1541,10 @@ var stdin_default$1I = defineComponent({
1541
1541
  const renderCancel = () => {
1542
1542
  if (slots.cancel || props2.cancelText) {
1543
1543
  return [createVNode("div", {
1544
- "class": bem$1u("gap")
1544
+ "class": bem$1v("gap")
1545
1545
  }, null), createVNode("button", {
1546
1546
  "type": "button",
1547
- "class": bem$1u("cancel"),
1547
+ "class": bem$1v("cancel"),
1548
1548
  "onClick": onCancel
1549
1549
  }, [slots.cancel ? slots.cancel() : props2.cancelText])];
1550
1550
  }
@@ -1552,7 +1552,7 @@ var stdin_default$1I = defineComponent({
1552
1552
  const renderActionContent = (action, index) => {
1553
1553
  if (action.loading) {
1554
1554
  return createVNode(Loading, {
1555
- "class": bem$1u("loading-icon")
1555
+ "class": bem$1v("loading-icon")
1556
1556
  }, null);
1557
1557
  }
1558
1558
  if (slots.action) {
@@ -1562,9 +1562,9 @@ var stdin_default$1I = defineComponent({
1562
1562
  });
1563
1563
  }
1564
1564
  return [createVNode("span", {
1565
- "class": bem$1u("name")
1565
+ "class": bem$1v("name")
1566
1566
  }, [action.name]), action.subname && createVNode("div", {
1567
- "class": bem$1u("subname")
1567
+ "class": bem$1v("subname")
1568
1568
  }, [action.subname])];
1569
1569
  };
1570
1570
  const renderAction = (action, index) => {
@@ -1592,7 +1592,7 @@ var stdin_default$1I = defineComponent({
1592
1592
  "style": {
1593
1593
  color
1594
1594
  },
1595
- "class": [bem$1u("item", {
1595
+ "class": [bem$1v("item", {
1596
1596
  loading,
1597
1597
  disabled
1598
1598
  }), className],
@@ -1603,26 +1603,26 @@ var stdin_default$1I = defineComponent({
1603
1603
  if (props2.description || slots.description) {
1604
1604
  const content = slots.description ? slots.description() : props2.description;
1605
1605
  return createVNode("div", {
1606
- "class": bem$1u("description")
1606
+ "class": bem$1v("description")
1607
1607
  }, [content]);
1608
1608
  }
1609
1609
  };
1610
1610
  return () => createVNode(Popup, mergeProps({
1611
- "class": bem$1u(),
1611
+ "class": bem$1v(),
1612
1612
  "position": "bottom",
1613
1613
  "onUpdate:show": updateShow
1614
1614
  }, pick(props2, popupInheritKeys$2)), {
1615
1615
  default: () => {
1616
1616
  var _a;
1617
1617
  return [renderHeader(), renderDescription(), createVNode("div", {
1618
- "class": bem$1u("content")
1618
+ "class": bem$1v("content")
1619
1619
  }, [props2.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1620
1620
  }
1621
1621
  });
1622
1622
  }
1623
1623
  });
1624
- const ActionSheet = withInstall(stdin_default$1I);
1625
- const [name$1y, bem$1t, t$k] = createNamespace("picker");
1624
+ const ActionSheet = withInstall(stdin_default$1J);
1625
+ const [name$1z, bem$1u, t$k] = createNamespace("picker");
1626
1626
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1627
1627
  function getColumnsType(columns, fields) {
1628
1628
  const firstColumn = columns[0];
@@ -1691,10 +1691,10 @@ function assignDefaultFields(fields) {
1691
1691
  const DEFAULT_DURATION = 200;
1692
1692
  const MOMENTUM_TIME = 300;
1693
1693
  const MOMENTUM_DISTANCE = 15;
1694
- const [name$1x, bem$1s] = createNamespace("picker-column");
1695
- const PICKER_KEY = Symbol(name$1x);
1696
- var stdin_default$1H = defineComponent({
1697
- name: name$1x,
1694
+ const [name$1y, bem$1t] = createNamespace("picker-column");
1695
+ const PICKER_KEY = Symbol(name$1y);
1696
+ var stdin_default$1I = defineComponent({
1697
+ name: name$1y,
1698
1698
  props: {
1699
1699
  value: numericProp,
1700
1700
  fields: makeRequiredProp(Object),
@@ -1836,7 +1836,7 @@ var stdin_default$1H = defineComponent({
1836
1836
  role: "button",
1837
1837
  style: optionStyle,
1838
1838
  tabindex: disabled ? -1 : 0,
1839
- class: [bem$1s("item", {
1839
+ class: [bem$1t("item", {
1840
1840
  disabled,
1841
1841
  selected: value === props2.value
1842
1842
  }), option.className],
@@ -1866,7 +1866,7 @@ var stdin_default$1H = defineComponent({
1866
1866
  });
1867
1867
  return () => createVNode("div", {
1868
1868
  "ref": root,
1869
- "class": bem$1s(),
1869
+ "class": bem$1t(),
1870
1870
  "onTouchstartPassive": onTouchStart,
1871
1871
  "onTouchend": onTouchEnd,
1872
1872
  "onTouchcancel": onTouchEnd
@@ -1877,12 +1877,12 @@ var stdin_default$1H = defineComponent({
1877
1877
  transitionDuration: `${currentDuration.value}ms`,
1878
1878
  transitionProperty: currentDuration.value ? "all" : "none"
1879
1879
  },
1880
- "class": bem$1s("wrapper"),
1880
+ "class": bem$1t("wrapper"),
1881
1881
  "onTransitionend": stopMomentum
1882
1882
  }, [renderOptions()])]);
1883
1883
  }
1884
1884
  });
1885
- const [name$1w] = createNamespace("picker-toolbar");
1885
+ const [name$1x] = createNamespace("picker-toolbar");
1886
1886
  const pickerToolbarProps = {
1887
1887
  title: String,
1888
1888
  cancelButtonText: String,
@@ -1890,8 +1890,8 @@ const pickerToolbarProps = {
1890
1890
  };
1891
1891
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
1892
1892
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
1893
- var stdin_default$1G = defineComponent({
1894
- name: name$1w,
1893
+ var stdin_default$1H = defineComponent({
1894
+ name: name$1x,
1895
1895
  props: pickerToolbarProps,
1896
1896
  emits: ["confirm", "cancel"],
1897
1897
  setup(props2, {
@@ -1904,7 +1904,7 @@ var stdin_default$1G = defineComponent({
1904
1904
  }
1905
1905
  if (props2.title) {
1906
1906
  return createVNode("div", {
1907
- "class": [bem$1t("title"), "van-ellipsis"]
1907
+ "class": [bem$1u("title"), "van-ellipsis"]
1908
1908
  }, [props2.title]);
1909
1909
  }
1910
1910
  };
@@ -1914,7 +1914,7 @@ var stdin_default$1G = defineComponent({
1914
1914
  const text = props2.cancelButtonText || t$k("cancel");
1915
1915
  return createVNode("button", {
1916
1916
  "type": "button",
1917
- "class": [bem$1t("cancel"), HAPTICS_FEEDBACK],
1917
+ "class": [bem$1u("cancel"), HAPTICS_FEEDBACK],
1918
1918
  "onClick": onCancel
1919
1919
  }, [slots.cancel ? slots.cancel() : text]);
1920
1920
  };
@@ -1922,12 +1922,12 @@ var stdin_default$1G = defineComponent({
1922
1922
  const text = props2.confirmButtonText || t$k("confirm");
1923
1923
  return createVNode("button", {
1924
1924
  "type": "button",
1925
- "class": [bem$1t("confirm"), HAPTICS_FEEDBACK],
1925
+ "class": [bem$1u("confirm"), HAPTICS_FEEDBACK],
1926
1926
  "onClick": onConfirm
1927
1927
  }, [slots.confirm ? slots.confirm() : text]);
1928
1928
  };
1929
1929
  return () => createVNode("div", {
1930
- "class": bem$1t("toolbar")
1930
+ "class": bem$1u("toolbar")
1931
1931
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
1932
1932
  }
1933
1933
  });
@@ -2035,7 +2035,7 @@ function useVisibilityChange(target, onChange) {
2035
2035
  onBeforeUnmount(unobserve);
2036
2036
  onMountedOrActivated(observe);
2037
2037
  }
2038
- const [name$1v, bem$1r] = createNamespace("sticky");
2038
+ const [name$1w, bem$1s] = createNamespace("sticky");
2039
2039
  const stickyProps = {
2040
2040
  zIndex: numericProp,
2041
2041
  position: makeStringProp("top"),
@@ -2043,8 +2043,8 @@ const stickyProps = {
2043
2043
  offsetTop: makeNumericProp(0),
2044
2044
  offsetBottom: makeNumericProp(0)
2045
2045
  };
2046
- var stdin_default$1F = defineComponent({
2047
- name: name$1v,
2046
+ var stdin_default$1G = defineComponent({
2047
+ name: name$1w,
2048
2048
  props: stickyProps,
2049
2049
  emits: ["scroll", "change"],
2050
2050
  setup(props2, {
@@ -2157,7 +2157,7 @@ var stdin_default$1F = defineComponent({
2157
2157
  "ref": root,
2158
2158
  "style": rootStyle.value
2159
2159
  }, [createVNode("div", {
2160
- "class": bem$1r({
2160
+ "class": bem$1s({
2161
2161
  fixed: state.fixed && !isReset.value
2162
2162
  }),
2163
2163
  "style": stickyStyle.value
@@ -2165,8 +2165,8 @@ var stdin_default$1F = defineComponent({
2165
2165
  };
2166
2166
  }
2167
2167
  });
2168
- const Sticky = withInstall(stdin_default$1F);
2169
- const [name$1u, bem$1q] = createNamespace("swipe");
2168
+ const Sticky = withInstall(stdin_default$1G);
2169
+ const [name$1v, bem$1r] = createNamespace("swipe");
2170
2170
  const swipeProps = {
2171
2171
  loop: truthProp,
2172
2172
  width: numericProp,
@@ -2181,9 +2181,9 @@ const swipeProps = {
2181
2181
  showIndicators: truthProp,
2182
2182
  stopPropagation: truthProp
2183
2183
  };
2184
- const SWIPE_KEY = Symbol(name$1u);
2185
- var stdin_default$1E = defineComponent({
2186
- name: name$1u,
2184
+ const SWIPE_KEY = Symbol(name$1v);
2185
+ var stdin_default$1F = defineComponent({
2186
+ name: name$1v,
2187
2187
  props: swipeProps,
2188
2188
  emits: ["change", "dragStart", "dragEnd"],
2189
2189
  setup(props2, {
@@ -2461,7 +2461,7 @@ var stdin_default$1E = defineComponent({
2461
2461
  } : void 0;
2462
2462
  return createVNode("i", {
2463
2463
  "style": style,
2464
- "class": bem$1q("indicator", {
2464
+ "class": bem$1r("indicator", {
2465
2465
  active
2466
2466
  })
2467
2467
  }, null);
@@ -2475,7 +2475,7 @@ var stdin_default$1E = defineComponent({
2475
2475
  }
2476
2476
  if (props2.showIndicators && count.value > 1) {
2477
2477
  return createVNode("div", {
2478
- "class": bem$1q("indicators", {
2478
+ "class": bem$1r("indicators", {
2479
2479
  vertical: props2.vertical
2480
2480
  })
2481
2481
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2517,11 +2517,11 @@ var stdin_default$1E = defineComponent({
2517
2517
  var _a;
2518
2518
  return createVNode("div", {
2519
2519
  "ref": root,
2520
- "class": bem$1q()
2520
+ "class": bem$1r()
2521
2521
  }, [createVNode("div", {
2522
2522
  "ref": track,
2523
2523
  "style": trackStyle.value,
2524
- "class": bem$1q("track", {
2524
+ "class": bem$1r("track", {
2525
2525
  vertical: props2.vertical
2526
2526
  }),
2527
2527
  "onTouchstartPassive": onTouchStart,
@@ -2531,10 +2531,10 @@ var stdin_default$1E = defineComponent({
2531
2531
  };
2532
2532
  }
2533
2533
  });
2534
- const Swipe = withInstall(stdin_default$1E);
2535
- const [name$1t, bem$1p] = createNamespace("tabs");
2536
- var stdin_default$1D = defineComponent({
2537
- name: name$1t,
2534
+ const Swipe = withInstall(stdin_default$1F);
2535
+ const [name$1u, bem$1q] = createNamespace("tabs");
2536
+ var stdin_default$1E = defineComponent({
2537
+ name: name$1u,
2538
2538
  props: {
2539
2539
  count: makeRequiredProp(Number),
2540
2540
  inited: Boolean,
@@ -2558,7 +2558,7 @@ var stdin_default$1D = defineComponent({
2558
2558
  return createVNode(Swipe, {
2559
2559
  "ref": swipeRef,
2560
2560
  "loop": false,
2561
- "class": bem$1p("track"),
2561
+ "class": bem$1q("track"),
2562
2562
  "duration": +props2.duration * 1e3,
2563
2563
  "touchable": props2.swipeable,
2564
2564
  "lazyRender": props2.lazyRender,
@@ -2586,13 +2586,13 @@ var stdin_default$1D = defineComponent({
2586
2586
  swipeRef
2587
2587
  });
2588
2588
  return () => createVNode("div", {
2589
- "class": bem$1p("content", {
2589
+ "class": bem$1q("content", {
2590
2590
  animated: props2.animated || props2.swipeable
2591
2591
  })
2592
2592
  }, [renderChildren()]);
2593
2593
  }
2594
2594
  });
2595
- const [name$1s, bem$1o] = createNamespace("tabs");
2595
+ const [name$1t, bem$1p] = createNamespace("tabs");
2596
2596
  const tabsProps = {
2597
2597
  type: makeStringProp("line"),
2598
2598
  color: String,
@@ -2608,6 +2608,7 @@ const tabsProps = {
2608
2608
  offsetTop: makeNumericProp(0),
2609
2609
  background: String,
2610
2610
  lazyRender: truthProp,
2611
+ showHeader: truthProp,
2611
2612
  lineWidth: numericProp,
2612
2613
  lineHeight: numericProp,
2613
2614
  beforeChange: Function,
@@ -2615,9 +2616,9 @@ const tabsProps = {
2615
2616
  titleActiveColor: String,
2616
2617
  titleInactiveColor: String
2617
2618
  };
2618
- const TABS_KEY = Symbol(name$1s);
2619
- var stdin_default$1C = defineComponent({
2620
- name: name$1s,
2619
+ const TABS_KEY = Symbol(name$1t);
2620
+ var stdin_default$1D = defineComponent({
2621
+ name: name$1t,
2621
2622
  props: tabsProps,
2622
2623
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2623
2624
  setup(props2, {
@@ -2815,7 +2816,7 @@ var stdin_default$1C = defineComponent({
2815
2816
  const renderLine = () => {
2816
2817
  if (props2.type === "line" && children.length) {
2817
2818
  return createVNode("div", {
2818
- "class": bem$1o("line"),
2819
+ "class": bem$1p("line"),
2819
2820
  "style": state.lineStyle
2820
2821
  }, null);
2821
2822
  }
@@ -2829,13 +2830,13 @@ var stdin_default$1C = defineComponent({
2829
2830
  } = props2;
2830
2831
  const Header = [createVNode("div", {
2831
2832
  "ref": sticky ? void 0 : wrapRef,
2832
- "class": [bem$1o("wrap"), {
2833
+ "class": [bem$1p("wrap"), {
2833
2834
  [BORDER_TOP_BOTTOM]: type === "line" && border
2834
2835
  }]
2835
2836
  }, [createVNode("div", {
2836
2837
  "ref": navRef,
2837
2838
  "role": "tablist",
2838
- "class": bem$1o("nav", [type, {
2839
+ "class": bem$1p("nav", [type, {
2839
2840
  shrink: props2.shrink,
2840
2841
  complete: scrollable.value
2841
2842
  }]),
@@ -2908,14 +2909,14 @@ var stdin_default$1C = defineComponent({
2908
2909
  });
2909
2910
  return () => createVNode("div", {
2910
2911
  "ref": root,
2911
- "class": bem$1o([props2.type])
2912
- }, [props2.sticky ? createVNode(Sticky, {
2912
+ "class": bem$1p([props2.type])
2913
+ }, [props2.showHeader ? props2.sticky ? createVNode(Sticky, {
2913
2914
  "container": root.value,
2914
2915
  "offsetTop": offsetTopPx.value,
2915
2916
  "onScroll": onStickyScroll
2916
2917
  }, {
2917
2918
  default: () => [renderHeader()]
2918
- }) : renderHeader(), createVNode(stdin_default$1D, {
2919
+ }) : renderHeader() : null, createVNode(stdin_default$1E, {
2919
2920
  "ref": contentRef,
2920
2921
  "count": children.length,
2921
2922
  "inited": state.inited,
@@ -2935,9 +2936,9 @@ var stdin_default$1C = defineComponent({
2935
2936
  });
2936
2937
  const TAB_STATUS_KEY = Symbol();
2937
2938
  const useTabStatus = () => inject(TAB_STATUS_KEY, null);
2938
- const [name$1r, bem$1n] = createNamespace("tab");
2939
+ const [name$1s, bem$1o] = createNamespace("tab");
2939
2940
  const TabTitle = defineComponent({
2940
- name: name$1r,
2941
+ name: name$1s,
2941
2942
  props: {
2942
2943
  id: String,
2943
2944
  dot: Boolean,
@@ -2986,7 +2987,7 @@ const TabTitle = defineComponent({
2986
2987
  });
2987
2988
  const renderText = () => {
2988
2989
  const Text2 = createVNode("span", {
2989
- "class": bem$1n("text", {
2990
+ "class": bem$1o("text", {
2990
2991
  ellipsis: !props2.scrollable
2991
2992
  })
2992
2993
  }, [slots.title ? slots.title() : props2.title]);
@@ -3004,7 +3005,7 @@ const TabTitle = defineComponent({
3004
3005
  return () => createVNode("div", {
3005
3006
  "id": props2.id,
3006
3007
  "role": "tab",
3007
- "class": [bem$1n([props2.type, {
3008
+ "class": [bem$1o([props2.type, {
3008
3009
  grow: props2.scrollable && !props2.shrink,
3009
3010
  shrink: props2.shrink,
3010
3011
  active: props2.isActive,
@@ -3018,9 +3019,9 @@ const TabTitle = defineComponent({
3018
3019
  }, [renderText()]);
3019
3020
  }
3020
3021
  });
3021
- const [name$1q, bem$1m] = createNamespace("swipe-item");
3022
- var stdin_default$1B = defineComponent({
3023
- name: name$1q,
3022
+ const [name$1r, bem$1n] = createNamespace("swipe-item");
3023
+ var stdin_default$1C = defineComponent({
3024
+ name: name$1r,
3024
3025
  setup(props2, {
3025
3026
  slots
3026
3027
  }) {
@@ -3085,14 +3086,14 @@ var stdin_default$1B = defineComponent({
3085
3086
  return () => {
3086
3087
  var _a;
3087
3088
  return createVNode("div", {
3088
- "class": bem$1m(),
3089
+ "class": bem$1n(),
3089
3090
  "style": style.value
3090
3091
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3091
3092
  };
3092
3093
  }
3093
3094
  });
3094
- const SwipeItem = withInstall(stdin_default$1B);
3095
- const [name$1p, bem$1l] = createNamespace("tab");
3095
+ const SwipeItem = withInstall(stdin_default$1C);
3096
+ const [name$1q, bem$1m] = createNamespace("tab");
3096
3097
  const tabProps = extend({}, routeProps, {
3097
3098
  dot: Boolean,
3098
3099
  name: numericProp,
@@ -3103,8 +3104,8 @@ const tabProps = extend({}, routeProps, {
3103
3104
  titleStyle: [String, Object],
3104
3105
  showZeroBadge: truthProp
3105
3106
  });
3106
- var stdin_default$1A = defineComponent({
3107
- name: name$1p,
3107
+ var stdin_default$1B = defineComponent({
3108
+ name: name$1q,
3108
3109
  props: tabProps,
3109
3110
  setup(props2, {
3110
3111
  slots
@@ -3202,7 +3203,7 @@ var stdin_default$1A = defineComponent({
3202
3203
  return createVNode(SwipeItem, {
3203
3204
  "id": id,
3204
3205
  "role": "tabpanel",
3205
- "class": bem$1l("panel-wrapper", {
3206
+ "class": bem$1m("panel-wrapper", {
3206
3207
  inactive: hasInactiveClass.value
3207
3208
  }),
3208
3209
  "tabindex": active.value ? 0 : -1,
@@ -3212,7 +3213,7 @@ var stdin_default$1A = defineComponent({
3212
3213
  default: () => {
3213
3214
  var _a2;
3214
3215
  return [createVNode("div", {
3215
- "class": bem$1l("panel")
3216
+ "class": bem$1m("panel")
3216
3217
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3217
3218
  }
3218
3219
  });
@@ -3222,24 +3223,24 @@ var stdin_default$1A = defineComponent({
3222
3223
  return withDirectives(createVNode("div", {
3223
3224
  "id": id,
3224
3225
  "role": "tabpanel",
3225
- "class": bem$1l("panel"),
3226
+ "class": bem$1m("panel"),
3226
3227
  "tabindex": show ? 0 : -1,
3227
3228
  "aria-labelledby": label
3228
3229
  }, [Content]), [[vShow, show]]);
3229
3230
  };
3230
3231
  }
3231
3232
  });
3232
- const Tab = withInstall(stdin_default$1A);
3233
- const Tabs = withInstall(stdin_default$1C);
3234
- const [name$1o, bem$1k] = createNamespace("picker-group");
3235
- const PICKER_GROUP_KEY = Symbol(name$1o);
3233
+ const Tab = withInstall(stdin_default$1B);
3234
+ const Tabs = withInstall(stdin_default$1D);
3235
+ const [name$1p, bem$1l] = createNamespace("picker-group");
3236
+ const PICKER_GROUP_KEY = Symbol(name$1p);
3236
3237
  const pickerGroupProps = extend({
3237
3238
  tabs: makeArrayProp(),
3238
3239
  activeTab: makeNumericProp(0),
3239
3240
  nextStepText: String
3240
3241
  }, pickerToolbarProps);
3241
- var stdin_default$1z = defineComponent({
3242
- name: name$1o,
3242
+ var stdin_default$1A = defineComponent({
3243
+ name: name$1p,
3243
3244
  props: pickerGroupProps,
3244
3245
  emits: ["confirm", "cancel", "update:activeTab"],
3245
3246
  setup(props2, {
@@ -3262,12 +3263,12 @@ var stdin_default$1z = defineComponent({
3262
3263
  };
3263
3264
  const onCancel = () => emit("cancel");
3264
3265
  return () => {
3265
- var _a;
3266
- const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3266
+ var _a, _b;
3267
+ const childNodes = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b.filter((node) => node.type !== Comment);
3267
3268
  const confirmButtonText = showNextButton() ? props2.nextStepText : props2.confirmButtonText;
3268
3269
  return createVNode("div", {
3269
- "class": bem$1k()
3270
- }, [createVNode(stdin_default$1G, {
3270
+ "class": bem$1l()
3271
+ }, [createVNode(stdin_default$1H, {
3271
3272
  "title": props2.title,
3272
3273
  "cancelButtonText": props2.cancelButtonText,
3273
3274
  "confirmButtonText": confirmButtonText,
@@ -3276,14 +3277,14 @@ var stdin_default$1z = defineComponent({
3276
3277
  }, pick(slots, pickerToolbarSlots)), createVNode(Tabs, {
3277
3278
  "active": activeTab.value,
3278
3279
  "onUpdate:active": ($event) => activeTab.value = $event,
3279
- "class": bem$1k("tabs"),
3280
+ "class": bem$1l("tabs"),
3280
3281
  "shrink": true,
3281
3282
  "animated": true,
3282
3283
  "lazyRender": false
3283
3284
  }, {
3284
3285
  default: () => [props2.tabs.map((title, index) => createVNode(Tab, {
3285
3286
  "title": title,
3286
- "titleClass": bem$1k("tab-title")
3287
+ "titleClass": bem$1l("tab-title")
3287
3288
  }, {
3288
3289
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3289
3290
  }))]
@@ -3306,8 +3307,8 @@ const pickerProps = extend({}, pickerSharedProps, {
3306
3307
  toolbarPosition: makeStringProp("top"),
3307
3308
  columnsFieldNames: Object
3308
3309
  });
3309
- var stdin_default$1y = defineComponent({
3310
- name: name$1y,
3310
+ var stdin_default$1z = defineComponent({
3311
+ name: name$1z,
3311
3312
  props: pickerProps,
3312
3313
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3313
3314
  setup(props2, {
@@ -3388,7 +3389,7 @@ var stdin_default$1y = defineComponent({
3388
3389
  return params;
3389
3390
  };
3390
3391
  const cancel = () => emit("cancel", getEventParams());
3391
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1H, {
3392
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1I, {
3392
3393
  "value": selectedValues.value[columnIndex],
3393
3394
  "fields": fields.value,
3394
3395
  "options": options,
@@ -3417,10 +3418,10 @@ var stdin_default$1y = defineComponent({
3417
3418
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3418
3419
  };
3419
3420
  return [createVNode("div", {
3420
- "class": bem$1t("mask"),
3421
+ "class": bem$1u("mask"),
3421
3422
  "style": maskStyle
3422
3423
  }, null), createVNode("div", {
3423
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1t("frame")],
3424
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1u("frame")],
3424
3425
  "style": frameStyle
3425
3426
  }, null)];
3426
3427
  }
@@ -3432,13 +3433,13 @@ var stdin_default$1y = defineComponent({
3432
3433
  };
3433
3434
  return createVNode("div", {
3434
3435
  "ref": columnsRef,
3435
- "class": bem$1t("columns"),
3436
+ "class": bem$1u("columns"),
3436
3437
  "style": columnsStyle
3437
3438
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3438
3439
  };
3439
3440
  const renderToolbar = () => {
3440
3441
  if (props2.showToolbar && !parent) {
3441
- return createVNode(stdin_default$1G, mergeProps(pick(props2, pickerToolbarPropKeys), {
3442
+ return createVNode(stdin_default$1H, mergeProps(pick(props2, pickerToolbarPropKeys), {
3442
3443
  "onConfirm": confirm,
3443
3444
  "onCancel": cancel
3444
3445
  }), pick(slots, pickerToolbarSlots));
@@ -3481,9 +3482,9 @@ var stdin_default$1y = defineComponent({
3481
3482
  return () => {
3482
3483
  var _a, _b;
3483
3484
  return createVNode("div", {
3484
- "class": bem$1t()
3485
+ "class": bem$1u()
3485
3486
  }, [props2.toolbarPosition === "top" ? renderToolbar() : null, props2.loading ? createVNode(Loading, {
3486
- "class": bem$1t("loading")
3487
+ "class": bem$1u("loading")
3487
3488
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props2.toolbarPosition === "bottom" ? renderToolbar() : null]);
3488
3489
  };
3489
3490
  }
@@ -3574,8 +3575,8 @@ function formatDataForCascade({
3574
3575
  }
3575
3576
  return options;
3576
3577
  }
3577
- const Picker = withInstall(stdin_default$1y);
3578
- const [name$1n, bem$1j] = createNamespace("area");
3578
+ const Picker = withInstall(stdin_default$1z);
3579
+ const [name$1o, bem$1k] = createNamespace("area");
3579
3580
  const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
3580
3581
  modelValue: String,
3581
3582
  columnsNum: makeNumericProp(3),
@@ -3585,8 +3586,8 @@ const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
3585
3586
  default: () => ({})
3586
3587
  }
3587
3588
  });
3588
- var stdin_default$1x = defineComponent({
3589
- name: name$1n,
3589
+ var stdin_default$1y = defineComponent({
3590
+ name: name$1o,
3590
3591
  props: areaProps,
3591
3592
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3592
3593
  setup(props2, {
@@ -3633,7 +3634,7 @@ var stdin_default$1x = defineComponent({
3633
3634
  "ref": picker,
3634
3635
  "modelValue": codes.value,
3635
3636
  "onUpdate:modelValue": ($event) => codes.value = $event,
3636
- "class": bem$1j(),
3637
+ "class": bem$1k(),
3637
3638
  "columns": columns.value,
3638
3639
  "onChange": onChange,
3639
3640
  "onCancel": onCancel,
@@ -3641,8 +3642,8 @@ var stdin_default$1x = defineComponent({
3641
3642
  }, pick(props2, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3642
3643
  }
3643
3644
  });
3644
- const Area = withInstall(stdin_default$1x);
3645
- const [name$1m, bem$1i] = createNamespace("cell");
3645
+ const Area = withInstall(stdin_default$1y);
3646
+ const [name$1n, bem$1j] = createNamespace("cell");
3646
3647
  const cellSharedProps = {
3647
3648
  tag: makeStringProp("div"),
3648
3649
  icon: String,
@@ -3653,21 +3654,24 @@ const cellSharedProps = {
3653
3654
  center: Boolean,
3654
3655
  isLink: Boolean,
3655
3656
  border: truthProp,
3656
- required: Boolean,
3657
3657
  iconPrefix: String,
3658
3658
  valueClass: unknownProp,
3659
3659
  labelClass: unknownProp,
3660
3660
  titleClass: unknownProp,
3661
3661
  titleStyle: null,
3662
3662
  arrowDirection: String,
3663
+ required: {
3664
+ type: [Boolean, String],
3665
+ default: null
3666
+ },
3663
3667
  clickable: {
3664
3668
  type: Boolean,
3665
3669
  default: null
3666
3670
  }
3667
3671
  };
3668
3672
  const cellProps = extend({}, cellSharedProps, routeProps);
3669
- var stdin_default$1w = defineComponent({
3670
- name: name$1m,
3673
+ var stdin_default$1x = defineComponent({
3674
+ name: name$1n,
3671
3675
  props: cellProps,
3672
3676
  setup(props2, {
3673
3677
  slots
@@ -3677,7 +3681,7 @@ var stdin_default$1w = defineComponent({
3677
3681
  const showLabel = slots.label || isDef(props2.label);
3678
3682
  if (showLabel) {
3679
3683
  return createVNode("div", {
3680
- "class": [bem$1i("label"), props2.labelClass]
3684
+ "class": [bem$1j("label"), props2.labelClass]
3681
3685
  }, [slots.label ? slots.label() : props2.label]);
3682
3686
  }
3683
3687
  };
@@ -3689,7 +3693,7 @@ var stdin_default$1w = defineComponent({
3689
3693
  return;
3690
3694
  }
3691
3695
  return createVNode("div", {
3692
- "class": [bem$1i("title"), props2.titleClass],
3696
+ "class": [bem$1j("title"), props2.titleClass],
3693
3697
  "style": props2.titleStyle
3694
3698
  }, [titleSlot || createVNode("span", null, [props2.title]), renderLabel()]);
3695
3699
  }
@@ -3699,7 +3703,7 @@ var stdin_default$1w = defineComponent({
3699
3703
  const hasValue = slot || isDef(props2.value);
3700
3704
  if (hasValue) {
3701
3705
  return createVNode("div", {
3702
- "class": [bem$1i("value"), props2.valueClass]
3706
+ "class": [bem$1j("value"), props2.valueClass]
3703
3707
  }, [slot ? slot() : createVNode("span", null, [props2.value])]);
3704
3708
  }
3705
3709
  };
@@ -3710,7 +3714,7 @@ var stdin_default$1w = defineComponent({
3710
3714
  if (props2.icon) {
3711
3715
  return createVNode(Icon, {
3712
3716
  "name": props2.icon,
3713
- "class": bem$1i("left-icon"),
3717
+ "class": bem$1j("left-icon"),
3714
3718
  "classPrefix": props2.iconPrefix
3715
3719
  }, null);
3716
3720
  }
@@ -3723,7 +3727,7 @@ var stdin_default$1w = defineComponent({
3723
3727
  const name2 = props2.arrowDirection && props2.arrowDirection !== "right" ? `arrow-${props2.arrowDirection}` : "arrow";
3724
3728
  return createVNode(Icon, {
3725
3729
  "name": name2,
3726
- "class": bem$1i("right-icon")
3730
+ "class": bem$1j("right-icon")
3727
3731
  }, null);
3728
3732
  }
3729
3733
  };
@@ -3740,7 +3744,7 @@ var stdin_default$1w = defineComponent({
3740
3744
  const clickable = (_a = props2.clickable) != null ? _a : isLink;
3741
3745
  const classes = {
3742
3746
  center,
3743
- required,
3747
+ required: !!required,
3744
3748
  clickable,
3745
3749
  borderless: !border
3746
3750
  };
@@ -3748,7 +3752,7 @@ var stdin_default$1w = defineComponent({
3748
3752
  classes[size] = !!size;
3749
3753
  }
3750
3754
  return createVNode(tag, {
3751
- "class": bem$1i(classes),
3755
+ "class": bem$1j(classes),
3752
3756
  "role": clickable ? "button" : void 0,
3753
3757
  "tabindex": clickable ? 0 : void 0,
3754
3758
  "onClick": route2
@@ -3761,12 +3765,13 @@ var stdin_default$1w = defineComponent({
3761
3765
  };
3762
3766
  }
3763
3767
  });
3764
- const Cell = withInstall(stdin_default$1w);
3765
- const [name$1l, bem$1h] = createNamespace("form");
3768
+ const Cell = withInstall(stdin_default$1x);
3769
+ const [name$1m, bem$1i] = createNamespace("form");
3766
3770
  const formProps = {
3767
3771
  colon: Boolean,
3768
3772
  disabled: Boolean,
3769
3773
  readonly: Boolean,
3774
+ required: [Boolean, String],
3770
3775
  showError: Boolean,
3771
3776
  labelWidth: numericProp,
3772
3777
  labelAlign: String,
@@ -3781,8 +3786,8 @@ const formProps = {
3781
3786
  default: "onBlur"
3782
3787
  }
3783
3788
  };
3784
- var stdin_default$1v = defineComponent({
3785
- name: name$1l,
3789
+ var stdin_default$1w = defineComponent({
3790
+ name: name$1m,
3786
3791
  props: formProps,
3787
3792
  emits: ["submit", "failed"],
3788
3793
  setup(props2, {
@@ -3908,13 +3913,13 @@ var stdin_default$1v = defineComponent({
3908
3913
  return () => {
3909
3914
  var _a;
3910
3915
  return createVNode("form", {
3911
- "class": bem$1h(),
3916
+ "class": bem$1i(),
3912
3917
  "onSubmit": onSubmit
3913
3918
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3914
3919
  };
3915
3920
  }
3916
3921
  });
3917
- const Form = withInstall(stdin_default$1v);
3922
+ const Form = withInstall(stdin_default$1w);
3918
3923
  function isEmptyValue(value) {
3919
3924
  if (Array.isArray(value)) {
3920
3925
  return !value.length;
@@ -4003,7 +4008,7 @@ function getStringLength(str) {
4003
4008
  function cutString(str, maxlength) {
4004
4009
  return [...str].slice(0, maxlength).join("");
4005
4010
  }
4006
- const [name$1k, bem$1g] = createNamespace("field");
4011
+ const [name$1l, bem$1h] = createNamespace("field");
4007
4012
  const fieldSharedProps = {
4008
4013
  id: String,
4009
4014
  name: String,
@@ -4022,12 +4027,12 @@ const fieldSharedProps = {
4022
4027
  autocorrect: String,
4023
4028
  errorMessage: String,
4024
4029
  enterkeyhint: String,
4030
+ clearTrigger: makeStringProp("focus"),
4031
+ formatTrigger: makeStringProp("onChange"),
4025
4032
  spellcheck: {
4026
4033
  type: Boolean,
4027
4034
  default: null
4028
4035
  },
4029
- clearTrigger: makeStringProp("focus"),
4030
- formatTrigger: makeStringProp("onChange"),
4031
4036
  error: {
4032
4037
  type: Boolean,
4033
4038
  default: null
@@ -4056,8 +4061,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
4056
4061
  default: null
4057
4062
  }
4058
4063
  });
4059
- var stdin_default$1u = defineComponent({
4060
- name: name$1k,
4064
+ var stdin_default$1v = defineComponent({
4065
+ name: name$1l,
4061
4066
  props: fieldProps,
4062
4067
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
4063
4068
  setup(props2, {
@@ -4103,6 +4108,14 @@ var stdin_default$1u = defineComponent({
4103
4108
  }
4104
4109
  return props2.modelValue;
4105
4110
  });
4111
+ const showRequiredMark = computed(() => {
4112
+ var _a;
4113
+ const required = getProp("required");
4114
+ if (required === "auto") {
4115
+ return (_a = props2.rules) == null ? void 0 : _a.some((rule) => rule.required);
4116
+ }
4117
+ return required;
4118
+ });
4106
4119
  const runRules = (rules) => rules.reduce((promise, rule) => promise.then(() => {
4107
4120
  if (state.status === "failed") {
4108
4121
  return;
@@ -4331,7 +4344,7 @@ var stdin_default$1u = defineComponent({
4331
4344
  const getInputId = () => props2.id || `${id}-input`;
4332
4345
  const getValidationStatus = () => state.status;
4333
4346
  const renderInput = () => {
4334
- const controlClass = bem$1g("control", [getProp("inputAlign"), {
4347
+ const controlClass = bem$1h("control", [getProp("inputAlign"), {
4335
4348
  error: showError.value,
4336
4349
  custom: !!slots.input,
4337
4350
  "min-height": props2.type === "textarea" && !props2.autosize
@@ -4376,7 +4389,7 @@ var stdin_default$1u = defineComponent({
4376
4389
  const leftIconSlot = slots["left-icon"];
4377
4390
  if (props2.leftIcon || leftIconSlot) {
4378
4391
  return createVNode("div", {
4379
- "class": bem$1g("left-icon"),
4392
+ "class": bem$1h("left-icon"),
4380
4393
  "onClick": onClickLeftIcon
4381
4394
  }, [leftIconSlot ? leftIconSlot() : createVNode(Icon, {
4382
4395
  "name": props2.leftIcon,
@@ -4388,7 +4401,7 @@ var stdin_default$1u = defineComponent({
4388
4401
  const rightIconSlot = slots["right-icon"];
4389
4402
  if (props2.rightIcon || rightIconSlot) {
4390
4403
  return createVNode("div", {
4391
- "class": bem$1g("right-icon"),
4404
+ "class": bem$1h("right-icon"),
4392
4405
  "onClick": onClickRightIcon
4393
4406
  }, [rightIconSlot ? rightIconSlot() : createVNode(Icon, {
4394
4407
  "name": props2.rightIcon,
@@ -4400,9 +4413,9 @@ var stdin_default$1u = defineComponent({
4400
4413
  if (props2.showWordLimit && props2.maxlength) {
4401
4414
  const count = getStringLength(getModelValue());
4402
4415
  return createVNode("div", {
4403
- "class": bem$1g("word-limit")
4416
+ "class": bem$1h("word-limit")
4404
4417
  }, [createVNode("span", {
4405
- "class": bem$1g("word-num")
4418
+ "class": bem$1h("word-num")
4406
4419
  }, [count]), createTextVNode("/"), props2.maxlength]);
4407
4420
  }
4408
4421
  };
@@ -4415,7 +4428,7 @@ var stdin_default$1u = defineComponent({
4415
4428
  const slot = slots["error-message"];
4416
4429
  const errorMessageAlign = getProp("errorMessageAlign");
4417
4430
  return createVNode("div", {
4418
- "class": bem$1g("error-message", errorMessageAlign)
4431
+ "class": bem$1h("error-message", errorMessageAlign)
4419
4432
  }, [slot ? slot({
4420
4433
  message
4421
4434
  }) : message]);
@@ -4443,13 +4456,13 @@ var stdin_default$1u = defineComponent({
4443
4456
  }
4444
4457
  };
4445
4458
  const renderFieldBody = () => [createVNode("div", {
4446
- "class": bem$1g("body")
4459
+ "class": bem$1h("body")
4447
4460
  }, [renderInput(), showClear.value && createVNode(Icon, {
4448
4461
  "ref": clearIconRef,
4449
4462
  "name": props2.clearIcon,
4450
- "class": bem$1g("clear")
4463
+ "class": bem$1h("clear")
4451
4464
  }, null), renderRightIcon(), slots.button && createVNode("div", {
4452
- "class": bem$1g("button")
4465
+ "class": bem$1h("button")
4453
4466
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4454
4467
  useExpose({
4455
4468
  blur,
@@ -4493,7 +4506,7 @@ var stdin_default$1u = defineComponent({
4493
4506
  };
4494
4507
  return createVNode(Cell, {
4495
4508
  "size": props2.size,
4496
- "class": bem$1g({
4509
+ "class": bem$1h({
4497
4510
  error: showError.value,
4498
4511
  disabled,
4499
4512
  [`label-${labelAlign}`]: labelAlign
@@ -4503,9 +4516,9 @@ var stdin_default$1u = defineComponent({
4503
4516
  "isLink": props2.isLink,
4504
4517
  "clickable": props2.clickable,
4505
4518
  "titleStyle": labelStyle.value,
4506
- "valueClass": bem$1g("value"),
4507
- "titleClass": [bem$1g("label", [labelAlign, {
4508
- required: props2.required
4519
+ "valueClass": bem$1h("value"),
4520
+ "titleClass": [bem$1h("label", [labelAlign, {
4521
+ required: showRequiredMark.value
4509
4522
  }]), props2.labelClass],
4510
4523
  "arrowDirection": props2.arrowDirection
4511
4524
  }, {
@@ -4517,7 +4530,7 @@ var stdin_default$1u = defineComponent({
4517
4530
  };
4518
4531
  }
4519
4532
  });
4520
- const Field = withInstall(stdin_default$1u);
4533
+ const Field = withInstall(stdin_default$1v);
4521
4534
  let lockCount = 0;
4522
4535
  function lockClick(lock) {
4523
4536
  if (lock) {
@@ -4532,7 +4545,7 @@ function lockClick(lock) {
4532
4545
  }
4533
4546
  }
4534
4547
  }
4535
- const [name$1j, bem$1f] = createNamespace("toast");
4548
+ const [name$1k, bem$1g] = createNamespace("toast");
4536
4549
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4537
4550
  const toastProps = {
4538
4551
  icon: String,
@@ -4555,8 +4568,8 @@ const toastProps = {
4555
4568
  closeOnClick: Boolean,
4556
4569
  closeOnClickOverlay: Boolean
4557
4570
  };
4558
- var stdin_default$1t = defineComponent({
4559
- name: name$1j,
4571
+ var stdin_default$1u = defineComponent({
4572
+ name: name$1k,
4560
4573
  props: toastProps,
4561
4574
  emits: ["update:show"],
4562
4575
  setup(props2, {
@@ -4592,13 +4605,13 @@ var stdin_default$1t = defineComponent({
4592
4605
  return createVNode(Icon, {
4593
4606
  "name": icon || type,
4594
4607
  "size": iconSize,
4595
- "class": bem$1f("icon"),
4608
+ "class": bem$1g("icon"),
4596
4609
  "classPrefix": iconPrefix
4597
4610
  }, null);
4598
4611
  }
4599
4612
  if (type === "loading") {
4600
4613
  return createVNode(Loading, {
4601
- "class": bem$1f("loading"),
4614
+ "class": bem$1g("loading"),
4602
4615
  "size": iconSize,
4603
4616
  "type": loadingType
4604
4617
  }, null);
@@ -4611,16 +4624,16 @@ var stdin_default$1t = defineComponent({
4611
4624
  } = props2;
4612
4625
  if (slots.message) {
4613
4626
  return createVNode("div", {
4614
- "class": bem$1f("text")
4627
+ "class": bem$1g("text")
4615
4628
  }, [slots.message()]);
4616
4629
  }
4617
4630
  if (isDef(message) && message !== "") {
4618
4631
  return type === "html" ? createVNode("div", {
4619
4632
  "key": 0,
4620
- "class": bem$1f("text"),
4633
+ "class": bem$1g("text"),
4621
4634
  "innerHTML": String(message)
4622
4635
  }, null) : createVNode("div", {
4623
- "class": bem$1f("text")
4636
+ "class": bem$1g("text")
4624
4637
  }, [message]);
4625
4638
  }
4626
4639
  };
@@ -4636,7 +4649,7 @@ var stdin_default$1t = defineComponent({
4636
4649
  onMounted(toggleClickable);
4637
4650
  onUnmounted(toggleClickable);
4638
4651
  return () => createVNode(Popup, mergeProps({
4639
- "class": [bem$1f([props2.position, props2.wordBreak === "normal" ? "break-normal" : props2.wordBreak, {
4652
+ "class": [bem$1g([props2.position, props2.wordBreak === "normal" ? "break-normal" : props2.wordBreak, {
4640
4653
  [props2.type]: !props2.icon
4641
4654
  }]), props2.className],
4642
4655
  "lockScroll": false,
@@ -4737,7 +4750,7 @@ function createInstance() {
4737
4750
  onClosed,
4738
4751
  "onUpdate:show": toggle
4739
4752
  };
4740
- return createVNode(stdin_default$1t, mergeProps(state, attrs), null);
4753
+ return createVNode(stdin_default$1u, mergeProps(state, attrs), null);
4741
4754
  };
4742
4755
  watch(message, (val) => {
4743
4756
  state.message = val;
@@ -4807,8 +4820,8 @@ const resetToastDefaultOptions = (type) => {
4807
4820
  const allowMultipleToast = (value = true) => {
4808
4821
  allowMultiple = value;
4809
4822
  };
4810
- const Toast = withInstall(stdin_default$1t);
4811
- const [name$1i, bem$1e] = createNamespace("switch");
4823
+ const Toast = withInstall(stdin_default$1u);
4824
+ const [name$1j, bem$1f] = createNamespace("switch");
4812
4825
  const switchProps = {
4813
4826
  size: numericProp,
4814
4827
  loading: Boolean,
@@ -4825,8 +4838,8 @@ const switchProps = {
4825
4838
  default: false
4826
4839
  }
4827
4840
  };
4828
- var stdin_default$1s = defineComponent({
4829
- name: name$1i,
4841
+ var stdin_default$1t = defineComponent({
4842
+ name: name$1j,
4830
4843
  props: switchProps,
4831
4844
  emits: ["change", "update:modelValue"],
4832
4845
  setup(props2, {
@@ -4845,7 +4858,7 @@ var stdin_default$1s = defineComponent({
4845
4858
  if (props2.loading) {
4846
4859
  const color = isChecked() ? props2.activeColor : props2.inactiveColor;
4847
4860
  return createVNode(Loading, {
4848
- "class": bem$1e("loading"),
4861
+ "class": bem$1f("loading"),
4849
4862
  "color": color
4850
4863
  }, null);
4851
4864
  }
@@ -4870,7 +4883,7 @@ var stdin_default$1s = defineComponent({
4870
4883
  };
4871
4884
  return createVNode("div", {
4872
4885
  "role": "switch",
4873
- "class": bem$1e({
4886
+ "class": bem$1f({
4874
4887
  on: checked,
4875
4888
  loading,
4876
4889
  disabled
@@ -4880,16 +4893,16 @@ var stdin_default$1s = defineComponent({
4880
4893
  "aria-checked": checked,
4881
4894
  "onClick": onClick
4882
4895
  }, [createVNode("div", {
4883
- "class": bem$1e("node")
4896
+ "class": bem$1f("node")
4884
4897
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4885
4898
  };
4886
4899
  }
4887
4900
  });
4888
- const Switch = withInstall(stdin_default$1s);
4889
- const [name$1h, bem$1d] = createNamespace("address-edit-detail");
4901
+ const Switch = withInstall(stdin_default$1t);
4902
+ const [name$1i, bem$1e] = createNamespace("address-edit-detail");
4890
4903
  const t$j = createNamespace("address-edit")[2];
4891
- var stdin_default$1r = defineComponent({
4892
- name: name$1h,
4904
+ var stdin_default$1s = defineComponent({
4905
+ name: name$1i,
4893
4906
  props: {
4894
4907
  show: Boolean,
4895
4908
  rows: numericProp,
@@ -4923,7 +4936,7 @@ var stdin_default$1r = defineComponent({
4923
4936
  "icon": "location-o",
4924
4937
  "title": express.name,
4925
4938
  "label": express.address,
4926
- "class": bem$1d("search-item"),
4939
+ "class": bem$1e("search-item"),
4927
4940
  "border": false,
4928
4941
  "onClick": () => onSelect(express)
4929
4942
  }, null));
@@ -4937,7 +4950,7 @@ var stdin_default$1r = defineComponent({
4937
4950
  "autosize": true,
4938
4951
  "clearable": true,
4939
4952
  "ref": field,
4940
- "class": bem$1d(),
4953
+ "class": bem$1e(),
4941
4954
  "rows": props2.rows,
4942
4955
  "type": "textarea",
4943
4956
  "rules": props2.rules,
@@ -4954,7 +4967,7 @@ var stdin_default$1r = defineComponent({
4954
4967
  };
4955
4968
  }
4956
4969
  });
4957
- const [name$1g, bem$1c, t$i] = createNamespace("address-edit");
4970
+ const [name$1h, bem$1d, t$i] = createNamespace("address-edit");
4958
4971
  const DEFAULT_DATA = {
4959
4972
  name: "",
4960
4973
  tel: "",
@@ -4994,8 +5007,8 @@ const addressEditProps = {
4994
5007
  default: isMobile
4995
5008
  }
4996
5009
  };
4997
- var stdin_default$1q = defineComponent({
4998
- name: name$1g,
5010
+ var stdin_default$1r = defineComponent({
5011
+ name: name$1h,
4999
5012
  props: addressEditProps,
5000
5013
  emits: ["save", "focus", "change", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
5001
5014
  setup(props2, {
@@ -5113,7 +5126,7 @@ var stdin_default$1q = defineComponent({
5113
5126
  "center": true,
5114
5127
  "border": false,
5115
5128
  "title": t$i("defaultAddress"),
5116
- "class": bem$1c("default")
5129
+ "class": bem$1d("default")
5117
5130
  }, slots2), [[vShow, !hideBottomFields.value]]);
5118
5131
  }
5119
5132
  };
@@ -5139,13 +5152,13 @@ var stdin_default$1q = defineComponent({
5139
5152
  disableArea
5140
5153
  } = props2;
5141
5154
  return createVNode(Form, {
5142
- "class": bem$1c(),
5155
+ "class": bem$1d(),
5143
5156
  "onSubmit": onSave
5144
5157
  }, {
5145
5158
  default: () => {
5146
5159
  var _a;
5147
5160
  return [createVNode("div", {
5148
- "class": bem$1c("fields")
5161
+ "class": bem$1d("fields")
5149
5162
  }, [createVNode(Field, {
5150
5163
  "modelValue": data.name,
5151
5164
  "onUpdate:modelValue": [($event) => data.name = $event, (val) => onChange("name", val)],
@@ -5169,14 +5182,14 @@ var stdin_default$1q = defineComponent({
5169
5182
  "label": t$i("area"),
5170
5183
  "is-link": !disableArea,
5171
5184
  "modelValue": areaText.value,
5172
- "rules": rules.value.areaCode,
5185
+ "rules": props2.showArea ? rules.value.areaCode : void 0,
5173
5186
  "placeholder": props2.areaPlaceholder || t$i("area"),
5174
5187
  "onFocus": () => onFocus("areaCode"),
5175
5188
  "onClick": () => {
5176
5189
  emit("clickArea");
5177
5190
  showAreaPopup.value = !disableArea;
5178
5191
  }
5179
- }, null), [[vShow, props2.showArea]]), createVNode(stdin_default$1r, {
5192
+ }, null), [[vShow, props2.showArea]]), createVNode(stdin_default$1s, {
5180
5193
  "show": props2.showDetail,
5181
5194
  "rows": props2.detailRows,
5182
5195
  "rules": rules.value.addressDetail,
@@ -5190,19 +5203,19 @@ var stdin_default$1q = defineComponent({
5190
5203
  "onInput": onChangeDetail,
5191
5204
  "onSelectSearch": (event) => emit("selectSearch", event)
5192
5205
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), withDirectives(createVNode("div", {
5193
- "class": bem$1c("buttons")
5206
+ "class": bem$1d("buttons")
5194
5207
  }, [createVNode(Button, {
5195
5208
  "block": true,
5196
5209
  "round": true,
5197
5210
  "type": "primary",
5198
5211
  "text": props2.saveButtonText || t$i("save"),
5199
- "class": bem$1c("button"),
5212
+ "class": bem$1d("button"),
5200
5213
  "loading": props2.isSaving,
5201
5214
  "nativeType": "submit"
5202
5215
  }, null), props2.showDelete && createVNode(Button, {
5203
5216
  "block": true,
5204
5217
  "round": true,
5205
- "class": bem$1c("button"),
5218
+ "class": bem$1d("button"),
5206
5219
  "loading": props2.isDeleting,
5207
5220
  "text": props2.deleteButtonText || t$i("delete"),
5208
5221
  "onClick": onDelete
@@ -5232,8 +5245,8 @@ var stdin_default$1q = defineComponent({
5232
5245
  };
5233
5246
  }
5234
5247
  });
5235
- const AddressEdit = withInstall(stdin_default$1q);
5236
- const [name$1f, bem$1b] = createNamespace("radio-group");
5248
+ const AddressEdit = withInstall(stdin_default$1r);
5249
+ const [name$1g, bem$1c] = createNamespace("radio-group");
5237
5250
  const radioGroupProps = {
5238
5251
  shape: String,
5239
5252
  disabled: Boolean,
@@ -5242,9 +5255,9 @@ const radioGroupProps = {
5242
5255
  modelValue: unknownProp,
5243
5256
  checkedColor: String
5244
5257
  };
5245
- const RADIO_KEY = Symbol(name$1f);
5246
- var stdin_default$1p = defineComponent({
5247
- name: name$1f,
5258
+ const RADIO_KEY = Symbol(name$1g);
5259
+ var stdin_default$1q = defineComponent({
5260
+ name: name$1g,
5248
5261
  props: radioGroupProps,
5249
5262
  emits: ["change", "update:modelValue"],
5250
5263
  setup(props2, {
@@ -5264,14 +5277,14 @@ var stdin_default$1p = defineComponent({
5264
5277
  return () => {
5265
5278
  var _a;
5266
5279
  return createVNode("div", {
5267
- "class": bem$1b([props2.direction]),
5280
+ "class": bem$1c([props2.direction]),
5268
5281
  "role": "radiogroup"
5269
5282
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5270
5283
  };
5271
5284
  }
5272
5285
  });
5273
- const RadioGroup = withInstall(stdin_default$1p);
5274
- const [name$1e, bem$1a] = createNamespace("tag");
5286
+ const RadioGroup = withInstall(stdin_default$1q);
5287
+ const [name$1f, bem$1b] = createNamespace("tag");
5275
5288
  const tagProps = {
5276
5289
  size: String,
5277
5290
  mark: Boolean,
@@ -5283,8 +5296,8 @@ const tagProps = {
5283
5296
  textColor: String,
5284
5297
  closeable: Boolean
5285
5298
  };
5286
- var stdin_default$1o = defineComponent({
5287
- name: name$1e,
5299
+ var stdin_default$1p = defineComponent({
5300
+ name: name$1f,
5288
5301
  props: tagProps,
5289
5302
  emits: ["close"],
5290
5303
  setup(props2, {
@@ -5327,12 +5340,12 @@ var stdin_default$1o = defineComponent({
5327
5340
  }
5328
5341
  const CloseIcon = closeable && createVNode(Icon, {
5329
5342
  "name": "cross",
5330
- "class": [bem$1a("close"), HAPTICS_FEEDBACK],
5343
+ "class": [bem$1b("close"), HAPTICS_FEEDBACK],
5331
5344
  "onClick": onClose
5332
5345
  }, null);
5333
5346
  return createVNode("span", {
5334
5347
  "style": getStyle(),
5335
- "class": bem$1a([classes, type])
5348
+ "class": bem$1b([classes, type])
5336
5349
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5337
5350
  };
5338
5351
  return () => createVNode(Transition, {
@@ -5342,7 +5355,7 @@ var stdin_default$1o = defineComponent({
5342
5355
  });
5343
5356
  }
5344
5357
  });
5345
- const Tag = withInstall(stdin_default$1o);
5358
+ const Tag = withInstall(stdin_default$1p);
5346
5359
  const checkerProps = {
5347
5360
  name: unknownProp,
5348
5361
  disabled: Boolean,
@@ -5352,7 +5365,7 @@ const checkerProps = {
5352
5365
  labelPosition: String,
5353
5366
  labelDisabled: Boolean
5354
5367
  };
5355
- var stdin_default$1n = defineComponent({
5368
+ var stdin_default$1o = defineComponent({
5356
5369
  props: extend({}, checkerProps, {
5357
5370
  bem: makeRequiredProp(Function),
5358
5371
  role: String,
@@ -5449,12 +5462,18 @@ var stdin_default$1n = defineComponent({
5449
5462
  }, null)]);
5450
5463
  };
5451
5464
  const renderLabel = () => {
5465
+ const {
5466
+ checked
5467
+ } = props2;
5452
5468
  if (slots.default) {
5453
5469
  return createVNode("span", {
5454
5470
  "class": props2.bem("label", [props2.labelPosition, {
5455
5471
  disabled: disabled.value
5456
5472
  }])
5457
- }, [slots.default()]);
5473
+ }, [slots.default({
5474
+ checked,
5475
+ disabled: disabled.value
5476
+ })]);
5458
5477
  }
5459
5478
  };
5460
5479
  return () => {
@@ -5475,9 +5494,9 @@ var stdin_default$1n = defineComponent({
5475
5494
  const radioProps = extend({}, checkerProps, {
5476
5495
  shape: String
5477
5496
  });
5478
- const [name$1d, bem$19] = createNamespace("radio");
5479
- var stdin_default$1m = defineComponent({
5480
- name: name$1d,
5497
+ const [name$1e, bem$1a] = createNamespace("radio");
5498
+ var stdin_default$1n = defineComponent({
5499
+ name: name$1e,
5481
5500
  props: radioProps,
5482
5501
  emits: ["update:modelValue"],
5483
5502
  setup(props2, {
@@ -5498,8 +5517,8 @@ var stdin_default$1m = defineComponent({
5498
5517
  emit("update:modelValue", props2.name);
5499
5518
  }
5500
5519
  };
5501
- return () => createVNode(stdin_default$1n, mergeProps({
5502
- "bem": bem$19,
5520
+ return () => createVNode(stdin_default$1o, mergeProps({
5521
+ "bem": bem$1a,
5503
5522
  "role": "radio",
5504
5523
  "parent": parent,
5505
5524
  "checked": checked(),
@@ -5507,10 +5526,10 @@ var stdin_default$1m = defineComponent({
5507
5526
  }, props2), pick(slots, ["default", "icon"]));
5508
5527
  }
5509
5528
  });
5510
- const Radio = withInstall(stdin_default$1m);
5511
- const [name$1c, bem$18] = createNamespace("address-item");
5512
- var stdin_default$1l = defineComponent({
5513
- name: name$1c,
5529
+ const Radio = withInstall(stdin_default$1n);
5530
+ const [name$1d, bem$19] = createNamespace("address-item");
5531
+ var stdin_default$1m = defineComponent({
5532
+ name: name$1d,
5514
5533
  props: {
5515
5534
  address: makeRequiredProp(Object),
5516
5535
  disabled: Boolean,
@@ -5531,7 +5550,7 @@ var stdin_default$1l = defineComponent({
5531
5550
  };
5532
5551
  const renderRightIcon = () => createVNode(Icon, {
5533
5552
  "name": props2.rightIcon,
5534
- "class": bem$18("edit"),
5553
+ "class": bem$19("edit"),
5535
5554
  "onClick": (event) => {
5536
5555
  event.stopPropagation();
5537
5556
  emit("edit");
@@ -5546,7 +5565,7 @@ var stdin_default$1l = defineComponent({
5546
5565
  return createVNode(Tag, {
5547
5566
  "type": "primary",
5548
5567
  "round": true,
5549
- "class": bem$18("tag")
5568
+ "class": bem$19("tag")
5550
5569
  }, {
5551
5570
  default: () => [props2.defaultTagText]
5552
5571
  });
@@ -5559,9 +5578,9 @@ var stdin_default$1l = defineComponent({
5559
5578
  switchable
5560
5579
  } = props2;
5561
5580
  const Info = [createVNode("div", {
5562
- "class": bem$18("name")
5581
+ "class": bem$19("name")
5563
5582
  }, [`${address.name} ${address.tel}`, renderTag()]), createVNode("div", {
5564
- "class": bem$18("address")
5583
+ "class": bem$19("address")
5565
5584
  }, [address.address])];
5566
5585
  if (switchable && !disabled) {
5567
5586
  return createVNode(Radio, {
@@ -5579,13 +5598,13 @@ var stdin_default$1l = defineComponent({
5579
5598
  disabled
5580
5599
  } = props2;
5581
5600
  return createVNode("div", {
5582
- "class": bem$18({
5601
+ "class": bem$19({
5583
5602
  disabled
5584
5603
  }),
5585
5604
  "onClick": onClick
5586
5605
  }, [createVNode(Cell, {
5587
5606
  "border": false,
5588
- "titleClass": bem$18("title")
5607
+ "titleClass": bem$19("title")
5589
5608
  }, {
5590
5609
  title: renderContent,
5591
5610
  "right-icon": renderRightIcon
@@ -5595,7 +5614,7 @@ var stdin_default$1l = defineComponent({
5595
5614
  };
5596
5615
  }
5597
5616
  });
5598
- const [name$1b, bem$17, t$h] = createNamespace("address-list");
5617
+ const [name$1c, bem$18, t$h] = createNamespace("address-list");
5599
5618
  const addressListProps = {
5600
5619
  list: makeArrayProp(),
5601
5620
  modelValue: numericProp,
@@ -5607,8 +5626,8 @@ const addressListProps = {
5607
5626
  defaultTagText: String,
5608
5627
  rightIcon: makeStringProp("edit")
5609
5628
  };
5610
- var stdin_default$1k = defineComponent({
5611
- name: name$1b,
5629
+ var stdin_default$1l = defineComponent({
5630
+ name: name$1c,
5612
5631
  props: addressListProps,
5613
5632
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5614
5633
  setup(props2, {
@@ -5624,7 +5643,7 @@ var stdin_default$1k = defineComponent({
5624
5643
  emit("update:modelValue", item.id);
5625
5644
  }
5626
5645
  };
5627
- return createVNode(stdin_default$1l, {
5646
+ return createVNode(stdin_default$1m, {
5628
5647
  "key": item.id,
5629
5648
  "address": item,
5630
5649
  "disabled": disabled,
@@ -5645,13 +5664,13 @@ var stdin_default$1k = defineComponent({
5645
5664
  }
5646
5665
  };
5647
5666
  const renderBottom = () => props2.showAddButton ? createVNode("div", {
5648
- "class": [bem$17("bottom"), "van-safe-area-bottom"]
5667
+ "class": [bem$18("bottom"), "van-safe-area-bottom"]
5649
5668
  }, [createVNode(Button, {
5650
5669
  "round": true,
5651
5670
  "block": true,
5652
5671
  "type": "primary",
5653
5672
  "text": props2.addButtonText || t$h("add"),
5654
- "class": bem$17("add"),
5673
+ "class": bem$18("add"),
5655
5674
  "onClick": () => emit("add")
5656
5675
  }, null)]) : void 0;
5657
5676
  return () => {
@@ -5659,10 +5678,10 @@ var stdin_default$1k = defineComponent({
5659
5678
  const List2 = renderList(props2.list);
5660
5679
  const DisabledList = renderList(props2.disabledList, true);
5661
5680
  const DisabledText = props2.disabledText && createVNode("div", {
5662
- "class": bem$17("disabled-text")
5681
+ "class": bem$18("disabled-text")
5663
5682
  }, [props2.disabledText]);
5664
5683
  return createVNode("div", {
5665
- "class": bem$17()
5684
+ "class": bem$18()
5666
5685
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), createVNode(RadioGroup, {
5667
5686
  "modelValue": props2.modelValue
5668
5687
  }, {
@@ -5671,7 +5690,7 @@ var stdin_default$1k = defineComponent({
5671
5690
  };
5672
5691
  }
5673
5692
  });
5674
- const AddressList = withInstall(stdin_default$1k);
5693
+ const AddressList = withInstall(stdin_default$1l);
5675
5694
  const hasIntersectionObserver = inBrowser$1 && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5676
5695
  const modeType = {
5677
5696
  event: "event",
@@ -5824,7 +5843,7 @@ class ImageCache {
5824
5843
  this.caches.shift();
5825
5844
  }
5826
5845
  }
5827
- const [name$1a, bem$16] = createNamespace("back-top");
5846
+ const [name$1b, bem$17] = createNamespace("back-top");
5828
5847
  const backTopProps = {
5829
5848
  right: numericProp,
5830
5849
  bottom: numericProp,
@@ -5837,8 +5856,8 @@ const backTopProps = {
5837
5856
  default: "body"
5838
5857
  }
5839
5858
  };
5840
- var stdin_default$1j = defineComponent({
5841
- name: name$1a,
5859
+ var stdin_default$1k = defineComponent({
5860
+ name: name$1b,
5842
5861
  inheritAttrs: false,
5843
5862
  props: backTopProps,
5844
5863
  emits: ["click"],
@@ -5910,19 +5929,19 @@ var stdin_default$1j = defineComponent({
5910
5929
  return () => {
5911
5930
  const Content = createVNode("div", mergeProps({
5912
5931
  "ref": !props2.teleport ? root : void 0,
5913
- "class": bem$16({
5932
+ "class": bem$17({
5914
5933
  active: show.value
5915
5934
  }),
5916
5935
  "style": style.value,
5917
5936
  "onClick": onClick
5918
5937
  }, attrs), [slots.default ? slots.default() : createVNode(Icon, {
5919
5938
  "name": "back-top",
5920
- "class": bem$16("icon")
5939
+ "class": bem$17("icon")
5921
5940
  }, null)]);
5922
5941
  if (props2.teleport) {
5923
5942
  return [createVNode("div", {
5924
5943
  "ref": root,
5925
- "class": bem$16("placeholder")
5944
+ "class": bem$17("placeholder")
5926
5945
  }, null), createVNode(Teleport, {
5927
5946
  "to": props2.teleport
5928
5947
  }, {
@@ -5933,7 +5952,7 @@ var stdin_default$1j = defineComponent({
5933
5952
  };
5934
5953
  }
5935
5954
  });
5936
- const BackTop = withInstall(stdin_default$1j);
5955
+ const BackTop = withInstall(stdin_default$1k);
5937
5956
  var __async = (__this, __arguments, generator) => {
5938
5957
  return new Promise((resolve, reject) => {
5939
5958
  var fulfilled = (value) => {
@@ -5962,9 +5981,9 @@ const barrageProps = {
5962
5981
  delay: makeNumberProp(300),
5963
5982
  modelValue: makeArrayProp()
5964
5983
  };
5965
- const [name$19, bem$15] = createNamespace("barrage");
5966
- var stdin_default$1i = defineComponent({
5967
- name: name$19,
5984
+ const [name$1a, bem$16] = createNamespace("barrage");
5985
+ var stdin_default$1j = defineComponent({
5986
+ name: name$1a,
5968
5987
  props: barrageProps,
5969
5988
  emits: ["update:modelValue"],
5970
5989
  setup(props2, {
@@ -5972,7 +5991,7 @@ var stdin_default$1i = defineComponent({
5972
5991
  slots
5973
5992
  }) {
5974
5993
  const barrageWrapper = ref();
5975
- const className = bem$15("item");
5994
+ const className = bem$16("item");
5976
5995
  const total = ref(0);
5977
5996
  const barrageItems = [];
5978
5997
  const createBarrageItem = (text, delay = props2.delay) => {
@@ -6053,15 +6072,15 @@ var stdin_default$1i = defineComponent({
6053
6072
  return () => {
6054
6073
  var _a;
6055
6074
  return createVNode("div", {
6056
- "class": bem$15(),
6075
+ "class": bem$16(),
6057
6076
  "ref": barrageWrapper,
6058
6077
  "style": rootStyle.value
6059
6078
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
6060
6079
  };
6061
6080
  }
6062
6081
  });
6063
- const Barrage = withInstall(stdin_default$1i);
6064
- const [name$18, bem$14, t$g] = createNamespace("calendar");
6082
+ const Barrage = withInstall(stdin_default$1j);
6083
+ const [name$19, bem$15, t$g] = createNamespace("calendar");
6065
6084
  const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
6066
6085
  function compareMonth(date1, date2) {
6067
6086
  const year1 = date1.getFullYear();
@@ -6141,9 +6160,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6141
6160
  }
6142
6161
  return value;
6143
6162
  });
6144
- const [name$17] = createNamespace("calendar-day");
6145
- var stdin_default$1h = defineComponent({
6146
- name: name$17,
6163
+ const [name$18] = createNamespace("calendar-day");
6164
+ var stdin_default$1i = defineComponent({
6165
+ name: name$18,
6147
6166
  props: {
6148
6167
  item: makeRequiredProp(Object),
6149
6168
  color: String,
@@ -6207,7 +6226,7 @@ var stdin_default$1h = defineComponent({
6207
6226
  } = props2.item;
6208
6227
  if (topInfo || slots["top-info"]) {
6209
6228
  return createVNode("div", {
6210
- "class": bem$14("top-info")
6229
+ "class": bem$15("top-info")
6211
6230
  }, [slots["top-info"] ? slots["top-info"](props2.item) : topInfo]);
6212
6231
  }
6213
6232
  };
@@ -6217,7 +6236,7 @@ var stdin_default$1h = defineComponent({
6217
6236
  } = props2.item;
6218
6237
  if (bottomInfo || slots["bottom-info"]) {
6219
6238
  return createVNode("div", {
6220
- "class": bem$14("bottom-info")
6239
+ "class": bem$15("bottom-info")
6221
6240
  }, [slots["bottom-info"] ? slots["bottom-info"](props2.item) : bottomInfo]);
6222
6241
  }
6223
6242
  };
@@ -6234,7 +6253,7 @@ var stdin_default$1h = defineComponent({
6234
6253
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
6235
6254
  if (type === "selected") {
6236
6255
  return createVNode("div", {
6237
- "class": bem$14("selected-day"),
6256
+ "class": bem$15("selected-day"),
6238
6257
  "style": {
6239
6258
  width: rowHeight,
6240
6259
  height: rowHeight,
@@ -6251,21 +6270,21 @@ var stdin_default$1h = defineComponent({
6251
6270
  } = props2.item;
6252
6271
  if (type === "placeholder") {
6253
6272
  return createVNode("div", {
6254
- "class": bem$14("day"),
6273
+ "class": bem$15("day"),
6255
6274
  "style": style.value
6256
6275
  }, null);
6257
6276
  }
6258
6277
  return createVNode("div", {
6259
6278
  "role": "gridcell",
6260
6279
  "style": style.value,
6261
- "class": [bem$14("day", type), className],
6280
+ "class": [bem$15("day", type), className],
6262
6281
  "tabindex": type === "disabled" ? void 0 : -1,
6263
6282
  "onClick": onClick
6264
6283
  }, [renderContent()]);
6265
6284
  };
6266
6285
  }
6267
6286
  });
6268
- const [name$16] = createNamespace("calendar-month");
6287
+ const [name$17] = createNamespace("calendar-month");
6269
6288
  const calendarMonthProps = {
6270
6289
  date: makeRequiredProp(Date),
6271
6290
  type: String,
@@ -6282,8 +6301,8 @@ const calendarMonthProps = {
6282
6301
  showMonthTitle: Boolean,
6283
6302
  firstDayOfWeek: Number
6284
6303
  };
6285
- var stdin_default$1g = defineComponent({
6286
- name: name$16,
6304
+ var stdin_default$1h = defineComponent({
6305
+ name: name$17,
6287
6306
  props: calendarMonthProps,
6288
6307
  emits: ["click", "clickDisabledDate"],
6289
6308
  setup(props2, {
@@ -6388,7 +6407,7 @@ var stdin_default$1g = defineComponent({
6388
6407
  const renderTitle = () => {
6389
6408
  if (props2.showMonthTitle) {
6390
6409
  return createVNode("div", {
6391
- "class": bem$14("month-title")
6410
+ "class": bem$15("month-title")
6392
6411
  }, [slots["month-title"] ? slots["month-title"]({
6393
6412
  date: props2.date,
6394
6413
  text: title.value
@@ -6398,7 +6417,7 @@ var stdin_default$1g = defineComponent({
6398
6417
  const renderMark = () => {
6399
6418
  if (props2.showMark && shouldRender.value) {
6400
6419
  return createVNode("div", {
6401
- "class": bem$14("month-mark")
6420
+ "class": bem$15("month-mark")
6402
6421
  }, [props2.date.getMonth() + 1]);
6403
6422
  }
6404
6423
  };
@@ -6438,7 +6457,7 @@ var stdin_default$1g = defineComponent({
6438
6457
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
6439
6458
  }
6440
6459
  };
6441
- const renderDay = (item, index) => createVNode(stdin_default$1h, {
6460
+ const renderDay = (item, index) => createVNode(stdin_default$1i, {
6442
6461
  "item": item,
6443
6462
  "index": index,
6444
6463
  "color": props2.color,
@@ -6450,7 +6469,7 @@ var stdin_default$1g = defineComponent({
6450
6469
  const renderDays = () => createVNode("div", {
6451
6470
  "ref": daysRef,
6452
6471
  "role": "grid",
6453
- "class": bem$14("days")
6472
+ "class": bem$15("days")
6454
6473
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6455
6474
  useExpose({
6456
6475
  getTitle,
@@ -6460,14 +6479,14 @@ var stdin_default$1g = defineComponent({
6460
6479
  disabledDays
6461
6480
  });
6462
6481
  return () => createVNode("div", {
6463
- "class": bem$14("month"),
6482
+ "class": bem$15("month"),
6464
6483
  "ref": monthRef
6465
6484
  }, [renderTitle(), renderDays()]);
6466
6485
  }
6467
6486
  });
6468
- const [name$15] = createNamespace("calendar-header");
6469
- var stdin_default$1f = defineComponent({
6470
- name: name$15,
6487
+ const [name$16] = createNamespace("calendar-header");
6488
+ var stdin_default$1g = defineComponent({
6489
+ name: name$16,
6471
6490
  props: {
6472
6491
  date: Date,
6473
6492
  title: String,
@@ -6486,7 +6505,7 @@ var stdin_default$1f = defineComponent({
6486
6505
  const text = props2.title || t$g("title");
6487
6506
  const title = slots.title ? slots.title() : text;
6488
6507
  return createVNode("div", {
6489
- "class": bem$14("header-title")
6508
+ "class": bem$15("header-title")
6490
6509
  }, [title]);
6491
6510
  }
6492
6511
  };
@@ -6498,7 +6517,7 @@ var stdin_default$1f = defineComponent({
6498
6517
  text: props2.subtitle
6499
6518
  }) : props2.subtitle;
6500
6519
  return createVNode("div", {
6501
- "class": bem$14("header-subtitle"),
6520
+ "class": bem$15("header-subtitle"),
6502
6521
  "onClick": onClickSubtitle
6503
6522
  }, [title]);
6504
6523
  }
@@ -6510,13 +6529,13 @@ var stdin_default$1f = defineComponent({
6510
6529
  const weekdays = t$g("weekdays");
6511
6530
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6512
6531
  return createVNode("div", {
6513
- "class": bem$14("weekdays")
6532
+ "class": bem$15("weekdays")
6514
6533
  }, [renderWeekDays2.map((text) => createVNode("span", {
6515
- "class": bem$14("weekday")
6534
+ "class": bem$15("weekday")
6516
6535
  }, [text]))]);
6517
6536
  };
6518
6537
  return () => createVNode("div", {
6519
- "class": bem$14("header")
6538
+ "class": bem$15("header")
6520
6539
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6521
6540
  }
6522
6541
  });
@@ -6567,8 +6586,8 @@ const calendarProps = {
6567
6586
  validator: (val) => val >= 0 && val <= 6
6568
6587
  }
6569
6588
  };
6570
- var stdin_default$1e = defineComponent({
6571
- name: name$18,
6589
+ var stdin_default$1f = defineComponent({
6590
+ name: name$19,
6572
6591
  props: calendarProps,
6573
6592
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate"],
6574
6593
  setup(props2, {
@@ -6617,7 +6636,7 @@ var stdin_default$1e = defineComponent({
6617
6636
  let bodyHeight;
6618
6637
  const bodyRef = ref();
6619
6638
  const subtitle = ref({
6620
- text: "",
6639
+ textFn: () => "",
6621
6640
  date: void 0
6622
6641
  });
6623
6642
  const currentDate = ref(getInitialDate());
@@ -6681,7 +6700,7 @@ var stdin_default$1e = defineComponent({
6681
6700
  });
6682
6701
  if (currentMonth) {
6683
6702
  subtitle.value = {
6684
- text: currentMonth.getTitle(),
6703
+ textFn: currentMonth.getTitle,
6685
6704
  date: currentMonth.date
6686
6705
  };
6687
6706
  }
@@ -6831,7 +6850,7 @@ var stdin_default$1e = defineComponent({
6831
6850
  const updateShow = (value) => emit("update:show", value);
6832
6851
  const renderMonth = (date, index) => {
6833
6852
  const showMonthTitle = index !== 0 || !props2.showSubtitle;
6834
- return createVNode(stdin_default$1g, mergeProps({
6853
+ return createVNode(stdin_default$1h, mergeProps({
6835
6854
  "ref": setMonthRefs(index),
6836
6855
  "date": date,
6837
6856
  "currentDate": currentDate.value,
@@ -6855,7 +6874,7 @@ var stdin_default$1e = defineComponent({
6855
6874
  "block": true,
6856
6875
  "type": "primary",
6857
6876
  "color": props2.color,
6858
- "class": bem$14("confirm"),
6877
+ "class": bem$15("confirm"),
6859
6878
  "disabled": disabled,
6860
6879
  "nativeType": "button",
6861
6880
  "onClick": onConfirm
@@ -6867,25 +6886,28 @@ var stdin_default$1e = defineComponent({
6867
6886
  }
6868
6887
  };
6869
6888
  const renderFooter = () => createVNode("div", {
6870
- "class": [bem$14("footer"), {
6889
+ "class": [bem$15("footer"), {
6871
6890
  "van-safe-area-bottom": props2.safeAreaInsetBottom
6872
6891
  }]
6873
6892
  }, [renderFooterButton()]);
6874
- const renderCalendar = () => createVNode("div", {
6875
- "class": bem$14()
6876
- }, [createVNode(stdin_default$1f, {
6877
- "date": subtitle.value.date,
6878
- "title": props2.title,
6879
- "subtitle": subtitle.value.text,
6880
- "showTitle": props2.showTitle,
6881
- "showSubtitle": props2.showSubtitle,
6882
- "firstDayOfWeek": dayOffset.value,
6883
- "onClickSubtitle": (event) => emit("clickSubtitle", event)
6884
- }, pick(slots, ["title", "subtitle"])), createVNode("div", {
6885
- "ref": bodyRef,
6886
- "class": bem$14("body"),
6887
- "onScroll": onScroll
6888
- }, [months.value.map(renderMonth)]), renderFooter()]);
6893
+ const renderCalendar = () => {
6894
+ const subTitle = subtitle.value.textFn();
6895
+ return createVNode("div", {
6896
+ "class": bem$15()
6897
+ }, [createVNode(stdin_default$1g, {
6898
+ "date": subtitle.value.date,
6899
+ "title": props2.title,
6900
+ "subtitle": subTitle,
6901
+ "showTitle": props2.showTitle,
6902
+ "showSubtitle": props2.showSubtitle,
6903
+ "firstDayOfWeek": dayOffset.value,
6904
+ "onClickSubtitle": (event) => emit("clickSubtitle", event)
6905
+ }, pick(slots, ["title", "subtitle"])), createVNode("div", {
6906
+ "ref": bodyRef,
6907
+ "class": bem$15("body"),
6908
+ "onScroll": onScroll
6909
+ }, [months.value.map(renderMonth)]), renderFooter()]);
6910
+ };
6889
6911
  watch(() => props2.show, init);
6890
6912
  watch(() => [props2.type, props2.minDate, props2.maxDate], () => reset(getInitialDate(currentDate.value)));
6891
6913
  watch(() => props2.defaultDate, (value = null) => {
@@ -6902,7 +6924,7 @@ var stdin_default$1e = defineComponent({
6902
6924
  if (props2.poppable) {
6903
6925
  return createVNode(Popup, {
6904
6926
  "show": props2.show,
6905
- "class": bem$14("popup"),
6927
+ "class": bem$15("popup"),
6906
6928
  "round": props2.round,
6907
6929
  "position": props2.position,
6908
6930
  "closeable": props2.showTitle || props2.showSubtitle,
@@ -6919,8 +6941,8 @@ var stdin_default$1e = defineComponent({
6919
6941
  };
6920
6942
  }
6921
6943
  });
6922
- const Calendar = withInstall(stdin_default$1e);
6923
- const [name$14, bem$13] = createNamespace("image");
6944
+ const Calendar = withInstall(stdin_default$1f);
6945
+ const [name$15, bem$14] = createNamespace("image");
6924
6946
  const imageProps = {
6925
6947
  src: String,
6926
6948
  alt: String,
@@ -6939,8 +6961,8 @@ const imageProps = {
6939
6961
  showLoading: truthProp,
6940
6962
  loadingIcon: makeStringProp("photo")
6941
6963
  };
6942
- var stdin_default$1d = defineComponent({
6943
- name: name$14,
6964
+ var stdin_default$1e = defineComponent({
6965
+ name: name$15,
6944
6966
  props: imageProps,
6945
6967
  emits: ["load", "error"],
6946
6968
  setup(props2, {
@@ -7001,13 +7023,13 @@ var stdin_default$1d = defineComponent({
7001
7023
  const renderPlaceholder = () => {
7002
7024
  if (loading.value && props2.showLoading) {
7003
7025
  return createVNode("div", {
7004
- "class": bem$13("loading")
7005
- }, [renderIcon(props2.loadingIcon, bem$13("loading-icon"), slots.loading)]);
7026
+ "class": bem$14("loading")
7027
+ }, [renderIcon(props2.loadingIcon, bem$14("loading-icon"), slots.loading)]);
7006
7028
  }
7007
7029
  if (error.value && props2.showError) {
7008
7030
  return createVNode("div", {
7009
- "class": bem$13("error")
7010
- }, [renderIcon(props2.errorIcon, bem$13("error-icon"), slots.error)]);
7031
+ "class": bem$14("error")
7032
+ }, [renderIcon(props2.errorIcon, bem$14("error-icon"), slots.error)]);
7011
7033
  }
7012
7034
  };
7013
7035
  const renderImage = () => {
@@ -7016,7 +7038,7 @@ var stdin_default$1d = defineComponent({
7016
7038
  }
7017
7039
  const attrs = {
7018
7040
  alt: props2.alt,
7019
- class: bem$13("img"),
7041
+ class: bem$14("img"),
7020
7042
  style: {
7021
7043
  objectFit: props2.fit,
7022
7044
  objectPosition: props2.position
@@ -7074,7 +7096,7 @@ var stdin_default$1d = defineComponent({
7074
7096
  return () => {
7075
7097
  var _a;
7076
7098
  return createVNode("div", {
7077
- "class": bem$13({
7099
+ "class": bem$14({
7078
7100
  round: props2.round,
7079
7101
  block: props2.block
7080
7102
  }),
@@ -7083,8 +7105,8 @@ var stdin_default$1d = defineComponent({
7083
7105
  };
7084
7106
  }
7085
7107
  });
7086
- const Image$1 = withInstall(stdin_default$1d);
7087
- const [name$13, bem$12] = createNamespace("card");
7108
+ const Image$1 = withInstall(stdin_default$1e);
7109
+ const [name$14, bem$13] = createNamespace("card");
7088
7110
  const cardProps = {
7089
7111
  tag: String,
7090
7112
  num: numericProp,
@@ -7098,8 +7120,8 @@ const cardProps = {
7098
7120
  thumbLink: String,
7099
7121
  originPrice: numericProp
7100
7122
  };
7101
- var stdin_default$1c = defineComponent({
7102
- name: name$13,
7123
+ var stdin_default$1d = defineComponent({
7124
+ name: name$14,
7103
7125
  props: cardProps,
7104
7126
  emits: ["clickThumb"],
7105
7127
  setup(props2, {
@@ -7112,14 +7134,14 @@ var stdin_default$1c = defineComponent({
7112
7134
  }
7113
7135
  if (props2.title) {
7114
7136
  return createVNode("div", {
7115
- "class": [bem$12("title"), "van-multi-ellipsis--l2"]
7137
+ "class": [bem$13("title"), "van-multi-ellipsis--l2"]
7116
7138
  }, [props2.title]);
7117
7139
  }
7118
7140
  };
7119
7141
  const renderThumbTag = () => {
7120
7142
  if (slots.tag || props2.tag) {
7121
7143
  return createVNode("div", {
7122
- "class": bem$12("tag")
7144
+ "class": bem$13("tag")
7123
7145
  }, [slots.tag ? slots.tag() : createVNode(Tag, {
7124
7146
  "mark": true,
7125
7147
  "type": "primary"
@@ -7144,7 +7166,7 @@ var stdin_default$1c = defineComponent({
7144
7166
  if (slots.thumb || props2.thumb) {
7145
7167
  return createVNode("a", {
7146
7168
  "href": props2.thumbLink,
7147
- "class": bem$12("thumb"),
7169
+ "class": bem$13("thumb"),
7148
7170
  "onClick": (event) => emit("clickThumb", event)
7149
7171
  }, [renderThumbImage(), renderThumbTag()]);
7150
7172
  }
@@ -7155,18 +7177,18 @@ var stdin_default$1c = defineComponent({
7155
7177
  }
7156
7178
  if (props2.desc) {
7157
7179
  return createVNode("div", {
7158
- "class": [bem$12("desc"), "van-ellipsis"]
7180
+ "class": [bem$13("desc"), "van-ellipsis"]
7159
7181
  }, [props2.desc]);
7160
7182
  }
7161
7183
  };
7162
7184
  const renderPriceText = () => {
7163
7185
  const priceArr = props2.price.toString().split(".");
7164
7186
  return createVNode("div", null, [createVNode("span", {
7165
- "class": bem$12("price-currency")
7187
+ "class": bem$13("price-currency")
7166
7188
  }, [props2.currency]), createVNode("span", {
7167
- "class": bem$12("price-integer")
7189
+ "class": bem$13("price-integer")
7168
7190
  }, [priceArr[0]]), createTextVNode("."), createVNode("span", {
7169
- "class": bem$12("price-decimal")
7191
+ "class": bem$13("price-decimal")
7170
7192
  }, [priceArr[1]])]);
7171
7193
  };
7172
7194
  return () => {
@@ -7176,34 +7198,34 @@ var stdin_default$1c = defineComponent({
7176
7198
  const showOriginPrice = slots["origin-price"] || isDef(props2.originPrice);
7177
7199
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
7178
7200
  const Price = showPrice && createVNode("div", {
7179
- "class": bem$12("price")
7201
+ "class": bem$13("price")
7180
7202
  }, [slots.price ? slots.price() : renderPriceText()]);
7181
7203
  const OriginPrice = showOriginPrice && createVNode("div", {
7182
- "class": bem$12("origin-price")
7204
+ "class": bem$13("origin-price")
7183
7205
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props2.currency} ${props2.originPrice}`]);
7184
7206
  const Num = showNum && createVNode("div", {
7185
- "class": bem$12("num")
7207
+ "class": bem$13("num")
7186
7208
  }, [slots.num ? slots.num() : `x${props2.num}`]);
7187
7209
  const Footer = slots.footer && createVNode("div", {
7188
- "class": bem$12("footer")
7210
+ "class": bem$13("footer")
7189
7211
  }, [slots.footer()]);
7190
7212
  const Bottom = showBottom && createVNode("div", {
7191
- "class": bem$12("bottom")
7213
+ "class": bem$13("bottom")
7192
7214
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
7193
7215
  return createVNode("div", {
7194
- "class": bem$12()
7216
+ "class": bem$13()
7195
7217
  }, [createVNode("div", {
7196
- "class": bem$12("header")
7218
+ "class": bem$13("header")
7197
7219
  }, [renderThumb(), createVNode("div", {
7198
- "class": bem$12("content", {
7220
+ "class": bem$13("content", {
7199
7221
  centered: props2.centered
7200
7222
  })
7201
7223
  }, [createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
7202
7224
  };
7203
7225
  }
7204
7226
  });
7205
- const Card = withInstall(stdin_default$1c);
7206
- const [name$12, bem$11, t$f] = createNamespace("cascader");
7227
+ const Card = withInstall(stdin_default$1d);
7228
+ const [name$13, bem$12, t$f] = createNamespace("cascader");
7207
7229
  const cascaderProps = {
7208
7230
  title: String,
7209
7231
  options: makeArrayProp(),
@@ -7216,8 +7238,8 @@ const cascaderProps = {
7216
7238
  placeholder: String,
7217
7239
  activeColor: String
7218
7240
  };
7219
- var stdin_default$1b = defineComponent({
7220
- name: name$12,
7241
+ var stdin_default$1c = defineComponent({
7242
+ name: name$13,
7221
7243
  props: cascaderProps,
7222
7244
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
7223
7245
  setup(props2, {
@@ -7326,12 +7348,12 @@ var stdin_default$1b = defineComponent({
7326
7348
  title
7327
7349
  }) => emit("clickTab", name2, title);
7328
7350
  const renderHeader = () => props2.showHeader ? createVNode("div", {
7329
- "class": bem$11("header")
7351
+ "class": bem$12("header")
7330
7352
  }, [createVNode("h2", {
7331
- "class": bem$11("title")
7353
+ "class": bem$12("title")
7332
7354
  }, [slots.title ? slots.title() : props2.title]), props2.closeable ? createVNode(Icon, {
7333
7355
  "name": props2.closeIcon,
7334
- "class": [bem$11("close-icon"), HAPTICS_FEEDBACK],
7356
+ "class": [bem$12("close-icon"), HAPTICS_FEEDBACK],
7335
7357
  "onClick": onClose
7336
7358
  }, null) : null]) : null;
7337
7359
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -7347,7 +7369,7 @@ var stdin_default$1b = defineComponent({
7347
7369
  return createVNode("li", {
7348
7370
  "ref": selected ? setSelectedElementRefs(tabIndex) : void 0,
7349
7371
  "role": "menuitemradio",
7350
- "class": [bem$11("option", {
7372
+ "class": [bem$12("option", {
7351
7373
  selected,
7352
7374
  disabled
7353
7375
  }), option.className],
@@ -7360,12 +7382,12 @@ var stdin_default$1b = defineComponent({
7360
7382
  "onClick": () => onSelect(option, tabIndex)
7361
7383
  }, [Text2, selected ? createVNode(Icon, {
7362
7384
  "name": "success",
7363
- "class": bem$11("selected-icon")
7385
+ "class": bem$12("selected-icon")
7364
7386
  }, null) : null]);
7365
7387
  };
7366
7388
  const renderOptions = (options, selectedOption, tabIndex) => createVNode("ul", {
7367
7389
  "role": "menu",
7368
- "class": bem$11("options")
7390
+ "class": bem$12("options")
7369
7391
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
7370
7392
  const renderTab = (tab, tabIndex) => {
7371
7393
  const {
@@ -7376,7 +7398,7 @@ var stdin_default$1b = defineComponent({
7376
7398
  const title = selected ? selected[textKey] : placeholder;
7377
7399
  return createVNode(Tab, {
7378
7400
  "title": title,
7379
- "titleClass": bem$11("tab", {
7401
+ "titleClass": bem$12("tab", {
7380
7402
  unselected: !selected
7381
7403
  })
7382
7404
  }, {
@@ -7395,7 +7417,7 @@ var stdin_default$1b = defineComponent({
7395
7417
  "onUpdate:active": ($event) => activeTab.value = $event,
7396
7418
  "shrink": true,
7397
7419
  "animated": true,
7398
- "class": bem$11("tabs"),
7420
+ "class": bem$12("tabs"),
7399
7421
  "color": props2.activeColor,
7400
7422
  "swipeable": props2.swipeable,
7401
7423
  "onClickTab": onClickTab
@@ -7430,19 +7452,19 @@ var stdin_default$1b = defineComponent({
7430
7452
  updateTabs();
7431
7453
  });
7432
7454
  return () => createVNode("div", {
7433
- "class": bem$11()
7455
+ "class": bem$12()
7434
7456
  }, [renderHeader(), renderTabs()]);
7435
7457
  }
7436
7458
  });
7437
- const Cascader = withInstall(stdin_default$1b);
7438
- const [name$11, bem$10] = createNamespace("cell-group");
7459
+ const Cascader = withInstall(stdin_default$1c);
7460
+ const [name$12, bem$11] = createNamespace("cell-group");
7439
7461
  const cellGroupProps = {
7440
7462
  title: String,
7441
7463
  inset: Boolean,
7442
7464
  border: truthProp
7443
7465
  };
7444
- var stdin_default$1a = defineComponent({
7445
- name: name$11,
7466
+ var stdin_default$1b = defineComponent({
7467
+ name: name$12,
7446
7468
  inheritAttrs: false,
7447
7469
  props: cellGroupProps,
7448
7470
  setup(props2, {
@@ -7452,7 +7474,7 @@ var stdin_default$1a = defineComponent({
7452
7474
  const renderGroup = () => {
7453
7475
  var _a;
7454
7476
  return createVNode("div", mergeProps({
7455
- "class": [bem$10({
7477
+ "class": [bem$11({
7456
7478
  inset: props2.inset
7457
7479
  }), {
7458
7480
  [BORDER_TOP_BOTTOM]: props2.border && !props2.inset
@@ -7460,7 +7482,7 @@ var stdin_default$1a = defineComponent({
7460
7482
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7461
7483
  };
7462
7484
  const renderTitle = () => createVNode("div", {
7463
- "class": bem$10("title", {
7485
+ "class": bem$11("title", {
7464
7486
  inset: props2.inset
7465
7487
  })
7466
7488
  }, [slots.title ? slots.title() : props2.title]);
@@ -7472,8 +7494,8 @@ var stdin_default$1a = defineComponent({
7472
7494
  };
7473
7495
  }
7474
7496
  });
7475
- const CellGroup = withInstall(stdin_default$1a);
7476
- const [name$10, bem$$] = createNamespace("checkbox-group");
7497
+ const CellGroup = withInstall(stdin_default$1b);
7498
+ const [name$11, bem$10] = createNamespace("checkbox-group");
7477
7499
  const checkboxGroupProps = {
7478
7500
  max: numericProp,
7479
7501
  shape: makeStringProp("round"),
@@ -7483,9 +7505,9 @@ const checkboxGroupProps = {
7483
7505
  modelValue: makeArrayProp(),
7484
7506
  checkedColor: String
7485
7507
  };
7486
- const CHECKBOX_GROUP_KEY = Symbol(name$10);
7487
- var stdin_default$19 = defineComponent({
7488
- name: name$10,
7508
+ const CHECKBOX_GROUP_KEY = Symbol(name$11);
7509
+ var stdin_default$1a = defineComponent({
7510
+ name: name$11,
7489
7511
  props: checkboxGroupProps,
7490
7512
  emits: ["change", "update:modelValue"],
7491
7513
  setup(props2, {
@@ -7531,12 +7553,12 @@ var stdin_default$19 = defineComponent({
7531
7553
  return () => {
7532
7554
  var _a;
7533
7555
  return createVNode("div", {
7534
- "class": bem$$([props2.direction])
7556
+ "class": bem$10([props2.direction])
7535
7557
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7536
7558
  };
7537
7559
  }
7538
7560
  });
7539
- const [name$$, bem$_] = createNamespace("checkbox");
7561
+ const [name$10, bem$$] = createNamespace("checkbox");
7540
7562
  const checkboxProps = extend({}, checkerProps, {
7541
7563
  shape: String,
7542
7564
  bindGroup: truthProp,
@@ -7545,8 +7567,8 @@ const checkboxProps = extend({}, checkerProps, {
7545
7567
  default: null
7546
7568
  }
7547
7569
  });
7548
- var stdin_default$18 = defineComponent({
7549
- name: name$$,
7570
+ var stdin_default$19 = defineComponent({
7571
+ name: name$10,
7550
7572
  props: checkboxProps,
7551
7573
  emits: ["change", "update:modelValue"],
7552
7574
  setup(props2, {
@@ -7608,8 +7630,8 @@ var stdin_default$18 = defineComponent({
7608
7630
  checked
7609
7631
  });
7610
7632
  useCustomFieldValue(() => props2.modelValue);
7611
- return () => createVNode(stdin_default$1n, mergeProps({
7612
- "bem": bem$_,
7633
+ return () => createVNode(stdin_default$1o, mergeProps({
7634
+ "bem": bem$$,
7613
7635
  "role": "checkbox",
7614
7636
  "parent": parent,
7615
7637
  "checked": checked.value,
@@ -7617,9 +7639,9 @@ var stdin_default$18 = defineComponent({
7617
7639
  }, props2), pick(slots, ["default", "icon"]));
7618
7640
  }
7619
7641
  });
7620
- const Checkbox = withInstall(stdin_default$18);
7621
- const CheckboxGroup = withInstall(stdin_default$19);
7622
- const [name$_, bem$Z] = createNamespace("circle");
7642
+ const Checkbox = withInstall(stdin_default$19);
7643
+ const CheckboxGroup = withInstall(stdin_default$1a);
7644
+ const [name$$, bem$_] = createNamespace("circle");
7623
7645
  let uid = 0;
7624
7646
  const format = (rate) => Math.min(Math.max(+rate, 0), 100);
7625
7647
  function getPath(clockwise, viewBoxSize) {
@@ -7640,8 +7662,8 @@ const circleProps = {
7640
7662
  strokeLinecap: String,
7641
7663
  startPosition: makeStringProp("top")
7642
7664
  };
7643
- var stdin_default$17 = defineComponent({
7644
- name: name$_,
7665
+ var stdin_default$18 = defineComponent({
7666
+ name: name$$,
7645
7667
  props: circleProps,
7646
7668
  emits: ["update:currentRate"],
7647
7669
  setup(props2, {
@@ -7709,7 +7731,7 @@ var stdin_default$17 = defineComponent({
7709
7731
  return createVNode("path", {
7710
7732
  "d": path.value,
7711
7733
  "style": style,
7712
- "class": bem$Z("hover"),
7734
+ "class": bem$_("hover"),
7713
7735
  "stroke": color
7714
7736
  }, null);
7715
7737
  };
@@ -7720,7 +7742,7 @@ var stdin_default$17 = defineComponent({
7720
7742
  strokeWidth: `${props2.strokeWidth}px`
7721
7743
  };
7722
7744
  return createVNode("path", {
7723
- "class": bem$Z("layer"),
7745
+ "class": bem$_("layer"),
7724
7746
  "style": style,
7725
7747
  "d": path.value
7726
7748
  }, null);
@@ -7751,12 +7773,12 @@ var stdin_default$17 = defineComponent({
7751
7773
  }
7752
7774
  if (props2.text) {
7753
7775
  return createVNode("div", {
7754
- "class": bem$Z("text")
7776
+ "class": bem$_("text")
7755
7777
  }, [props2.text]);
7756
7778
  }
7757
7779
  };
7758
7780
  return () => createVNode("div", {
7759
- "class": bem$Z(),
7781
+ "class": bem$_(),
7760
7782
  "style": getSizeStyle(props2.size)
7761
7783
  }, [createVNode("svg", {
7762
7784
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -7764,18 +7786,21 @@ var stdin_default$17 = defineComponent({
7764
7786
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7765
7787
  }
7766
7788
  });
7767
- const Circle = withInstall(stdin_default$17);
7768
- const [name$Z, bem$Y] = createNamespace("row");
7769
- const ROW_KEY = Symbol(name$Z);
7789
+ const Circle = withInstall(stdin_default$18);
7790
+ const [name$_, bem$Z] = createNamespace("row");
7791
+ const ROW_KEY = Symbol(name$_);
7770
7792
  const rowProps = {
7771
7793
  tag: makeStringProp("div"),
7772
7794
  wrap: truthProp,
7773
7795
  align: String,
7774
- gutter: makeNumericProp(0),
7796
+ gutter: {
7797
+ type: [String, Number, Array],
7798
+ default: 0
7799
+ },
7775
7800
  justify: String
7776
7801
  };
7777
- var stdin_default$16 = defineComponent({
7778
- name: name$Z,
7802
+ var stdin_default$17 = defineComponent({
7803
+ name: name$_,
7779
7804
  props: rowProps,
7780
7805
  setup(props2, {
7781
7806
  slots
@@ -7799,7 +7824,12 @@ var stdin_default$16 = defineComponent({
7799
7824
  return groups2;
7800
7825
  });
7801
7826
  const spaces = computed(() => {
7802
- const gutter = Number(props2.gutter);
7827
+ let gutter = 0;
7828
+ if (Array.isArray(props2.gutter)) {
7829
+ gutter = Number(props2.gutter[0]) || 0;
7830
+ } else {
7831
+ gutter = Number(props2.gutter);
7832
+ }
7803
7833
  const spaces2 = [];
7804
7834
  if (!gutter) {
7805
7835
  return spaces2;
@@ -7823,8 +7853,31 @@ var stdin_default$16 = defineComponent({
7823
7853
  });
7824
7854
  return spaces2;
7825
7855
  });
7856
+ const verticalSpaces = computed(() => {
7857
+ const {
7858
+ gutter
7859
+ } = props2;
7860
+ const spaces2 = [];
7861
+ if (Array.isArray(gutter) && gutter.length > 1) {
7862
+ const bottom = Number(gutter[1]) || 0;
7863
+ if (bottom <= 0) {
7864
+ return spaces2;
7865
+ }
7866
+ groups.value.forEach((group, index) => {
7867
+ if (index === groups.value.length - 1)
7868
+ return;
7869
+ group.forEach(() => {
7870
+ spaces2.push({
7871
+ bottom
7872
+ });
7873
+ });
7874
+ });
7875
+ }
7876
+ return spaces2;
7877
+ });
7826
7878
  linkChildren({
7827
- spaces
7879
+ spaces,
7880
+ verticalSpaces
7828
7881
  });
7829
7882
  return () => {
7830
7883
  const {
@@ -7834,7 +7887,7 @@ var stdin_default$16 = defineComponent({
7834
7887
  justify
7835
7888
  } = props2;
7836
7889
  return createVNode(tag, {
7837
- "class": bem$Y({
7890
+ "class": bem$Z({
7838
7891
  [`align-${align}`]: align,
7839
7892
  [`justify-${justify}`]: justify,
7840
7893
  nowrap: !wrap
@@ -7848,14 +7901,14 @@ var stdin_default$16 = defineComponent({
7848
7901
  };
7849
7902
  }
7850
7903
  });
7851
- const [name$Y, bem$X] = createNamespace("col");
7904
+ const [name$Z, bem$Y] = createNamespace("col");
7852
7905
  const colProps = {
7853
7906
  tag: makeStringProp("div"),
7854
7907
  span: makeNumericProp(0),
7855
7908
  offset: numericProp
7856
7909
  };
7857
- var stdin_default$15 = defineComponent({
7858
- name: name$Y,
7910
+ var stdin_default$16 = defineComponent({
7911
+ name: name$Z,
7859
7912
  props: colProps,
7860
7913
  setup(props2, {
7861
7914
  slots
@@ -7869,18 +7922,26 @@ var stdin_default$15 = defineComponent({
7869
7922
  return;
7870
7923
  }
7871
7924
  const {
7872
- spaces
7925
+ spaces,
7926
+ verticalSpaces
7873
7927
  } = parent;
7928
+ let styles = {};
7874
7929
  if (spaces && spaces.value && spaces.value[index.value]) {
7875
7930
  const {
7876
7931
  left,
7877
7932
  right
7878
7933
  } = spaces.value[index.value];
7879
- return {
7934
+ styles = {
7880
7935
  paddingLeft: left ? `${left}px` : null,
7881
7936
  paddingRight: right ? `${right}px` : null
7882
7937
  };
7883
7938
  }
7939
+ const {
7940
+ bottom
7941
+ } = verticalSpaces.value[index.value] || {};
7942
+ return extend(styles, {
7943
+ marginBottom: bottom ? `${bottom}px` : null
7944
+ });
7884
7945
  });
7885
7946
  return () => {
7886
7947
  const {
@@ -7890,7 +7951,7 @@ var stdin_default$15 = defineComponent({
7890
7951
  } = props2;
7891
7952
  return createVNode(tag, {
7892
7953
  "style": style.value,
7893
- "class": bem$X({
7954
+ "class": bem$Y({
7894
7955
  [span]: span,
7895
7956
  [`offset-${offset}`]: offset
7896
7957
  })
@@ -7903,9 +7964,9 @@ var stdin_default$15 = defineComponent({
7903
7964
  };
7904
7965
  }
7905
7966
  });
7906
- const Col = withInstall(stdin_default$15);
7907
- const [name$X, bem$W] = createNamespace("collapse");
7908
- const COLLAPSE_KEY = Symbol(name$X);
7967
+ const Col = withInstall(stdin_default$16);
7968
+ const [name$Y, bem$X] = createNamespace("collapse");
7969
+ const COLLAPSE_KEY = Symbol(name$Y);
7909
7970
  const collapseProps = {
7910
7971
  border: truthProp,
7911
7972
  accordion: Boolean,
@@ -7925,8 +7986,8 @@ function validateModelValue(modelValue, accordion) {
7925
7986
  }
7926
7987
  return true;
7927
7988
  }
7928
- var stdin_default$14 = defineComponent({
7929
- name: name$X,
7989
+ var stdin_default$15 = defineComponent({
7990
+ name: name$Y,
7930
7991
  props: collapseProps,
7931
7992
  emits: ["change", "update:modelValue"],
7932
7993
  setup(props2, {
@@ -7996,15 +8057,15 @@ var stdin_default$14 = defineComponent({
7996
8057
  return () => {
7997
8058
  var _a;
7998
8059
  return createVNode("div", {
7999
- "class": [bem$W(), {
8060
+ "class": [bem$X(), {
8000
8061
  [BORDER_TOP_BOTTOM]: props2.border
8001
8062
  }]
8002
8063
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
8003
8064
  };
8004
8065
  }
8005
8066
  });
8006
- const Collapse = withInstall(stdin_default$14);
8007
- const [name$W, bem$V] = createNamespace("collapse-item");
8067
+ const Collapse = withInstall(stdin_default$15);
8068
+ const [name$X, bem$W] = createNamespace("collapse-item");
8008
8069
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
8009
8070
  const collapseItemProps = extend({}, cellSharedProps, {
8010
8071
  name: numericProp,
@@ -8013,8 +8074,8 @@ const collapseItemProps = extend({}, cellSharedProps, {
8013
8074
  readonly: Boolean,
8014
8075
  lazyRender: truthProp
8015
8076
  });
8016
- var stdin_default$13 = defineComponent({
8017
- name: name$W,
8077
+ var stdin_default$14 = defineComponent({
8078
+ name: name$X,
8018
8079
  props: collapseItemProps,
8019
8080
  setup(props2, {
8020
8081
  slots
@@ -8096,7 +8157,7 @@ var stdin_default$13 = defineComponent({
8096
8157
  }
8097
8158
  return createVNode(Cell, mergeProps({
8098
8159
  "role": "button",
8099
- "class": bem$V("title", {
8160
+ "class": bem$W("title", {
8100
8161
  disabled,
8101
8162
  expanded: expanded.value,
8102
8163
  borderless: !border
@@ -8109,11 +8170,11 @@ var stdin_default$13 = defineComponent({
8109
8170
  var _a;
8110
8171
  return withDirectives(createVNode("div", {
8111
8172
  "ref": wrapperRef,
8112
- "class": bem$V("wrapper"),
8173
+ "class": bem$W("wrapper"),
8113
8174
  "onTransitionend": onTransitionEnd
8114
8175
  }, [createVNode("div", {
8115
8176
  "ref": contentRef,
8116
- "class": bem$V("content")
8177
+ "class": bem$W("content")
8117
8178
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vShow, show.value]]);
8118
8179
  });
8119
8180
  useExpose({
@@ -8122,15 +8183,15 @@ var stdin_default$13 = defineComponent({
8122
8183
  itemName: name2
8123
8184
  });
8124
8185
  return () => createVNode("div", {
8125
- "class": [bem$V({
8186
+ "class": [bem$W({
8126
8187
  border: index.value && props2.border
8127
8188
  })]
8128
8189
  }, [renderTitle(), renderContent()]);
8129
8190
  }
8130
8191
  });
8131
- const CollapseItem = withInstall(stdin_default$13);
8132
- const ConfigProvider = withInstall(stdin_default$1R);
8133
- const [name$V, bem$U, t$e] = createNamespace("contact-card");
8192
+ const CollapseItem = withInstall(stdin_default$14);
8193
+ const ConfigProvider = withInstall(stdin_default$1S);
8194
+ const [name$W, bem$V, t$e] = createNamespace("contact-card");
8134
8195
  const contactCardProps = {
8135
8196
  tel: String,
8136
8197
  name: String,
@@ -8138,8 +8199,8 @@ const contactCardProps = {
8138
8199
  addText: String,
8139
8200
  editable: truthProp
8140
8201
  };
8141
- var stdin_default$12 = defineComponent({
8142
- name: name$V,
8202
+ var stdin_default$13 = defineComponent({
8203
+ name: name$W,
8143
8204
  props: contactCardProps,
8144
8205
  emits: ["click"],
8145
8206
  setup(props2, {
@@ -8159,18 +8220,18 @@ var stdin_default$12 = defineComponent({
8159
8220
  return () => createVNode(Cell, {
8160
8221
  "center": true,
8161
8222
  "icon": props2.type === "edit" ? "contact" : "add-square",
8162
- "class": bem$U([props2.type]),
8223
+ "class": bem$V([props2.type]),
8163
8224
  "border": false,
8164
8225
  "isLink": props2.editable,
8165
- "titleClass": bem$U("title"),
8226
+ "titleClass": bem$V("title"),
8166
8227
  "onClick": onClick
8167
8228
  }, {
8168
8229
  title: renderContent
8169
8230
  });
8170
8231
  }
8171
8232
  });
8172
- const ContactCard = withInstall(stdin_default$12);
8173
- const [name$U, bem$T, t$d] = createNamespace("contact-edit");
8233
+ const ContactCard = withInstall(stdin_default$13);
8234
+ const [name$V, bem$U, t$d] = createNamespace("contact-edit");
8174
8235
  const DEFAULT_CONTACT = {
8175
8236
  tel: "",
8176
8237
  name: ""
@@ -8190,8 +8251,8 @@ const contactEditProps = {
8190
8251
  default: isMobile
8191
8252
  }
8192
8253
  };
8193
- var stdin_default$11 = defineComponent({
8194
- name: name$U,
8254
+ var stdin_default$12 = defineComponent({
8255
+ name: name$V,
8195
8256
  props: contactEditProps,
8196
8257
  emits: ["save", "delete", "changeDefault"],
8197
8258
  setup(props2, {
@@ -8205,20 +8266,20 @@ var stdin_default$11 = defineComponent({
8205
8266
  };
8206
8267
  const onDelete = () => emit("delete", contact);
8207
8268
  const renderButtons = () => createVNode("div", {
8208
- "class": bem$T("buttons")
8269
+ "class": bem$U("buttons")
8209
8270
  }, [createVNode(Button, {
8210
8271
  "block": true,
8211
8272
  "round": true,
8212
8273
  "type": "primary",
8213
8274
  "text": t$d("save"),
8214
- "class": bem$T("button"),
8275
+ "class": bem$U("button"),
8215
8276
  "loading": props2.isSaving,
8216
8277
  "nativeType": "submit"
8217
8278
  }, null), props2.isEdit && createVNode(Button, {
8218
8279
  "block": true,
8219
8280
  "round": true,
8220
8281
  "text": t$d("delete"),
8221
- "class": bem$T("button"),
8282
+ "class": bem$U("button"),
8222
8283
  "loading": props2.isDeleting,
8223
8284
  "onClick": onDelete
8224
8285
  }, null)]);
@@ -8231,7 +8292,7 @@ var stdin_default$11 = defineComponent({
8231
8292
  if (props2.showSetDefault) {
8232
8293
  return createVNode(Cell, {
8233
8294
  "title": props2.setDefaultLabel,
8234
- "class": bem$T("switch-cell"),
8295
+ "class": bem$U("switch-cell"),
8235
8296
  "border": false
8236
8297
  }, {
8237
8298
  "right-icon": renderSwitch
@@ -8240,11 +8301,11 @@ var stdin_default$11 = defineComponent({
8240
8301
  };
8241
8302
  watch(() => props2.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
8242
8303
  return () => createVNode(Form, {
8243
- "class": bem$T(),
8304
+ "class": bem$U(),
8244
8305
  "onSubmit": onSave
8245
8306
  }, {
8246
8307
  default: () => [createVNode("div", {
8247
- "class": bem$T("fields")
8308
+ "class": bem$U("fields")
8248
8309
  }, [createVNode(Field, {
8249
8310
  "modelValue": contact.name,
8250
8311
  "onUpdate:modelValue": ($event) => contact.name = $event,
@@ -8271,16 +8332,16 @@ var stdin_default$11 = defineComponent({
8271
8332
  });
8272
8333
  }
8273
8334
  });
8274
- const ContactEdit = withInstall(stdin_default$11);
8275
- const [name$T, bem$S, t$c] = createNamespace("contact-list");
8335
+ const ContactEdit = withInstall(stdin_default$12);
8336
+ const [name$U, bem$T, t$c] = createNamespace("contact-list");
8276
8337
  const contactListProps = {
8277
8338
  list: Array,
8278
8339
  addText: String,
8279
8340
  modelValue: unknownProp,
8280
8341
  defaultTagText: String
8281
8342
  };
8282
- var stdin_default$10 = defineComponent({
8283
- name: name$T,
8343
+ var stdin_default$11 = defineComponent({
8344
+ name: name$U,
8284
8345
  props: contactListProps,
8285
8346
  emits: ["add", "edit", "select", "update:modelValue"],
8286
8347
  setup(props2, {
@@ -8292,13 +8353,13 @@ var stdin_default$10 = defineComponent({
8292
8353
  emit("select", item, index);
8293
8354
  };
8294
8355
  const renderRightIcon = () => createVNode(Radio, {
8295
- "class": bem$S("radio"),
8356
+ "class": bem$T("radio"),
8296
8357
  "name": item.id,
8297
8358
  "iconSize": 18
8298
8359
  }, null);
8299
8360
  const renderEditIcon = () => createVNode(Icon, {
8300
8361
  "name": "edit",
8301
- "class": bem$S("edit"),
8362
+ "class": bem$T("edit"),
8302
8363
  "onClick": (event) => {
8303
8364
  event.stopPropagation();
8304
8365
  emit("edit", item, index);
@@ -8310,7 +8371,7 @@ var stdin_default$10 = defineComponent({
8310
8371
  nodes.push(createVNode(Tag, {
8311
8372
  "type": "primary",
8312
8373
  "round": true,
8313
- "class": bem$S("item-tag")
8374
+ "class": bem$T("item-tag")
8314
8375
  }, {
8315
8376
  default: () => [props2.defaultTagText]
8316
8377
  }));
@@ -8321,8 +8382,8 @@ var stdin_default$10 = defineComponent({
8321
8382
  "key": item.id,
8322
8383
  "isLink": true,
8323
8384
  "center": true,
8324
- "class": bem$S("item"),
8325
- "titleClass": bem$S("item-title"),
8385
+ "class": bem$T("item"),
8386
+ "titleClass": bem$T("item-title"),
8326
8387
  "onClick": onClick
8327
8388
  }, {
8328
8389
  icon: renderEditIcon,
@@ -8331,25 +8392,25 @@ var stdin_default$10 = defineComponent({
8331
8392
  });
8332
8393
  };
8333
8394
  return () => createVNode("div", {
8334
- "class": bem$S()
8395
+ "class": bem$T()
8335
8396
  }, [createVNode(RadioGroup, {
8336
8397
  "modelValue": props2.modelValue,
8337
- "class": bem$S("group")
8398
+ "class": bem$T("group")
8338
8399
  }, {
8339
8400
  default: () => [props2.list && props2.list.map(renderItem)]
8340
8401
  }), createVNode("div", {
8341
- "class": [bem$S("bottom"), "van-safe-area-bottom"]
8402
+ "class": [bem$T("bottom"), "van-safe-area-bottom"]
8342
8403
  }, [createVNode(Button, {
8343
8404
  "round": true,
8344
8405
  "block": true,
8345
8406
  "type": "primary",
8346
- "class": bem$S("add"),
8407
+ "class": bem$T("add"),
8347
8408
  "text": props2.addText || t$c("addContact"),
8348
8409
  "onClick": () => emit("add")
8349
8410
  }, null)])]);
8350
8411
  }
8351
8412
  });
8352
- const ContactList = withInstall(stdin_default$10);
8413
+ const ContactList = withInstall(stdin_default$11);
8353
8414
  function parseFormat(format2, currentTime) {
8354
8415
  const { days } = currentTime;
8355
8416
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -8385,15 +8446,15 @@ function parseFormat(format2, currentTime) {
8385
8446
  }
8386
8447
  return format2;
8387
8448
  }
8388
- const [name$S, bem$R] = createNamespace("count-down");
8449
+ const [name$T, bem$S] = createNamespace("count-down");
8389
8450
  const countDownProps = {
8390
8451
  time: makeNumericProp(0),
8391
8452
  format: makeStringProp("HH:mm:ss"),
8392
8453
  autoStart: truthProp,
8393
8454
  millisecond: Boolean
8394
8455
  };
8395
- var stdin_default$$ = defineComponent({
8396
- name: name$S,
8456
+ var stdin_default$10 = defineComponent({
8457
+ name: name$T,
8397
8458
  props: countDownProps,
8398
8459
  emits: ["change", "finish"],
8399
8460
  setup(props2, {
@@ -8428,11 +8489,11 @@ var stdin_default$$ = defineComponent({
8428
8489
  });
8429
8490
  return () => createVNode("div", {
8430
8491
  "role": "timer",
8431
- "class": bem$R()
8492
+ "class": bem$S()
8432
8493
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8433
8494
  }
8434
8495
  });
8435
- const CountDown = withInstall(stdin_default$$);
8496
+ const CountDown = withInstall(stdin_default$10);
8436
8497
  function getDate(timeStamp) {
8437
8498
  const date = new Date(timeStamp * 1e3);
8438
8499
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8441,9 +8502,9 @@ function getDate(timeStamp) {
8441
8502
  }
8442
8503
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8443
8504
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8444
- const [name$R, bem$Q, t$b] = createNamespace("coupon");
8445
- var stdin_default$_ = defineComponent({
8446
- name: name$R,
8505
+ const [name$S, bem$R, t$b] = createNamespace("coupon");
8506
+ var stdin_default$$ = defineComponent({
8507
+ name: name$S,
8447
8508
  props: {
8448
8509
  chosen: Boolean,
8449
8510
  coupon: makeRequiredProp(Object),
@@ -8487,34 +8548,34 @@ var stdin_default$_ = defineComponent({
8487
8548
  } = props2;
8488
8549
  const description = disabled && coupon.reason || coupon.description;
8489
8550
  return createVNode("div", {
8490
- "class": bem$Q({
8551
+ "class": bem$R({
8491
8552
  disabled
8492
8553
  })
8493
8554
  }, [createVNode("div", {
8494
- "class": bem$Q("content")
8555
+ "class": bem$R("content")
8495
8556
  }, [createVNode("div", {
8496
- "class": bem$Q("head")
8557
+ "class": bem$R("head")
8497
8558
  }, [createVNode("h2", {
8498
- "class": bem$Q("amount")
8559
+ "class": bem$R("amount")
8499
8560
  }, [faceAmount.value]), createVNode("p", {
8500
- "class": bem$Q("condition")
8561
+ "class": bem$R("condition")
8501
8562
  }, [coupon.condition || conditionMessage.value])]), createVNode("div", {
8502
- "class": bem$Q("body")
8563
+ "class": bem$R("body")
8503
8564
  }, [createVNode("p", {
8504
- "class": bem$Q("name")
8565
+ "class": bem$R("name")
8505
8566
  }, [coupon.name]), createVNode("p", {
8506
- "class": bem$Q("valid")
8567
+ "class": bem$R("valid")
8507
8568
  }, [validPeriod.value]), !disabled && createVNode(Checkbox, {
8508
- "class": bem$Q("corner"),
8569
+ "class": bem$R("corner"),
8509
8570
  "modelValue": chosen
8510
8571
  }, null)])]), description && createVNode("p", {
8511
- "class": bem$Q("description")
8572
+ "class": bem$R("description")
8512
8573
  }, [description])]);
8513
8574
  };
8514
8575
  }
8515
8576
  });
8516
- const Coupon = withInstall(stdin_default$_);
8517
- const [name$Q, bem$P, t$a] = createNamespace("coupon-cell");
8577
+ const Coupon = withInstall(stdin_default$$);
8578
+ const [name$R, bem$Q, t$a] = createNamespace("coupon-cell");
8518
8579
  const couponCellProps = {
8519
8580
  title: String,
8520
8581
  border: truthProp,
@@ -8542,34 +8603,34 @@ function formatValue({
8542
8603
  }
8543
8604
  return coupons.length === 0 ? t$a("noCoupon") : t$a("count", coupons.length);
8544
8605
  }
8545
- var stdin_default$Z = defineComponent({
8546
- name: name$Q,
8606
+ var stdin_default$_ = defineComponent({
8607
+ name: name$R,
8547
8608
  props: couponCellProps,
8548
8609
  setup(props2) {
8549
8610
  return () => {
8550
8611
  const selected = props2.coupons[+props2.chosenCoupon];
8551
8612
  return createVNode(Cell, {
8552
- "class": bem$P(),
8613
+ "class": bem$Q(),
8553
8614
  "value": formatValue(props2),
8554
8615
  "title": props2.title || t$a("title"),
8555
8616
  "border": props2.border,
8556
8617
  "isLink": props2.editable,
8557
- "valueClass": bem$P("value", {
8618
+ "valueClass": bem$Q("value", {
8558
8619
  selected
8559
8620
  })
8560
8621
  }, null);
8561
8622
  };
8562
8623
  }
8563
8624
  });
8564
- const CouponCell = withInstall(stdin_default$Z);
8565
- const [name$P, bem$O] = createNamespace("empty");
8625
+ const CouponCell = withInstall(stdin_default$_);
8626
+ const [name$Q, bem$P] = createNamespace("empty");
8566
8627
  const emptyProps = {
8567
8628
  image: makeStringProp("default"),
8568
8629
  imageSize: [Number, String, Array],
8569
8630
  description: String
8570
8631
  };
8571
- var stdin_default$Y = defineComponent({
8572
- name: name$P,
8632
+ var stdin_default$Z = defineComponent({
8633
+ name: name$Q,
8573
8634
  props: emptyProps,
8574
8635
  setup(props2, {
8575
8636
  slots
@@ -8578,14 +8639,14 @@ var stdin_default$Y = defineComponent({
8578
8639
  const description = slots.description ? slots.description() : props2.description;
8579
8640
  if (description) {
8580
8641
  return createVNode("p", {
8581
- "class": bem$O("description")
8642
+ "class": bem$P("description")
8582
8643
  }, [description]);
8583
8644
  }
8584
8645
  };
8585
8646
  const renderBottom = () => {
8586
8647
  if (slots.default) {
8587
8648
  return createVNode("div", {
8588
- "class": bem$O("bottom")
8649
+ "class": bem$P("bottom")
8589
8650
  }, [slots.default()]);
8590
8651
  }
8591
8652
  };
@@ -8870,15 +8931,15 @@ var stdin_default$Y = defineComponent({
8870
8931
  }, null);
8871
8932
  };
8872
8933
  return () => createVNode("div", {
8873
- "class": bem$O()
8934
+ "class": bem$P()
8874
8935
  }, [createVNode("div", {
8875
- "class": bem$O("image"),
8936
+ "class": bem$P("image"),
8876
8937
  "style": getSizeStyle(props2.imageSize)
8877
8938
  }, [renderImage()]), renderDescription(), renderBottom()]);
8878
8939
  }
8879
8940
  });
8880
- const Empty = withInstall(stdin_default$Y);
8881
- const [name$O, bem$N, t$9] = createNamespace("coupon-list");
8941
+ const Empty = withInstall(stdin_default$Z);
8942
+ const [name$P, bem$O, t$9] = createNamespace("coupon-list");
8882
8943
  const couponListProps = {
8883
8944
  code: makeStringProp(""),
8884
8945
  coupons: makeArrayProp(),
@@ -8899,8 +8960,8 @@ const couponListProps = {
8899
8960
  exchangeButtonLoading: Boolean,
8900
8961
  exchangeButtonDisabled: Boolean
8901
8962
  };
8902
- var stdin_default$X = defineComponent({
8903
- name: name$O,
8963
+ var stdin_default$Y = defineComponent({
8964
+ name: name$P,
8904
8965
  props: couponListProps,
8905
8966
  emits: ["change", "exchange", "update:code"],
8906
8967
  setup(props2, {
@@ -8936,26 +8997,26 @@ var stdin_default$X = defineComponent({
8936
8997
  "image": props2.emptyImage
8937
8998
  }, {
8938
8999
  default: () => [createVNode("p", {
8939
- "class": bem$N("empty-tip")
9000
+ "class": bem$O("empty-tip")
8940
9001
  }, [t$9("noCoupon")])]
8941
9002
  });
8942
9003
  const renderExchangeBar = () => {
8943
9004
  if (props2.showExchangeBar) {
8944
9005
  return createVNode("div", {
8945
9006
  "ref": barRef,
8946
- "class": bem$N("exchange-bar")
9007
+ "class": bem$O("exchange-bar")
8947
9008
  }, [createVNode(Field, {
8948
9009
  "modelValue": currentCode.value,
8949
9010
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
8950
9011
  "clearable": true,
8951
9012
  "border": false,
8952
- "class": bem$N("field"),
9013
+ "class": bem$O("field"),
8953
9014
  "placeholder": props2.inputPlaceholder || t$9("placeholder"),
8954
9015
  "maxlength": "20"
8955
9016
  }, null), createVNode(Button, {
8956
9017
  "plain": true,
8957
9018
  "type": "primary",
8958
- "class": bem$N("exchange"),
9019
+ "class": bem$O("exchange"),
8959
9020
  "text": props2.exchangeButtonText || t$9("exchange"),
8960
9021
  "loading": props2.exchangeButtonLoading,
8961
9022
  "disabled": buttonDisabled.value,
@@ -8975,7 +9036,7 @@ var stdin_default$X = defineComponent({
8975
9036
  default: () => {
8976
9037
  var _a;
8977
9038
  return [createVNode("div", {
8978
- "class": bem$N("list", {
9039
+ "class": bem$O("list", {
8979
9040
  "with-bottom": props2.showCloseButton
8980
9041
  }),
8981
9042
  "style": {
@@ -9004,7 +9065,7 @@ var stdin_default$X = defineComponent({
9004
9065
  default: () => {
9005
9066
  var _a;
9006
9067
  return [createVNode("div", {
9007
- "class": bem$N("list", {
9068
+ "class": bem$O("list", {
9008
9069
  "with-bottom": props2.showCloseButton
9009
9070
  }),
9010
9071
  "style": {
@@ -9031,28 +9092,28 @@ var stdin_default$X = defineComponent({
9031
9092
  });
9032
9093
  return () => createVNode("div", {
9033
9094
  "ref": root,
9034
- "class": bem$N()
9095
+ "class": bem$O()
9035
9096
  }, [renderExchangeBar(), createVNode(Tabs, {
9036
9097
  "active": activeTab.value,
9037
9098
  "onUpdate:active": ($event) => activeTab.value = $event,
9038
- "class": bem$N("tab")
9099
+ "class": bem$O("tab")
9039
9100
  }, {
9040
9101
  default: () => [renderCouponTab(), renderDisabledTab()]
9041
9102
  }), createVNode("div", {
9042
- "class": bem$N("bottom")
9103
+ "class": bem$O("bottom")
9043
9104
  }, [withDirectives(createVNode(Button, {
9044
9105
  "round": true,
9045
9106
  "block": true,
9046
9107
  "type": "primary",
9047
- "class": bem$N("close"),
9108
+ "class": bem$O("close"),
9048
9109
  "text": props2.closeButtonText || t$9("close"),
9049
9110
  "onClick": () => emit("change", -1)
9050
9111
  }, null), [[vShow, props2.showCloseButton]])])]);
9051
9112
  }
9052
9113
  });
9053
- const CouponList = withInstall(stdin_default$X);
9114
+ const CouponList = withInstall(stdin_default$Y);
9054
9115
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
9055
- const [name$N] = createNamespace("date-picker");
9116
+ const [name$O] = createNamespace("date-picker");
9056
9117
  const datePickerProps = extend({}, sharedProps, {
9057
9118
  columnsType: {
9058
9119
  type: Array,
@@ -9069,8 +9130,8 @@ const datePickerProps = extend({}, sharedProps, {
9069
9130
  validator: isDate
9070
9131
  }
9071
9132
  });
9072
- var stdin_default$W = defineComponent({
9073
- name: name$N,
9133
+ var stdin_default$X = defineComponent({
9134
+ name: name$O,
9074
9135
  props: datePickerProps,
9075
9136
  emits: ["confirm", "cancel", "change", "update:modelValue"],
9076
9137
  setup(props2, {
@@ -9163,8 +9224,8 @@ var stdin_default$W = defineComponent({
9163
9224
  }, pick(props2, pickerInheritKeys)), slots);
9164
9225
  }
9165
9226
  });
9166
- const DatePicker = withInstall(stdin_default$W);
9167
- const [name$M, bem$M, t$8] = createNamespace("dialog");
9227
+ const DatePicker = withInstall(stdin_default$X);
9228
+ const [name$N, bem$N, t$8] = createNamespace("dialog");
9168
9229
  const dialogProps = extend({}, popupSharedProps, {
9169
9230
  title: String,
9170
9231
  theme: String,
@@ -9187,8 +9248,8 @@ const dialogProps = extend({}, popupSharedProps, {
9187
9248
  closeOnClickOverlay: Boolean
9188
9249
  });
9189
9250
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
9190
- var stdin_default$V = defineComponent({
9191
- name: name$M,
9251
+ var stdin_default$W = defineComponent({
9252
+ name: name$N,
9192
9253
  props: dialogProps,
9193
9254
  emits: ["confirm", "cancel", "keydown", "update:show"],
9194
9255
  setup(props2, {
@@ -9245,7 +9306,7 @@ var stdin_default$V = defineComponent({
9245
9306
  const title = slots.title ? slots.title() : props2.title;
9246
9307
  if (title) {
9247
9308
  return createVNode("div", {
9248
- "class": bem$M("header", {
9309
+ "class": bem$N("header", {
9249
9310
  isolated: !props2.message && !slots.default
9250
9311
  })
9251
9312
  }, [title]);
@@ -9257,7 +9318,7 @@ var stdin_default$V = defineComponent({
9257
9318
  allowHtml,
9258
9319
  messageAlign
9259
9320
  } = props2;
9260
- const classNames = bem$M("message", {
9321
+ const classNames = bem$N("message", {
9261
9322
  "has-title": hasTitle,
9262
9323
  [messageAlign]: messageAlign
9263
9324
  });
@@ -9275,7 +9336,7 @@ var stdin_default$V = defineComponent({
9275
9336
  const renderContent = () => {
9276
9337
  if (slots.default) {
9277
9338
  return createVNode("div", {
9278
- "class": bem$M("content")
9339
+ "class": bem$N("content")
9279
9340
  }, [slots.default()]);
9280
9341
  }
9281
9342
  const {
@@ -9287,18 +9348,18 @@ var stdin_default$V = defineComponent({
9287
9348
  const hasTitle = !!(title || slots.title);
9288
9349
  return createVNode("div", {
9289
9350
  "key": allowHtml ? 1 : 0,
9290
- "class": bem$M("content", {
9351
+ "class": bem$N("content", {
9291
9352
  isolated: !hasTitle
9292
9353
  })
9293
9354
  }, [renderMessage(hasTitle)]);
9294
9355
  }
9295
9356
  };
9296
9357
  const renderButtons = () => createVNode("div", {
9297
- "class": [BORDER_TOP, bem$M("footer")]
9358
+ "class": [BORDER_TOP, bem$N("footer")]
9298
9359
  }, [props2.showCancelButton && createVNode(Button, {
9299
9360
  "size": "large",
9300
9361
  "text": props2.cancelButtonText || t$8("cancel"),
9301
- "class": bem$M("cancel"),
9362
+ "class": bem$N("cancel"),
9302
9363
  "style": {
9303
9364
  color: props2.cancelButtonColor
9304
9365
  },
@@ -9308,7 +9369,7 @@ var stdin_default$V = defineComponent({
9308
9369
  }, null), props2.showConfirmButton && createVNode(Button, {
9309
9370
  "size": "large",
9310
9371
  "text": props2.confirmButtonText || t$8("confirm"),
9311
- "class": [bem$M("confirm"), {
9372
+ "class": [bem$N("confirm"), {
9312
9373
  [BORDER_LEFT]: props2.showCancelButton
9313
9374
  }],
9314
9375
  "style": {
@@ -9319,12 +9380,12 @@ var stdin_default$V = defineComponent({
9319
9380
  "onClick": onConfirm
9320
9381
  }, null)]);
9321
9382
  const renderRoundButtons = () => createVNode(ActionBar, {
9322
- "class": bem$M("footer")
9383
+ "class": bem$N("footer")
9323
9384
  }, {
9324
9385
  default: () => [props2.showCancelButton && createVNode(ActionBarButton, {
9325
9386
  "type": "warning",
9326
9387
  "text": props2.cancelButtonText || t$8("cancel"),
9327
- "class": bem$M("cancel"),
9388
+ "class": bem$N("cancel"),
9328
9389
  "color": props2.cancelButtonColor,
9329
9390
  "loading": loading.cancel,
9330
9391
  "disabled": props2.cancelButtonDisabled,
@@ -9332,7 +9393,7 @@ var stdin_default$V = defineComponent({
9332
9393
  }, null), props2.showConfirmButton && createVNode(ActionBarButton, {
9333
9394
  "type": "danger",
9334
9395
  "text": props2.confirmButtonText || t$8("confirm"),
9335
- "class": bem$M("confirm"),
9396
+ "class": bem$N("confirm"),
9336
9397
  "color": props2.confirmButtonColor,
9337
9398
  "loading": loading.confirm,
9338
9399
  "disabled": props2.confirmButtonDisabled,
@@ -9356,7 +9417,7 @@ var stdin_default$V = defineComponent({
9356
9417
  return createVNode(Popup, mergeProps({
9357
9418
  "ref": root,
9358
9419
  "role": "dialog",
9359
- "class": [bem$M([theme]), className],
9420
+ "class": [bem$N([theme]), className],
9360
9421
  "style": {
9361
9422
  width: addUnit(width)
9362
9423
  },
@@ -9406,7 +9467,7 @@ function initInstance$2() {
9406
9467
  state,
9407
9468
  toggle
9408
9469
  } = usePopupState();
9409
- return () => createVNode(stdin_default$V, mergeProps(state, {
9470
+ return () => createVNode(stdin_default$W, mergeProps(state, {
9410
9471
  "onUpdate:show": toggle
9411
9472
  }), null);
9412
9473
  }
@@ -9444,16 +9505,16 @@ const closeDialog = () => {
9444
9505
  instance$2.toggle(false);
9445
9506
  }
9446
9507
  };
9447
- const Dialog = withInstall(stdin_default$V);
9448
- const [name$L, bem$L] = createNamespace("divider");
9508
+ const Dialog = withInstall(stdin_default$W);
9509
+ const [name$M, bem$M] = createNamespace("divider");
9449
9510
  const dividerProps = {
9450
9511
  dashed: Boolean,
9451
9512
  hairline: truthProp,
9452
9513
  vertical: Boolean,
9453
9514
  contentPosition: makeStringProp("center")
9454
9515
  };
9455
- var stdin_default$U = defineComponent({
9456
- name: name$L,
9516
+ var stdin_default$V = defineComponent({
9517
+ name: name$M,
9457
9518
  props: dividerProps,
9458
9519
  setup(props2, {
9459
9520
  slots
@@ -9462,7 +9523,7 @@ var stdin_default$U = defineComponent({
9462
9523
  var _a;
9463
9524
  return createVNode("div", {
9464
9525
  "role": "separator",
9465
- "class": bem$L({
9526
+ "class": bem$M({
9466
9527
  dashed: props2.dashed,
9467
9528
  hairline: props2.hairline,
9468
9529
  vertical: props2.vertical,
@@ -9472,8 +9533,8 @@ var stdin_default$U = defineComponent({
9472
9533
  };
9473
9534
  }
9474
9535
  });
9475
- const Divider = withInstall(stdin_default$U);
9476
- const [name$K, bem$K] = createNamespace("dropdown-menu");
9536
+ const Divider = withInstall(stdin_default$V);
9537
+ const [name$L, bem$L] = createNamespace("dropdown-menu");
9477
9538
  const dropdownMenuProps = {
9478
9539
  overlay: truthProp,
9479
9540
  zIndex: numericProp,
@@ -9484,9 +9545,9 @@ const dropdownMenuProps = {
9484
9545
  closeOnClickOverlay: truthProp,
9485
9546
  swipeThreshold: numericProp
9486
9547
  };
9487
- const DROPDOWN_KEY = Symbol(name$K);
9488
- var stdin_default$T = defineComponent({
9489
- name: name$K,
9548
+ const DROPDOWN_KEY = Symbol(name$L);
9549
+ var stdin_default$U = defineComponent({
9550
+ name: name$L,
9490
9551
  props: dropdownMenuProps,
9491
9552
  setup(props2, {
9492
9553
  slots
@@ -9557,7 +9618,7 @@ var stdin_default$T = defineComponent({
9557
9618
  "id": `${id}-${index}`,
9558
9619
  "role": "button",
9559
9620
  "tabindex": disabled ? void 0 : 0,
9560
- "class": [bem$K("item", {
9621
+ "class": [bem$L("item", {
9561
9622
  disabled,
9562
9623
  grow: scrollable.value
9563
9624
  }), {
@@ -9569,7 +9630,7 @@ var stdin_default$T = defineComponent({
9569
9630
  }
9570
9631
  }
9571
9632
  }, [createVNode("span", {
9572
- "class": [bem$K("title", {
9633
+ "class": [bem$L("title", {
9573
9634
  down: showPopup === (props2.direction === "down"),
9574
9635
  active: showPopup
9575
9636
  }), titleClass],
@@ -9598,11 +9659,11 @@ var stdin_default$T = defineComponent({
9598
9659
  var _a;
9599
9660
  return createVNode("div", {
9600
9661
  "ref": root,
9601
- "class": bem$K()
9662
+ "class": bem$L()
9602
9663
  }, [createVNode("div", {
9603
9664
  "ref": barRef,
9604
9665
  "style": barStyle.value,
9605
- "class": bem$K("bar", {
9666
+ "class": bem$L("bar", {
9606
9667
  opened: opened.value,
9607
9668
  scrollable: scrollable.value
9608
9669
  })
@@ -9610,7 +9671,7 @@ var stdin_default$T = defineComponent({
9610
9671
  };
9611
9672
  }
9612
9673
  });
9613
- const [name$J, bem$J] = createNamespace("dropdown-item");
9674
+ const [name$K, bem$K] = createNamespace("dropdown-item");
9614
9675
  const dropdownItemProps = {
9615
9676
  title: String,
9616
9677
  options: makeArrayProp(),
@@ -9620,8 +9681,8 @@ const dropdownItemProps = {
9620
9681
  modelValue: unknownProp,
9621
9682
  titleClass: unknownProp
9622
9683
  };
9623
- var stdin_default$S = defineComponent({
9624
- name: name$J,
9684
+ var stdin_default$T = defineComponent({
9685
+ name: name$K,
9625
9686
  inheritAttrs: false,
9626
9687
  props: dropdownItemProps,
9627
9688
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
@@ -9694,7 +9755,7 @@ var stdin_default$S = defineComponent({
9694
9755
  const renderIcon = () => {
9695
9756
  if (active) {
9696
9757
  return createVNode(Icon, {
9697
- "class": bem$J("icon"),
9758
+ "class": bem$K("icon"),
9698
9759
  "color": activeColor,
9699
9760
  "name": "success"
9700
9761
  }, null);
@@ -9705,7 +9766,7 @@ var stdin_default$S = defineComponent({
9705
9766
  "key": String(option.value),
9706
9767
  "icon": option.icon,
9707
9768
  "title": option.text,
9708
- "class": bem$J("option", {
9769
+ "class": bem$K("option", {
9709
9770
  active
9710
9771
  }),
9711
9772
  "style": {
@@ -9737,13 +9798,13 @@ var stdin_default$S = defineComponent({
9737
9798
  }
9738
9799
  return withDirectives(createVNode("div", mergeProps({
9739
9800
  "style": style,
9740
- "class": bem$J([direction]),
9801
+ "class": bem$K([direction]),
9741
9802
  "onClick": onClickWrapper
9742
9803
  }, attrs), [createVNode(Popup, {
9743
9804
  "show": state.showPopup,
9744
9805
  "onUpdate:show": ($event) => state.showPopup = $event,
9745
9806
  "role": "menu",
9746
- "class": bem$J("content"),
9807
+ "class": bem$K("content"),
9747
9808
  "overlay": overlay,
9748
9809
  "position": direction === "down" ? "top" : "bottom",
9749
9810
  "duration": state.transition ? duration : 0,
@@ -9781,8 +9842,8 @@ var stdin_default$S = defineComponent({
9781
9842
  };
9782
9843
  }
9783
9844
  });
9784
- const DropdownItem = withInstall(stdin_default$S);
9785
- const DropdownMenu = withInstall(stdin_default$T);
9845
+ const DropdownItem = withInstall(stdin_default$T);
9846
+ const DropdownMenu = withInstall(stdin_default$U);
9786
9847
  const floatingBubbleProps = {
9787
9848
  gap: makeNumberProp(24),
9788
9849
  icon: String,
@@ -9800,9 +9861,9 @@ const floatingBubbleProps = {
9800
9861
  default: "body"
9801
9862
  }
9802
9863
  };
9803
- const [name$I, bem$I] = createNamespace("floating-bubble");
9804
- var stdin_default$R = defineComponent({
9805
- name: name$I,
9864
+ const [name$J, bem$J] = createNamespace("floating-bubble");
9865
+ var stdin_default$S = defineComponent({
9866
+ name: name$J,
9806
9867
  inheritAttrs: false,
9807
9868
  props: floatingBubbleProps,
9808
9869
  emits: ["click", "update:offset", "offsetChange"],
@@ -9935,16 +9996,16 @@ var stdin_default$R = defineComponent({
9935
9996
  });
9936
9997
  return () => {
9937
9998
  const Content = withDirectives(createVNode("div", mergeProps({
9938
- "class": bem$I(),
9999
+ "class": bem$J(),
9939
10000
  "ref": rootRef,
9940
10001
  "onTouchstartPassive": onTouchStart,
9941
10002
  "onTouchend": onTouchEnd,
9942
10003
  "onTouchcancel": onTouchEnd,
9943
10004
  "onClickCapture": onClick,
9944
10005
  "style": rootStyle.value
9945
- }, attrs), [slots.default ? slots.default() : createVNode(stdin_default$1P, {
10006
+ }, attrs), [slots.default ? slots.default() : createVNode(stdin_default$1Q, {
9946
10007
  "name": props2.icon,
9947
- "class": bem$I("icon")
10008
+ "class": bem$J("icon")
9948
10009
  }, null)]), [[vShow, show.value]]);
9949
10010
  return props2.teleport ? createVNode(Teleport, {
9950
10011
  "to": props2.teleport
@@ -9954,7 +10015,7 @@ var stdin_default$R = defineComponent({
9954
10015
  };
9955
10016
  }
9956
10017
  });
9957
- const FloatingBubble = withInstall(stdin_default$R);
10018
+ const FloatingBubble = withInstall(stdin_default$S);
9958
10019
  const floatingPanelProps = {
9959
10020
  height: makeNumericProp(0),
9960
10021
  anchors: makeArrayProp(),
@@ -9963,9 +10024,9 @@ const floatingPanelProps = {
9963
10024
  lockScroll: Boolean,
9964
10025
  safeAreaInsetBottom: truthProp
9965
10026
  };
9966
- const [name$H, bem$H] = createNamespace("floating-panel");
9967
- var stdin_default$Q = defineComponent({
9968
- name: name$H,
10027
+ const [name$I, bem$I] = createNamespace("floating-panel");
10028
+ var stdin_default$R = defineComponent({
10029
+ name: name$I,
9969
10030
  props: floatingPanelProps,
9970
10031
  emits: ["heightChange", "update:height"],
9971
10032
  setup(props2, {
@@ -10055,7 +10116,7 @@ var stdin_default$Q = defineComponent({
10055
10116
  return () => {
10056
10117
  var _a;
10057
10118
  return createVNode("div", {
10058
- "class": [bem$H(), {
10119
+ "class": [bem$I(), {
10059
10120
  "van-safe-area-bottom": props2.safeAreaInsetBottom
10060
10121
  }],
10061
10122
  "ref": rootRef,
@@ -10064,18 +10125,18 @@ var stdin_default$Q = defineComponent({
10064
10125
  "onTouchend": onTouchend,
10065
10126
  "onTouchcancel": onTouchend
10066
10127
  }, [createVNode("div", {
10067
- "class": bem$H("header")
10128
+ "class": bem$I("header")
10068
10129
  }, [createVNode("div", {
10069
- "class": bem$H("header-bar")
10130
+ "class": bem$I("header-bar")
10070
10131
  }, null)]), createVNode("div", {
10071
- "class": bem$H("content"),
10132
+ "class": bem$I("content"),
10072
10133
  "ref": contentRef
10073
10134
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
10074
10135
  };
10075
10136
  }
10076
10137
  });
10077
- const FloatingPanel = withInstall(stdin_default$Q);
10078
- const [name$G, bem$G] = createNamespace("grid");
10138
+ const FloatingPanel = withInstall(stdin_default$R);
10139
+ const [name$H, bem$H] = createNamespace("grid");
10079
10140
  const gridProps = {
10080
10141
  square: Boolean,
10081
10142
  center: truthProp,
@@ -10087,9 +10148,9 @@ const gridProps = {
10087
10148
  clickable: Boolean,
10088
10149
  columnNum: makeNumericProp(4)
10089
10150
  };
10090
- const GRID_KEY = Symbol(name$G);
10091
- var stdin_default$P = defineComponent({
10092
- name: name$G,
10151
+ const GRID_KEY = Symbol(name$H);
10152
+ var stdin_default$Q = defineComponent({
10153
+ name: name$H,
10093
10154
  props: gridProps,
10094
10155
  setup(props2, {
10095
10156
  slots
@@ -10106,15 +10167,15 @@ var stdin_default$P = defineComponent({
10106
10167
  "style": {
10107
10168
  paddingLeft: addUnit(props2.gutter)
10108
10169
  },
10109
- "class": [bem$G(), {
10170
+ "class": [bem$H(), {
10110
10171
  [BORDER_TOP]: props2.border && !props2.gutter
10111
10172
  }]
10112
10173
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10113
10174
  };
10114
10175
  }
10115
10176
  });
10116
- const Grid = withInstall(stdin_default$P);
10117
- const [name$F, bem$F] = createNamespace("grid-item");
10177
+ const Grid = withInstall(stdin_default$Q);
10178
+ const [name$G, bem$G] = createNamespace("grid-item");
10118
10179
  const gridItemProps = extend({}, routeProps, {
10119
10180
  dot: Boolean,
10120
10181
  text: String,
@@ -10124,8 +10185,8 @@ const gridItemProps = extend({}, routeProps, {
10124
10185
  iconPrefix: String,
10125
10186
  badgeProps: Object
10126
10187
  });
10127
- var stdin_default$O = defineComponent({
10128
- name: name$F,
10188
+ var stdin_default$P = defineComponent({
10189
+ name: name$G,
10129
10190
  props: gridItemProps,
10130
10191
  setup(props2, {
10131
10192
  slots
@@ -10191,7 +10252,7 @@ var stdin_default$O = defineComponent({
10191
10252
  "name": props2.icon,
10192
10253
  "size": parent.props.iconSize,
10193
10254
  "badge": props2.badge,
10194
- "class": bem$F("icon"),
10255
+ "class": bem$G("icon"),
10195
10256
  "color": props2.iconColor,
10196
10257
  "badgeProps": props2.badgeProps,
10197
10258
  "classPrefix": props2.iconPrefix
@@ -10204,7 +10265,7 @@ var stdin_default$O = defineComponent({
10204
10265
  }
10205
10266
  if (props2.text) {
10206
10267
  return createVNode("span", {
10207
- "class": bem$F("text")
10268
+ "class": bem$G("text")
10208
10269
  }, [props2.text]);
10209
10270
  }
10210
10271
  };
@@ -10224,7 +10285,7 @@ var stdin_default$O = defineComponent({
10224
10285
  direction,
10225
10286
  clickable
10226
10287
  } = parent.props;
10227
- const classes = [bem$F("content", [direction, {
10288
+ const classes = [bem$G("content", [direction, {
10228
10289
  center,
10229
10290
  square,
10230
10291
  reverse,
@@ -10234,7 +10295,7 @@ var stdin_default$O = defineComponent({
10234
10295
  [BORDER]: border
10235
10296
  }];
10236
10297
  return createVNode("div", {
10237
- "class": [bem$F({
10298
+ "class": [bem$G({
10238
10299
  square
10239
10300
  })],
10240
10301
  "style": rootStyle.value
@@ -10248,7 +10309,123 @@ var stdin_default$O = defineComponent({
10248
10309
  };
10249
10310
  }
10250
10311
  });
10251
- const GridItem = withInstall(stdin_default$O);
10312
+ const GridItem = withInstall(stdin_default$P);
10313
+ const [name$F, bem$F] = createNamespace("highlight");
10314
+ const highlightProps = {
10315
+ autoEscape: truthProp,
10316
+ caseSensitive: Boolean,
10317
+ highlightClass: String,
10318
+ highlightTag: makeStringProp("span"),
10319
+ keywords: makeRequiredProp([String, Array]),
10320
+ sourceString: makeStringProp(""),
10321
+ tag: makeStringProp("div"),
10322
+ unhighlightClass: String,
10323
+ unhighlightTag: makeStringProp("span")
10324
+ };
10325
+ var stdin_default$O = defineComponent({
10326
+ name: name$F,
10327
+ props: highlightProps,
10328
+ setup(props2) {
10329
+ const highlightChunks = computed(() => {
10330
+ const {
10331
+ autoEscape,
10332
+ caseSensitive,
10333
+ keywords,
10334
+ sourceString
10335
+ } = props2;
10336
+ const flags = caseSensitive ? "g" : "gi";
10337
+ const _keywords = Array.isArray(keywords) ? keywords : [keywords];
10338
+ let chunks = _keywords.filter((keyword) => keyword).reduce((chunks2, keyword) => {
10339
+ if (autoEscape) {
10340
+ keyword = keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
10341
+ }
10342
+ const regex = new RegExp(keyword, flags);
10343
+ let match;
10344
+ while (match = regex.exec(sourceString)) {
10345
+ const start = match.index;
10346
+ const end = regex.lastIndex;
10347
+ if (start >= end) {
10348
+ regex.lastIndex++;
10349
+ continue;
10350
+ }
10351
+ chunks2.push({
10352
+ start,
10353
+ end,
10354
+ highlight: true
10355
+ });
10356
+ }
10357
+ return chunks2;
10358
+ }, []);
10359
+ chunks = chunks.sort((a, b) => a.start - b.start).reduce((chunks2, currentChunk) => {
10360
+ const prevChunk = chunks2[chunks2.length - 1];
10361
+ if (!prevChunk || currentChunk.start > prevChunk.end) {
10362
+ const unhighlightStart = prevChunk ? prevChunk.end : 0;
10363
+ const unhighlightEnd = currentChunk.start;
10364
+ if (unhighlightStart !== unhighlightEnd) {
10365
+ chunks2.push({
10366
+ start: unhighlightStart,
10367
+ end: unhighlightEnd,
10368
+ highlight: false
10369
+ });
10370
+ }
10371
+ chunks2.push(currentChunk);
10372
+ } else {
10373
+ prevChunk.end = Math.max(prevChunk.end, currentChunk.end);
10374
+ }
10375
+ return chunks2;
10376
+ }, []);
10377
+ const lastChunk = chunks[chunks.length - 1];
10378
+ if (lastChunk && lastChunk.end < sourceString.length) {
10379
+ chunks.push({
10380
+ start: lastChunk.end,
10381
+ end: sourceString.length,
10382
+ highlight: false
10383
+ });
10384
+ }
10385
+ return chunks;
10386
+ });
10387
+ const renderContent = () => {
10388
+ const {
10389
+ sourceString,
10390
+ highlightClass,
10391
+ unhighlightClass,
10392
+ highlightTag,
10393
+ unhighlightTag
10394
+ } = props2;
10395
+ return highlightChunks.value.map((chunk) => {
10396
+ const {
10397
+ start,
10398
+ end,
10399
+ highlight
10400
+ } = chunk;
10401
+ const text = sourceString.slice(start, end);
10402
+ if (highlight) {
10403
+ return createVNode(highlightTag, {
10404
+ "class": [bem$F("tag"), highlightClass]
10405
+ }, {
10406
+ default: () => [text]
10407
+ });
10408
+ }
10409
+ return createVNode(unhighlightTag, {
10410
+ "class": unhighlightClass
10411
+ }, {
10412
+ default: () => [text]
10413
+ });
10414
+ });
10415
+ };
10416
+ return () => {
10417
+ const {
10418
+ tag
10419
+ } = props2;
10420
+ return createVNode(tag, {
10421
+ "class": bem$F()
10422
+ }, {
10423
+ default: () => [renderContent()]
10424
+ });
10425
+ };
10426
+ }
10427
+ });
10428
+ const Highlight = withInstall(stdin_default$O);
10252
10429
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
10253
10430
  const getCenter = (touches) => ({
10254
10431
  x: (touches[0].clientX + touches[1].clientX) / 2,
@@ -10256,19 +10433,20 @@ const getCenter = (touches) => ({
10256
10433
  });
10257
10434
  const bem$E = createNamespace("image-preview")[1];
10258
10435
  const longImageRatio = 2.6;
10436
+ const imagePreviewItemProps = {
10437
+ src: String,
10438
+ show: Boolean,
10439
+ active: Number,
10440
+ minZoom: makeRequiredProp(numericProp),
10441
+ maxZoom: makeRequiredProp(numericProp),
10442
+ rootWidth: makeRequiredProp(Number),
10443
+ rootHeight: makeRequiredProp(Number),
10444
+ disableZoom: Boolean,
10445
+ doubleScale: Boolean,
10446
+ closeOnClickOverlay: Boolean
10447
+ };
10259
10448
  var stdin_default$N = defineComponent({
10260
- props: {
10261
- src: String,
10262
- show: Boolean,
10263
- active: Number,
10264
- minZoom: makeRequiredProp(numericProp),
10265
- maxZoom: makeRequiredProp(numericProp),
10266
- rootWidth: makeRequiredProp(Number),
10267
- rootHeight: makeRequiredProp(Number),
10268
- disableZoom: Boolean,
10269
- doubleScale: Boolean,
10270
- closeOnClickOverlay: Boolean
10271
- },
10449
+ props: imagePreviewItemProps,
10272
10450
  emits: ["scale", "close", "longPress"],
10273
10451
  setup(props2, {
10274
10452
  emit,
@@ -10534,6 +10712,9 @@ var stdin_default$N = defineComponent({
10534
10712
  return (_a = swipeItem.value) == null ? void 0 : _a.$el;
10535
10713
  })
10536
10714
  });
10715
+ useExpose({
10716
+ resetScale
10717
+ });
10537
10718
  return () => {
10538
10719
  const imageSlots = {
10539
10720
  loading: () => createVNode(Loading, {
@@ -10600,6 +10781,7 @@ var stdin_default$M = defineComponent({
10600
10781
  slots
10601
10782
  }) {
10602
10783
  const swipeRef = ref();
10784
+ const activedPreviewItemRef = ref();
10603
10785
  const state = reactive({
10604
10786
  active: 0,
10605
10787
  rootWidth: 0,
@@ -10664,6 +10846,11 @@ var stdin_default$M = defineComponent({
10664
10846
  "onDragStart": onDragStart
10665
10847
  }, {
10666
10848
  default: () => [props2.images.map((image, index) => createVNode(stdin_default$N, {
10849
+ "ref": (item) => {
10850
+ if (index === state.active) {
10851
+ activedPreviewItemRef.value = item;
10852
+ }
10853
+ },
10667
10854
  "src": image,
10668
10855
  "show": props2.show,
10669
10856
  "active": state.active,
@@ -10699,6 +10886,10 @@ var stdin_default$M = defineComponent({
10699
10886
  return (_a = swipeRef.value) == null ? void 0 : _a.swipeTo(index, options);
10700
10887
  };
10701
10888
  useExpose({
10889
+ resetScale: () => {
10890
+ var _a;
10891
+ (_a = activedPreviewItemRef.value) == null ? void 0 : _a.resetScale();
10892
+ },
10702
10893
  swipeTo
10703
10894
  });
10704
10895
  onMounted(resize);
@@ -12104,7 +12295,7 @@ var stdin_default$C = defineComponent({
12104
12295
  }
12105
12296
  });
12106
12297
  const PasswordInput = withInstall(stdin_default$C);
12107
- const PickerGroup = withInstall(stdin_default$1z);
12298
+ const PickerGroup = withInstall(stdin_default$1A);
12108
12299
  const [name$t, bem$s] = createNamespace("popover");
12109
12300
  const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
12110
12301
  const popoverProps = {
@@ -12892,7 +13083,7 @@ var stdin_default$w = defineComponent({
12892
13083
  }
12893
13084
  });
12894
13085
  const RollingText = withInstall(stdin_default$w);
12895
- const Row = withInstall(stdin_default$16);
13086
+ const Row = withInstall(stdin_default$17);
12896
13087
  const [name$n, bem$m, t$4] = createNamespace("search");
12897
13088
  const searchProps = extend({}, fieldSharedProps, {
12898
13089
  label: String,
@@ -12970,7 +13161,9 @@ var stdin_default$v = defineComponent({
12970
13161
  return createVNode(Field, mergeProps({
12971
13162
  "ref": fieldRef,
12972
13163
  "type": "search",
12973
- "class": bem$m("field"),
13164
+ "class": bem$m("field", {
13165
+ "with-message": fieldAttrs.errorMessage
13166
+ }),
12974
13167
  "border": false,
12975
13168
  "onBlur": onBlur,
12976
13169
  "onFocus": onFocus,
@@ -13318,7 +13511,7 @@ var stdin_default$r = defineComponent({
13318
13511
  }
13319
13512
  emit("clear");
13320
13513
  };
13321
- onMounted(() => {
13514
+ const initialize = () => {
13322
13515
  var _a, _b, _c;
13323
13516
  if (isRenderCanvas && canvasRef.value) {
13324
13517
  const canvas = canvasRef.value;
@@ -13328,6 +13521,18 @@ var stdin_default$r = defineComponent({
13328
13521
  (_c = ctx.value) == null ? void 0 : _c.scale(dpr, dpr);
13329
13522
  setCanvasBgColor(ctx.value);
13330
13523
  }
13524
+ };
13525
+ const resize = () => {
13526
+ if (ctx.value) {
13527
+ const data = ctx.value.getImageData(0, 0, canvasWidth, canvasHeight);
13528
+ initialize();
13529
+ ctx.value.putImageData(data, 0, 0);
13530
+ }
13531
+ };
13532
+ watch(windowWidth, resize);
13533
+ onMounted(initialize);
13534
+ useExpose({
13535
+ resize
13331
13536
  });
13332
13537
  return () => createVNode("div", {
13333
13538
  "class": bem$i()
@@ -16518,7 +16723,7 @@ const Lazyload = {
16518
16723
  });
16519
16724
  }
16520
16725
  };
16521
- const version = "4.7.2";
16726
+ const version = "4.8.0";
16522
16727
  function install(app) {
16523
16728
  const components = [
16524
16729
  ActionBar,
@@ -16563,6 +16768,7 @@ function install(app) {
16563
16768
  Form,
16564
16769
  Grid,
16565
16770
  GridItem,
16771
+ Highlight,
16566
16772
  Icon,
16567
16773
  Image$1,
16568
16774
  ImagePreview,
@@ -16678,6 +16884,7 @@ export {
16678
16884
  Form,
16679
16885
  Grid,
16680
16886
  GridItem,
16887
+ Highlight,
16681
16888
  Icon,
16682
16889
  Image$1 as Image,
16683
16890
  ImagePreview,
@@ -16783,6 +16990,7 @@ export {
16783
16990
  formProps,
16784
16991
  gridItemProps,
16785
16992
  gridProps,
16993
+ highlightProps,
16786
16994
  iconProps,
16787
16995
  imagePreviewProps,
16788
16996
  imageProps,