vant 4.2.1 → 4.3.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 (167) hide show
  1. package/es/date-picker/utils.mjs +3 -4
  2. package/es/field/index.css +1 -1
  3. package/es/image/Image.mjs +1 -1
  4. package/es/index.d.ts +2 -1
  5. package/es/index.mjs +4 -1
  6. package/es/locale/lang/bg-BG.d.ts +2 -1
  7. package/es/locale/lang/bg-BG.mjs +2 -1
  8. package/es/locale/lang/bn-BD.d.ts +2 -1
  9. package/es/locale/lang/bn-BD.mjs +2 -1
  10. package/es/locale/lang/da-DK.d.ts +2 -1
  11. package/es/locale/lang/da-DK.mjs +2 -1
  12. package/es/locale/lang/de-DE-formal.d.ts +2 -1
  13. package/es/locale/lang/de-DE-formal.mjs +2 -1
  14. package/es/locale/lang/de-DE.d.ts +2 -1
  15. package/es/locale/lang/de-DE.mjs +2 -1
  16. package/es/locale/lang/el-GR.d.ts +2 -1
  17. package/es/locale/lang/el-GR.mjs +2 -1
  18. package/es/locale/lang/en-US.d.ts +2 -1
  19. package/es/locale/lang/en-US.mjs +2 -1
  20. package/es/locale/lang/eo-EO.d.ts +2 -1
  21. package/es/locale/lang/eo-EO.mjs +2 -1
  22. package/es/locale/lang/es-ES.d.ts +2 -1
  23. package/es/locale/lang/es-ES.mjs +2 -1
  24. package/es/locale/lang/fa-IR.d.ts +2 -1
  25. package/es/locale/lang/fa-IR.mjs +2 -1
  26. package/es/locale/lang/fr-FR.d.ts +2 -1
  27. package/es/locale/lang/fr-FR.mjs +2 -1
  28. package/es/locale/lang/he-IL.d.ts +2 -1
  29. package/es/locale/lang/he-IL.mjs +2 -1
  30. package/es/locale/lang/hi-IN.d.ts +2 -1
  31. package/es/locale/lang/hi-IN.mjs +2 -1
  32. package/es/locale/lang/id-ID.d.ts +2 -1
  33. package/es/locale/lang/id-ID.mjs +2 -1
  34. package/es/locale/lang/is-IS.d.ts +2 -1
  35. package/es/locale/lang/is-IS.mjs +2 -1
  36. package/es/locale/lang/it-IT.d.ts +2 -1
  37. package/es/locale/lang/it-IT.mjs +3 -10
  38. package/es/locale/lang/ja-JP.d.ts +2 -1
  39. package/es/locale/lang/ja-JP.mjs +2 -1
  40. package/es/locale/lang/km-KH.d.ts +2 -1
  41. package/es/locale/lang/km-KH.mjs +2 -1
  42. package/es/locale/lang/ko-KR.d.ts +2 -1
  43. package/es/locale/lang/ko-KR.mjs +2 -1
  44. package/es/locale/lang/la-LA.d.ts +2 -1
  45. package/es/locale/lang/la-LA.mjs +2 -1
  46. package/es/locale/lang/mm-MN.d.ts +2 -1
  47. package/es/locale/lang/mm-MN.mjs +2 -1
  48. package/es/locale/lang/nb-NO.d.ts +2 -1
  49. package/es/locale/lang/nb-NO.mjs +2 -1
  50. package/es/locale/lang/nl-NL.d.ts +2 -1
  51. package/es/locale/lang/nl-NL.mjs +2 -1
  52. package/es/locale/lang/pt-BR.d.ts +2 -1
  53. package/es/locale/lang/pt-BR.mjs +2 -1
  54. package/es/locale/lang/ro-RO.d.ts +2 -1
  55. package/es/locale/lang/ro-RO.mjs +2 -1
  56. package/es/locale/lang/ru-RU.d.ts +2 -1
  57. package/es/locale/lang/ru-RU.mjs +2 -1
  58. package/es/locale/lang/sv-SE.d.ts +2 -1
  59. package/es/locale/lang/sv-SE.mjs +2 -1
  60. package/es/locale/lang/th-TH.d.ts +2 -1
  61. package/es/locale/lang/th-TH.mjs +2 -1
  62. package/es/locale/lang/tr-TR.d.ts +2 -1
  63. package/es/locale/lang/tr-TR.mjs +2 -1
  64. package/es/locale/lang/uk-UA.d.ts +2 -1
  65. package/es/locale/lang/uk-UA.mjs +3 -10
  66. package/es/locale/lang/vi-VN.d.ts +2 -1
  67. package/es/locale/lang/vi-VN.mjs +2 -1
  68. package/es/locale/lang/zh-CN.d.ts +2 -1
  69. package/es/locale/lang/zh-CN.mjs +2 -1
  70. package/es/locale/lang/zh-HK.d.ts +2 -1
  71. package/es/locale/lang/zh-HK.mjs +2 -1
  72. package/es/locale/lang/zh-TW.d.ts +2 -1
  73. package/es/locale/lang/zh-TW.mjs +2 -1
  74. package/es/signature/Signature.d.ts +63 -0
  75. package/es/signature/Signature.mjs +129 -0
  76. package/es/signature/index.css +1 -0
  77. package/es/signature/index.d.ts +50 -0
  78. package/es/signature/index.mjs +8 -0
  79. package/es/signature/style/index.d.ts +1 -0
  80. package/es/signature/style/index.mjs +6 -0
  81. package/lib/date-picker/utils.js +2 -3
  82. package/lib/field/index.css +1 -1
  83. package/lib/image/Image.js +1 -1
  84. package/lib/index.css +1 -1
  85. package/lib/index.d.ts +2 -1
  86. package/lib/index.js +4 -1
  87. package/lib/locale/lang/bg-BG.d.ts +2 -1
  88. package/lib/locale/lang/bg-BG.js +2 -1
  89. package/lib/locale/lang/bn-BD.d.ts +2 -1
  90. package/lib/locale/lang/bn-BD.js +2 -1
  91. package/lib/locale/lang/da-DK.d.ts +2 -1
  92. package/lib/locale/lang/da-DK.js +2 -1
  93. package/lib/locale/lang/de-DE-formal.d.ts +2 -1
  94. package/lib/locale/lang/de-DE-formal.js +2 -1
  95. package/lib/locale/lang/de-DE.d.ts +2 -1
  96. package/lib/locale/lang/de-DE.js +2 -1
  97. package/lib/locale/lang/el-GR.d.ts +2 -1
  98. package/lib/locale/lang/el-GR.js +2 -1
  99. package/lib/locale/lang/en-US.d.ts +2 -1
  100. package/lib/locale/lang/en-US.js +2 -1
  101. package/lib/locale/lang/eo-EO.d.ts +2 -1
  102. package/lib/locale/lang/eo-EO.js +2 -1
  103. package/lib/locale/lang/es-ES.d.ts +2 -1
  104. package/lib/locale/lang/es-ES.js +2 -1
  105. package/lib/locale/lang/fa-IR.d.ts +2 -1
  106. package/lib/locale/lang/fa-IR.js +2 -1
  107. package/lib/locale/lang/fr-FR.d.ts +2 -1
  108. package/lib/locale/lang/fr-FR.js +2 -1
  109. package/lib/locale/lang/he-IL.d.ts +2 -1
  110. package/lib/locale/lang/he-IL.js +2 -1
  111. package/lib/locale/lang/hi-IN.d.ts +2 -1
  112. package/lib/locale/lang/hi-IN.js +2 -1
  113. package/lib/locale/lang/id-ID.d.ts +2 -1
  114. package/lib/locale/lang/id-ID.js +2 -1
  115. package/lib/locale/lang/is-IS.d.ts +2 -1
  116. package/lib/locale/lang/is-IS.js +2 -1
  117. package/lib/locale/lang/it-IT.d.ts +2 -1
  118. package/lib/locale/lang/it-IT.js +3 -10
  119. package/lib/locale/lang/ja-JP.d.ts +2 -1
  120. package/lib/locale/lang/ja-JP.js +2 -1
  121. package/lib/locale/lang/km-KH.d.ts +2 -1
  122. package/lib/locale/lang/km-KH.js +2 -1
  123. package/lib/locale/lang/ko-KR.d.ts +2 -1
  124. package/lib/locale/lang/ko-KR.js +2 -1
  125. package/lib/locale/lang/la-LA.d.ts +2 -1
  126. package/lib/locale/lang/la-LA.js +2 -1
  127. package/lib/locale/lang/mm-MN.d.ts +2 -1
  128. package/lib/locale/lang/mm-MN.js +2 -1
  129. package/lib/locale/lang/nb-NO.d.ts +2 -1
  130. package/lib/locale/lang/nb-NO.js +2 -1
  131. package/lib/locale/lang/nl-NL.d.ts +2 -1
  132. package/lib/locale/lang/nl-NL.js +2 -1
  133. package/lib/locale/lang/pt-BR.d.ts +2 -1
  134. package/lib/locale/lang/pt-BR.js +2 -1
  135. package/lib/locale/lang/ro-RO.d.ts +2 -1
  136. package/lib/locale/lang/ro-RO.js +2 -1
  137. package/lib/locale/lang/ru-RU.d.ts +2 -1
  138. package/lib/locale/lang/ru-RU.js +2 -1
  139. package/lib/locale/lang/sv-SE.d.ts +2 -1
  140. package/lib/locale/lang/sv-SE.js +2 -1
  141. package/lib/locale/lang/th-TH.d.ts +2 -1
  142. package/lib/locale/lang/th-TH.js +2 -1
  143. package/lib/locale/lang/tr-TR.d.ts +2 -1
  144. package/lib/locale/lang/tr-TR.js +2 -1
  145. package/lib/locale/lang/uk-UA.d.ts +2 -1
  146. package/lib/locale/lang/uk-UA.js +3 -10
  147. package/lib/locale/lang/vi-VN.d.ts +2 -1
  148. package/lib/locale/lang/vi-VN.js +2 -1
  149. package/lib/locale/lang/zh-CN.d.ts +2 -1
  150. package/lib/locale/lang/zh-CN.js +2 -1
  151. package/lib/locale/lang/zh-HK.d.ts +2 -1
  152. package/lib/locale/lang/zh-HK.js +2 -1
  153. package/lib/locale/lang/zh-TW.d.ts +2 -1
  154. package/lib/locale/lang/zh-TW.js +2 -1
  155. package/lib/signature/Signature.d.ts +63 -0
  156. package/lib/signature/Signature.js +148 -0
  157. package/lib/signature/index.css +1 -0
  158. package/lib/signature/index.d.ts +50 -0
  159. package/lib/signature/index.js +37 -0
  160. package/lib/signature/style/index.d.ts +1 -0
  161. package/lib/signature/style/index.js +6 -0
  162. package/lib/vant.cjs.js +909 -786
  163. package/lib/vant.es.js +909 -786
  164. package/lib/vant.js +909 -786
  165. package/lib/vant.min.js +1 -1
  166. package/lib/web-types.json +1 -1
  167. package/package.json +8 -8
package/lib/vant.cjs.js CHANGED
@@ -237,12 +237,13 @@ function deepAssign(to, from) {
237
237
  });
238
238
  return to;
239
239
  }
240
- var stdin_default$1O = {
240
+ var stdin_default$1P = {
241
241
  name: "姓名",
242
242
  tel: "电话",
243
243
  save: "保存",
244
- confirm: "确认",
244
+ clear: "清空",
245
245
  cancel: "取消",
246
+ confirm: "确认",
246
247
  delete: "删除",
247
248
  loading: "加载中...",
248
249
  noCoupon: "暂无优惠券",
@@ -300,7 +301,7 @@ var stdin_default$1O = {
300
301
  };
301
302
  const lang = vue.ref("zh-CN");
302
303
  const messages = vue.reactive({
303
- "zh-CN": stdin_default$1O
304
+ "zh-CN": stdin_default$1P
304
305
  });
305
306
  const Locale = {
306
307
  messages() {
@@ -315,11 +316,11 @@ const Locale = {
315
316
  }
316
317
  };
317
318
  const useCurrentLang = () => lang;
318
- var stdin_default$1N = Locale;
319
+ var stdin_default$1O = Locale;
319
320
  function createTranslate(name2) {
320
321
  const prefix = camelize(name2) + ".";
321
322
  return (path, ...args) => {
322
- const messages2 = stdin_default$1N.messages();
323
+ const messages2 = stdin_default$1O.messages();
323
324
  const message = get(messages2, prefix + path) || get(messages2, path);
324
325
  return isFunction(message) ? message(...args) : message;
325
326
  };
@@ -441,20 +442,20 @@ function usePlaceholder(contentRef, bem2) {
441
442
  }
442
443
  }, [renderContent()]);
443
444
  }
444
- const [name$1D, bem$1y] = createNamespace("action-bar");
445
- const ACTION_BAR_KEY = Symbol(name$1D);
445
+ const [name$1E, bem$1z] = createNamespace("action-bar");
446
+ const ACTION_BAR_KEY = Symbol(name$1E);
446
447
  const actionBarProps = {
447
448
  placeholder: Boolean,
448
449
  safeAreaInsetBottom: truthProp
449
450
  };
450
- var stdin_default$1M = vue.defineComponent({
451
- name: name$1D,
451
+ var stdin_default$1N = vue.defineComponent({
452
+ name: name$1E,
452
453
  props: actionBarProps,
453
454
  setup(props, {
454
455
  slots
455
456
  }) {
456
457
  const root = vue.ref();
457
- const renderPlaceholder = usePlaceholder(root, bem$1y);
458
+ const renderPlaceholder = usePlaceholder(root, bem$1z);
458
459
  const {
459
460
  linkChildren
460
461
  } = use.useChildren(ACTION_BAR_KEY);
@@ -463,7 +464,7 @@ var stdin_default$1M = vue.defineComponent({
463
464
  var _a;
464
465
  return vue.createVNode("div", {
465
466
  "ref": root,
466
- "class": [bem$1y(), {
467
+ "class": [bem$1z(), {
467
468
  "van-safe-area-bottom": props.safeAreaInsetBottom
468
469
  }]
469
470
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -476,7 +477,7 @@ var stdin_default$1M = vue.defineComponent({
476
477
  };
477
478
  }
478
479
  });
479
- const ActionBar = withInstall(stdin_default$1M);
480
+ const ActionBar = withInstall(stdin_default$1N);
480
481
  function useExpose(apis) {
481
482
  const instance2 = vue.getCurrentInstance();
482
483
  if (instance2) {
@@ -504,7 +505,7 @@ function useRoute() {
504
505
  const vm = vue.getCurrentInstance().proxy;
505
506
  return () => route(vm);
506
507
  }
507
- const [name$1C, bem$1x] = createNamespace("badge");
508
+ const [name$1D, bem$1y] = createNamespace("badge");
508
509
  const badgeProps = {
509
510
  dot: Boolean,
510
511
  max: numericProp,
@@ -515,8 +516,8 @@ const badgeProps = {
515
516
  showZero: truthProp,
516
517
  position: makeStringProp("top-right")
517
518
  };
518
- var stdin_default$1L = vue.defineComponent({
519
- name: name$1C,
519
+ var stdin_default$1M = vue.defineComponent({
520
+ name: name$1D,
520
521
  props: badgeProps,
521
522
  setup(props, {
522
523
  slots
@@ -579,7 +580,7 @@ var stdin_default$1L = vue.defineComponent({
579
580
  const renderBadge = () => {
580
581
  if (hasContent() || props.dot) {
581
582
  return vue.createVNode("div", {
582
- "class": bem$1x([props.position, {
583
+ "class": bem$1y([props.position, {
583
584
  dot: props.dot,
584
585
  fixed: !!slots.default
585
586
  }]),
@@ -593,7 +594,7 @@ var stdin_default$1L = vue.defineComponent({
593
594
  tag
594
595
  } = props;
595
596
  return vue.createVNode(tag, {
596
- "class": bem$1x("wrapper")
597
+ "class": bem$1y("wrapper")
597
598
  }, {
598
599
  default: () => [slots.default(), renderBadge()]
599
600
  });
@@ -602,14 +603,14 @@ var stdin_default$1L = vue.defineComponent({
602
603
  };
603
604
  }
604
605
  });
605
- const Badge = withInstall(stdin_default$1L);
606
+ const Badge = withInstall(stdin_default$1M);
606
607
  let globalZIndex = 2e3;
607
608
  const useGlobalZIndex = () => ++globalZIndex;
608
609
  const setGlobalZIndex = (val) => {
609
610
  globalZIndex = val;
610
611
  };
611
- const [name$1B, bem$1w] = createNamespace("config-provider");
612
- const CONFIG_PROVIDER_KEY = Symbol(name$1B);
612
+ const [name$1C, bem$1x] = createNamespace("config-provider");
613
+ const CONFIG_PROVIDER_KEY = Symbol(name$1C);
613
614
  const configProviderProps = {
614
615
  tag: makeStringProp("div"),
615
616
  theme: makeStringProp("light"),
@@ -626,8 +627,8 @@ function mapThemeVarsToCSSVars(themeVars) {
626
627
  });
627
628
  return cssVars;
628
629
  }
629
- var stdin_default$1K = vue.defineComponent({
630
- name: name$1B,
630
+ var stdin_default$1L = vue.defineComponent({
631
+ name: name$1C,
631
632
  props: configProviderProps,
632
633
  setup(props, {
633
634
  slots
@@ -659,7 +660,7 @@ var stdin_default$1K = vue.defineComponent({
659
660
  }
660
661
  });
661
662
  return () => vue.createVNode(props.tag, {
662
- "class": bem$1w(),
663
+ "class": bem$1x(),
663
664
  "style": style.value
664
665
  }, {
665
666
  default: () => {
@@ -669,7 +670,7 @@ var stdin_default$1K = vue.defineComponent({
669
670
  });
670
671
  }
671
672
  });
672
- const [name$1A, bem$1v] = createNamespace("icon");
673
+ const [name$1B, bem$1w] = createNamespace("icon");
673
674
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
674
675
  const iconProps = {
675
676
  dot: Boolean,
@@ -681,14 +682,14 @@ const iconProps = {
681
682
  badgeProps: Object,
682
683
  classPrefix: String
683
684
  };
684
- var stdin_default$1J = vue.defineComponent({
685
- name: name$1A,
685
+ var stdin_default$1K = vue.defineComponent({
686
+ name: name$1B,
686
687
  props: iconProps,
687
688
  setup(props, {
688
689
  slots
689
690
  }) {
690
691
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
691
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1v());
692
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1w());
692
693
  return () => {
693
694
  const {
694
695
  tag,
@@ -712,7 +713,7 @@ var stdin_default$1J = vue.defineComponent({
712
713
  default: () => {
713
714
  var _a;
714
715
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
715
- "class": bem$1v("image"),
716
+ "class": bem$1w("image"),
716
717
  "src": name2
717
718
  }, null)];
718
719
  }
@@ -720,13 +721,13 @@ var stdin_default$1J = vue.defineComponent({
720
721
  };
721
722
  }
722
723
  });
723
- const Icon = withInstall(stdin_default$1J);
724
- const [name$1z, bem$1u] = createNamespace("loading");
724
+ const Icon = withInstall(stdin_default$1K);
725
+ const [name$1A, bem$1v] = createNamespace("loading");
725
726
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
726
- "class": bem$1u("line", String(index + 1))
727
+ "class": bem$1v("line", String(index + 1))
727
728
  }, null));
728
729
  const CircularIcon = vue.createVNode("svg", {
729
- "class": bem$1u("circular"),
730
+ "class": bem$1v("circular"),
730
731
  "viewBox": "25 25 50 50"
731
732
  }, [vue.createVNode("circle", {
732
733
  "cx": "50",
@@ -742,8 +743,8 @@ const loadingProps = {
742
743
  textSize: numericProp,
743
744
  textColor: String
744
745
  };
745
- var stdin_default$1I = vue.defineComponent({
746
- name: name$1z,
746
+ var stdin_default$1J = vue.defineComponent({
747
+ name: name$1A,
747
748
  props: loadingProps,
748
749
  setup(props, {
749
750
  slots
@@ -754,7 +755,7 @@ var stdin_default$1I = vue.defineComponent({
754
755
  const renderIcon = () => {
755
756
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
756
757
  return vue.createVNode("span", {
757
- "class": bem$1u("spinner", props.type),
758
+ "class": bem$1v("spinner", props.type),
758
759
  "style": spinnerStyle.value
759
760
  }, [slots.icon ? slots.icon() : DefaultIcon]);
760
761
  };
@@ -762,7 +763,7 @@ var stdin_default$1I = vue.defineComponent({
762
763
  var _a;
763
764
  if (slots.default) {
764
765
  return vue.createVNode("span", {
765
- "class": bem$1u("text"),
766
+ "class": bem$1v("text"),
766
767
  "style": {
767
768
  fontSize: addUnit(props.textSize),
768
769
  color: (_a = props.textColor) != null ? _a : props.color
@@ -776,7 +777,7 @@ var stdin_default$1I = vue.defineComponent({
776
777
  vertical
777
778
  } = props;
778
779
  return vue.createVNode("div", {
779
- "class": bem$1u([type, {
780
+ "class": bem$1v([type, {
780
781
  vertical
781
782
  }]),
782
783
  "aria-live": "polite",
@@ -785,8 +786,8 @@ var stdin_default$1I = vue.defineComponent({
785
786
  };
786
787
  }
787
788
  });
788
- const Loading = withInstall(stdin_default$1I);
789
- const [name$1y, bem$1t] = createNamespace("button");
789
+ const Loading = withInstall(stdin_default$1J);
790
+ const [name$1z, bem$1u] = createNamespace("button");
790
791
  const buttonProps = extend({}, routeProps, {
791
792
  tag: makeStringProp("button"),
792
793
  text: String,
@@ -808,8 +809,8 @@ const buttonProps = extend({}, routeProps, {
808
809
  loadingType: String,
809
810
  iconPosition: makeStringProp("left")
810
811
  });
811
- var stdin_default$1H = vue.defineComponent({
812
- name: name$1y,
812
+ var stdin_default$1I = vue.defineComponent({
813
+ name: name$1z,
813
814
  props: buttonProps,
814
815
  emits: ["click"],
815
816
  setup(props, {
@@ -824,7 +825,7 @@ var stdin_default$1H = vue.defineComponent({
824
825
  return vue.createVNode(Loading, {
825
826
  "size": props.loadingSize,
826
827
  "type": props.loadingType,
827
- "class": bem$1t("loading")
828
+ "class": bem$1u("loading")
828
829
  }, null);
829
830
  };
830
831
  const renderIcon = () => {
@@ -833,13 +834,13 @@ var stdin_default$1H = vue.defineComponent({
833
834
  }
834
835
  if (slots.icon) {
835
836
  return vue.createVNode("div", {
836
- "class": bem$1t("icon")
837
+ "class": bem$1u("icon")
837
838
  }, [slots.icon()]);
838
839
  }
839
840
  if (props.icon) {
840
841
  return vue.createVNode(Icon, {
841
842
  "name": props.icon,
842
- "class": bem$1t("icon"),
843
+ "class": bem$1u("icon"),
843
844
  "classPrefix": props.iconPrefix
844
845
  }, null);
845
846
  }
@@ -853,7 +854,7 @@ var stdin_default$1H = vue.defineComponent({
853
854
  }
854
855
  if (text) {
855
856
  return vue.createVNode("span", {
856
- "class": bem$1t("text")
857
+ "class": bem$1u("text")
857
858
  }, [text]);
858
859
  }
859
860
  };
@@ -900,7 +901,7 @@ var stdin_default$1H = vue.defineComponent({
900
901
  nativeType,
901
902
  iconPosition
902
903
  } = props;
903
- const classes = [bem$1t([type, size, {
904
+ const classes = [bem$1u([type, size, {
904
905
  plain,
905
906
  block,
906
907
  round,
@@ -919,14 +920,14 @@ var stdin_default$1H = vue.defineComponent({
919
920
  "onClick": onClick
920
921
  }, {
921
922
  default: () => [vue.createVNode("div", {
922
- "class": bem$1t("content")
923
+ "class": bem$1u("content")
923
924
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
924
925
  });
925
926
  };
926
927
  }
927
928
  });
928
- const Button = withInstall(stdin_default$1H);
929
- const [name$1x, bem$1s] = createNamespace("action-bar-button");
929
+ const Button = withInstall(stdin_default$1I);
930
+ const [name$1y, bem$1t] = createNamespace("action-bar-button");
930
931
  const actionBarButtonProps = extend({}, routeProps, {
931
932
  type: String,
932
933
  text: String,
@@ -935,8 +936,8 @@ const actionBarButtonProps = extend({}, routeProps, {
935
936
  loading: Boolean,
936
937
  disabled: Boolean
937
938
  });
938
- var stdin_default$1G = vue.defineComponent({
939
- name: name$1x,
939
+ var stdin_default$1H = vue.defineComponent({
940
+ name: name$1y,
940
941
  props: actionBarButtonProps,
941
942
  setup(props, {
942
943
  slots
@@ -971,7 +972,7 @@ var stdin_default$1G = vue.defineComponent({
971
972
  disabled
972
973
  } = props;
973
974
  return vue.createVNode(Button, {
974
- "class": bem$1s([type, {
975
+ "class": bem$1t([type, {
975
976
  last: isLast.value,
976
977
  first: isFirst.value
977
978
  }]),
@@ -988,8 +989,8 @@ var stdin_default$1G = vue.defineComponent({
988
989
  };
989
990
  }
990
991
  });
991
- const ActionBarButton = withInstall(stdin_default$1G);
992
- const [name$1w, bem$1r] = createNamespace("action-bar-icon");
992
+ const ActionBarButton = withInstall(stdin_default$1H);
993
+ const [name$1x, bem$1s] = createNamespace("action-bar-icon");
993
994
  const actionBarIconProps = extend({}, routeProps, {
994
995
  dot: Boolean,
995
996
  text: String,
@@ -1000,8 +1001,8 @@ const actionBarIconProps = extend({}, routeProps, {
1000
1001
  badgeProps: Object,
1001
1002
  iconPrefix: String
1002
1003
  });
1003
- var stdin_default$1F = vue.defineComponent({
1004
- name: name$1w,
1004
+ var stdin_default$1G = vue.defineComponent({
1005
+ name: name$1x,
1005
1006
  props: actionBarIconProps,
1006
1007
  setup(props, {
1007
1008
  slots
@@ -1021,7 +1022,7 @@ var stdin_default$1F = vue.defineComponent({
1021
1022
  if (slots.icon) {
1022
1023
  return vue.createVNode(Badge, vue.mergeProps({
1023
1024
  "dot": dot,
1024
- "class": bem$1r("icon"),
1025
+ "class": bem$1s("icon"),
1025
1026
  "content": badge
1026
1027
  }, badgeProps2), {
1027
1028
  default: slots.icon
@@ -1033,20 +1034,20 @@ var stdin_default$1F = vue.defineComponent({
1033
1034
  "name": icon,
1034
1035
  "badge": badge,
1035
1036
  "color": color,
1036
- "class": [bem$1r("icon"), iconClass],
1037
+ "class": [bem$1s("icon"), iconClass],
1037
1038
  "badgeProps": badgeProps2,
1038
1039
  "classPrefix": iconPrefix
1039
1040
  }, null);
1040
1041
  };
1041
1042
  return () => vue.createVNode("div", {
1042
1043
  "role": "button",
1043
- "class": bem$1r(),
1044
+ "class": bem$1s(),
1044
1045
  "tabindex": 0,
1045
1046
  "onClick": route2
1046
1047
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1047
1048
  }
1048
1049
  });
1049
- const ActionBarIcon = withInstall(stdin_default$1F);
1050
+ const ActionBarIcon = withInstall(stdin_default$1G);
1050
1051
  const popupSharedProps = {
1051
1052
  // whether to show popup
1052
1053
  show: Boolean,
@@ -1197,7 +1198,7 @@ function useLazyRender(show) {
1197
1198
  );
1198
1199
  return (render) => () => inited.value ? render() : null;
1199
1200
  }
1200
- const [name$1v, bem$1q] = createNamespace("overlay");
1201
+ const [name$1w, bem$1r] = createNamespace("overlay");
1201
1202
  const overlayProps = {
1202
1203
  show: Boolean,
1203
1204
  zIndex: numericProp,
@@ -1207,8 +1208,8 @@ const overlayProps = {
1207
1208
  lazyRender: truthProp,
1208
1209
  customStyle: Object
1209
1210
  };
1210
- var stdin_default$1E = vue.defineComponent({
1211
- name: name$1v,
1211
+ var stdin_default$1F = vue.defineComponent({
1212
+ name: name$1w,
1212
1213
  props: overlayProps,
1213
1214
  setup(props, {
1214
1215
  slots
@@ -1229,7 +1230,7 @@ var stdin_default$1E = vue.defineComponent({
1229
1230
  return vue.withDirectives(vue.createVNode("div", {
1230
1231
  "ref": root,
1231
1232
  "style": style,
1232
- "class": [bem$1q(), props.className]
1233
+ "class": [bem$1r(), props.className]
1233
1234
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1234
1235
  });
1235
1236
  use.useEventListener("touchmove", onTouchMove, {
@@ -1243,7 +1244,7 @@ var stdin_default$1E = vue.defineComponent({
1243
1244
  });
1244
1245
  }
1245
1246
  });
1246
- const Overlay = withInstall(stdin_default$1E);
1247
+ const Overlay = withInstall(stdin_default$1F);
1247
1248
  const popupProps$2 = extend({}, popupSharedProps, {
1248
1249
  round: Boolean,
1249
1250
  position: makeStringProp("center"),
@@ -1256,9 +1257,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
1256
1257
  safeAreaInsetTop: Boolean,
1257
1258
  safeAreaInsetBottom: Boolean
1258
1259
  });
1259
- const [name$1u, bem$1p] = createNamespace("popup");
1260
- var stdin_default$1D = vue.defineComponent({
1261
- name: name$1u,
1260
+ const [name$1v, bem$1q] = createNamespace("popup");
1261
+ var stdin_default$1E = vue.defineComponent({
1262
+ name: name$1v,
1262
1263
  inheritAttrs: false,
1263
1264
  props: popupProps$2,
1264
1265
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1332,7 +1333,7 @@ var stdin_default$1D = vue.defineComponent({
1332
1333
  "role": "button",
1333
1334
  "tabindex": 0,
1334
1335
  "name": props.closeIcon,
1335
- "class": [bem$1p("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1336
+ "class": [bem$1q("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1336
1337
  "classPrefix": props.iconPrefix,
1337
1338
  "onClick": onClickCloseIcon
1338
1339
  }, null);
@@ -1354,7 +1355,7 @@ var stdin_default$1D = vue.defineComponent({
1354
1355
  "style": style.value,
1355
1356
  "role": "dialog",
1356
1357
  "tabindex": 0,
1357
- "class": [bem$1p({
1358
+ "class": [bem$1q({
1358
1359
  round,
1359
1360
  [position]: position
1360
1361
  }), {
@@ -1435,8 +1436,8 @@ var stdin_default$1D = vue.defineComponent({
1435
1436
  };
1436
1437
  }
1437
1438
  });
1438
- const Popup = withInstall(stdin_default$1D);
1439
- const [name$1t, bem$1o] = createNamespace("action-sheet");
1439
+ const Popup = withInstall(stdin_default$1E);
1440
+ const [name$1u, bem$1p] = createNamespace("action-sheet");
1440
1441
  const actionSheetProps = extend({}, popupSharedProps, {
1441
1442
  title: String,
1442
1443
  round: truthProp,
@@ -1450,8 +1451,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1450
1451
  safeAreaInsetBottom: truthProp
1451
1452
  });
1452
1453
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1453
- var stdin_default$1C = vue.defineComponent({
1454
- name: name$1t,
1454
+ var stdin_default$1D = vue.defineComponent({
1455
+ name: name$1u,
1455
1456
  props: actionSheetProps,
1456
1457
  emits: ["select", "cancel", "update:show"],
1457
1458
  setup(props, {
@@ -1466,10 +1467,10 @@ var stdin_default$1C = vue.defineComponent({
1466
1467
  const renderHeader = () => {
1467
1468
  if (props.title) {
1468
1469
  return vue.createVNode("div", {
1469
- "class": bem$1o("header")
1470
+ "class": bem$1p("header")
1470
1471
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1471
1472
  "name": props.closeIcon,
1472
- "class": [bem$1o("close"), HAPTICS_FEEDBACK],
1473
+ "class": [bem$1p("close"), HAPTICS_FEEDBACK],
1473
1474
  "onClick": onCancel
1474
1475
  }, null)]);
1475
1476
  }
@@ -1477,10 +1478,10 @@ var stdin_default$1C = vue.defineComponent({
1477
1478
  const renderCancel = () => {
1478
1479
  if (slots.cancel || props.cancelText) {
1479
1480
  return [vue.createVNode("div", {
1480
- "class": bem$1o("gap")
1481
+ "class": bem$1p("gap")
1481
1482
  }, null), vue.createVNode("button", {
1482
1483
  "type": "button",
1483
- "class": bem$1o("cancel"),
1484
+ "class": bem$1p("cancel"),
1484
1485
  "onClick": onCancel
1485
1486
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1486
1487
  }
@@ -1488,7 +1489,7 @@ var stdin_default$1C = vue.defineComponent({
1488
1489
  const renderActionContent = (action, index) => {
1489
1490
  if (action.loading) {
1490
1491
  return vue.createVNode(Loading, {
1491
- "class": bem$1o("loading-icon")
1492
+ "class": bem$1p("loading-icon")
1492
1493
  }, null);
1493
1494
  }
1494
1495
  if (slots.action) {
@@ -1498,9 +1499,9 @@ var stdin_default$1C = vue.defineComponent({
1498
1499
  });
1499
1500
  }
1500
1501
  return [vue.createVNode("span", {
1501
- "class": bem$1o("name")
1502
+ "class": bem$1p("name")
1502
1503
  }, [action.name]), action.subname && vue.createVNode("div", {
1503
- "class": bem$1o("subname")
1504
+ "class": bem$1p("subname")
1504
1505
  }, [action.subname])];
1505
1506
  };
1506
1507
  const renderAction = (action, index) => {
@@ -1528,7 +1529,7 @@ var stdin_default$1C = vue.defineComponent({
1528
1529
  "style": {
1529
1530
  color
1530
1531
  },
1531
- "class": [bem$1o("item", {
1532
+ "class": [bem$1p("item", {
1532
1533
  loading,
1533
1534
  disabled
1534
1535
  }), className],
@@ -1539,26 +1540,26 @@ var stdin_default$1C = vue.defineComponent({
1539
1540
  if (props.description || slots.description) {
1540
1541
  const content = slots.description ? slots.description() : props.description;
1541
1542
  return vue.createVNode("div", {
1542
- "class": bem$1o("description")
1543
+ "class": bem$1p("description")
1543
1544
  }, [content]);
1544
1545
  }
1545
1546
  };
1546
1547
  return () => vue.createVNode(Popup, vue.mergeProps({
1547
- "class": bem$1o(),
1548
+ "class": bem$1p(),
1548
1549
  "position": "bottom",
1549
1550
  "onUpdate:show": updateShow
1550
1551
  }, pick(props, popupInheritKeys$2)), {
1551
1552
  default: () => {
1552
1553
  var _a;
1553
1554
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1554
- "class": bem$1o("content")
1555
+ "class": bem$1p("content")
1555
1556
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1556
1557
  }
1557
1558
  });
1558
1559
  }
1559
1560
  });
1560
- const ActionSheet = withInstall(stdin_default$1C);
1561
- const [name$1s, bem$1n, t$j] = createNamespace("picker");
1561
+ const ActionSheet = withInstall(stdin_default$1D);
1562
+ const [name$1t, bem$1o, t$k] = createNamespace("picker");
1562
1563
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1563
1564
  function getColumnsType(columns, fields) {
1564
1565
  const firstColumn = columns[0];
@@ -1627,10 +1628,10 @@ function assignDefaultFields(fields) {
1627
1628
  const DEFAULT_DURATION = 200;
1628
1629
  const MOMENTUM_TIME = 300;
1629
1630
  const MOMENTUM_DISTANCE = 15;
1630
- const [name$1r, bem$1m] = createNamespace("picker-column");
1631
- const PICKER_KEY = Symbol(name$1r);
1632
- var stdin_default$1B = vue.defineComponent({
1633
- name: name$1r,
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,
1634
1635
  props: {
1635
1636
  value: numericProp,
1636
1637
  fields: makeRequiredProp(Object),
@@ -1769,7 +1770,7 @@ var stdin_default$1B = vue.defineComponent({
1769
1770
  role: "button",
1770
1771
  style: optionStyle,
1771
1772
  tabindex: disabled ? -1 : 0,
1772
- class: [bem$1m("item", {
1773
+ class: [bem$1n("item", {
1773
1774
  disabled,
1774
1775
  selected: value === props.value
1775
1776
  }), option.className],
@@ -1797,7 +1798,7 @@ var stdin_default$1B = vue.defineComponent({
1797
1798
  });
1798
1799
  return () => vue.createVNode("div", {
1799
1800
  "ref": root,
1800
- "class": bem$1m(),
1801
+ "class": bem$1n(),
1801
1802
  "onTouchstartPassive": onTouchStart,
1802
1803
  "onTouchend": onTouchEnd,
1803
1804
  "onTouchcancel": onTouchEnd
@@ -1808,12 +1809,12 @@ var stdin_default$1B = vue.defineComponent({
1808
1809
  transitionDuration: `${currentDuration.value}ms`,
1809
1810
  transitionProperty: currentDuration.value ? "all" : "none"
1810
1811
  },
1811
- "class": bem$1m("wrapper"),
1812
+ "class": bem$1n("wrapper"),
1812
1813
  "onTransitionend": stopMomentum
1813
1814
  }, [renderOptions()])]);
1814
1815
  }
1815
1816
  });
1816
- const [name$1q] = createNamespace("picker-toolbar");
1817
+ const [name$1r] = createNamespace("picker-toolbar");
1817
1818
  const pickerToolbarProps = {
1818
1819
  title: String,
1819
1820
  cancelButtonText: String,
@@ -1821,8 +1822,8 @@ const pickerToolbarProps = {
1821
1822
  };
1822
1823
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
1823
1824
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
1824
- var stdin_default$1A = vue.defineComponent({
1825
- name: name$1q,
1825
+ var stdin_default$1B = vue.defineComponent({
1826
+ name: name$1r,
1826
1827
  props: pickerToolbarProps,
1827
1828
  emits: ["confirm", "cancel"],
1828
1829
  setup(props, {
@@ -1835,30 +1836,30 @@ var stdin_default$1A = vue.defineComponent({
1835
1836
  }
1836
1837
  if (props.title) {
1837
1838
  return vue.createVNode("div", {
1838
- "class": [bem$1n("title"), "van-ellipsis"]
1839
+ "class": [bem$1o("title"), "van-ellipsis"]
1839
1840
  }, [props.title]);
1840
1841
  }
1841
1842
  };
1842
1843
  const onCancel = () => emit("cancel");
1843
1844
  const onConfirm = () => emit("confirm");
1844
1845
  const renderCancel = () => {
1845
- const text = props.cancelButtonText || t$j("cancel");
1846
+ const text = props.cancelButtonText || t$k("cancel");
1846
1847
  return vue.createVNode("button", {
1847
1848
  "type": "button",
1848
- "class": [bem$1n("cancel"), HAPTICS_FEEDBACK],
1849
+ "class": [bem$1o("cancel"), HAPTICS_FEEDBACK],
1849
1850
  "onClick": onCancel
1850
1851
  }, [slots.cancel ? slots.cancel() : text]);
1851
1852
  };
1852
1853
  const renderConfirm = () => {
1853
- const text = props.confirmButtonText || t$j("confirm");
1854
+ const text = props.confirmButtonText || t$k("confirm");
1854
1855
  return vue.createVNode("button", {
1855
1856
  "type": "button",
1856
- "class": [bem$1n("confirm"), HAPTICS_FEEDBACK],
1857
+ "class": [bem$1o("confirm"), HAPTICS_FEEDBACK],
1857
1858
  "onClick": onConfirm
1858
1859
  }, [slots.confirm ? slots.confirm() : text]);
1859
1860
  };
1860
1861
  return () => vue.createVNode("div", {
1861
- "class": bem$1n("toolbar")
1862
+ "class": bem$1o("toolbar")
1862
1863
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
1863
1864
  }
1864
1865
  });
@@ -1942,7 +1943,7 @@ function useVisibilityChange(target, onChange) {
1942
1943
  vue.onBeforeUnmount(unobserve);
1943
1944
  use.onMountedOrActivated(observe);
1944
1945
  }
1945
- const [name$1p, bem$1l] = createNamespace("sticky");
1946
+ const [name$1q, bem$1m] = createNamespace("sticky");
1946
1947
  const stickyProps = {
1947
1948
  zIndex: numericProp,
1948
1949
  position: makeStringProp("top"),
@@ -1950,8 +1951,8 @@ const stickyProps = {
1950
1951
  offsetTop: makeNumericProp(0),
1951
1952
  offsetBottom: makeNumericProp(0)
1952
1953
  };
1953
- var stdin_default$1z = vue.defineComponent({
1954
- name: name$1p,
1954
+ var stdin_default$1A = vue.defineComponent({
1955
+ name: name$1q,
1955
1956
  props: stickyProps,
1956
1957
  emits: ["scroll", "change"],
1957
1958
  setup(props, {
@@ -2064,7 +2065,7 @@ var stdin_default$1z = vue.defineComponent({
2064
2065
  "ref": root,
2065
2066
  "style": rootStyle.value
2066
2067
  }, [vue.createVNode("div", {
2067
- "class": bem$1l({
2068
+ "class": bem$1m({
2068
2069
  fixed: state.fixed && !isReset.value
2069
2070
  }),
2070
2071
  "style": stickyStyle.value
@@ -2072,8 +2073,8 @@ var stdin_default$1z = vue.defineComponent({
2072
2073
  };
2073
2074
  }
2074
2075
  });
2075
- const Sticky = withInstall(stdin_default$1z);
2076
- const [name$1o, bem$1k] = createNamespace("swipe");
2076
+ const Sticky = withInstall(stdin_default$1A);
2077
+ const [name$1p, bem$1l] = createNamespace("swipe");
2077
2078
  const swipeProps = {
2078
2079
  loop: truthProp,
2079
2080
  width: numericProp,
@@ -2088,9 +2089,9 @@ const swipeProps = {
2088
2089
  showIndicators: truthProp,
2089
2090
  stopPropagation: truthProp
2090
2091
  };
2091
- const SWIPE_KEY = Symbol(name$1o);
2092
- var stdin_default$1y = vue.defineComponent({
2093
- name: name$1o,
2092
+ const SWIPE_KEY = Symbol(name$1p);
2093
+ var stdin_default$1z = vue.defineComponent({
2094
+ name: name$1p,
2094
2095
  props: swipeProps,
2095
2096
  emits: ["change", "dragStart", "dragEnd"],
2096
2097
  setup(props, {
@@ -2368,7 +2369,7 @@ var stdin_default$1y = vue.defineComponent({
2368
2369
  } : void 0;
2369
2370
  return vue.createVNode("i", {
2370
2371
  "style": style,
2371
- "class": bem$1k("indicator", {
2372
+ "class": bem$1l("indicator", {
2372
2373
  active
2373
2374
  })
2374
2375
  }, null);
@@ -2382,7 +2383,7 @@ var stdin_default$1y = vue.defineComponent({
2382
2383
  }
2383
2384
  if (props.showIndicators && count.value > 1) {
2384
2385
  return vue.createVNode("div", {
2385
- "class": bem$1k("indicators", {
2386
+ "class": bem$1l("indicators", {
2386
2387
  vertical: props.vertical
2387
2388
  })
2388
2389
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2424,11 +2425,11 @@ var stdin_default$1y = vue.defineComponent({
2424
2425
  var _a;
2425
2426
  return vue.createVNode("div", {
2426
2427
  "ref": root,
2427
- "class": bem$1k()
2428
+ "class": bem$1l()
2428
2429
  }, [vue.createVNode("div", {
2429
2430
  "ref": track,
2430
2431
  "style": trackStyle.value,
2431
- "class": bem$1k("track", {
2432
+ "class": bem$1l("track", {
2432
2433
  vertical: props.vertical
2433
2434
  }),
2434
2435
  "onTouchstartPassive": onTouchStart,
@@ -2438,10 +2439,10 @@ var stdin_default$1y = vue.defineComponent({
2438
2439
  };
2439
2440
  }
2440
2441
  });
2441
- const Swipe = withInstall(stdin_default$1y);
2442
- const [name$1n, bem$1j] = createNamespace("tabs");
2443
- var stdin_default$1x = vue.defineComponent({
2444
- name: name$1n,
2442
+ const Swipe = withInstall(stdin_default$1z);
2443
+ const [name$1o, bem$1k] = createNamespace("tabs");
2444
+ var stdin_default$1y = vue.defineComponent({
2445
+ name: name$1o,
2445
2446
  props: {
2446
2447
  count: makeRequiredProp(Number),
2447
2448
  inited: Boolean,
@@ -2465,7 +2466,7 @@ var stdin_default$1x = vue.defineComponent({
2465
2466
  return vue.createVNode(Swipe, {
2466
2467
  "ref": swipeRef,
2467
2468
  "loop": false,
2468
- "class": bem$1j("track"),
2469
+ "class": bem$1k("track"),
2469
2470
  "duration": +props.duration * 1e3,
2470
2471
  "touchable": props.swipeable,
2471
2472
  "lazyRender": props.lazyRender,
@@ -2493,13 +2494,13 @@ var stdin_default$1x = vue.defineComponent({
2493
2494
  swipeRef
2494
2495
  });
2495
2496
  return () => vue.createVNode("div", {
2496
- "class": bem$1j("content", {
2497
+ "class": bem$1k("content", {
2497
2498
  animated: props.animated || props.swipeable
2498
2499
  })
2499
2500
  }, [renderChildren()]);
2500
2501
  }
2501
2502
  });
2502
- const [name$1m, bem$1i] = createNamespace("tabs");
2503
+ const [name$1n, bem$1j] = createNamespace("tabs");
2503
2504
  const tabsProps = {
2504
2505
  type: makeStringProp("line"),
2505
2506
  color: String,
@@ -2522,9 +2523,9 @@ const tabsProps = {
2522
2523
  titleActiveColor: String,
2523
2524
  titleInactiveColor: String
2524
2525
  };
2525
- const TABS_KEY = Symbol(name$1m);
2526
- var stdin_default$1w = vue.defineComponent({
2527
- name: name$1m,
2526
+ const TABS_KEY = Symbol(name$1n);
2527
+ var stdin_default$1x = vue.defineComponent({
2528
+ name: name$1n,
2528
2529
  props: tabsProps,
2529
2530
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2530
2531
  setup(props, {
@@ -2716,7 +2717,7 @@ var stdin_default$1w = vue.defineComponent({
2716
2717
  const renderLine = () => {
2717
2718
  if (props.type === "line" && children.length) {
2718
2719
  return vue.createVNode("div", {
2719
- "class": bem$1i("line"),
2720
+ "class": bem$1j("line"),
2720
2721
  "style": state.lineStyle
2721
2722
  }, null);
2722
2723
  }
@@ -2730,13 +2731,13 @@ var stdin_default$1w = vue.defineComponent({
2730
2731
  } = props;
2731
2732
  const Header = [vue.createVNode("div", {
2732
2733
  "ref": sticky ? void 0 : wrapRef,
2733
- "class": [bem$1i("wrap"), {
2734
+ "class": [bem$1j("wrap"), {
2734
2735
  [BORDER_TOP_BOTTOM]: type === "line" && border
2735
2736
  }]
2736
2737
  }, [vue.createVNode("div", {
2737
2738
  "ref": navRef,
2738
2739
  "role": "tablist",
2739
- "class": bem$1i("nav", [type, {
2740
+ "class": bem$1j("nav", [type, {
2740
2741
  shrink: props.shrink,
2741
2742
  complete: scrollable.value
2742
2743
  }]),
@@ -2809,14 +2810,14 @@ var stdin_default$1w = vue.defineComponent({
2809
2810
  });
2810
2811
  return () => vue.createVNode("div", {
2811
2812
  "ref": root,
2812
- "class": bem$1i([props.type])
2813
+ "class": bem$1j([props.type])
2813
2814
  }, [props.sticky ? vue.createVNode(Sticky, {
2814
2815
  "container": root.value,
2815
2816
  "offsetTop": offsetTopPx.value,
2816
2817
  "onScroll": onStickyScroll
2817
2818
  }, {
2818
2819
  default: () => [renderHeader()]
2819
- }) : renderHeader(), vue.createVNode(stdin_default$1x, {
2820
+ }) : renderHeader(), vue.createVNode(stdin_default$1y, {
2820
2821
  "ref": contentRef,
2821
2822
  "count": children.length,
2822
2823
  "inited": state.inited,
@@ -2836,9 +2837,9 @@ var stdin_default$1w = vue.defineComponent({
2836
2837
  });
2837
2838
  const TAB_STATUS_KEY = Symbol();
2838
2839
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
2839
- const [name$1l, bem$1h] = createNamespace("tab");
2840
+ const [name$1m, bem$1i] = createNamespace("tab");
2840
2841
  const TabTitle = vue.defineComponent({
2841
- name: name$1l,
2842
+ name: name$1m,
2842
2843
  props: {
2843
2844
  id: String,
2844
2845
  dot: Boolean,
@@ -2887,7 +2888,7 @@ const TabTitle = vue.defineComponent({
2887
2888
  });
2888
2889
  const renderText = () => {
2889
2890
  const Text = vue.createVNode("span", {
2890
- "class": bem$1h("text", {
2891
+ "class": bem$1i("text", {
2891
2892
  ellipsis: !props.scrollable
2892
2893
  })
2893
2894
  }, [slots.title ? slots.title() : props.title]);
@@ -2905,7 +2906,7 @@ const TabTitle = vue.defineComponent({
2905
2906
  return () => vue.createVNode("div", {
2906
2907
  "id": props.id,
2907
2908
  "role": "tab",
2908
- "class": [bem$1h([props.type, {
2909
+ "class": [bem$1i([props.type, {
2909
2910
  grow: props.scrollable && !props.shrink,
2910
2911
  shrink: props.shrink,
2911
2912
  active: props.isActive,
@@ -2919,9 +2920,9 @@ const TabTitle = vue.defineComponent({
2919
2920
  }, [renderText()]);
2920
2921
  }
2921
2922
  });
2922
- const [name$1k, bem$1g] = createNamespace("swipe-item");
2923
- var stdin_default$1v = vue.defineComponent({
2924
- name: name$1k,
2923
+ const [name$1l, bem$1h] = createNamespace("swipe-item");
2924
+ var stdin_default$1w = vue.defineComponent({
2925
+ name: name$1l,
2925
2926
  setup(props, {
2926
2927
  slots
2927
2928
  }) {
@@ -2986,14 +2987,14 @@ var stdin_default$1v = vue.defineComponent({
2986
2987
  return () => {
2987
2988
  var _a;
2988
2989
  return vue.createVNode("div", {
2989
- "class": bem$1g(),
2990
+ "class": bem$1h(),
2990
2991
  "style": style.value
2991
2992
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
2992
2993
  };
2993
2994
  }
2994
2995
  });
2995
- const SwipeItem = withInstall(stdin_default$1v);
2996
- const [name$1j, bem$1f] = createNamespace("tab");
2996
+ const SwipeItem = withInstall(stdin_default$1w);
2997
+ const [name$1k, bem$1g] = createNamespace("tab");
2997
2998
  const tabProps = extend({}, routeProps, {
2998
2999
  dot: Boolean,
2999
3000
  name: numericProp,
@@ -3004,8 +3005,8 @@ const tabProps = extend({}, routeProps, {
3004
3005
  titleStyle: [String, Object],
3005
3006
  showZeroBadge: truthProp
3006
3007
  });
3007
- var stdin_default$1u = vue.defineComponent({
3008
- name: name$1j,
3008
+ var stdin_default$1v = vue.defineComponent({
3009
+ name: name$1k,
3009
3010
  props: tabProps,
3010
3011
  setup(props, {
3011
3012
  slots
@@ -3093,7 +3094,7 @@ var stdin_default$1u = vue.defineComponent({
3093
3094
  return vue.createVNode(SwipeItem, {
3094
3095
  "id": id,
3095
3096
  "role": "tabpanel",
3096
- "class": bem$1f("panel-wrapper", {
3097
+ "class": bem$1g("panel-wrapper", {
3097
3098
  inactive: hasInactiveClass.value
3098
3099
  }),
3099
3100
  "tabindex": active.value ? 0 : -1,
@@ -3103,7 +3104,7 @@ var stdin_default$1u = vue.defineComponent({
3103
3104
  default: () => {
3104
3105
  var _a2;
3105
3106
  return [vue.createVNode("div", {
3106
- "class": bem$1f("panel")
3107
+ "class": bem$1g("panel")
3107
3108
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3108
3109
  }
3109
3110
  });
@@ -3113,23 +3114,23 @@ var stdin_default$1u = vue.defineComponent({
3113
3114
  return vue.withDirectives(vue.createVNode("div", {
3114
3115
  "id": id,
3115
3116
  "role": "tabpanel",
3116
- "class": bem$1f("panel"),
3117
+ "class": bem$1g("panel"),
3117
3118
  "tabindex": show ? 0 : -1,
3118
3119
  "aria-labelledby": label
3119
3120
  }, [Content]), [[vue.vShow, show]]);
3120
3121
  };
3121
3122
  }
3122
3123
  });
3123
- const Tab = withInstall(stdin_default$1u);
3124
- const Tabs = withInstall(stdin_default$1w);
3125
- const [name$1i, bem$1e] = createNamespace("picker-group");
3126
- const PICKER_GROUP_KEY = Symbol(name$1i);
3124
+ const Tab = withInstall(stdin_default$1v);
3125
+ const Tabs = withInstall(stdin_default$1x);
3126
+ const [name$1j, bem$1f] = createNamespace("picker-group");
3127
+ const PICKER_GROUP_KEY = Symbol(name$1j);
3127
3128
  const pickerGroupProps = extend({
3128
3129
  tabs: makeArrayProp(),
3129
3130
  nextStepText: String
3130
3131
  }, pickerToolbarProps);
3131
- var stdin_default$1t = vue.defineComponent({
3132
- name: name$1i,
3132
+ var stdin_default$1u = vue.defineComponent({
3133
+ name: name$1j,
3133
3134
  props: pickerGroupProps,
3134
3135
  emits: ["confirm", "cancel"],
3135
3136
  setup(props, {
@@ -3156,8 +3157,8 @@ var stdin_default$1t = vue.defineComponent({
3156
3157
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3157
3158
  const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
3158
3159
  return vue.createVNode("div", {
3159
- "class": bem$1e()
3160
- }, [vue.createVNode(stdin_default$1A, {
3160
+ "class": bem$1f()
3161
+ }, [vue.createVNode(stdin_default$1B, {
3161
3162
  "title": props.title,
3162
3163
  "cancelButtonText": props.cancelButtonText,
3163
3164
  "confirmButtonText": confirmButtonText,
@@ -3166,14 +3167,14 @@ var stdin_default$1t = vue.defineComponent({
3166
3167
  }, pick(slots, pickerToolbarSlots)), vue.createVNode(Tabs, {
3167
3168
  "active": activeTab.value,
3168
3169
  "onUpdate:active": ($event) => activeTab.value = $event,
3169
- "class": bem$1e("tabs"),
3170
+ "class": bem$1f("tabs"),
3170
3171
  "shrink": true,
3171
3172
  "animated": true,
3172
3173
  "lazyRender": false
3173
3174
  }, {
3174
3175
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3175
3176
  "title": title,
3176
- "titleClass": bem$1e("tab-title")
3177
+ "titleClass": bem$1f("tab-title")
3177
3178
  }, {
3178
3179
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3179
3180
  }))]
@@ -3196,8 +3197,8 @@ const pickerProps = extend({}, pickerSharedProps, {
3196
3197
  toolbarPosition: makeStringProp("top"),
3197
3198
  columnsFieldNames: Object
3198
3199
  });
3199
- var stdin_default$1s = vue.defineComponent({
3200
- name: name$1s,
3200
+ var stdin_default$1t = vue.defineComponent({
3201
+ name: name$1t,
3201
3202
  props: pickerProps,
3202
3203
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3203
3204
  setup(props, {
@@ -3278,7 +3279,7 @@ var stdin_default$1s = vue.defineComponent({
3278
3279
  return params;
3279
3280
  };
3280
3281
  const cancel = () => emit("cancel", getEventParams());
3281
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1B, {
3282
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1C, {
3282
3283
  "value": selectedValues.value[columnIndex],
3283
3284
  "fields": fields.value,
3284
3285
  "options": options,
@@ -3307,10 +3308,10 @@ var stdin_default$1s = vue.defineComponent({
3307
3308
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3308
3309
  };
3309
3310
  return [vue.createVNode("div", {
3310
- "class": bem$1n("mask"),
3311
+ "class": bem$1o("mask"),
3311
3312
  "style": maskStyle
3312
3313
  }, null), vue.createVNode("div", {
3313
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1n("frame")],
3314
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1o("frame")],
3314
3315
  "style": frameStyle
3315
3316
  }, null)];
3316
3317
  }
@@ -3322,13 +3323,13 @@ var stdin_default$1s = vue.defineComponent({
3322
3323
  };
3323
3324
  return vue.createVNode("div", {
3324
3325
  "ref": columnsRef,
3325
- "class": bem$1n("columns"),
3326
+ "class": bem$1o("columns"),
3326
3327
  "style": columnsStyle
3327
3328
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3328
3329
  };
3329
3330
  const renderToolbar = () => {
3330
3331
  if (props.showToolbar && !parent) {
3331
- return vue.createVNode(stdin_default$1A, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3332
+ return vue.createVNode(stdin_default$1B, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3332
3333
  "onConfirm": confirm,
3333
3334
  "onCancel": cancel
3334
3335
  }), pick(slots, pickerToolbarSlots));
@@ -3371,9 +3372,9 @@ var stdin_default$1s = vue.defineComponent({
3371
3372
  return () => {
3372
3373
  var _a, _b;
3373
3374
  return vue.createVNode("div", {
3374
- "class": bem$1n()
3375
+ "class": bem$1o()
3375
3376
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3376
- "class": bem$1n("loading")
3377
+ "class": bem$1o("loading")
3377
3378
  }, 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]);
3378
3379
  };
3379
3380
  }
@@ -3464,8 +3465,8 @@ function formatDataForCascade({
3464
3465
  }
3465
3466
  return options;
3466
3467
  }
3467
- const Picker = withInstall(stdin_default$1s);
3468
- const [name$1h, bem$1d] = createNamespace("area");
3468
+ const Picker = withInstall(stdin_default$1t);
3469
+ const [name$1i, bem$1e] = createNamespace("area");
3469
3470
  const areaProps = extend({}, pickerSharedProps, {
3470
3471
  modelValue: String,
3471
3472
  columnsNum: makeNumericProp(3),
@@ -3475,8 +3476,8 @@ const areaProps = extend({}, pickerSharedProps, {
3475
3476
  default: () => ({})
3476
3477
  }
3477
3478
  });
3478
- var stdin_default$1r = vue.defineComponent({
3479
- name: name$1h,
3479
+ var stdin_default$1s = vue.defineComponent({
3480
+ name: name$1i,
3480
3481
  props: areaProps,
3481
3482
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3482
3483
  setup(props, {
@@ -3523,7 +3524,7 @@ var stdin_default$1r = vue.defineComponent({
3523
3524
  "ref": picker,
3524
3525
  "modelValue": codes.value,
3525
3526
  "onUpdate:modelValue": ($event) => codes.value = $event,
3526
- "class": bem$1d(),
3527
+ "class": bem$1e(),
3527
3528
  "columns": columns.value,
3528
3529
  "onChange": onChange,
3529
3530
  "onCancel": onCancel,
@@ -3531,8 +3532,8 @@ var stdin_default$1r = vue.defineComponent({
3531
3532
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3532
3533
  }
3533
3534
  });
3534
- const Area = withInstall(stdin_default$1r);
3535
- const [name$1g, bem$1c] = createNamespace("cell");
3535
+ const Area = withInstall(stdin_default$1s);
3536
+ const [name$1h, bem$1d] = createNamespace("cell");
3536
3537
  const cellSharedProps = {
3537
3538
  tag: makeStringProp("div"),
3538
3539
  icon: String,
@@ -3556,8 +3557,8 @@ const cellSharedProps = {
3556
3557
  }
3557
3558
  };
3558
3559
  const cellProps = extend({}, cellSharedProps, routeProps);
3559
- var stdin_default$1q = vue.defineComponent({
3560
- name: name$1g,
3560
+ var stdin_default$1r = vue.defineComponent({
3561
+ name: name$1h,
3561
3562
  props: cellProps,
3562
3563
  setup(props, {
3563
3564
  slots
@@ -3567,7 +3568,7 @@ var stdin_default$1q = vue.defineComponent({
3567
3568
  const showLabel = slots.label || isDef(props.label);
3568
3569
  if (showLabel) {
3569
3570
  return vue.createVNode("div", {
3570
- "class": [bem$1c("label"), props.labelClass]
3571
+ "class": [bem$1d("label"), props.labelClass]
3571
3572
  }, [slots.label ? slots.label() : props.label]);
3572
3573
  }
3573
3574
  };
@@ -3579,7 +3580,7 @@ var stdin_default$1q = vue.defineComponent({
3579
3580
  return;
3580
3581
  }
3581
3582
  return vue.createVNode("div", {
3582
- "class": [bem$1c("title"), props.titleClass],
3583
+ "class": [bem$1d("title"), props.titleClass],
3583
3584
  "style": props.titleStyle
3584
3585
  }, [titleSlot || vue.createVNode("span", null, [props.title]), renderLabel()]);
3585
3586
  }
@@ -3589,7 +3590,7 @@ var stdin_default$1q = vue.defineComponent({
3589
3590
  const hasValue = slot || isDef(props.value);
3590
3591
  if (hasValue) {
3591
3592
  return vue.createVNode("div", {
3592
- "class": [bem$1c("value"), props.valueClass]
3593
+ "class": [bem$1d("value"), props.valueClass]
3593
3594
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3594
3595
  }
3595
3596
  };
@@ -3600,7 +3601,7 @@ var stdin_default$1q = vue.defineComponent({
3600
3601
  if (props.icon) {
3601
3602
  return vue.createVNode(Icon, {
3602
3603
  "name": props.icon,
3603
- "class": bem$1c("left-icon"),
3604
+ "class": bem$1d("left-icon"),
3604
3605
  "classPrefix": props.iconPrefix
3605
3606
  }, null);
3606
3607
  }
@@ -3613,7 +3614,7 @@ var stdin_default$1q = vue.defineComponent({
3613
3614
  const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
3614
3615
  return vue.createVNode(Icon, {
3615
3616
  "name": name2,
3616
- "class": bem$1c("right-icon")
3617
+ "class": bem$1d("right-icon")
3617
3618
  }, null);
3618
3619
  }
3619
3620
  };
@@ -3638,7 +3639,7 @@ var stdin_default$1q = vue.defineComponent({
3638
3639
  classes[size] = !!size;
3639
3640
  }
3640
3641
  return vue.createVNode(tag, {
3641
- "class": bem$1c(classes),
3642
+ "class": bem$1d(classes),
3642
3643
  "role": clickable ? "button" : void 0,
3643
3644
  "tabindex": clickable ? 0 : void 0,
3644
3645
  "onClick": route2
@@ -3651,8 +3652,8 @@ var stdin_default$1q = vue.defineComponent({
3651
3652
  };
3652
3653
  }
3653
3654
  });
3654
- const Cell = withInstall(stdin_default$1q);
3655
- const [name$1f, bem$1b] = createNamespace("form");
3655
+ const Cell = withInstall(stdin_default$1r);
3656
+ const [name$1g, bem$1c] = createNamespace("form");
3656
3657
  const formProps = {
3657
3658
  colon: Boolean,
3658
3659
  disabled: Boolean,
@@ -3671,8 +3672,8 @@ const formProps = {
3671
3672
  default: "onBlur"
3672
3673
  }
3673
3674
  };
3674
- var stdin_default$1p = vue.defineComponent({
3675
- name: name$1f,
3675
+ var stdin_default$1q = vue.defineComponent({
3676
+ name: name$1g,
3676
3677
  props: formProps,
3677
3678
  emits: ["submit", "failed"],
3678
3679
  setup(props, {
@@ -3798,13 +3799,13 @@ var stdin_default$1p = vue.defineComponent({
3798
3799
  return () => {
3799
3800
  var _a;
3800
3801
  return vue.createVNode("form", {
3801
- "class": bem$1b(),
3802
+ "class": bem$1c(),
3802
3803
  "onSubmit": onSubmit
3803
3804
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3804
3805
  };
3805
3806
  }
3806
3807
  });
3807
- const Form = withInstall(stdin_default$1p);
3808
+ const Form = withInstall(stdin_default$1q);
3808
3809
  function isEmptyValue(value) {
3809
3810
  if (Array.isArray(value)) {
3810
3811
  return !value.length;
@@ -3893,7 +3894,7 @@ function getStringLength(str) {
3893
3894
  function cutString(str, maxlength) {
3894
3895
  return [...str].slice(0, maxlength).join("");
3895
3896
  }
3896
- const [name$1e, bem$1a] = createNamespace("field");
3897
+ const [name$1f, bem$1b] = createNamespace("field");
3897
3898
  const fieldSharedProps = {
3898
3899
  id: String,
3899
3900
  name: String,
@@ -3940,8 +3941,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3940
3941
  default: null
3941
3942
  }
3942
3943
  });
3943
- var stdin_default$1o = vue.defineComponent({
3944
- name: name$1e,
3944
+ var stdin_default$1p = vue.defineComponent({
3945
+ name: name$1f,
3945
3946
  props: fieldProps,
3946
3947
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
3947
3948
  setup(props, {
@@ -4215,7 +4216,7 @@ var stdin_default$1o = vue.defineComponent({
4215
4216
  const getInputId = () => props.id || `${id}-input`;
4216
4217
  const getValidationStatus = () => state.status;
4217
4218
  const renderInput = () => {
4218
- const controlClass = bem$1a("control", [getProp("inputAlign"), {
4219
+ const controlClass = bem$1b("control", [getProp("inputAlign"), {
4219
4220
  error: showError.value,
4220
4221
  custom: !!slots.input,
4221
4222
  "min-height": props.type === "textarea" && !props.autosize
@@ -4257,7 +4258,7 @@ var stdin_default$1o = vue.defineComponent({
4257
4258
  const leftIconSlot = slots["left-icon"];
4258
4259
  if (props.leftIcon || leftIconSlot) {
4259
4260
  return vue.createVNode("div", {
4260
- "class": bem$1a("left-icon"),
4261
+ "class": bem$1b("left-icon"),
4261
4262
  "onClick": onClickLeftIcon
4262
4263
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4263
4264
  "name": props.leftIcon,
@@ -4269,7 +4270,7 @@ var stdin_default$1o = vue.defineComponent({
4269
4270
  const rightIconSlot = slots["right-icon"];
4270
4271
  if (props.rightIcon || rightIconSlot) {
4271
4272
  return vue.createVNode("div", {
4272
- "class": bem$1a("right-icon"),
4273
+ "class": bem$1b("right-icon"),
4273
4274
  "onClick": onClickRightIcon
4274
4275
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4275
4276
  "name": props.rightIcon,
@@ -4281,9 +4282,9 @@ var stdin_default$1o = vue.defineComponent({
4281
4282
  if (props.showWordLimit && props.maxlength) {
4282
4283
  const count = getStringLength(getModelValue());
4283
4284
  return vue.createVNode("div", {
4284
- "class": bem$1a("word-limit")
4285
+ "class": bem$1b("word-limit")
4285
4286
  }, [vue.createVNode("span", {
4286
- "class": bem$1a("word-num")
4287
+ "class": bem$1b("word-num")
4287
4288
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4288
4289
  }
4289
4290
  };
@@ -4296,7 +4297,7 @@ var stdin_default$1o = vue.defineComponent({
4296
4297
  const slot = slots["error-message"];
4297
4298
  const errorMessageAlign = getProp("errorMessageAlign");
4298
4299
  return vue.createVNode("div", {
4299
- "class": bem$1a("error-message", errorMessageAlign)
4300
+ "class": bem$1b("error-message", errorMessageAlign)
4300
4301
  }, [slot ? slot({
4301
4302
  message
4302
4303
  }) : message]);
@@ -4320,13 +4321,13 @@ var stdin_default$1o = vue.defineComponent({
4320
4321
  }
4321
4322
  };
4322
4323
  const renderFieldBody = () => [vue.createVNode("div", {
4323
- "class": bem$1a("body")
4324
+ "class": bem$1b("body")
4324
4325
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4325
4326
  "ref": clearIconRef,
4326
4327
  "name": props.clearIcon,
4327
- "class": bem$1a("clear")
4328
+ "class": bem$1b("clear")
4328
4329
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4329
- "class": bem$1a("button")
4330
+ "class": bem$1b("button")
4330
4331
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4331
4332
  useExpose({
4332
4333
  blur,
@@ -4370,7 +4371,7 @@ var stdin_default$1o = vue.defineComponent({
4370
4371
  };
4371
4372
  return vue.createVNode(Cell, {
4372
4373
  "size": props.size,
4373
- "class": bem$1a({
4374
+ "class": bem$1b({
4374
4375
  error: showError.value,
4375
4376
  disabled,
4376
4377
  [`label-${labelAlign}`]: labelAlign
@@ -4380,8 +4381,8 @@ var stdin_default$1o = vue.defineComponent({
4380
4381
  "isLink": props.isLink,
4381
4382
  "clickable": props.clickable,
4382
4383
  "titleStyle": labelStyle.value,
4383
- "valueClass": bem$1a("value"),
4384
- "titleClass": [bem$1a("label", [labelAlign, {
4384
+ "valueClass": bem$1b("value"),
4385
+ "titleClass": [bem$1b("label", [labelAlign, {
4385
4386
  required: props.required
4386
4387
  }]), props.labelClass],
4387
4388
  "arrowDirection": props.arrowDirection
@@ -4394,7 +4395,7 @@ var stdin_default$1o = vue.defineComponent({
4394
4395
  };
4395
4396
  }
4396
4397
  });
4397
- const Field = withInstall(stdin_default$1o);
4398
+ const Field = withInstall(stdin_default$1p);
4398
4399
  let lockCount = 0;
4399
4400
  function lockClick(lock) {
4400
4401
  if (lock) {
@@ -4409,7 +4410,7 @@ function lockClick(lock) {
4409
4410
  }
4410
4411
  }
4411
4412
  }
4412
- const [name$1d, bem$19] = createNamespace("toast");
4413
+ const [name$1e, bem$1a] = createNamespace("toast");
4413
4414
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4414
4415
  const toastProps = {
4415
4416
  icon: String,
@@ -4432,8 +4433,8 @@ const toastProps = {
4432
4433
  closeOnClick: Boolean,
4433
4434
  closeOnClickOverlay: Boolean
4434
4435
  };
4435
- var stdin_default$1n = vue.defineComponent({
4436
- name: name$1d,
4436
+ var stdin_default$1o = vue.defineComponent({
4437
+ name: name$1e,
4437
4438
  props: toastProps,
4438
4439
  emits: ["update:show"],
4439
4440
  setup(props, {
@@ -4469,13 +4470,13 @@ var stdin_default$1n = vue.defineComponent({
4469
4470
  return vue.createVNode(Icon, {
4470
4471
  "name": icon || type,
4471
4472
  "size": iconSize,
4472
- "class": bem$19("icon"),
4473
+ "class": bem$1a("icon"),
4473
4474
  "classPrefix": iconPrefix
4474
4475
  }, null);
4475
4476
  }
4476
4477
  if (type === "loading") {
4477
4478
  return vue.createVNode(Loading, {
4478
- "class": bem$19("loading"),
4479
+ "class": bem$1a("loading"),
4479
4480
  "size": iconSize,
4480
4481
  "type": loadingType
4481
4482
  }, null);
@@ -4488,16 +4489,16 @@ var stdin_default$1n = vue.defineComponent({
4488
4489
  } = props;
4489
4490
  if (slots.message) {
4490
4491
  return vue.createVNode("div", {
4491
- "class": bem$19("text")
4492
+ "class": bem$1a("text")
4492
4493
  }, [slots.message()]);
4493
4494
  }
4494
4495
  if (isDef(message) && message !== "") {
4495
4496
  return type === "html" ? vue.createVNode("div", {
4496
4497
  "key": 0,
4497
- "class": bem$19("text"),
4498
+ "class": bem$1a("text"),
4498
4499
  "innerHTML": String(message)
4499
4500
  }, null) : vue.createVNode("div", {
4500
- "class": bem$19("text")
4501
+ "class": bem$1a("text")
4501
4502
  }, [message]);
4502
4503
  }
4503
4504
  };
@@ -4513,7 +4514,7 @@ var stdin_default$1n = vue.defineComponent({
4513
4514
  vue.onMounted(toggleClickable);
4514
4515
  vue.onUnmounted(toggleClickable);
4515
4516
  return () => vue.createVNode(Popup, vue.mergeProps({
4516
- "class": [bem$19([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4517
+ "class": [bem$1a([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4517
4518
  [props.type]: !props.icon
4518
4519
  }]), props.className],
4519
4520
  "lockScroll": false,
@@ -4614,7 +4615,7 @@ function createInstance() {
4614
4615
  onClosed,
4615
4616
  "onUpdate:show": toggle
4616
4617
  };
4617
- return vue.createVNode(stdin_default$1n, vue.mergeProps(state, attrs), null);
4618
+ return vue.createVNode(stdin_default$1o, vue.mergeProps(state, attrs), null);
4618
4619
  };
4619
4620
  vue.watch(message, (val) => {
4620
4621
  state.message = val;
@@ -4684,8 +4685,8 @@ const resetToastDefaultOptions = (type) => {
4684
4685
  const allowMultipleToast = (value = true) => {
4685
4686
  allowMultiple = value;
4686
4687
  };
4687
- const Toast = withInstall(stdin_default$1n);
4688
- const [name$1c, bem$18] = createNamespace("switch");
4688
+ const Toast = withInstall(stdin_default$1o);
4689
+ const [name$1d, bem$19] = createNamespace("switch");
4689
4690
  const switchProps = {
4690
4691
  size: numericProp,
4691
4692
  loading: Boolean,
@@ -4702,8 +4703,8 @@ const switchProps = {
4702
4703
  default: false
4703
4704
  }
4704
4705
  };
4705
- var stdin_default$1m = vue.defineComponent({
4706
- name: name$1c,
4706
+ var stdin_default$1n = vue.defineComponent({
4707
+ name: name$1d,
4707
4708
  props: switchProps,
4708
4709
  emits: ["change", "update:modelValue"],
4709
4710
  setup(props, {
@@ -4722,7 +4723,7 @@ var stdin_default$1m = vue.defineComponent({
4722
4723
  if (props.loading) {
4723
4724
  const color = isChecked() ? props.activeColor : props.inactiveColor;
4724
4725
  return vue.createVNode(Loading, {
4725
- "class": bem$18("loading"),
4726
+ "class": bem$19("loading"),
4726
4727
  "color": color
4727
4728
  }, null);
4728
4729
  }
@@ -4747,7 +4748,7 @@ var stdin_default$1m = vue.defineComponent({
4747
4748
  };
4748
4749
  return vue.createVNode("div", {
4749
4750
  "role": "switch",
4750
- "class": bem$18({
4751
+ "class": bem$19({
4751
4752
  on: checked,
4752
4753
  loading,
4753
4754
  disabled
@@ -4757,16 +4758,16 @@ var stdin_default$1m = vue.defineComponent({
4757
4758
  "aria-checked": checked,
4758
4759
  "onClick": onClick
4759
4760
  }, [vue.createVNode("div", {
4760
- "class": bem$18("node")
4761
+ "class": bem$19("node")
4761
4762
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4762
4763
  };
4763
4764
  }
4764
4765
  });
4765
- const Switch = withInstall(stdin_default$1m);
4766
- const [name$1b, bem$17] = createNamespace("address-edit-detail");
4767
- const t$i = createNamespace("address-edit")[2];
4768
- var stdin_default$1l = vue.defineComponent({
4769
- name: name$1b,
4766
+ const Switch = withInstall(stdin_default$1n);
4767
+ const [name$1c, bem$18] = createNamespace("address-edit-detail");
4768
+ const t$j = createNamespace("address-edit")[2];
4769
+ var stdin_default$1m = vue.defineComponent({
4770
+ name: name$1c,
4770
4771
  props: {
4771
4772
  show: Boolean,
4772
4773
  rows: numericProp,
@@ -4800,7 +4801,7 @@ var stdin_default$1l = vue.defineComponent({
4800
4801
  "icon": "location-o",
4801
4802
  "title": express.name,
4802
4803
  "label": express.address,
4803
- "class": bem$17("search-item"),
4804
+ "class": bem$18("search-item"),
4804
4805
  "border": false,
4805
4806
  "onClick": () => onSelect(express)
4806
4807
  }, null));
@@ -4814,15 +4815,15 @@ var stdin_default$1l = vue.defineComponent({
4814
4815
  "autosize": true,
4815
4816
  "clearable": true,
4816
4817
  "ref": field,
4817
- "class": bem$17(),
4818
+ "class": bem$18(),
4818
4819
  "rows": props.rows,
4819
4820
  "type": "textarea",
4820
4821
  "rules": props.rules,
4821
- "label": t$i("addressDetail"),
4822
+ "label": t$j("addressDetail"),
4822
4823
  "border": !showSearchResult(),
4823
4824
  "maxlength": props.maxlength,
4824
4825
  "modelValue": props.value,
4825
- "placeholder": t$i("addressDetail"),
4826
+ "placeholder": t$j("addressDetail"),
4826
4827
  "onBlur": onBlur,
4827
4828
  "onFocus": onFocus,
4828
4829
  "onUpdate:modelValue": onInput
@@ -4831,7 +4832,7 @@ var stdin_default$1l = vue.defineComponent({
4831
4832
  };
4832
4833
  }
4833
4834
  });
4834
- const [name$1a, bem$16, t$h] = createNamespace("address-edit");
4835
+ const [name$1b, bem$17, t$i] = createNamespace("address-edit");
4835
4836
  const DEFAULT_DATA = {
4836
4837
  name: "",
4837
4838
  tel: "",
@@ -4871,8 +4872,8 @@ const addressEditProps = {
4871
4872
  default: isMobile
4872
4873
  }
4873
4874
  };
4874
- var stdin_default$1k = vue.defineComponent({
4875
- name: name$1a,
4875
+ var stdin_default$1l = vue.defineComponent({
4876
+ name: name$1b,
4876
4877
  props: addressEditProps,
4877
4878
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
4878
4879
  setup(props, {
@@ -4928,13 +4929,13 @@ var stdin_default$1k = vue.defineComponent({
4928
4929
  }
4929
4930
  });
4930
4931
  return {
4931
- name: [makeRule("name", t$h("nameEmpty"))],
4932
- tel: [makeRule("tel", t$h("telInvalid")), {
4932
+ name: [makeRule("name", t$i("nameEmpty"))],
4933
+ tel: [makeRule("tel", t$i("telInvalid")), {
4933
4934
  validator: telValidator,
4934
- message: t$h("telInvalid")
4935
+ message: t$i("telInvalid")
4935
4936
  }],
4936
- areaCode: [makeRule("areaCode", t$h("areaEmpty"))],
4937
- addressDetail: [makeRule("addressDetail", t$h("addressEmpty"))]
4937
+ areaCode: [makeRule("areaCode", t$i("areaEmpty"))],
4938
+ addressDetail: [makeRule("addressDetail", t$i("addressEmpty"))]
4938
4939
  };
4939
4940
  });
4940
4941
  const onSave = () => emit("save", data);
@@ -4952,7 +4953,7 @@ var stdin_default$1k = vue.defineComponent({
4952
4953
  selectedOptions
4953
4954
  }) => {
4954
4955
  if (selectedValues.some((value) => value === AREA_EMPTY_CODE)) {
4955
- showToast(t$h("areaEmpty"));
4956
+ showToast(t$i("areaEmpty"));
4956
4957
  } else {
4957
4958
  showAreaPopup.value = false;
4958
4959
  assignAreaText(selectedOptions);
@@ -4982,8 +4983,8 @@ var stdin_default$1k = vue.defineComponent({
4982
4983
  };
4983
4984
  return vue.withDirectives(vue.createVNode(Cell, {
4984
4985
  "center": true,
4985
- "title": t$h("defaultAddress"),
4986
- "class": bem$16("default")
4986
+ "title": t$i("defaultAddress"),
4987
+ "class": bem$17("default")
4987
4988
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
4988
4989
  }
4989
4990
  };
@@ -5009,44 +5010,44 @@ var stdin_default$1k = vue.defineComponent({
5009
5010
  disableArea
5010
5011
  } = props;
5011
5012
  return vue.createVNode(Form, {
5012
- "class": bem$16(),
5013
+ "class": bem$17(),
5013
5014
  "onSubmit": onSave
5014
5015
  }, {
5015
5016
  default: () => {
5016
5017
  var _a;
5017
5018
  return [vue.createVNode("div", {
5018
- "class": bem$16("fields")
5019
+ "class": bem$17("fields")
5019
5020
  }, [vue.createVNode(Field, {
5020
5021
  "modelValue": data.name,
5021
5022
  "onUpdate:modelValue": ($event) => data.name = $event,
5022
5023
  "clearable": true,
5023
- "label": t$h("name"),
5024
+ "label": t$i("name"),
5024
5025
  "rules": rules.value.name,
5025
- "placeholder": t$h("name"),
5026
+ "placeholder": t$i("name"),
5026
5027
  "onFocus": () => onFocus("name")
5027
5028
  }, null), vue.createVNode(Field, {
5028
5029
  "modelValue": data.tel,
5029
5030
  "onUpdate:modelValue": ($event) => data.tel = $event,
5030
5031
  "clearable": true,
5031
5032
  "type": "tel",
5032
- "label": t$h("tel"),
5033
+ "label": t$i("tel"),
5033
5034
  "rules": rules.value.tel,
5034
5035
  "maxlength": props.telMaxlength,
5035
- "placeholder": t$h("tel"),
5036
+ "placeholder": t$i("tel"),
5036
5037
  "onFocus": () => onFocus("tel")
5037
5038
  }, null), vue.withDirectives(vue.createVNode(Field, {
5038
5039
  "readonly": true,
5039
- "label": t$h("area"),
5040
+ "label": t$i("area"),
5040
5041
  "is-link": !disableArea,
5041
5042
  "modelValue": areaText.value,
5042
5043
  "rules": rules.value.areaCode,
5043
- "placeholder": props.areaPlaceholder || t$h("area"),
5044
+ "placeholder": props.areaPlaceholder || t$i("area"),
5044
5045
  "onFocus": () => onFocus("areaCode"),
5045
5046
  "onClick": () => {
5046
5047
  emit("clickArea");
5047
5048
  showAreaPopup.value = !disableArea;
5048
5049
  }
5049
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1l, {
5050
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1m, {
5050
5051
  "show": props.showDetail,
5051
5052
  "rows": props.detailRows,
5052
5053
  "rules": rules.value.addressDetail,
@@ -5060,21 +5061,21 @@ var stdin_default$1k = vue.defineComponent({
5060
5061
  "onInput": onChangeDetail,
5061
5062
  "onSelectSearch": (event) => emit("selectSearch", event)
5062
5063
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5063
- "class": bem$16("buttons")
5064
+ "class": bem$17("buttons")
5064
5065
  }, [vue.createVNode(Button, {
5065
5066
  "block": true,
5066
5067
  "round": true,
5067
5068
  "type": "primary",
5068
- "text": props.saveButtonText || t$h("save"),
5069
- "class": bem$16("button"),
5069
+ "text": props.saveButtonText || t$i("save"),
5070
+ "class": bem$17("button"),
5070
5071
  "loading": props.isSaving,
5071
5072
  "nativeType": "submit"
5072
5073
  }, null), props.showDelete && vue.createVNode(Button, {
5073
5074
  "block": true,
5074
5075
  "round": true,
5075
- "class": bem$16("button"),
5076
+ "class": bem$17("button"),
5076
5077
  "loading": props.isDeleting,
5077
- "text": props.deleteButtonText || t$h("delete"),
5078
+ "text": props.deleteButtonText || t$i("delete"),
5078
5079
  "onClick": onDelete
5079
5080
  }, null)]), [[vue.vShow, !hideBottomFields.value]]), vue.createVNode(Popup, {
5080
5081
  "show": showAreaPopup.value,
@@ -5102,8 +5103,8 @@ var stdin_default$1k = vue.defineComponent({
5102
5103
  };
5103
5104
  }
5104
5105
  });
5105
- const AddressEdit = withInstall(stdin_default$1k);
5106
- const [name$19, bem$15] = createNamespace("radio-group");
5106
+ const AddressEdit = withInstall(stdin_default$1l);
5107
+ const [name$1a, bem$16] = createNamespace("radio-group");
5107
5108
  const radioGroupProps = {
5108
5109
  disabled: Boolean,
5109
5110
  iconSize: numericProp,
@@ -5111,9 +5112,9 @@ const radioGroupProps = {
5111
5112
  modelValue: unknownProp,
5112
5113
  checkedColor: String
5113
5114
  };
5114
- const RADIO_KEY = Symbol(name$19);
5115
- var stdin_default$1j = vue.defineComponent({
5116
- name: name$19,
5115
+ const RADIO_KEY = Symbol(name$1a);
5116
+ var stdin_default$1k = vue.defineComponent({
5117
+ name: name$1a,
5117
5118
  props: radioGroupProps,
5118
5119
  emits: ["change", "update:modelValue"],
5119
5120
  setup(props, {
@@ -5133,14 +5134,14 @@ var stdin_default$1j = vue.defineComponent({
5133
5134
  return () => {
5134
5135
  var _a;
5135
5136
  return vue.createVNode("div", {
5136
- "class": bem$15([props.direction]),
5137
+ "class": bem$16([props.direction]),
5137
5138
  "role": "radiogroup"
5138
5139
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5139
5140
  };
5140
5141
  }
5141
5142
  });
5142
- const RadioGroup = withInstall(stdin_default$1j);
5143
- const [name$18, bem$14] = createNamespace("tag");
5143
+ const RadioGroup = withInstall(stdin_default$1k);
5144
+ const [name$19, bem$15] = createNamespace("tag");
5144
5145
  const tagProps = {
5145
5146
  size: String,
5146
5147
  mark: Boolean,
@@ -5152,8 +5153,8 @@ const tagProps = {
5152
5153
  textColor: String,
5153
5154
  closeable: Boolean
5154
5155
  };
5155
- var stdin_default$1i = vue.defineComponent({
5156
- name: name$18,
5156
+ var stdin_default$1j = vue.defineComponent({
5157
+ name: name$19,
5157
5158
  props: tagProps,
5158
5159
  emits: ["close"],
5159
5160
  setup(props, {
@@ -5196,12 +5197,12 @@ var stdin_default$1i = vue.defineComponent({
5196
5197
  }
5197
5198
  const CloseIcon = closeable && vue.createVNode(Icon, {
5198
5199
  "name": "cross",
5199
- "class": [bem$14("close"), HAPTICS_FEEDBACK],
5200
+ "class": [bem$15("close"), HAPTICS_FEEDBACK],
5200
5201
  "onClick": onClose
5201
5202
  }, null);
5202
5203
  return vue.createVNode("span", {
5203
5204
  "style": getStyle(),
5204
- "class": bem$14([classes, type])
5205
+ "class": bem$15([classes, type])
5205
5206
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5206
5207
  };
5207
5208
  return () => vue.createVNode(vue.Transition, {
@@ -5211,7 +5212,7 @@ var stdin_default$1i = vue.defineComponent({
5211
5212
  });
5212
5213
  }
5213
5214
  });
5214
- const Tag = withInstall(stdin_default$1i);
5215
+ const Tag = withInstall(stdin_default$1j);
5215
5216
  const checkerProps = {
5216
5217
  name: unknownProp,
5217
5218
  shape: makeStringProp("round"),
@@ -5222,7 +5223,7 @@ const checkerProps = {
5222
5223
  labelPosition: String,
5223
5224
  labelDisabled: Boolean
5224
5225
  };
5225
- var stdin_default$1h = vue.defineComponent({
5226
+ var stdin_default$1i = vue.defineComponent({
5226
5227
  props: extend({}, checkerProps, {
5227
5228
  bem: makeRequiredProp(Function),
5228
5229
  role: String,
@@ -5312,9 +5313,9 @@ var stdin_default$1h = vue.defineComponent({
5312
5313
  }
5313
5314
  });
5314
5315
  const radioProps = checkerProps;
5315
- const [name$17, bem$13] = createNamespace("radio");
5316
- var stdin_default$1g = vue.defineComponent({
5317
- name: name$17,
5316
+ const [name$18, bem$14] = createNamespace("radio");
5317
+ var stdin_default$1h = vue.defineComponent({
5318
+ name: name$18,
5318
5319
  props: checkerProps,
5319
5320
  emits: ["update:modelValue"],
5320
5321
  setup(props, {
@@ -5335,8 +5336,8 @@ var stdin_default$1g = vue.defineComponent({
5335
5336
  emit("update:modelValue", props.name);
5336
5337
  }
5337
5338
  };
5338
- return () => vue.createVNode(stdin_default$1h, vue.mergeProps({
5339
- "bem": bem$13,
5339
+ return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5340
+ "bem": bem$14,
5340
5341
  "role": "radio",
5341
5342
  "parent": parent,
5342
5343
  "checked": checked(),
@@ -5344,10 +5345,10 @@ var stdin_default$1g = vue.defineComponent({
5344
5345
  }, props), pick(slots, ["default", "icon"]));
5345
5346
  }
5346
5347
  });
5347
- const Radio = withInstall(stdin_default$1g);
5348
- const [name$16, bem$12] = createNamespace("address-item");
5349
- var stdin_default$1f = vue.defineComponent({
5350
- name: name$16,
5348
+ const Radio = withInstall(stdin_default$1h);
5349
+ const [name$17, bem$13] = createNamespace("address-item");
5350
+ var stdin_default$1g = vue.defineComponent({
5351
+ name: name$17,
5351
5352
  props: {
5352
5353
  address: makeRequiredProp(Object),
5353
5354
  disabled: Boolean,
@@ -5367,7 +5368,7 @@ var stdin_default$1f = vue.defineComponent({
5367
5368
  };
5368
5369
  const renderRightIcon = () => vue.createVNode(Icon, {
5369
5370
  "name": "edit",
5370
- "class": bem$12("edit"),
5371
+ "class": bem$13("edit"),
5371
5372
  "onClick": (event) => {
5372
5373
  event.stopPropagation();
5373
5374
  emit("edit");
@@ -5382,7 +5383,7 @@ var stdin_default$1f = vue.defineComponent({
5382
5383
  return vue.createVNode(Tag, {
5383
5384
  "type": "primary",
5384
5385
  "round": true,
5385
- "class": bem$12("tag")
5386
+ "class": bem$13("tag")
5386
5387
  }, {
5387
5388
  default: () => [props.defaultTagText]
5388
5389
  });
@@ -5395,9 +5396,9 @@ var stdin_default$1f = vue.defineComponent({
5395
5396
  switchable
5396
5397
  } = props;
5397
5398
  const Info = [vue.createVNode("div", {
5398
- "class": bem$12("name")
5399
+ "class": bem$13("name")
5399
5400
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5400
- "class": bem$12("address")
5401
+ "class": bem$13("address")
5401
5402
  }, [address.address])];
5402
5403
  if (switchable && !disabled) {
5403
5404
  return vue.createVNode(Radio, {
@@ -5415,13 +5416,13 @@ var stdin_default$1f = vue.defineComponent({
5415
5416
  disabled
5416
5417
  } = props;
5417
5418
  return vue.createVNode("div", {
5418
- "class": bem$12({
5419
+ "class": bem$13({
5419
5420
  disabled
5420
5421
  }),
5421
5422
  "onClick": onClick
5422
5423
  }, [vue.createVNode(Cell, {
5423
5424
  "border": false,
5424
- "titleClass": bem$12("title")
5425
+ "titleClass": bem$13("title")
5425
5426
  }, {
5426
5427
  title: renderContent,
5427
5428
  "right-icon": renderRightIcon
@@ -5431,7 +5432,7 @@ var stdin_default$1f = vue.defineComponent({
5431
5432
  };
5432
5433
  }
5433
5434
  });
5434
- const [name$15, bem$11, t$g] = createNamespace("address-list");
5435
+ const [name$16, bem$12, t$h] = createNamespace("address-list");
5435
5436
  const addressListProps = {
5436
5437
  list: makeArrayProp(),
5437
5438
  modelValue: numericProp,
@@ -5441,8 +5442,8 @@ const addressListProps = {
5441
5442
  addButtonText: String,
5442
5443
  defaultTagText: String
5443
5444
  };
5444
- var stdin_default$1e = vue.defineComponent({
5445
- name: name$15,
5445
+ var stdin_default$1f = vue.defineComponent({
5446
+ name: name$16,
5446
5447
  props: addressListProps,
5447
5448
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5448
5449
  setup(props, {
@@ -5458,7 +5459,7 @@ var stdin_default$1e = vue.defineComponent({
5458
5459
  emit("update:modelValue", item.id);
5459
5460
  }
5460
5461
  };
5461
- return vue.createVNode(stdin_default$1f, {
5462
+ return vue.createVNode(stdin_default$1g, {
5462
5463
  "key": item.id,
5463
5464
  "address": item,
5464
5465
  "disabled": disabled,
@@ -5478,13 +5479,13 @@ var stdin_default$1e = vue.defineComponent({
5478
5479
  }
5479
5480
  };
5480
5481
  const renderBottom = () => vue.createVNode("div", {
5481
- "class": [bem$11("bottom"), "van-safe-area-bottom"]
5482
+ "class": [bem$12("bottom"), "van-safe-area-bottom"]
5482
5483
  }, [vue.createVNode(Button, {
5483
5484
  "round": true,
5484
5485
  "block": true,
5485
5486
  "type": "primary",
5486
- "text": props.addButtonText || t$g("add"),
5487
- "class": bem$11("add"),
5487
+ "text": props.addButtonText || t$h("add"),
5488
+ "class": bem$12("add"),
5488
5489
  "onClick": () => emit("add")
5489
5490
  }, null)]);
5490
5491
  return () => {
@@ -5492,10 +5493,10 @@ var stdin_default$1e = vue.defineComponent({
5492
5493
  const List2 = renderList(props.list);
5493
5494
  const DisabledList = renderList(props.disabledList, true);
5494
5495
  const DisabledText = props.disabledText && vue.createVNode("div", {
5495
- "class": bem$11("disabled-text")
5496
+ "class": bem$12("disabled-text")
5496
5497
  }, [props.disabledText]);
5497
5498
  return vue.createVNode("div", {
5498
- "class": bem$11()
5499
+ "class": bem$12()
5499
5500
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5500
5501
  "modelValue": props.modelValue
5501
5502
  }, {
@@ -5504,7 +5505,7 @@ var stdin_default$1e = vue.defineComponent({
5504
5505
  };
5505
5506
  }
5506
5507
  });
5507
- const AddressList = withInstall(stdin_default$1e);
5508
+ const AddressList = withInstall(stdin_default$1f);
5508
5509
  const hasIntersectionObserver = use.inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5509
5510
  const modeType = {
5510
5511
  event: "event",
@@ -5657,7 +5658,7 @@ class ImageCache {
5657
5658
  this.caches.shift();
5658
5659
  }
5659
5660
  }
5660
- const [name$14, bem$10] = createNamespace("back-top");
5661
+ const [name$15, bem$11] = createNamespace("back-top");
5661
5662
  const backTopProps = {
5662
5663
  right: numericProp,
5663
5664
  bottom: numericProp,
@@ -5670,8 +5671,8 @@ const backTopProps = {
5670
5671
  default: "body"
5671
5672
  }
5672
5673
  };
5673
- var stdin_default$1d = vue.defineComponent({
5674
- name: name$14,
5674
+ var stdin_default$1e = vue.defineComponent({
5675
+ name: name$15,
5675
5676
  inheritAttrs: false,
5676
5677
  props: backTopProps,
5677
5678
  emits: ["click"],
@@ -5730,14 +5731,14 @@ var stdin_default$1d = vue.defineComponent({
5730
5731
  return () => {
5731
5732
  const Content = vue.createVNode("div", vue.mergeProps({
5732
5733
  "ref": root,
5733
- "class": bem$10({
5734
+ "class": bem$11({
5734
5735
  active: show.value
5735
5736
  }),
5736
5737
  "style": style.value,
5737
5738
  "onClick": onClick
5738
5739
  }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
5739
5740
  "name": "back-top",
5740
- "class": bem$10("icon")
5741
+ "class": bem$11("icon")
5741
5742
  }, null)]);
5742
5743
  if (props.teleport) {
5743
5744
  return vue.createVNode(vue.Teleport, {
@@ -5750,9 +5751,9 @@ var stdin_default$1d = vue.defineComponent({
5750
5751
  };
5751
5752
  }
5752
5753
  });
5753
- const BackTop = withInstall(stdin_default$1d);
5754
- const [name$13, bem$$, t$f] = createNamespace("calendar");
5755
- const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
5754
+ const BackTop = withInstall(stdin_default$1e);
5755
+ const [name$14, bem$10, t$g] = createNamespace("calendar");
5756
+ const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
5756
5757
  function compareMonth(date1, date2) {
5757
5758
  const year1 = date1.getFullYear();
5758
5759
  const year2 = date2.getFullYear();
@@ -5825,16 +5826,15 @@ const genOptions = (min, max, type, formatter, filter) => {
5825
5826
  const formatValueRange = (values, columns) => values.map((value, index) => {
5826
5827
  const column = columns[index];
5827
5828
  if (column.length) {
5829
+ const minValue = +column[0].value;
5828
5830
  const maxValue = +column[column.length - 1].value;
5829
- if (+value > maxValue) {
5830
- return String(maxValue);
5831
- }
5831
+ return padZero(clamp(+value, minValue, maxValue));
5832
5832
  }
5833
5833
  return value;
5834
5834
  });
5835
- const [name$12] = createNamespace("calendar-day");
5836
- var stdin_default$1c = vue.defineComponent({
5837
- name: name$12,
5835
+ const [name$13] = createNamespace("calendar-day");
5836
+ var stdin_default$1d = vue.defineComponent({
5837
+ name: name$13,
5838
5838
  props: {
5839
5839
  item: makeRequiredProp(Object),
5840
5840
  color: String,
@@ -5896,7 +5896,7 @@ var stdin_default$1c = vue.defineComponent({
5896
5896
  } = props.item;
5897
5897
  if (topInfo || slots["top-info"]) {
5898
5898
  return vue.createVNode("div", {
5899
- "class": bem$$("top-info")
5899
+ "class": bem$10("top-info")
5900
5900
  }, [slots["top-info"] ? slots["top-info"](props.item) : topInfo]);
5901
5901
  }
5902
5902
  };
@@ -5906,7 +5906,7 @@ var stdin_default$1c = vue.defineComponent({
5906
5906
  } = props.item;
5907
5907
  if (bottomInfo || slots["bottom-info"]) {
5908
5908
  return vue.createVNode("div", {
5909
- "class": bem$$("bottom-info")
5909
+ "class": bem$10("bottom-info")
5910
5910
  }, [slots["bottom-info"] ? slots["bottom-info"](props.item) : bottomInfo]);
5911
5911
  }
5912
5912
  };
@@ -5923,7 +5923,7 @@ var stdin_default$1c = vue.defineComponent({
5923
5923
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
5924
5924
  if (type === "selected") {
5925
5925
  return vue.createVNode("div", {
5926
- "class": bem$$("selected-day"),
5926
+ "class": bem$10("selected-day"),
5927
5927
  "style": {
5928
5928
  width: rowHeight,
5929
5929
  height: rowHeight,
@@ -5940,21 +5940,21 @@ var stdin_default$1c = vue.defineComponent({
5940
5940
  } = props.item;
5941
5941
  if (type === "placeholder") {
5942
5942
  return vue.createVNode("div", {
5943
- "class": bem$$("day"),
5943
+ "class": bem$10("day"),
5944
5944
  "style": style.value
5945
5945
  }, null);
5946
5946
  }
5947
5947
  return vue.createVNode("div", {
5948
5948
  "role": "gridcell",
5949
5949
  "style": style.value,
5950
- "class": [bem$$("day", type), className],
5950
+ "class": [bem$10("day", type), className],
5951
5951
  "tabindex": type === "disabled" ? void 0 : -1,
5952
5952
  "onClick": onClick
5953
5953
  }, [renderContent()]);
5954
5954
  };
5955
5955
  }
5956
5956
  });
5957
- const [name$11] = createNamespace("calendar-month");
5957
+ const [name$12] = createNamespace("calendar-month");
5958
5958
  const calendarMonthProps = {
5959
5959
  date: makeRequiredProp(Date),
5960
5960
  type: String,
@@ -5971,8 +5971,8 @@ const calendarMonthProps = {
5971
5971
  showMonthTitle: Boolean,
5972
5972
  firstDayOfWeek: Number
5973
5973
  };
5974
- var stdin_default$1b = vue.defineComponent({
5975
- name: name$11,
5974
+ var stdin_default$1c = vue.defineComponent({
5975
+ name: name$12,
5976
5976
  props: calendarMonthProps,
5977
5977
  emits: ["click"],
5978
5978
  setup(props, {
@@ -6067,17 +6067,17 @@ var stdin_default$1b = vue.defineComponent({
6067
6067
  const getBottomInfo = (dayType) => {
6068
6068
  if (props.type === "range") {
6069
6069
  if (dayType === "start" || dayType === "end") {
6070
- return t$f(dayType);
6070
+ return t$g(dayType);
6071
6071
  }
6072
6072
  if (dayType === "start-end") {
6073
- return `${t$f("start")}/${t$f("end")}`;
6073
+ return `${t$g("start")}/${t$g("end")}`;
6074
6074
  }
6075
6075
  }
6076
6076
  };
6077
6077
  const renderTitle = () => {
6078
6078
  if (props.showMonthTitle) {
6079
6079
  return vue.createVNode("div", {
6080
- "class": bem$$("month-title")
6080
+ "class": bem$10("month-title")
6081
6081
  }, [slots["month-title"] ? slots["month-title"]({
6082
6082
  date: props.date,
6083
6083
  text: title.value
@@ -6087,7 +6087,7 @@ var stdin_default$1b = vue.defineComponent({
6087
6087
  const renderMark = () => {
6088
6088
  if (props.showMark && shouldRender.value) {
6089
6089
  return vue.createVNode("div", {
6090
- "class": bem$$("month-mark")
6090
+ "class": bem$10("month-mark")
6091
6091
  }, [props.date.getMonth() + 1]);
6092
6092
  }
6093
6093
  };
@@ -6127,7 +6127,7 @@ var stdin_default$1b = vue.defineComponent({
6127
6127
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
6128
6128
  }
6129
6129
  };
6130
- const renderDay = (item, index) => vue.createVNode(stdin_default$1c, {
6130
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1d, {
6131
6131
  "item": item,
6132
6132
  "index": index,
6133
6133
  "color": props.color,
@@ -6138,7 +6138,7 @@ var stdin_default$1b = vue.defineComponent({
6138
6138
  const renderDays = () => vue.createVNode("div", {
6139
6139
  "ref": daysRef,
6140
6140
  "role": "grid",
6141
- "class": bem$$("days")
6141
+ "class": bem$10("days")
6142
6142
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6143
6143
  useExpose({
6144
6144
  getTitle,
@@ -6148,14 +6148,14 @@ var stdin_default$1b = vue.defineComponent({
6148
6148
  disabledDays
6149
6149
  });
6150
6150
  return () => vue.createVNode("div", {
6151
- "class": bem$$("month"),
6151
+ "class": bem$10("month"),
6152
6152
  "ref": monthRef
6153
6153
  }, [renderTitle(), renderDays()]);
6154
6154
  }
6155
6155
  });
6156
- const [name$10] = createNamespace("calendar-header");
6157
- var stdin_default$1a = vue.defineComponent({
6158
- name: name$10,
6156
+ const [name$11] = createNamespace("calendar-header");
6157
+ var stdin_default$1b = vue.defineComponent({
6158
+ name: name$11,
6159
6159
  props: {
6160
6160
  date: Date,
6161
6161
  title: String,
@@ -6171,10 +6171,10 @@ var stdin_default$1a = vue.defineComponent({
6171
6171
  }) {
6172
6172
  const renderTitle = () => {
6173
6173
  if (props.showTitle) {
6174
- const text = props.title || t$f("title");
6174
+ const text = props.title || t$g("title");
6175
6175
  const title = slots.title ? slots.title() : text;
6176
6176
  return vue.createVNode("div", {
6177
- "class": bem$$("header-title")
6177
+ "class": bem$10("header-title")
6178
6178
  }, [title]);
6179
6179
  }
6180
6180
  };
@@ -6186,7 +6186,7 @@ var stdin_default$1a = vue.defineComponent({
6186
6186
  text: props.subtitle
6187
6187
  }) : props.subtitle;
6188
6188
  return vue.createVNode("div", {
6189
- "class": bem$$("header-subtitle"),
6189
+ "class": bem$10("header-subtitle"),
6190
6190
  "onClick": onClickSubtitle
6191
6191
  }, [title]);
6192
6192
  }
@@ -6195,16 +6195,16 @@ var stdin_default$1a = vue.defineComponent({
6195
6195
  const {
6196
6196
  firstDayOfWeek
6197
6197
  } = props;
6198
- const weekdays = t$f("weekdays");
6198
+ const weekdays = t$g("weekdays");
6199
6199
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6200
6200
  return vue.createVNode("div", {
6201
- "class": bem$$("weekdays")
6201
+ "class": bem$10("weekdays")
6202
6202
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
6203
- "class": bem$$("weekday")
6203
+ "class": bem$10("weekday")
6204
6204
  }, [text]))]);
6205
6205
  };
6206
6206
  return () => vue.createVNode("div", {
6207
- "class": bem$$("header")
6207
+ "class": bem$10("header")
6208
6208
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6209
6209
  }
6210
6210
  });
@@ -6255,8 +6255,8 @@ const calendarProps = {
6255
6255
  validator: (val) => val >= 0 && val <= 6
6256
6256
  }
6257
6257
  };
6258
- var stdin_default$19 = vue.defineComponent({
6259
- name: name$13,
6258
+ var stdin_default$1a = vue.defineComponent({
6259
+ name: name$14,
6260
6260
  props: calendarProps,
6261
6261
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
6262
6262
  setup(props, {
@@ -6422,7 +6422,7 @@ var stdin_default$19 = vue.defineComponent({
6422
6422
  } = props;
6423
6423
  if (maxRange && calcDateNum(date) > +maxRange) {
6424
6424
  if (showRangePrompt) {
6425
- showToast(rangePrompt || t$f("rangePrompt", maxRange));
6425
+ showToast(rangePrompt || t$g("rangePrompt", maxRange));
6426
6426
  }
6427
6427
  emit("overRange");
6428
6428
  return false;
@@ -6508,7 +6508,7 @@ var stdin_default$19 = vue.defineComponent({
6508
6508
  const [unselectedDate] = dates.splice(selectedIndex, 1);
6509
6509
  emit("unselect", cloneDate(unselectedDate));
6510
6510
  } else if (props.maxRange && dates.length >= +props.maxRange) {
6511
- showToast(props.rangePrompt || t$f("rangePrompt", props.maxRange));
6511
+ showToast(props.rangePrompt || t$g("rangePrompt", props.maxRange));
6512
6512
  } else {
6513
6513
  select([...dates, date]);
6514
6514
  }
@@ -6519,7 +6519,7 @@ var stdin_default$19 = vue.defineComponent({
6519
6519
  const updateShow = (value) => emit("update:show", value);
6520
6520
  const renderMonth = (date, index) => {
6521
6521
  const showMonthTitle = index !== 0 || !props.showSubtitle;
6522
- return vue.createVNode(stdin_default$1b, vue.mergeProps({
6522
+ return vue.createVNode(stdin_default$1c, vue.mergeProps({
6523
6523
  "ref": setMonthRefs(index),
6524
6524
  "date": date,
6525
6525
  "currentDate": currentDate.value,
@@ -6542,25 +6542,25 @@ var stdin_default$19 = vue.defineComponent({
6542
6542
  "block": true,
6543
6543
  "type": "primary",
6544
6544
  "color": props.color,
6545
- "class": bem$$("confirm"),
6545
+ "class": bem$10("confirm"),
6546
6546
  "disabled": disabled,
6547
6547
  "nativeType": "button",
6548
6548
  "onClick": onConfirm
6549
6549
  }, {
6550
6550
  default: () => [slot ? slot({
6551
6551
  disabled
6552
- }) : text || t$f("confirm")]
6552
+ }) : text || t$g("confirm")]
6553
6553
  });
6554
6554
  }
6555
6555
  };
6556
6556
  const renderFooter = () => vue.createVNode("div", {
6557
- "class": [bem$$("footer"), {
6557
+ "class": [bem$10("footer"), {
6558
6558
  "van-safe-area-bottom": props.safeAreaInsetBottom
6559
6559
  }]
6560
6560
  }, [renderFooterButton()]);
6561
6561
  const renderCalendar = () => vue.createVNode("div", {
6562
- "class": bem$$()
6563
- }, [vue.createVNode(stdin_default$1a, {
6562
+ "class": bem$10()
6563
+ }, [vue.createVNode(stdin_default$1b, {
6564
6564
  "date": subtitle.value.date,
6565
6565
  "title": props.title,
6566
6566
  "subtitle": subtitle.value.text,
@@ -6570,7 +6570,7 @@ var stdin_default$19 = vue.defineComponent({
6570
6570
  "onClickSubtitle": (event) => emit("clickSubtitle", event)
6571
6571
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
6572
6572
  "ref": bodyRef,
6573
- "class": bem$$("body"),
6573
+ "class": bem$10("body"),
6574
6574
  "onScroll": onScroll
6575
6575
  }, [months.value.map(renderMonth)]), renderFooter()]);
6576
6576
  vue.watch(() => props.show, init);
@@ -6589,7 +6589,7 @@ var stdin_default$19 = vue.defineComponent({
6589
6589
  if (props.poppable) {
6590
6590
  return vue.createVNode(Popup, {
6591
6591
  "show": props.show,
6592
- "class": bem$$("popup"),
6592
+ "class": bem$10("popup"),
6593
6593
  "round": props.round,
6594
6594
  "position": props.position,
6595
6595
  "closeable": props.showTitle || props.showSubtitle,
@@ -6606,8 +6606,8 @@ var stdin_default$19 = vue.defineComponent({
6606
6606
  };
6607
6607
  }
6608
6608
  });
6609
- const Calendar = withInstall(stdin_default$19);
6610
- const [name$$, bem$_] = createNamespace("image");
6609
+ const Calendar = withInstall(stdin_default$1a);
6610
+ const [name$10, bem$$] = createNamespace("image");
6611
6611
  const imageProps = {
6612
6612
  src: String,
6613
6613
  alt: String,
@@ -6626,8 +6626,8 @@ const imageProps = {
6626
6626
  showLoading: truthProp,
6627
6627
  loadingIcon: makeStringProp("photo")
6628
6628
  };
6629
- var stdin_default$18 = vue.defineComponent({
6630
- name: name$$,
6629
+ var stdin_default$19 = vue.defineComponent({
6630
+ name: name$10,
6631
6631
  props: imageProps,
6632
6632
  emits: ["load", "error"],
6633
6633
  setup(props, {
@@ -6688,13 +6688,13 @@ var stdin_default$18 = vue.defineComponent({
6688
6688
  const renderPlaceholder = () => {
6689
6689
  if (loading.value && props.showLoading) {
6690
6690
  return vue.createVNode("div", {
6691
- "class": bem$_("loading")
6692
- }, [renderIcon(props.loadingIcon, bem$_("loading-icon"), slots.loading)]);
6691
+ "class": bem$$("loading")
6692
+ }, [renderIcon(props.loadingIcon, bem$$("loading-icon"), slots.loading)]);
6693
6693
  }
6694
6694
  if (error.value && props.showError) {
6695
6695
  return vue.createVNode("div", {
6696
- "class": bem$_("error")
6697
- }, [renderIcon(props.errorIcon, bem$_("error-icon"), slots.error)]);
6696
+ "class": bem$$("error")
6697
+ }, [renderIcon(props.errorIcon, bem$$("error-icon"), slots.error)]);
6698
6698
  }
6699
6699
  };
6700
6700
  const renderImage = () => {
@@ -6703,7 +6703,7 @@ var stdin_default$18 = vue.defineComponent({
6703
6703
  }
6704
6704
  const attrs = {
6705
6705
  alt: props.alt,
6706
- class: bem$_("img"),
6706
+ class: bem$$("img"),
6707
6707
  style: {
6708
6708
  objectFit: props.fit,
6709
6709
  objectPosition: props.position
@@ -6753,7 +6753,7 @@ var stdin_default$18 = vue.defineComponent({
6753
6753
  vue.onMounted(() => {
6754
6754
  vue.nextTick(() => {
6755
6755
  var _a;
6756
- if ((_a = imageRef.value) == null ? void 0 : _a.complete) {
6756
+ if (((_a = imageRef.value) == null ? void 0 : _a.complete) && !props.lazyLoad) {
6757
6757
  triggerLoad();
6758
6758
  }
6759
6759
  });
@@ -6761,7 +6761,7 @@ var stdin_default$18 = vue.defineComponent({
6761
6761
  return () => {
6762
6762
  var _a;
6763
6763
  return vue.createVNode("div", {
6764
- "class": bem$_({
6764
+ "class": bem$$({
6765
6765
  round: props.round,
6766
6766
  block: props.block
6767
6767
  }),
@@ -6770,8 +6770,8 @@ var stdin_default$18 = vue.defineComponent({
6770
6770
  };
6771
6771
  }
6772
6772
  });
6773
- const Image$1 = withInstall(stdin_default$18);
6774
- const [name$_, bem$Z] = createNamespace("card");
6773
+ const Image$1 = withInstall(stdin_default$19);
6774
+ const [name$$, bem$_] = createNamespace("card");
6775
6775
  const cardProps = {
6776
6776
  tag: String,
6777
6777
  num: numericProp,
@@ -6785,8 +6785,8 @@ const cardProps = {
6785
6785
  thumbLink: String,
6786
6786
  originPrice: numericProp
6787
6787
  };
6788
- var stdin_default$17 = vue.defineComponent({
6789
- name: name$_,
6788
+ var stdin_default$18 = vue.defineComponent({
6789
+ name: name$$,
6790
6790
  props: cardProps,
6791
6791
  emits: ["clickThumb"],
6792
6792
  setup(props, {
@@ -6799,14 +6799,14 @@ var stdin_default$17 = vue.defineComponent({
6799
6799
  }
6800
6800
  if (props.title) {
6801
6801
  return vue.createVNode("div", {
6802
- "class": [bem$Z("title"), "van-multi-ellipsis--l2"]
6802
+ "class": [bem$_("title"), "van-multi-ellipsis--l2"]
6803
6803
  }, [props.title]);
6804
6804
  }
6805
6805
  };
6806
6806
  const renderThumbTag = () => {
6807
6807
  if (slots.tag || props.tag) {
6808
6808
  return vue.createVNode("div", {
6809
- "class": bem$Z("tag")
6809
+ "class": bem$_("tag")
6810
6810
  }, [slots.tag ? slots.tag() : vue.createVNode(Tag, {
6811
6811
  "mark": true,
6812
6812
  "type": "primary"
@@ -6831,7 +6831,7 @@ var stdin_default$17 = vue.defineComponent({
6831
6831
  if (slots.thumb || props.thumb) {
6832
6832
  return vue.createVNode("a", {
6833
6833
  "href": props.thumbLink,
6834
- "class": bem$Z("thumb"),
6834
+ "class": bem$_("thumb"),
6835
6835
  "onClick": (event) => emit("clickThumb", event)
6836
6836
  }, [renderThumbImage(), renderThumbTag()]);
6837
6837
  }
@@ -6842,18 +6842,18 @@ var stdin_default$17 = vue.defineComponent({
6842
6842
  }
6843
6843
  if (props.desc) {
6844
6844
  return vue.createVNode("div", {
6845
- "class": [bem$Z("desc"), "van-ellipsis"]
6845
+ "class": [bem$_("desc"), "van-ellipsis"]
6846
6846
  }, [props.desc]);
6847
6847
  }
6848
6848
  };
6849
6849
  const renderPriceText = () => {
6850
6850
  const priceArr = props.price.toString().split(".");
6851
6851
  return vue.createVNode("div", null, [vue.createVNode("span", {
6852
- "class": bem$Z("price-currency")
6852
+ "class": bem$_("price-currency")
6853
6853
  }, [props.currency]), vue.createVNode("span", {
6854
- "class": bem$Z("price-integer")
6854
+ "class": bem$_("price-integer")
6855
6855
  }, [priceArr[0]]), vue.createTextVNode("."), vue.createVNode("span", {
6856
- "class": bem$Z("price-decimal")
6856
+ "class": bem$_("price-decimal")
6857
6857
  }, [priceArr[1]])]);
6858
6858
  };
6859
6859
  return () => {
@@ -6863,34 +6863,34 @@ var stdin_default$17 = vue.defineComponent({
6863
6863
  const showOriginPrice = slots["origin-price"] || isDef(props.originPrice);
6864
6864
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
6865
6865
  const Price = showPrice && vue.createVNode("div", {
6866
- "class": bem$Z("price")
6866
+ "class": bem$_("price")
6867
6867
  }, [slots.price ? slots.price() : renderPriceText()]);
6868
6868
  const OriginPrice = showOriginPrice && vue.createVNode("div", {
6869
- "class": bem$Z("origin-price")
6869
+ "class": bem$_("origin-price")
6870
6870
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props.currency} ${props.originPrice}`]);
6871
6871
  const Num = showNum && vue.createVNode("div", {
6872
- "class": bem$Z("num")
6872
+ "class": bem$_("num")
6873
6873
  }, [slots.num ? slots.num() : `x${props.num}`]);
6874
6874
  const Footer = slots.footer && vue.createVNode("div", {
6875
- "class": bem$Z("footer")
6875
+ "class": bem$_("footer")
6876
6876
  }, [slots.footer()]);
6877
6877
  const Bottom = showBottom && vue.createVNode("div", {
6878
- "class": bem$Z("bottom")
6878
+ "class": bem$_("bottom")
6879
6879
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
6880
6880
  return vue.createVNode("div", {
6881
- "class": bem$Z()
6881
+ "class": bem$_()
6882
6882
  }, [vue.createVNode("div", {
6883
- "class": bem$Z("header")
6883
+ "class": bem$_("header")
6884
6884
  }, [renderThumb(), vue.createVNode("div", {
6885
- "class": bem$Z("content", {
6885
+ "class": bem$_("content", {
6886
6886
  centered: props.centered
6887
6887
  })
6888
6888
  }, [vue.createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
6889
6889
  };
6890
6890
  }
6891
6891
  });
6892
- const Card = withInstall(stdin_default$17);
6893
- const [name$Z, bem$Y, t$e] = createNamespace("cascader");
6892
+ const Card = withInstall(stdin_default$18);
6893
+ const [name$_, bem$Z, t$f] = createNamespace("cascader");
6894
6894
  const cascaderProps = {
6895
6895
  title: String,
6896
6896
  options: makeArrayProp(),
@@ -6903,8 +6903,8 @@ const cascaderProps = {
6903
6903
  placeholder: String,
6904
6904
  activeColor: String
6905
6905
  };
6906
- var stdin_default$16 = vue.defineComponent({
6907
- name: name$Z,
6906
+ var stdin_default$17 = vue.defineComponent({
6907
+ name: name$_,
6908
6908
  props: cascaderProps,
6909
6909
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
6910
6910
  setup(props, {
@@ -7012,12 +7012,12 @@ var stdin_default$16 = vue.defineComponent({
7012
7012
  title
7013
7013
  }) => emit("clickTab", name2, title);
7014
7014
  const renderHeader = () => props.showHeader ? vue.createVNode("div", {
7015
- "class": bem$Y("header")
7015
+ "class": bem$Z("header")
7016
7016
  }, [vue.createVNode("h2", {
7017
- "class": bem$Y("title")
7017
+ "class": bem$Z("title")
7018
7018
  }, [slots.title ? slots.title() : props.title]), props.closeable ? vue.createVNode(Icon, {
7019
7019
  "name": props.closeIcon,
7020
- "class": [bem$Y("close-icon"), HAPTICS_FEEDBACK],
7020
+ "class": [bem$Z("close-icon"), HAPTICS_FEEDBACK],
7021
7021
  "onClick": onClose
7022
7022
  }, null) : null]) : null;
7023
7023
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -7032,7 +7032,7 @@ var stdin_default$16 = vue.defineComponent({
7032
7032
  }) : vue.createVNode("span", null, [option[textKey]]);
7033
7033
  return vue.createVNode("li", {
7034
7034
  "role": "menuitemradio",
7035
- "class": [bem$Y("option", {
7035
+ "class": [bem$Z("option", {
7036
7036
  selected,
7037
7037
  disabled
7038
7038
  }), option.className],
@@ -7045,23 +7045,23 @@ var stdin_default$16 = vue.defineComponent({
7045
7045
  "onClick": () => onSelect(option, tabIndex)
7046
7046
  }, [Text, selected ? vue.createVNode(Icon, {
7047
7047
  "name": "success",
7048
- "class": bem$Y("selected-icon")
7048
+ "class": bem$Z("selected-icon")
7049
7049
  }, null) : null]);
7050
7050
  };
7051
7051
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
7052
7052
  "role": "menu",
7053
- "class": bem$Y("options")
7053
+ "class": bem$Z("options")
7054
7054
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
7055
7055
  const renderTab = (tab, tabIndex) => {
7056
7056
  const {
7057
7057
  options,
7058
7058
  selected
7059
7059
  } = tab;
7060
- const placeholder = props.placeholder || t$e("select");
7060
+ const placeholder = props.placeholder || t$f("select");
7061
7061
  const title = selected ? selected[textKey] : placeholder;
7062
7062
  return vue.createVNode(Tab, {
7063
7063
  "title": title,
7064
- "titleClass": bem$Y("tab", {
7064
+ "titleClass": bem$Z("tab", {
7065
7065
  unselected: !selected
7066
7066
  })
7067
7067
  }, {
@@ -7080,7 +7080,7 @@ var stdin_default$16 = vue.defineComponent({
7080
7080
  "onUpdate:active": ($event) => activeTab.value = $event,
7081
7081
  "shrink": true,
7082
7082
  "animated": true,
7083
- "class": bem$Y("tabs"),
7083
+ "class": bem$Z("tabs"),
7084
7084
  "color": props.activeColor,
7085
7085
  "swipeable": props.swipeable,
7086
7086
  "onClickTab": onClickTab
@@ -7104,19 +7104,19 @@ var stdin_default$16 = vue.defineComponent({
7104
7104
  updateTabs();
7105
7105
  });
7106
7106
  return () => vue.createVNode("div", {
7107
- "class": bem$Y()
7107
+ "class": bem$Z()
7108
7108
  }, [renderHeader(), renderTabs()]);
7109
7109
  }
7110
7110
  });
7111
- const Cascader = withInstall(stdin_default$16);
7112
- const [name$Y, bem$X] = createNamespace("cell-group");
7111
+ const Cascader = withInstall(stdin_default$17);
7112
+ const [name$Z, bem$Y] = createNamespace("cell-group");
7113
7113
  const cellGroupProps = {
7114
7114
  title: String,
7115
7115
  inset: Boolean,
7116
7116
  border: truthProp
7117
7117
  };
7118
- var stdin_default$15 = vue.defineComponent({
7119
- name: name$Y,
7118
+ var stdin_default$16 = vue.defineComponent({
7119
+ name: name$Z,
7120
7120
  inheritAttrs: false,
7121
7121
  props: cellGroupProps,
7122
7122
  setup(props, {
@@ -7126,7 +7126,7 @@ var stdin_default$15 = vue.defineComponent({
7126
7126
  const renderGroup = () => {
7127
7127
  var _a;
7128
7128
  return vue.createVNode("div", vue.mergeProps({
7129
- "class": [bem$X({
7129
+ "class": [bem$Y({
7130
7130
  inset: props.inset
7131
7131
  }), {
7132
7132
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -7134,7 +7134,7 @@ var stdin_default$15 = vue.defineComponent({
7134
7134
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7135
7135
  };
7136
7136
  const renderTitle = () => vue.createVNode("div", {
7137
- "class": bem$X("title", {
7137
+ "class": bem$Y("title", {
7138
7138
  inset: props.inset
7139
7139
  })
7140
7140
  }, [slots.title ? slots.title() : props.title]);
@@ -7146,8 +7146,8 @@ var stdin_default$15 = vue.defineComponent({
7146
7146
  };
7147
7147
  }
7148
7148
  });
7149
- const CellGroup = withInstall(stdin_default$15);
7150
- const [name$X, bem$W] = createNamespace("checkbox-group");
7149
+ const CellGroup = withInstall(stdin_default$16);
7150
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
7151
7151
  const checkboxGroupProps = {
7152
7152
  max: numericProp,
7153
7153
  disabled: Boolean,
@@ -7156,9 +7156,9 @@ const checkboxGroupProps = {
7156
7156
  modelValue: makeArrayProp(),
7157
7157
  checkedColor: String
7158
7158
  };
7159
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
7160
- var stdin_default$14 = vue.defineComponent({
7161
- name: name$X,
7159
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
7160
+ var stdin_default$15 = vue.defineComponent({
7161
+ name: name$Y,
7162
7162
  props: checkboxGroupProps,
7163
7163
  emits: ["change", "update:modelValue"],
7164
7164
  setup(props, {
@@ -7204,17 +7204,17 @@ var stdin_default$14 = vue.defineComponent({
7204
7204
  return () => {
7205
7205
  var _a;
7206
7206
  return vue.createVNode("div", {
7207
- "class": bem$W([props.direction])
7207
+ "class": bem$X([props.direction])
7208
7208
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7209
7209
  };
7210
7210
  }
7211
7211
  });
7212
- const [name$W, bem$V] = createNamespace("checkbox");
7212
+ const [name$X, bem$W] = createNamespace("checkbox");
7213
7213
  const checkboxProps = extend({}, checkerProps, {
7214
7214
  bindGroup: truthProp
7215
7215
  });
7216
- var stdin_default$13 = vue.defineComponent({
7217
- name: name$W,
7216
+ var stdin_default$14 = vue.defineComponent({
7217
+ name: name$X,
7218
7218
  props: checkboxProps,
7219
7219
  emits: ["change", "update:modelValue"],
7220
7220
  setup(props, {
@@ -7271,8 +7271,8 @@ var stdin_default$13 = vue.defineComponent({
7271
7271
  checked
7272
7272
  });
7273
7273
  use.useCustomFieldValue(() => props.modelValue);
7274
- return () => vue.createVNode(stdin_default$1h, vue.mergeProps({
7275
- "bem": bem$V,
7274
+ return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
7275
+ "bem": bem$W,
7276
7276
  "role": "checkbox",
7277
7277
  "parent": parent,
7278
7278
  "checked": checked.value,
@@ -7280,9 +7280,9 @@ var stdin_default$13 = vue.defineComponent({
7280
7280
  }, props), pick(slots, ["default", "icon"]));
7281
7281
  }
7282
7282
  });
7283
- const Checkbox = withInstall(stdin_default$13);
7284
- const CheckboxGroup = withInstall(stdin_default$14);
7285
- const [name$V, bem$U] = createNamespace("circle");
7283
+ const Checkbox = withInstall(stdin_default$14);
7284
+ const CheckboxGroup = withInstall(stdin_default$15);
7285
+ const [name$W, bem$V] = createNamespace("circle");
7286
7286
  let uid = 0;
7287
7287
  const format = (rate) => Math.min(Math.max(+rate, 0), 100);
7288
7288
  function getPath(clockwise, viewBoxSize) {
@@ -7303,8 +7303,8 @@ const circleProps = {
7303
7303
  strokeLinecap: String,
7304
7304
  startPosition: makeStringProp("top")
7305
7305
  };
7306
- var stdin_default$12 = vue.defineComponent({
7307
- name: name$V,
7306
+ var stdin_default$13 = vue.defineComponent({
7307
+ name: name$W,
7308
7308
  props: circleProps,
7309
7309
  emits: ["update:currentRate"],
7310
7310
  setup(props, {
@@ -7372,7 +7372,7 @@ var stdin_default$12 = vue.defineComponent({
7372
7372
  return vue.createVNode("path", {
7373
7373
  "d": path.value,
7374
7374
  "style": style,
7375
- "class": bem$U("hover"),
7375
+ "class": bem$V("hover"),
7376
7376
  "stroke": color
7377
7377
  }, null);
7378
7378
  };
@@ -7383,7 +7383,7 @@ var stdin_default$12 = vue.defineComponent({
7383
7383
  strokeWidth: `${props.strokeWidth}px`
7384
7384
  };
7385
7385
  return vue.createVNode("path", {
7386
- "class": bem$U("layer"),
7386
+ "class": bem$V("layer"),
7387
7387
  "style": style,
7388
7388
  "d": path.value
7389
7389
  }, null);
@@ -7414,12 +7414,12 @@ var stdin_default$12 = vue.defineComponent({
7414
7414
  }
7415
7415
  if (props.text) {
7416
7416
  return vue.createVNode("div", {
7417
- "class": bem$U("text")
7417
+ "class": bem$V("text")
7418
7418
  }, [props.text]);
7419
7419
  }
7420
7420
  };
7421
7421
  return () => vue.createVNode("div", {
7422
- "class": bem$U(),
7422
+ "class": bem$V(),
7423
7423
  "style": getSizeStyle(props.size)
7424
7424
  }, [vue.createVNode("svg", {
7425
7425
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -7427,9 +7427,9 @@ var stdin_default$12 = vue.defineComponent({
7427
7427
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7428
7428
  }
7429
7429
  });
7430
- const Circle = withInstall(stdin_default$12);
7431
- const [name$U, bem$T] = createNamespace("row");
7432
- const ROW_KEY = Symbol(name$U);
7430
+ const Circle = withInstall(stdin_default$13);
7431
+ const [name$V, bem$U] = createNamespace("row");
7432
+ const ROW_KEY = Symbol(name$V);
7433
7433
  const rowProps = {
7434
7434
  tag: makeStringProp("div"),
7435
7435
  wrap: truthProp,
@@ -7437,8 +7437,8 @@ const rowProps = {
7437
7437
  gutter: makeNumericProp(0),
7438
7438
  justify: String
7439
7439
  };
7440
- var stdin_default$11 = vue.defineComponent({
7441
- name: name$U,
7440
+ var stdin_default$12 = vue.defineComponent({
7441
+ name: name$V,
7442
7442
  props: rowProps,
7443
7443
  setup(props, {
7444
7444
  slots
@@ -7497,7 +7497,7 @@ var stdin_default$11 = vue.defineComponent({
7497
7497
  justify
7498
7498
  } = props;
7499
7499
  return vue.createVNode(tag, {
7500
- "class": bem$T({
7500
+ "class": bem$U({
7501
7501
  [`align-${align}`]: align,
7502
7502
  [`justify-${justify}`]: justify,
7503
7503
  nowrap: !wrap
@@ -7511,14 +7511,14 @@ var stdin_default$11 = vue.defineComponent({
7511
7511
  };
7512
7512
  }
7513
7513
  });
7514
- const [name$T, bem$S] = createNamespace("col");
7514
+ const [name$U, bem$T] = createNamespace("col");
7515
7515
  const colProps = {
7516
7516
  tag: makeStringProp("div"),
7517
7517
  span: makeNumericProp(0),
7518
7518
  offset: numericProp
7519
7519
  };
7520
- var stdin_default$10 = vue.defineComponent({
7521
- name: name$T,
7520
+ var stdin_default$11 = vue.defineComponent({
7521
+ name: name$U,
7522
7522
  props: colProps,
7523
7523
  setup(props, {
7524
7524
  slots
@@ -7553,7 +7553,7 @@ var stdin_default$10 = vue.defineComponent({
7553
7553
  } = props;
7554
7554
  return vue.createVNode(tag, {
7555
7555
  "style": style.value,
7556
- "class": bem$S({
7556
+ "class": bem$T({
7557
7557
  [span]: span,
7558
7558
  [`offset-${offset}`]: offset
7559
7559
  })
@@ -7566,9 +7566,9 @@ var stdin_default$10 = vue.defineComponent({
7566
7566
  };
7567
7567
  }
7568
7568
  });
7569
- const Col = withInstall(stdin_default$10);
7570
- const [name$S, bem$R] = createNamespace("collapse");
7571
- const COLLAPSE_KEY = Symbol(name$S);
7569
+ const Col = withInstall(stdin_default$11);
7570
+ const [name$T, bem$S] = createNamespace("collapse");
7571
+ const COLLAPSE_KEY = Symbol(name$T);
7572
7572
  const collapseProps = {
7573
7573
  border: truthProp,
7574
7574
  accordion: Boolean,
@@ -7588,8 +7588,8 @@ function validateModelValue(modelValue, accordion) {
7588
7588
  }
7589
7589
  return true;
7590
7590
  }
7591
- var stdin_default$$ = vue.defineComponent({
7592
- name: name$S,
7591
+ var stdin_default$10 = vue.defineComponent({
7592
+ name: name$T,
7593
7593
  props: collapseProps,
7594
7594
  emits: ["change", "update:modelValue"],
7595
7595
  setup(props, {
@@ -7659,15 +7659,15 @@ var stdin_default$$ = vue.defineComponent({
7659
7659
  return () => {
7660
7660
  var _a;
7661
7661
  return vue.createVNode("div", {
7662
- "class": [bem$R(), {
7662
+ "class": [bem$S(), {
7663
7663
  [BORDER_TOP_BOTTOM]: props.border
7664
7664
  }]
7665
7665
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7666
7666
  };
7667
7667
  }
7668
7668
  });
7669
- const Collapse = withInstall(stdin_default$$);
7670
- const [name$R, bem$Q] = createNamespace("collapse-item");
7669
+ const Collapse = withInstall(stdin_default$10);
7670
+ const [name$S, bem$R] = createNamespace("collapse-item");
7671
7671
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
7672
7672
  const collapseItemProps = extend({}, cellSharedProps, {
7673
7673
  name: numericProp,
@@ -7676,8 +7676,8 @@ const collapseItemProps = extend({}, cellSharedProps, {
7676
7676
  readonly: Boolean,
7677
7677
  lazyRender: truthProp
7678
7678
  });
7679
- var stdin_default$_ = vue.defineComponent({
7680
- name: name$R,
7679
+ var stdin_default$$ = vue.defineComponent({
7680
+ name: name$S,
7681
7681
  props: collapseItemProps,
7682
7682
  setup(props, {
7683
7683
  slots
@@ -7759,7 +7759,7 @@ var stdin_default$_ = vue.defineComponent({
7759
7759
  }
7760
7760
  return vue.createVNode(Cell, vue.mergeProps({
7761
7761
  "role": "button",
7762
- "class": bem$Q("title", {
7762
+ "class": bem$R("title", {
7763
7763
  disabled,
7764
7764
  expanded: expanded.value,
7765
7765
  borderless: !border
@@ -7772,11 +7772,11 @@ var stdin_default$_ = vue.defineComponent({
7772
7772
  var _a;
7773
7773
  return vue.withDirectives(vue.createVNode("div", {
7774
7774
  "ref": wrapperRef,
7775
- "class": bem$Q("wrapper"),
7775
+ "class": bem$R("wrapper"),
7776
7776
  "onTransitionend": onTransitionEnd
7777
7777
  }, [vue.createVNode("div", {
7778
7778
  "ref": contentRef,
7779
- "class": bem$Q("content")
7779
+ "class": bem$R("content")
7780
7780
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
7781
7781
  });
7782
7782
  useExpose({
@@ -7785,15 +7785,15 @@ var stdin_default$_ = vue.defineComponent({
7785
7785
  itemName: name2
7786
7786
  });
7787
7787
  return () => vue.createVNode("div", {
7788
- "class": [bem$Q({
7788
+ "class": [bem$R({
7789
7789
  border: index.value && props.border
7790
7790
  })]
7791
7791
  }, [renderTitle(), renderContent()]);
7792
7792
  }
7793
7793
  });
7794
- const CollapseItem = withInstall(stdin_default$_);
7795
- const ConfigProvider = withInstall(stdin_default$1K);
7796
- const [name$Q, bem$P, t$d] = createNamespace("contact-card");
7794
+ const CollapseItem = withInstall(stdin_default$$);
7795
+ const ConfigProvider = withInstall(stdin_default$1L);
7796
+ const [name$R, bem$Q, t$e] = createNamespace("contact-card");
7797
7797
  const contactCardProps = {
7798
7798
  tel: String,
7799
7799
  name: String,
@@ -7801,8 +7801,8 @@ const contactCardProps = {
7801
7801
  addText: String,
7802
7802
  editable: truthProp
7803
7803
  };
7804
- var stdin_default$Z = vue.defineComponent({
7805
- name: name$Q,
7804
+ var stdin_default$_ = vue.defineComponent({
7805
+ name: name$R,
7806
7806
  props: contactCardProps,
7807
7807
  emits: ["click"],
7808
7808
  setup(props, {
@@ -7815,25 +7815,25 @@ var stdin_default$Z = vue.defineComponent({
7815
7815
  };
7816
7816
  const renderContent = () => {
7817
7817
  if (props.type === "add") {
7818
- return props.addText || t$d("addContact");
7818
+ return props.addText || t$e("addContact");
7819
7819
  }
7820
- return [vue.createVNode("div", null, [`${t$d("name")}:${props.name}`]), vue.createVNode("div", null, [`${t$d("tel")}:${props.tel}`])];
7820
+ return [vue.createVNode("div", null, [`${t$e("name")}:${props.name}`]), vue.createVNode("div", null, [`${t$e("tel")}:${props.tel}`])];
7821
7821
  };
7822
7822
  return () => vue.createVNode(Cell, {
7823
7823
  "center": true,
7824
7824
  "icon": props.type === "edit" ? "contact" : "add-square",
7825
- "class": bem$P([props.type]),
7825
+ "class": bem$Q([props.type]),
7826
7826
  "border": false,
7827
7827
  "isLink": props.editable,
7828
- "titleClass": bem$P("title"),
7828
+ "titleClass": bem$Q("title"),
7829
7829
  "onClick": onClick
7830
7830
  }, {
7831
7831
  title: renderContent
7832
7832
  });
7833
7833
  }
7834
7834
  });
7835
- const ContactCard = withInstall(stdin_default$Z);
7836
- const [name$P, bem$O, t$c] = createNamespace("contact-edit");
7835
+ const ContactCard = withInstall(stdin_default$_);
7836
+ const [name$Q, bem$P, t$d] = createNamespace("contact-edit");
7837
7837
  const DEFAULT_CONTACT = {
7838
7838
  tel: "",
7839
7839
  name: ""
@@ -7853,8 +7853,8 @@ const contactEditProps = {
7853
7853
  default: isMobile
7854
7854
  }
7855
7855
  };
7856
- var stdin_default$Y = vue.defineComponent({
7857
- name: name$P,
7856
+ var stdin_default$Z = vue.defineComponent({
7857
+ name: name$Q,
7858
7858
  props: contactEditProps,
7859
7859
  emits: ["save", "delete", "changeDefault"],
7860
7860
  setup(props, {
@@ -7868,20 +7868,20 @@ var stdin_default$Y = vue.defineComponent({
7868
7868
  };
7869
7869
  const onDelete = () => emit("delete", contact);
7870
7870
  const renderButtons = () => vue.createVNode("div", {
7871
- "class": bem$O("buttons")
7871
+ "class": bem$P("buttons")
7872
7872
  }, [vue.createVNode(Button, {
7873
7873
  "block": true,
7874
7874
  "round": true,
7875
7875
  "type": "primary",
7876
- "text": t$c("save"),
7877
- "class": bem$O("button"),
7876
+ "text": t$d("save"),
7877
+ "class": bem$P("button"),
7878
7878
  "loading": props.isSaving,
7879
7879
  "nativeType": "submit"
7880
7880
  }, null), props.isEdit && vue.createVNode(Button, {
7881
7881
  "block": true,
7882
7882
  "round": true,
7883
- "text": t$c("delete"),
7884
- "class": bem$O("button"),
7883
+ "text": t$d("delete"),
7884
+ "class": bem$P("button"),
7885
7885
  "loading": props.isDeleting,
7886
7886
  "onClick": onDelete
7887
7887
  }, null)]);
@@ -7894,7 +7894,7 @@ var stdin_default$Y = vue.defineComponent({
7894
7894
  if (props.showSetDefault) {
7895
7895
  return vue.createVNode(Cell, {
7896
7896
  "title": props.setDefaultLabel,
7897
- "class": bem$O("switch-cell"),
7897
+ "class": bem$P("switch-cell"),
7898
7898
  "border": false
7899
7899
  }, {
7900
7900
  "right-icon": renderSwitch
@@ -7903,47 +7903,47 @@ var stdin_default$Y = vue.defineComponent({
7903
7903
  };
7904
7904
  vue.watch(() => props.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
7905
7905
  return () => vue.createVNode(Form, {
7906
- "class": bem$O(),
7906
+ "class": bem$P(),
7907
7907
  "onSubmit": onSave
7908
7908
  }, {
7909
7909
  default: () => [vue.createVNode("div", {
7910
- "class": bem$O("fields")
7910
+ "class": bem$P("fields")
7911
7911
  }, [vue.createVNode(Field, {
7912
7912
  "modelValue": contact.name,
7913
7913
  "onUpdate:modelValue": ($event) => contact.name = $event,
7914
7914
  "clearable": true,
7915
- "label": t$c("name"),
7915
+ "label": t$d("name"),
7916
7916
  "rules": [{
7917
7917
  required: true,
7918
- message: t$c("nameEmpty")
7918
+ message: t$d("nameEmpty")
7919
7919
  }],
7920
7920
  "maxlength": "30",
7921
- "placeholder": t$c("name")
7921
+ "placeholder": t$d("name")
7922
7922
  }, null), vue.createVNode(Field, {
7923
7923
  "modelValue": contact.tel,
7924
7924
  "onUpdate:modelValue": ($event) => contact.tel = $event,
7925
7925
  "clearable": true,
7926
7926
  "type": "tel",
7927
- "label": t$c("tel"),
7927
+ "label": t$d("tel"),
7928
7928
  "rules": [{
7929
7929
  validator: props.telValidator,
7930
- message: t$c("telInvalid")
7930
+ message: t$d("telInvalid")
7931
7931
  }],
7932
- "placeholder": t$c("tel")
7932
+ "placeholder": t$d("tel")
7933
7933
  }, null)]), renderSetDefault(), renderButtons()]
7934
7934
  });
7935
7935
  }
7936
7936
  });
7937
- const ContactEdit = withInstall(stdin_default$Y);
7938
- const [name$O, bem$N, t$b] = createNamespace("contact-list");
7937
+ const ContactEdit = withInstall(stdin_default$Z);
7938
+ const [name$P, bem$O, t$c] = createNamespace("contact-list");
7939
7939
  const contactListProps = {
7940
7940
  list: Array,
7941
7941
  addText: String,
7942
7942
  modelValue: unknownProp,
7943
7943
  defaultTagText: String
7944
7944
  };
7945
- var stdin_default$X = vue.defineComponent({
7946
- name: name$O,
7945
+ var stdin_default$Y = vue.defineComponent({
7946
+ name: name$P,
7947
7947
  props: contactListProps,
7948
7948
  emits: ["add", "edit", "select", "update:modelValue"],
7949
7949
  setup(props, {
@@ -7955,13 +7955,13 @@ var stdin_default$X = vue.defineComponent({
7955
7955
  emit("select", item, index);
7956
7956
  };
7957
7957
  const renderRightIcon = () => vue.createVNode(Radio, {
7958
- "class": bem$N("radio"),
7958
+ "class": bem$O("radio"),
7959
7959
  "name": item.id,
7960
7960
  "iconSize": 16
7961
7961
  }, null);
7962
7962
  const renderEditIcon = () => vue.createVNode(Icon, {
7963
7963
  "name": "edit",
7964
- "class": bem$N("edit"),
7964
+ "class": bem$O("edit"),
7965
7965
  "onClick": (event) => {
7966
7966
  event.stopPropagation();
7967
7967
  emit("edit", item, index);
@@ -7973,7 +7973,7 @@ var stdin_default$X = vue.defineComponent({
7973
7973
  nodes.push(vue.createVNode(Tag, {
7974
7974
  "type": "primary",
7975
7975
  "round": true,
7976
- "class": bem$N("item-tag")
7976
+ "class": bem$O("item-tag")
7977
7977
  }, {
7978
7978
  default: () => [props.defaultTagText]
7979
7979
  }));
@@ -7984,8 +7984,8 @@ var stdin_default$X = vue.defineComponent({
7984
7984
  "key": item.id,
7985
7985
  "isLink": true,
7986
7986
  "center": true,
7987
- "class": bem$N("item"),
7988
- "titleClass": bem$N("item-title"),
7987
+ "class": bem$O("item"),
7988
+ "titleClass": bem$O("item-title"),
7989
7989
  "onClick": onClick
7990
7990
  }, {
7991
7991
  icon: renderEditIcon,
@@ -7994,25 +7994,25 @@ var stdin_default$X = vue.defineComponent({
7994
7994
  });
7995
7995
  };
7996
7996
  return () => vue.createVNode("div", {
7997
- "class": bem$N()
7997
+ "class": bem$O()
7998
7998
  }, [vue.createVNode(RadioGroup, {
7999
7999
  "modelValue": props.modelValue,
8000
- "class": bem$N("group")
8000
+ "class": bem$O("group")
8001
8001
  }, {
8002
8002
  default: () => [props.list && props.list.map(renderItem)]
8003
8003
  }), vue.createVNode("div", {
8004
- "class": [bem$N("bottom"), "van-safe-area-bottom"]
8004
+ "class": [bem$O("bottom"), "van-safe-area-bottom"]
8005
8005
  }, [vue.createVNode(Button, {
8006
8006
  "round": true,
8007
8007
  "block": true,
8008
8008
  "type": "primary",
8009
- "class": bem$N("add"),
8010
- "text": props.addText || t$b("addContact"),
8009
+ "class": bem$O("add"),
8010
+ "text": props.addText || t$c("addContact"),
8011
8011
  "onClick": () => emit("add")
8012
8012
  }, null)])]);
8013
8013
  }
8014
8014
  });
8015
- const ContactList = withInstall(stdin_default$X);
8015
+ const ContactList = withInstall(stdin_default$Y);
8016
8016
  function parseFormat(format2, currentTime) {
8017
8017
  const { days } = currentTime;
8018
8018
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -8048,15 +8048,15 @@ function parseFormat(format2, currentTime) {
8048
8048
  }
8049
8049
  return format2;
8050
8050
  }
8051
- const [name$N, bem$M] = createNamespace("count-down");
8051
+ const [name$O, bem$N] = createNamespace("count-down");
8052
8052
  const countDownProps = {
8053
8053
  time: makeNumericProp(0),
8054
8054
  format: makeStringProp("HH:mm:ss"),
8055
8055
  autoStart: truthProp,
8056
8056
  millisecond: Boolean
8057
8057
  };
8058
- var stdin_default$W = vue.defineComponent({
8059
- name: name$N,
8058
+ var stdin_default$X = vue.defineComponent({
8059
+ name: name$O,
8060
8060
  props: countDownProps,
8061
8061
  emits: ["change", "finish"],
8062
8062
  setup(props, {
@@ -8091,11 +8091,11 @@ var stdin_default$W = vue.defineComponent({
8091
8091
  });
8092
8092
  return () => vue.createVNode("div", {
8093
8093
  "role": "timer",
8094
- "class": bem$M()
8094
+ "class": bem$N()
8095
8095
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8096
8096
  }
8097
8097
  });
8098
- const CountDown = withInstall(stdin_default$W);
8098
+ const CountDown = withInstall(stdin_default$X);
8099
8099
  function getDate(timeStamp) {
8100
8100
  const date = new Date(timeStamp * 1e3);
8101
8101
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8104,9 +8104,9 @@ function getDate(timeStamp) {
8104
8104
  }
8105
8105
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8106
8106
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8107
- const [name$M, bem$L, t$a] = createNamespace("coupon");
8108
- var stdin_default$V = vue.defineComponent({
8109
- name: name$M,
8107
+ const [name$N, bem$M, t$b] = createNamespace("coupon");
8108
+ var stdin_default$W = vue.defineComponent({
8109
+ name: name$N,
8110
8110
  props: {
8111
8111
  chosen: Boolean,
8112
8112
  coupon: makeRequiredProp(Object),
@@ -8134,13 +8134,13 @@ var stdin_default$V = vue.defineComponent({
8134
8134
  return [vue.createVNode("span", null, [currency]), ` ${denominations}`];
8135
8135
  }
8136
8136
  if (coupon.discount) {
8137
- return t$a("discount", formatDiscount(coupon.discount));
8137
+ return t$b("discount", formatDiscount(coupon.discount));
8138
8138
  }
8139
8139
  return "";
8140
8140
  });
8141
8141
  const conditionMessage = vue.computed(() => {
8142
8142
  const condition = formatAmount(props.coupon.originCondition || 0);
8143
- return condition === "0" ? t$a("unlimited") : t$a("condition", condition);
8143
+ return condition === "0" ? t$b("unlimited") : t$b("condition", condition);
8144
8144
  });
8145
8145
  return () => {
8146
8146
  const {
@@ -8150,34 +8150,34 @@ var stdin_default$V = vue.defineComponent({
8150
8150
  } = props;
8151
8151
  const description = disabled && coupon.reason || coupon.description;
8152
8152
  return vue.createVNode("div", {
8153
- "class": bem$L({
8153
+ "class": bem$M({
8154
8154
  disabled
8155
8155
  })
8156
8156
  }, [vue.createVNode("div", {
8157
- "class": bem$L("content")
8157
+ "class": bem$M("content")
8158
8158
  }, [vue.createVNode("div", {
8159
- "class": bem$L("head")
8159
+ "class": bem$M("head")
8160
8160
  }, [vue.createVNode("h2", {
8161
- "class": bem$L("amount")
8161
+ "class": bem$M("amount")
8162
8162
  }, [faceAmount.value]), vue.createVNode("p", {
8163
- "class": bem$L("condition")
8163
+ "class": bem$M("condition")
8164
8164
  }, [coupon.condition || conditionMessage.value])]), vue.createVNode("div", {
8165
- "class": bem$L("body")
8165
+ "class": bem$M("body")
8166
8166
  }, [vue.createVNode("p", {
8167
- "class": bem$L("name")
8167
+ "class": bem$M("name")
8168
8168
  }, [coupon.name]), vue.createVNode("p", {
8169
- "class": bem$L("valid")
8169
+ "class": bem$M("valid")
8170
8170
  }, [validPeriod.value]), !disabled && vue.createVNode(Checkbox, {
8171
- "class": bem$L("corner"),
8171
+ "class": bem$M("corner"),
8172
8172
  "modelValue": chosen
8173
8173
  }, null)])]), description && vue.createVNode("p", {
8174
- "class": bem$L("description")
8174
+ "class": bem$M("description")
8175
8175
  }, [description])]);
8176
8176
  };
8177
8177
  }
8178
8178
  });
8179
- const Coupon = withInstall(stdin_default$V);
8180
- const [name$L, bem$K, t$9] = createNamespace("coupon-cell");
8179
+ const Coupon = withInstall(stdin_default$W);
8180
+ const [name$M, bem$L, t$a] = createNamespace("coupon-cell");
8181
8181
  const couponCellProps = {
8182
8182
  title: String,
8183
8183
  border: truthProp,
@@ -8203,36 +8203,36 @@ function formatValue({
8203
8203
  }
8204
8204
  return `-${currency} ${(value / 100).toFixed(2)}`;
8205
8205
  }
8206
- return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
8206
+ return coupons.length === 0 ? t$a("noCoupon") : t$a("count", coupons.length);
8207
8207
  }
8208
- var stdin_default$U = vue.defineComponent({
8209
- name: name$L,
8208
+ var stdin_default$V = vue.defineComponent({
8209
+ name: name$M,
8210
8210
  props: couponCellProps,
8211
8211
  setup(props) {
8212
8212
  return () => {
8213
8213
  const selected = props.coupons[+props.chosenCoupon];
8214
8214
  return vue.createVNode(Cell, {
8215
- "class": bem$K(),
8215
+ "class": bem$L(),
8216
8216
  "value": formatValue(props),
8217
- "title": props.title || t$9("title"),
8217
+ "title": props.title || t$a("title"),
8218
8218
  "border": props.border,
8219
8219
  "isLink": props.editable,
8220
- "valueClass": bem$K("value", {
8220
+ "valueClass": bem$L("value", {
8221
8221
  selected
8222
8222
  })
8223
8223
  }, null);
8224
8224
  };
8225
8225
  }
8226
8226
  });
8227
- const CouponCell = withInstall(stdin_default$U);
8228
- const [name$K, bem$J] = createNamespace("empty");
8227
+ const CouponCell = withInstall(stdin_default$V);
8228
+ const [name$L, bem$K] = createNamespace("empty");
8229
8229
  const emptyProps = {
8230
8230
  image: makeStringProp("default"),
8231
8231
  imageSize: [Number, String, Array],
8232
8232
  description: String
8233
8233
  };
8234
- var stdin_default$T = vue.defineComponent({
8235
- name: name$K,
8234
+ var stdin_default$U = vue.defineComponent({
8235
+ name: name$L,
8236
8236
  props: emptyProps,
8237
8237
  setup(props, {
8238
8238
  slots
@@ -8241,14 +8241,14 @@ var stdin_default$T = vue.defineComponent({
8241
8241
  const description = slots.description ? slots.description() : props.description;
8242
8242
  if (description) {
8243
8243
  return vue.createVNode("p", {
8244
- "class": bem$J("description")
8244
+ "class": bem$K("description")
8245
8245
  }, [description]);
8246
8246
  }
8247
8247
  };
8248
8248
  const renderBottom = () => {
8249
8249
  if (slots.default) {
8250
8250
  return vue.createVNode("div", {
8251
- "class": bem$J("bottom")
8251
+ "class": bem$K("bottom")
8252
8252
  }, [slots.default()]);
8253
8253
  }
8254
8254
  };
@@ -8533,15 +8533,15 @@ var stdin_default$T = vue.defineComponent({
8533
8533
  }, null);
8534
8534
  };
8535
8535
  return () => vue.createVNode("div", {
8536
- "class": bem$J()
8536
+ "class": bem$K()
8537
8537
  }, [vue.createVNode("div", {
8538
- "class": bem$J("image"),
8538
+ "class": bem$K("image"),
8539
8539
  "style": getSizeStyle(props.imageSize)
8540
8540
  }, [renderImage()]), renderDescription(), renderBottom()]);
8541
8541
  }
8542
8542
  });
8543
- const Empty = withInstall(stdin_default$T);
8544
- const [name$J, bem$I, t$8] = createNamespace("coupon-list");
8543
+ const Empty = withInstall(stdin_default$U);
8544
+ const [name$K, bem$J, t$9] = createNamespace("coupon-list");
8545
8545
  const couponListProps = {
8546
8546
  code: makeStringProp(""),
8547
8547
  coupons: makeArrayProp(),
@@ -8562,8 +8562,8 @@ const couponListProps = {
8562
8562
  exchangeButtonLoading: Boolean,
8563
8563
  exchangeButtonDisabled: Boolean
8564
8564
  };
8565
- var stdin_default$S = vue.defineComponent({
8566
- name: name$J,
8565
+ var stdin_default$T = vue.defineComponent({
8566
+ name: name$K,
8567
8567
  props: couponListProps,
8568
8568
  emits: ["change", "exchange", "update:code"],
8569
8569
  setup(props, {
@@ -8599,27 +8599,27 @@ var stdin_default$S = vue.defineComponent({
8599
8599
  "image": props.emptyImage
8600
8600
  }, {
8601
8601
  default: () => [vue.createVNode("p", {
8602
- "class": bem$I("empty-tip")
8603
- }, [t$8("noCoupon")])]
8602
+ "class": bem$J("empty-tip")
8603
+ }, [t$9("noCoupon")])]
8604
8604
  });
8605
8605
  const renderExchangeBar = () => {
8606
8606
  if (props.showExchangeBar) {
8607
8607
  return vue.createVNode("div", {
8608
8608
  "ref": barRef,
8609
- "class": bem$I("exchange-bar")
8609
+ "class": bem$J("exchange-bar")
8610
8610
  }, [vue.createVNode(Field, {
8611
8611
  "modelValue": currentCode.value,
8612
8612
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
8613
8613
  "clearable": true,
8614
8614
  "border": false,
8615
- "class": bem$I("field"),
8616
- "placeholder": props.inputPlaceholder || t$8("placeholder"),
8615
+ "class": bem$J("field"),
8616
+ "placeholder": props.inputPlaceholder || t$9("placeholder"),
8617
8617
  "maxlength": "20"
8618
8618
  }, null), vue.createVNode(Button, {
8619
8619
  "plain": true,
8620
8620
  "type": "primary",
8621
- "class": bem$I("exchange"),
8622
- "text": props.exchangeButtonText || t$8("exchange"),
8621
+ "class": bem$J("exchange"),
8622
+ "text": props.exchangeButtonText || t$9("exchange"),
8623
8623
  "loading": props.exchangeButtonLoading,
8624
8624
  "disabled": buttonDisabled.value,
8625
8625
  "onClick": onExchange
@@ -8631,14 +8631,14 @@ var stdin_default$S = vue.defineComponent({
8631
8631
  coupons
8632
8632
  } = props;
8633
8633
  const count = props.showCount ? ` (${coupons.length})` : "";
8634
- const title = (props.enabledTitle || t$8("enable")) + count;
8634
+ const title = (props.enabledTitle || t$9("enable")) + count;
8635
8635
  return vue.createVNode(Tab, {
8636
8636
  "title": title
8637
8637
  }, {
8638
8638
  default: () => {
8639
8639
  var _a;
8640
8640
  return [vue.createVNode("div", {
8641
- "class": bem$I("list", {
8641
+ "class": bem$J("list", {
8642
8642
  "with-bottom": props.showCloseButton
8643
8643
  }),
8644
8644
  "style": {
@@ -8660,14 +8660,14 @@ var stdin_default$S = vue.defineComponent({
8660
8660
  disabledCoupons
8661
8661
  } = props;
8662
8662
  const count = props.showCount ? ` (${disabledCoupons.length})` : "";
8663
- const title = (props.disabledTitle || t$8("disabled")) + count;
8663
+ const title = (props.disabledTitle || t$9("disabled")) + count;
8664
8664
  return vue.createVNode(Tab, {
8665
8665
  "title": title
8666
8666
  }, {
8667
8667
  default: () => {
8668
8668
  var _a;
8669
8669
  return [vue.createVNode("div", {
8670
- "class": bem$I("list", {
8670
+ "class": bem$J("list", {
8671
8671
  "with-bottom": props.showCloseButton
8672
8672
  }),
8673
8673
  "style": {
@@ -8694,28 +8694,28 @@ var stdin_default$S = vue.defineComponent({
8694
8694
  });
8695
8695
  return () => vue.createVNode("div", {
8696
8696
  "ref": root,
8697
- "class": bem$I()
8697
+ "class": bem$J()
8698
8698
  }, [renderExchangeBar(), vue.createVNode(Tabs, {
8699
8699
  "active": activeTab.value,
8700
8700
  "onUpdate:active": ($event) => activeTab.value = $event,
8701
- "class": bem$I("tab")
8701
+ "class": bem$J("tab")
8702
8702
  }, {
8703
8703
  default: () => [renderCouponTab(), renderDisabledTab()]
8704
8704
  }), vue.createVNode("div", {
8705
- "class": bem$I("bottom")
8705
+ "class": bem$J("bottom")
8706
8706
  }, [vue.withDirectives(vue.createVNode(Button, {
8707
8707
  "round": true,
8708
8708
  "block": true,
8709
8709
  "type": "primary",
8710
- "class": bem$I("close"),
8711
- "text": props.closeButtonText || t$8("close"),
8710
+ "class": bem$J("close"),
8711
+ "text": props.closeButtonText || t$9("close"),
8712
8712
  "onClick": () => emit("change", -1)
8713
8713
  }, null), [[vue.vShow, props.showCloseButton]])])]);
8714
8714
  }
8715
8715
  });
8716
- const CouponList = withInstall(stdin_default$S);
8716
+ const CouponList = withInstall(stdin_default$T);
8717
8717
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
8718
- const [name$I] = createNamespace("date-picker");
8718
+ const [name$J] = createNamespace("date-picker");
8719
8719
  const datePickerProps = extend({}, sharedProps, {
8720
8720
  columnsType: {
8721
8721
  type: Array,
@@ -8732,8 +8732,8 @@ const datePickerProps = extend({}, sharedProps, {
8732
8732
  validator: isDate
8733
8733
  }
8734
8734
  });
8735
- var stdin_default$R = vue.defineComponent({
8736
- name: name$I,
8735
+ var stdin_default$S = vue.defineComponent({
8736
+ name: name$J,
8737
8737
  props: datePickerProps,
8738
8738
  emits: ["confirm", "cancel", "change", "update:modelValue"],
8739
8739
  setup(props, {
@@ -8823,8 +8823,8 @@ var stdin_default$R = vue.defineComponent({
8823
8823
  }, pick(props, pickerInheritKeys)), slots);
8824
8824
  }
8825
8825
  });
8826
- const DatePicker = withInstall(stdin_default$R);
8827
- const [name$H, bem$H, t$7] = createNamespace("dialog");
8826
+ const DatePicker = withInstall(stdin_default$S);
8827
+ const [name$I, bem$I, t$8] = createNamespace("dialog");
8828
8828
  const dialogProps = extend({}, popupSharedProps, {
8829
8829
  title: String,
8830
8830
  theme: String,
@@ -8847,8 +8847,8 @@ const dialogProps = extend({}, popupSharedProps, {
8847
8847
  closeOnClickOverlay: Boolean
8848
8848
  });
8849
8849
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
8850
- var stdin_default$Q = vue.defineComponent({
8851
- name: name$H,
8850
+ var stdin_default$R = vue.defineComponent({
8851
+ name: name$I,
8852
8852
  props: dialogProps,
8853
8853
  emits: ["confirm", "cancel", "keydown", "update:show"],
8854
8854
  setup(props, {
@@ -8905,7 +8905,7 @@ var stdin_default$Q = vue.defineComponent({
8905
8905
  const title = slots.title ? slots.title() : props.title;
8906
8906
  if (title) {
8907
8907
  return vue.createVNode("div", {
8908
- "class": bem$H("header", {
8908
+ "class": bem$I("header", {
8909
8909
  isolated: !props.message && !slots.default
8910
8910
  })
8911
8911
  }, [title]);
@@ -8917,7 +8917,7 @@ var stdin_default$Q = vue.defineComponent({
8917
8917
  allowHtml,
8918
8918
  messageAlign
8919
8919
  } = props;
8920
- const classNames = bem$H("message", {
8920
+ const classNames = bem$I("message", {
8921
8921
  "has-title": hasTitle,
8922
8922
  [messageAlign]: messageAlign
8923
8923
  });
@@ -8935,7 +8935,7 @@ var stdin_default$Q = vue.defineComponent({
8935
8935
  const renderContent = () => {
8936
8936
  if (slots.default) {
8937
8937
  return vue.createVNode("div", {
8938
- "class": bem$H("content")
8938
+ "class": bem$I("content")
8939
8939
  }, [slots.default()]);
8940
8940
  }
8941
8941
  const {
@@ -8947,18 +8947,18 @@ var stdin_default$Q = vue.defineComponent({
8947
8947
  const hasTitle = !!(title || slots.title);
8948
8948
  return vue.createVNode("div", {
8949
8949
  "key": allowHtml ? 1 : 0,
8950
- "class": bem$H("content", {
8950
+ "class": bem$I("content", {
8951
8951
  isolated: !hasTitle
8952
8952
  })
8953
8953
  }, [renderMessage(hasTitle)]);
8954
8954
  }
8955
8955
  };
8956
8956
  const renderButtons = () => vue.createVNode("div", {
8957
- "class": [BORDER_TOP, bem$H("footer")]
8957
+ "class": [BORDER_TOP, bem$I("footer")]
8958
8958
  }, [props.showCancelButton && vue.createVNode(Button, {
8959
8959
  "size": "large",
8960
- "text": props.cancelButtonText || t$7("cancel"),
8961
- "class": bem$H("cancel"),
8960
+ "text": props.cancelButtonText || t$8("cancel"),
8961
+ "class": bem$I("cancel"),
8962
8962
  "style": {
8963
8963
  color: props.cancelButtonColor
8964
8964
  },
@@ -8967,8 +8967,8 @@ var stdin_default$Q = vue.defineComponent({
8967
8967
  "onClick": onCancel
8968
8968
  }, null), props.showConfirmButton && vue.createVNode(Button, {
8969
8969
  "size": "large",
8970
- "text": props.confirmButtonText || t$7("confirm"),
8971
- "class": [bem$H("confirm"), {
8970
+ "text": props.confirmButtonText || t$8("confirm"),
8971
+ "class": [bem$I("confirm"), {
8972
8972
  [BORDER_LEFT]: props.showCancelButton
8973
8973
  }],
8974
8974
  "style": {
@@ -8979,20 +8979,20 @@ var stdin_default$Q = vue.defineComponent({
8979
8979
  "onClick": onConfirm
8980
8980
  }, null)]);
8981
8981
  const renderRoundButtons = () => vue.createVNode(ActionBar, {
8982
- "class": bem$H("footer")
8982
+ "class": bem$I("footer")
8983
8983
  }, {
8984
8984
  default: () => [props.showCancelButton && vue.createVNode(ActionBarButton, {
8985
8985
  "type": "warning",
8986
- "text": props.cancelButtonText || t$7("cancel"),
8987
- "class": bem$H("cancel"),
8986
+ "text": props.cancelButtonText || t$8("cancel"),
8987
+ "class": bem$I("cancel"),
8988
8988
  "color": props.cancelButtonColor,
8989
8989
  "loading": loading.cancel,
8990
8990
  "disabled": props.cancelButtonDisabled,
8991
8991
  "onClick": onCancel
8992
8992
  }, null), props.showConfirmButton && vue.createVNode(ActionBarButton, {
8993
8993
  "type": "danger",
8994
- "text": props.confirmButtonText || t$7("confirm"),
8995
- "class": bem$H("confirm"),
8994
+ "text": props.confirmButtonText || t$8("confirm"),
8995
+ "class": bem$I("confirm"),
8996
8996
  "color": props.confirmButtonColor,
8997
8997
  "loading": loading.confirm,
8998
8998
  "disabled": props.confirmButtonDisabled,
@@ -9016,7 +9016,7 @@ var stdin_default$Q = vue.defineComponent({
9016
9016
  return vue.createVNode(Popup, vue.mergeProps({
9017
9017
  "ref": root,
9018
9018
  "role": "dialog",
9019
- "class": [bem$H([theme]), className],
9019
+ "class": [bem$I([theme]), className],
9020
9020
  "style": {
9021
9021
  width: addUnit(width)
9022
9022
  },
@@ -9066,7 +9066,7 @@ function initInstance$2() {
9066
9066
  state,
9067
9067
  toggle
9068
9068
  } = usePopupState();
9069
- return () => vue.createVNode(stdin_default$Q, vue.mergeProps(state, {
9069
+ return () => vue.createVNode(stdin_default$R, vue.mergeProps(state, {
9070
9070
  "onUpdate:show": toggle
9071
9071
  }), null);
9072
9072
  }
@@ -9104,15 +9104,15 @@ const closeDialog = () => {
9104
9104
  instance$2.toggle(false);
9105
9105
  }
9106
9106
  };
9107
- const Dialog = withInstall(stdin_default$Q);
9108
- const [name$G, bem$G] = createNamespace("divider");
9107
+ const Dialog = withInstall(stdin_default$R);
9108
+ const [name$H, bem$H] = createNamespace("divider");
9109
9109
  const dividerProps = {
9110
9110
  dashed: Boolean,
9111
9111
  hairline: truthProp,
9112
9112
  contentPosition: makeStringProp("center")
9113
9113
  };
9114
- var stdin_default$P = vue.defineComponent({
9115
- name: name$G,
9114
+ var stdin_default$Q = vue.defineComponent({
9115
+ name: name$H,
9116
9116
  props: dividerProps,
9117
9117
  setup(props, {
9118
9118
  slots
@@ -9121,7 +9121,7 @@ var stdin_default$P = vue.defineComponent({
9121
9121
  var _a;
9122
9122
  return vue.createVNode("div", {
9123
9123
  "role": "separator",
9124
- "class": bem$G({
9124
+ "class": bem$H({
9125
9125
  dashed: props.dashed,
9126
9126
  hairline: props.hairline,
9127
9127
  [`content-${props.contentPosition}`]: !!slots.default
@@ -9130,8 +9130,8 @@ var stdin_default$P = vue.defineComponent({
9130
9130
  };
9131
9131
  }
9132
9132
  });
9133
- const Divider = withInstall(stdin_default$P);
9134
- const [name$F, bem$F] = createNamespace("dropdown-menu");
9133
+ const Divider = withInstall(stdin_default$Q);
9134
+ const [name$G, bem$G] = createNamespace("dropdown-menu");
9135
9135
  const dropdownMenuProps = {
9136
9136
  overlay: truthProp,
9137
9137
  zIndex: numericProp,
@@ -9141,9 +9141,9 @@ const dropdownMenuProps = {
9141
9141
  closeOnClickOutside: truthProp,
9142
9142
  closeOnClickOverlay: truthProp
9143
9143
  };
9144
- const DROPDOWN_KEY = Symbol(name$F);
9145
- var stdin_default$O = vue.defineComponent({
9146
- name: name$F,
9144
+ const DROPDOWN_KEY = Symbol(name$G);
9145
+ var stdin_default$P = vue.defineComponent({
9146
+ name: name$G,
9147
9147
  props: dropdownMenuProps,
9148
9148
  setup(props, {
9149
9149
  slots
@@ -9210,7 +9210,7 @@ var stdin_default$O = vue.defineComponent({
9210
9210
  "id": `${id}-${index}`,
9211
9211
  "role": "button",
9212
9212
  "tabindex": disabled ? void 0 : 0,
9213
- "class": [bem$F("item", {
9213
+ "class": [bem$G("item", {
9214
9214
  disabled
9215
9215
  }), {
9216
9216
  [HAPTICS_FEEDBACK]: !disabled
@@ -9221,7 +9221,7 @@ var stdin_default$O = vue.defineComponent({
9221
9221
  }
9222
9222
  }
9223
9223
  }, [vue.createVNode("span", {
9224
- "class": [bem$F("title", {
9224
+ "class": [bem$G("title", {
9225
9225
  down: showPopup === (props.direction === "down"),
9226
9226
  active: showPopup
9227
9227
  }), titleClass],
@@ -9247,18 +9247,18 @@ var stdin_default$O = vue.defineComponent({
9247
9247
  var _a;
9248
9248
  return vue.createVNode("div", {
9249
9249
  "ref": root,
9250
- "class": bem$F()
9250
+ "class": bem$G()
9251
9251
  }, [vue.createVNode("div", {
9252
9252
  "ref": barRef,
9253
9253
  "style": barStyle.value,
9254
- "class": bem$F("bar", {
9254
+ "class": bem$G("bar", {
9255
9255
  opened: opened.value
9256
9256
  })
9257
9257
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
9258
9258
  };
9259
9259
  }
9260
9260
  });
9261
- const [name$E, bem$E] = createNamespace("dropdown-item");
9261
+ const [name$F, bem$F] = createNamespace("dropdown-item");
9262
9262
  const dropdownItemProps = {
9263
9263
  title: String,
9264
9264
  options: makeArrayProp(),
@@ -9268,8 +9268,8 @@ const dropdownItemProps = {
9268
9268
  modelValue: unknownProp,
9269
9269
  titleClass: unknownProp
9270
9270
  };
9271
- var stdin_default$N = vue.defineComponent({
9272
- name: name$E,
9271
+ var stdin_default$O = vue.defineComponent({
9272
+ name: name$F,
9273
9273
  inheritAttrs: false,
9274
9274
  props: dropdownItemProps,
9275
9275
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
@@ -9342,7 +9342,7 @@ var stdin_default$N = vue.defineComponent({
9342
9342
  const renderIcon = () => {
9343
9343
  if (active) {
9344
9344
  return vue.createVNode(Icon, {
9345
- "class": bem$E("icon"),
9345
+ "class": bem$F("icon"),
9346
9346
  "color": activeColor,
9347
9347
  "name": "success"
9348
9348
  }, null);
@@ -9353,7 +9353,7 @@ var stdin_default$N = vue.defineComponent({
9353
9353
  "key": option.value,
9354
9354
  "icon": option.icon,
9355
9355
  "title": option.text,
9356
- "class": bem$E("option", {
9356
+ "class": bem$F("option", {
9357
9357
  active
9358
9358
  }),
9359
9359
  "style": {
@@ -9385,13 +9385,13 @@ var stdin_default$N = vue.defineComponent({
9385
9385
  }
9386
9386
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9387
9387
  "style": style,
9388
- "class": bem$E([direction]),
9388
+ "class": bem$F([direction]),
9389
9389
  "onClick": onClickWrapper
9390
9390
  }, attrs), [vue.createVNode(Popup, {
9391
9391
  "show": state.showPopup,
9392
9392
  "onUpdate:show": ($event) => state.showPopup = $event,
9393
9393
  "role": "menu",
9394
- "class": bem$E("content"),
9394
+ "class": bem$F("content"),
9395
9395
  "overlay": overlay,
9396
9396
  "position": direction === "down" ? "top" : "bottom",
9397
9397
  "duration": state.transition ? duration : 0,
@@ -9429,9 +9429,9 @@ var stdin_default$N = vue.defineComponent({
9429
9429
  };
9430
9430
  }
9431
9431
  });
9432
- const DropdownItem = withInstall(stdin_default$N);
9433
- const DropdownMenu = withInstall(stdin_default$O);
9434
- const [name$D, bem$D] = createNamespace("grid");
9432
+ const DropdownItem = withInstall(stdin_default$O);
9433
+ const DropdownMenu = withInstall(stdin_default$P);
9434
+ const [name$E, bem$E] = createNamespace("grid");
9435
9435
  const gridProps = {
9436
9436
  square: Boolean,
9437
9437
  center: truthProp,
@@ -9443,9 +9443,9 @@ const gridProps = {
9443
9443
  clickable: Boolean,
9444
9444
  columnNum: makeNumericProp(4)
9445
9445
  };
9446
- const GRID_KEY = Symbol(name$D);
9447
- var stdin_default$M = vue.defineComponent({
9448
- name: name$D,
9446
+ const GRID_KEY = Symbol(name$E);
9447
+ var stdin_default$N = vue.defineComponent({
9448
+ name: name$E,
9449
9449
  props: gridProps,
9450
9450
  setup(props, {
9451
9451
  slots
@@ -9462,15 +9462,15 @@ var stdin_default$M = vue.defineComponent({
9462
9462
  "style": {
9463
9463
  paddingLeft: addUnit(props.gutter)
9464
9464
  },
9465
- "class": [bem$D(), {
9465
+ "class": [bem$E(), {
9466
9466
  [BORDER_TOP]: props.border && !props.gutter
9467
9467
  }]
9468
9468
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
9469
9469
  };
9470
9470
  }
9471
9471
  });
9472
- const Grid = withInstall(stdin_default$M);
9473
- const [name$C, bem$C] = createNamespace("grid-item");
9472
+ const Grid = withInstall(stdin_default$N);
9473
+ const [name$D, bem$D] = createNamespace("grid-item");
9474
9474
  const gridItemProps = extend({}, routeProps, {
9475
9475
  dot: Boolean,
9476
9476
  text: String,
@@ -9480,8 +9480,8 @@ const gridItemProps = extend({}, routeProps, {
9480
9480
  iconPrefix: String,
9481
9481
  badgeProps: Object
9482
9482
  });
9483
- var stdin_default$L = vue.defineComponent({
9484
- name: name$C,
9483
+ var stdin_default$M = vue.defineComponent({
9484
+ name: name$D,
9485
9485
  props: gridItemProps,
9486
9486
  setup(props, {
9487
9487
  slots
@@ -9547,7 +9547,7 @@ var stdin_default$L = vue.defineComponent({
9547
9547
  "name": props.icon,
9548
9548
  "size": parent.props.iconSize,
9549
9549
  "badge": props.badge,
9550
- "class": bem$C("icon"),
9550
+ "class": bem$D("icon"),
9551
9551
  "color": props.iconColor,
9552
9552
  "badgeProps": props.badgeProps,
9553
9553
  "classPrefix": props.iconPrefix
@@ -9560,7 +9560,7 @@ var stdin_default$L = vue.defineComponent({
9560
9560
  }
9561
9561
  if (props.text) {
9562
9562
  return vue.createVNode("span", {
9563
- "class": bem$C("text")
9563
+ "class": bem$D("text")
9564
9564
  }, [props.text]);
9565
9565
  }
9566
9566
  };
@@ -9580,7 +9580,7 @@ var stdin_default$L = vue.defineComponent({
9580
9580
  direction,
9581
9581
  clickable
9582
9582
  } = parent.props;
9583
- const classes = [bem$C("content", [direction, {
9583
+ const classes = [bem$D("content", [direction, {
9584
9584
  center,
9585
9585
  square,
9586
9586
  reverse,
@@ -9590,7 +9590,7 @@ var stdin_default$L = vue.defineComponent({
9590
9590
  [BORDER]: border
9591
9591
  }];
9592
9592
  return vue.createVNode("div", {
9593
- "class": [bem$C({
9593
+ "class": [bem$D({
9594
9594
  square
9595
9595
  })],
9596
9596
  "style": rootStyle.value
@@ -9604,10 +9604,10 @@ var stdin_default$L = vue.defineComponent({
9604
9604
  };
9605
9605
  }
9606
9606
  });
9607
- const GridItem = withInstall(stdin_default$L);
9607
+ const GridItem = withInstall(stdin_default$M);
9608
9608
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
9609
- const bem$B = createNamespace("image-preview")[1];
9610
- var stdin_default$K = vue.defineComponent({
9609
+ const bem$C = createNamespace("image-preview")[1];
9610
+ var stdin_default$L = vue.defineComponent({
9611
9611
  props: {
9612
9612
  src: String,
9613
9613
  show: Boolean,
@@ -9850,19 +9850,19 @@ var stdin_default$K = vue.defineComponent({
9850
9850
  };
9851
9851
  return vue.createVNode(SwipeItem, {
9852
9852
  "ref": swipeItem,
9853
- "class": bem$B("swipe-item"),
9853
+ "class": bem$C("swipe-item"),
9854
9854
  "onTouchstartPassive": onTouchStart,
9855
9855
  "onTouchend": onTouchEnd,
9856
9856
  "onTouchcancel": onTouchEnd
9857
9857
  }, {
9858
9858
  default: () => [slots.image ? vue.createVNode("div", {
9859
- "class": bem$B("image-wrap")
9859
+ "class": bem$C("image-wrap")
9860
9860
  }, [slots.image({
9861
9861
  src: props.src
9862
9862
  })]) : vue.createVNode(Image$1, {
9863
9863
  "src": props.src,
9864
9864
  "fit": "contain",
9865
- "class": bem$B("image", {
9865
+ "class": bem$C("image", {
9866
9866
  vertical: vertical.value
9867
9867
  }),
9868
9868
  "style": imageStyle.value,
@@ -9872,7 +9872,7 @@ var stdin_default$K = vue.defineComponent({
9872
9872
  };
9873
9873
  }
9874
9874
  });
9875
- const [name$B, bem$A] = createNamespace("image-preview");
9875
+ const [name$C, bem$B] = createNamespace("image-preview");
9876
9876
  const popupProps$1 = ["show", "teleport", "transition", "overlayStyle", "closeOnPopstate"];
9877
9877
  const imagePreviewProps = {
9878
9878
  show: Boolean,
@@ -9896,8 +9896,8 @@ const imagePreviewProps = {
9896
9896
  closeIconPosition: makeStringProp("top-right"),
9897
9897
  teleport: [String, Object]
9898
9898
  };
9899
- var stdin_default$J = vue.defineComponent({
9900
- name: name$B,
9899
+ var stdin_default$K = vue.defineComponent({
9900
+ name: name$C,
9901
9901
  props: imagePreviewProps,
9902
9902
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
9903
9903
  setup(props, {
@@ -9936,7 +9936,7 @@ var stdin_default$J = vue.defineComponent({
9936
9936
  const renderIndex = () => {
9937
9937
  if (props.showIndex) {
9938
9938
  return vue.createVNode("div", {
9939
- "class": bem$A("index")
9939
+ "class": bem$B("index")
9940
9940
  }, [slots.index ? slots.index({
9941
9941
  index: state.active
9942
9942
  }) : `${state.active + 1} / ${props.images.length}`]);
@@ -9945,7 +9945,7 @@ var stdin_default$J = vue.defineComponent({
9945
9945
  const renderCover = () => {
9946
9946
  if (slots.cover) {
9947
9947
  return vue.createVNode("div", {
9948
- "class": bem$A("cover")
9948
+ "class": bem$B("cover")
9949
9949
  }, [slots.cover()]);
9950
9950
  }
9951
9951
  };
@@ -9959,7 +9959,7 @@ var stdin_default$J = vue.defineComponent({
9959
9959
  "ref": swipeRef,
9960
9960
  "lazyRender": true,
9961
9961
  "loop": props.loop,
9962
- "class": bem$A("swipe"),
9962
+ "class": bem$B("swipe"),
9963
9963
  "duration": props.swipeDuration,
9964
9964
  "initialSwipe": props.startPosition,
9965
9965
  "showIndicators": props.showIndicators,
@@ -9968,7 +9968,7 @@ var stdin_default$J = vue.defineComponent({
9968
9968
  "onDragEnd": onDragEnd,
9969
9969
  "onDragStart": onDragStart
9970
9970
  }, {
9971
- default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$K, {
9971
+ default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$L, {
9972
9972
  "src": image,
9973
9973
  "show": props.show,
9974
9974
  "active": state.active,
@@ -9991,7 +9991,7 @@ var stdin_default$J = vue.defineComponent({
9991
9991
  return vue.createVNode(Icon, {
9992
9992
  "role": "button",
9993
9993
  "name": props.closeIcon,
9994
- "class": [bem$A("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
9994
+ "class": [bem$B("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
9995
9995
  "onClick": emitClose
9996
9996
  }, null);
9997
9997
  }
@@ -10028,8 +10028,8 @@ var stdin_default$J = vue.defineComponent({
10028
10028
  }
10029
10029
  });
10030
10030
  return () => vue.createVNode(Popup, vue.mergeProps({
10031
- "class": [bem$A(), props.className],
10032
- "overlayClass": [bem$A("overlay"), props.overlayClass],
10031
+ "class": [bem$B(), props.className],
10032
+ "overlayClass": [bem$B("overlay"), props.overlayClass],
10033
10033
  "onClosed": onClosed,
10034
10034
  "onUpdate:show": updateShow
10035
10035
  }, pick(props, popupProps$1)), {
@@ -10073,7 +10073,7 @@ function initInstance$1() {
10073
10073
  const onClosed = () => {
10074
10074
  state.images = [];
10075
10075
  };
10076
- return () => vue.createVNode(stdin_default$J, vue.mergeProps(state, {
10076
+ return () => vue.createVNode(stdin_default$K, vue.mergeProps(state, {
10077
10077
  "onClosed": onClosed,
10078
10078
  "onUpdate:show": toggle
10079
10079
  }), null);
@@ -10094,13 +10094,13 @@ const showImagePreview = (options, startPosition = 0) => {
10094
10094
  instance$1.open(extend({}, defaultConfig, options));
10095
10095
  return instance$1;
10096
10096
  };
10097
- const ImagePreview = withInstall(stdin_default$J);
10097
+ const ImagePreview = withInstall(stdin_default$K);
10098
10098
  function genAlphabet() {
10099
10099
  const charCodeOfA = "A".charCodeAt(0);
10100
10100
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
10101
10101
  return indexList;
10102
10102
  }
10103
- const [name$A, bem$z] = createNamespace("index-bar");
10103
+ const [name$B, bem$A] = createNamespace("index-bar");
10104
10104
  const indexBarProps = {
10105
10105
  sticky: truthProp,
10106
10106
  zIndex: numericProp,
@@ -10112,9 +10112,9 @@ const indexBarProps = {
10112
10112
  default: genAlphabet
10113
10113
  }
10114
10114
  };
10115
- const INDEX_BAR_KEY = Symbol(name$A);
10116
- var stdin_default$I = vue.defineComponent({
10117
- name: name$A,
10115
+ const INDEX_BAR_KEY = Symbol(name$B);
10116
+ var stdin_default$J = vue.defineComponent({
10117
+ name: name$B,
10118
10118
  props: indexBarProps,
10119
10119
  emits: ["select", "change"],
10120
10120
  setup(props, {
@@ -10226,7 +10226,7 @@ var stdin_default$I = vue.defineComponent({
10226
10226
  const renderIndexes = () => props.indexList.map((index) => {
10227
10227
  const active = index === activeAnchor.value;
10228
10228
  return vue.createVNode("span", {
10229
- "class": bem$z("index", {
10229
+ "class": bem$A("index", {
10230
10230
  active
10231
10231
  }),
10232
10232
  "style": active ? highlightStyle.value : void 0,
@@ -10287,7 +10287,7 @@ var stdin_default$I = vue.defineComponent({
10287
10287
  };
10288
10288
  const renderSidebar = () => vue.createVNode("div", {
10289
10289
  "ref": sidebar,
10290
- "class": bem$z("sidebar"),
10290
+ "class": bem$A("sidebar"),
10291
10291
  "style": sidebarStyle.value,
10292
10292
  "onClick": onClickSidebar,
10293
10293
  "onTouchstartPassive": touch.start
@@ -10302,7 +10302,7 @@ var stdin_default$I = vue.defineComponent({
10302
10302
  var _a;
10303
10303
  return vue.createVNode("div", {
10304
10304
  "ref": root,
10305
- "class": bem$z()
10305
+ "class": bem$A()
10306
10306
  }, [props.teleport ? vue.createVNode(vue.Teleport, {
10307
10307
  "to": props.teleport
10308
10308
  }, {
@@ -10311,12 +10311,12 @@ var stdin_default$I = vue.defineComponent({
10311
10311
  };
10312
10312
  }
10313
10313
  });
10314
- const [name$z, bem$y] = createNamespace("index-anchor");
10314
+ const [name$A, bem$z] = createNamespace("index-anchor");
10315
10315
  const indexAnchorProps = {
10316
10316
  index: numericProp
10317
10317
  };
10318
- var stdin_default$H = vue.defineComponent({
10319
- name: name$z,
10318
+ var stdin_default$I = vue.defineComponent({
10319
+ name: name$A,
10320
10320
  props: indexAnchorProps,
10321
10321
  setup(props, {
10322
10322
  slots
@@ -10379,7 +10379,7 @@ var stdin_default$H = vue.defineComponent({
10379
10379
  }
10380
10380
  }, [vue.createVNode("div", {
10381
10381
  "style": anchorStyle.value,
10382
- "class": [bem$y({
10382
+ "class": [bem$z({
10383
10383
  sticky
10384
10384
  }), {
10385
10385
  [BORDER_BOTTOM]: sticky
@@ -10388,9 +10388,9 @@ var stdin_default$H = vue.defineComponent({
10388
10388
  };
10389
10389
  }
10390
10390
  });
10391
- const IndexAnchor = withInstall(stdin_default$H);
10392
- const IndexBar = withInstall(stdin_default$I);
10393
- const [name$y, bem$x, t$6] = createNamespace("list");
10391
+ const IndexAnchor = withInstall(stdin_default$I);
10392
+ const IndexBar = withInstall(stdin_default$J);
10393
+ const [name$z, bem$y, t$7] = createNamespace("list");
10394
10394
  const listProps = {
10395
10395
  error: Boolean,
10396
10396
  offset: makeNumericProp(300),
@@ -10403,8 +10403,8 @@ const listProps = {
10403
10403
  finishedText: String,
10404
10404
  immediateCheck: truthProp
10405
10405
  };
10406
- var stdin_default$G = vue.defineComponent({
10407
- name: name$y,
10406
+ var stdin_default$H = vue.defineComponent({
10407
+ name: name$z,
10408
10408
  props: listProps,
10409
10409
  emits: ["load", "update:error", "update:loading"],
10410
10410
  setup(props, {
@@ -10449,7 +10449,7 @@ var stdin_default$G = vue.defineComponent({
10449
10449
  const text = slots.finished ? slots.finished() : props.finishedText;
10450
10450
  if (text) {
10451
10451
  return vue.createVNode("div", {
10452
- "class": bem$x("finished-text")
10452
+ "class": bem$y("finished-text")
10453
10453
  }, [text]);
10454
10454
  }
10455
10455
  }
@@ -10464,7 +10464,7 @@ var stdin_default$G = vue.defineComponent({
10464
10464
  if (text) {
10465
10465
  return vue.createVNode("div", {
10466
10466
  "role": "button",
10467
- "class": bem$x("error-text"),
10467
+ "class": bem$y("error-text"),
10468
10468
  "tabindex": 0,
10469
10469
  "onClick": clickErrorText
10470
10470
  }, [text]);
@@ -10474,11 +10474,11 @@ var stdin_default$G = vue.defineComponent({
10474
10474
  const renderLoading = () => {
10475
10475
  if (loading.value && !props.finished && !props.disabled) {
10476
10476
  return vue.createVNode("div", {
10477
- "class": bem$x("loading")
10477
+ "class": bem$y("loading")
10478
10478
  }, [slots.loading ? slots.loading() : vue.createVNode(Loading, {
10479
- "class": bem$x("loading-icon")
10479
+ "class": bem$y("loading-icon")
10480
10480
  }, {
10481
- default: () => [props.loadingText || t$6("loading")]
10481
+ default: () => [props.loadingText || t$7("loading")]
10482
10482
  })]);
10483
10483
  }
10484
10484
  };
@@ -10510,19 +10510,19 @@ var stdin_default$G = vue.defineComponent({
10510
10510
  const Content = (_a = slots.default) == null ? void 0 : _a.call(slots);
10511
10511
  const Placeholder = vue.createVNode("div", {
10512
10512
  "ref": placeholder,
10513
- "class": bem$x("placeholder")
10513
+ "class": bem$y("placeholder")
10514
10514
  }, null);
10515
10515
  return vue.createVNode("div", {
10516
10516
  "ref": root,
10517
10517
  "role": "feed",
10518
- "class": bem$x(),
10518
+ "class": bem$y(),
10519
10519
  "aria-busy": loading.value
10520
10520
  }, [props.direction === "down" ? Content : Placeholder, renderLoading(), renderFinishedText(), renderErrorText(), props.direction === "up" ? Content : Placeholder]);
10521
10521
  };
10522
10522
  }
10523
10523
  });
10524
- const List = withInstall(stdin_default$G);
10525
- const [name$x, bem$w] = createNamespace("nav-bar");
10524
+ const List = withInstall(stdin_default$H);
10525
+ const [name$y, bem$x] = createNamespace("nav-bar");
10526
10526
  const navBarProps = {
10527
10527
  title: String,
10528
10528
  fixed: Boolean,
@@ -10535,8 +10535,8 @@ const navBarProps = {
10535
10535
  safeAreaInsetTop: Boolean,
10536
10536
  clickable: truthProp
10537
10537
  };
10538
- var stdin_default$F = vue.defineComponent({
10539
- name: name$x,
10538
+ var stdin_default$G = vue.defineComponent({
10539
+ name: name$y,
10540
10540
  props: navBarProps,
10541
10541
  emits: ["clickLeft", "clickRight"],
10542
10542
  setup(props, {
@@ -10544,7 +10544,7 @@ var stdin_default$F = vue.defineComponent({
10544
10544
  slots
10545
10545
  }) {
10546
10546
  const navBarRef = vue.ref();
10547
- const renderPlaceholder = usePlaceholder(navBarRef, bem$w);
10547
+ const renderPlaceholder = usePlaceholder(navBarRef, bem$x);
10548
10548
  const onClickLeft = (event) => emit("clickLeft", event);
10549
10549
  const onClickRight = (event) => emit("clickRight", event);
10550
10550
  const renderLeft = () => {
@@ -10552,10 +10552,10 @@ var stdin_default$F = vue.defineComponent({
10552
10552
  return slots.left();
10553
10553
  }
10554
10554
  return [props.leftArrow && vue.createVNode(Icon, {
10555
- "class": bem$w("arrow"),
10555
+ "class": bem$x("arrow"),
10556
10556
  "name": "arrow-left"
10557
10557
  }, null), props.leftText && vue.createVNode("span", {
10558
- "class": bem$w("text")
10558
+ "class": bem$x("text")
10559
10559
  }, [props.leftText])];
10560
10560
  };
10561
10561
  const renderRight = () => {
@@ -10563,7 +10563,7 @@ var stdin_default$F = vue.defineComponent({
10563
10563
  return slots.right();
10564
10564
  }
10565
10565
  return vue.createVNode("span", {
10566
- "class": bem$w("text")
10566
+ "class": bem$x("text")
10567
10567
  }, [props.rightText]);
10568
10568
  };
10569
10569
  const renderNavBar = () => {
@@ -10579,21 +10579,21 @@ var stdin_default$F = vue.defineComponent({
10579
10579
  return vue.createVNode("div", {
10580
10580
  "ref": navBarRef,
10581
10581
  "style": style,
10582
- "class": [bem$w({
10582
+ "class": [bem$x({
10583
10583
  fixed
10584
10584
  }), {
10585
10585
  [BORDER_BOTTOM]: border,
10586
10586
  "van-safe-area-top": props.safeAreaInsetTop
10587
10587
  }]
10588
10588
  }, [vue.createVNode("div", {
10589
- "class": bem$w("content")
10589
+ "class": bem$x("content")
10590
10590
  }, [hasLeft && vue.createVNode("div", {
10591
- "class": [bem$w("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10591
+ "class": [bem$x("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10592
10592
  "onClick": onClickLeft
10593
10593
  }, [renderLeft()]), vue.createVNode("div", {
10594
- "class": [bem$w("title"), "van-ellipsis"]
10594
+ "class": [bem$x("title"), "van-ellipsis"]
10595
10595
  }, [slots.title ? slots.title() : title]), hasRight && vue.createVNode("div", {
10596
- "class": [bem$w("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10596
+ "class": [bem$x("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10597
10597
  "onClick": onClickRight
10598
10598
  }, [renderRight()])])]);
10599
10599
  };
@@ -10605,8 +10605,8 @@ var stdin_default$F = vue.defineComponent({
10605
10605
  };
10606
10606
  }
10607
10607
  });
10608
- const NavBar = withInstall(stdin_default$F);
10609
- const [name$w, bem$v] = createNamespace("notice-bar");
10608
+ const NavBar = withInstall(stdin_default$G);
10609
+ const [name$x, bem$w] = createNamespace("notice-bar");
10610
10610
  const noticeBarProps = {
10611
10611
  text: String,
10612
10612
  mode: String,
@@ -10621,8 +10621,8 @@ const noticeBarProps = {
10621
10621
  default: null
10622
10622
  }
10623
10623
  };
10624
- var stdin_default$E = vue.defineComponent({
10625
- name: name$w,
10624
+ var stdin_default$F = vue.defineComponent({
10625
+ name: name$x,
10626
10626
  props: noticeBarProps,
10627
10627
  emits: ["close", "replay"],
10628
10628
  setup(props, {
@@ -10645,7 +10645,7 @@ var stdin_default$E = vue.defineComponent({
10645
10645
  }
10646
10646
  if (props.leftIcon) {
10647
10647
  return vue.createVNode(Icon, {
10648
- "class": bem$v("left-icon"),
10648
+ "class": bem$w("left-icon"),
10649
10649
  "name": props.leftIcon
10650
10650
  }, null);
10651
10651
  }
@@ -10672,7 +10672,7 @@ var stdin_default$E = vue.defineComponent({
10672
10672
  if (name2) {
10673
10673
  return vue.createVNode(Icon, {
10674
10674
  "name": name2,
10675
- "class": bem$v("right-icon"),
10675
+ "class": bem$w("right-icon"),
10676
10676
  "onClick": onClickRightIcon
10677
10677
  }, null);
10678
10678
  }
@@ -10697,11 +10697,11 @@ var stdin_default$E = vue.defineComponent({
10697
10697
  return vue.createVNode("div", {
10698
10698
  "ref": wrapRef,
10699
10699
  "role": "marquee",
10700
- "class": bem$v("wrap")
10700
+ "class": bem$w("wrap")
10701
10701
  }, [vue.createVNode("div", {
10702
10702
  "ref": contentRef,
10703
10703
  "style": style,
10704
- "class": [bem$v("content"), {
10704
+ "class": [bem$w("content"), {
10705
10705
  "van-ellipsis": ellipsis
10706
10706
  }],
10707
10707
  "onTransitionend": onTransitionEnd
@@ -10750,7 +10750,7 @@ var stdin_default$E = vue.defineComponent({
10750
10750
  } = props;
10751
10751
  return vue.withDirectives(vue.createVNode("div", {
10752
10752
  "role": "alert",
10753
- "class": bem$v({
10753
+ "class": bem$w({
10754
10754
  wrapable
10755
10755
  }),
10756
10756
  "style": {
@@ -10761,8 +10761,8 @@ var stdin_default$E = vue.defineComponent({
10761
10761
  };
10762
10762
  }
10763
10763
  });
10764
- const NoticeBar = withInstall(stdin_default$E);
10765
- const [name$v, bem$u] = createNamespace("notify");
10764
+ const NoticeBar = withInstall(stdin_default$F);
10765
+ const [name$w, bem$v] = createNamespace("notify");
10766
10766
  const notifyProps = extend({}, popupSharedProps, {
10767
10767
  type: makeStringProp("danger"),
10768
10768
  color: String,
@@ -10772,8 +10772,8 @@ const notifyProps = extend({}, popupSharedProps, {
10772
10772
  background: String,
10773
10773
  lockScroll: Boolean
10774
10774
  });
10775
- var stdin_default$D = vue.defineComponent({
10776
- name: name$v,
10775
+ var stdin_default$E = vue.defineComponent({
10776
+ name: name$w,
10777
10777
  props: notifyProps,
10778
10778
  emits: ["update:show"],
10779
10779
  setup(props, {
@@ -10783,7 +10783,7 @@ var stdin_default$D = vue.defineComponent({
10783
10783
  const updateShow = (show) => emit("update:show", show);
10784
10784
  return () => vue.createVNode(Popup, {
10785
10785
  "show": props.show,
10786
- "class": [bem$u([props.type]), props.className],
10786
+ "class": [bem$v([props.type]), props.className],
10787
10787
  "style": {
10788
10788
  color: props.color,
10789
10789
  background: props.background
@@ -10813,7 +10813,7 @@ function initInstance() {
10813
10813
  state,
10814
10814
  toggle
10815
10815
  } = usePopupState();
10816
- return () => vue.createVNode(stdin_default$D, vue.mergeProps(state, {
10816
+ return () => vue.createVNode(stdin_default$E, vue.mergeProps(state, {
10817
10817
  "onUpdate:show": toggle
10818
10818
  }), null);
10819
10819
  }
@@ -10857,24 +10857,24 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
10857
10857
  const resetNotifyDefaultOptions = () => {
10858
10858
  currentOptions = getDefaultOptions();
10859
10859
  };
10860
- const Notify = withInstall(stdin_default$D);
10861
- const [name$u, bem$t] = createNamespace("key");
10860
+ const Notify = withInstall(stdin_default$E);
10861
+ const [name$v, bem$u] = createNamespace("key");
10862
10862
  const CollapseIcon = vue.createVNode("svg", {
10863
- "class": bem$t("collapse-icon"),
10863
+ "class": bem$u("collapse-icon"),
10864
10864
  "viewBox": "0 0 30 24"
10865
10865
  }, [vue.createVNode("path", {
10866
10866
  "d": "M26 13h-2v2h2v-2zm-8-3h2V8h-2v2zm2-4h2V4h-2v2zm2 4h4V4h-2v4h-2v2zm-7 14 3-3h-6l3 3zM6 13H4v2h2v-2zm16 0H8v2h14v-2zm-12-3h2V8h-2v2zM28 0l1 1 1 1v15l-1 2H1l-1-2V2l1-1 1-1zm0 2H2v15h26V2zM6 4v2H4V4zm10 2h2V4h-2v2zM8 9v1H4V8zm8 0v1h-2V8zm-6-5v2H8V4zm4 0v2h-2V4z",
10867
10867
  "fill": "currentColor"
10868
10868
  }, null)]);
10869
10869
  const DeleteIcon = vue.createVNode("svg", {
10870
- "class": bem$t("delete-icon"),
10870
+ "class": bem$u("delete-icon"),
10871
10871
  "viewBox": "0 0 32 22"
10872
10872
  }, [vue.createVNode("path", {
10873
10873
  "d": "M28 0a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H10.4a2 2 0 0 1-1.4-.6L1 13.1c-.6-.5-.9-1.3-.9-2 0-1 .3-1.7.9-2.2L9 .6a2 2 0 0 1 1.4-.6zm0 2H10.4l-8.2 8.3a1 1 0 0 0-.3.7c0 .3.1.5.3.7l8.2 8.4H28a2 2 0 0 0 2-2V4c0-1.1-.9-2-2-2zm-5 4a1 1 0 0 1 .7.3 1 1 0 0 1 0 1.4L20.4 11l3.3 3.3c.2.2.3.5.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3L19 12.4l-3.4 3.3a1 1 0 0 1-.6.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.2.1-.5.3-.7l3.3-3.3-3.3-3.3A1 1 0 0 1 14 7c0-.3.1-.5.3-.7A1 1 0 0 1 15 6a1 1 0 0 1 .6.3L19 9.6l3.3-3.3A1 1 0 0 1 23 6z",
10874
10874
  "fill": "currentColor"
10875
10875
  }, null)]);
10876
- var stdin_default$C = vue.defineComponent({
10877
- name: name$u,
10876
+ var stdin_default$D = vue.defineComponent({
10877
+ name: name$v,
10878
10878
  props: {
10879
10879
  type: String,
10880
10880
  text: numericProp,
@@ -10912,7 +10912,7 @@ var stdin_default$C = vue.defineComponent({
10912
10912
  const renderContent = () => {
10913
10913
  if (props.loading) {
10914
10914
  return vue.createVNode(Loading, {
10915
- "class": bem$t("loading-icon")
10915
+ "class": bem$u("loading-icon")
10916
10916
  }, null);
10917
10917
  }
10918
10918
  const text = slots.default ? slots.default() : props.text;
@@ -10926,7 +10926,7 @@ var stdin_default$C = vue.defineComponent({
10926
10926
  }
10927
10927
  };
10928
10928
  return () => vue.createVNode("div", {
10929
- "class": bem$t("wrapper", {
10929
+ "class": bem$u("wrapper", {
10930
10930
  wider: props.wider
10931
10931
  }),
10932
10932
  "onTouchstartPassive": onTouchStart,
@@ -10936,7 +10936,7 @@ var stdin_default$C = vue.defineComponent({
10936
10936
  }, [vue.createVNode("div", {
10937
10937
  "role": "button",
10938
10938
  "tabindex": 0,
10939
- "class": bem$t([props.color, {
10939
+ "class": bem$u([props.color, {
10940
10940
  large: props.large,
10941
10941
  active: active.value,
10942
10942
  delete: props.type === "delete"
@@ -10944,7 +10944,7 @@ var stdin_default$C = vue.defineComponent({
10944
10944
  }, [renderContent()])]);
10945
10945
  }
10946
10946
  });
10947
- const [name$t, bem$s] = createNamespace("number-keyboard");
10947
+ const [name$u, bem$t] = createNamespace("number-keyboard");
10948
10948
  const numberKeyboardProps = {
10949
10949
  show: Boolean,
10950
10950
  title: String,
@@ -10976,8 +10976,8 @@ function shuffle(array) {
10976
10976
  }
10977
10977
  return array;
10978
10978
  }
10979
- var stdin_default$B = vue.defineComponent({
10980
- name: name$t,
10979
+ var stdin_default$C = vue.defineComponent({
10980
+ name: name$u,
10981
10981
  inheritAttrs: false,
10982
10982
  props: numberKeyboardProps,
10983
10983
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
@@ -11076,14 +11076,14 @@ var stdin_default$B = vue.defineComponent({
11076
11076
  return;
11077
11077
  }
11078
11078
  return vue.createVNode("div", {
11079
- "class": bem$s("header")
11079
+ "class": bem$t("header")
11080
11080
  }, [leftSlot && vue.createVNode("span", {
11081
- "class": bem$s("title-left")
11081
+ "class": bem$t("title-left")
11082
11082
  }, [leftSlot()]), title && vue.createVNode("h2", {
11083
- "class": bem$s("title")
11083
+ "class": bem$t("title")
11084
11084
  }, [title]), showClose && vue.createVNode("button", {
11085
11085
  "type": "button",
11086
- "class": [bem$s("close"), HAPTICS_FEEDBACK],
11086
+ "class": [bem$t("close"), HAPTICS_FEEDBACK],
11087
11087
  "onClick": onClose
11088
11088
  }, [closeButtonText])]);
11089
11089
  };
@@ -11095,7 +11095,7 @@ var stdin_default$B = vue.defineComponent({
11095
11095
  if (key.type === "extra") {
11096
11096
  keySlots.default = slots["extra-key"];
11097
11097
  }
11098
- return vue.createVNode(stdin_default$C, {
11098
+ return vue.createVNode(stdin_default$D, {
11099
11099
  "key": key.text,
11100
11100
  "text": key.text,
11101
11101
  "type": key.type,
@@ -11107,15 +11107,15 @@ var stdin_default$B = vue.defineComponent({
11107
11107
  const renderSidebar = () => {
11108
11108
  if (props.theme === "custom") {
11109
11109
  return vue.createVNode("div", {
11110
- "class": bem$s("sidebar")
11111
- }, [props.showDeleteKey && vue.createVNode(stdin_default$C, {
11110
+ "class": bem$t("sidebar")
11111
+ }, [props.showDeleteKey && vue.createVNode(stdin_default$D, {
11112
11112
  "large": true,
11113
11113
  "text": props.deleteButtonText,
11114
11114
  "type": "delete",
11115
11115
  "onPress": onPress
11116
11116
  }, {
11117
11117
  delete: slots.delete
11118
- }), vue.createVNode(stdin_default$C, {
11118
+ }), vue.createVNode(stdin_default$D, {
11119
11119
  "large": true,
11120
11120
  "text": props.closeButtonText,
11121
11121
  "type": "close",
@@ -11143,16 +11143,16 @@ var stdin_default$B = vue.defineComponent({
11143
11143
  default: () => [vue.withDirectives(vue.createVNode("div", vue.mergeProps({
11144
11144
  "ref": root,
11145
11145
  "style": getZIndexStyle(props.zIndex),
11146
- "class": bem$s({
11146
+ "class": bem$t({
11147
11147
  unfit: !props.safeAreaInsetBottom,
11148
11148
  "with-title": !!Title
11149
11149
  }),
11150
11150
  "onAnimationend": onAnimationEnd,
11151
11151
  "onTouchstartPassive": stopPropagation
11152
11152
  }, attrs), [Title, vue.createVNode("div", {
11153
- "class": bem$s("body")
11153
+ "class": bem$t("body")
11154
11154
  }, [vue.createVNode("div", {
11155
- "class": bem$s("keys")
11155
+ "class": bem$t("keys")
11156
11156
  }, [renderKeys()]), renderSidebar()])]), [[vue.vShow, props.show]])]
11157
11157
  });
11158
11158
  if (props.teleport) {
@@ -11166,8 +11166,8 @@ var stdin_default$B = vue.defineComponent({
11166
11166
  };
11167
11167
  }
11168
11168
  });
11169
- const NumberKeyboard = withInstall(stdin_default$B);
11170
- const [name$s, bem$r, t$5] = createNamespace("pagination");
11169
+ const NumberKeyboard = withInstall(stdin_default$C);
11170
+ const [name$t, bem$s, t$6] = createNamespace("pagination");
11171
11171
  const makePage = (number, text, active) => ({
11172
11172
  number,
11173
11173
  text,
@@ -11186,8 +11186,8 @@ const paginationProps = {
11186
11186
  showPrevButton: truthProp,
11187
11187
  showNextButton: truthProp
11188
11188
  };
11189
- var stdin_default$A = vue.defineComponent({
11190
- name: name$s,
11189
+ var stdin_default$B = vue.defineComponent({
11190
+ name: name$t,
11191
11191
  props: paginationProps,
11192
11192
  emits: ["change", "update:modelValue"],
11193
11193
  setup(props, {
@@ -11249,7 +11249,7 @@ var stdin_default$A = vue.defineComponent({
11249
11249
  };
11250
11250
  vue.watchEffect(() => updateModelValue(props.modelValue));
11251
11251
  const renderDesc = () => vue.createVNode("li", {
11252
- "class": bem$r("page-desc")
11252
+ "class": bem$s("page-desc")
11253
11253
  }, [slots.pageDesc ? slots.pageDesc() : `${props.modelValue}/${count.value}`]);
11254
11254
  const renderPrevButton = () => {
11255
11255
  const {
@@ -11263,7 +11263,7 @@ var stdin_default$A = vue.defineComponent({
11263
11263
  const slot = slots["prev-text"];
11264
11264
  const disabled = modelValue === 1;
11265
11265
  return vue.createVNode("li", {
11266
- "class": [bem$r("item", {
11266
+ "class": [bem$s("item", {
11267
11267
  disabled,
11268
11268
  border: mode === "simple",
11269
11269
  prev: true
@@ -11272,7 +11272,7 @@ var stdin_default$A = vue.defineComponent({
11272
11272
  "type": "button",
11273
11273
  "disabled": disabled,
11274
11274
  "onClick": () => updateModelValue(modelValue - 1, true)
11275
- }, [slot ? slot() : props.prevText || t$5("prev")])]);
11275
+ }, [slot ? slot() : props.prevText || t$6("prev")])]);
11276
11276
  };
11277
11277
  const renderNextButton = () => {
11278
11278
  const {
@@ -11286,7 +11286,7 @@ var stdin_default$A = vue.defineComponent({
11286
11286
  const slot = slots["next-text"];
11287
11287
  const disabled = modelValue === count.value;
11288
11288
  return vue.createVNode("li", {
11289
- "class": [bem$r("item", {
11289
+ "class": [bem$s("item", {
11290
11290
  disabled,
11291
11291
  border: mode === "simple",
11292
11292
  next: true
@@ -11295,10 +11295,10 @@ var stdin_default$A = vue.defineComponent({
11295
11295
  "type": "button",
11296
11296
  "disabled": disabled,
11297
11297
  "onClick": () => updateModelValue(modelValue + 1, true)
11298
- }, [slot ? slot() : props.nextText || t$5("next")])]);
11298
+ }, [slot ? slot() : props.nextText || t$6("next")])]);
11299
11299
  };
11300
11300
  const renderPages = () => pages.value.map((page) => vue.createVNode("li", {
11301
- "class": [bem$r("item", {
11301
+ "class": [bem$s("item", {
11302
11302
  active: page.active,
11303
11303
  page: true
11304
11304
  }), BORDER_SURROUND]
@@ -11309,14 +11309,14 @@ var stdin_default$A = vue.defineComponent({
11309
11309
  }, [slots.page ? slots.page(page) : page.text])]));
11310
11310
  return () => vue.createVNode("nav", {
11311
11311
  "role": "navigation",
11312
- "class": bem$r()
11312
+ "class": bem$s()
11313
11313
  }, [vue.createVNode("ul", {
11314
- "class": bem$r("items")
11314
+ "class": bem$s("items")
11315
11315
  }, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
11316
11316
  }
11317
11317
  });
11318
- const Pagination = withInstall(stdin_default$A);
11319
- const [name$r, bem$q] = createNamespace("password-input");
11318
+ const Pagination = withInstall(stdin_default$B);
11319
+ const [name$s, bem$r] = createNamespace("password-input");
11320
11320
  const passwordInputProps = {
11321
11321
  info: String,
11322
11322
  mask: truthProp,
@@ -11326,8 +11326,8 @@ const passwordInputProps = {
11326
11326
  focused: Boolean,
11327
11327
  errorInfo: String
11328
11328
  };
11329
- var stdin_default$z = vue.defineComponent({
11330
- name: name$r,
11329
+ var stdin_default$A = vue.defineComponent({
11330
+ name: name$s,
11331
11331
  props: passwordInputProps,
11332
11332
  emits: ["focus"],
11333
11333
  setup(props, {
@@ -11359,7 +11359,7 @@ var stdin_default$z = vue.defineComponent({
11359
11359
  Points.push(vue.createVNode("li", {
11360
11360
  "class": [{
11361
11361
  [BORDER_LEFT]: showBorder
11362
- }, bem$q("item", {
11362
+ }, bem$r("item", {
11363
11363
  focus: showCursor
11364
11364
  })],
11365
11365
  "style": style
@@ -11368,7 +11368,7 @@ var stdin_default$z = vue.defineComponent({
11368
11368
  visibility: char ? "visible" : "hidden"
11369
11369
  }
11370
11370
  }, null) : char, showCursor && vue.createVNode("div", {
11371
- "class": bem$q("cursor")
11371
+ "class": bem$r("cursor")
11372
11372
  }, null)]));
11373
11373
  }
11374
11374
  return Points;
@@ -11376,20 +11376,20 @@ var stdin_default$z = vue.defineComponent({
11376
11376
  return () => {
11377
11377
  const info = props.errorInfo || props.info;
11378
11378
  return vue.createVNode("div", {
11379
- "class": bem$q()
11379
+ "class": bem$r()
11380
11380
  }, [vue.createVNode("ul", {
11381
- "class": [bem$q("security"), {
11381
+ "class": [bem$r("security"), {
11382
11382
  [BORDER_SURROUND]: !props.gutter
11383
11383
  }],
11384
11384
  "onTouchstartPassive": onTouchStart
11385
11385
  }, [renderPoints()]), info && vue.createVNode("div", {
11386
- "class": bem$q(props.errorInfo ? "error-info" : "info")
11386
+ "class": bem$r(props.errorInfo ? "error-info" : "info")
11387
11387
  }, [info])]);
11388
11388
  };
11389
11389
  }
11390
11390
  });
11391
- const PasswordInput = withInstall(stdin_default$z);
11392
- const PickerGroup = withInstall(stdin_default$1t);
11391
+ const PasswordInput = withInstall(stdin_default$A);
11392
+ const PickerGroup = withInstall(stdin_default$1u);
11393
11393
  const useSyncPropRef = (getProp, setProp) => {
11394
11394
  const propRef = vue.ref(getProp());
11395
11395
  vue.watch(getProp, (value) => {
@@ -11404,7 +11404,7 @@ const useSyncPropRef = (getProp, setProp) => {
11404
11404
  });
11405
11405
  return propRef;
11406
11406
  };
11407
- const [name$q, bem$p] = createNamespace("popover");
11407
+ const [name$r, bem$q] = createNamespace("popover");
11408
11408
  const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
11409
11409
  const popoverProps = {
11410
11410
  show: Boolean,
@@ -11430,8 +11430,8 @@ const popoverProps = {
11430
11430
  default: "body"
11431
11431
  }
11432
11432
  };
11433
- var stdin_default$y = vue.defineComponent({
11434
- name: name$q,
11433
+ var stdin_default$z = vue.defineComponent({
11434
+ name: name$r,
11435
11435
  props: popoverProps,
11436
11436
  emits: ["select", "touchstart", "update:show"],
11437
11437
  setup(props, {
@@ -11512,9 +11512,9 @@ var stdin_default$y = vue.defineComponent({
11512
11512
  return [action.icon && vue.createVNode(Icon, {
11513
11513
  "name": action.icon,
11514
11514
  "classPrefix": props.iconPrefix,
11515
- "class": bem$p("action-icon")
11515
+ "class": bem$q("action-icon")
11516
11516
  }, null), vue.createVNode("div", {
11517
- "class": [bem$p("action-text"), BORDER_BOTTOM]
11517
+ "class": [bem$q("action-text"), BORDER_BOTTOM]
11518
11518
  }, [action.text])];
11519
11519
  };
11520
11520
  const renderAction = (action, index) => {
@@ -11526,7 +11526,7 @@ var stdin_default$y = vue.defineComponent({
11526
11526
  } = action;
11527
11527
  return vue.createVNode("div", {
11528
11528
  "role": "menuitem",
11529
- "class": [bem$p("action", {
11529
+ "class": [bem$q("action", {
11530
11530
  disabled,
11531
11531
  "with-icon": icon
11532
11532
  }), className],
@@ -11563,29 +11563,29 @@ var stdin_default$y = vue.defineComponent({
11563
11563
  var _a;
11564
11564
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("span", {
11565
11565
  "ref": wrapperRef,
11566
- "class": bem$p("wrapper"),
11566
+ "class": bem$q("wrapper"),
11567
11567
  "onClick": onClickWrapper
11568
11568
  }, [(_a = slots.reference) == null ? void 0 : _a.call(slots)]), vue.createVNode(Popup, vue.mergeProps({
11569
11569
  "ref": popoverRef,
11570
11570
  "show": show.value,
11571
- "class": bem$p([props.theme]),
11571
+ "class": bem$q([props.theme]),
11572
11572
  "position": "",
11573
11573
  "transition": "van-popover-zoom",
11574
11574
  "lockScroll": false,
11575
11575
  "onUpdate:show": updateShow
11576
11576
  }, attrs, pick(props, popupProps)), {
11577
11577
  default: () => [props.showArrow && vue.createVNode("div", {
11578
- "class": bem$p("arrow")
11578
+ "class": bem$q("arrow")
11579
11579
  }, null), vue.createVNode("div", {
11580
11580
  "role": "menu",
11581
- "class": bem$p("content")
11581
+ "class": bem$q("content")
11582
11582
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
11583
11583
  })]);
11584
11584
  };
11585
11585
  }
11586
11586
  });
11587
- const Popover = withInstall(stdin_default$y);
11588
- const [name$p, bem$o] = createNamespace("progress");
11587
+ const Popover = withInstall(stdin_default$z);
11588
+ const [name$q, bem$p] = createNamespace("progress");
11589
11589
  const progressProps = {
11590
11590
  color: String,
11591
11591
  inactive: Boolean,
@@ -11601,8 +11601,8 @@ const progressProps = {
11601
11601
  validator: (value) => +value >= 0 && +value <= 100
11602
11602
  }
11603
11603
  };
11604
- var stdin_default$x = vue.defineComponent({
11605
- name: name$p,
11604
+ var stdin_default$y = vue.defineComponent({
11605
+ name: name$q,
11606
11606
  props: progressProps,
11607
11607
  setup(props) {
11608
11608
  const background = vue.computed(() => props.inactive ? void 0 : props.color);
@@ -11623,7 +11623,7 @@ var stdin_default$x = vue.defineComponent({
11623
11623
  };
11624
11624
  return vue.createVNode("span", {
11625
11625
  "style": style,
11626
- "class": bem$o("pivot", {
11626
+ "class": bem$p("pivot", {
11627
11627
  inactive: props.inactive
11628
11628
  })
11629
11629
  }, [text]);
@@ -11644,10 +11644,10 @@ var stdin_default$x = vue.defineComponent({
11644
11644
  background: background.value
11645
11645
  };
11646
11646
  return vue.createVNode("div", {
11647
- "class": bem$o(),
11647
+ "class": bem$p(),
11648
11648
  "style": rootStyle
11649
11649
  }, [vue.createVNode("span", {
11650
- "class": bem$o("portion", {
11650
+ "class": bem$p("portion", {
11651
11651
  inactive: props.inactive
11652
11652
  }),
11653
11653
  "style": portionStyle
@@ -11655,8 +11655,8 @@ var stdin_default$x = vue.defineComponent({
11655
11655
  };
11656
11656
  }
11657
11657
  });
11658
- const Progress = withInstall(stdin_default$x);
11659
- const [name$o, bem$n, t$4] = createNamespace("pull-refresh");
11658
+ const Progress = withInstall(stdin_default$y);
11659
+ const [name$p, bem$o, t$5] = createNamespace("pull-refresh");
11660
11660
  const DEFAULT_HEAD_HEIGHT = 50;
11661
11661
  const TEXT_STATUS = ["pulling", "loosing", "success"];
11662
11662
  const pullRefreshProps = {
@@ -11671,8 +11671,8 @@ const pullRefreshProps = {
11671
11671
  successDuration: makeNumericProp(500),
11672
11672
  animationDuration: makeNumericProp(300)
11673
11673
  };
11674
- var stdin_default$w = vue.defineComponent({
11675
- name: name$o,
11674
+ var stdin_default$x = vue.defineComponent({
11675
+ name: name$p,
11676
11676
  props: pullRefreshProps,
11677
11677
  emits: ["change", "refresh", "update:modelValue"],
11678
11678
  setup(props, {
@@ -11732,7 +11732,7 @@ var stdin_default$w = vue.defineComponent({
11732
11732
  if (status === "normal") {
11733
11733
  return "";
11734
11734
  }
11735
- return props[`${status}Text`] || t$4(status);
11735
+ return props[`${status}Text`] || t$5(status);
11736
11736
  };
11737
11737
  const renderStatus = () => {
11738
11738
  const {
@@ -11747,12 +11747,12 @@ var stdin_default$w = vue.defineComponent({
11747
11747
  const nodes = [];
11748
11748
  if (TEXT_STATUS.includes(status)) {
11749
11749
  nodes.push(vue.createVNode("div", {
11750
- "class": bem$n("text")
11750
+ "class": bem$o("text")
11751
11751
  }, [getStatusText()]));
11752
11752
  }
11753
11753
  if (status === "loading") {
11754
11754
  nodes.push(vue.createVNode(Loading, {
11755
- "class": bem$n("loading")
11755
+ "class": bem$o("loading")
11756
11756
  }, {
11757
11757
  default: getStatusText
11758
11758
  }));
@@ -11825,23 +11825,23 @@ var stdin_default$w = vue.defineComponent({
11825
11825
  };
11826
11826
  return vue.createVNode("div", {
11827
11827
  "ref": root,
11828
- "class": bem$n()
11828
+ "class": bem$o()
11829
11829
  }, [vue.createVNode("div", {
11830
11830
  "ref": track,
11831
- "class": bem$n("track"),
11831
+ "class": bem$o("track"),
11832
11832
  "style": trackStyle,
11833
11833
  "onTouchstartPassive": onTouchStart,
11834
11834
  "onTouchend": onTouchEnd,
11835
11835
  "onTouchcancel": onTouchEnd
11836
11836
  }, [vue.createVNode("div", {
11837
- "class": bem$n("head"),
11837
+ "class": bem$o("head"),
11838
11838
  "style": getHeadStyle()
11839
11839
  }, [renderStatus()]), (_a = slots.default) == null ? void 0 : _a.call(slots)])]);
11840
11840
  };
11841
11841
  }
11842
11842
  });
11843
- const PullRefresh = withInstall(stdin_default$w);
11844
- const [name$n, bem$m] = createNamespace("rate");
11843
+ const PullRefresh = withInstall(stdin_default$x);
11844
+ const [name$o, bem$n] = createNamespace("rate");
11845
11845
  function getRateStatus(value, index, allowHalf, readonly) {
11846
11846
  if (value >= index) {
11847
11847
  return {
@@ -11883,8 +11883,8 @@ const rateProps = {
11883
11883
  modelValue: makeNumberProp(0),
11884
11884
  disabledColor: String
11885
11885
  };
11886
- var stdin_default$v = vue.defineComponent({
11887
- name: name$n,
11886
+ var stdin_default$w = vue.defineComponent({
11887
+ name: name$o,
11888
11888
  props: rateProps,
11889
11889
  emits: ["change", "update:modelValue"],
11890
11890
  setup(props, {
@@ -12003,7 +12003,7 @@ var stdin_default$v = vue.defineComponent({
12003
12003
  "ref": setItemRefs(index),
12004
12004
  "role": "radio",
12005
12005
  "style": style,
12006
- "class": bem$m("item"),
12006
+ "class": bem$n("item"),
12007
12007
  "tabindex": disabled ? void 0 : 0,
12008
12008
  "aria-setsize": count,
12009
12009
  "aria-posinset": score,
@@ -12012,7 +12012,7 @@ var stdin_default$v = vue.defineComponent({
12012
12012
  }, [vue.createVNode(Icon, {
12013
12013
  "size": size,
12014
12014
  "name": isFull ? icon : voidIcon,
12015
- "class": bem$m("icon", {
12015
+ "class": bem$n("icon", {
12016
12016
  disabled,
12017
12017
  full: isFull
12018
12018
  }),
@@ -12024,7 +12024,7 @@ var stdin_default$v = vue.defineComponent({
12024
12024
  width: item.value + "em"
12025
12025
  },
12026
12026
  "name": isVoid ? voidIcon : icon,
12027
- "class": bem$m("icon", ["half", {
12027
+ "class": bem$n("icon", ["half", {
12028
12028
  disabled,
12029
12029
  full: !isVoid
12030
12030
  }]),
@@ -12039,7 +12039,7 @@ var stdin_default$v = vue.defineComponent({
12039
12039
  return () => vue.createVNode("div", {
12040
12040
  "ref": groupRef,
12041
12041
  "role": "radiogroup",
12042
- "class": bem$m({
12042
+ "class": bem$n({
12043
12043
  readonly: props.readonly,
12044
12044
  disabled: props.disabled
12045
12045
  }),
@@ -12050,9 +12050,9 @@ var stdin_default$v = vue.defineComponent({
12050
12050
  }, [list.value.map(renderStar)]);
12051
12051
  }
12052
12052
  });
12053
- const Rate = withInstall(stdin_default$v);
12054
- const Row = withInstall(stdin_default$11);
12055
- const [name$m, bem$l, t$3] = createNamespace("search");
12053
+ const Rate = withInstall(stdin_default$w);
12054
+ const Row = withInstall(stdin_default$12);
12055
+ const [name$n, bem$m, t$4] = createNamespace("search");
12056
12056
  const searchProps = extend({}, fieldSharedProps, {
12057
12057
  label: String,
12058
12058
  shape: makeStringProp("square"),
@@ -12062,8 +12062,8 @@ const searchProps = extend({}, fieldSharedProps, {
12062
12062
  background: String,
12063
12063
  showAction: Boolean
12064
12064
  });
12065
- var stdin_default$u = vue.defineComponent({
12066
- name: name$m,
12065
+ var stdin_default$v = vue.defineComponent({
12066
+ name: name$n,
12067
12067
  props: searchProps,
12068
12068
  emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
12069
12069
  setup(props, {
@@ -12090,16 +12090,16 @@ var stdin_default$u = vue.defineComponent({
12090
12090
  const renderLabel = () => {
12091
12091
  if (slots.label || props.label) {
12092
12092
  return vue.createVNode("label", {
12093
- "class": bem$l("label"),
12093
+ "class": bem$m("label"),
12094
12094
  "for": getInputId()
12095
12095
  }, [slots.label ? slots.label() : props.label]);
12096
12096
  }
12097
12097
  };
12098
12098
  const renderAction = () => {
12099
12099
  if (props.showAction) {
12100
- const text = props.actionText || t$3("cancel");
12100
+ const text = props.actionText || t$4("cancel");
12101
12101
  return vue.createVNode("div", {
12102
- "class": bem$l("action"),
12102
+ "class": bem$m("action"),
12103
12103
  "role": "button",
12104
12104
  "tabindex": 0,
12105
12105
  "onClick": onCancel
@@ -12129,7 +12129,7 @@ var stdin_default$u = vue.defineComponent({
12129
12129
  return vue.createVNode(Field, vue.mergeProps({
12130
12130
  "ref": fieldRef,
12131
12131
  "type": "search",
12132
- "class": bem$l("field"),
12132
+ "class": bem$m("field"),
12133
12133
  "border": false,
12134
12134
  "onBlur": onBlur,
12135
12135
  "onFocus": onFocus,
@@ -12148,19 +12148,19 @@ var stdin_default$u = vue.defineComponent({
12148
12148
  return () => {
12149
12149
  var _a;
12150
12150
  return vue.createVNode("div", {
12151
- "class": bem$l({
12151
+ "class": bem$m({
12152
12152
  "show-action": props.showAction
12153
12153
  }),
12154
12154
  "style": {
12155
12155
  background: props.background
12156
12156
  }
12157
12157
  }, [(_a = slots.left) == null ? void 0 : _a.call(slots), vue.createVNode("div", {
12158
- "class": bem$l("content", props.shape)
12158
+ "class": bem$m("content", props.shape)
12159
12159
  }, [renderLabel(), renderField()]), renderAction()]);
12160
12160
  };
12161
12161
  }
12162
12162
  });
12163
- const Search = withInstall(stdin_default$u);
12163
+ const Search = withInstall(stdin_default$v);
12164
12164
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
12165
12165
  const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
12166
12166
  const iconMap = {
@@ -12173,7 +12173,7 @@ const iconMap = {
12173
12173
  "weapp-qrcode": "miniprogram-o",
12174
12174
  "wechat-moments": "wechat-moments"
12175
12175
  };
12176
- const [name$l, bem$k, t$2] = createNamespace("share-sheet");
12176
+ const [name$m, bem$l, t$3] = createNamespace("share-sheet");
12177
12177
  const shareSheetProps = extend({}, popupSharedProps, {
12178
12178
  title: String,
12179
12179
  round: truthProp,
@@ -12183,8 +12183,8 @@ const shareSheetProps = extend({}, popupSharedProps, {
12183
12183
  closeOnPopstate: truthProp,
12184
12184
  safeAreaInsetBottom: truthProp
12185
12185
  });
12186
- var stdin_default$t = vue.defineComponent({
12187
- name: name$l,
12186
+ var stdin_default$u = vue.defineComponent({
12187
+ name: name$m,
12188
12188
  props: shareSheetProps,
12189
12189
  emits: ["cancel", "select", "update:show"],
12190
12190
  setup(props, {
@@ -12202,11 +12202,11 @@ var stdin_default$t = vue.defineComponent({
12202
12202
  const description = slots.description ? slots.description() : props.description;
12203
12203
  if (title || description) {
12204
12204
  return vue.createVNode("div", {
12205
- "class": bem$k("header")
12205
+ "class": bem$l("header")
12206
12206
  }, [title && vue.createVNode("h2", {
12207
- "class": bem$k("title")
12207
+ "class": bem$l("title")
12208
12208
  }, [title]), description && vue.createVNode("span", {
12209
- "class": bem$k("description")
12209
+ "class": bem$l("description")
12210
12210
  }, [description])]);
12211
12211
  }
12212
12212
  };
@@ -12214,11 +12214,11 @@ var stdin_default$t = vue.defineComponent({
12214
12214
  if (isImage(icon)) {
12215
12215
  return vue.createVNode("img", {
12216
12216
  "src": icon,
12217
- "class": bem$k("image-icon")
12217
+ "class": bem$l("image-icon")
12218
12218
  }, null);
12219
12219
  }
12220
12220
  return vue.createVNode("div", {
12221
- "class": bem$k("icon", [icon])
12221
+ "class": bem$l("icon", [icon])
12222
12222
  }, [vue.createVNode(Icon, {
12223
12223
  "name": iconMap[icon] || icon
12224
12224
  }, null)]);
@@ -12233,16 +12233,16 @@ var stdin_default$t = vue.defineComponent({
12233
12233
  return vue.createVNode("div", {
12234
12234
  "role": "button",
12235
12235
  "tabindex": 0,
12236
- "class": [bem$k("option"), className, HAPTICS_FEEDBACK],
12236
+ "class": [bem$l("option"), className, HAPTICS_FEEDBACK],
12237
12237
  "onClick": () => onSelect(option, index)
12238
12238
  }, [renderIcon(icon), name2 && vue.createVNode("span", {
12239
- "class": bem$k("name")
12239
+ "class": bem$l("name")
12240
12240
  }, [name2]), description && vue.createVNode("span", {
12241
- "class": bem$k("option-description")
12241
+ "class": bem$l("option-description")
12242
12242
  }, [description])]);
12243
12243
  };
12244
12244
  const renderOptions = (options, border) => vue.createVNode("div", {
12245
- "class": bem$k("options", {
12245
+ "class": bem$l("options", {
12246
12246
  border
12247
12247
  })
12248
12248
  }, [options.map(renderOption)]);
@@ -12257,17 +12257,17 @@ var stdin_default$t = vue.defineComponent({
12257
12257
  };
12258
12258
  const renderCancelButton = () => {
12259
12259
  var _a;
12260
- const cancelText = (_a = props.cancelText) != null ? _a : t$2("cancel");
12260
+ const cancelText = (_a = props.cancelText) != null ? _a : t$3("cancel");
12261
12261
  if (slots.cancel || cancelText) {
12262
12262
  return vue.createVNode("button", {
12263
12263
  "type": "button",
12264
- "class": bem$k("cancel"),
12264
+ "class": bem$l("cancel"),
12265
12265
  "onClick": onCancel
12266
12266
  }, [slots.cancel ? slots.cancel() : cancelText]);
12267
12267
  }
12268
12268
  };
12269
12269
  return () => vue.createVNode(Popup, vue.mergeProps({
12270
- "class": bem$k(),
12270
+ "class": bem$l(),
12271
12271
  "position": "bottom",
12272
12272
  "onUpdate:show": updateShow
12273
12273
  }, pick(props, popupInheritKeys)), {
@@ -12275,14 +12275,14 @@ var stdin_default$t = vue.defineComponent({
12275
12275
  });
12276
12276
  }
12277
12277
  });
12278
- const ShareSheet = withInstall(stdin_default$t);
12279
- const [name$k, bem$j] = createNamespace("sidebar");
12280
- const SIDEBAR_KEY = Symbol(name$k);
12278
+ const ShareSheet = withInstall(stdin_default$u);
12279
+ const [name$l, bem$k] = createNamespace("sidebar");
12280
+ const SIDEBAR_KEY = Symbol(name$l);
12281
12281
  const sidebarProps = {
12282
12282
  modelValue: makeNumericProp(0)
12283
12283
  };
12284
- var stdin_default$s = vue.defineComponent({
12285
- name: name$k,
12284
+ var stdin_default$t = vue.defineComponent({
12285
+ name: name$l,
12286
12286
  props: sidebarProps,
12287
12287
  emits: ["change", "update:modelValue"],
12288
12288
  setup(props, {
@@ -12307,13 +12307,13 @@ var stdin_default$s = vue.defineComponent({
12307
12307
  var _a;
12308
12308
  return vue.createVNode("div", {
12309
12309
  "role": "tablist",
12310
- "class": bem$j()
12310
+ "class": bem$k()
12311
12311
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
12312
12312
  };
12313
12313
  }
12314
12314
  });
12315
- const Sidebar = withInstall(stdin_default$s);
12316
- const [name$j, bem$i] = createNamespace("sidebar-item");
12315
+ const Sidebar = withInstall(stdin_default$t);
12316
+ const [name$k, bem$j] = createNamespace("sidebar-item");
12317
12317
  const sidebarItemProps = extend({}, routeProps, {
12318
12318
  dot: Boolean,
12319
12319
  title: String,
@@ -12321,8 +12321,8 @@ const sidebarItemProps = extend({}, routeProps, {
12321
12321
  disabled: Boolean,
12322
12322
  badgeProps: Object
12323
12323
  });
12324
- var stdin_default$r = vue.defineComponent({
12325
- name: name$j,
12324
+ var stdin_default$s = vue.defineComponent({
12325
+ name: name$k,
12326
12326
  props: sidebarItemProps,
12327
12327
  emits: ["click"],
12328
12328
  setup(props, {
@@ -12358,7 +12358,7 @@ var stdin_default$r = vue.defineComponent({
12358
12358
  const selected = index.value === parent.getActive();
12359
12359
  return vue.createVNode("div", {
12360
12360
  "role": "tab",
12361
- "class": bem$i({
12361
+ "class": bem$j({
12362
12362
  select: selected,
12363
12363
  disabled
12364
12364
  }),
@@ -12367,7 +12367,7 @@ var stdin_default$r = vue.defineComponent({
12367
12367
  "onClick": onClick
12368
12368
  }, [vue.createVNode(Badge, vue.mergeProps({
12369
12369
  "dot": dot,
12370
- "class": bem$i("text"),
12370
+ "class": bem$j("text"),
12371
12371
  "content": badge
12372
12372
  }, props.badgeProps), {
12373
12373
  default: () => [slots.title ? slots.title() : title]
@@ -12375,7 +12375,128 @@ var stdin_default$r = vue.defineComponent({
12375
12375
  };
12376
12376
  }
12377
12377
  });
12378
- const SidebarItem = withInstall(stdin_default$r);
12378
+ const SidebarItem = withInstall(stdin_default$s);
12379
+ const [name$j, bem$i, t$2] = createNamespace("signature");
12380
+ const signatureProps = {
12381
+ tips: String,
12382
+ type: makeStringProp("png"),
12383
+ penColor: makeStringProp("#000"),
12384
+ lineWidth: makeNumberProp(3),
12385
+ clearButtonText: String,
12386
+ confirmButtonText: String
12387
+ };
12388
+ const hasCanvasSupport = () => {
12389
+ var _a;
12390
+ const canvas = document.createElement("canvas");
12391
+ return !!((_a = canvas.getContext) == null ? void 0 : _a.call(canvas, "2d"));
12392
+ };
12393
+ var stdin_default$r = vue.defineComponent({
12394
+ name: name$j,
12395
+ props: signatureProps,
12396
+ emits: ["submit", "clear", "start", "end", "signing"],
12397
+ setup(props, {
12398
+ emit
12399
+ }) {
12400
+ const canvasRef = vue.ref();
12401
+ const wrapRef = vue.ref();
12402
+ const state = vue.reactive({
12403
+ width: 0,
12404
+ height: 0,
12405
+ ctx: null
12406
+ });
12407
+ let canvasRect;
12408
+ const isRenderCanvas = inBrowser ? hasCanvasSupport() : true;
12409
+ const touchStart = () => {
12410
+ if (!state.ctx) {
12411
+ return false;
12412
+ }
12413
+ state.ctx.beginPath();
12414
+ state.ctx.lineWidth = props.lineWidth;
12415
+ state.ctx.strokeStyle = props.penColor;
12416
+ canvasRect = use.useRect(canvasRef);
12417
+ emit("start");
12418
+ };
12419
+ const touchMove = (event) => {
12420
+ var _a, _b;
12421
+ if (!state.ctx) {
12422
+ return false;
12423
+ }
12424
+ preventDefault(event);
12425
+ const touch = event.touches[0];
12426
+ const mouseX = touch.clientX - ((canvasRect == null ? void 0 : canvasRect.left) || 0);
12427
+ const mouseY = touch.clientY - ((canvasRect == null ? void 0 : canvasRect.top) || 0);
12428
+ state.ctx.lineCap = "round";
12429
+ state.ctx.lineJoin = "round";
12430
+ (_a = state.ctx) == null ? void 0 : _a.lineTo(mouseX, mouseY);
12431
+ (_b = state.ctx) == null ? void 0 : _b.stroke();
12432
+ emit("signing", event);
12433
+ };
12434
+ const touchEnd = (event) => {
12435
+ preventDefault(event);
12436
+ emit("end");
12437
+ };
12438
+ const isCanvasEmpty = (canvas) => {
12439
+ const empty = document.createElement("canvas");
12440
+ empty.width = canvas.width;
12441
+ empty.height = canvas.height;
12442
+ return canvas.toDataURL() === empty.toDataURL();
12443
+ };
12444
+ const submit = () => {
12445
+ const canvas = canvasRef.value;
12446
+ if (!canvas) {
12447
+ return;
12448
+ }
12449
+ const isEmpty = isCanvasEmpty(canvas);
12450
+ const image = isEmpty ? "" : canvas.toDataURL(`image/${props.type}`, props.type === "jpg" ? 0.9 : null);
12451
+ emit("submit", {
12452
+ image,
12453
+ canvas
12454
+ });
12455
+ };
12456
+ const clear = () => {
12457
+ if (state.ctx) {
12458
+ state.ctx.clearRect(0, 0, state.width, state.height);
12459
+ state.ctx.closePath();
12460
+ }
12461
+ emit("clear");
12462
+ };
12463
+ vue.onMounted(() => {
12464
+ var _a, _b, _c;
12465
+ if (isRenderCanvas) {
12466
+ state.ctx = (_a = canvasRef.value) == null ? void 0 : _a.getContext("2d");
12467
+ state.width = ((_b = wrapRef.value) == null ? void 0 : _b.offsetWidth) || 0;
12468
+ state.height = ((_c = wrapRef.value) == null ? void 0 : _c.offsetHeight) || 0;
12469
+ }
12470
+ });
12471
+ return () => vue.createVNode("div", {
12472
+ "class": bem$i()
12473
+ }, [vue.createVNode("div", {
12474
+ "class": bem$i("content"),
12475
+ "ref": wrapRef
12476
+ }, [isRenderCanvas ? vue.createVNode("canvas", {
12477
+ "ref": canvasRef,
12478
+ "width": state.width,
12479
+ "height": state.height,
12480
+ "onTouchstartPassive": touchStart,
12481
+ "onTouchmove": touchMove,
12482
+ "onTouchend": touchEnd
12483
+ }, null) : vue.createVNode("p", null, [props.tips])]), vue.createVNode("div", {
12484
+ "class": bem$i("footer")
12485
+ }, [vue.createVNode(Button, {
12486
+ "size": "small",
12487
+ "onClick": clear
12488
+ }, {
12489
+ default: () => [props.clearButtonText || t$2("clear")]
12490
+ }), vue.createVNode(Button, {
12491
+ "type": "primary",
12492
+ "size": "small",
12493
+ "onClick": submit
12494
+ }, {
12495
+ default: () => [props.confirmButtonText || t$2("confirm")]
12496
+ })])]);
12497
+ }
12498
+ });
12499
+ const Signature = withInstall(stdin_default$r);
12379
12500
  const [name$i, bem$h] = createNamespace("skeleton-title");
12380
12501
  const skeletonTitleProps = {
12381
12502
  round: Boolean,
@@ -15404,7 +15525,7 @@ const Lazyload = {
15404
15525
  });
15405
15526
  }
15406
15527
  };
15407
- const version = "4.2.1";
15528
+ const version = "4.3.0";
15408
15529
  function install(app) {
15409
15530
  const components = [
15410
15531
  ActionBar,
@@ -15475,6 +15596,7 @@ function install(app) {
15475
15596
  ShareSheet,
15476
15597
  Sidebar,
15477
15598
  SidebarItem,
15599
+ Signature,
15478
15600
  Skeleton,
15479
15601
  SkeletonAvatar,
15480
15602
  SkeletonImage,
@@ -15585,6 +15707,7 @@ exports.Search = Search;
15585
15707
  exports.ShareSheet = ShareSheet;
15586
15708
  exports.Sidebar = Sidebar;
15587
15709
  exports.SidebarItem = SidebarItem;
15710
+ exports.Signature = Signature;
15588
15711
  exports.Skeleton = Skeleton;
15589
15712
  exports.SkeletonAvatar = SkeletonAvatar;
15590
15713
  exports.SkeletonImage = SkeletonImage;