vant 4.3.2 → 4.4.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 (89) hide show
  1. package/es/address-edit/AddressEdit.mjs +1 -0
  2. package/es/area/Area.d.ts +6 -8
  3. package/es/area/Area.mjs +1 -1
  4. package/es/area/index.d.ts +4 -6
  5. package/es/back-top/BackTop.d.ts +1 -1
  6. package/es/back-top/BackTop.mjs +6 -3
  7. package/es/back-top/index.css +1 -1
  8. package/es/back-top/index.d.ts +1 -1
  9. package/es/barrage/Barrage.d.ts +93 -0
  10. package/es/barrage/Barrage.mjs +134 -0
  11. package/es/barrage/index.css +1 -0
  12. package/es/barrage/index.d.ts +69 -0
  13. package/es/barrage/index.mjs +10 -0
  14. package/es/barrage/style/index.d.ts +1 -0
  15. package/es/barrage/style/index.mjs +2 -0
  16. package/es/barrage/types.d.ts +7 -0
  17. package/es/barrage/types.mjs +0 -0
  18. package/es/cascader/Cascader.mjs +14 -0
  19. package/es/contact-list/ContactList.mjs +1 -1
  20. package/es/contact-list/index.css +1 -1
  21. package/es/date-picker/DatePicker.mjs +5 -2
  22. package/es/dialog/index.css +1 -1
  23. package/es/divider/Divider.d.ts +4 -0
  24. package/es/divider/Divider.mjs +4 -2
  25. package/es/divider/index.css +1 -1
  26. package/es/divider/index.d.ts +3 -0
  27. package/es/image-preview/ImagePreviewItem.mjs +28 -15
  28. package/es/index.d.ts +2 -1
  29. package/es/index.mjs +4 -1
  30. package/es/notice-bar/NoticeBar.d.ts +1 -1
  31. package/es/notice-bar/index.d.ts +1 -1
  32. package/es/signature/Signature.d.ts +13 -0
  33. package/es/signature/Signature.mjs +24 -8
  34. package/es/signature/index.css +1 -1
  35. package/es/signature/index.d.ts +9 -0
  36. package/es/uploader/Uploader.d.ts +6 -1
  37. package/es/uploader/Uploader.mjs +25 -10
  38. package/es/uploader/UploaderPreviewItem.d.ts +5 -1
  39. package/es/uploader/UploaderPreviewItem.mjs +6 -3
  40. package/es/uploader/index.d.ts +5 -1
  41. package/es/uploader/types.d.ts +1 -0
  42. package/lib/address-edit/AddressEdit.js +1 -0
  43. package/lib/area/Area.d.ts +6 -8
  44. package/lib/area/Area.js +1 -1
  45. package/lib/area/index.d.ts +4 -6
  46. package/lib/back-top/BackTop.d.ts +1 -1
  47. package/lib/back-top/BackTop.js +6 -3
  48. package/lib/back-top/index.css +1 -1
  49. package/lib/back-top/index.d.ts +1 -1
  50. package/lib/barrage/Barrage.d.ts +93 -0
  51. package/lib/barrage/Barrage.js +153 -0
  52. package/lib/barrage/index.css +1 -0
  53. package/lib/barrage/index.d.ts +69 -0
  54. package/lib/barrage/index.js +39 -0
  55. package/lib/barrage/style/index.d.ts +1 -0
  56. package/lib/barrage/style/index.js +2 -0
  57. package/lib/barrage/types.d.ts +7 -0
  58. package/lib/barrage/types.js +15 -0
  59. package/lib/cascader/Cascader.js +14 -0
  60. package/lib/contact-list/ContactList.js +1 -1
  61. package/lib/contact-list/index.css +1 -1
  62. package/lib/date-picker/DatePicker.js +5 -2
  63. package/lib/dialog/index.css +1 -1
  64. package/lib/divider/Divider.d.ts +4 -0
  65. package/lib/divider/Divider.js +4 -2
  66. package/lib/divider/index.css +1 -1
  67. package/lib/divider/index.d.ts +3 -0
  68. package/lib/image-preview/ImagePreviewItem.js +28 -15
  69. package/lib/index.css +1 -1
  70. package/lib/index.d.ts +2 -1
  71. package/lib/index.js +4 -1
  72. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  73. package/lib/notice-bar/index.d.ts +1 -1
  74. package/lib/signature/Signature.d.ts +13 -0
  75. package/lib/signature/Signature.js +23 -7
  76. package/lib/signature/index.css +1 -1
  77. package/lib/signature/index.d.ts +9 -0
  78. package/lib/uploader/Uploader.d.ts +6 -1
  79. package/lib/uploader/Uploader.js +25 -10
  80. package/lib/uploader/UploaderPreviewItem.d.ts +5 -1
  81. package/lib/uploader/UploaderPreviewItem.js +6 -3
  82. package/lib/uploader/index.d.ts +5 -1
  83. package/lib/uploader/types.d.ts +1 -0
  84. package/lib/vant.cjs.js +523 -324
  85. package/lib/vant.es.js +523 -324
  86. package/lib/vant.js +523 -324
  87. package/lib/vant.min.js +1 -1
  88. package/lib/web-types.json +1 -1
  89. package/package.json +1 -1
package/lib/vant.cjs.js CHANGED
@@ -237,7 +237,7 @@ function deepAssign(to, from) {
237
237
  });
238
238
  return to;
239
239
  }
240
- var stdin_default$1P = {
240
+ var stdin_default$1Q = {
241
241
  name: "姓名",
242
242
  tel: "电话",
243
243
  save: "保存",
@@ -301,7 +301,7 @@ var stdin_default$1P = {
301
301
  };
302
302
  const lang = vue.ref("zh-CN");
303
303
  const messages = vue.reactive({
304
- "zh-CN": stdin_default$1P
304
+ "zh-CN": stdin_default$1Q
305
305
  });
306
306
  const Locale = {
307
307
  messages() {
@@ -316,11 +316,11 @@ const Locale = {
316
316
  }
317
317
  };
318
318
  const useCurrentLang = () => lang;
319
- var stdin_default$1O = Locale;
319
+ var stdin_default$1P = Locale;
320
320
  function createTranslate(name2) {
321
321
  const prefix = camelize(name2) + ".";
322
322
  return (path, ...args) => {
323
- const messages2 = stdin_default$1O.messages();
323
+ const messages2 = stdin_default$1P.messages();
324
324
  const message = get(messages2, prefix + path) || get(messages2, path);
325
325
  return isFunction(message) ? message(...args) : message;
326
326
  };
@@ -442,20 +442,20 @@ function usePlaceholder(contentRef, bem2) {
442
442
  }
443
443
  }, [renderContent()]);
444
444
  }
445
- const [name$1E, bem$1z] = createNamespace("action-bar");
446
- const ACTION_BAR_KEY = Symbol(name$1E);
445
+ const [name$1F, bem$1A] = createNamespace("action-bar");
446
+ const ACTION_BAR_KEY = Symbol(name$1F);
447
447
  const actionBarProps = {
448
448
  placeholder: Boolean,
449
449
  safeAreaInsetBottom: truthProp
450
450
  };
451
- var stdin_default$1N = vue.defineComponent({
452
- name: name$1E,
451
+ var stdin_default$1O = vue.defineComponent({
452
+ name: name$1F,
453
453
  props: actionBarProps,
454
454
  setup(props, {
455
455
  slots
456
456
  }) {
457
457
  const root = vue.ref();
458
- const renderPlaceholder = usePlaceholder(root, bem$1z);
458
+ const renderPlaceholder = usePlaceholder(root, bem$1A);
459
459
  const {
460
460
  linkChildren
461
461
  } = use.useChildren(ACTION_BAR_KEY);
@@ -464,7 +464,7 @@ var stdin_default$1N = vue.defineComponent({
464
464
  var _a;
465
465
  return vue.createVNode("div", {
466
466
  "ref": root,
467
- "class": [bem$1z(), {
467
+ "class": [bem$1A(), {
468
468
  "van-safe-area-bottom": props.safeAreaInsetBottom
469
469
  }]
470
470
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -477,7 +477,7 @@ var stdin_default$1N = vue.defineComponent({
477
477
  };
478
478
  }
479
479
  });
480
- const ActionBar = withInstall(stdin_default$1N);
480
+ const ActionBar = withInstall(stdin_default$1O);
481
481
  function useExpose(apis) {
482
482
  const instance2 = vue.getCurrentInstance();
483
483
  if (instance2) {
@@ -505,7 +505,7 @@ function useRoute() {
505
505
  const vm = vue.getCurrentInstance().proxy;
506
506
  return () => route(vm);
507
507
  }
508
- const [name$1D, bem$1y] = createNamespace("badge");
508
+ const [name$1E, bem$1z] = createNamespace("badge");
509
509
  const badgeProps = {
510
510
  dot: Boolean,
511
511
  max: numericProp,
@@ -516,8 +516,8 @@ const badgeProps = {
516
516
  showZero: truthProp,
517
517
  position: makeStringProp("top-right")
518
518
  };
519
- var stdin_default$1M = vue.defineComponent({
520
- name: name$1D,
519
+ var stdin_default$1N = vue.defineComponent({
520
+ name: name$1E,
521
521
  props: badgeProps,
522
522
  setup(props, {
523
523
  slots
@@ -580,7 +580,7 @@ var stdin_default$1M = vue.defineComponent({
580
580
  const renderBadge = () => {
581
581
  if (hasContent() || props.dot) {
582
582
  return vue.createVNode("div", {
583
- "class": bem$1y([props.position, {
583
+ "class": bem$1z([props.position, {
584
584
  dot: props.dot,
585
585
  fixed: !!slots.default
586
586
  }]),
@@ -594,7 +594,7 @@ var stdin_default$1M = vue.defineComponent({
594
594
  tag
595
595
  } = props;
596
596
  return vue.createVNode(tag, {
597
- "class": bem$1y("wrapper")
597
+ "class": bem$1z("wrapper")
598
598
  }, {
599
599
  default: () => [slots.default(), renderBadge()]
600
600
  });
@@ -603,14 +603,14 @@ var stdin_default$1M = vue.defineComponent({
603
603
  };
604
604
  }
605
605
  });
606
- const Badge = withInstall(stdin_default$1M);
606
+ const Badge = withInstall(stdin_default$1N);
607
607
  let globalZIndex = 2e3;
608
608
  const useGlobalZIndex = () => ++globalZIndex;
609
609
  const setGlobalZIndex = (val) => {
610
610
  globalZIndex = val;
611
611
  };
612
- const [name$1C, bem$1x] = createNamespace("config-provider");
613
- const CONFIG_PROVIDER_KEY = Symbol(name$1C);
612
+ const [name$1D, bem$1y] = createNamespace("config-provider");
613
+ const CONFIG_PROVIDER_KEY = Symbol(name$1D);
614
614
  const configProviderProps = {
615
615
  tag: makeStringProp("div"),
616
616
  theme: makeStringProp("light"),
@@ -627,8 +627,8 @@ function mapThemeVarsToCSSVars(themeVars) {
627
627
  });
628
628
  return cssVars;
629
629
  }
630
- var stdin_default$1L = vue.defineComponent({
631
- name: name$1C,
630
+ var stdin_default$1M = vue.defineComponent({
631
+ name: name$1D,
632
632
  props: configProviderProps,
633
633
  setup(props, {
634
634
  slots
@@ -660,7 +660,7 @@ var stdin_default$1L = vue.defineComponent({
660
660
  }
661
661
  });
662
662
  return () => vue.createVNode(props.tag, {
663
- "class": bem$1x(),
663
+ "class": bem$1y(),
664
664
  "style": style.value
665
665
  }, {
666
666
  default: () => {
@@ -670,7 +670,7 @@ var stdin_default$1L = vue.defineComponent({
670
670
  });
671
671
  }
672
672
  });
673
- const [name$1B, bem$1w] = createNamespace("icon");
673
+ const [name$1C, bem$1x] = createNamespace("icon");
674
674
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
675
675
  const iconProps = {
676
676
  dot: Boolean,
@@ -682,14 +682,14 @@ const iconProps = {
682
682
  badgeProps: Object,
683
683
  classPrefix: String
684
684
  };
685
- var stdin_default$1K = vue.defineComponent({
686
- name: name$1B,
685
+ var stdin_default$1L = vue.defineComponent({
686
+ name: name$1C,
687
687
  props: iconProps,
688
688
  setup(props, {
689
689
  slots
690
690
  }) {
691
691
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
692
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1w());
692
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1x());
693
693
  return () => {
694
694
  const {
695
695
  tag,
@@ -713,7 +713,7 @@ var stdin_default$1K = vue.defineComponent({
713
713
  default: () => {
714
714
  var _a;
715
715
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
716
- "class": bem$1w("image"),
716
+ "class": bem$1x("image"),
717
717
  "src": name2
718
718
  }, null)];
719
719
  }
@@ -721,13 +721,13 @@ var stdin_default$1K = vue.defineComponent({
721
721
  };
722
722
  }
723
723
  });
724
- const Icon = withInstall(stdin_default$1K);
725
- const [name$1A, bem$1v] = createNamespace("loading");
724
+ const Icon = withInstall(stdin_default$1L);
725
+ const [name$1B, bem$1w] = createNamespace("loading");
726
726
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
727
- "class": bem$1v("line", String(index + 1))
727
+ "class": bem$1w("line", String(index + 1))
728
728
  }, null));
729
729
  const CircularIcon = vue.createVNode("svg", {
730
- "class": bem$1v("circular"),
730
+ "class": bem$1w("circular"),
731
731
  "viewBox": "25 25 50 50"
732
732
  }, [vue.createVNode("circle", {
733
733
  "cx": "50",
@@ -743,8 +743,8 @@ const loadingProps = {
743
743
  textSize: numericProp,
744
744
  textColor: String
745
745
  };
746
- var stdin_default$1J = vue.defineComponent({
747
- name: name$1A,
746
+ var stdin_default$1K = vue.defineComponent({
747
+ name: name$1B,
748
748
  props: loadingProps,
749
749
  setup(props, {
750
750
  slots
@@ -755,7 +755,7 @@ var stdin_default$1J = vue.defineComponent({
755
755
  const renderIcon = () => {
756
756
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
757
757
  return vue.createVNode("span", {
758
- "class": bem$1v("spinner", props.type),
758
+ "class": bem$1w("spinner", props.type),
759
759
  "style": spinnerStyle.value
760
760
  }, [slots.icon ? slots.icon() : DefaultIcon]);
761
761
  };
@@ -763,7 +763,7 @@ var stdin_default$1J = vue.defineComponent({
763
763
  var _a;
764
764
  if (slots.default) {
765
765
  return vue.createVNode("span", {
766
- "class": bem$1v("text"),
766
+ "class": bem$1w("text"),
767
767
  "style": {
768
768
  fontSize: addUnit(props.textSize),
769
769
  color: (_a = props.textColor) != null ? _a : props.color
@@ -777,7 +777,7 @@ var stdin_default$1J = vue.defineComponent({
777
777
  vertical
778
778
  } = props;
779
779
  return vue.createVNode("div", {
780
- "class": bem$1v([type, {
780
+ "class": bem$1w([type, {
781
781
  vertical
782
782
  }]),
783
783
  "aria-live": "polite",
@@ -786,8 +786,8 @@ var stdin_default$1J = vue.defineComponent({
786
786
  };
787
787
  }
788
788
  });
789
- const Loading = withInstall(stdin_default$1J);
790
- const [name$1z, bem$1u] = createNamespace("button");
789
+ const Loading = withInstall(stdin_default$1K);
790
+ const [name$1A, bem$1v] = createNamespace("button");
791
791
  const buttonProps = extend({}, routeProps, {
792
792
  tag: makeStringProp("button"),
793
793
  text: String,
@@ -809,8 +809,8 @@ const buttonProps = extend({}, routeProps, {
809
809
  loadingType: String,
810
810
  iconPosition: makeStringProp("left")
811
811
  });
812
- var stdin_default$1I = vue.defineComponent({
813
- name: name$1z,
812
+ var stdin_default$1J = vue.defineComponent({
813
+ name: name$1A,
814
814
  props: buttonProps,
815
815
  emits: ["click"],
816
816
  setup(props, {
@@ -825,7 +825,7 @@ var stdin_default$1I = vue.defineComponent({
825
825
  return vue.createVNode(Loading, {
826
826
  "size": props.loadingSize,
827
827
  "type": props.loadingType,
828
- "class": bem$1u("loading")
828
+ "class": bem$1v("loading")
829
829
  }, null);
830
830
  };
831
831
  const renderIcon = () => {
@@ -834,13 +834,13 @@ var stdin_default$1I = vue.defineComponent({
834
834
  }
835
835
  if (slots.icon) {
836
836
  return vue.createVNode("div", {
837
- "class": bem$1u("icon")
837
+ "class": bem$1v("icon")
838
838
  }, [slots.icon()]);
839
839
  }
840
840
  if (props.icon) {
841
841
  return vue.createVNode(Icon, {
842
842
  "name": props.icon,
843
- "class": bem$1u("icon"),
843
+ "class": bem$1v("icon"),
844
844
  "classPrefix": props.iconPrefix
845
845
  }, null);
846
846
  }
@@ -854,7 +854,7 @@ var stdin_default$1I = vue.defineComponent({
854
854
  }
855
855
  if (text) {
856
856
  return vue.createVNode("span", {
857
- "class": bem$1u("text")
857
+ "class": bem$1v("text")
858
858
  }, [text]);
859
859
  }
860
860
  };
@@ -901,7 +901,7 @@ var stdin_default$1I = vue.defineComponent({
901
901
  nativeType,
902
902
  iconPosition
903
903
  } = props;
904
- const classes = [bem$1u([type, size, {
904
+ const classes = [bem$1v([type, size, {
905
905
  plain,
906
906
  block,
907
907
  round,
@@ -920,14 +920,14 @@ var stdin_default$1I = vue.defineComponent({
920
920
  "onClick": onClick
921
921
  }, {
922
922
  default: () => [vue.createVNode("div", {
923
- "class": bem$1u("content")
923
+ "class": bem$1v("content")
924
924
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
925
925
  });
926
926
  };
927
927
  }
928
928
  });
929
- const Button = withInstall(stdin_default$1I);
930
- const [name$1y, bem$1t] = createNamespace("action-bar-button");
929
+ const Button = withInstall(stdin_default$1J);
930
+ const [name$1z, bem$1u] = createNamespace("action-bar-button");
931
931
  const actionBarButtonProps = extend({}, routeProps, {
932
932
  type: String,
933
933
  text: String,
@@ -936,8 +936,8 @@ const actionBarButtonProps = extend({}, routeProps, {
936
936
  loading: Boolean,
937
937
  disabled: Boolean
938
938
  });
939
- var stdin_default$1H = vue.defineComponent({
940
- name: name$1y,
939
+ var stdin_default$1I = vue.defineComponent({
940
+ name: name$1z,
941
941
  props: actionBarButtonProps,
942
942
  setup(props, {
943
943
  slots
@@ -972,7 +972,7 @@ var stdin_default$1H = vue.defineComponent({
972
972
  disabled
973
973
  } = props;
974
974
  return vue.createVNode(Button, {
975
- "class": bem$1t([type, {
975
+ "class": bem$1u([type, {
976
976
  last: isLast.value,
977
977
  first: isFirst.value
978
978
  }]),
@@ -989,8 +989,8 @@ var stdin_default$1H = vue.defineComponent({
989
989
  };
990
990
  }
991
991
  });
992
- const ActionBarButton = withInstall(stdin_default$1H);
993
- const [name$1x, bem$1s] = createNamespace("action-bar-icon");
992
+ const ActionBarButton = withInstall(stdin_default$1I);
993
+ const [name$1y, bem$1t] = createNamespace("action-bar-icon");
994
994
  const actionBarIconProps = extend({}, routeProps, {
995
995
  dot: Boolean,
996
996
  text: String,
@@ -1001,8 +1001,8 @@ const actionBarIconProps = extend({}, routeProps, {
1001
1001
  badgeProps: Object,
1002
1002
  iconPrefix: String
1003
1003
  });
1004
- var stdin_default$1G = vue.defineComponent({
1005
- name: name$1x,
1004
+ var stdin_default$1H = vue.defineComponent({
1005
+ name: name$1y,
1006
1006
  props: actionBarIconProps,
1007
1007
  setup(props, {
1008
1008
  slots
@@ -1022,7 +1022,7 @@ var stdin_default$1G = vue.defineComponent({
1022
1022
  if (slots.icon) {
1023
1023
  return vue.createVNode(Badge, vue.mergeProps({
1024
1024
  "dot": dot,
1025
- "class": bem$1s("icon"),
1025
+ "class": bem$1t("icon"),
1026
1026
  "content": badge
1027
1027
  }, badgeProps2), {
1028
1028
  default: slots.icon
@@ -1034,20 +1034,20 @@ var stdin_default$1G = vue.defineComponent({
1034
1034
  "name": icon,
1035
1035
  "badge": badge,
1036
1036
  "color": color,
1037
- "class": [bem$1s("icon"), iconClass],
1037
+ "class": [bem$1t("icon"), iconClass],
1038
1038
  "badgeProps": badgeProps2,
1039
1039
  "classPrefix": iconPrefix
1040
1040
  }, null);
1041
1041
  };
1042
1042
  return () => vue.createVNode("div", {
1043
1043
  "role": "button",
1044
- "class": bem$1s(),
1044
+ "class": bem$1t(),
1045
1045
  "tabindex": 0,
1046
1046
  "onClick": route2
1047
1047
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1048
1048
  }
1049
1049
  });
1050
- const ActionBarIcon = withInstall(stdin_default$1G);
1050
+ const ActionBarIcon = withInstall(stdin_default$1H);
1051
1051
  const popupSharedProps = {
1052
1052
  // whether to show popup
1053
1053
  show: Boolean,
@@ -1198,7 +1198,7 @@ function useLazyRender(show) {
1198
1198
  );
1199
1199
  return (render) => () => inited.value ? render() : null;
1200
1200
  }
1201
- const [name$1w, bem$1r] = createNamespace("overlay");
1201
+ const [name$1x, bem$1s] = createNamespace("overlay");
1202
1202
  const overlayProps = {
1203
1203
  show: Boolean,
1204
1204
  zIndex: numericProp,
@@ -1208,8 +1208,8 @@ const overlayProps = {
1208
1208
  lazyRender: truthProp,
1209
1209
  customStyle: Object
1210
1210
  };
1211
- var stdin_default$1F = vue.defineComponent({
1212
- name: name$1w,
1211
+ var stdin_default$1G = vue.defineComponent({
1212
+ name: name$1x,
1213
1213
  props: overlayProps,
1214
1214
  setup(props, {
1215
1215
  slots
@@ -1230,7 +1230,7 @@ var stdin_default$1F = vue.defineComponent({
1230
1230
  return vue.withDirectives(vue.createVNode("div", {
1231
1231
  "ref": root,
1232
1232
  "style": style,
1233
- "class": [bem$1r(), props.className]
1233
+ "class": [bem$1s(), props.className]
1234
1234
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1235
1235
  });
1236
1236
  use.useEventListener("touchmove", onTouchMove, {
@@ -1244,7 +1244,7 @@ var stdin_default$1F = vue.defineComponent({
1244
1244
  });
1245
1245
  }
1246
1246
  });
1247
- const Overlay = withInstall(stdin_default$1F);
1247
+ const Overlay = withInstall(stdin_default$1G);
1248
1248
  const popupProps$2 = extend({}, popupSharedProps, {
1249
1249
  round: Boolean,
1250
1250
  position: makeStringProp("center"),
@@ -1257,9 +1257,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
1257
1257
  safeAreaInsetTop: Boolean,
1258
1258
  safeAreaInsetBottom: Boolean
1259
1259
  });
1260
- const [name$1v, bem$1q] = createNamespace("popup");
1261
- var stdin_default$1E = vue.defineComponent({
1262
- name: name$1v,
1260
+ const [name$1w, bem$1r] = createNamespace("popup");
1261
+ var stdin_default$1F = vue.defineComponent({
1262
+ name: name$1w,
1263
1263
  inheritAttrs: false,
1264
1264
  props: popupProps$2,
1265
1265
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1333,7 +1333,7 @@ var stdin_default$1E = vue.defineComponent({
1333
1333
  "role": "button",
1334
1334
  "tabindex": 0,
1335
1335
  "name": props.closeIcon,
1336
- "class": [bem$1q("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1336
+ "class": [bem$1r("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1337
1337
  "classPrefix": props.iconPrefix,
1338
1338
  "onClick": onClickCloseIcon
1339
1339
  }, null);
@@ -1355,7 +1355,7 @@ var stdin_default$1E = vue.defineComponent({
1355
1355
  "style": style.value,
1356
1356
  "role": "dialog",
1357
1357
  "tabindex": 0,
1358
- "class": [bem$1q({
1358
+ "class": [bem$1r({
1359
1359
  round,
1360
1360
  [position]: position
1361
1361
  }), {
@@ -1436,8 +1436,8 @@ var stdin_default$1E = vue.defineComponent({
1436
1436
  };
1437
1437
  }
1438
1438
  });
1439
- const Popup = withInstall(stdin_default$1E);
1440
- const [name$1u, bem$1p] = createNamespace("action-sheet");
1439
+ const Popup = withInstall(stdin_default$1F);
1440
+ const [name$1v, bem$1q] = createNamespace("action-sheet");
1441
1441
  const actionSheetProps = extend({}, popupSharedProps, {
1442
1442
  title: String,
1443
1443
  round: truthProp,
@@ -1451,8 +1451,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1451
1451
  safeAreaInsetBottom: truthProp
1452
1452
  });
1453
1453
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1454
- var stdin_default$1D = vue.defineComponent({
1455
- name: name$1u,
1454
+ var stdin_default$1E = vue.defineComponent({
1455
+ name: name$1v,
1456
1456
  props: actionSheetProps,
1457
1457
  emits: ["select", "cancel", "update:show"],
1458
1458
  setup(props, {
@@ -1467,10 +1467,10 @@ var stdin_default$1D = vue.defineComponent({
1467
1467
  const renderHeader = () => {
1468
1468
  if (props.title) {
1469
1469
  return vue.createVNode("div", {
1470
- "class": bem$1p("header")
1470
+ "class": bem$1q("header")
1471
1471
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1472
1472
  "name": props.closeIcon,
1473
- "class": [bem$1p("close"), HAPTICS_FEEDBACK],
1473
+ "class": [bem$1q("close"), HAPTICS_FEEDBACK],
1474
1474
  "onClick": onCancel
1475
1475
  }, null)]);
1476
1476
  }
@@ -1478,10 +1478,10 @@ var stdin_default$1D = vue.defineComponent({
1478
1478
  const renderCancel = () => {
1479
1479
  if (slots.cancel || props.cancelText) {
1480
1480
  return [vue.createVNode("div", {
1481
- "class": bem$1p("gap")
1481
+ "class": bem$1q("gap")
1482
1482
  }, null), vue.createVNode("button", {
1483
1483
  "type": "button",
1484
- "class": bem$1p("cancel"),
1484
+ "class": bem$1q("cancel"),
1485
1485
  "onClick": onCancel
1486
1486
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1487
1487
  }
@@ -1489,7 +1489,7 @@ var stdin_default$1D = vue.defineComponent({
1489
1489
  const renderActionContent = (action, index) => {
1490
1490
  if (action.loading) {
1491
1491
  return vue.createVNode(Loading, {
1492
- "class": bem$1p("loading-icon")
1492
+ "class": bem$1q("loading-icon")
1493
1493
  }, null);
1494
1494
  }
1495
1495
  if (slots.action) {
@@ -1499,9 +1499,9 @@ var stdin_default$1D = vue.defineComponent({
1499
1499
  });
1500
1500
  }
1501
1501
  return [vue.createVNode("span", {
1502
- "class": bem$1p("name")
1502
+ "class": bem$1q("name")
1503
1503
  }, [action.name]), action.subname && vue.createVNode("div", {
1504
- "class": bem$1p("subname")
1504
+ "class": bem$1q("subname")
1505
1505
  }, [action.subname])];
1506
1506
  };
1507
1507
  const renderAction = (action, index) => {
@@ -1529,7 +1529,7 @@ var stdin_default$1D = vue.defineComponent({
1529
1529
  "style": {
1530
1530
  color
1531
1531
  },
1532
- "class": [bem$1p("item", {
1532
+ "class": [bem$1q("item", {
1533
1533
  loading,
1534
1534
  disabled
1535
1535
  }), className],
@@ -1540,26 +1540,26 @@ var stdin_default$1D = vue.defineComponent({
1540
1540
  if (props.description || slots.description) {
1541
1541
  const content = slots.description ? slots.description() : props.description;
1542
1542
  return vue.createVNode("div", {
1543
- "class": bem$1p("description")
1543
+ "class": bem$1q("description")
1544
1544
  }, [content]);
1545
1545
  }
1546
1546
  };
1547
1547
  return () => vue.createVNode(Popup, vue.mergeProps({
1548
- "class": bem$1p(),
1548
+ "class": bem$1q(),
1549
1549
  "position": "bottom",
1550
1550
  "onUpdate:show": updateShow
1551
1551
  }, pick(props, popupInheritKeys$2)), {
1552
1552
  default: () => {
1553
1553
  var _a;
1554
1554
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1555
- "class": bem$1p("content")
1555
+ "class": bem$1q("content")
1556
1556
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1557
1557
  }
1558
1558
  });
1559
1559
  }
1560
1560
  });
1561
- const ActionSheet = withInstall(stdin_default$1D);
1562
- const [name$1t, bem$1o, t$k] = createNamespace("picker");
1561
+ const ActionSheet = withInstall(stdin_default$1E);
1562
+ const [name$1u, bem$1p, t$k] = createNamespace("picker");
1563
1563
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1564
1564
  function getColumnsType(columns, fields) {
1565
1565
  const firstColumn = columns[0];
@@ -1628,10 +1628,10 @@ function assignDefaultFields(fields) {
1628
1628
  const DEFAULT_DURATION = 200;
1629
1629
  const MOMENTUM_TIME = 300;
1630
1630
  const MOMENTUM_DISTANCE = 15;
1631
- const [name$1s, bem$1n] = createNamespace("picker-column");
1632
- const PICKER_KEY = Symbol(name$1s);
1633
- var stdin_default$1C = vue.defineComponent({
1634
- name: name$1s,
1631
+ const [name$1t, bem$1o] = createNamespace("picker-column");
1632
+ const PICKER_KEY = Symbol(name$1t);
1633
+ var stdin_default$1D = vue.defineComponent({
1634
+ name: name$1t,
1635
1635
  props: {
1636
1636
  value: numericProp,
1637
1637
  fields: makeRequiredProp(Object),
@@ -1770,7 +1770,7 @@ var stdin_default$1C = vue.defineComponent({
1770
1770
  role: "button",
1771
1771
  style: optionStyle,
1772
1772
  tabindex: disabled ? -1 : 0,
1773
- class: [bem$1n("item", {
1773
+ class: [bem$1o("item", {
1774
1774
  disabled,
1775
1775
  selected: value === props.value
1776
1776
  }), option.className],
@@ -1798,7 +1798,7 @@ var stdin_default$1C = vue.defineComponent({
1798
1798
  });
1799
1799
  return () => vue.createVNode("div", {
1800
1800
  "ref": root,
1801
- "class": bem$1n(),
1801
+ "class": bem$1o(),
1802
1802
  "onTouchstartPassive": onTouchStart,
1803
1803
  "onTouchend": onTouchEnd,
1804
1804
  "onTouchcancel": onTouchEnd
@@ -1809,12 +1809,12 @@ var stdin_default$1C = vue.defineComponent({
1809
1809
  transitionDuration: `${currentDuration.value}ms`,
1810
1810
  transitionProperty: currentDuration.value ? "all" : "none"
1811
1811
  },
1812
- "class": bem$1n("wrapper"),
1812
+ "class": bem$1o("wrapper"),
1813
1813
  "onTransitionend": stopMomentum
1814
1814
  }, [renderOptions()])]);
1815
1815
  }
1816
1816
  });
1817
- const [name$1r] = createNamespace("picker-toolbar");
1817
+ const [name$1s] = createNamespace("picker-toolbar");
1818
1818
  const pickerToolbarProps = {
1819
1819
  title: String,
1820
1820
  cancelButtonText: String,
@@ -1822,8 +1822,8 @@ const pickerToolbarProps = {
1822
1822
  };
1823
1823
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
1824
1824
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
1825
- var stdin_default$1B = vue.defineComponent({
1826
- name: name$1r,
1825
+ var stdin_default$1C = vue.defineComponent({
1826
+ name: name$1s,
1827
1827
  props: pickerToolbarProps,
1828
1828
  emits: ["confirm", "cancel"],
1829
1829
  setup(props, {
@@ -1836,7 +1836,7 @@ var stdin_default$1B = vue.defineComponent({
1836
1836
  }
1837
1837
  if (props.title) {
1838
1838
  return vue.createVNode("div", {
1839
- "class": [bem$1o("title"), "van-ellipsis"]
1839
+ "class": [bem$1p("title"), "van-ellipsis"]
1840
1840
  }, [props.title]);
1841
1841
  }
1842
1842
  };
@@ -1846,7 +1846,7 @@ var stdin_default$1B = vue.defineComponent({
1846
1846
  const text = props.cancelButtonText || t$k("cancel");
1847
1847
  return vue.createVNode("button", {
1848
1848
  "type": "button",
1849
- "class": [bem$1o("cancel"), HAPTICS_FEEDBACK],
1849
+ "class": [bem$1p("cancel"), HAPTICS_FEEDBACK],
1850
1850
  "onClick": onCancel
1851
1851
  }, [slots.cancel ? slots.cancel() : text]);
1852
1852
  };
@@ -1854,12 +1854,12 @@ var stdin_default$1B = vue.defineComponent({
1854
1854
  const text = props.confirmButtonText || t$k("confirm");
1855
1855
  return vue.createVNode("button", {
1856
1856
  "type": "button",
1857
- "class": [bem$1o("confirm"), HAPTICS_FEEDBACK],
1857
+ "class": [bem$1p("confirm"), HAPTICS_FEEDBACK],
1858
1858
  "onClick": onConfirm
1859
1859
  }, [slots.confirm ? slots.confirm() : text]);
1860
1860
  };
1861
1861
  return () => vue.createVNode("div", {
1862
- "class": bem$1o("toolbar")
1862
+ "class": bem$1p("toolbar")
1863
1863
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
1864
1864
  }
1865
1865
  });
@@ -1967,7 +1967,7 @@ function useVisibilityChange(target, onChange) {
1967
1967
  vue.onBeforeUnmount(unobserve);
1968
1968
  use.onMountedOrActivated(observe);
1969
1969
  }
1970
- const [name$1q, bem$1m] = createNamespace("sticky");
1970
+ const [name$1r, bem$1n] = createNamespace("sticky");
1971
1971
  const stickyProps = {
1972
1972
  zIndex: numericProp,
1973
1973
  position: makeStringProp("top"),
@@ -1975,8 +1975,8 @@ const stickyProps = {
1975
1975
  offsetTop: makeNumericProp(0),
1976
1976
  offsetBottom: makeNumericProp(0)
1977
1977
  };
1978
- var stdin_default$1A = vue.defineComponent({
1979
- name: name$1q,
1978
+ var stdin_default$1B = vue.defineComponent({
1979
+ name: name$1r,
1980
1980
  props: stickyProps,
1981
1981
  emits: ["scroll", "change"],
1982
1982
  setup(props, {
@@ -2089,7 +2089,7 @@ var stdin_default$1A = vue.defineComponent({
2089
2089
  "ref": root,
2090
2090
  "style": rootStyle.value
2091
2091
  }, [vue.createVNode("div", {
2092
- "class": bem$1m({
2092
+ "class": bem$1n({
2093
2093
  fixed: state.fixed && !isReset.value
2094
2094
  }),
2095
2095
  "style": stickyStyle.value
@@ -2097,8 +2097,8 @@ var stdin_default$1A = vue.defineComponent({
2097
2097
  };
2098
2098
  }
2099
2099
  });
2100
- const Sticky = withInstall(stdin_default$1A);
2101
- const [name$1p, bem$1l] = createNamespace("swipe");
2100
+ const Sticky = withInstall(stdin_default$1B);
2101
+ const [name$1q, bem$1m] = createNamespace("swipe");
2102
2102
  const swipeProps = {
2103
2103
  loop: truthProp,
2104
2104
  width: numericProp,
@@ -2113,9 +2113,9 @@ const swipeProps = {
2113
2113
  showIndicators: truthProp,
2114
2114
  stopPropagation: truthProp
2115
2115
  };
2116
- const SWIPE_KEY = Symbol(name$1p);
2117
- var stdin_default$1z = vue.defineComponent({
2118
- name: name$1p,
2116
+ const SWIPE_KEY = Symbol(name$1q);
2117
+ var stdin_default$1A = vue.defineComponent({
2118
+ name: name$1q,
2119
2119
  props: swipeProps,
2120
2120
  emits: ["change", "dragStart", "dragEnd"],
2121
2121
  setup(props, {
@@ -2393,7 +2393,7 @@ var stdin_default$1z = vue.defineComponent({
2393
2393
  } : void 0;
2394
2394
  return vue.createVNode("i", {
2395
2395
  "style": style,
2396
- "class": bem$1l("indicator", {
2396
+ "class": bem$1m("indicator", {
2397
2397
  active
2398
2398
  })
2399
2399
  }, null);
@@ -2407,7 +2407,7 @@ var stdin_default$1z = vue.defineComponent({
2407
2407
  }
2408
2408
  if (props.showIndicators && count.value > 1) {
2409
2409
  return vue.createVNode("div", {
2410
- "class": bem$1l("indicators", {
2410
+ "class": bem$1m("indicators", {
2411
2411
  vertical: props.vertical
2412
2412
  })
2413
2413
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2449,11 +2449,11 @@ var stdin_default$1z = vue.defineComponent({
2449
2449
  var _a;
2450
2450
  return vue.createVNode("div", {
2451
2451
  "ref": root,
2452
- "class": bem$1l()
2452
+ "class": bem$1m()
2453
2453
  }, [vue.createVNode("div", {
2454
2454
  "ref": track,
2455
2455
  "style": trackStyle.value,
2456
- "class": bem$1l("track", {
2456
+ "class": bem$1m("track", {
2457
2457
  vertical: props.vertical
2458
2458
  }),
2459
2459
  "onTouchstartPassive": onTouchStart,
@@ -2463,10 +2463,10 @@ var stdin_default$1z = vue.defineComponent({
2463
2463
  };
2464
2464
  }
2465
2465
  });
2466
- const Swipe = withInstall(stdin_default$1z);
2467
- const [name$1o, bem$1k] = createNamespace("tabs");
2468
- var stdin_default$1y = vue.defineComponent({
2469
- name: name$1o,
2466
+ const Swipe = withInstall(stdin_default$1A);
2467
+ const [name$1p, bem$1l] = createNamespace("tabs");
2468
+ var stdin_default$1z = vue.defineComponent({
2469
+ name: name$1p,
2470
2470
  props: {
2471
2471
  count: makeRequiredProp(Number),
2472
2472
  inited: Boolean,
@@ -2490,7 +2490,7 @@ var stdin_default$1y = vue.defineComponent({
2490
2490
  return vue.createVNode(Swipe, {
2491
2491
  "ref": swipeRef,
2492
2492
  "loop": false,
2493
- "class": bem$1k("track"),
2493
+ "class": bem$1l("track"),
2494
2494
  "duration": +props.duration * 1e3,
2495
2495
  "touchable": props.swipeable,
2496
2496
  "lazyRender": props.lazyRender,
@@ -2518,13 +2518,13 @@ var stdin_default$1y = vue.defineComponent({
2518
2518
  swipeRef
2519
2519
  });
2520
2520
  return () => vue.createVNode("div", {
2521
- "class": bem$1k("content", {
2521
+ "class": bem$1l("content", {
2522
2522
  animated: props.animated || props.swipeable
2523
2523
  })
2524
2524
  }, [renderChildren()]);
2525
2525
  }
2526
2526
  });
2527
- const [name$1n, bem$1j] = createNamespace("tabs");
2527
+ const [name$1o, bem$1k] = createNamespace("tabs");
2528
2528
  const tabsProps = {
2529
2529
  type: makeStringProp("line"),
2530
2530
  color: String,
@@ -2547,9 +2547,9 @@ const tabsProps = {
2547
2547
  titleActiveColor: String,
2548
2548
  titleInactiveColor: String
2549
2549
  };
2550
- const TABS_KEY = Symbol(name$1n);
2551
- var stdin_default$1x = vue.defineComponent({
2552
- name: name$1n,
2550
+ const TABS_KEY = Symbol(name$1o);
2551
+ var stdin_default$1y = vue.defineComponent({
2552
+ name: name$1o,
2553
2553
  props: tabsProps,
2554
2554
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2555
2555
  setup(props, {
@@ -2747,7 +2747,7 @@ var stdin_default$1x = vue.defineComponent({
2747
2747
  const renderLine = () => {
2748
2748
  if (props.type === "line" && children.length) {
2749
2749
  return vue.createVNode("div", {
2750
- "class": bem$1j("line"),
2750
+ "class": bem$1k("line"),
2751
2751
  "style": state.lineStyle
2752
2752
  }, null);
2753
2753
  }
@@ -2761,13 +2761,13 @@ var stdin_default$1x = vue.defineComponent({
2761
2761
  } = props;
2762
2762
  const Header = [vue.createVNode("div", {
2763
2763
  "ref": sticky ? void 0 : wrapRef,
2764
- "class": [bem$1j("wrap"), {
2764
+ "class": [bem$1k("wrap"), {
2765
2765
  [BORDER_TOP_BOTTOM]: type === "line" && border
2766
2766
  }]
2767
2767
  }, [vue.createVNode("div", {
2768
2768
  "ref": navRef,
2769
2769
  "role": "tablist",
2770
- "class": bem$1j("nav", [type, {
2770
+ "class": bem$1k("nav", [type, {
2771
2771
  shrink: props.shrink,
2772
2772
  complete: scrollable.value
2773
2773
  }]),
@@ -2840,14 +2840,14 @@ var stdin_default$1x = vue.defineComponent({
2840
2840
  });
2841
2841
  return () => vue.createVNode("div", {
2842
2842
  "ref": root,
2843
- "class": bem$1j([props.type])
2843
+ "class": bem$1k([props.type])
2844
2844
  }, [props.sticky ? vue.createVNode(Sticky, {
2845
2845
  "container": root.value,
2846
2846
  "offsetTop": offsetTopPx.value,
2847
2847
  "onScroll": onStickyScroll
2848
2848
  }, {
2849
2849
  default: () => [renderHeader()]
2850
- }) : renderHeader(), vue.createVNode(stdin_default$1y, {
2850
+ }) : renderHeader(), vue.createVNode(stdin_default$1z, {
2851
2851
  "ref": contentRef,
2852
2852
  "count": children.length,
2853
2853
  "inited": state.inited,
@@ -2867,9 +2867,9 @@ var stdin_default$1x = vue.defineComponent({
2867
2867
  });
2868
2868
  const TAB_STATUS_KEY = Symbol();
2869
2869
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
2870
- const [name$1m, bem$1i] = createNamespace("tab");
2870
+ const [name$1n, bem$1j] = createNamespace("tab");
2871
2871
  const TabTitle = vue.defineComponent({
2872
- name: name$1m,
2872
+ name: name$1n,
2873
2873
  props: {
2874
2874
  id: String,
2875
2875
  dot: Boolean,
@@ -2918,7 +2918,7 @@ const TabTitle = vue.defineComponent({
2918
2918
  });
2919
2919
  const renderText = () => {
2920
2920
  const Text = vue.createVNode("span", {
2921
- "class": bem$1i("text", {
2921
+ "class": bem$1j("text", {
2922
2922
  ellipsis: !props.scrollable
2923
2923
  })
2924
2924
  }, [slots.title ? slots.title() : props.title]);
@@ -2936,7 +2936,7 @@ const TabTitle = vue.defineComponent({
2936
2936
  return () => vue.createVNode("div", {
2937
2937
  "id": props.id,
2938
2938
  "role": "tab",
2939
- "class": [bem$1i([props.type, {
2939
+ "class": [bem$1j([props.type, {
2940
2940
  grow: props.scrollable && !props.shrink,
2941
2941
  shrink: props.shrink,
2942
2942
  active: props.isActive,
@@ -2950,9 +2950,9 @@ const TabTitle = vue.defineComponent({
2950
2950
  }, [renderText()]);
2951
2951
  }
2952
2952
  });
2953
- const [name$1l, bem$1h] = createNamespace("swipe-item");
2954
- var stdin_default$1w = vue.defineComponent({
2955
- name: name$1l,
2953
+ const [name$1m, bem$1i] = createNamespace("swipe-item");
2954
+ var stdin_default$1x = vue.defineComponent({
2955
+ name: name$1m,
2956
2956
  setup(props, {
2957
2957
  slots
2958
2958
  }) {
@@ -3017,14 +3017,14 @@ var stdin_default$1w = vue.defineComponent({
3017
3017
  return () => {
3018
3018
  var _a;
3019
3019
  return vue.createVNode("div", {
3020
- "class": bem$1h(),
3020
+ "class": bem$1i(),
3021
3021
  "style": style.value
3022
3022
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3023
3023
  };
3024
3024
  }
3025
3025
  });
3026
- const SwipeItem = withInstall(stdin_default$1w);
3027
- const [name$1k, bem$1g] = createNamespace("tab");
3026
+ const SwipeItem = withInstall(stdin_default$1x);
3027
+ const [name$1l, bem$1h] = createNamespace("tab");
3028
3028
  const tabProps = extend({}, routeProps, {
3029
3029
  dot: Boolean,
3030
3030
  name: numericProp,
@@ -3035,8 +3035,8 @@ const tabProps = extend({}, routeProps, {
3035
3035
  titleStyle: [String, Object],
3036
3036
  showZeroBadge: truthProp
3037
3037
  });
3038
- var stdin_default$1v = vue.defineComponent({
3039
- name: name$1k,
3038
+ var stdin_default$1w = vue.defineComponent({
3039
+ name: name$1l,
3040
3040
  props: tabProps,
3041
3041
  setup(props, {
3042
3042
  slots
@@ -3124,7 +3124,7 @@ var stdin_default$1v = vue.defineComponent({
3124
3124
  return vue.createVNode(SwipeItem, {
3125
3125
  "id": id,
3126
3126
  "role": "tabpanel",
3127
- "class": bem$1g("panel-wrapper", {
3127
+ "class": bem$1h("panel-wrapper", {
3128
3128
  inactive: hasInactiveClass.value
3129
3129
  }),
3130
3130
  "tabindex": active.value ? 0 : -1,
@@ -3134,7 +3134,7 @@ var stdin_default$1v = vue.defineComponent({
3134
3134
  default: () => {
3135
3135
  var _a2;
3136
3136
  return [vue.createVNode("div", {
3137
- "class": bem$1g("panel")
3137
+ "class": bem$1h("panel")
3138
3138
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3139
3139
  }
3140
3140
  });
@@ -3144,24 +3144,24 @@ var stdin_default$1v = vue.defineComponent({
3144
3144
  return vue.withDirectives(vue.createVNode("div", {
3145
3145
  "id": id,
3146
3146
  "role": "tabpanel",
3147
- "class": bem$1g("panel"),
3147
+ "class": bem$1h("panel"),
3148
3148
  "tabindex": show ? 0 : -1,
3149
3149
  "aria-labelledby": label
3150
3150
  }, [Content]), [[vue.vShow, show]]);
3151
3151
  };
3152
3152
  }
3153
3153
  });
3154
- const Tab = withInstall(stdin_default$1v);
3155
- const Tabs = withInstall(stdin_default$1x);
3156
- const [name$1j, bem$1f] = createNamespace("picker-group");
3157
- const PICKER_GROUP_KEY = Symbol(name$1j);
3154
+ const Tab = withInstall(stdin_default$1w);
3155
+ const Tabs = withInstall(stdin_default$1y);
3156
+ const [name$1k, bem$1g] = createNamespace("picker-group");
3157
+ const PICKER_GROUP_KEY = Symbol(name$1k);
3158
3158
  const pickerGroupProps = extend({
3159
3159
  tabs: makeArrayProp(),
3160
3160
  activeTab: makeNumericProp(0),
3161
3161
  nextStepText: String
3162
3162
  }, pickerToolbarProps);
3163
- var stdin_default$1u = vue.defineComponent({
3164
- name: name$1j,
3163
+ var stdin_default$1v = vue.defineComponent({
3164
+ name: name$1k,
3165
3165
  props: pickerGroupProps,
3166
3166
  emits: ["confirm", "cancel", "update:activeTab"],
3167
3167
  setup(props, {
@@ -3188,8 +3188,8 @@ var stdin_default$1u = vue.defineComponent({
3188
3188
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3189
3189
  const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
3190
3190
  return vue.createVNode("div", {
3191
- "class": bem$1f()
3192
- }, [vue.createVNode(stdin_default$1B, {
3191
+ "class": bem$1g()
3192
+ }, [vue.createVNode(stdin_default$1C, {
3193
3193
  "title": props.title,
3194
3194
  "cancelButtonText": props.cancelButtonText,
3195
3195
  "confirmButtonText": confirmButtonText,
@@ -3198,14 +3198,14 @@ var stdin_default$1u = vue.defineComponent({
3198
3198
  }, pick(slots, pickerToolbarSlots)), vue.createVNode(Tabs, {
3199
3199
  "active": activeTab.value,
3200
3200
  "onUpdate:active": ($event) => activeTab.value = $event,
3201
- "class": bem$1f("tabs"),
3201
+ "class": bem$1g("tabs"),
3202
3202
  "shrink": true,
3203
3203
  "animated": true,
3204
3204
  "lazyRender": false
3205
3205
  }, {
3206
3206
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3207
3207
  "title": title,
3208
- "titleClass": bem$1f("tab-title")
3208
+ "titleClass": bem$1g("tab-title")
3209
3209
  }, {
3210
3210
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3211
3211
  }))]
@@ -3228,8 +3228,8 @@ const pickerProps = extend({}, pickerSharedProps, {
3228
3228
  toolbarPosition: makeStringProp("top"),
3229
3229
  columnsFieldNames: Object
3230
3230
  });
3231
- var stdin_default$1t = vue.defineComponent({
3232
- name: name$1t,
3231
+ var stdin_default$1u = vue.defineComponent({
3232
+ name: name$1u,
3233
3233
  props: pickerProps,
3234
3234
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3235
3235
  setup(props, {
@@ -3310,7 +3310,7 @@ var stdin_default$1t = vue.defineComponent({
3310
3310
  return params;
3311
3311
  };
3312
3312
  const cancel = () => emit("cancel", getEventParams());
3313
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1C, {
3313
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1D, {
3314
3314
  "value": selectedValues.value[columnIndex],
3315
3315
  "fields": fields.value,
3316
3316
  "options": options,
@@ -3339,10 +3339,10 @@ var stdin_default$1t = vue.defineComponent({
3339
3339
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3340
3340
  };
3341
3341
  return [vue.createVNode("div", {
3342
- "class": bem$1o("mask"),
3342
+ "class": bem$1p("mask"),
3343
3343
  "style": maskStyle
3344
3344
  }, null), vue.createVNode("div", {
3345
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1o("frame")],
3345
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1p("frame")],
3346
3346
  "style": frameStyle
3347
3347
  }, null)];
3348
3348
  }
@@ -3354,13 +3354,13 @@ var stdin_default$1t = vue.defineComponent({
3354
3354
  };
3355
3355
  return vue.createVNode("div", {
3356
3356
  "ref": columnsRef,
3357
- "class": bem$1o("columns"),
3357
+ "class": bem$1p("columns"),
3358
3358
  "style": columnsStyle
3359
3359
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3360
3360
  };
3361
3361
  const renderToolbar = () => {
3362
3362
  if (props.showToolbar && !parent) {
3363
- return vue.createVNode(stdin_default$1B, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3363
+ return vue.createVNode(stdin_default$1C, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3364
3364
  "onConfirm": confirm,
3365
3365
  "onCancel": cancel
3366
3366
  }), pick(slots, pickerToolbarSlots));
@@ -3403,9 +3403,9 @@ var stdin_default$1t = vue.defineComponent({
3403
3403
  return () => {
3404
3404
  var _a, _b;
3405
3405
  return vue.createVNode("div", {
3406
- "class": bem$1o()
3406
+ "class": bem$1p()
3407
3407
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3408
- "class": bem$1o("loading")
3408
+ "class": bem$1p("loading")
3409
3409
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props.toolbarPosition === "bottom" ? renderToolbar() : null]);
3410
3410
  };
3411
3411
  }
@@ -3496,9 +3496,9 @@ function formatDataForCascade({
3496
3496
  }
3497
3497
  return options;
3498
3498
  }
3499
- const Picker = withInstall(stdin_default$1t);
3500
- const [name$1i, bem$1e] = createNamespace("area");
3501
- const areaProps = extend({}, pickerSharedProps, {
3499
+ const Picker = withInstall(stdin_default$1u);
3500
+ const [name$1j, bem$1f] = createNamespace("area");
3501
+ const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
3502
3502
  modelValue: String,
3503
3503
  columnsNum: makeNumericProp(3),
3504
3504
  columnsPlaceholder: makeArrayProp(),
@@ -3507,8 +3507,8 @@ const areaProps = extend({}, pickerSharedProps, {
3507
3507
  default: () => ({})
3508
3508
  }
3509
3509
  });
3510
- var stdin_default$1s = vue.defineComponent({
3511
- name: name$1i,
3510
+ var stdin_default$1t = vue.defineComponent({
3511
+ name: name$1j,
3512
3512
  props: areaProps,
3513
3513
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3514
3514
  setup(props, {
@@ -3555,7 +3555,7 @@ var stdin_default$1s = vue.defineComponent({
3555
3555
  "ref": picker,
3556
3556
  "modelValue": codes.value,
3557
3557
  "onUpdate:modelValue": ($event) => codes.value = $event,
3558
- "class": bem$1e(),
3558
+ "class": bem$1f(),
3559
3559
  "columns": columns.value,
3560
3560
  "onChange": onChange,
3561
3561
  "onCancel": onCancel,
@@ -3563,8 +3563,8 @@ var stdin_default$1s = vue.defineComponent({
3563
3563
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3564
3564
  }
3565
3565
  });
3566
- const Area = withInstall(stdin_default$1s);
3567
- const [name$1h, bem$1d] = createNamespace("cell");
3566
+ const Area = withInstall(stdin_default$1t);
3567
+ const [name$1i, bem$1e] = createNamespace("cell");
3568
3568
  const cellSharedProps = {
3569
3569
  tag: makeStringProp("div"),
3570
3570
  icon: String,
@@ -3588,8 +3588,8 @@ const cellSharedProps = {
3588
3588
  }
3589
3589
  };
3590
3590
  const cellProps = extend({}, cellSharedProps, routeProps);
3591
- var stdin_default$1r = vue.defineComponent({
3592
- name: name$1h,
3591
+ var stdin_default$1s = vue.defineComponent({
3592
+ name: name$1i,
3593
3593
  props: cellProps,
3594
3594
  setup(props, {
3595
3595
  slots
@@ -3599,7 +3599,7 @@ var stdin_default$1r = vue.defineComponent({
3599
3599
  const showLabel = slots.label || isDef(props.label);
3600
3600
  if (showLabel) {
3601
3601
  return vue.createVNode("div", {
3602
- "class": [bem$1d("label"), props.labelClass]
3602
+ "class": [bem$1e("label"), props.labelClass]
3603
3603
  }, [slots.label ? slots.label() : props.label]);
3604
3604
  }
3605
3605
  };
@@ -3611,7 +3611,7 @@ var stdin_default$1r = vue.defineComponent({
3611
3611
  return;
3612
3612
  }
3613
3613
  return vue.createVNode("div", {
3614
- "class": [bem$1d("title"), props.titleClass],
3614
+ "class": [bem$1e("title"), props.titleClass],
3615
3615
  "style": props.titleStyle
3616
3616
  }, [titleSlot || vue.createVNode("span", null, [props.title]), renderLabel()]);
3617
3617
  }
@@ -3621,7 +3621,7 @@ var stdin_default$1r = vue.defineComponent({
3621
3621
  const hasValue = slot || isDef(props.value);
3622
3622
  if (hasValue) {
3623
3623
  return vue.createVNode("div", {
3624
- "class": [bem$1d("value"), props.valueClass]
3624
+ "class": [bem$1e("value"), props.valueClass]
3625
3625
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3626
3626
  }
3627
3627
  };
@@ -3632,7 +3632,7 @@ var stdin_default$1r = vue.defineComponent({
3632
3632
  if (props.icon) {
3633
3633
  return vue.createVNode(Icon, {
3634
3634
  "name": props.icon,
3635
- "class": bem$1d("left-icon"),
3635
+ "class": bem$1e("left-icon"),
3636
3636
  "classPrefix": props.iconPrefix
3637
3637
  }, null);
3638
3638
  }
@@ -3645,7 +3645,7 @@ var stdin_default$1r = vue.defineComponent({
3645
3645
  const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
3646
3646
  return vue.createVNode(Icon, {
3647
3647
  "name": name2,
3648
- "class": bem$1d("right-icon")
3648
+ "class": bem$1e("right-icon")
3649
3649
  }, null);
3650
3650
  }
3651
3651
  };
@@ -3670,7 +3670,7 @@ var stdin_default$1r = vue.defineComponent({
3670
3670
  classes[size] = !!size;
3671
3671
  }
3672
3672
  return vue.createVNode(tag, {
3673
- "class": bem$1d(classes),
3673
+ "class": bem$1e(classes),
3674
3674
  "role": clickable ? "button" : void 0,
3675
3675
  "tabindex": clickable ? 0 : void 0,
3676
3676
  "onClick": route2
@@ -3683,8 +3683,8 @@ var stdin_default$1r = vue.defineComponent({
3683
3683
  };
3684
3684
  }
3685
3685
  });
3686
- const Cell = withInstall(stdin_default$1r);
3687
- const [name$1g, bem$1c] = createNamespace("form");
3686
+ const Cell = withInstall(stdin_default$1s);
3687
+ const [name$1h, bem$1d] = createNamespace("form");
3688
3688
  const formProps = {
3689
3689
  colon: Boolean,
3690
3690
  disabled: Boolean,
@@ -3703,8 +3703,8 @@ const formProps = {
3703
3703
  default: "onBlur"
3704
3704
  }
3705
3705
  };
3706
- var stdin_default$1q = vue.defineComponent({
3707
- name: name$1g,
3706
+ var stdin_default$1r = vue.defineComponent({
3707
+ name: name$1h,
3708
3708
  props: formProps,
3709
3709
  emits: ["submit", "failed"],
3710
3710
  setup(props, {
@@ -3830,13 +3830,13 @@ var stdin_default$1q = vue.defineComponent({
3830
3830
  return () => {
3831
3831
  var _a;
3832
3832
  return vue.createVNode("form", {
3833
- "class": bem$1c(),
3833
+ "class": bem$1d(),
3834
3834
  "onSubmit": onSubmit
3835
3835
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3836
3836
  };
3837
3837
  }
3838
3838
  });
3839
- const Form = withInstall(stdin_default$1q);
3839
+ const Form = withInstall(stdin_default$1r);
3840
3840
  function isEmptyValue(value) {
3841
3841
  if (Array.isArray(value)) {
3842
3842
  return !value.length;
@@ -3925,7 +3925,7 @@ function getStringLength(str) {
3925
3925
  function cutString(str, maxlength) {
3926
3926
  return [...str].slice(0, maxlength).join("");
3927
3927
  }
3928
- const [name$1f, bem$1b] = createNamespace("field");
3928
+ const [name$1g, bem$1c] = createNamespace("field");
3929
3929
  const fieldSharedProps = {
3930
3930
  id: String,
3931
3931
  name: String,
@@ -3972,8 +3972,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3972
3972
  default: null
3973
3973
  }
3974
3974
  });
3975
- var stdin_default$1p = vue.defineComponent({
3976
- name: name$1f,
3975
+ var stdin_default$1q = vue.defineComponent({
3976
+ name: name$1g,
3977
3977
  props: fieldProps,
3978
3978
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
3979
3979
  setup(props, {
@@ -4247,7 +4247,7 @@ var stdin_default$1p = vue.defineComponent({
4247
4247
  const getInputId = () => props.id || `${id}-input`;
4248
4248
  const getValidationStatus = () => state.status;
4249
4249
  const renderInput = () => {
4250
- const controlClass = bem$1b("control", [getProp("inputAlign"), {
4250
+ const controlClass = bem$1c("control", [getProp("inputAlign"), {
4251
4251
  error: showError.value,
4252
4252
  custom: !!slots.input,
4253
4253
  "min-height": props.type === "textarea" && !props.autosize
@@ -4289,7 +4289,7 @@ var stdin_default$1p = vue.defineComponent({
4289
4289
  const leftIconSlot = slots["left-icon"];
4290
4290
  if (props.leftIcon || leftIconSlot) {
4291
4291
  return vue.createVNode("div", {
4292
- "class": bem$1b("left-icon"),
4292
+ "class": bem$1c("left-icon"),
4293
4293
  "onClick": onClickLeftIcon
4294
4294
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4295
4295
  "name": props.leftIcon,
@@ -4301,7 +4301,7 @@ var stdin_default$1p = vue.defineComponent({
4301
4301
  const rightIconSlot = slots["right-icon"];
4302
4302
  if (props.rightIcon || rightIconSlot) {
4303
4303
  return vue.createVNode("div", {
4304
- "class": bem$1b("right-icon"),
4304
+ "class": bem$1c("right-icon"),
4305
4305
  "onClick": onClickRightIcon
4306
4306
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4307
4307
  "name": props.rightIcon,
@@ -4313,9 +4313,9 @@ var stdin_default$1p = vue.defineComponent({
4313
4313
  if (props.showWordLimit && props.maxlength) {
4314
4314
  const count = getStringLength(getModelValue());
4315
4315
  return vue.createVNode("div", {
4316
- "class": bem$1b("word-limit")
4316
+ "class": bem$1c("word-limit")
4317
4317
  }, [vue.createVNode("span", {
4318
- "class": bem$1b("word-num")
4318
+ "class": bem$1c("word-num")
4319
4319
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4320
4320
  }
4321
4321
  };
@@ -4328,7 +4328,7 @@ var stdin_default$1p = vue.defineComponent({
4328
4328
  const slot = slots["error-message"];
4329
4329
  const errorMessageAlign = getProp("errorMessageAlign");
4330
4330
  return vue.createVNode("div", {
4331
- "class": bem$1b("error-message", errorMessageAlign)
4331
+ "class": bem$1c("error-message", errorMessageAlign)
4332
4332
  }, [slot ? slot({
4333
4333
  message
4334
4334
  }) : message]);
@@ -4356,13 +4356,13 @@ var stdin_default$1p = vue.defineComponent({
4356
4356
  }
4357
4357
  };
4358
4358
  const renderFieldBody = () => [vue.createVNode("div", {
4359
- "class": bem$1b("body")
4359
+ "class": bem$1c("body")
4360
4360
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4361
4361
  "ref": clearIconRef,
4362
4362
  "name": props.clearIcon,
4363
- "class": bem$1b("clear")
4363
+ "class": bem$1c("clear")
4364
4364
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4365
- "class": bem$1b("button")
4365
+ "class": bem$1c("button")
4366
4366
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4367
4367
  useExpose({
4368
4368
  blur,
@@ -4406,7 +4406,7 @@ var stdin_default$1p = vue.defineComponent({
4406
4406
  };
4407
4407
  return vue.createVNode(Cell, {
4408
4408
  "size": props.size,
4409
- "class": bem$1b({
4409
+ "class": bem$1c({
4410
4410
  error: showError.value,
4411
4411
  disabled,
4412
4412
  [`label-${labelAlign}`]: labelAlign
@@ -4416,8 +4416,8 @@ var stdin_default$1p = vue.defineComponent({
4416
4416
  "isLink": props.isLink,
4417
4417
  "clickable": props.clickable,
4418
4418
  "titleStyle": labelStyle.value,
4419
- "valueClass": bem$1b("value"),
4420
- "titleClass": [bem$1b("label", [labelAlign, {
4419
+ "valueClass": bem$1c("value"),
4420
+ "titleClass": [bem$1c("label", [labelAlign, {
4421
4421
  required: props.required
4422
4422
  }]), props.labelClass],
4423
4423
  "arrowDirection": props.arrowDirection
@@ -4430,7 +4430,7 @@ var stdin_default$1p = vue.defineComponent({
4430
4430
  };
4431
4431
  }
4432
4432
  });
4433
- const Field = withInstall(stdin_default$1p);
4433
+ const Field = withInstall(stdin_default$1q);
4434
4434
  let lockCount = 0;
4435
4435
  function lockClick(lock) {
4436
4436
  if (lock) {
@@ -4445,7 +4445,7 @@ function lockClick(lock) {
4445
4445
  }
4446
4446
  }
4447
4447
  }
4448
- const [name$1e, bem$1a] = createNamespace("toast");
4448
+ const [name$1f, bem$1b] = createNamespace("toast");
4449
4449
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4450
4450
  const toastProps = {
4451
4451
  icon: String,
@@ -4468,8 +4468,8 @@ const toastProps = {
4468
4468
  closeOnClick: Boolean,
4469
4469
  closeOnClickOverlay: Boolean
4470
4470
  };
4471
- var stdin_default$1o = vue.defineComponent({
4472
- name: name$1e,
4471
+ var stdin_default$1p = vue.defineComponent({
4472
+ name: name$1f,
4473
4473
  props: toastProps,
4474
4474
  emits: ["update:show"],
4475
4475
  setup(props, {
@@ -4505,13 +4505,13 @@ var stdin_default$1o = vue.defineComponent({
4505
4505
  return vue.createVNode(Icon, {
4506
4506
  "name": icon || type,
4507
4507
  "size": iconSize,
4508
- "class": bem$1a("icon"),
4508
+ "class": bem$1b("icon"),
4509
4509
  "classPrefix": iconPrefix
4510
4510
  }, null);
4511
4511
  }
4512
4512
  if (type === "loading") {
4513
4513
  return vue.createVNode(Loading, {
4514
- "class": bem$1a("loading"),
4514
+ "class": bem$1b("loading"),
4515
4515
  "size": iconSize,
4516
4516
  "type": loadingType
4517
4517
  }, null);
@@ -4524,16 +4524,16 @@ var stdin_default$1o = vue.defineComponent({
4524
4524
  } = props;
4525
4525
  if (slots.message) {
4526
4526
  return vue.createVNode("div", {
4527
- "class": bem$1a("text")
4527
+ "class": bem$1b("text")
4528
4528
  }, [slots.message()]);
4529
4529
  }
4530
4530
  if (isDef(message) && message !== "") {
4531
4531
  return type === "html" ? vue.createVNode("div", {
4532
4532
  "key": 0,
4533
- "class": bem$1a("text"),
4533
+ "class": bem$1b("text"),
4534
4534
  "innerHTML": String(message)
4535
4535
  }, null) : vue.createVNode("div", {
4536
- "class": bem$1a("text")
4536
+ "class": bem$1b("text")
4537
4537
  }, [message]);
4538
4538
  }
4539
4539
  };
@@ -4549,7 +4549,7 @@ var stdin_default$1o = vue.defineComponent({
4549
4549
  vue.onMounted(toggleClickable);
4550
4550
  vue.onUnmounted(toggleClickable);
4551
4551
  return () => vue.createVNode(Popup, vue.mergeProps({
4552
- "class": [bem$1a([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4552
+ "class": [bem$1b([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4553
4553
  [props.type]: !props.icon
4554
4554
  }]), props.className],
4555
4555
  "lockScroll": false,
@@ -4650,7 +4650,7 @@ function createInstance() {
4650
4650
  onClosed,
4651
4651
  "onUpdate:show": toggle
4652
4652
  };
4653
- return vue.createVNode(stdin_default$1o, vue.mergeProps(state, attrs), null);
4653
+ return vue.createVNode(stdin_default$1p, vue.mergeProps(state, attrs), null);
4654
4654
  };
4655
4655
  vue.watch(message, (val) => {
4656
4656
  state.message = val;
@@ -4720,8 +4720,8 @@ const resetToastDefaultOptions = (type) => {
4720
4720
  const allowMultipleToast = (value = true) => {
4721
4721
  allowMultiple = value;
4722
4722
  };
4723
- const Toast = withInstall(stdin_default$1o);
4724
- const [name$1d, bem$19] = createNamespace("switch");
4723
+ const Toast = withInstall(stdin_default$1p);
4724
+ const [name$1e, bem$1a] = createNamespace("switch");
4725
4725
  const switchProps = {
4726
4726
  size: numericProp,
4727
4727
  loading: Boolean,
@@ -4738,8 +4738,8 @@ const switchProps = {
4738
4738
  default: false
4739
4739
  }
4740
4740
  };
4741
- var stdin_default$1n = vue.defineComponent({
4742
- name: name$1d,
4741
+ var stdin_default$1o = vue.defineComponent({
4742
+ name: name$1e,
4743
4743
  props: switchProps,
4744
4744
  emits: ["change", "update:modelValue"],
4745
4745
  setup(props, {
@@ -4758,7 +4758,7 @@ var stdin_default$1n = vue.defineComponent({
4758
4758
  if (props.loading) {
4759
4759
  const color = isChecked() ? props.activeColor : props.inactiveColor;
4760
4760
  return vue.createVNode(Loading, {
4761
- "class": bem$19("loading"),
4761
+ "class": bem$1a("loading"),
4762
4762
  "color": color
4763
4763
  }, null);
4764
4764
  }
@@ -4783,7 +4783,7 @@ var stdin_default$1n = vue.defineComponent({
4783
4783
  };
4784
4784
  return vue.createVNode("div", {
4785
4785
  "role": "switch",
4786
- "class": bem$19({
4786
+ "class": bem$1a({
4787
4787
  on: checked,
4788
4788
  loading,
4789
4789
  disabled
@@ -4793,16 +4793,16 @@ var stdin_default$1n = vue.defineComponent({
4793
4793
  "aria-checked": checked,
4794
4794
  "onClick": onClick
4795
4795
  }, [vue.createVNode("div", {
4796
- "class": bem$19("node")
4796
+ "class": bem$1a("node")
4797
4797
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4798
4798
  };
4799
4799
  }
4800
4800
  });
4801
- const Switch = withInstall(stdin_default$1n);
4802
- const [name$1c, bem$18] = createNamespace("address-edit-detail");
4801
+ const Switch = withInstall(stdin_default$1o);
4802
+ const [name$1d, bem$19] = createNamespace("address-edit-detail");
4803
4803
  const t$j = createNamespace("address-edit")[2];
4804
- var stdin_default$1m = vue.defineComponent({
4805
- name: name$1c,
4804
+ var stdin_default$1n = vue.defineComponent({
4805
+ name: name$1d,
4806
4806
  props: {
4807
4807
  show: Boolean,
4808
4808
  rows: numericProp,
@@ -4836,7 +4836,7 @@ var stdin_default$1m = vue.defineComponent({
4836
4836
  "icon": "location-o",
4837
4837
  "title": express.name,
4838
4838
  "label": express.address,
4839
- "class": bem$18("search-item"),
4839
+ "class": bem$19("search-item"),
4840
4840
  "border": false,
4841
4841
  "onClick": () => onSelect(express)
4842
4842
  }, null));
@@ -4850,7 +4850,7 @@ var stdin_default$1m = vue.defineComponent({
4850
4850
  "autosize": true,
4851
4851
  "clearable": true,
4852
4852
  "ref": field,
4853
- "class": bem$18(),
4853
+ "class": bem$19(),
4854
4854
  "rows": props.rows,
4855
4855
  "type": "textarea",
4856
4856
  "rules": props.rules,
@@ -4867,7 +4867,7 @@ var stdin_default$1m = vue.defineComponent({
4867
4867
  };
4868
4868
  }
4869
4869
  });
4870
- const [name$1b, bem$17, t$i] = createNamespace("address-edit");
4870
+ const [name$1c, bem$18, t$i] = createNamespace("address-edit");
4871
4871
  const DEFAULT_DATA = {
4872
4872
  name: "",
4873
4873
  tel: "",
@@ -4907,8 +4907,8 @@ const addressEditProps = {
4907
4907
  default: isMobile
4908
4908
  }
4909
4909
  };
4910
- var stdin_default$1l = vue.defineComponent({
4911
- name: name$1b,
4910
+ var stdin_default$1m = vue.defineComponent({
4911
+ name: name$1c,
4912
4912
  props: addressEditProps,
4913
4913
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
4914
4914
  setup(props, {
@@ -5018,8 +5018,9 @@ var stdin_default$1l = vue.defineComponent({
5018
5018
  };
5019
5019
  return vue.withDirectives(vue.createVNode(Cell, {
5020
5020
  "center": true,
5021
+ "border": false,
5021
5022
  "title": t$i("defaultAddress"),
5022
- "class": bem$17("default")
5023
+ "class": bem$18("default")
5023
5024
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5024
5025
  }
5025
5026
  };
@@ -5045,13 +5046,13 @@ var stdin_default$1l = vue.defineComponent({
5045
5046
  disableArea
5046
5047
  } = props;
5047
5048
  return vue.createVNode(Form, {
5048
- "class": bem$17(),
5049
+ "class": bem$18(),
5049
5050
  "onSubmit": onSave
5050
5051
  }, {
5051
5052
  default: () => {
5052
5053
  var _a;
5053
5054
  return [vue.createVNode("div", {
5054
- "class": bem$17("fields")
5055
+ "class": bem$18("fields")
5055
5056
  }, [vue.createVNode(Field, {
5056
5057
  "modelValue": data.name,
5057
5058
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -5082,7 +5083,7 @@ var stdin_default$1l = vue.defineComponent({
5082
5083
  emit("clickArea");
5083
5084
  showAreaPopup.value = !disableArea;
5084
5085
  }
5085
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1m, {
5086
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1n, {
5086
5087
  "show": props.showDetail,
5087
5088
  "rows": props.detailRows,
5088
5089
  "rules": rules.value.addressDetail,
@@ -5096,19 +5097,19 @@ var stdin_default$1l = vue.defineComponent({
5096
5097
  "onInput": onChangeDetail,
5097
5098
  "onSelectSearch": (event) => emit("selectSearch", event)
5098
5099
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5099
- "class": bem$17("buttons")
5100
+ "class": bem$18("buttons")
5100
5101
  }, [vue.createVNode(Button, {
5101
5102
  "block": true,
5102
5103
  "round": true,
5103
5104
  "type": "primary",
5104
5105
  "text": props.saveButtonText || t$i("save"),
5105
- "class": bem$17("button"),
5106
+ "class": bem$18("button"),
5106
5107
  "loading": props.isSaving,
5107
5108
  "nativeType": "submit"
5108
5109
  }, null), props.showDelete && vue.createVNode(Button, {
5109
5110
  "block": true,
5110
5111
  "round": true,
5111
- "class": bem$17("button"),
5112
+ "class": bem$18("button"),
5112
5113
  "loading": props.isDeleting,
5113
5114
  "text": props.deleteButtonText || t$i("delete"),
5114
5115
  "onClick": onDelete
@@ -5138,8 +5139,8 @@ var stdin_default$1l = vue.defineComponent({
5138
5139
  };
5139
5140
  }
5140
5141
  });
5141
- const AddressEdit = withInstall(stdin_default$1l);
5142
- const [name$1a, bem$16] = createNamespace("radio-group");
5142
+ const AddressEdit = withInstall(stdin_default$1m);
5143
+ const [name$1b, bem$17] = createNamespace("radio-group");
5143
5144
  const radioGroupProps = {
5144
5145
  disabled: Boolean,
5145
5146
  iconSize: numericProp,
@@ -5147,9 +5148,9 @@ const radioGroupProps = {
5147
5148
  modelValue: unknownProp,
5148
5149
  checkedColor: String
5149
5150
  };
5150
- const RADIO_KEY = Symbol(name$1a);
5151
- var stdin_default$1k = vue.defineComponent({
5152
- name: name$1a,
5151
+ const RADIO_KEY = Symbol(name$1b);
5152
+ var stdin_default$1l = vue.defineComponent({
5153
+ name: name$1b,
5153
5154
  props: radioGroupProps,
5154
5155
  emits: ["change", "update:modelValue"],
5155
5156
  setup(props, {
@@ -5169,14 +5170,14 @@ var stdin_default$1k = vue.defineComponent({
5169
5170
  return () => {
5170
5171
  var _a;
5171
5172
  return vue.createVNode("div", {
5172
- "class": bem$16([props.direction]),
5173
+ "class": bem$17([props.direction]),
5173
5174
  "role": "radiogroup"
5174
5175
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5175
5176
  };
5176
5177
  }
5177
5178
  });
5178
- const RadioGroup = withInstall(stdin_default$1k);
5179
- const [name$19, bem$15] = createNamespace("tag");
5179
+ const RadioGroup = withInstall(stdin_default$1l);
5180
+ const [name$1a, bem$16] = createNamespace("tag");
5180
5181
  const tagProps = {
5181
5182
  size: String,
5182
5183
  mark: Boolean,
@@ -5188,8 +5189,8 @@ const tagProps = {
5188
5189
  textColor: String,
5189
5190
  closeable: Boolean
5190
5191
  };
5191
- var stdin_default$1j = vue.defineComponent({
5192
- name: name$19,
5192
+ var stdin_default$1k = vue.defineComponent({
5193
+ name: name$1a,
5193
5194
  props: tagProps,
5194
5195
  emits: ["close"],
5195
5196
  setup(props, {
@@ -5232,12 +5233,12 @@ var stdin_default$1j = vue.defineComponent({
5232
5233
  }
5233
5234
  const CloseIcon = closeable && vue.createVNode(Icon, {
5234
5235
  "name": "cross",
5235
- "class": [bem$15("close"), HAPTICS_FEEDBACK],
5236
+ "class": [bem$16("close"), HAPTICS_FEEDBACK],
5236
5237
  "onClick": onClose
5237
5238
  }, null);
5238
5239
  return vue.createVNode("span", {
5239
5240
  "style": getStyle(),
5240
- "class": bem$15([classes, type])
5241
+ "class": bem$16([classes, type])
5241
5242
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5242
5243
  };
5243
5244
  return () => vue.createVNode(vue.Transition, {
@@ -5247,7 +5248,7 @@ var stdin_default$1j = vue.defineComponent({
5247
5248
  });
5248
5249
  }
5249
5250
  });
5250
- const Tag = withInstall(stdin_default$1j);
5251
+ const Tag = withInstall(stdin_default$1k);
5251
5252
  const checkerProps = {
5252
5253
  name: unknownProp,
5253
5254
  shape: makeStringProp("round"),
@@ -5258,7 +5259,7 @@ const checkerProps = {
5258
5259
  labelPosition: String,
5259
5260
  labelDisabled: Boolean
5260
5261
  };
5261
- var stdin_default$1i = vue.defineComponent({
5262
+ var stdin_default$1j = vue.defineComponent({
5262
5263
  props: extend({}, checkerProps, {
5263
5264
  bem: makeRequiredProp(Function),
5264
5265
  role: String,
@@ -5360,9 +5361,9 @@ var stdin_default$1i = vue.defineComponent({
5360
5361
  }
5361
5362
  });
5362
5363
  const radioProps = checkerProps;
5363
- const [name$18, bem$14] = createNamespace("radio");
5364
- var stdin_default$1h = vue.defineComponent({
5365
- name: name$18,
5364
+ const [name$19, bem$15] = createNamespace("radio");
5365
+ var stdin_default$1i = vue.defineComponent({
5366
+ name: name$19,
5366
5367
  props: checkerProps,
5367
5368
  emits: ["update:modelValue"],
5368
5369
  setup(props, {
@@ -5383,8 +5384,8 @@ var stdin_default$1h = vue.defineComponent({
5383
5384
  emit("update:modelValue", props.name);
5384
5385
  }
5385
5386
  };
5386
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5387
- "bem": bem$14,
5387
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
5388
+ "bem": bem$15,
5388
5389
  "role": "radio",
5389
5390
  "parent": parent,
5390
5391
  "checked": checked(),
@@ -5392,10 +5393,10 @@ var stdin_default$1h = vue.defineComponent({
5392
5393
  }, props), pick(slots, ["default", "icon"]));
5393
5394
  }
5394
5395
  });
5395
- const Radio = withInstall(stdin_default$1h);
5396
- const [name$17, bem$13] = createNamespace("address-item");
5397
- var stdin_default$1g = vue.defineComponent({
5398
- name: name$17,
5396
+ const Radio = withInstall(stdin_default$1i);
5397
+ const [name$18, bem$14] = createNamespace("address-item");
5398
+ var stdin_default$1h = vue.defineComponent({
5399
+ name: name$18,
5399
5400
  props: {
5400
5401
  address: makeRequiredProp(Object),
5401
5402
  disabled: Boolean,
@@ -5415,7 +5416,7 @@ var stdin_default$1g = vue.defineComponent({
5415
5416
  };
5416
5417
  const renderRightIcon = () => vue.createVNode(Icon, {
5417
5418
  "name": "edit",
5418
- "class": bem$13("edit"),
5419
+ "class": bem$14("edit"),
5419
5420
  "onClick": (event) => {
5420
5421
  event.stopPropagation();
5421
5422
  emit("edit");
@@ -5430,7 +5431,7 @@ var stdin_default$1g = vue.defineComponent({
5430
5431
  return vue.createVNode(Tag, {
5431
5432
  "type": "primary",
5432
5433
  "round": true,
5433
- "class": bem$13("tag")
5434
+ "class": bem$14("tag")
5434
5435
  }, {
5435
5436
  default: () => [props.defaultTagText]
5436
5437
  });
@@ -5443,9 +5444,9 @@ var stdin_default$1g = vue.defineComponent({
5443
5444
  switchable
5444
5445
  } = props;
5445
5446
  const Info = [vue.createVNode("div", {
5446
- "class": bem$13("name")
5447
+ "class": bem$14("name")
5447
5448
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5448
- "class": bem$13("address")
5449
+ "class": bem$14("address")
5449
5450
  }, [address.address])];
5450
5451
  if (switchable && !disabled) {
5451
5452
  return vue.createVNode(Radio, {
@@ -5463,13 +5464,13 @@ var stdin_default$1g = vue.defineComponent({
5463
5464
  disabled
5464
5465
  } = props;
5465
5466
  return vue.createVNode("div", {
5466
- "class": bem$13({
5467
+ "class": bem$14({
5467
5468
  disabled
5468
5469
  }),
5469
5470
  "onClick": onClick
5470
5471
  }, [vue.createVNode(Cell, {
5471
5472
  "border": false,
5472
- "titleClass": bem$13("title")
5473
+ "titleClass": bem$14("title")
5473
5474
  }, {
5474
5475
  title: renderContent,
5475
5476
  "right-icon": renderRightIcon
@@ -5479,7 +5480,7 @@ var stdin_default$1g = vue.defineComponent({
5479
5480
  };
5480
5481
  }
5481
5482
  });
5482
- const [name$16, bem$12, t$h] = createNamespace("address-list");
5483
+ const [name$17, bem$13, t$h] = createNamespace("address-list");
5483
5484
  const addressListProps = {
5484
5485
  list: makeArrayProp(),
5485
5486
  modelValue: numericProp,
@@ -5489,8 +5490,8 @@ const addressListProps = {
5489
5490
  addButtonText: String,
5490
5491
  defaultTagText: String
5491
5492
  };
5492
- var stdin_default$1f = vue.defineComponent({
5493
- name: name$16,
5493
+ var stdin_default$1g = vue.defineComponent({
5494
+ name: name$17,
5494
5495
  props: addressListProps,
5495
5496
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5496
5497
  setup(props, {
@@ -5506,7 +5507,7 @@ var stdin_default$1f = vue.defineComponent({
5506
5507
  emit("update:modelValue", item.id);
5507
5508
  }
5508
5509
  };
5509
- return vue.createVNode(stdin_default$1g, {
5510
+ return vue.createVNode(stdin_default$1h, {
5510
5511
  "key": item.id,
5511
5512
  "address": item,
5512
5513
  "disabled": disabled,
@@ -5526,13 +5527,13 @@ var stdin_default$1f = vue.defineComponent({
5526
5527
  }
5527
5528
  };
5528
5529
  const renderBottom = () => vue.createVNode("div", {
5529
- "class": [bem$12("bottom"), "van-safe-area-bottom"]
5530
+ "class": [bem$13("bottom"), "van-safe-area-bottom"]
5530
5531
  }, [vue.createVNode(Button, {
5531
5532
  "round": true,
5532
5533
  "block": true,
5533
5534
  "type": "primary",
5534
5535
  "text": props.addButtonText || t$h("add"),
5535
- "class": bem$12("add"),
5536
+ "class": bem$13("add"),
5536
5537
  "onClick": () => emit("add")
5537
5538
  }, null)]);
5538
5539
  return () => {
@@ -5540,10 +5541,10 @@ var stdin_default$1f = vue.defineComponent({
5540
5541
  const List2 = renderList(props.list);
5541
5542
  const DisabledList = renderList(props.disabledList, true);
5542
5543
  const DisabledText = props.disabledText && vue.createVNode("div", {
5543
- "class": bem$12("disabled-text")
5544
+ "class": bem$13("disabled-text")
5544
5545
  }, [props.disabledText]);
5545
5546
  return vue.createVNode("div", {
5546
- "class": bem$12()
5547
+ "class": bem$13()
5547
5548
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5548
5549
  "modelValue": props.modelValue
5549
5550
  }, {
@@ -5552,7 +5553,7 @@ var stdin_default$1f = vue.defineComponent({
5552
5553
  };
5553
5554
  }
5554
5555
  });
5555
- const AddressList = withInstall(stdin_default$1f);
5556
+ const AddressList = withInstall(stdin_default$1g);
5556
5557
  const hasIntersectionObserver = use.inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5557
5558
  const modeType = {
5558
5559
  event: "event",
@@ -5705,7 +5706,7 @@ class ImageCache {
5705
5706
  this.caches.shift();
5706
5707
  }
5707
5708
  }
5708
- const [name$15, bem$11] = createNamespace("back-top");
5709
+ const [name$16, bem$12] = createNamespace("back-top");
5709
5710
  const backTopProps = {
5710
5711
  right: numericProp,
5711
5712
  bottom: numericProp,
@@ -5718,8 +5719,8 @@ const backTopProps = {
5718
5719
  default: "body"
5719
5720
  }
5720
5721
  };
5721
- var stdin_default$1e = vue.defineComponent({
5722
- name: name$15,
5722
+ var stdin_default$1f = vue.defineComponent({
5723
+ name: name$16,
5723
5724
  inheritAttrs: false,
5724
5725
  props: backTopProps,
5725
5726
  emits: ["click"],
@@ -5777,28 +5778,158 @@ var stdin_default$1e = vue.defineComponent({
5777
5778
  vue.watch(() => props.target, updateTarget);
5778
5779
  return () => {
5779
5780
  const Content = vue.createVNode("div", vue.mergeProps({
5780
- "ref": root,
5781
- "class": bem$11({
5781
+ "ref": !props.teleport ? root : void 0,
5782
+ "class": bem$12({
5782
5783
  active: show.value
5783
5784
  }),
5784
5785
  "style": style.value,
5785
5786
  "onClick": onClick
5786
5787
  }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
5787
5788
  "name": "back-top",
5788
- "class": bem$11("icon")
5789
+ "class": bem$12("icon")
5789
5790
  }, null)]);
5790
5791
  if (props.teleport) {
5791
- return vue.createVNode(vue.Teleport, {
5792
+ return [vue.createVNode("div", {
5793
+ "ref": root,
5794
+ "class": bem$12("placeholder")
5795
+ }, null), vue.createVNode(vue.Teleport, {
5792
5796
  "to": props.teleport
5793
5797
  }, {
5794
5798
  default: () => [Content]
5795
- });
5799
+ })];
5796
5800
  }
5797
5801
  return Content;
5798
5802
  };
5799
5803
  }
5800
5804
  });
5801
- const BackTop = withInstall(stdin_default$1e);
5805
+ const BackTop = withInstall(stdin_default$1f);
5806
+ var __async = (__this, __arguments, generator) => {
5807
+ return new Promise((resolve, reject) => {
5808
+ var fulfilled = (value) => {
5809
+ try {
5810
+ step(generator.next(value));
5811
+ } catch (e) {
5812
+ reject(e);
5813
+ }
5814
+ };
5815
+ var rejected = (value) => {
5816
+ try {
5817
+ step(generator.throw(value));
5818
+ } catch (e) {
5819
+ reject(e);
5820
+ }
5821
+ };
5822
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
5823
+ step((generator = generator.apply(__this, __arguments)).next());
5824
+ });
5825
+ };
5826
+ const barrageProps = {
5827
+ top: makeNumericProp(10),
5828
+ rows: makeNumericProp(4),
5829
+ duration: makeNumericProp(4e3),
5830
+ autoPlay: truthProp,
5831
+ delay: makeNumberProp(300),
5832
+ modelValue: makeArrayProp()
5833
+ };
5834
+ const [name$15, bem$11] = createNamespace("barrage");
5835
+ var stdin_default$1e = vue.defineComponent({
5836
+ name: name$15,
5837
+ props: barrageProps,
5838
+ emits: ["update:modelValue"],
5839
+ setup(props, {
5840
+ emit,
5841
+ slots
5842
+ }) {
5843
+ const barrageWrapper = vue.ref();
5844
+ const className = bem$11("item");
5845
+ const total = vue.ref(0);
5846
+ const barrageItems = [];
5847
+ const createBarrageItem = (text, delay = props.delay) => {
5848
+ const item = document.createElement("span");
5849
+ item.className = className;
5850
+ item.innerText = String(text);
5851
+ item.style.animationDuration = `${props.duration}ms`;
5852
+ item.style.animationDelay = `${delay}ms`;
5853
+ item.style.animationName = "van-barrage";
5854
+ item.style.animationTimingFunction = "linear";
5855
+ return item;
5856
+ };
5857
+ const isInitBarrage = vue.ref(true);
5858
+ const isPlay = vue.ref(props.autoPlay);
5859
+ const appendBarrageItem = ({
5860
+ id,
5861
+ text
5862
+ }, i) => {
5863
+ var _a;
5864
+ const item = createBarrageItem(text, isInitBarrage.value ? i * props.delay : void 0);
5865
+ if (!props.autoPlay && isPlay.value === false) {
5866
+ item.style.animationPlayState = "paused";
5867
+ }
5868
+ (_a = barrageWrapper.value) == null ? void 0 : _a.append(item);
5869
+ total.value++;
5870
+ const top = (total.value - 1) % +props.rows * item.offsetHeight + +props.top;
5871
+ item.style.top = `${top}px`;
5872
+ item.dataset.id = String(id);
5873
+ barrageItems.push(item);
5874
+ item.addEventListener("animationend", () => {
5875
+ emit("update:modelValue", [...props.modelValue].filter((v) => String(v.id) !== item.dataset.id));
5876
+ });
5877
+ };
5878
+ const updateBarrages = (newValue, oldValue) => {
5879
+ const map = new Map(oldValue.map((item) => [item.id, item]));
5880
+ newValue.forEach((item, i) => {
5881
+ if (map.has(item.id)) {
5882
+ map.delete(item.id);
5883
+ } else {
5884
+ appendBarrageItem(item, i);
5885
+ }
5886
+ });
5887
+ map.forEach((item) => {
5888
+ const index = barrageItems.findIndex((span) => span.dataset.id === String(item.id));
5889
+ if (index > -1) {
5890
+ barrageItems[index].remove();
5891
+ barrageItems.splice(index, 1);
5892
+ }
5893
+ });
5894
+ isInitBarrage.value = false;
5895
+ };
5896
+ vue.watch(() => props.modelValue.slice(), (newValue, oldValue) => updateBarrages(newValue != null ? newValue : [], oldValue != null ? oldValue : []), {
5897
+ deep: true
5898
+ });
5899
+ const rootStyle = vue.ref({});
5900
+ vue.onMounted(() => __async(this, null, function* () {
5901
+ var _a;
5902
+ rootStyle.value["--move-distance"] = `-${(_a = barrageWrapper.value) == null ? void 0 : _a.offsetWidth}px`;
5903
+ yield vue.nextTick();
5904
+ updateBarrages(props.modelValue, []);
5905
+ }));
5906
+ const play = () => {
5907
+ isPlay.value = true;
5908
+ barrageItems.forEach((item) => {
5909
+ item.style.animationPlayState = "running";
5910
+ });
5911
+ };
5912
+ const pause = () => {
5913
+ isPlay.value = false;
5914
+ barrageItems.forEach((item) => {
5915
+ item.style.animationPlayState = "paused";
5916
+ });
5917
+ };
5918
+ useExpose({
5919
+ play,
5920
+ pause
5921
+ });
5922
+ return () => {
5923
+ var _a;
5924
+ return vue.createVNode("div", {
5925
+ "class": bem$11(),
5926
+ "ref": barrageWrapper,
5927
+ "style": rootStyle.value
5928
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5929
+ };
5930
+ }
5931
+ });
5932
+ const Barrage = withInstall(stdin_default$1e);
5802
5933
  const [name$14, bem$10, t$g] = createNamespace("calendar");
5803
5934
  const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
5804
5935
  function compareMonth(date1, date2) {
@@ -6960,6 +7091,7 @@ var stdin_default$17 = vue.defineComponent({
6960
7091
  }) {
6961
7092
  const tabs = vue.ref([]);
6962
7093
  const activeTab = vue.ref(0);
7094
+ const [selectedElementRefs, setSelectedElementRefs] = useRefs();
6963
7095
  const {
6964
7096
  text: textKey,
6965
7097
  value: valueKey,
@@ -7078,6 +7210,7 @@ var stdin_default$17 = vue.defineComponent({
7078
7210
  selected
7079
7211
  }) : vue.createVNode("span", null, [option[textKey]]);
7080
7212
  return vue.createVNode("li", {
7213
+ "ref": selected ? setSelectedElementRefs(tabIndex) : void 0,
7081
7214
  "role": "menuitemradio",
7082
7215
  "class": [bem$Z("option", {
7083
7216
  selected,
@@ -7134,7 +7267,18 @@ var stdin_default$17 = vue.defineComponent({
7134
7267
  }, {
7135
7268
  default: () => [tabs.value.map(renderTab)]
7136
7269
  });
7270
+ const scrollIntoView = (el) => {
7271
+ const scrollParent = el.parentElement;
7272
+ if (scrollParent) {
7273
+ scrollParent.scrollTop = el.offsetTop - (scrollParent.offsetHeight - el.offsetHeight) / 2;
7274
+ }
7275
+ };
7137
7276
  updateTabs();
7277
+ vue.watch(activeTab, (value) => {
7278
+ const el = selectedElementRefs.value[value];
7279
+ if (el)
7280
+ scrollIntoView(el);
7281
+ });
7138
7282
  vue.watch(() => props.options, updateTabs, {
7139
7283
  deep: true
7140
7284
  });
@@ -7318,7 +7462,7 @@ var stdin_default$14 = vue.defineComponent({
7318
7462
  checked
7319
7463
  });
7320
7464
  use.useCustomFieldValue(() => props.modelValue);
7321
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
7465
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
7322
7466
  "bem": bem$W,
7323
7467
  "role": "checkbox",
7324
7468
  "parent": parent,
@@ -7839,7 +7983,7 @@ var stdin_default$$ = vue.defineComponent({
7839
7983
  }
7840
7984
  });
7841
7985
  const CollapseItem = withInstall(stdin_default$$);
7842
- const ConfigProvider = withInstall(stdin_default$1L);
7986
+ const ConfigProvider = withInstall(stdin_default$1M);
7843
7987
  const [name$R, bem$Q, t$e] = createNamespace("contact-card");
7844
7988
  const contactCardProps = {
7845
7989
  tel: String,
@@ -8004,7 +8148,7 @@ var stdin_default$Y = vue.defineComponent({
8004
8148
  const renderRightIcon = () => vue.createVNode(Radio, {
8005
8149
  "class": bem$O("radio"),
8006
8150
  "name": item.id,
8007
- "iconSize": 16
8151
+ "iconSize": 18
8008
8152
  }, null);
8009
8153
  const renderEditIcon = () => vue.createVNode(Icon, {
8010
8154
  "name": "edit",
@@ -8788,6 +8932,7 @@ var stdin_default$S = vue.defineComponent({
8788
8932
  slots
8789
8933
  }) {
8790
8934
  const currentValues = vue.ref(props.modelValue);
8935
+ const updatedByExternalSources = vue.ref(false);
8791
8936
  const genYearOptions = () => {
8792
8937
  const minYear = props.minDate.getFullYear();
8793
8938
  const maxYear = props.maxDate.getFullYear();
@@ -8803,7 +8948,7 @@ var stdin_default$S = vue.defineComponent({
8803
8948
  columnsType
8804
8949
  } = props;
8805
8950
  const index = columnsType.indexOf(type);
8806
- const value = currentValues.value[index];
8951
+ const value = updatedByExternalSources.value ? props.modelValue[index] : currentValues.value[index];
8807
8952
  if (value) {
8808
8953
  return +value;
8809
8954
  }
@@ -8849,11 +8994,13 @@ var stdin_default$S = vue.defineComponent({
8849
8994
  emit("update:modelValue", newValues);
8850
8995
  }
8851
8996
  });
8852
- vue.watch(() => props.modelValue, (newValues) => {
8997
+ vue.watch(() => props.modelValue, (newValues, oldValues) => {
8998
+ updatedByExternalSources.value = isSameValue(oldValues, currentValues.value);
8853
8999
  newValues = formatValueRange(newValues, columns.value);
8854
9000
  if (!isSameValue(newValues, currentValues.value)) {
8855
9001
  currentValues.value = newValues;
8856
9002
  }
9003
+ updatedByExternalSources.value = false;
8857
9004
  }, {
8858
9005
  immediate: true
8859
9006
  });
@@ -9156,6 +9303,7 @@ const [name$H, bem$H] = createNamespace("divider");
9156
9303
  const dividerProps = {
9157
9304
  dashed: Boolean,
9158
9305
  hairline: truthProp,
9306
+ vertical: Boolean,
9159
9307
  contentPosition: makeStringProp("center")
9160
9308
  };
9161
9309
  var stdin_default$Q = vue.defineComponent({
@@ -9171,9 +9319,10 @@ var stdin_default$Q = vue.defineComponent({
9171
9319
  "class": bem$H({
9172
9320
  dashed: props.dashed,
9173
9321
  hairline: props.hairline,
9174
- [`content-${props.contentPosition}`]: !!slots.default
9322
+ vertical: props.vertical,
9323
+ [`content-${props.contentPosition}`]: !!slots.default && !props.vertical
9175
9324
  })
9176
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
9325
+ }, [!props.vertical && ((_a = slots.default) == null ? void 0 : _a.call(slots))]);
9177
9326
  };
9178
9327
  }
9179
9328
  });
@@ -9658,6 +9807,7 @@ const getCenter = (touches) => ({
9658
9807
  y: (touches[0].clientY + touches[1].clientY) / 2
9659
9808
  });
9660
9809
  const bem$C = createNamespace("image-preview")[1];
9810
+ const longImageRatio = 2.6;
9661
9811
  var stdin_default$L = vue.defineComponent({
9662
9812
  props: {
9663
9813
  src: String,
@@ -9680,21 +9830,14 @@ var stdin_default$L = vue.defineComponent({
9680
9830
  moveY: 0,
9681
9831
  moving: false,
9682
9832
  zooming: false,
9683
- imageRatio: 0,
9684
- displayWidth: 0,
9685
- displayHeight: 0
9833
+ imageRatio: 0
9686
9834
  });
9687
9835
  const touch = useTouch();
9688
9836
  const imageRef = vue.ref();
9689
9837
  const swipeItem = vue.ref();
9690
- const vertical = vue.computed(() => {
9691
- const {
9692
- rootWidth,
9693
- rootHeight
9694
- } = props;
9695
- const rootRatio = rootHeight / rootWidth;
9696
- return state.imageRatio > rootRatio;
9697
- });
9838
+ const vertical = vue.ref(false);
9839
+ const isLongImage = vue.ref(false);
9840
+ let initialMoveY = 0;
9698
9841
  const imageStyle = vue.computed(() => {
9699
9842
  const {
9700
9843
  scale,
@@ -9706,7 +9849,7 @@ var stdin_default$L = vue.defineComponent({
9706
9849
  const style = {
9707
9850
  transitionDuration: zooming || moving ? "0s" : ".3s"
9708
9851
  };
9709
- if (scale !== 1) {
9852
+ if (scale !== 1 || isLongImage.value) {
9710
9853
  style.transform = `matrix(${scale}, 0, 0, ${scale}, ${moveX}, ${moveY})`;
9711
9854
  }
9712
9855
  return style;
@@ -9751,7 +9894,7 @@ var stdin_default$L = vue.defineComponent({
9751
9894
  state.moveY = clamp(moveY, -maxMoveY.value, maxMoveY.value);
9752
9895
  } else {
9753
9896
  state.moveX = 0;
9754
- state.moveY = 0;
9897
+ state.moveY = isLongImage.value ? initialMoveY : 0;
9755
9898
  }
9756
9899
  emit("scale", {
9757
9900
  scale,
@@ -9764,7 +9907,7 @@ var stdin_default$L = vue.defineComponent({
9764
9907
  };
9765
9908
  const toggleScale = () => {
9766
9909
  const scale = state.scale > 1 ? 1 : 2;
9767
- setScale(scale, scale === 2 ? {
9910
+ setScale(scale, scale === 2 || isLongImage.value ? {
9768
9911
  x: touch.startX.value,
9769
9912
  y: touch.startY.value
9770
9913
  } : void 0);
@@ -9794,7 +9937,7 @@ var stdin_default$L = vue.defineComponent({
9794
9937
  startMoveY = state.moveY;
9795
9938
  touchStartTime = Date.now();
9796
9939
  isImageMoved = false;
9797
- state.moving = fingerNum === 1 && state.scale !== 1;
9940
+ state.moving = fingerNum === 1 && (state.scale !== 1 || isLongImage.value);
9798
9941
  state.zooming = fingerNum === 2 && !offsetX.value;
9799
9942
  if (state.zooming) {
9800
9943
  startScale = state.scale;
@@ -9890,12 +10033,30 @@ var stdin_default$L = vue.defineComponent({
9890
10033
  checkTap();
9891
10034
  touch.reset();
9892
10035
  };
10036
+ const resize = () => {
10037
+ const {
10038
+ rootWidth,
10039
+ rootHeight
10040
+ } = props;
10041
+ const rootRatio = rootHeight / rootWidth;
10042
+ const {
10043
+ imageRatio
10044
+ } = state;
10045
+ vertical.value = state.imageRatio > rootRatio && imageRatio < longImageRatio;
10046
+ isLongImage.value = state.imageRatio > rootRatio && imageRatio >= longImageRatio;
10047
+ if (isLongImage.value) {
10048
+ initialMoveY = (imageRatio * rootWidth - rootHeight) / 2;
10049
+ state.moveY = initialMoveY;
10050
+ }
10051
+ resetScale();
10052
+ };
9893
10053
  const onLoad = (event) => {
9894
10054
  const {
9895
10055
  naturalWidth,
9896
10056
  naturalHeight
9897
10057
  } = event.target;
9898
10058
  state.imageRatio = naturalHeight / naturalWidth;
10059
+ resize();
9899
10060
  };
9900
10061
  vue.watch(() => props.active, resetScale);
9901
10062
  vue.watch(() => props.show, (value) => {
@@ -9903,6 +10064,7 @@ var stdin_default$L = vue.defineComponent({
9903
10064
  resetScale();
9904
10065
  }
9905
10066
  });
10067
+ vue.watch(() => [props.rootWidth, props.rootHeight], resize);
9906
10068
  use.useEventListener("touchmove", onTouchMove, {
9907
10069
  target: vue.computed(() => {
9908
10070
  var _a;
@@ -11457,7 +11619,7 @@ var stdin_default$A = vue.defineComponent({
11457
11619
  }
11458
11620
  });
11459
11621
  const PasswordInput = withInstall(stdin_default$A);
11460
- const PickerGroup = withInstall(stdin_default$1u);
11622
+ const PickerGroup = withInstall(stdin_default$1v);
11461
11623
  const [name$r, bem$q] = createNamespace("popover");
11462
11624
  const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
11463
11625
  const popoverProps = {
@@ -12437,6 +12599,7 @@ const signatureProps = {
12437
12599
  penColor: makeStringProp("#000"),
12438
12600
  lineWidth: makeNumberProp(3),
12439
12601
  clearButtonText: String,
12602
+ backgroundColor: makeStringProp(""),
12440
12603
  confirmButtonText: String
12441
12604
  };
12442
12605
  const hasCanvasSupport = () => {
@@ -12456,7 +12619,8 @@ var stdin_default$r = vue.defineComponent({
12456
12619
  const state = vue.reactive({
12457
12620
  width: 0,
12458
12621
  height: 0,
12459
- ctx: null
12622
+ ctx: null,
12623
+ ratio: inBrowser ? window.devicePixelRatio : 1
12460
12624
  });
12461
12625
  let canvasRect;
12462
12626
  const isRenderCanvas = inBrowser ? hasCanvasSupport() : true;
@@ -12465,7 +12629,7 @@ var stdin_default$r = vue.defineComponent({
12465
12629
  return false;
12466
12630
  }
12467
12631
  state.ctx.beginPath();
12468
- state.ctx.lineWidth = props.lineWidth;
12632
+ state.ctx.lineWidth = props.lineWidth * state.ratio;
12469
12633
  state.ctx.strokeStyle = props.penColor;
12470
12634
  canvasRect = use.useRect(canvasRef);
12471
12635
  emit("start");
@@ -12477,8 +12641,8 @@ var stdin_default$r = vue.defineComponent({
12477
12641
  }
12478
12642
  preventDefault(event);
12479
12643
  const touch = event.touches[0];
12480
- const mouseX = touch.clientX - ((canvasRect == null ? void 0 : canvasRect.left) || 0);
12481
- const mouseY = touch.clientY - ((canvasRect == null ? void 0 : canvasRect.top) || 0);
12644
+ const mouseX = (touch.clientX - ((canvasRect == null ? void 0 : canvasRect.left) || 0)) * state.ratio;
12645
+ const mouseY = (touch.clientY - ((canvasRect == null ? void 0 : canvasRect.top) || 0)) * state.ratio;
12482
12646
  state.ctx.lineCap = "round";
12483
12647
  state.ctx.lineJoin = "round";
12484
12648
  (_a = state.ctx) == null ? void 0 : _a.lineTo(mouseX, mouseY);
@@ -12495,13 +12659,23 @@ var stdin_default$r = vue.defineComponent({
12495
12659
  empty.height = canvas.height;
12496
12660
  return canvas.toDataURL() === empty.toDataURL();
12497
12661
  };
12662
+ const setCanvasBgColor = () => {
12663
+ if (state.ctx && props.backgroundColor) {
12664
+ state.ctx.fillStyle = props.backgroundColor;
12665
+ state.ctx.fillRect(0, 0, state.width, state.height);
12666
+ }
12667
+ };
12498
12668
  const submit = () => {
12669
+ var _a, _b;
12499
12670
  const canvas = canvasRef.value;
12500
12671
  if (!canvas) {
12501
12672
  return;
12502
12673
  }
12503
12674
  const isEmpty = isCanvasEmpty(canvas);
12504
- const image = isEmpty ? "" : canvas.toDataURL(`image/${props.type}`, props.type === "jpg" ? 0.9 : null);
12675
+ const image = isEmpty ? "" : ((_b = (_a = {
12676
+ jpg: () => canvas.toDataURL("image/jpeg", 0.8),
12677
+ jpeg: () => canvas.toDataURL("image/jpeg", 0.8)
12678
+ })[props.type]) == null ? void 0 : _b.call(_a)) || canvas.toDataURL(`image/${props.type}`);
12505
12679
  emit("submit", {
12506
12680
  image,
12507
12681
  canvas
@@ -12511,6 +12685,7 @@ var stdin_default$r = vue.defineComponent({
12511
12685
  if (state.ctx) {
12512
12686
  state.ctx.clearRect(0, 0, state.width, state.height);
12513
12687
  state.ctx.closePath();
12688
+ setCanvasBgColor();
12514
12689
  }
12515
12690
  emit("clear");
12516
12691
  };
@@ -12518,8 +12693,11 @@ var stdin_default$r = vue.defineComponent({
12518
12693
  var _a, _b, _c;
12519
12694
  if (isRenderCanvas) {
12520
12695
  state.ctx = (_a = canvasRef.value) == null ? void 0 : _a.getContext("2d");
12521
- state.width = ((_b = wrapRef.value) == null ? void 0 : _b.offsetWidth) || 0;
12522
- state.height = ((_c = wrapRef.value) == null ? void 0 : _c.offsetHeight) || 0;
12696
+ state.width = (((_b = wrapRef.value) == null ? void 0 : _b.offsetWidth) || 0) * state.ratio;
12697
+ state.height = (((_c = wrapRef.value) == null ? void 0 : _c.offsetHeight) || 0) * state.ratio;
12698
+ vue.nextTick(() => {
12699
+ setCanvasBgColor();
12700
+ });
12523
12701
  }
12524
12702
  });
12525
12703
  return () => vue.createVNode("div", {
@@ -14230,10 +14408,11 @@ var stdin_default$6 = vue.defineComponent({
14230
14408
  imageFit: String,
14231
14409
  lazyLoad: Boolean,
14232
14410
  deletable: Boolean,
14411
+ reupload: Boolean,
14233
14412
  previewSize: [Number, String, Array],
14234
14413
  beforeDelete: Function
14235
14414
  },
14236
- emits: ["delete", "preview"],
14415
+ emits: ["delete", "preview", "reupload"],
14237
14416
  setup(props, {
14238
14417
  emit,
14239
14418
  slots
@@ -14275,6 +14454,7 @@ var stdin_default$6 = vue.defineComponent({
14275
14454
  });
14276
14455
  };
14277
14456
  const onPreview = () => emit("preview");
14457
+ const onReupload = () => emit("reupload");
14278
14458
  const renderDeleteIcon = () => {
14279
14459
  if (props.deletable && props.item.status !== "uploading") {
14280
14460
  const slot = slots["preview-delete"];
@@ -14310,7 +14490,8 @@ var stdin_default$6 = vue.defineComponent({
14310
14490
  item,
14311
14491
  lazyLoad,
14312
14492
  imageFit,
14313
- previewSize
14493
+ previewSize,
14494
+ reupload
14314
14495
  } = props;
14315
14496
  if (isImageFile(item)) {
14316
14497
  return vue.createVNode(Image$1, {
@@ -14320,7 +14501,7 @@ var stdin_default$6 = vue.defineComponent({
14320
14501
  "width": Array.isArray(previewSize) ? previewSize[0] : previewSize,
14321
14502
  "height": Array.isArray(previewSize) ? previewSize[1] : previewSize,
14322
14503
  "lazyLoad": lazyLoad,
14323
- "onClick": onPreview
14504
+ "onClick": reupload ? onReupload : onPreview
14324
14505
  }, {
14325
14506
  default: renderCover
14326
14507
  });
@@ -14354,6 +14535,7 @@ const uploaderProps = {
14354
14535
  uploadIcon: makeStringProp("photograph"),
14355
14536
  uploadText: String,
14356
14537
  deletable: truthProp,
14538
+ reupload: Boolean,
14357
14539
  afterRead: Function,
14358
14540
  showUpload: truthProp,
14359
14541
  modelValue: makeArrayProp(),
@@ -14371,13 +14553,14 @@ const uploaderProps = {
14371
14553
  var stdin_default$5 = vue.defineComponent({
14372
14554
  name: name$1,
14373
14555
  props: uploaderProps,
14374
- emits: ["delete", "oversize", "clickUpload", "closePreview", "clickPreview", "update:modelValue"],
14556
+ emits: ["delete", "oversize", "clickUpload", "closePreview", "clickPreview", "clickReupload", "update:modelValue"],
14375
14557
  setup(props, {
14376
14558
  emit,
14377
14559
  slots
14378
14560
  }) {
14379
14561
  const inputRef = vue.ref();
14380
14562
  const urls = [];
14563
+ const reuploadIndex = vue.ref(-1);
14381
14564
  const getDetail = (index = props.modelValue.length) => ({
14382
14565
  name: props.name,
14383
14566
  index
@@ -14403,7 +14586,14 @@ var stdin_default$5 = vue.defineComponent({
14403
14586
  }
14404
14587
  }
14405
14588
  items = vue.reactive(items);
14406
- emit("update:modelValue", [...props.modelValue, ...toArray(items)]);
14589
+ if (reuploadIndex.value > -1) {
14590
+ const arr = [...props.modelValue];
14591
+ arr.splice(reuploadIndex.value, 1, items);
14592
+ emit("update:modelValue", arr);
14593
+ reuploadIndex.value = -1;
14594
+ } else {
14595
+ emit("update:modelValue", [...props.modelValue, ...toArray(items)]);
14596
+ }
14407
14597
  if (props.afterRead) {
14408
14598
  props.afterRead(items, getDetail());
14409
14599
  }
@@ -14504,15 +14694,20 @@ var stdin_default$5 = vue.defineComponent({
14504
14694
  emit("update:modelValue", fileList);
14505
14695
  emit("delete", item, getDetail(index));
14506
14696
  };
14697
+ const reuploadImage = (index) => {
14698
+ chooseFile();
14699
+ reuploadIndex.value = index;
14700
+ };
14507
14701
  const renderPreviewItem = (item, index) => {
14508
- const needPickData = ["imageFit", "deletable", "previewSize", "beforeDelete"];
14702
+ const needPickData = ["imageFit", "deletable", "reupload", "previewSize", "beforeDelete"];
14509
14703
  const previewData = extend(pick(props, needPickData), pick(item, needPickData, true));
14510
14704
  return vue.createVNode(stdin_default$6, vue.mergeProps({
14511
14705
  "item": item,
14512
14706
  "index": index,
14513
- "onClick": () => emit("clickPreview", item, getDetail(index)),
14707
+ "onClick": () => emit(props.reupload ? "clickReupload" : "clickPreview", item, getDetail(index)),
14514
14708
  "onDelete": () => deleteFile(item, index),
14515
- "onPreview": () => previewImage(item)
14709
+ "onPreview": () => previewImage(item),
14710
+ "onReupload": () => reuploadImage(index)
14516
14711
  }, pick(props, ["name", "lazyLoad"]), previewData), pick(slots, ["preview-cover", "preview-delete"]));
14517
14712
  };
14518
14713
  const renderPreviewList = () => {
@@ -14522,24 +14717,25 @@ var stdin_default$5 = vue.defineComponent({
14522
14717
  };
14523
14718
  const onClickUpload = (event) => emit("clickUpload", event);
14524
14719
  const renderUpload = () => {
14525
- if (props.modelValue.length >= +props.maxCount) {
14720
+ if (props.modelValue.length >= +props.maxCount && !props.reupload) {
14526
14721
  return;
14527
14722
  }
14723
+ const hideUploader = props.modelValue.length >= +props.maxCount && props.reupload;
14528
14724
  const Input = props.readonly ? null : vue.createVNode("input", {
14529
14725
  "ref": inputRef,
14530
14726
  "type": "file",
14531
14727
  "class": bem$1("input"),
14532
14728
  "accept": props.accept,
14533
14729
  "capture": props.capture,
14534
- "multiple": props.multiple,
14730
+ "multiple": props.multiple && reuploadIndex.value === -1,
14535
14731
  "disabled": props.disabled,
14536
14732
  "onChange": onChange
14537
14733
  }, null);
14538
14734
  if (slots.default) {
14539
- return vue.createVNode("div", {
14735
+ return vue.withDirectives(vue.createVNode("div", {
14540
14736
  "class": bem$1("input-wrapper"),
14541
14737
  "onClick": onClickUpload
14542
- }, [slots.default(), Input]);
14738
+ }, [slots.default(), Input]), [[vue.vShow, !hideUploader]]);
14543
14739
  }
14544
14740
  return vue.withDirectives(vue.createVNode("div", {
14545
14741
  "class": bem$1("upload", {
@@ -14552,7 +14748,7 @@ var stdin_default$5 = vue.defineComponent({
14552
14748
  "class": bem$1("upload-icon")
14553
14749
  }, null), props.uploadText && vue.createVNode("span", {
14554
14750
  "class": bem$1("upload-text")
14555
- }, [props.uploadText]), Input]), [[vue.vShow, props.showUpload]]);
14751
+ }, [props.uploadText]), Input]), [[vue.vShow, props.showUpload && !hideUploader]]);
14556
14752
  };
14557
14753
  const chooseFile = () => {
14558
14754
  if (inputRef.value && !props.disabled) {
@@ -15579,7 +15775,7 @@ const Lazyload = {
15579
15775
  });
15580
15776
  }
15581
15777
  };
15582
- const version = "4.3.2";
15778
+ const version = "4.4.0";
15583
15779
  function install(app) {
15584
15780
  const components = [
15585
15781
  ActionBar,
@@ -15591,6 +15787,7 @@ function install(app) {
15591
15787
  Area,
15592
15788
  BackTop,
15593
15789
  Badge,
15790
+ Barrage,
15594
15791
  Button,
15595
15792
  Calendar,
15596
15793
  Card,
@@ -15700,6 +15897,7 @@ exports.AddressList = AddressList;
15700
15897
  exports.Area = Area;
15701
15898
  exports.BackTop = BackTop;
15702
15899
  exports.Badge = Badge;
15900
+ exports.Barrage = Barrage;
15703
15901
  exports.Button = Button;
15704
15902
  exports.Calendar = Calendar;
15705
15903
  exports.Card = Card;
@@ -15799,6 +15997,7 @@ exports.allowMultipleToast = allowMultipleToast;
15799
15997
  exports.areaProps = areaProps;
15800
15998
  exports.backTopProps = backTopProps;
15801
15999
  exports.badgeProps = badgeProps;
16000
+ exports.barrageProps = barrageProps;
15802
16001
  exports.buttonProps = buttonProps;
15803
16002
  exports.calendarProps = calendarProps;
15804
16003
  exports.cardProps = cardProps;