vant 4.2.1 → 4.3.1

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 +6 -6
package/lib/vant.js CHANGED
@@ -626,12 +626,13 @@
626
626
  });
627
627
  return to;
628
628
  }
629
- var stdin_default$1O = {
629
+ var stdin_default$1P = {
630
630
  name: "姓名",
631
631
  tel: "电话",
632
632
  save: "保存",
633
- confirm: "确认",
633
+ clear: "清空",
634
634
  cancel: "取消",
635
+ confirm: "确认",
635
636
  delete: "删除",
636
637
  loading: "加载中...",
637
638
  noCoupon: "暂无优惠券",
@@ -689,7 +690,7 @@
689
690
  };
690
691
  const lang = vue.ref("zh-CN");
691
692
  const messages = vue.reactive({
692
- "zh-CN": stdin_default$1O
693
+ "zh-CN": stdin_default$1P
693
694
  });
694
695
  const Locale = {
695
696
  messages() {
@@ -704,11 +705,11 @@
704
705
  }
705
706
  };
706
707
  const useCurrentLang = () => lang;
707
- var stdin_default$1N = Locale;
708
+ var stdin_default$1O = Locale;
708
709
  function createTranslate(name2) {
709
710
  const prefix = camelize(name2) + ".";
710
711
  return (path, ...args) => {
711
- const messages2 = stdin_default$1N.messages();
712
+ const messages2 = stdin_default$1O.messages();
712
713
  const message = get(messages2, prefix + path) || get(messages2, path);
713
714
  return isFunction(message) ? message(...args) : message;
714
715
  };
@@ -830,20 +831,20 @@
830
831
  }
831
832
  }, [renderContent()]);
832
833
  }
833
- const [name$1D, bem$1y] = createNamespace("action-bar");
834
- const ACTION_BAR_KEY = Symbol(name$1D);
834
+ const [name$1E, bem$1z] = createNamespace("action-bar");
835
+ const ACTION_BAR_KEY = Symbol(name$1E);
835
836
  const actionBarProps = {
836
837
  placeholder: Boolean,
837
838
  safeAreaInsetBottom: truthProp
838
839
  };
839
- var stdin_default$1M = vue.defineComponent({
840
- name: name$1D,
840
+ var stdin_default$1N = vue.defineComponent({
841
+ name: name$1E,
841
842
  props: actionBarProps,
842
843
  setup(props, {
843
844
  slots
844
845
  }) {
845
846
  const root = vue.ref();
846
- const renderPlaceholder = usePlaceholder(root, bem$1y);
847
+ const renderPlaceholder = usePlaceholder(root, bem$1z);
847
848
  const {
848
849
  linkChildren
849
850
  } = useChildren(ACTION_BAR_KEY);
@@ -852,7 +853,7 @@
852
853
  var _a;
853
854
  return vue.createVNode("div", {
854
855
  "ref": root,
855
- "class": [bem$1y(), {
856
+ "class": [bem$1z(), {
856
857
  "van-safe-area-bottom": props.safeAreaInsetBottom
857
858
  }]
858
859
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -865,7 +866,7 @@
865
866
  };
866
867
  }
867
868
  });
868
- const ActionBar = withInstall(stdin_default$1M);
869
+ const ActionBar = withInstall(stdin_default$1N);
869
870
  function useExpose(apis) {
870
871
  const instance2 = vue.getCurrentInstance();
871
872
  if (instance2) {
@@ -893,7 +894,7 @@
893
894
  const vm = vue.getCurrentInstance().proxy;
894
895
  return () => route(vm);
895
896
  }
896
- const [name$1C, bem$1x] = createNamespace("badge");
897
+ const [name$1D, bem$1y] = createNamespace("badge");
897
898
  const badgeProps = {
898
899
  dot: Boolean,
899
900
  max: numericProp,
@@ -904,8 +905,8 @@
904
905
  showZero: truthProp,
905
906
  position: makeStringProp("top-right")
906
907
  };
907
- var stdin_default$1L = vue.defineComponent({
908
- name: name$1C,
908
+ var stdin_default$1M = vue.defineComponent({
909
+ name: name$1D,
909
910
  props: badgeProps,
910
911
  setup(props, {
911
912
  slots
@@ -968,7 +969,7 @@
968
969
  const renderBadge = () => {
969
970
  if (hasContent() || props.dot) {
970
971
  return vue.createVNode("div", {
971
- "class": bem$1x([props.position, {
972
+ "class": bem$1y([props.position, {
972
973
  dot: props.dot,
973
974
  fixed: !!slots.default
974
975
  }]),
@@ -982,7 +983,7 @@
982
983
  tag
983
984
  } = props;
984
985
  return vue.createVNode(tag, {
985
- "class": bem$1x("wrapper")
986
+ "class": bem$1y("wrapper")
986
987
  }, {
987
988
  default: () => [slots.default(), renderBadge()]
988
989
  });
@@ -991,14 +992,14 @@
991
992
  };
992
993
  }
993
994
  });
994
- const Badge = withInstall(stdin_default$1L);
995
+ const Badge = withInstall(stdin_default$1M);
995
996
  let globalZIndex = 2e3;
996
997
  const useGlobalZIndex = () => ++globalZIndex;
997
998
  const setGlobalZIndex = (val) => {
998
999
  globalZIndex = val;
999
1000
  };
1000
- const [name$1B, bem$1w] = createNamespace("config-provider");
1001
- const CONFIG_PROVIDER_KEY = Symbol(name$1B);
1001
+ const [name$1C, bem$1x] = createNamespace("config-provider");
1002
+ const CONFIG_PROVIDER_KEY = Symbol(name$1C);
1002
1003
  const configProviderProps = {
1003
1004
  tag: makeStringProp("div"),
1004
1005
  theme: makeStringProp("light"),
@@ -1015,8 +1016,8 @@
1015
1016
  });
1016
1017
  return cssVars;
1017
1018
  }
1018
- var stdin_default$1K = vue.defineComponent({
1019
- name: name$1B,
1019
+ var stdin_default$1L = vue.defineComponent({
1020
+ name: name$1C,
1020
1021
  props: configProviderProps,
1021
1022
  setup(props, {
1022
1023
  slots
@@ -1048,7 +1049,7 @@
1048
1049
  }
1049
1050
  });
1050
1051
  return () => vue.createVNode(props.tag, {
1051
- "class": bem$1w(),
1052
+ "class": bem$1x(),
1052
1053
  "style": style.value
1053
1054
  }, {
1054
1055
  default: () => {
@@ -1058,7 +1059,7 @@
1058
1059
  });
1059
1060
  }
1060
1061
  });
1061
- const [name$1A, bem$1v] = createNamespace("icon");
1062
+ const [name$1B, bem$1w] = createNamespace("icon");
1062
1063
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
1063
1064
  const iconProps = {
1064
1065
  dot: Boolean,
@@ -1070,14 +1071,14 @@
1070
1071
  badgeProps: Object,
1071
1072
  classPrefix: String
1072
1073
  };
1073
- var stdin_default$1J = vue.defineComponent({
1074
- name: name$1A,
1074
+ var stdin_default$1K = vue.defineComponent({
1075
+ name: name$1B,
1075
1076
  props: iconProps,
1076
1077
  setup(props, {
1077
1078
  slots
1078
1079
  }) {
1079
1080
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
1080
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1v());
1081
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1w());
1081
1082
  return () => {
1082
1083
  const {
1083
1084
  tag,
@@ -1101,7 +1102,7 @@
1101
1102
  default: () => {
1102
1103
  var _a;
1103
1104
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
1104
- "class": bem$1v("image"),
1105
+ "class": bem$1w("image"),
1105
1106
  "src": name2
1106
1107
  }, null)];
1107
1108
  }
@@ -1109,13 +1110,13 @@
1109
1110
  };
1110
1111
  }
1111
1112
  });
1112
- const Icon = withInstall(stdin_default$1J);
1113
- const [name$1z, bem$1u] = createNamespace("loading");
1113
+ const Icon = withInstall(stdin_default$1K);
1114
+ const [name$1A, bem$1v] = createNamespace("loading");
1114
1115
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1115
- "class": bem$1u("line", String(index + 1))
1116
+ "class": bem$1v("line", String(index + 1))
1116
1117
  }, null));
1117
1118
  const CircularIcon = vue.createVNode("svg", {
1118
- "class": bem$1u("circular"),
1119
+ "class": bem$1v("circular"),
1119
1120
  "viewBox": "25 25 50 50"
1120
1121
  }, [vue.createVNode("circle", {
1121
1122
  "cx": "50",
@@ -1131,8 +1132,8 @@
1131
1132
  textSize: numericProp,
1132
1133
  textColor: String
1133
1134
  };
1134
- var stdin_default$1I = vue.defineComponent({
1135
- name: name$1z,
1135
+ var stdin_default$1J = vue.defineComponent({
1136
+ name: name$1A,
1136
1137
  props: loadingProps,
1137
1138
  setup(props, {
1138
1139
  slots
@@ -1143,7 +1144,7 @@
1143
1144
  const renderIcon = () => {
1144
1145
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
1145
1146
  return vue.createVNode("span", {
1146
- "class": bem$1u("spinner", props.type),
1147
+ "class": bem$1v("spinner", props.type),
1147
1148
  "style": spinnerStyle.value
1148
1149
  }, [slots.icon ? slots.icon() : DefaultIcon]);
1149
1150
  };
@@ -1151,7 +1152,7 @@
1151
1152
  var _a;
1152
1153
  if (slots.default) {
1153
1154
  return vue.createVNode("span", {
1154
- "class": bem$1u("text"),
1155
+ "class": bem$1v("text"),
1155
1156
  "style": {
1156
1157
  fontSize: addUnit(props.textSize),
1157
1158
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1165,7 +1166,7 @@
1165
1166
  vertical
1166
1167
  } = props;
1167
1168
  return vue.createVNode("div", {
1168
- "class": bem$1u([type, {
1169
+ "class": bem$1v([type, {
1169
1170
  vertical
1170
1171
  }]),
1171
1172
  "aria-live": "polite",
@@ -1174,8 +1175,8 @@
1174
1175
  };
1175
1176
  }
1176
1177
  });
1177
- const Loading = withInstall(stdin_default$1I);
1178
- const [name$1y, bem$1t] = createNamespace("button");
1178
+ const Loading = withInstall(stdin_default$1J);
1179
+ const [name$1z, bem$1u] = createNamespace("button");
1179
1180
  const buttonProps = extend({}, routeProps, {
1180
1181
  tag: makeStringProp("button"),
1181
1182
  text: String,
@@ -1197,8 +1198,8 @@
1197
1198
  loadingType: String,
1198
1199
  iconPosition: makeStringProp("left")
1199
1200
  });
1200
- var stdin_default$1H = vue.defineComponent({
1201
- name: name$1y,
1201
+ var stdin_default$1I = vue.defineComponent({
1202
+ name: name$1z,
1202
1203
  props: buttonProps,
1203
1204
  emits: ["click"],
1204
1205
  setup(props, {
@@ -1213,7 +1214,7 @@
1213
1214
  return vue.createVNode(Loading, {
1214
1215
  "size": props.loadingSize,
1215
1216
  "type": props.loadingType,
1216
- "class": bem$1t("loading")
1217
+ "class": bem$1u("loading")
1217
1218
  }, null);
1218
1219
  };
1219
1220
  const renderIcon = () => {
@@ -1222,13 +1223,13 @@
1222
1223
  }
1223
1224
  if (slots.icon) {
1224
1225
  return vue.createVNode("div", {
1225
- "class": bem$1t("icon")
1226
+ "class": bem$1u("icon")
1226
1227
  }, [slots.icon()]);
1227
1228
  }
1228
1229
  if (props.icon) {
1229
1230
  return vue.createVNode(Icon, {
1230
1231
  "name": props.icon,
1231
- "class": bem$1t("icon"),
1232
+ "class": bem$1u("icon"),
1232
1233
  "classPrefix": props.iconPrefix
1233
1234
  }, null);
1234
1235
  }
@@ -1242,7 +1243,7 @@
1242
1243
  }
1243
1244
  if (text) {
1244
1245
  return vue.createVNode("span", {
1245
- "class": bem$1t("text")
1246
+ "class": bem$1u("text")
1246
1247
  }, [text]);
1247
1248
  }
1248
1249
  };
@@ -1289,7 +1290,7 @@
1289
1290
  nativeType,
1290
1291
  iconPosition
1291
1292
  } = props;
1292
- const classes = [bem$1t([type, size, {
1293
+ const classes = [bem$1u([type, size, {
1293
1294
  plain,
1294
1295
  block,
1295
1296
  round: round2,
@@ -1308,14 +1309,14 @@
1308
1309
  "onClick": onClick
1309
1310
  }, {
1310
1311
  default: () => [vue.createVNode("div", {
1311
- "class": bem$1t("content")
1312
+ "class": bem$1u("content")
1312
1313
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1313
1314
  });
1314
1315
  };
1315
1316
  }
1316
1317
  });
1317
- const Button = withInstall(stdin_default$1H);
1318
- const [name$1x, bem$1s] = createNamespace("action-bar-button");
1318
+ const Button = withInstall(stdin_default$1I);
1319
+ const [name$1y, bem$1t] = createNamespace("action-bar-button");
1319
1320
  const actionBarButtonProps = extend({}, routeProps, {
1320
1321
  type: String,
1321
1322
  text: String,
@@ -1324,8 +1325,8 @@
1324
1325
  loading: Boolean,
1325
1326
  disabled: Boolean
1326
1327
  });
1327
- var stdin_default$1G = vue.defineComponent({
1328
- name: name$1x,
1328
+ var stdin_default$1H = vue.defineComponent({
1329
+ name: name$1y,
1329
1330
  props: actionBarButtonProps,
1330
1331
  setup(props, {
1331
1332
  slots
@@ -1360,7 +1361,7 @@
1360
1361
  disabled
1361
1362
  } = props;
1362
1363
  return vue.createVNode(Button, {
1363
- "class": bem$1s([type, {
1364
+ "class": bem$1t([type, {
1364
1365
  last: isLast.value,
1365
1366
  first: isFirst.value
1366
1367
  }]),
@@ -1377,8 +1378,8 @@
1377
1378
  };
1378
1379
  }
1379
1380
  });
1380
- const ActionBarButton = withInstall(stdin_default$1G);
1381
- const [name$1w, bem$1r] = createNamespace("action-bar-icon");
1381
+ const ActionBarButton = withInstall(stdin_default$1H);
1382
+ const [name$1x, bem$1s] = createNamespace("action-bar-icon");
1382
1383
  const actionBarIconProps = extend({}, routeProps, {
1383
1384
  dot: Boolean,
1384
1385
  text: String,
@@ -1389,8 +1390,8 @@
1389
1390
  badgeProps: Object,
1390
1391
  iconPrefix: String
1391
1392
  });
1392
- var stdin_default$1F = vue.defineComponent({
1393
- name: name$1w,
1393
+ var stdin_default$1G = vue.defineComponent({
1394
+ name: name$1x,
1394
1395
  props: actionBarIconProps,
1395
1396
  setup(props, {
1396
1397
  slots
@@ -1410,7 +1411,7 @@
1410
1411
  if (slots.icon) {
1411
1412
  return vue.createVNode(Badge, vue.mergeProps({
1412
1413
  "dot": dot,
1413
- "class": bem$1r("icon"),
1414
+ "class": bem$1s("icon"),
1414
1415
  "content": badge
1415
1416
  }, badgeProps2), {
1416
1417
  default: slots.icon
@@ -1422,20 +1423,20 @@
1422
1423
  "name": icon,
1423
1424
  "badge": badge,
1424
1425
  "color": color,
1425
- "class": [bem$1r("icon"), iconClass],
1426
+ "class": [bem$1s("icon"), iconClass],
1426
1427
  "badgeProps": badgeProps2,
1427
1428
  "classPrefix": iconPrefix
1428
1429
  }, null);
1429
1430
  };
1430
1431
  return () => vue.createVNode("div", {
1431
1432
  "role": "button",
1432
- "class": bem$1r(),
1433
+ "class": bem$1s(),
1433
1434
  "tabindex": 0,
1434
1435
  "onClick": route2
1435
1436
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1436
1437
  }
1437
1438
  });
1438
- const ActionBarIcon = withInstall(stdin_default$1F);
1439
+ const ActionBarIcon = withInstall(stdin_default$1G);
1439
1440
  const popupSharedProps = {
1440
1441
  // whether to show popup
1441
1442
  show: Boolean,
@@ -1586,7 +1587,7 @@
1586
1587
  );
1587
1588
  return (render) => () => inited.value ? render() : null;
1588
1589
  }
1589
- const [name$1v, bem$1q] = createNamespace("overlay");
1590
+ const [name$1w, bem$1r] = createNamespace("overlay");
1590
1591
  const overlayProps = {
1591
1592
  show: Boolean,
1592
1593
  zIndex: numericProp,
@@ -1596,8 +1597,8 @@
1596
1597
  lazyRender: truthProp,
1597
1598
  customStyle: Object
1598
1599
  };
1599
- var stdin_default$1E = vue.defineComponent({
1600
- name: name$1v,
1600
+ var stdin_default$1F = vue.defineComponent({
1601
+ name: name$1w,
1601
1602
  props: overlayProps,
1602
1603
  setup(props, {
1603
1604
  slots
@@ -1618,7 +1619,7 @@
1618
1619
  return vue.withDirectives(vue.createVNode("div", {
1619
1620
  "ref": root,
1620
1621
  "style": style,
1621
- "class": [bem$1q(), props.className]
1622
+ "class": [bem$1r(), props.className]
1622
1623
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1623
1624
  });
1624
1625
  useEventListener("touchmove", onTouchMove, {
@@ -1632,7 +1633,7 @@
1632
1633
  });
1633
1634
  }
1634
1635
  });
1635
- const Overlay = withInstall(stdin_default$1E);
1636
+ const Overlay = withInstall(stdin_default$1F);
1636
1637
  const popupProps$2 = extend({}, popupSharedProps, {
1637
1638
  round: Boolean,
1638
1639
  position: makeStringProp("center"),
@@ -1645,9 +1646,9 @@
1645
1646
  safeAreaInsetTop: Boolean,
1646
1647
  safeAreaInsetBottom: Boolean
1647
1648
  });
1648
- const [name$1u, bem$1p] = createNamespace("popup");
1649
- var stdin_default$1D = vue.defineComponent({
1650
- name: name$1u,
1649
+ const [name$1v, bem$1q] = createNamespace("popup");
1650
+ var stdin_default$1E = vue.defineComponent({
1651
+ name: name$1v,
1651
1652
  inheritAttrs: false,
1652
1653
  props: popupProps$2,
1653
1654
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1721,7 +1722,7 @@
1721
1722
  "role": "button",
1722
1723
  "tabindex": 0,
1723
1724
  "name": props.closeIcon,
1724
- "class": [bem$1p("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1725
+ "class": [bem$1q("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1725
1726
  "classPrefix": props.iconPrefix,
1726
1727
  "onClick": onClickCloseIcon
1727
1728
  }, null);
@@ -1743,7 +1744,7 @@
1743
1744
  "style": style.value,
1744
1745
  "role": "dialog",
1745
1746
  "tabindex": 0,
1746
- "class": [bem$1p({
1747
+ "class": [bem$1q({
1747
1748
  round: round2,
1748
1749
  [position]: position
1749
1750
  }), {
@@ -1824,8 +1825,8 @@
1824
1825
  };
1825
1826
  }
1826
1827
  });
1827
- const Popup = withInstall(stdin_default$1D);
1828
- const [name$1t, bem$1o] = createNamespace("action-sheet");
1828
+ const Popup = withInstall(stdin_default$1E);
1829
+ const [name$1u, bem$1p] = createNamespace("action-sheet");
1829
1830
  const actionSheetProps = extend({}, popupSharedProps, {
1830
1831
  title: String,
1831
1832
  round: truthProp,
@@ -1839,8 +1840,8 @@
1839
1840
  safeAreaInsetBottom: truthProp
1840
1841
  });
1841
1842
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1842
- var stdin_default$1C = vue.defineComponent({
1843
- name: name$1t,
1843
+ var stdin_default$1D = vue.defineComponent({
1844
+ name: name$1u,
1844
1845
  props: actionSheetProps,
1845
1846
  emits: ["select", "cancel", "update:show"],
1846
1847
  setup(props, {
@@ -1855,10 +1856,10 @@
1855
1856
  const renderHeader = () => {
1856
1857
  if (props.title) {
1857
1858
  return vue.createVNode("div", {
1858
- "class": bem$1o("header")
1859
+ "class": bem$1p("header")
1859
1860
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1860
1861
  "name": props.closeIcon,
1861
- "class": [bem$1o("close"), HAPTICS_FEEDBACK],
1862
+ "class": [bem$1p("close"), HAPTICS_FEEDBACK],
1862
1863
  "onClick": onCancel
1863
1864
  }, null)]);
1864
1865
  }
@@ -1866,10 +1867,10 @@
1866
1867
  const renderCancel = () => {
1867
1868
  if (slots.cancel || props.cancelText) {
1868
1869
  return [vue.createVNode("div", {
1869
- "class": bem$1o("gap")
1870
+ "class": bem$1p("gap")
1870
1871
  }, null), vue.createVNode("button", {
1871
1872
  "type": "button",
1872
- "class": bem$1o("cancel"),
1873
+ "class": bem$1p("cancel"),
1873
1874
  "onClick": onCancel
1874
1875
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1875
1876
  }
@@ -1877,7 +1878,7 @@
1877
1878
  const renderActionContent = (action, index) => {
1878
1879
  if (action.loading) {
1879
1880
  return vue.createVNode(Loading, {
1880
- "class": bem$1o("loading-icon")
1881
+ "class": bem$1p("loading-icon")
1881
1882
  }, null);
1882
1883
  }
1883
1884
  if (slots.action) {
@@ -1887,9 +1888,9 @@
1887
1888
  });
1888
1889
  }
1889
1890
  return [vue.createVNode("span", {
1890
- "class": bem$1o("name")
1891
+ "class": bem$1p("name")
1891
1892
  }, [action.name]), action.subname && vue.createVNode("div", {
1892
- "class": bem$1o("subname")
1893
+ "class": bem$1p("subname")
1893
1894
  }, [action.subname])];
1894
1895
  };
1895
1896
  const renderAction = (action, index) => {
@@ -1917,7 +1918,7 @@
1917
1918
  "style": {
1918
1919
  color
1919
1920
  },
1920
- "class": [bem$1o("item", {
1921
+ "class": [bem$1p("item", {
1921
1922
  loading,
1922
1923
  disabled
1923
1924
  }), className],
@@ -1928,26 +1929,26 @@
1928
1929
  if (props.description || slots.description) {
1929
1930
  const content = slots.description ? slots.description() : props.description;
1930
1931
  return vue.createVNode("div", {
1931
- "class": bem$1o("description")
1932
+ "class": bem$1p("description")
1932
1933
  }, [content]);
1933
1934
  }
1934
1935
  };
1935
1936
  return () => vue.createVNode(Popup, vue.mergeProps({
1936
- "class": bem$1o(),
1937
+ "class": bem$1p(),
1937
1938
  "position": "bottom",
1938
1939
  "onUpdate:show": updateShow
1939
1940
  }, pick(props, popupInheritKeys$2)), {
1940
1941
  default: () => {
1941
1942
  var _a;
1942
1943
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1943
- "class": bem$1o("content")
1944
+ "class": bem$1p("content")
1944
1945
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1945
1946
  }
1946
1947
  });
1947
1948
  }
1948
1949
  });
1949
- const ActionSheet = withInstall(stdin_default$1C);
1950
- const [name$1s, bem$1n, t$j] = createNamespace("picker");
1950
+ const ActionSheet = withInstall(stdin_default$1D);
1951
+ const [name$1t, bem$1o, t$k] = createNamespace("picker");
1951
1952
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1952
1953
  function getColumnsType(columns, fields) {
1953
1954
  const firstColumn = columns[0];
@@ -2016,10 +2017,10 @@
2016
2017
  const DEFAULT_DURATION = 200;
2017
2018
  const MOMENTUM_TIME = 300;
2018
2019
  const MOMENTUM_DISTANCE = 15;
2019
- const [name$1r, bem$1m] = createNamespace("picker-column");
2020
- const PICKER_KEY = Symbol(name$1r);
2021
- var stdin_default$1B = vue.defineComponent({
2022
- name: name$1r,
2020
+ const [name$1s, bem$1n] = createNamespace("picker-column");
2021
+ const PICKER_KEY = Symbol(name$1s);
2022
+ var stdin_default$1C = vue.defineComponent({
2023
+ name: name$1s,
2023
2024
  props: {
2024
2025
  value: numericProp,
2025
2026
  fields: makeRequiredProp(Object),
@@ -2158,7 +2159,7 @@
2158
2159
  role: "button",
2159
2160
  style: optionStyle,
2160
2161
  tabindex: disabled ? -1 : 0,
2161
- class: [bem$1m("item", {
2162
+ class: [bem$1n("item", {
2162
2163
  disabled,
2163
2164
  selected: value === props.value
2164
2165
  }), option.className],
@@ -2186,7 +2187,7 @@
2186
2187
  });
2187
2188
  return () => vue.createVNode("div", {
2188
2189
  "ref": root,
2189
- "class": bem$1m(),
2190
+ "class": bem$1n(),
2190
2191
  "onTouchstartPassive": onTouchStart,
2191
2192
  "onTouchend": onTouchEnd,
2192
2193
  "onTouchcancel": onTouchEnd
@@ -2197,12 +2198,12 @@
2197
2198
  transitionDuration: `${currentDuration.value}ms`,
2198
2199
  transitionProperty: currentDuration.value ? "all" : "none"
2199
2200
  },
2200
- "class": bem$1m("wrapper"),
2201
+ "class": bem$1n("wrapper"),
2201
2202
  "onTransitionend": stopMomentum
2202
2203
  }, [renderOptions()])]);
2203
2204
  }
2204
2205
  });
2205
- const [name$1q] = createNamespace("picker-toolbar");
2206
+ const [name$1r] = createNamespace("picker-toolbar");
2206
2207
  const pickerToolbarProps = {
2207
2208
  title: String,
2208
2209
  cancelButtonText: String,
@@ -2210,8 +2211,8 @@
2210
2211
  };
2211
2212
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
2212
2213
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
2213
- var stdin_default$1A = vue.defineComponent({
2214
- name: name$1q,
2214
+ var stdin_default$1B = vue.defineComponent({
2215
+ name: name$1r,
2215
2216
  props: pickerToolbarProps,
2216
2217
  emits: ["confirm", "cancel"],
2217
2218
  setup(props, {
@@ -2224,30 +2225,30 @@
2224
2225
  }
2225
2226
  if (props.title) {
2226
2227
  return vue.createVNode("div", {
2227
- "class": [bem$1n("title"), "van-ellipsis"]
2228
+ "class": [bem$1o("title"), "van-ellipsis"]
2228
2229
  }, [props.title]);
2229
2230
  }
2230
2231
  };
2231
2232
  const onCancel = () => emit("cancel");
2232
2233
  const onConfirm = () => emit("confirm");
2233
2234
  const renderCancel = () => {
2234
- const text = props.cancelButtonText || t$j("cancel");
2235
+ const text = props.cancelButtonText || t$k("cancel");
2235
2236
  return vue.createVNode("button", {
2236
2237
  "type": "button",
2237
- "class": [bem$1n("cancel"), HAPTICS_FEEDBACK],
2238
+ "class": [bem$1o("cancel"), HAPTICS_FEEDBACK],
2238
2239
  "onClick": onCancel
2239
2240
  }, [slots.cancel ? slots.cancel() : text]);
2240
2241
  };
2241
2242
  const renderConfirm = () => {
2242
- const text = props.confirmButtonText || t$j("confirm");
2243
+ const text = props.confirmButtonText || t$k("confirm");
2243
2244
  return vue.createVNode("button", {
2244
2245
  "type": "button",
2245
- "class": [bem$1n("confirm"), HAPTICS_FEEDBACK],
2246
+ "class": [bem$1o("confirm"), HAPTICS_FEEDBACK],
2246
2247
  "onClick": onConfirm
2247
2248
  }, [slots.confirm ? slots.confirm() : text]);
2248
2249
  };
2249
2250
  return () => vue.createVNode("div", {
2250
- "class": bem$1n("toolbar")
2251
+ "class": bem$1o("toolbar")
2251
2252
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
2252
2253
  }
2253
2254
  });
@@ -2328,7 +2329,7 @@
2328
2329
  vue.onBeforeUnmount(unobserve);
2329
2330
  onMountedOrActivated(observe);
2330
2331
  }
2331
- const [name$1p, bem$1l] = createNamespace("sticky");
2332
+ const [name$1q, bem$1m] = createNamespace("sticky");
2332
2333
  const stickyProps = {
2333
2334
  zIndex: numericProp,
2334
2335
  position: makeStringProp("top"),
@@ -2336,8 +2337,8 @@
2336
2337
  offsetTop: makeNumericProp(0),
2337
2338
  offsetBottom: makeNumericProp(0)
2338
2339
  };
2339
- var stdin_default$1z = vue.defineComponent({
2340
- name: name$1p,
2340
+ var stdin_default$1A = vue.defineComponent({
2341
+ name: name$1q,
2341
2342
  props: stickyProps,
2342
2343
  emits: ["scroll", "change"],
2343
2344
  setup(props, {
@@ -2450,7 +2451,7 @@
2450
2451
  "ref": root,
2451
2452
  "style": rootStyle.value
2452
2453
  }, [vue.createVNode("div", {
2453
- "class": bem$1l({
2454
+ "class": bem$1m({
2454
2455
  fixed: state.fixed && !isReset.value
2455
2456
  }),
2456
2457
  "style": stickyStyle.value
@@ -2458,8 +2459,8 @@
2458
2459
  };
2459
2460
  }
2460
2461
  });
2461
- const Sticky = withInstall(stdin_default$1z);
2462
- const [name$1o, bem$1k] = createNamespace("swipe");
2462
+ const Sticky = withInstall(stdin_default$1A);
2463
+ const [name$1p, bem$1l] = createNamespace("swipe");
2463
2464
  const swipeProps = {
2464
2465
  loop: truthProp,
2465
2466
  width: numericProp,
@@ -2474,9 +2475,9 @@
2474
2475
  showIndicators: truthProp,
2475
2476
  stopPropagation: truthProp
2476
2477
  };
2477
- const SWIPE_KEY = Symbol(name$1o);
2478
- var stdin_default$1y = vue.defineComponent({
2479
- name: name$1o,
2478
+ const SWIPE_KEY = Symbol(name$1p);
2479
+ var stdin_default$1z = vue.defineComponent({
2480
+ name: name$1p,
2480
2481
  props: swipeProps,
2481
2482
  emits: ["change", "dragStart", "dragEnd"],
2482
2483
  setup(props, {
@@ -2754,7 +2755,7 @@
2754
2755
  } : void 0;
2755
2756
  return vue.createVNode("i", {
2756
2757
  "style": style,
2757
- "class": bem$1k("indicator", {
2758
+ "class": bem$1l("indicator", {
2758
2759
  active
2759
2760
  })
2760
2761
  }, null);
@@ -2768,7 +2769,7 @@
2768
2769
  }
2769
2770
  if (props.showIndicators && count.value > 1) {
2770
2771
  return vue.createVNode("div", {
2771
- "class": bem$1k("indicators", {
2772
+ "class": bem$1l("indicators", {
2772
2773
  vertical: props.vertical
2773
2774
  })
2774
2775
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2810,11 +2811,11 @@
2810
2811
  var _a;
2811
2812
  return vue.createVNode("div", {
2812
2813
  "ref": root,
2813
- "class": bem$1k()
2814
+ "class": bem$1l()
2814
2815
  }, [vue.createVNode("div", {
2815
2816
  "ref": track,
2816
2817
  "style": trackStyle.value,
2817
- "class": bem$1k("track", {
2818
+ "class": bem$1l("track", {
2818
2819
  vertical: props.vertical
2819
2820
  }),
2820
2821
  "onTouchstartPassive": onTouchStart,
@@ -2824,10 +2825,10 @@
2824
2825
  };
2825
2826
  }
2826
2827
  });
2827
- const Swipe = withInstall(stdin_default$1y);
2828
- const [name$1n, bem$1j] = createNamespace("tabs");
2829
- var stdin_default$1x = vue.defineComponent({
2830
- name: name$1n,
2828
+ const Swipe = withInstall(stdin_default$1z);
2829
+ const [name$1o, bem$1k] = createNamespace("tabs");
2830
+ var stdin_default$1y = vue.defineComponent({
2831
+ name: name$1o,
2831
2832
  props: {
2832
2833
  count: makeRequiredProp(Number),
2833
2834
  inited: Boolean,
@@ -2851,7 +2852,7 @@
2851
2852
  return vue.createVNode(Swipe, {
2852
2853
  "ref": swipeRef,
2853
2854
  "loop": false,
2854
- "class": bem$1j("track"),
2855
+ "class": bem$1k("track"),
2855
2856
  "duration": +props.duration * 1e3,
2856
2857
  "touchable": props.swipeable,
2857
2858
  "lazyRender": props.lazyRender,
@@ -2879,13 +2880,13 @@
2879
2880
  swipeRef
2880
2881
  });
2881
2882
  return () => vue.createVNode("div", {
2882
- "class": bem$1j("content", {
2883
+ "class": bem$1k("content", {
2883
2884
  animated: props.animated || props.swipeable
2884
2885
  })
2885
2886
  }, [renderChildren()]);
2886
2887
  }
2887
2888
  });
2888
- const [name$1m, bem$1i] = createNamespace("tabs");
2889
+ const [name$1n, bem$1j] = createNamespace("tabs");
2889
2890
  const tabsProps = {
2890
2891
  type: makeStringProp("line"),
2891
2892
  color: String,
@@ -2908,9 +2909,9 @@
2908
2909
  titleActiveColor: String,
2909
2910
  titleInactiveColor: String
2910
2911
  };
2911
- const TABS_KEY = Symbol(name$1m);
2912
- var stdin_default$1w = vue.defineComponent({
2913
- name: name$1m,
2912
+ const TABS_KEY = Symbol(name$1n);
2913
+ var stdin_default$1x = vue.defineComponent({
2914
+ name: name$1n,
2914
2915
  props: tabsProps,
2915
2916
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2916
2917
  setup(props, {
@@ -3102,7 +3103,7 @@
3102
3103
  const renderLine = () => {
3103
3104
  if (props.type === "line" && children.length) {
3104
3105
  return vue.createVNode("div", {
3105
- "class": bem$1i("line"),
3106
+ "class": bem$1j("line"),
3106
3107
  "style": state.lineStyle
3107
3108
  }, null);
3108
3109
  }
@@ -3116,13 +3117,13 @@
3116
3117
  } = props;
3117
3118
  const Header = [vue.createVNode("div", {
3118
3119
  "ref": sticky ? void 0 : wrapRef,
3119
- "class": [bem$1i("wrap"), {
3120
+ "class": [bem$1j("wrap"), {
3120
3121
  [BORDER_TOP_BOTTOM]: type === "line" && border
3121
3122
  }]
3122
3123
  }, [vue.createVNode("div", {
3123
3124
  "ref": navRef,
3124
3125
  "role": "tablist",
3125
- "class": bem$1i("nav", [type, {
3126
+ "class": bem$1j("nav", [type, {
3126
3127
  shrink: props.shrink,
3127
3128
  complete: scrollable.value
3128
3129
  }]),
@@ -3195,14 +3196,14 @@
3195
3196
  });
3196
3197
  return () => vue.createVNode("div", {
3197
3198
  "ref": root,
3198
- "class": bem$1i([props.type])
3199
+ "class": bem$1j([props.type])
3199
3200
  }, [props.sticky ? vue.createVNode(Sticky, {
3200
3201
  "container": root.value,
3201
3202
  "offsetTop": offsetTopPx.value,
3202
3203
  "onScroll": onStickyScroll
3203
3204
  }, {
3204
3205
  default: () => [renderHeader()]
3205
- }) : renderHeader(), vue.createVNode(stdin_default$1x, {
3206
+ }) : renderHeader(), vue.createVNode(stdin_default$1y, {
3206
3207
  "ref": contentRef,
3207
3208
  "count": children.length,
3208
3209
  "inited": state.inited,
@@ -3222,9 +3223,9 @@
3222
3223
  });
3223
3224
  const TAB_STATUS_KEY = Symbol();
3224
3225
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
3225
- const [name$1l, bem$1h] = createNamespace("tab");
3226
+ const [name$1m, bem$1i] = createNamespace("tab");
3226
3227
  const TabTitle = vue.defineComponent({
3227
- name: name$1l,
3228
+ name: name$1m,
3228
3229
  props: {
3229
3230
  id: String,
3230
3231
  dot: Boolean,
@@ -3273,7 +3274,7 @@
3273
3274
  });
3274
3275
  const renderText = () => {
3275
3276
  const Text = vue.createVNode("span", {
3276
- "class": bem$1h("text", {
3277
+ "class": bem$1i("text", {
3277
3278
  ellipsis: !props.scrollable
3278
3279
  })
3279
3280
  }, [slots.title ? slots.title() : props.title]);
@@ -3291,7 +3292,7 @@
3291
3292
  return () => vue.createVNode("div", {
3292
3293
  "id": props.id,
3293
3294
  "role": "tab",
3294
- "class": [bem$1h([props.type, {
3295
+ "class": [bem$1i([props.type, {
3295
3296
  grow: props.scrollable && !props.shrink,
3296
3297
  shrink: props.shrink,
3297
3298
  active: props.isActive,
@@ -3305,9 +3306,9 @@
3305
3306
  }, [renderText()]);
3306
3307
  }
3307
3308
  });
3308
- const [name$1k, bem$1g] = createNamespace("swipe-item");
3309
- var stdin_default$1v = vue.defineComponent({
3310
- name: name$1k,
3309
+ const [name$1l, bem$1h] = createNamespace("swipe-item");
3310
+ var stdin_default$1w = vue.defineComponent({
3311
+ name: name$1l,
3311
3312
  setup(props, {
3312
3313
  slots
3313
3314
  }) {
@@ -3369,14 +3370,14 @@
3369
3370
  return () => {
3370
3371
  var _a;
3371
3372
  return vue.createVNode("div", {
3372
- "class": bem$1g(),
3373
+ "class": bem$1h(),
3373
3374
  "style": style.value
3374
3375
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3375
3376
  };
3376
3377
  }
3377
3378
  });
3378
- const SwipeItem = withInstall(stdin_default$1v);
3379
- const [name$1j, bem$1f] = createNamespace("tab");
3379
+ const SwipeItem = withInstall(stdin_default$1w);
3380
+ const [name$1k, bem$1g] = createNamespace("tab");
3380
3381
  const tabProps = extend({}, routeProps, {
3381
3382
  dot: Boolean,
3382
3383
  name: numericProp,
@@ -3387,8 +3388,8 @@
3387
3388
  titleStyle: [String, Object],
3388
3389
  showZeroBadge: truthProp
3389
3390
  });
3390
- var stdin_default$1u = vue.defineComponent({
3391
- name: name$1j,
3391
+ var stdin_default$1v = vue.defineComponent({
3392
+ name: name$1k,
3392
3393
  props: tabProps,
3393
3394
  setup(props, {
3394
3395
  slots
@@ -3473,7 +3474,7 @@
3473
3474
  return vue.createVNode(SwipeItem, {
3474
3475
  "id": id,
3475
3476
  "role": "tabpanel",
3476
- "class": bem$1f("panel-wrapper", {
3477
+ "class": bem$1g("panel-wrapper", {
3477
3478
  inactive: hasInactiveClass.value
3478
3479
  }),
3479
3480
  "tabindex": active.value ? 0 : -1,
@@ -3483,7 +3484,7 @@
3483
3484
  default: () => {
3484
3485
  var _a2;
3485
3486
  return [vue.createVNode("div", {
3486
- "class": bem$1f("panel")
3487
+ "class": bem$1g("panel")
3487
3488
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3488
3489
  }
3489
3490
  });
@@ -3493,23 +3494,23 @@
3493
3494
  return vue.withDirectives(vue.createVNode("div", {
3494
3495
  "id": id,
3495
3496
  "role": "tabpanel",
3496
- "class": bem$1f("panel"),
3497
+ "class": bem$1g("panel"),
3497
3498
  "tabindex": show ? 0 : -1,
3498
3499
  "aria-labelledby": label
3499
3500
  }, [Content]), [[vue.vShow, show]]);
3500
3501
  };
3501
3502
  }
3502
3503
  });
3503
- const Tab = withInstall(stdin_default$1u);
3504
- const Tabs = withInstall(stdin_default$1w);
3505
- const [name$1i, bem$1e] = createNamespace("picker-group");
3506
- const PICKER_GROUP_KEY = Symbol(name$1i);
3504
+ const Tab = withInstall(stdin_default$1v);
3505
+ const Tabs = withInstall(stdin_default$1x);
3506
+ const [name$1j, bem$1f] = createNamespace("picker-group");
3507
+ const PICKER_GROUP_KEY = Symbol(name$1j);
3507
3508
  const pickerGroupProps = extend({
3508
3509
  tabs: makeArrayProp(),
3509
3510
  nextStepText: String
3510
3511
  }, pickerToolbarProps);
3511
- var stdin_default$1t = vue.defineComponent({
3512
- name: name$1i,
3512
+ var stdin_default$1u = vue.defineComponent({
3513
+ name: name$1j,
3513
3514
  props: pickerGroupProps,
3514
3515
  emits: ["confirm", "cancel"],
3515
3516
  setup(props, {
@@ -3536,8 +3537,8 @@
3536
3537
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3537
3538
  const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
3538
3539
  return vue.createVNode("div", {
3539
- "class": bem$1e()
3540
- }, [vue.createVNode(stdin_default$1A, {
3540
+ "class": bem$1f()
3541
+ }, [vue.createVNode(stdin_default$1B, {
3541
3542
  "title": props.title,
3542
3543
  "cancelButtonText": props.cancelButtonText,
3543
3544
  "confirmButtonText": confirmButtonText,
@@ -3546,14 +3547,14 @@
3546
3547
  }, pick(slots, pickerToolbarSlots)), vue.createVNode(Tabs, {
3547
3548
  "active": activeTab.value,
3548
3549
  "onUpdate:active": ($event) => activeTab.value = $event,
3549
- "class": bem$1e("tabs"),
3550
+ "class": bem$1f("tabs"),
3550
3551
  "shrink": true,
3551
3552
  "animated": true,
3552
3553
  "lazyRender": false
3553
3554
  }, {
3554
3555
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3555
3556
  "title": title,
3556
- "titleClass": bem$1e("tab-title")
3557
+ "titleClass": bem$1f("tab-title")
3557
3558
  }, {
3558
3559
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3559
3560
  }))]
@@ -3576,8 +3577,8 @@
3576
3577
  toolbarPosition: makeStringProp("top"),
3577
3578
  columnsFieldNames: Object
3578
3579
  });
3579
- var stdin_default$1s = vue.defineComponent({
3580
- name: name$1s,
3580
+ var stdin_default$1t = vue.defineComponent({
3581
+ name: name$1t,
3581
3582
  props: pickerProps,
3582
3583
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3583
3584
  setup(props, {
@@ -3658,7 +3659,7 @@
3658
3659
  return params;
3659
3660
  };
3660
3661
  const cancel = () => emit("cancel", getEventParams());
3661
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1B, {
3662
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1C, {
3662
3663
  "value": selectedValues.value[columnIndex],
3663
3664
  "fields": fields.value,
3664
3665
  "options": options,
@@ -3687,10 +3688,10 @@
3687
3688
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3688
3689
  };
3689
3690
  return [vue.createVNode("div", {
3690
- "class": bem$1n("mask"),
3691
+ "class": bem$1o("mask"),
3691
3692
  "style": maskStyle
3692
3693
  }, null), vue.createVNode("div", {
3693
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1n("frame")],
3694
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1o("frame")],
3694
3695
  "style": frameStyle
3695
3696
  }, null)];
3696
3697
  }
@@ -3702,13 +3703,13 @@
3702
3703
  };
3703
3704
  return vue.createVNode("div", {
3704
3705
  "ref": columnsRef,
3705
- "class": bem$1n("columns"),
3706
+ "class": bem$1o("columns"),
3706
3707
  "style": columnsStyle
3707
3708
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3708
3709
  };
3709
3710
  const renderToolbar = () => {
3710
3711
  if (props.showToolbar && !parent) {
3711
- return vue.createVNode(stdin_default$1A, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3712
+ return vue.createVNode(stdin_default$1B, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3712
3713
  "onConfirm": confirm,
3713
3714
  "onCancel": cancel
3714
3715
  }), pick(slots, pickerToolbarSlots));
@@ -3751,9 +3752,9 @@
3751
3752
  return () => {
3752
3753
  var _a, _b;
3753
3754
  return vue.createVNode("div", {
3754
- "class": bem$1n()
3755
+ "class": bem$1o()
3755
3756
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3756
- "class": bem$1n("loading")
3757
+ "class": bem$1o("loading")
3757
3758
  }, 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]);
3758
3759
  };
3759
3760
  }
@@ -3844,8 +3845,8 @@
3844
3845
  }
3845
3846
  return options;
3846
3847
  }
3847
- const Picker = withInstall(stdin_default$1s);
3848
- const [name$1h, bem$1d] = createNamespace("area");
3848
+ const Picker = withInstall(stdin_default$1t);
3849
+ const [name$1i, bem$1e] = createNamespace("area");
3849
3850
  const areaProps = extend({}, pickerSharedProps, {
3850
3851
  modelValue: String,
3851
3852
  columnsNum: makeNumericProp(3),
@@ -3855,8 +3856,8 @@
3855
3856
  default: () => ({})
3856
3857
  }
3857
3858
  });
3858
- var stdin_default$1r = vue.defineComponent({
3859
- name: name$1h,
3859
+ var stdin_default$1s = vue.defineComponent({
3860
+ name: name$1i,
3860
3861
  props: areaProps,
3861
3862
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3862
3863
  setup(props, {
@@ -3903,7 +3904,7 @@
3903
3904
  "ref": picker,
3904
3905
  "modelValue": codes.value,
3905
3906
  "onUpdate:modelValue": ($event) => codes.value = $event,
3906
- "class": bem$1d(),
3907
+ "class": bem$1e(),
3907
3908
  "columns": columns.value,
3908
3909
  "onChange": onChange,
3909
3910
  "onCancel": onCancel,
@@ -3911,8 +3912,8 @@
3911
3912
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3912
3913
  }
3913
3914
  });
3914
- const Area = withInstall(stdin_default$1r);
3915
- const [name$1g, bem$1c] = createNamespace("cell");
3915
+ const Area = withInstall(stdin_default$1s);
3916
+ const [name$1h, bem$1d] = createNamespace("cell");
3916
3917
  const cellSharedProps = {
3917
3918
  tag: makeStringProp("div"),
3918
3919
  icon: String,
@@ -3936,8 +3937,8 @@
3936
3937
  }
3937
3938
  };
3938
3939
  const cellProps = extend({}, cellSharedProps, routeProps);
3939
- var stdin_default$1q = vue.defineComponent({
3940
- name: name$1g,
3940
+ var stdin_default$1r = vue.defineComponent({
3941
+ name: name$1h,
3941
3942
  props: cellProps,
3942
3943
  setup(props, {
3943
3944
  slots
@@ -3947,7 +3948,7 @@
3947
3948
  const showLabel = slots.label || isDef(props.label);
3948
3949
  if (showLabel) {
3949
3950
  return vue.createVNode("div", {
3950
- "class": [bem$1c("label"), props.labelClass]
3951
+ "class": [bem$1d("label"), props.labelClass]
3951
3952
  }, [slots.label ? slots.label() : props.label]);
3952
3953
  }
3953
3954
  };
@@ -3959,7 +3960,7 @@
3959
3960
  return;
3960
3961
  }
3961
3962
  return vue.createVNode("div", {
3962
- "class": [bem$1c("title"), props.titleClass],
3963
+ "class": [bem$1d("title"), props.titleClass],
3963
3964
  "style": props.titleStyle
3964
3965
  }, [titleSlot || vue.createVNode("span", null, [props.title]), renderLabel()]);
3965
3966
  }
@@ -3969,7 +3970,7 @@
3969
3970
  const hasValue = slot || isDef(props.value);
3970
3971
  if (hasValue) {
3971
3972
  return vue.createVNode("div", {
3972
- "class": [bem$1c("value"), props.valueClass]
3973
+ "class": [bem$1d("value"), props.valueClass]
3973
3974
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3974
3975
  }
3975
3976
  };
@@ -3980,7 +3981,7 @@
3980
3981
  if (props.icon) {
3981
3982
  return vue.createVNode(Icon, {
3982
3983
  "name": props.icon,
3983
- "class": bem$1c("left-icon"),
3984
+ "class": bem$1d("left-icon"),
3984
3985
  "classPrefix": props.iconPrefix
3985
3986
  }, null);
3986
3987
  }
@@ -3993,7 +3994,7 @@
3993
3994
  const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
3994
3995
  return vue.createVNode(Icon, {
3995
3996
  "name": name2,
3996
- "class": bem$1c("right-icon")
3997
+ "class": bem$1d("right-icon")
3997
3998
  }, null);
3998
3999
  }
3999
4000
  };
@@ -4018,7 +4019,7 @@
4018
4019
  classes[size] = !!size;
4019
4020
  }
4020
4021
  return vue.createVNode(tag, {
4021
- "class": bem$1c(classes),
4022
+ "class": bem$1d(classes),
4022
4023
  "role": clickable ? "button" : void 0,
4023
4024
  "tabindex": clickable ? 0 : void 0,
4024
4025
  "onClick": route2
@@ -4031,8 +4032,8 @@
4031
4032
  };
4032
4033
  }
4033
4034
  });
4034
- const Cell = withInstall(stdin_default$1q);
4035
- const [name$1f, bem$1b] = createNamespace("form");
4035
+ const Cell = withInstall(stdin_default$1r);
4036
+ const [name$1g, bem$1c] = createNamespace("form");
4036
4037
  const formProps = {
4037
4038
  colon: Boolean,
4038
4039
  disabled: Boolean,
@@ -4051,8 +4052,8 @@
4051
4052
  default: "onBlur"
4052
4053
  }
4053
4054
  };
4054
- var stdin_default$1p = vue.defineComponent({
4055
- name: name$1f,
4055
+ var stdin_default$1q = vue.defineComponent({
4056
+ name: name$1g,
4056
4057
  props: formProps,
4057
4058
  emits: ["submit", "failed"],
4058
4059
  setup(props, {
@@ -4178,13 +4179,13 @@
4178
4179
  return () => {
4179
4180
  var _a;
4180
4181
  return vue.createVNode("form", {
4181
- "class": bem$1b(),
4182
+ "class": bem$1c(),
4182
4183
  "onSubmit": onSubmit
4183
4184
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4184
4185
  };
4185
4186
  }
4186
4187
  });
4187
- const Form = withInstall(stdin_default$1p);
4188
+ const Form = withInstall(stdin_default$1q);
4188
4189
  function isEmptyValue(value) {
4189
4190
  if (Array.isArray(value)) {
4190
4191
  return !value.length;
@@ -4273,7 +4274,7 @@
4273
4274
  function cutString(str, maxlength) {
4274
4275
  return [...str].slice(0, maxlength).join("");
4275
4276
  }
4276
- const [name$1e, bem$1a] = createNamespace("field");
4277
+ const [name$1f, bem$1b] = createNamespace("field");
4277
4278
  const fieldSharedProps = {
4278
4279
  id: String,
4279
4280
  name: String,
@@ -4320,8 +4321,8 @@
4320
4321
  default: null
4321
4322
  }
4322
4323
  });
4323
- var stdin_default$1o = vue.defineComponent({
4324
- name: name$1e,
4324
+ var stdin_default$1p = vue.defineComponent({
4325
+ name: name$1f,
4325
4326
  props: fieldProps,
4326
4327
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
4327
4328
  setup(props, {
@@ -4595,7 +4596,7 @@
4595
4596
  const getInputId = () => props.id || `${id}-input`;
4596
4597
  const getValidationStatus = () => state.status;
4597
4598
  const renderInput = () => {
4598
- const controlClass = bem$1a("control", [getProp("inputAlign"), {
4599
+ const controlClass = bem$1b("control", [getProp("inputAlign"), {
4599
4600
  error: showError.value,
4600
4601
  custom: !!slots.input,
4601
4602
  "min-height": props.type === "textarea" && !props.autosize
@@ -4637,7 +4638,7 @@
4637
4638
  const leftIconSlot = slots["left-icon"];
4638
4639
  if (props.leftIcon || leftIconSlot) {
4639
4640
  return vue.createVNode("div", {
4640
- "class": bem$1a("left-icon"),
4641
+ "class": bem$1b("left-icon"),
4641
4642
  "onClick": onClickLeftIcon
4642
4643
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4643
4644
  "name": props.leftIcon,
@@ -4649,7 +4650,7 @@
4649
4650
  const rightIconSlot = slots["right-icon"];
4650
4651
  if (props.rightIcon || rightIconSlot) {
4651
4652
  return vue.createVNode("div", {
4652
- "class": bem$1a("right-icon"),
4653
+ "class": bem$1b("right-icon"),
4653
4654
  "onClick": onClickRightIcon
4654
4655
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4655
4656
  "name": props.rightIcon,
@@ -4661,9 +4662,9 @@
4661
4662
  if (props.showWordLimit && props.maxlength) {
4662
4663
  const count = getStringLength(getModelValue());
4663
4664
  return vue.createVNode("div", {
4664
- "class": bem$1a("word-limit")
4665
+ "class": bem$1b("word-limit")
4665
4666
  }, [vue.createVNode("span", {
4666
- "class": bem$1a("word-num")
4667
+ "class": bem$1b("word-num")
4667
4668
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4668
4669
  }
4669
4670
  };
@@ -4676,7 +4677,7 @@
4676
4677
  const slot = slots["error-message"];
4677
4678
  const errorMessageAlign = getProp("errorMessageAlign");
4678
4679
  return vue.createVNode("div", {
4679
- "class": bem$1a("error-message", errorMessageAlign)
4680
+ "class": bem$1b("error-message", errorMessageAlign)
4680
4681
  }, [slot ? slot({
4681
4682
  message
4682
4683
  }) : message]);
@@ -4700,13 +4701,13 @@
4700
4701
  }
4701
4702
  };
4702
4703
  const renderFieldBody = () => [vue.createVNode("div", {
4703
- "class": bem$1a("body")
4704
+ "class": bem$1b("body")
4704
4705
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4705
4706
  "ref": clearIconRef,
4706
4707
  "name": props.clearIcon,
4707
- "class": bem$1a("clear")
4708
+ "class": bem$1b("clear")
4708
4709
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4709
- "class": bem$1a("button")
4710
+ "class": bem$1b("button")
4710
4711
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4711
4712
  useExpose({
4712
4713
  blur,
@@ -4750,7 +4751,7 @@
4750
4751
  };
4751
4752
  return vue.createVNode(Cell, {
4752
4753
  "size": props.size,
4753
- "class": bem$1a({
4754
+ "class": bem$1b({
4754
4755
  error: showError.value,
4755
4756
  disabled,
4756
4757
  [`label-${labelAlign}`]: labelAlign
@@ -4760,8 +4761,8 @@
4760
4761
  "isLink": props.isLink,
4761
4762
  "clickable": props.clickable,
4762
4763
  "titleStyle": labelStyle.value,
4763
- "valueClass": bem$1a("value"),
4764
- "titleClass": [bem$1a("label", [labelAlign, {
4764
+ "valueClass": bem$1b("value"),
4765
+ "titleClass": [bem$1b("label", [labelAlign, {
4765
4766
  required: props.required
4766
4767
  }]), props.labelClass],
4767
4768
  "arrowDirection": props.arrowDirection
@@ -4774,7 +4775,7 @@
4774
4775
  };
4775
4776
  }
4776
4777
  });
4777
- const Field = withInstall(stdin_default$1o);
4778
+ const Field = withInstall(stdin_default$1p);
4778
4779
  let lockCount = 0;
4779
4780
  function lockClick(lock) {
4780
4781
  if (lock) {
@@ -4789,7 +4790,7 @@
4789
4790
  }
4790
4791
  }
4791
4792
  }
4792
- const [name$1d, bem$19] = createNamespace("toast");
4793
+ const [name$1e, bem$1a] = createNamespace("toast");
4793
4794
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4794
4795
  const toastProps = {
4795
4796
  icon: String,
@@ -4812,8 +4813,8 @@
4812
4813
  closeOnClick: Boolean,
4813
4814
  closeOnClickOverlay: Boolean
4814
4815
  };
4815
- var stdin_default$1n = vue.defineComponent({
4816
- name: name$1d,
4816
+ var stdin_default$1o = vue.defineComponent({
4817
+ name: name$1e,
4817
4818
  props: toastProps,
4818
4819
  emits: ["update:show"],
4819
4820
  setup(props, {
@@ -4849,13 +4850,13 @@
4849
4850
  return vue.createVNode(Icon, {
4850
4851
  "name": icon || type,
4851
4852
  "size": iconSize,
4852
- "class": bem$19("icon"),
4853
+ "class": bem$1a("icon"),
4853
4854
  "classPrefix": iconPrefix
4854
4855
  }, null);
4855
4856
  }
4856
4857
  if (type === "loading") {
4857
4858
  return vue.createVNode(Loading, {
4858
- "class": bem$19("loading"),
4859
+ "class": bem$1a("loading"),
4859
4860
  "size": iconSize,
4860
4861
  "type": loadingType
4861
4862
  }, null);
@@ -4868,16 +4869,16 @@
4868
4869
  } = props;
4869
4870
  if (slots.message) {
4870
4871
  return vue.createVNode("div", {
4871
- "class": bem$19("text")
4872
+ "class": bem$1a("text")
4872
4873
  }, [slots.message()]);
4873
4874
  }
4874
4875
  if (isDef(message) && message !== "") {
4875
4876
  return type === "html" ? vue.createVNode("div", {
4876
4877
  "key": 0,
4877
- "class": bem$19("text"),
4878
+ "class": bem$1a("text"),
4878
4879
  "innerHTML": String(message)
4879
4880
  }, null) : vue.createVNode("div", {
4880
- "class": bem$19("text")
4881
+ "class": bem$1a("text")
4881
4882
  }, [message]);
4882
4883
  }
4883
4884
  };
@@ -4893,7 +4894,7 @@
4893
4894
  vue.onMounted(toggleClickable);
4894
4895
  vue.onUnmounted(toggleClickable);
4895
4896
  return () => vue.createVNode(Popup, vue.mergeProps({
4896
- "class": [bem$19([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4897
+ "class": [bem$1a([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4897
4898
  [props.type]: !props.icon
4898
4899
  }]), props.className],
4899
4900
  "lockScroll": false,
@@ -4994,7 +4995,7 @@
4994
4995
  onClosed,
4995
4996
  "onUpdate:show": toggle
4996
4997
  };
4997
- return vue.createVNode(stdin_default$1n, vue.mergeProps(state, attrs), null);
4998
+ return vue.createVNode(stdin_default$1o, vue.mergeProps(state, attrs), null);
4998
4999
  };
4999
5000
  vue.watch(message, (val) => {
5000
5001
  state.message = val;
@@ -5064,8 +5065,8 @@
5064
5065
  const allowMultipleToast = (value = true) => {
5065
5066
  allowMultiple = value;
5066
5067
  };
5067
- const Toast = withInstall(stdin_default$1n);
5068
- const [name$1c, bem$18] = createNamespace("switch");
5068
+ const Toast = withInstall(stdin_default$1o);
5069
+ const [name$1d, bem$19] = createNamespace("switch");
5069
5070
  const switchProps = {
5070
5071
  size: numericProp,
5071
5072
  loading: Boolean,
@@ -5082,8 +5083,8 @@
5082
5083
  default: false
5083
5084
  }
5084
5085
  };
5085
- var stdin_default$1m = vue.defineComponent({
5086
- name: name$1c,
5086
+ var stdin_default$1n = vue.defineComponent({
5087
+ name: name$1d,
5087
5088
  props: switchProps,
5088
5089
  emits: ["change", "update:modelValue"],
5089
5090
  setup(props, {
@@ -5102,7 +5103,7 @@
5102
5103
  if (props.loading) {
5103
5104
  const color = isChecked() ? props.activeColor : props.inactiveColor;
5104
5105
  return vue.createVNode(Loading, {
5105
- "class": bem$18("loading"),
5106
+ "class": bem$19("loading"),
5106
5107
  "color": color
5107
5108
  }, null);
5108
5109
  }
@@ -5127,7 +5128,7 @@
5127
5128
  };
5128
5129
  return vue.createVNode("div", {
5129
5130
  "role": "switch",
5130
- "class": bem$18({
5131
+ "class": bem$19({
5131
5132
  on: checked,
5132
5133
  loading,
5133
5134
  disabled
@@ -5137,16 +5138,16 @@
5137
5138
  "aria-checked": checked,
5138
5139
  "onClick": onClick
5139
5140
  }, [vue.createVNode("div", {
5140
- "class": bem$18("node")
5141
+ "class": bem$19("node")
5141
5142
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
5142
5143
  };
5143
5144
  }
5144
5145
  });
5145
- const Switch = withInstall(stdin_default$1m);
5146
- const [name$1b, bem$17] = createNamespace("address-edit-detail");
5147
- const t$i = createNamespace("address-edit")[2];
5148
- var stdin_default$1l = vue.defineComponent({
5149
- name: name$1b,
5146
+ const Switch = withInstall(stdin_default$1n);
5147
+ const [name$1c, bem$18] = createNamespace("address-edit-detail");
5148
+ const t$j = createNamespace("address-edit")[2];
5149
+ var stdin_default$1m = vue.defineComponent({
5150
+ name: name$1c,
5150
5151
  props: {
5151
5152
  show: Boolean,
5152
5153
  rows: numericProp,
@@ -5180,7 +5181,7 @@
5180
5181
  "icon": "location-o",
5181
5182
  "title": express.name,
5182
5183
  "label": express.address,
5183
- "class": bem$17("search-item"),
5184
+ "class": bem$18("search-item"),
5184
5185
  "border": false,
5185
5186
  "onClick": () => onSelect(express)
5186
5187
  }, null));
@@ -5194,15 +5195,15 @@
5194
5195
  "autosize": true,
5195
5196
  "clearable": true,
5196
5197
  "ref": field,
5197
- "class": bem$17(),
5198
+ "class": bem$18(),
5198
5199
  "rows": props.rows,
5199
5200
  "type": "textarea",
5200
5201
  "rules": props.rules,
5201
- "label": t$i("addressDetail"),
5202
+ "label": t$j("addressDetail"),
5202
5203
  "border": !showSearchResult(),
5203
5204
  "maxlength": props.maxlength,
5204
5205
  "modelValue": props.value,
5205
- "placeholder": t$i("addressDetail"),
5206
+ "placeholder": t$j("addressDetail"),
5206
5207
  "onBlur": onBlur,
5207
5208
  "onFocus": onFocus,
5208
5209
  "onUpdate:modelValue": onInput
@@ -5211,7 +5212,7 @@
5211
5212
  };
5212
5213
  }
5213
5214
  });
5214
- const [name$1a, bem$16, t$h] = createNamespace("address-edit");
5215
+ const [name$1b, bem$17, t$i] = createNamespace("address-edit");
5215
5216
  const DEFAULT_DATA = {
5216
5217
  name: "",
5217
5218
  tel: "",
@@ -5251,8 +5252,8 @@
5251
5252
  default: isMobile
5252
5253
  }
5253
5254
  };
5254
- var stdin_default$1k = vue.defineComponent({
5255
- name: name$1a,
5255
+ var stdin_default$1l = vue.defineComponent({
5256
+ name: name$1b,
5256
5257
  props: addressEditProps,
5257
5258
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
5258
5259
  setup(props, {
@@ -5308,13 +5309,13 @@
5308
5309
  }
5309
5310
  });
5310
5311
  return {
5311
- name: [makeRule("name", t$h("nameEmpty"))],
5312
- tel: [makeRule("tel", t$h("telInvalid")), {
5312
+ name: [makeRule("name", t$i("nameEmpty"))],
5313
+ tel: [makeRule("tel", t$i("telInvalid")), {
5313
5314
  validator: telValidator,
5314
- message: t$h("telInvalid")
5315
+ message: t$i("telInvalid")
5315
5316
  }],
5316
- areaCode: [makeRule("areaCode", t$h("areaEmpty"))],
5317
- addressDetail: [makeRule("addressDetail", t$h("addressEmpty"))]
5317
+ areaCode: [makeRule("areaCode", t$i("areaEmpty"))],
5318
+ addressDetail: [makeRule("addressDetail", t$i("addressEmpty"))]
5318
5319
  };
5319
5320
  });
5320
5321
  const onSave = () => emit("save", data);
@@ -5332,7 +5333,7 @@
5332
5333
  selectedOptions
5333
5334
  }) => {
5334
5335
  if (selectedValues.some((value) => value === AREA_EMPTY_CODE)) {
5335
- showToast(t$h("areaEmpty"));
5336
+ showToast(t$i("areaEmpty"));
5336
5337
  } else {
5337
5338
  showAreaPopup.value = false;
5338
5339
  assignAreaText(selectedOptions);
@@ -5362,8 +5363,8 @@
5362
5363
  };
5363
5364
  return vue.withDirectives(vue.createVNode(Cell, {
5364
5365
  "center": true,
5365
- "title": t$h("defaultAddress"),
5366
- "class": bem$16("default")
5366
+ "title": t$i("defaultAddress"),
5367
+ "class": bem$17("default")
5367
5368
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5368
5369
  }
5369
5370
  };
@@ -5389,44 +5390,44 @@
5389
5390
  disableArea
5390
5391
  } = props;
5391
5392
  return vue.createVNode(Form, {
5392
- "class": bem$16(),
5393
+ "class": bem$17(),
5393
5394
  "onSubmit": onSave
5394
5395
  }, {
5395
5396
  default: () => {
5396
5397
  var _a;
5397
5398
  return [vue.createVNode("div", {
5398
- "class": bem$16("fields")
5399
+ "class": bem$17("fields")
5399
5400
  }, [vue.createVNode(Field, {
5400
5401
  "modelValue": data.name,
5401
5402
  "onUpdate:modelValue": ($event) => data.name = $event,
5402
5403
  "clearable": true,
5403
- "label": t$h("name"),
5404
+ "label": t$i("name"),
5404
5405
  "rules": rules.value.name,
5405
- "placeholder": t$h("name"),
5406
+ "placeholder": t$i("name"),
5406
5407
  "onFocus": () => onFocus("name")
5407
5408
  }, null), vue.createVNode(Field, {
5408
5409
  "modelValue": data.tel,
5409
5410
  "onUpdate:modelValue": ($event) => data.tel = $event,
5410
5411
  "clearable": true,
5411
5412
  "type": "tel",
5412
- "label": t$h("tel"),
5413
+ "label": t$i("tel"),
5413
5414
  "rules": rules.value.tel,
5414
5415
  "maxlength": props.telMaxlength,
5415
- "placeholder": t$h("tel"),
5416
+ "placeholder": t$i("tel"),
5416
5417
  "onFocus": () => onFocus("tel")
5417
5418
  }, null), vue.withDirectives(vue.createVNode(Field, {
5418
5419
  "readonly": true,
5419
- "label": t$h("area"),
5420
+ "label": t$i("area"),
5420
5421
  "is-link": !disableArea,
5421
5422
  "modelValue": areaText.value,
5422
5423
  "rules": rules.value.areaCode,
5423
- "placeholder": props.areaPlaceholder || t$h("area"),
5424
+ "placeholder": props.areaPlaceholder || t$i("area"),
5424
5425
  "onFocus": () => onFocus("areaCode"),
5425
5426
  "onClick": () => {
5426
5427
  emit("clickArea");
5427
5428
  showAreaPopup.value = !disableArea;
5428
5429
  }
5429
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1l, {
5430
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1m, {
5430
5431
  "show": props.showDetail,
5431
5432
  "rows": props.detailRows,
5432
5433
  "rules": rules.value.addressDetail,
@@ -5440,21 +5441,21 @@
5440
5441
  "onInput": onChangeDetail,
5441
5442
  "onSelectSearch": (event) => emit("selectSearch", event)
5442
5443
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5443
- "class": bem$16("buttons")
5444
+ "class": bem$17("buttons")
5444
5445
  }, [vue.createVNode(Button, {
5445
5446
  "block": true,
5446
5447
  "round": true,
5447
5448
  "type": "primary",
5448
- "text": props.saveButtonText || t$h("save"),
5449
- "class": bem$16("button"),
5449
+ "text": props.saveButtonText || t$i("save"),
5450
+ "class": bem$17("button"),
5450
5451
  "loading": props.isSaving,
5451
5452
  "nativeType": "submit"
5452
5453
  }, null), props.showDelete && vue.createVNode(Button, {
5453
5454
  "block": true,
5454
5455
  "round": true,
5455
- "class": bem$16("button"),
5456
+ "class": bem$17("button"),
5456
5457
  "loading": props.isDeleting,
5457
- "text": props.deleteButtonText || t$h("delete"),
5458
+ "text": props.deleteButtonText || t$i("delete"),
5458
5459
  "onClick": onDelete
5459
5460
  }, null)]), [[vue.vShow, !hideBottomFields.value]]), vue.createVNode(Popup, {
5460
5461
  "show": showAreaPopup.value,
@@ -5482,8 +5483,8 @@
5482
5483
  };
5483
5484
  }
5484
5485
  });
5485
- const AddressEdit = withInstall(stdin_default$1k);
5486
- const [name$19, bem$15] = createNamespace("radio-group");
5486
+ const AddressEdit = withInstall(stdin_default$1l);
5487
+ const [name$1a, bem$16] = createNamespace("radio-group");
5487
5488
  const radioGroupProps = {
5488
5489
  disabled: Boolean,
5489
5490
  iconSize: numericProp,
@@ -5491,9 +5492,9 @@
5491
5492
  modelValue: unknownProp,
5492
5493
  checkedColor: String
5493
5494
  };
5494
- const RADIO_KEY = Symbol(name$19);
5495
- var stdin_default$1j = vue.defineComponent({
5496
- name: name$19,
5495
+ const RADIO_KEY = Symbol(name$1a);
5496
+ var stdin_default$1k = vue.defineComponent({
5497
+ name: name$1a,
5497
5498
  props: radioGroupProps,
5498
5499
  emits: ["change", "update:modelValue"],
5499
5500
  setup(props, {
@@ -5513,14 +5514,14 @@
5513
5514
  return () => {
5514
5515
  var _a;
5515
5516
  return vue.createVNode("div", {
5516
- "class": bem$15([props.direction]),
5517
+ "class": bem$16([props.direction]),
5517
5518
  "role": "radiogroup"
5518
5519
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5519
5520
  };
5520
5521
  }
5521
5522
  });
5522
- const RadioGroup = withInstall(stdin_default$1j);
5523
- const [name$18, bem$14] = createNamespace("tag");
5523
+ const RadioGroup = withInstall(stdin_default$1k);
5524
+ const [name$19, bem$15] = createNamespace("tag");
5524
5525
  const tagProps = {
5525
5526
  size: String,
5526
5527
  mark: Boolean,
@@ -5532,8 +5533,8 @@
5532
5533
  textColor: String,
5533
5534
  closeable: Boolean
5534
5535
  };
5535
- var stdin_default$1i = vue.defineComponent({
5536
- name: name$18,
5536
+ var stdin_default$1j = vue.defineComponent({
5537
+ name: name$19,
5537
5538
  props: tagProps,
5538
5539
  emits: ["close"],
5539
5540
  setup(props, {
@@ -5576,12 +5577,12 @@
5576
5577
  }
5577
5578
  const CloseIcon = closeable && vue.createVNode(Icon, {
5578
5579
  "name": "cross",
5579
- "class": [bem$14("close"), HAPTICS_FEEDBACK],
5580
+ "class": [bem$15("close"), HAPTICS_FEEDBACK],
5580
5581
  "onClick": onClose
5581
5582
  }, null);
5582
5583
  return vue.createVNode("span", {
5583
5584
  "style": getStyle(),
5584
- "class": bem$14([classes, type])
5585
+ "class": bem$15([classes, type])
5585
5586
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5586
5587
  };
5587
5588
  return () => vue.createVNode(vue.Transition, {
@@ -5591,7 +5592,7 @@
5591
5592
  });
5592
5593
  }
5593
5594
  });
5594
- const Tag = withInstall(stdin_default$1i);
5595
+ const Tag = withInstall(stdin_default$1j);
5595
5596
  const checkerProps = {
5596
5597
  name: unknownProp,
5597
5598
  shape: makeStringProp("round"),
@@ -5602,7 +5603,7 @@
5602
5603
  labelPosition: String,
5603
5604
  labelDisabled: Boolean
5604
5605
  };
5605
- var stdin_default$1h = vue.defineComponent({
5606
+ var stdin_default$1i = vue.defineComponent({
5606
5607
  props: extend({}, checkerProps, {
5607
5608
  bem: makeRequiredProp(Function),
5608
5609
  role: String,
@@ -5692,9 +5693,9 @@
5692
5693
  }
5693
5694
  });
5694
5695
  const radioProps = checkerProps;
5695
- const [name$17, bem$13] = createNamespace("radio");
5696
- var stdin_default$1g = vue.defineComponent({
5697
- name: name$17,
5696
+ const [name$18, bem$14] = createNamespace("radio");
5697
+ var stdin_default$1h = vue.defineComponent({
5698
+ name: name$18,
5698
5699
  props: checkerProps,
5699
5700
  emits: ["update:modelValue"],
5700
5701
  setup(props, {
@@ -5715,8 +5716,8 @@
5715
5716
  emit("update:modelValue", props.name);
5716
5717
  }
5717
5718
  };
5718
- return () => vue.createVNode(stdin_default$1h, vue.mergeProps({
5719
- "bem": bem$13,
5719
+ return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5720
+ "bem": bem$14,
5720
5721
  "role": "radio",
5721
5722
  "parent": parent,
5722
5723
  "checked": checked(),
@@ -5724,10 +5725,10 @@
5724
5725
  }, props), pick(slots, ["default", "icon"]));
5725
5726
  }
5726
5727
  });
5727
- const Radio = withInstall(stdin_default$1g);
5728
- const [name$16, bem$12] = createNamespace("address-item");
5729
- var stdin_default$1f = vue.defineComponent({
5730
- name: name$16,
5728
+ const Radio = withInstall(stdin_default$1h);
5729
+ const [name$17, bem$13] = createNamespace("address-item");
5730
+ var stdin_default$1g = vue.defineComponent({
5731
+ name: name$17,
5731
5732
  props: {
5732
5733
  address: makeRequiredProp(Object),
5733
5734
  disabled: Boolean,
@@ -5747,7 +5748,7 @@
5747
5748
  };
5748
5749
  const renderRightIcon = () => vue.createVNode(Icon, {
5749
5750
  "name": "edit",
5750
- "class": bem$12("edit"),
5751
+ "class": bem$13("edit"),
5751
5752
  "onClick": (event) => {
5752
5753
  event.stopPropagation();
5753
5754
  emit("edit");
@@ -5762,7 +5763,7 @@
5762
5763
  return vue.createVNode(Tag, {
5763
5764
  "type": "primary",
5764
5765
  "round": true,
5765
- "class": bem$12("tag")
5766
+ "class": bem$13("tag")
5766
5767
  }, {
5767
5768
  default: () => [props.defaultTagText]
5768
5769
  });
@@ -5775,9 +5776,9 @@
5775
5776
  switchable
5776
5777
  } = props;
5777
5778
  const Info = [vue.createVNode("div", {
5778
- "class": bem$12("name")
5779
+ "class": bem$13("name")
5779
5780
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5780
- "class": bem$12("address")
5781
+ "class": bem$13("address")
5781
5782
  }, [address.address])];
5782
5783
  if (switchable && !disabled) {
5783
5784
  return vue.createVNode(Radio, {
@@ -5795,13 +5796,13 @@
5795
5796
  disabled
5796
5797
  } = props;
5797
5798
  return vue.createVNode("div", {
5798
- "class": bem$12({
5799
+ "class": bem$13({
5799
5800
  disabled
5800
5801
  }),
5801
5802
  "onClick": onClick
5802
5803
  }, [vue.createVNode(Cell, {
5803
5804
  "border": false,
5804
- "titleClass": bem$12("title")
5805
+ "titleClass": bem$13("title")
5805
5806
  }, {
5806
5807
  title: renderContent,
5807
5808
  "right-icon": renderRightIcon
@@ -5811,7 +5812,7 @@
5811
5812
  };
5812
5813
  }
5813
5814
  });
5814
- const [name$15, bem$11, t$g] = createNamespace("address-list");
5815
+ const [name$16, bem$12, t$h] = createNamespace("address-list");
5815
5816
  const addressListProps = {
5816
5817
  list: makeArrayProp(),
5817
5818
  modelValue: numericProp,
@@ -5821,8 +5822,8 @@
5821
5822
  addButtonText: String,
5822
5823
  defaultTagText: String
5823
5824
  };
5824
- var stdin_default$1e = vue.defineComponent({
5825
- name: name$15,
5825
+ var stdin_default$1f = vue.defineComponent({
5826
+ name: name$16,
5826
5827
  props: addressListProps,
5827
5828
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5828
5829
  setup(props, {
@@ -5838,7 +5839,7 @@
5838
5839
  emit("update:modelValue", item.id);
5839
5840
  }
5840
5841
  };
5841
- return vue.createVNode(stdin_default$1f, {
5842
+ return vue.createVNode(stdin_default$1g, {
5842
5843
  "key": item.id,
5843
5844
  "address": item,
5844
5845
  "disabled": disabled,
@@ -5858,13 +5859,13 @@
5858
5859
  }
5859
5860
  };
5860
5861
  const renderBottom = () => vue.createVNode("div", {
5861
- "class": [bem$11("bottom"), "van-safe-area-bottom"]
5862
+ "class": [bem$12("bottom"), "van-safe-area-bottom"]
5862
5863
  }, [vue.createVNode(Button, {
5863
5864
  "round": true,
5864
5865
  "block": true,
5865
5866
  "type": "primary",
5866
- "text": props.addButtonText || t$g("add"),
5867
- "class": bem$11("add"),
5867
+ "text": props.addButtonText || t$h("add"),
5868
+ "class": bem$12("add"),
5868
5869
  "onClick": () => emit("add")
5869
5870
  }, null)]);
5870
5871
  return () => {
@@ -5872,10 +5873,10 @@
5872
5873
  const List2 = renderList(props.list);
5873
5874
  const DisabledList = renderList(props.disabledList, true);
5874
5875
  const DisabledText = props.disabledText && vue.createVNode("div", {
5875
- "class": bem$11("disabled-text")
5876
+ "class": bem$12("disabled-text")
5876
5877
  }, [props.disabledText]);
5877
5878
  return vue.createVNode("div", {
5878
- "class": bem$11()
5879
+ "class": bem$12()
5879
5880
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5880
5881
  "modelValue": props.modelValue
5881
5882
  }, {
@@ -5884,7 +5885,7 @@
5884
5885
  };
5885
5886
  }
5886
5887
  });
5887
- const AddressList = withInstall(stdin_default$1e);
5888
+ const AddressList = withInstall(stdin_default$1f);
5888
5889
  const hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5889
5890
  const modeType = {
5890
5891
  event: "event",
@@ -6037,7 +6038,7 @@
6037
6038
  this.caches.shift();
6038
6039
  }
6039
6040
  }
6040
- const [name$14, bem$10] = createNamespace("back-top");
6041
+ const [name$15, bem$11] = createNamespace("back-top");
6041
6042
  const backTopProps = {
6042
6043
  right: numericProp,
6043
6044
  bottom: numericProp,
@@ -6050,8 +6051,8 @@
6050
6051
  default: "body"
6051
6052
  }
6052
6053
  };
6053
- var stdin_default$1d = vue.defineComponent({
6054
- name: name$14,
6054
+ var stdin_default$1e = vue.defineComponent({
6055
+ name: name$15,
6055
6056
  inheritAttrs: false,
6056
6057
  props: backTopProps,
6057
6058
  emits: ["click"],
@@ -6107,14 +6108,14 @@
6107
6108
  return () => {
6108
6109
  const Content = vue.createVNode("div", vue.mergeProps({
6109
6110
  "ref": root,
6110
- "class": bem$10({
6111
+ "class": bem$11({
6111
6112
  active: show.value
6112
6113
  }),
6113
6114
  "style": style.value,
6114
6115
  "onClick": onClick
6115
6116
  }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
6116
6117
  "name": "back-top",
6117
- "class": bem$10("icon")
6118
+ "class": bem$11("icon")
6118
6119
  }, null)]);
6119
6120
  if (props.teleport) {
6120
6121
  return vue.createVNode(vue.Teleport, {
@@ -6127,9 +6128,9 @@
6127
6128
  };
6128
6129
  }
6129
6130
  });
6130
- const BackTop = withInstall(stdin_default$1d);
6131
- const [name$13, bem$$, t$f] = createNamespace("calendar");
6132
- const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
6131
+ const BackTop = withInstall(stdin_default$1e);
6132
+ const [name$14, bem$10, t$g] = createNamespace("calendar");
6133
+ const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
6133
6134
  function compareMonth(date1, date2) {
6134
6135
  const year1 = date1.getFullYear();
6135
6136
  const year2 = date2.getFullYear();
@@ -6202,16 +6203,15 @@
6202
6203
  const formatValueRange = (values, columns) => values.map((value, index) => {
6203
6204
  const column = columns[index];
6204
6205
  if (column.length) {
6206
+ const minValue = +column[0].value;
6205
6207
  const maxValue = +column[column.length - 1].value;
6206
- if (+value > maxValue) {
6207
- return String(maxValue);
6208
- }
6208
+ return padZero(clamp(+value, minValue, maxValue));
6209
6209
  }
6210
6210
  return value;
6211
6211
  });
6212
- const [name$12] = createNamespace("calendar-day");
6213
- var stdin_default$1c = vue.defineComponent({
6214
- name: name$12,
6212
+ const [name$13] = createNamespace("calendar-day");
6213
+ var stdin_default$1d = vue.defineComponent({
6214
+ name: name$13,
6215
6215
  props: {
6216
6216
  item: makeRequiredProp(Object),
6217
6217
  color: String,
@@ -6273,7 +6273,7 @@
6273
6273
  } = props.item;
6274
6274
  if (topInfo || slots["top-info"]) {
6275
6275
  return vue.createVNode("div", {
6276
- "class": bem$$("top-info")
6276
+ "class": bem$10("top-info")
6277
6277
  }, [slots["top-info"] ? slots["top-info"](props.item) : topInfo]);
6278
6278
  }
6279
6279
  };
@@ -6283,7 +6283,7 @@
6283
6283
  } = props.item;
6284
6284
  if (bottomInfo || slots["bottom-info"]) {
6285
6285
  return vue.createVNode("div", {
6286
- "class": bem$$("bottom-info")
6286
+ "class": bem$10("bottom-info")
6287
6287
  }, [slots["bottom-info"] ? slots["bottom-info"](props.item) : bottomInfo]);
6288
6288
  }
6289
6289
  };
@@ -6300,7 +6300,7 @@
6300
6300
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
6301
6301
  if (type === "selected") {
6302
6302
  return vue.createVNode("div", {
6303
- "class": bem$$("selected-day"),
6303
+ "class": bem$10("selected-day"),
6304
6304
  "style": {
6305
6305
  width: rowHeight,
6306
6306
  height: rowHeight,
@@ -6317,21 +6317,21 @@
6317
6317
  } = props.item;
6318
6318
  if (type === "placeholder") {
6319
6319
  return vue.createVNode("div", {
6320
- "class": bem$$("day"),
6320
+ "class": bem$10("day"),
6321
6321
  "style": style.value
6322
6322
  }, null);
6323
6323
  }
6324
6324
  return vue.createVNode("div", {
6325
6325
  "role": "gridcell",
6326
6326
  "style": style.value,
6327
- "class": [bem$$("day", type), className],
6327
+ "class": [bem$10("day", type), className],
6328
6328
  "tabindex": type === "disabled" ? void 0 : -1,
6329
6329
  "onClick": onClick
6330
6330
  }, [renderContent()]);
6331
6331
  };
6332
6332
  }
6333
6333
  });
6334
- const [name$11] = createNamespace("calendar-month");
6334
+ const [name$12] = createNamespace("calendar-month");
6335
6335
  const calendarMonthProps = {
6336
6336
  date: makeRequiredProp(Date),
6337
6337
  type: String,
@@ -6348,8 +6348,8 @@
6348
6348
  showMonthTitle: Boolean,
6349
6349
  firstDayOfWeek: Number
6350
6350
  };
6351
- var stdin_default$1b = vue.defineComponent({
6352
- name: name$11,
6351
+ var stdin_default$1c = vue.defineComponent({
6352
+ name: name$12,
6353
6353
  props: calendarMonthProps,
6354
6354
  emits: ["click"],
6355
6355
  setup(props, {
@@ -6444,17 +6444,17 @@
6444
6444
  const getBottomInfo = (dayType) => {
6445
6445
  if (props.type === "range") {
6446
6446
  if (dayType === "start" || dayType === "end") {
6447
- return t$f(dayType);
6447
+ return t$g(dayType);
6448
6448
  }
6449
6449
  if (dayType === "start-end") {
6450
- return `${t$f("start")}/${t$f("end")}`;
6450
+ return `${t$g("start")}/${t$g("end")}`;
6451
6451
  }
6452
6452
  }
6453
6453
  };
6454
6454
  const renderTitle = () => {
6455
6455
  if (props.showMonthTitle) {
6456
6456
  return vue.createVNode("div", {
6457
- "class": bem$$("month-title")
6457
+ "class": bem$10("month-title")
6458
6458
  }, [slots["month-title"] ? slots["month-title"]({
6459
6459
  date: props.date,
6460
6460
  text: title.value
@@ -6464,7 +6464,7 @@
6464
6464
  const renderMark = () => {
6465
6465
  if (props.showMark && shouldRender.value) {
6466
6466
  return vue.createVNode("div", {
6467
- "class": bem$$("month-mark")
6467
+ "class": bem$10("month-mark")
6468
6468
  }, [props.date.getMonth() + 1]);
6469
6469
  }
6470
6470
  };
@@ -6504,7 +6504,7 @@
6504
6504
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
6505
6505
  }
6506
6506
  };
6507
- const renderDay = (item, index) => vue.createVNode(stdin_default$1c, {
6507
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1d, {
6508
6508
  "item": item,
6509
6509
  "index": index,
6510
6510
  "color": props.color,
@@ -6515,7 +6515,7 @@
6515
6515
  const renderDays = () => vue.createVNode("div", {
6516
6516
  "ref": daysRef,
6517
6517
  "role": "grid",
6518
- "class": bem$$("days")
6518
+ "class": bem$10("days")
6519
6519
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6520
6520
  useExpose({
6521
6521
  getTitle,
@@ -6525,14 +6525,14 @@
6525
6525
  disabledDays
6526
6526
  });
6527
6527
  return () => vue.createVNode("div", {
6528
- "class": bem$$("month"),
6528
+ "class": bem$10("month"),
6529
6529
  "ref": monthRef
6530
6530
  }, [renderTitle(), renderDays()]);
6531
6531
  }
6532
6532
  });
6533
- const [name$10] = createNamespace("calendar-header");
6534
- var stdin_default$1a = vue.defineComponent({
6535
- name: name$10,
6533
+ const [name$11] = createNamespace("calendar-header");
6534
+ var stdin_default$1b = vue.defineComponent({
6535
+ name: name$11,
6536
6536
  props: {
6537
6537
  date: Date,
6538
6538
  title: String,
@@ -6548,10 +6548,10 @@
6548
6548
  }) {
6549
6549
  const renderTitle = () => {
6550
6550
  if (props.showTitle) {
6551
- const text = props.title || t$f("title");
6551
+ const text = props.title || t$g("title");
6552
6552
  const title = slots.title ? slots.title() : text;
6553
6553
  return vue.createVNode("div", {
6554
- "class": bem$$("header-title")
6554
+ "class": bem$10("header-title")
6555
6555
  }, [title]);
6556
6556
  }
6557
6557
  };
@@ -6563,7 +6563,7 @@
6563
6563
  text: props.subtitle
6564
6564
  }) : props.subtitle;
6565
6565
  return vue.createVNode("div", {
6566
- "class": bem$$("header-subtitle"),
6566
+ "class": bem$10("header-subtitle"),
6567
6567
  "onClick": onClickSubtitle
6568
6568
  }, [title]);
6569
6569
  }
@@ -6572,16 +6572,16 @@
6572
6572
  const {
6573
6573
  firstDayOfWeek
6574
6574
  } = props;
6575
- const weekdays = t$f("weekdays");
6575
+ const weekdays = t$g("weekdays");
6576
6576
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6577
6577
  return vue.createVNode("div", {
6578
- "class": bem$$("weekdays")
6578
+ "class": bem$10("weekdays")
6579
6579
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
6580
- "class": bem$$("weekday")
6580
+ "class": bem$10("weekday")
6581
6581
  }, [text]))]);
6582
6582
  };
6583
6583
  return () => vue.createVNode("div", {
6584
- "class": bem$$("header")
6584
+ "class": bem$10("header")
6585
6585
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6586
6586
  }
6587
6587
  });
@@ -6632,8 +6632,8 @@
6632
6632
  validator: (val) => val >= 0 && val <= 6
6633
6633
  }
6634
6634
  };
6635
- var stdin_default$19 = vue.defineComponent({
6636
- name: name$13,
6635
+ var stdin_default$1a = vue.defineComponent({
6636
+ name: name$14,
6637
6637
  props: calendarProps,
6638
6638
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
6639
6639
  setup(props, {
@@ -6799,7 +6799,7 @@
6799
6799
  } = props;
6800
6800
  if (maxRange && calcDateNum(date) > +maxRange) {
6801
6801
  if (showRangePrompt) {
6802
- showToast(rangePrompt || t$f("rangePrompt", maxRange));
6802
+ showToast(rangePrompt || t$g("rangePrompt", maxRange));
6803
6803
  }
6804
6804
  emit("overRange");
6805
6805
  return false;
@@ -6885,7 +6885,7 @@
6885
6885
  const [unselectedDate] = dates.splice(selectedIndex, 1);
6886
6886
  emit("unselect", cloneDate(unselectedDate));
6887
6887
  } else if (props.maxRange && dates.length >= +props.maxRange) {
6888
- showToast(props.rangePrompt || t$f("rangePrompt", props.maxRange));
6888
+ showToast(props.rangePrompt || t$g("rangePrompt", props.maxRange));
6889
6889
  } else {
6890
6890
  select([...dates, date]);
6891
6891
  }
@@ -6896,7 +6896,7 @@
6896
6896
  const updateShow = (value) => emit("update:show", value);
6897
6897
  const renderMonth = (date, index) => {
6898
6898
  const showMonthTitle = index !== 0 || !props.showSubtitle;
6899
- return vue.createVNode(stdin_default$1b, vue.mergeProps({
6899
+ return vue.createVNode(stdin_default$1c, vue.mergeProps({
6900
6900
  "ref": setMonthRefs(index),
6901
6901
  "date": date,
6902
6902
  "currentDate": currentDate.value,
@@ -6919,25 +6919,25 @@
6919
6919
  "block": true,
6920
6920
  "type": "primary",
6921
6921
  "color": props.color,
6922
- "class": bem$$("confirm"),
6922
+ "class": bem$10("confirm"),
6923
6923
  "disabled": disabled,
6924
6924
  "nativeType": "button",
6925
6925
  "onClick": onConfirm
6926
6926
  }, {
6927
6927
  default: () => [slot ? slot({
6928
6928
  disabled
6929
- }) : text || t$f("confirm")]
6929
+ }) : text || t$g("confirm")]
6930
6930
  });
6931
6931
  }
6932
6932
  };
6933
6933
  const renderFooter = () => vue.createVNode("div", {
6934
- "class": [bem$$("footer"), {
6934
+ "class": [bem$10("footer"), {
6935
6935
  "van-safe-area-bottom": props.safeAreaInsetBottom
6936
6936
  }]
6937
6937
  }, [renderFooterButton()]);
6938
6938
  const renderCalendar = () => vue.createVNode("div", {
6939
- "class": bem$$()
6940
- }, [vue.createVNode(stdin_default$1a, {
6939
+ "class": bem$10()
6940
+ }, [vue.createVNode(stdin_default$1b, {
6941
6941
  "date": subtitle.value.date,
6942
6942
  "title": props.title,
6943
6943
  "subtitle": subtitle.value.text,
@@ -6947,7 +6947,7 @@
6947
6947
  "onClickSubtitle": (event) => emit("clickSubtitle", event)
6948
6948
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
6949
6949
  "ref": bodyRef,
6950
- "class": bem$$("body"),
6950
+ "class": bem$10("body"),
6951
6951
  "onScroll": onScroll
6952
6952
  }, [months.value.map(renderMonth)]), renderFooter()]);
6953
6953
  vue.watch(() => props.show, init);
@@ -6966,7 +6966,7 @@
6966
6966
  if (props.poppable) {
6967
6967
  return vue.createVNode(Popup, {
6968
6968
  "show": props.show,
6969
- "class": bem$$("popup"),
6969
+ "class": bem$10("popup"),
6970
6970
  "round": props.round,
6971
6971
  "position": props.position,
6972
6972
  "closeable": props.showTitle || props.showSubtitle,
@@ -6983,8 +6983,8 @@
6983
6983
  };
6984
6984
  }
6985
6985
  });
6986
- const Calendar = withInstall(stdin_default$19);
6987
- const [name$$, bem$_] = createNamespace("image");
6986
+ const Calendar = withInstall(stdin_default$1a);
6987
+ const [name$10, bem$$] = createNamespace("image");
6988
6988
  const imageProps = {
6989
6989
  src: String,
6990
6990
  alt: String,
@@ -7003,8 +7003,8 @@
7003
7003
  showLoading: truthProp,
7004
7004
  loadingIcon: makeStringProp("photo")
7005
7005
  };
7006
- var stdin_default$18 = vue.defineComponent({
7007
- name: name$$,
7006
+ var stdin_default$19 = vue.defineComponent({
7007
+ name: name$10,
7008
7008
  props: imageProps,
7009
7009
  emits: ["load", "error"],
7010
7010
  setup(props, {
@@ -7065,13 +7065,13 @@
7065
7065
  const renderPlaceholder = () => {
7066
7066
  if (loading.value && props.showLoading) {
7067
7067
  return vue.createVNode("div", {
7068
- "class": bem$_("loading")
7069
- }, [renderIcon(props.loadingIcon, bem$_("loading-icon"), slots.loading)]);
7068
+ "class": bem$$("loading")
7069
+ }, [renderIcon(props.loadingIcon, bem$$("loading-icon"), slots.loading)]);
7070
7070
  }
7071
7071
  if (error.value && props.showError) {
7072
7072
  return vue.createVNode("div", {
7073
- "class": bem$_("error")
7074
- }, [renderIcon(props.errorIcon, bem$_("error-icon"), slots.error)]);
7073
+ "class": bem$$("error")
7074
+ }, [renderIcon(props.errorIcon, bem$$("error-icon"), slots.error)]);
7075
7075
  }
7076
7076
  };
7077
7077
  const renderImage = () => {
@@ -7080,7 +7080,7 @@
7080
7080
  }
7081
7081
  const attrs = {
7082
7082
  alt: props.alt,
7083
- class: bem$_("img"),
7083
+ class: bem$$("img"),
7084
7084
  style: {
7085
7085
  objectFit: props.fit,
7086
7086
  objectPosition: props.position
@@ -7130,7 +7130,7 @@
7130
7130
  vue.onMounted(() => {
7131
7131
  vue.nextTick(() => {
7132
7132
  var _a;
7133
- if ((_a = imageRef.value) == null ? void 0 : _a.complete) {
7133
+ if (((_a = imageRef.value) == null ? void 0 : _a.complete) && !props.lazyLoad) {
7134
7134
  triggerLoad();
7135
7135
  }
7136
7136
  });
@@ -7138,7 +7138,7 @@
7138
7138
  return () => {
7139
7139
  var _a;
7140
7140
  return vue.createVNode("div", {
7141
- "class": bem$_({
7141
+ "class": bem$$({
7142
7142
  round: props.round,
7143
7143
  block: props.block
7144
7144
  }),
@@ -7147,8 +7147,8 @@
7147
7147
  };
7148
7148
  }
7149
7149
  });
7150
- const Image$1 = withInstall(stdin_default$18);
7151
- const [name$_, bem$Z] = createNamespace("card");
7150
+ const Image$1 = withInstall(stdin_default$19);
7151
+ const [name$$, bem$_] = createNamespace("card");
7152
7152
  const cardProps = {
7153
7153
  tag: String,
7154
7154
  num: numericProp,
@@ -7162,8 +7162,8 @@
7162
7162
  thumbLink: String,
7163
7163
  originPrice: numericProp
7164
7164
  };
7165
- var stdin_default$17 = vue.defineComponent({
7166
- name: name$_,
7165
+ var stdin_default$18 = vue.defineComponent({
7166
+ name: name$$,
7167
7167
  props: cardProps,
7168
7168
  emits: ["clickThumb"],
7169
7169
  setup(props, {
@@ -7176,14 +7176,14 @@
7176
7176
  }
7177
7177
  if (props.title) {
7178
7178
  return vue.createVNode("div", {
7179
- "class": [bem$Z("title"), "van-multi-ellipsis--l2"]
7179
+ "class": [bem$_("title"), "van-multi-ellipsis--l2"]
7180
7180
  }, [props.title]);
7181
7181
  }
7182
7182
  };
7183
7183
  const renderThumbTag = () => {
7184
7184
  if (slots.tag || props.tag) {
7185
7185
  return vue.createVNode("div", {
7186
- "class": bem$Z("tag")
7186
+ "class": bem$_("tag")
7187
7187
  }, [slots.tag ? slots.tag() : vue.createVNode(Tag, {
7188
7188
  "mark": true,
7189
7189
  "type": "primary"
@@ -7208,7 +7208,7 @@
7208
7208
  if (slots.thumb || props.thumb) {
7209
7209
  return vue.createVNode("a", {
7210
7210
  "href": props.thumbLink,
7211
- "class": bem$Z("thumb"),
7211
+ "class": bem$_("thumb"),
7212
7212
  "onClick": (event) => emit("clickThumb", event)
7213
7213
  }, [renderThumbImage(), renderThumbTag()]);
7214
7214
  }
@@ -7219,18 +7219,18 @@
7219
7219
  }
7220
7220
  if (props.desc) {
7221
7221
  return vue.createVNode("div", {
7222
- "class": [bem$Z("desc"), "van-ellipsis"]
7222
+ "class": [bem$_("desc"), "van-ellipsis"]
7223
7223
  }, [props.desc]);
7224
7224
  }
7225
7225
  };
7226
7226
  const renderPriceText = () => {
7227
7227
  const priceArr = props.price.toString().split(".");
7228
7228
  return vue.createVNode("div", null, [vue.createVNode("span", {
7229
- "class": bem$Z("price-currency")
7229
+ "class": bem$_("price-currency")
7230
7230
  }, [props.currency]), vue.createVNode("span", {
7231
- "class": bem$Z("price-integer")
7231
+ "class": bem$_("price-integer")
7232
7232
  }, [priceArr[0]]), vue.createTextVNode("."), vue.createVNode("span", {
7233
- "class": bem$Z("price-decimal")
7233
+ "class": bem$_("price-decimal")
7234
7234
  }, [priceArr[1]])]);
7235
7235
  };
7236
7236
  return () => {
@@ -7240,34 +7240,34 @@
7240
7240
  const showOriginPrice = slots["origin-price"] || isDef(props.originPrice);
7241
7241
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
7242
7242
  const Price = showPrice && vue.createVNode("div", {
7243
- "class": bem$Z("price")
7243
+ "class": bem$_("price")
7244
7244
  }, [slots.price ? slots.price() : renderPriceText()]);
7245
7245
  const OriginPrice = showOriginPrice && vue.createVNode("div", {
7246
- "class": bem$Z("origin-price")
7246
+ "class": bem$_("origin-price")
7247
7247
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props.currency} ${props.originPrice}`]);
7248
7248
  const Num = showNum && vue.createVNode("div", {
7249
- "class": bem$Z("num")
7249
+ "class": bem$_("num")
7250
7250
  }, [slots.num ? slots.num() : `x${props.num}`]);
7251
7251
  const Footer = slots.footer && vue.createVNode("div", {
7252
- "class": bem$Z("footer")
7252
+ "class": bem$_("footer")
7253
7253
  }, [slots.footer()]);
7254
7254
  const Bottom = showBottom && vue.createVNode("div", {
7255
- "class": bem$Z("bottom")
7255
+ "class": bem$_("bottom")
7256
7256
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
7257
7257
  return vue.createVNode("div", {
7258
- "class": bem$Z()
7258
+ "class": bem$_()
7259
7259
  }, [vue.createVNode("div", {
7260
- "class": bem$Z("header")
7260
+ "class": bem$_("header")
7261
7261
  }, [renderThumb(), vue.createVNode("div", {
7262
- "class": bem$Z("content", {
7262
+ "class": bem$_("content", {
7263
7263
  centered: props.centered
7264
7264
  })
7265
7265
  }, [vue.createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
7266
7266
  };
7267
7267
  }
7268
7268
  });
7269
- const Card = withInstall(stdin_default$17);
7270
- const [name$Z, bem$Y, t$e] = createNamespace("cascader");
7269
+ const Card = withInstall(stdin_default$18);
7270
+ const [name$_, bem$Z, t$f] = createNamespace("cascader");
7271
7271
  const cascaderProps = {
7272
7272
  title: String,
7273
7273
  options: makeArrayProp(),
@@ -7280,8 +7280,8 @@
7280
7280
  placeholder: String,
7281
7281
  activeColor: String
7282
7282
  };
7283
- var stdin_default$16 = vue.defineComponent({
7284
- name: name$Z,
7283
+ var stdin_default$17 = vue.defineComponent({
7284
+ name: name$_,
7285
7285
  props: cascaderProps,
7286
7286
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
7287
7287
  setup(props, {
@@ -7389,12 +7389,12 @@
7389
7389
  title
7390
7390
  }) => emit("clickTab", name2, title);
7391
7391
  const renderHeader = () => props.showHeader ? vue.createVNode("div", {
7392
- "class": bem$Y("header")
7392
+ "class": bem$Z("header")
7393
7393
  }, [vue.createVNode("h2", {
7394
- "class": bem$Y("title")
7394
+ "class": bem$Z("title")
7395
7395
  }, [slots.title ? slots.title() : props.title]), props.closeable ? vue.createVNode(Icon, {
7396
7396
  "name": props.closeIcon,
7397
- "class": [bem$Y("close-icon"), HAPTICS_FEEDBACK],
7397
+ "class": [bem$Z("close-icon"), HAPTICS_FEEDBACK],
7398
7398
  "onClick": onClose
7399
7399
  }, null) : null]) : null;
7400
7400
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -7409,7 +7409,7 @@
7409
7409
  }) : vue.createVNode("span", null, [option[textKey]]);
7410
7410
  return vue.createVNode("li", {
7411
7411
  "role": "menuitemradio",
7412
- "class": [bem$Y("option", {
7412
+ "class": [bem$Z("option", {
7413
7413
  selected,
7414
7414
  disabled
7415
7415
  }), option.className],
@@ -7422,23 +7422,23 @@
7422
7422
  "onClick": () => onSelect(option, tabIndex)
7423
7423
  }, [Text, selected ? vue.createVNode(Icon, {
7424
7424
  "name": "success",
7425
- "class": bem$Y("selected-icon")
7425
+ "class": bem$Z("selected-icon")
7426
7426
  }, null) : null]);
7427
7427
  };
7428
7428
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
7429
7429
  "role": "menu",
7430
- "class": bem$Y("options")
7430
+ "class": bem$Z("options")
7431
7431
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
7432
7432
  const renderTab = (tab, tabIndex) => {
7433
7433
  const {
7434
7434
  options,
7435
7435
  selected
7436
7436
  } = tab;
7437
- const placeholder = props.placeholder || t$e("select");
7437
+ const placeholder = props.placeholder || t$f("select");
7438
7438
  const title = selected ? selected[textKey] : placeholder;
7439
7439
  return vue.createVNode(Tab, {
7440
7440
  "title": title,
7441
- "titleClass": bem$Y("tab", {
7441
+ "titleClass": bem$Z("tab", {
7442
7442
  unselected: !selected
7443
7443
  })
7444
7444
  }, {
@@ -7457,7 +7457,7 @@
7457
7457
  "onUpdate:active": ($event) => activeTab.value = $event,
7458
7458
  "shrink": true,
7459
7459
  "animated": true,
7460
- "class": bem$Y("tabs"),
7460
+ "class": bem$Z("tabs"),
7461
7461
  "color": props.activeColor,
7462
7462
  "swipeable": props.swipeable,
7463
7463
  "onClickTab": onClickTab
@@ -7481,19 +7481,19 @@
7481
7481
  updateTabs();
7482
7482
  });
7483
7483
  return () => vue.createVNode("div", {
7484
- "class": bem$Y()
7484
+ "class": bem$Z()
7485
7485
  }, [renderHeader(), renderTabs()]);
7486
7486
  }
7487
7487
  });
7488
- const Cascader = withInstall(stdin_default$16);
7489
- const [name$Y, bem$X] = createNamespace("cell-group");
7488
+ const Cascader = withInstall(stdin_default$17);
7489
+ const [name$Z, bem$Y] = createNamespace("cell-group");
7490
7490
  const cellGroupProps = {
7491
7491
  title: String,
7492
7492
  inset: Boolean,
7493
7493
  border: truthProp
7494
7494
  };
7495
- var stdin_default$15 = vue.defineComponent({
7496
- name: name$Y,
7495
+ var stdin_default$16 = vue.defineComponent({
7496
+ name: name$Z,
7497
7497
  inheritAttrs: false,
7498
7498
  props: cellGroupProps,
7499
7499
  setup(props, {
@@ -7503,7 +7503,7 @@
7503
7503
  const renderGroup = () => {
7504
7504
  var _a;
7505
7505
  return vue.createVNode("div", vue.mergeProps({
7506
- "class": [bem$X({
7506
+ "class": [bem$Y({
7507
7507
  inset: props.inset
7508
7508
  }), {
7509
7509
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -7511,7 +7511,7 @@
7511
7511
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7512
7512
  };
7513
7513
  const renderTitle = () => vue.createVNode("div", {
7514
- "class": bem$X("title", {
7514
+ "class": bem$Y("title", {
7515
7515
  inset: props.inset
7516
7516
  })
7517
7517
  }, [slots.title ? slots.title() : props.title]);
@@ -7523,8 +7523,8 @@
7523
7523
  };
7524
7524
  }
7525
7525
  });
7526
- const CellGroup = withInstall(stdin_default$15);
7527
- const [name$X, bem$W] = createNamespace("checkbox-group");
7526
+ const CellGroup = withInstall(stdin_default$16);
7527
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
7528
7528
  const checkboxGroupProps = {
7529
7529
  max: numericProp,
7530
7530
  disabled: Boolean,
@@ -7533,9 +7533,9 @@
7533
7533
  modelValue: makeArrayProp(),
7534
7534
  checkedColor: String
7535
7535
  };
7536
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
7537
- var stdin_default$14 = vue.defineComponent({
7538
- name: name$X,
7536
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
7537
+ var stdin_default$15 = vue.defineComponent({
7538
+ name: name$Y,
7539
7539
  props: checkboxGroupProps,
7540
7540
  emits: ["change", "update:modelValue"],
7541
7541
  setup(props, {
@@ -7581,17 +7581,17 @@
7581
7581
  return () => {
7582
7582
  var _a;
7583
7583
  return vue.createVNode("div", {
7584
- "class": bem$W([props.direction])
7584
+ "class": bem$X([props.direction])
7585
7585
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7586
7586
  };
7587
7587
  }
7588
7588
  });
7589
- const [name$W, bem$V] = createNamespace("checkbox");
7589
+ const [name$X, bem$W] = createNamespace("checkbox");
7590
7590
  const checkboxProps = extend({}, checkerProps, {
7591
7591
  bindGroup: truthProp
7592
7592
  });
7593
- var stdin_default$13 = vue.defineComponent({
7594
- name: name$W,
7593
+ var stdin_default$14 = vue.defineComponent({
7594
+ name: name$X,
7595
7595
  props: checkboxProps,
7596
7596
  emits: ["change", "update:modelValue"],
7597
7597
  setup(props, {
@@ -7648,8 +7648,8 @@
7648
7648
  checked
7649
7649
  });
7650
7650
  useCustomFieldValue(() => props.modelValue);
7651
- return () => vue.createVNode(stdin_default$1h, vue.mergeProps({
7652
- "bem": bem$V,
7651
+ return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
7652
+ "bem": bem$W,
7653
7653
  "role": "checkbox",
7654
7654
  "parent": parent,
7655
7655
  "checked": checked.value,
@@ -7657,9 +7657,9 @@
7657
7657
  }, props), pick(slots, ["default", "icon"]));
7658
7658
  }
7659
7659
  });
7660
- const Checkbox = withInstall(stdin_default$13);
7661
- const CheckboxGroup = withInstall(stdin_default$14);
7662
- const [name$V, bem$U] = createNamespace("circle");
7660
+ const Checkbox = withInstall(stdin_default$14);
7661
+ const CheckboxGroup = withInstall(stdin_default$15);
7662
+ const [name$W, bem$V] = createNamespace("circle");
7663
7663
  let uid = 0;
7664
7664
  const format$1 = (rate) => Math.min(Math.max(+rate, 0), 100);
7665
7665
  function getPath(clockwise, viewBoxSize) {
@@ -7680,8 +7680,8 @@
7680
7680
  strokeLinecap: String,
7681
7681
  startPosition: makeStringProp("top")
7682
7682
  };
7683
- var stdin_default$12 = vue.defineComponent({
7684
- name: name$V,
7683
+ var stdin_default$13 = vue.defineComponent({
7684
+ name: name$W,
7685
7685
  props: circleProps,
7686
7686
  emits: ["update:currentRate"],
7687
7687
  setup(props, {
@@ -7749,7 +7749,7 @@
7749
7749
  return vue.createVNode("path", {
7750
7750
  "d": path.value,
7751
7751
  "style": style,
7752
- "class": bem$U("hover"),
7752
+ "class": bem$V("hover"),
7753
7753
  "stroke": color
7754
7754
  }, null);
7755
7755
  };
@@ -7760,7 +7760,7 @@
7760
7760
  strokeWidth: `${props.strokeWidth}px`
7761
7761
  };
7762
7762
  return vue.createVNode("path", {
7763
- "class": bem$U("layer"),
7763
+ "class": bem$V("layer"),
7764
7764
  "style": style,
7765
7765
  "d": path.value
7766
7766
  }, null);
@@ -7791,12 +7791,12 @@
7791
7791
  }
7792
7792
  if (props.text) {
7793
7793
  return vue.createVNode("div", {
7794
- "class": bem$U("text")
7794
+ "class": bem$V("text")
7795
7795
  }, [props.text]);
7796
7796
  }
7797
7797
  };
7798
7798
  return () => vue.createVNode("div", {
7799
- "class": bem$U(),
7799
+ "class": bem$V(),
7800
7800
  "style": getSizeStyle(props.size)
7801
7801
  }, [vue.createVNode("svg", {
7802
7802
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -7804,9 +7804,9 @@
7804
7804
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7805
7805
  }
7806
7806
  });
7807
- const Circle = withInstall(stdin_default$12);
7808
- const [name$U, bem$T] = createNamespace("row");
7809
- const ROW_KEY = Symbol(name$U);
7807
+ const Circle = withInstall(stdin_default$13);
7808
+ const [name$V, bem$U] = createNamespace("row");
7809
+ const ROW_KEY = Symbol(name$V);
7810
7810
  const rowProps = {
7811
7811
  tag: makeStringProp("div"),
7812
7812
  wrap: truthProp,
@@ -7814,8 +7814,8 @@
7814
7814
  gutter: makeNumericProp(0),
7815
7815
  justify: String
7816
7816
  };
7817
- var stdin_default$11 = vue.defineComponent({
7818
- name: name$U,
7817
+ var stdin_default$12 = vue.defineComponent({
7818
+ name: name$V,
7819
7819
  props: rowProps,
7820
7820
  setup(props, {
7821
7821
  slots
@@ -7874,7 +7874,7 @@
7874
7874
  justify
7875
7875
  } = props;
7876
7876
  return vue.createVNode(tag, {
7877
- "class": bem$T({
7877
+ "class": bem$U({
7878
7878
  [`align-${align}`]: align,
7879
7879
  [`justify-${justify}`]: justify,
7880
7880
  nowrap: !wrap
@@ -7888,14 +7888,14 @@
7888
7888
  };
7889
7889
  }
7890
7890
  });
7891
- const [name$T, bem$S] = createNamespace("col");
7891
+ const [name$U, bem$T] = createNamespace("col");
7892
7892
  const colProps = {
7893
7893
  tag: makeStringProp("div"),
7894
7894
  span: makeNumericProp(0),
7895
7895
  offset: numericProp
7896
7896
  };
7897
- var stdin_default$10 = vue.defineComponent({
7898
- name: name$T,
7897
+ var stdin_default$11 = vue.defineComponent({
7898
+ name: name$U,
7899
7899
  props: colProps,
7900
7900
  setup(props, {
7901
7901
  slots
@@ -7930,7 +7930,7 @@
7930
7930
  } = props;
7931
7931
  return vue.createVNode(tag, {
7932
7932
  "style": style.value,
7933
- "class": bem$S({
7933
+ "class": bem$T({
7934
7934
  [span]: span,
7935
7935
  [`offset-${offset2}`]: offset2
7936
7936
  })
@@ -7943,9 +7943,9 @@
7943
7943
  };
7944
7944
  }
7945
7945
  });
7946
- const Col = withInstall(stdin_default$10);
7947
- const [name$S, bem$R] = createNamespace("collapse");
7948
- const COLLAPSE_KEY = Symbol(name$S);
7946
+ const Col = withInstall(stdin_default$11);
7947
+ const [name$T, bem$S] = createNamespace("collapse");
7948
+ const COLLAPSE_KEY = Symbol(name$T);
7949
7949
  const collapseProps = {
7950
7950
  border: truthProp,
7951
7951
  accordion: Boolean,
@@ -7954,8 +7954,8 @@
7954
7954
  default: ""
7955
7955
  }
7956
7956
  };
7957
- var stdin_default$$ = vue.defineComponent({
7958
- name: name$S,
7957
+ var stdin_default$10 = vue.defineComponent({
7958
+ name: name$T,
7959
7959
  props: collapseProps,
7960
7960
  emits: ["change", "update:modelValue"],
7961
7961
  setup(props, {
@@ -8022,15 +8022,15 @@
8022
8022
  return () => {
8023
8023
  var _a;
8024
8024
  return vue.createVNode("div", {
8025
- "class": [bem$R(), {
8025
+ "class": [bem$S(), {
8026
8026
  [BORDER_TOP_BOTTOM]: props.border
8027
8027
  }]
8028
8028
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
8029
8029
  };
8030
8030
  }
8031
8031
  });
8032
- const Collapse = withInstall(stdin_default$$);
8033
- const [name$R, bem$Q] = createNamespace("collapse-item");
8032
+ const Collapse = withInstall(stdin_default$10);
8033
+ const [name$S, bem$R] = createNamespace("collapse-item");
8034
8034
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
8035
8035
  const collapseItemProps = extend({}, cellSharedProps, {
8036
8036
  name: numericProp,
@@ -8039,8 +8039,8 @@
8039
8039
  readonly: Boolean,
8040
8040
  lazyRender: truthProp
8041
8041
  });
8042
- var stdin_default$_ = vue.defineComponent({
8043
- name: name$R,
8042
+ var stdin_default$$ = vue.defineComponent({
8043
+ name: name$S,
8044
8044
  props: collapseItemProps,
8045
8045
  setup(props, {
8046
8046
  slots
@@ -8119,7 +8119,7 @@
8119
8119
  }
8120
8120
  return vue.createVNode(Cell, vue.mergeProps({
8121
8121
  "role": "button",
8122
- "class": bem$Q("title", {
8122
+ "class": bem$R("title", {
8123
8123
  disabled,
8124
8124
  expanded: expanded.value,
8125
8125
  borderless: !border
@@ -8132,11 +8132,11 @@
8132
8132
  var _a;
8133
8133
  return vue.withDirectives(vue.createVNode("div", {
8134
8134
  "ref": wrapperRef,
8135
- "class": bem$Q("wrapper"),
8135
+ "class": bem$R("wrapper"),
8136
8136
  "onTransitionend": onTransitionEnd
8137
8137
  }, [vue.createVNode("div", {
8138
8138
  "ref": contentRef,
8139
- "class": bem$Q("content")
8139
+ "class": bem$R("content")
8140
8140
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
8141
8141
  });
8142
8142
  useExpose({
@@ -8145,15 +8145,15 @@
8145
8145
  itemName: name2
8146
8146
  });
8147
8147
  return () => vue.createVNode("div", {
8148
- "class": [bem$Q({
8148
+ "class": [bem$R({
8149
8149
  border: index.value && props.border
8150
8150
  })]
8151
8151
  }, [renderTitle(), renderContent()]);
8152
8152
  }
8153
8153
  });
8154
- const CollapseItem = withInstall(stdin_default$_);
8155
- const ConfigProvider = withInstall(stdin_default$1K);
8156
- const [name$Q, bem$P, t$d] = createNamespace("contact-card");
8154
+ const CollapseItem = withInstall(stdin_default$$);
8155
+ const ConfigProvider = withInstall(stdin_default$1L);
8156
+ const [name$R, bem$Q, t$e] = createNamespace("contact-card");
8157
8157
  const contactCardProps = {
8158
8158
  tel: String,
8159
8159
  name: String,
@@ -8161,8 +8161,8 @@
8161
8161
  addText: String,
8162
8162
  editable: truthProp
8163
8163
  };
8164
- var stdin_default$Z = vue.defineComponent({
8165
- name: name$Q,
8164
+ var stdin_default$_ = vue.defineComponent({
8165
+ name: name$R,
8166
8166
  props: contactCardProps,
8167
8167
  emits: ["click"],
8168
8168
  setup(props, {
@@ -8175,25 +8175,25 @@
8175
8175
  };
8176
8176
  const renderContent = () => {
8177
8177
  if (props.type === "add") {
8178
- return props.addText || t$d("addContact");
8178
+ return props.addText || t$e("addContact");
8179
8179
  }
8180
- return [vue.createVNode("div", null, [`${t$d("name")}:${props.name}`]), vue.createVNode("div", null, [`${t$d("tel")}:${props.tel}`])];
8180
+ return [vue.createVNode("div", null, [`${t$e("name")}:${props.name}`]), vue.createVNode("div", null, [`${t$e("tel")}:${props.tel}`])];
8181
8181
  };
8182
8182
  return () => vue.createVNode(Cell, {
8183
8183
  "center": true,
8184
8184
  "icon": props.type === "edit" ? "contact" : "add-square",
8185
- "class": bem$P([props.type]),
8185
+ "class": bem$Q([props.type]),
8186
8186
  "border": false,
8187
8187
  "isLink": props.editable,
8188
- "titleClass": bem$P("title"),
8188
+ "titleClass": bem$Q("title"),
8189
8189
  "onClick": onClick
8190
8190
  }, {
8191
8191
  title: renderContent
8192
8192
  });
8193
8193
  }
8194
8194
  });
8195
- const ContactCard = withInstall(stdin_default$Z);
8196
- const [name$P, bem$O, t$c] = createNamespace("contact-edit");
8195
+ const ContactCard = withInstall(stdin_default$_);
8196
+ const [name$Q, bem$P, t$d] = createNamespace("contact-edit");
8197
8197
  const DEFAULT_CONTACT = {
8198
8198
  tel: "",
8199
8199
  name: ""
@@ -8213,8 +8213,8 @@
8213
8213
  default: isMobile
8214
8214
  }
8215
8215
  };
8216
- var stdin_default$Y = vue.defineComponent({
8217
- name: name$P,
8216
+ var stdin_default$Z = vue.defineComponent({
8217
+ name: name$Q,
8218
8218
  props: contactEditProps,
8219
8219
  emits: ["save", "delete", "changeDefault"],
8220
8220
  setup(props, {
@@ -8228,20 +8228,20 @@
8228
8228
  };
8229
8229
  const onDelete = () => emit("delete", contact);
8230
8230
  const renderButtons = () => vue.createVNode("div", {
8231
- "class": bem$O("buttons")
8231
+ "class": bem$P("buttons")
8232
8232
  }, [vue.createVNode(Button, {
8233
8233
  "block": true,
8234
8234
  "round": true,
8235
8235
  "type": "primary",
8236
- "text": t$c("save"),
8237
- "class": bem$O("button"),
8236
+ "text": t$d("save"),
8237
+ "class": bem$P("button"),
8238
8238
  "loading": props.isSaving,
8239
8239
  "nativeType": "submit"
8240
8240
  }, null), props.isEdit && vue.createVNode(Button, {
8241
8241
  "block": true,
8242
8242
  "round": true,
8243
- "text": t$c("delete"),
8244
- "class": bem$O("button"),
8243
+ "text": t$d("delete"),
8244
+ "class": bem$P("button"),
8245
8245
  "loading": props.isDeleting,
8246
8246
  "onClick": onDelete
8247
8247
  }, null)]);
@@ -8254,7 +8254,7 @@
8254
8254
  if (props.showSetDefault) {
8255
8255
  return vue.createVNode(Cell, {
8256
8256
  "title": props.setDefaultLabel,
8257
- "class": bem$O("switch-cell"),
8257
+ "class": bem$P("switch-cell"),
8258
8258
  "border": false
8259
8259
  }, {
8260
8260
  "right-icon": renderSwitch
@@ -8263,47 +8263,47 @@
8263
8263
  };
8264
8264
  vue.watch(() => props.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
8265
8265
  return () => vue.createVNode(Form, {
8266
- "class": bem$O(),
8266
+ "class": bem$P(),
8267
8267
  "onSubmit": onSave
8268
8268
  }, {
8269
8269
  default: () => [vue.createVNode("div", {
8270
- "class": bem$O("fields")
8270
+ "class": bem$P("fields")
8271
8271
  }, [vue.createVNode(Field, {
8272
8272
  "modelValue": contact.name,
8273
8273
  "onUpdate:modelValue": ($event) => contact.name = $event,
8274
8274
  "clearable": true,
8275
- "label": t$c("name"),
8275
+ "label": t$d("name"),
8276
8276
  "rules": [{
8277
8277
  required: true,
8278
- message: t$c("nameEmpty")
8278
+ message: t$d("nameEmpty")
8279
8279
  }],
8280
8280
  "maxlength": "30",
8281
- "placeholder": t$c("name")
8281
+ "placeholder": t$d("name")
8282
8282
  }, null), vue.createVNode(Field, {
8283
8283
  "modelValue": contact.tel,
8284
8284
  "onUpdate:modelValue": ($event) => contact.tel = $event,
8285
8285
  "clearable": true,
8286
8286
  "type": "tel",
8287
- "label": t$c("tel"),
8287
+ "label": t$d("tel"),
8288
8288
  "rules": [{
8289
8289
  validator: props.telValidator,
8290
- message: t$c("telInvalid")
8290
+ message: t$d("telInvalid")
8291
8291
  }],
8292
- "placeholder": t$c("tel")
8292
+ "placeholder": t$d("tel")
8293
8293
  }, null)]), renderSetDefault(), renderButtons()]
8294
8294
  });
8295
8295
  }
8296
8296
  });
8297
- const ContactEdit = withInstall(stdin_default$Y);
8298
- const [name$O, bem$N, t$b] = createNamespace("contact-list");
8297
+ const ContactEdit = withInstall(stdin_default$Z);
8298
+ const [name$P, bem$O, t$c] = createNamespace("contact-list");
8299
8299
  const contactListProps = {
8300
8300
  list: Array,
8301
8301
  addText: String,
8302
8302
  modelValue: unknownProp,
8303
8303
  defaultTagText: String
8304
8304
  };
8305
- var stdin_default$X = vue.defineComponent({
8306
- name: name$O,
8305
+ var stdin_default$Y = vue.defineComponent({
8306
+ name: name$P,
8307
8307
  props: contactListProps,
8308
8308
  emits: ["add", "edit", "select", "update:modelValue"],
8309
8309
  setup(props, {
@@ -8315,13 +8315,13 @@
8315
8315
  emit("select", item, index);
8316
8316
  };
8317
8317
  const renderRightIcon = () => vue.createVNode(Radio, {
8318
- "class": bem$N("radio"),
8318
+ "class": bem$O("radio"),
8319
8319
  "name": item.id,
8320
8320
  "iconSize": 16
8321
8321
  }, null);
8322
8322
  const renderEditIcon = () => vue.createVNode(Icon, {
8323
8323
  "name": "edit",
8324
- "class": bem$N("edit"),
8324
+ "class": bem$O("edit"),
8325
8325
  "onClick": (event) => {
8326
8326
  event.stopPropagation();
8327
8327
  emit("edit", item, index);
@@ -8333,7 +8333,7 @@
8333
8333
  nodes.push(vue.createVNode(Tag, {
8334
8334
  "type": "primary",
8335
8335
  "round": true,
8336
- "class": bem$N("item-tag")
8336
+ "class": bem$O("item-tag")
8337
8337
  }, {
8338
8338
  default: () => [props.defaultTagText]
8339
8339
  }));
@@ -8344,8 +8344,8 @@
8344
8344
  "key": item.id,
8345
8345
  "isLink": true,
8346
8346
  "center": true,
8347
- "class": bem$N("item"),
8348
- "titleClass": bem$N("item-title"),
8347
+ "class": bem$O("item"),
8348
+ "titleClass": bem$O("item-title"),
8349
8349
  "onClick": onClick
8350
8350
  }, {
8351
8351
  icon: renderEditIcon,
@@ -8354,25 +8354,25 @@
8354
8354
  });
8355
8355
  };
8356
8356
  return () => vue.createVNode("div", {
8357
- "class": bem$N()
8357
+ "class": bem$O()
8358
8358
  }, [vue.createVNode(RadioGroup, {
8359
8359
  "modelValue": props.modelValue,
8360
- "class": bem$N("group")
8360
+ "class": bem$O("group")
8361
8361
  }, {
8362
8362
  default: () => [props.list && props.list.map(renderItem)]
8363
8363
  }), vue.createVNode("div", {
8364
- "class": [bem$N("bottom"), "van-safe-area-bottom"]
8364
+ "class": [bem$O("bottom"), "van-safe-area-bottom"]
8365
8365
  }, [vue.createVNode(Button, {
8366
8366
  "round": true,
8367
8367
  "block": true,
8368
8368
  "type": "primary",
8369
- "class": bem$N("add"),
8370
- "text": props.addText || t$b("addContact"),
8369
+ "class": bem$O("add"),
8370
+ "text": props.addText || t$c("addContact"),
8371
8371
  "onClick": () => emit("add")
8372
8372
  }, null)])]);
8373
8373
  }
8374
8374
  });
8375
- const ContactList = withInstall(stdin_default$X);
8375
+ const ContactList = withInstall(stdin_default$Y);
8376
8376
  function parseFormat(format2, currentTime) {
8377
8377
  const { days } = currentTime;
8378
8378
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -8408,15 +8408,15 @@
8408
8408
  }
8409
8409
  return format2;
8410
8410
  }
8411
- const [name$N, bem$M] = createNamespace("count-down");
8411
+ const [name$O, bem$N] = createNamespace("count-down");
8412
8412
  const countDownProps = {
8413
8413
  time: makeNumericProp(0),
8414
8414
  format: makeStringProp("HH:mm:ss"),
8415
8415
  autoStart: truthProp,
8416
8416
  millisecond: Boolean
8417
8417
  };
8418
- var stdin_default$W = vue.defineComponent({
8419
- name: name$N,
8418
+ var stdin_default$X = vue.defineComponent({
8419
+ name: name$O,
8420
8420
  props: countDownProps,
8421
8421
  emits: ["change", "finish"],
8422
8422
  setup(props, {
@@ -8451,11 +8451,11 @@
8451
8451
  });
8452
8452
  return () => vue.createVNode("div", {
8453
8453
  "role": "timer",
8454
- "class": bem$M()
8454
+ "class": bem$N()
8455
8455
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8456
8456
  }
8457
8457
  });
8458
- const CountDown = withInstall(stdin_default$W);
8458
+ const CountDown = withInstall(stdin_default$X);
8459
8459
  function getDate(timeStamp) {
8460
8460
  const date = new Date(timeStamp * 1e3);
8461
8461
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8464,9 +8464,9 @@
8464
8464
  }
8465
8465
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8466
8466
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8467
- const [name$M, bem$L, t$a] = createNamespace("coupon");
8468
- var stdin_default$V = vue.defineComponent({
8469
- name: name$M,
8467
+ const [name$N, bem$M, t$b] = createNamespace("coupon");
8468
+ var stdin_default$W = vue.defineComponent({
8469
+ name: name$N,
8470
8470
  props: {
8471
8471
  chosen: Boolean,
8472
8472
  coupon: makeRequiredProp(Object),
@@ -8494,13 +8494,13 @@
8494
8494
  return [vue.createVNode("span", null, [currency]), ` ${denominations}`];
8495
8495
  }
8496
8496
  if (coupon.discount) {
8497
- return t$a("discount", formatDiscount(coupon.discount));
8497
+ return t$b("discount", formatDiscount(coupon.discount));
8498
8498
  }
8499
8499
  return "";
8500
8500
  });
8501
8501
  const conditionMessage = vue.computed(() => {
8502
8502
  const condition = formatAmount(props.coupon.originCondition || 0);
8503
- return condition === "0" ? t$a("unlimited") : t$a("condition", condition);
8503
+ return condition === "0" ? t$b("unlimited") : t$b("condition", condition);
8504
8504
  });
8505
8505
  return () => {
8506
8506
  const {
@@ -8510,34 +8510,34 @@
8510
8510
  } = props;
8511
8511
  const description = disabled && coupon.reason || coupon.description;
8512
8512
  return vue.createVNode("div", {
8513
- "class": bem$L({
8513
+ "class": bem$M({
8514
8514
  disabled
8515
8515
  })
8516
8516
  }, [vue.createVNode("div", {
8517
- "class": bem$L("content")
8517
+ "class": bem$M("content")
8518
8518
  }, [vue.createVNode("div", {
8519
- "class": bem$L("head")
8519
+ "class": bem$M("head")
8520
8520
  }, [vue.createVNode("h2", {
8521
- "class": bem$L("amount")
8521
+ "class": bem$M("amount")
8522
8522
  }, [faceAmount.value]), vue.createVNode("p", {
8523
- "class": bem$L("condition")
8523
+ "class": bem$M("condition")
8524
8524
  }, [coupon.condition || conditionMessage.value])]), vue.createVNode("div", {
8525
- "class": bem$L("body")
8525
+ "class": bem$M("body")
8526
8526
  }, [vue.createVNode("p", {
8527
- "class": bem$L("name")
8527
+ "class": bem$M("name")
8528
8528
  }, [coupon.name]), vue.createVNode("p", {
8529
- "class": bem$L("valid")
8529
+ "class": bem$M("valid")
8530
8530
  }, [validPeriod.value]), !disabled && vue.createVNode(Checkbox, {
8531
- "class": bem$L("corner"),
8531
+ "class": bem$M("corner"),
8532
8532
  "modelValue": chosen
8533
8533
  }, null)])]), description && vue.createVNode("p", {
8534
- "class": bem$L("description")
8534
+ "class": bem$M("description")
8535
8535
  }, [description])]);
8536
8536
  };
8537
8537
  }
8538
8538
  });
8539
- const Coupon = withInstall(stdin_default$V);
8540
- const [name$L, bem$K, t$9] = createNamespace("coupon-cell");
8539
+ const Coupon = withInstall(stdin_default$W);
8540
+ const [name$M, bem$L, t$a] = createNamespace("coupon-cell");
8541
8541
  const couponCellProps = {
8542
8542
  title: String,
8543
8543
  border: truthProp,
@@ -8563,36 +8563,36 @@
8563
8563
  }
8564
8564
  return `-${currency} ${(value / 100).toFixed(2)}`;
8565
8565
  }
8566
- return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
8566
+ return coupons.length === 0 ? t$a("noCoupon") : t$a("count", coupons.length);
8567
8567
  }
8568
- var stdin_default$U = vue.defineComponent({
8569
- name: name$L,
8568
+ var stdin_default$V = vue.defineComponent({
8569
+ name: name$M,
8570
8570
  props: couponCellProps,
8571
8571
  setup(props) {
8572
8572
  return () => {
8573
8573
  const selected = props.coupons[+props.chosenCoupon];
8574
8574
  return vue.createVNode(Cell, {
8575
- "class": bem$K(),
8575
+ "class": bem$L(),
8576
8576
  "value": formatValue(props),
8577
- "title": props.title || t$9("title"),
8577
+ "title": props.title || t$a("title"),
8578
8578
  "border": props.border,
8579
8579
  "isLink": props.editable,
8580
- "valueClass": bem$K("value", {
8580
+ "valueClass": bem$L("value", {
8581
8581
  selected
8582
8582
  })
8583
8583
  }, null);
8584
8584
  };
8585
8585
  }
8586
8586
  });
8587
- const CouponCell = withInstall(stdin_default$U);
8588
- const [name$K, bem$J] = createNamespace("empty");
8587
+ const CouponCell = withInstall(stdin_default$V);
8588
+ const [name$L, bem$K] = createNamespace("empty");
8589
8589
  const emptyProps = {
8590
8590
  image: makeStringProp("default"),
8591
8591
  imageSize: [Number, String, Array],
8592
8592
  description: String
8593
8593
  };
8594
- var stdin_default$T = vue.defineComponent({
8595
- name: name$K,
8594
+ var stdin_default$U = vue.defineComponent({
8595
+ name: name$L,
8596
8596
  props: emptyProps,
8597
8597
  setup(props, {
8598
8598
  slots
@@ -8601,14 +8601,14 @@
8601
8601
  const description = slots.description ? slots.description() : props.description;
8602
8602
  if (description) {
8603
8603
  return vue.createVNode("p", {
8604
- "class": bem$J("description")
8604
+ "class": bem$K("description")
8605
8605
  }, [description]);
8606
8606
  }
8607
8607
  };
8608
8608
  const renderBottom = () => {
8609
8609
  if (slots.default) {
8610
8610
  return vue.createVNode("div", {
8611
- "class": bem$J("bottom")
8611
+ "class": bem$K("bottom")
8612
8612
  }, [slots.default()]);
8613
8613
  }
8614
8614
  };
@@ -8893,15 +8893,15 @@
8893
8893
  }, null);
8894
8894
  };
8895
8895
  return () => vue.createVNode("div", {
8896
- "class": bem$J()
8896
+ "class": bem$K()
8897
8897
  }, [vue.createVNode("div", {
8898
- "class": bem$J("image"),
8898
+ "class": bem$K("image"),
8899
8899
  "style": getSizeStyle(props.imageSize)
8900
8900
  }, [renderImage()]), renderDescription(), renderBottom()]);
8901
8901
  }
8902
8902
  });
8903
- const Empty = withInstall(stdin_default$T);
8904
- const [name$J, bem$I, t$8] = createNamespace("coupon-list");
8903
+ const Empty = withInstall(stdin_default$U);
8904
+ const [name$K, bem$J, t$9] = createNamespace("coupon-list");
8905
8905
  const couponListProps = {
8906
8906
  code: makeStringProp(""),
8907
8907
  coupons: makeArrayProp(),
@@ -8922,8 +8922,8 @@
8922
8922
  exchangeButtonLoading: Boolean,
8923
8923
  exchangeButtonDisabled: Boolean
8924
8924
  };
8925
- var stdin_default$S = vue.defineComponent({
8926
- name: name$J,
8925
+ var stdin_default$T = vue.defineComponent({
8926
+ name: name$K,
8927
8927
  props: couponListProps,
8928
8928
  emits: ["change", "exchange", "update:code"],
8929
8929
  setup(props, {
@@ -8959,27 +8959,27 @@
8959
8959
  "image": props.emptyImage
8960
8960
  }, {
8961
8961
  default: () => [vue.createVNode("p", {
8962
- "class": bem$I("empty-tip")
8963
- }, [t$8("noCoupon")])]
8962
+ "class": bem$J("empty-tip")
8963
+ }, [t$9("noCoupon")])]
8964
8964
  });
8965
8965
  const renderExchangeBar = () => {
8966
8966
  if (props.showExchangeBar) {
8967
8967
  return vue.createVNode("div", {
8968
8968
  "ref": barRef,
8969
- "class": bem$I("exchange-bar")
8969
+ "class": bem$J("exchange-bar")
8970
8970
  }, [vue.createVNode(Field, {
8971
8971
  "modelValue": currentCode.value,
8972
8972
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
8973
8973
  "clearable": true,
8974
8974
  "border": false,
8975
- "class": bem$I("field"),
8976
- "placeholder": props.inputPlaceholder || t$8("placeholder"),
8975
+ "class": bem$J("field"),
8976
+ "placeholder": props.inputPlaceholder || t$9("placeholder"),
8977
8977
  "maxlength": "20"
8978
8978
  }, null), vue.createVNode(Button, {
8979
8979
  "plain": true,
8980
8980
  "type": "primary",
8981
- "class": bem$I("exchange"),
8982
- "text": props.exchangeButtonText || t$8("exchange"),
8981
+ "class": bem$J("exchange"),
8982
+ "text": props.exchangeButtonText || t$9("exchange"),
8983
8983
  "loading": props.exchangeButtonLoading,
8984
8984
  "disabled": buttonDisabled.value,
8985
8985
  "onClick": onExchange
@@ -8991,14 +8991,14 @@
8991
8991
  coupons
8992
8992
  } = props;
8993
8993
  const count = props.showCount ? ` (${coupons.length})` : "";
8994
- const title = (props.enabledTitle || t$8("enable")) + count;
8994
+ const title = (props.enabledTitle || t$9("enable")) + count;
8995
8995
  return vue.createVNode(Tab, {
8996
8996
  "title": title
8997
8997
  }, {
8998
8998
  default: () => {
8999
8999
  var _a;
9000
9000
  return [vue.createVNode("div", {
9001
- "class": bem$I("list", {
9001
+ "class": bem$J("list", {
9002
9002
  "with-bottom": props.showCloseButton
9003
9003
  }),
9004
9004
  "style": {
@@ -9020,14 +9020,14 @@
9020
9020
  disabledCoupons
9021
9021
  } = props;
9022
9022
  const count = props.showCount ? ` (${disabledCoupons.length})` : "";
9023
- const title = (props.disabledTitle || t$8("disabled")) + count;
9023
+ const title = (props.disabledTitle || t$9("disabled")) + count;
9024
9024
  return vue.createVNode(Tab, {
9025
9025
  "title": title
9026
9026
  }, {
9027
9027
  default: () => {
9028
9028
  var _a;
9029
9029
  return [vue.createVNode("div", {
9030
- "class": bem$I("list", {
9030
+ "class": bem$J("list", {
9031
9031
  "with-bottom": props.showCloseButton
9032
9032
  }),
9033
9033
  "style": {
@@ -9054,28 +9054,28 @@
9054
9054
  });
9055
9055
  return () => vue.createVNode("div", {
9056
9056
  "ref": root,
9057
- "class": bem$I()
9057
+ "class": bem$J()
9058
9058
  }, [renderExchangeBar(), vue.createVNode(Tabs, {
9059
9059
  "active": activeTab.value,
9060
9060
  "onUpdate:active": ($event) => activeTab.value = $event,
9061
- "class": bem$I("tab")
9061
+ "class": bem$J("tab")
9062
9062
  }, {
9063
9063
  default: () => [renderCouponTab(), renderDisabledTab()]
9064
9064
  }), vue.createVNode("div", {
9065
- "class": bem$I("bottom")
9065
+ "class": bem$J("bottom")
9066
9066
  }, [vue.withDirectives(vue.createVNode(Button, {
9067
9067
  "round": true,
9068
9068
  "block": true,
9069
9069
  "type": "primary",
9070
- "class": bem$I("close"),
9071
- "text": props.closeButtonText || t$8("close"),
9070
+ "class": bem$J("close"),
9071
+ "text": props.closeButtonText || t$9("close"),
9072
9072
  "onClick": () => emit("change", -1)
9073
9073
  }, null), [[vue.vShow, props.showCloseButton]])])]);
9074
9074
  }
9075
9075
  });
9076
- const CouponList = withInstall(stdin_default$S);
9076
+ const CouponList = withInstall(stdin_default$T);
9077
9077
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
9078
- const [name$I] = createNamespace("date-picker");
9078
+ const [name$J] = createNamespace("date-picker");
9079
9079
  const datePickerProps = extend({}, sharedProps, {
9080
9080
  columnsType: {
9081
9081
  type: Array,
@@ -9092,8 +9092,8 @@
9092
9092
  validator: isDate
9093
9093
  }
9094
9094
  });
9095
- var stdin_default$R = vue.defineComponent({
9096
- name: name$I,
9095
+ var stdin_default$S = vue.defineComponent({
9096
+ name: name$J,
9097
9097
  props: datePickerProps,
9098
9098
  emits: ["confirm", "cancel", "change", "update:modelValue"],
9099
9099
  setup(props, {
@@ -9180,8 +9180,8 @@
9180
9180
  }, pick(props, pickerInheritKeys)), slots);
9181
9181
  }
9182
9182
  });
9183
- const DatePicker = withInstall(stdin_default$R);
9184
- const [name$H, bem$H, t$7] = createNamespace("dialog");
9183
+ const DatePicker = withInstall(stdin_default$S);
9184
+ const [name$I, bem$I, t$8] = createNamespace("dialog");
9185
9185
  const dialogProps = extend({}, popupSharedProps, {
9186
9186
  title: String,
9187
9187
  theme: String,
@@ -9204,8 +9204,8 @@
9204
9204
  closeOnClickOverlay: Boolean
9205
9205
  });
9206
9206
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
9207
- var stdin_default$Q = vue.defineComponent({
9208
- name: name$H,
9207
+ var stdin_default$R = vue.defineComponent({
9208
+ name: name$I,
9209
9209
  props: dialogProps,
9210
9210
  emits: ["confirm", "cancel", "keydown", "update:show"],
9211
9211
  setup(props, {
@@ -9262,7 +9262,7 @@
9262
9262
  const title = slots.title ? slots.title() : props.title;
9263
9263
  if (title) {
9264
9264
  return vue.createVNode("div", {
9265
- "class": bem$H("header", {
9265
+ "class": bem$I("header", {
9266
9266
  isolated: !props.message && !slots.default
9267
9267
  })
9268
9268
  }, [title]);
@@ -9274,7 +9274,7 @@
9274
9274
  allowHtml,
9275
9275
  messageAlign
9276
9276
  } = props;
9277
- const classNames = bem$H("message", {
9277
+ const classNames = bem$I("message", {
9278
9278
  "has-title": hasTitle,
9279
9279
  [messageAlign]: messageAlign
9280
9280
  });
@@ -9292,7 +9292,7 @@
9292
9292
  const renderContent = () => {
9293
9293
  if (slots.default) {
9294
9294
  return vue.createVNode("div", {
9295
- "class": bem$H("content")
9295
+ "class": bem$I("content")
9296
9296
  }, [slots.default()]);
9297
9297
  }
9298
9298
  const {
@@ -9304,18 +9304,18 @@
9304
9304
  const hasTitle = !!(title || slots.title);
9305
9305
  return vue.createVNode("div", {
9306
9306
  "key": allowHtml ? 1 : 0,
9307
- "class": bem$H("content", {
9307
+ "class": bem$I("content", {
9308
9308
  isolated: !hasTitle
9309
9309
  })
9310
9310
  }, [renderMessage(hasTitle)]);
9311
9311
  }
9312
9312
  };
9313
9313
  const renderButtons = () => vue.createVNode("div", {
9314
- "class": [BORDER_TOP, bem$H("footer")]
9314
+ "class": [BORDER_TOP, bem$I("footer")]
9315
9315
  }, [props.showCancelButton && vue.createVNode(Button, {
9316
9316
  "size": "large",
9317
- "text": props.cancelButtonText || t$7("cancel"),
9318
- "class": bem$H("cancel"),
9317
+ "text": props.cancelButtonText || t$8("cancel"),
9318
+ "class": bem$I("cancel"),
9319
9319
  "style": {
9320
9320
  color: props.cancelButtonColor
9321
9321
  },
@@ -9324,8 +9324,8 @@
9324
9324
  "onClick": onCancel
9325
9325
  }, null), props.showConfirmButton && vue.createVNode(Button, {
9326
9326
  "size": "large",
9327
- "text": props.confirmButtonText || t$7("confirm"),
9328
- "class": [bem$H("confirm"), {
9327
+ "text": props.confirmButtonText || t$8("confirm"),
9328
+ "class": [bem$I("confirm"), {
9329
9329
  [BORDER_LEFT]: props.showCancelButton
9330
9330
  }],
9331
9331
  "style": {
@@ -9336,20 +9336,20 @@
9336
9336
  "onClick": onConfirm
9337
9337
  }, null)]);
9338
9338
  const renderRoundButtons = () => vue.createVNode(ActionBar, {
9339
- "class": bem$H("footer")
9339
+ "class": bem$I("footer")
9340
9340
  }, {
9341
9341
  default: () => [props.showCancelButton && vue.createVNode(ActionBarButton, {
9342
9342
  "type": "warning",
9343
- "text": props.cancelButtonText || t$7("cancel"),
9344
- "class": bem$H("cancel"),
9343
+ "text": props.cancelButtonText || t$8("cancel"),
9344
+ "class": bem$I("cancel"),
9345
9345
  "color": props.cancelButtonColor,
9346
9346
  "loading": loading.cancel,
9347
9347
  "disabled": props.cancelButtonDisabled,
9348
9348
  "onClick": onCancel
9349
9349
  }, null), props.showConfirmButton && vue.createVNode(ActionBarButton, {
9350
9350
  "type": "danger",
9351
- "text": props.confirmButtonText || t$7("confirm"),
9352
- "class": bem$H("confirm"),
9351
+ "text": props.confirmButtonText || t$8("confirm"),
9352
+ "class": bem$I("confirm"),
9353
9353
  "color": props.confirmButtonColor,
9354
9354
  "loading": loading.confirm,
9355
9355
  "disabled": props.confirmButtonDisabled,
@@ -9373,7 +9373,7 @@
9373
9373
  return vue.createVNode(Popup, vue.mergeProps({
9374
9374
  "ref": root,
9375
9375
  "role": "dialog",
9376
- "class": [bem$H([theme]), className],
9376
+ "class": [bem$I([theme]), className],
9377
9377
  "style": {
9378
9378
  width: addUnit(width2)
9379
9379
  },
@@ -9423,7 +9423,7 @@
9423
9423
  state,
9424
9424
  toggle
9425
9425
  } = usePopupState();
9426
- return () => vue.createVNode(stdin_default$Q, vue.mergeProps(state, {
9426
+ return () => vue.createVNode(stdin_default$R, vue.mergeProps(state, {
9427
9427
  "onUpdate:show": toggle
9428
9428
  }), null);
9429
9429
  }
@@ -9461,15 +9461,15 @@
9461
9461
  instance$2.toggle(false);
9462
9462
  }
9463
9463
  };
9464
- const Dialog = withInstall(stdin_default$Q);
9465
- const [name$G, bem$G] = createNamespace("divider");
9464
+ const Dialog = withInstall(stdin_default$R);
9465
+ const [name$H, bem$H] = createNamespace("divider");
9466
9466
  const dividerProps = {
9467
9467
  dashed: Boolean,
9468
9468
  hairline: truthProp,
9469
9469
  contentPosition: makeStringProp("center")
9470
9470
  };
9471
- var stdin_default$P = vue.defineComponent({
9472
- name: name$G,
9471
+ var stdin_default$Q = vue.defineComponent({
9472
+ name: name$H,
9473
9473
  props: dividerProps,
9474
9474
  setup(props, {
9475
9475
  slots
@@ -9478,7 +9478,7 @@
9478
9478
  var _a;
9479
9479
  return vue.createVNode("div", {
9480
9480
  "role": "separator",
9481
- "class": bem$G({
9481
+ "class": bem$H({
9482
9482
  dashed: props.dashed,
9483
9483
  hairline: props.hairline,
9484
9484
  [`content-${props.contentPosition}`]: !!slots.default
@@ -9487,8 +9487,8 @@
9487
9487
  };
9488
9488
  }
9489
9489
  });
9490
- const Divider = withInstall(stdin_default$P);
9491
- const [name$F, bem$F] = createNamespace("dropdown-menu");
9490
+ const Divider = withInstall(stdin_default$Q);
9491
+ const [name$G, bem$G] = createNamespace("dropdown-menu");
9492
9492
  const dropdownMenuProps = {
9493
9493
  overlay: truthProp,
9494
9494
  zIndex: numericProp,
@@ -9498,9 +9498,9 @@
9498
9498
  closeOnClickOutside: truthProp,
9499
9499
  closeOnClickOverlay: truthProp
9500
9500
  };
9501
- const DROPDOWN_KEY = Symbol(name$F);
9502
- var stdin_default$O = vue.defineComponent({
9503
- name: name$F,
9501
+ const DROPDOWN_KEY = Symbol(name$G);
9502
+ var stdin_default$P = vue.defineComponent({
9503
+ name: name$G,
9504
9504
  props: dropdownMenuProps,
9505
9505
  setup(props, {
9506
9506
  slots
@@ -9567,7 +9567,7 @@
9567
9567
  "id": `${id}-${index}`,
9568
9568
  "role": "button",
9569
9569
  "tabindex": disabled ? void 0 : 0,
9570
- "class": [bem$F("item", {
9570
+ "class": [bem$G("item", {
9571
9571
  disabled
9572
9572
  }), {
9573
9573
  [HAPTICS_FEEDBACK]: !disabled
@@ -9578,7 +9578,7 @@
9578
9578
  }
9579
9579
  }
9580
9580
  }, [vue.createVNode("span", {
9581
- "class": [bem$F("title", {
9581
+ "class": [bem$G("title", {
9582
9582
  down: showPopup === (props.direction === "down"),
9583
9583
  active: showPopup
9584
9584
  }), titleClass],
@@ -9604,18 +9604,18 @@
9604
9604
  var _a;
9605
9605
  return vue.createVNode("div", {
9606
9606
  "ref": root,
9607
- "class": bem$F()
9607
+ "class": bem$G()
9608
9608
  }, [vue.createVNode("div", {
9609
9609
  "ref": barRef,
9610
9610
  "style": barStyle.value,
9611
- "class": bem$F("bar", {
9611
+ "class": bem$G("bar", {
9612
9612
  opened: opened.value
9613
9613
  })
9614
9614
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
9615
9615
  };
9616
9616
  }
9617
9617
  });
9618
- const [name$E, bem$E] = createNamespace("dropdown-item");
9618
+ const [name$F, bem$F] = createNamespace("dropdown-item");
9619
9619
  const dropdownItemProps = {
9620
9620
  title: String,
9621
9621
  options: makeArrayProp(),
@@ -9625,8 +9625,8 @@
9625
9625
  modelValue: unknownProp,
9626
9626
  titleClass: unknownProp
9627
9627
  };
9628
- var stdin_default$N = vue.defineComponent({
9629
- name: name$E,
9628
+ var stdin_default$O = vue.defineComponent({
9629
+ name: name$F,
9630
9630
  inheritAttrs: false,
9631
9631
  props: dropdownItemProps,
9632
9632
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
@@ -9696,7 +9696,7 @@
9696
9696
  const renderIcon = () => {
9697
9697
  if (active) {
9698
9698
  return vue.createVNode(Icon, {
9699
- "class": bem$E("icon"),
9699
+ "class": bem$F("icon"),
9700
9700
  "color": activeColor,
9701
9701
  "name": "success"
9702
9702
  }, null);
@@ -9707,7 +9707,7 @@
9707
9707
  "key": option.value,
9708
9708
  "icon": option.icon,
9709
9709
  "title": option.text,
9710
- "class": bem$E("option", {
9710
+ "class": bem$F("option", {
9711
9711
  active
9712
9712
  }),
9713
9713
  "style": {
@@ -9739,13 +9739,13 @@
9739
9739
  }
9740
9740
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9741
9741
  "style": style,
9742
- "class": bem$E([direction]),
9742
+ "class": bem$F([direction]),
9743
9743
  "onClick": onClickWrapper
9744
9744
  }, attrs), [vue.createVNode(Popup, {
9745
9745
  "show": state.showPopup,
9746
9746
  "onUpdate:show": ($event) => state.showPopup = $event,
9747
9747
  "role": "menu",
9748
- "class": bem$E("content"),
9748
+ "class": bem$F("content"),
9749
9749
  "overlay": overlay,
9750
9750
  "position": direction === "down" ? "top" : "bottom",
9751
9751
  "duration": state.transition ? duration : 0,
@@ -9783,9 +9783,9 @@
9783
9783
  };
9784
9784
  }
9785
9785
  });
9786
- const DropdownItem = withInstall(stdin_default$N);
9787
- const DropdownMenu = withInstall(stdin_default$O);
9788
- const [name$D, bem$D] = createNamespace("grid");
9786
+ const DropdownItem = withInstall(stdin_default$O);
9787
+ const DropdownMenu = withInstall(stdin_default$P);
9788
+ const [name$E, bem$E] = createNamespace("grid");
9789
9789
  const gridProps = {
9790
9790
  square: Boolean,
9791
9791
  center: truthProp,
@@ -9797,9 +9797,9 @@
9797
9797
  clickable: Boolean,
9798
9798
  columnNum: makeNumericProp(4)
9799
9799
  };
9800
- const GRID_KEY = Symbol(name$D);
9801
- var stdin_default$M = vue.defineComponent({
9802
- name: name$D,
9800
+ const GRID_KEY = Symbol(name$E);
9801
+ var stdin_default$N = vue.defineComponent({
9802
+ name: name$E,
9803
9803
  props: gridProps,
9804
9804
  setup(props, {
9805
9805
  slots
@@ -9816,15 +9816,15 @@
9816
9816
  "style": {
9817
9817
  paddingLeft: addUnit(props.gutter)
9818
9818
  },
9819
- "class": [bem$D(), {
9819
+ "class": [bem$E(), {
9820
9820
  [BORDER_TOP]: props.border && !props.gutter
9821
9821
  }]
9822
9822
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
9823
9823
  };
9824
9824
  }
9825
9825
  });
9826
- const Grid = withInstall(stdin_default$M);
9827
- const [name$C, bem$C] = createNamespace("grid-item");
9826
+ const Grid = withInstall(stdin_default$N);
9827
+ const [name$D, bem$D] = createNamespace("grid-item");
9828
9828
  const gridItemProps = extend({}, routeProps, {
9829
9829
  dot: Boolean,
9830
9830
  text: String,
@@ -9834,8 +9834,8 @@
9834
9834
  iconPrefix: String,
9835
9835
  badgeProps: Object
9836
9836
  });
9837
- var stdin_default$L = vue.defineComponent({
9838
- name: name$C,
9837
+ var stdin_default$M = vue.defineComponent({
9838
+ name: name$D,
9839
9839
  props: gridItemProps,
9840
9840
  setup(props, {
9841
9841
  slots
@@ -9898,7 +9898,7 @@
9898
9898
  "name": props.icon,
9899
9899
  "size": parent.props.iconSize,
9900
9900
  "badge": props.badge,
9901
- "class": bem$C("icon"),
9901
+ "class": bem$D("icon"),
9902
9902
  "color": props.iconColor,
9903
9903
  "badgeProps": props.badgeProps,
9904
9904
  "classPrefix": props.iconPrefix
@@ -9911,7 +9911,7 @@
9911
9911
  }
9912
9912
  if (props.text) {
9913
9913
  return vue.createVNode("span", {
9914
- "class": bem$C("text")
9914
+ "class": bem$D("text")
9915
9915
  }, [props.text]);
9916
9916
  }
9917
9917
  };
@@ -9931,7 +9931,7 @@
9931
9931
  direction,
9932
9932
  clickable
9933
9933
  } = parent.props;
9934
- const classes = [bem$C("content", [direction, {
9934
+ const classes = [bem$D("content", [direction, {
9935
9935
  center,
9936
9936
  square,
9937
9937
  reverse,
@@ -9941,7 +9941,7 @@
9941
9941
  [BORDER]: border
9942
9942
  }];
9943
9943
  return vue.createVNode("div", {
9944
- "class": [bem$C({
9944
+ "class": [bem$D({
9945
9945
  square
9946
9946
  })],
9947
9947
  "style": rootStyle.value
@@ -9955,10 +9955,10 @@
9955
9955
  };
9956
9956
  }
9957
9957
  });
9958
- const GridItem = withInstall(stdin_default$L);
9958
+ const GridItem = withInstall(stdin_default$M);
9959
9959
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
9960
- const bem$B = createNamespace("image-preview")[1];
9961
- var stdin_default$K = vue.defineComponent({
9960
+ const bem$C = createNamespace("image-preview")[1];
9961
+ var stdin_default$L = vue.defineComponent({
9962
9962
  props: {
9963
9963
  src: String,
9964
9964
  show: Boolean,
@@ -10201,19 +10201,19 @@
10201
10201
  };
10202
10202
  return vue.createVNode(SwipeItem, {
10203
10203
  "ref": swipeItem,
10204
- "class": bem$B("swipe-item"),
10204
+ "class": bem$C("swipe-item"),
10205
10205
  "onTouchstartPassive": onTouchStart,
10206
10206
  "onTouchend": onTouchEnd,
10207
10207
  "onTouchcancel": onTouchEnd
10208
10208
  }, {
10209
10209
  default: () => [slots.image ? vue.createVNode("div", {
10210
- "class": bem$B("image-wrap")
10210
+ "class": bem$C("image-wrap")
10211
10211
  }, [slots.image({
10212
10212
  src: props.src
10213
10213
  })]) : vue.createVNode(Image$1, {
10214
10214
  "src": props.src,
10215
10215
  "fit": "contain",
10216
- "class": bem$B("image", {
10216
+ "class": bem$C("image", {
10217
10217
  vertical: vertical.value
10218
10218
  }),
10219
10219
  "style": imageStyle.value,
@@ -10223,7 +10223,7 @@
10223
10223
  };
10224
10224
  }
10225
10225
  });
10226
- const [name$B, bem$A] = createNamespace("image-preview");
10226
+ const [name$C, bem$B] = createNamespace("image-preview");
10227
10227
  const popupProps$1 = ["show", "teleport", "transition", "overlayStyle", "closeOnPopstate"];
10228
10228
  const imagePreviewProps = {
10229
10229
  show: Boolean,
@@ -10247,8 +10247,8 @@
10247
10247
  closeIconPosition: makeStringProp("top-right"),
10248
10248
  teleport: [String, Object]
10249
10249
  };
10250
- var stdin_default$J = vue.defineComponent({
10251
- name: name$B,
10250
+ var stdin_default$K = vue.defineComponent({
10251
+ name: name$C,
10252
10252
  props: imagePreviewProps,
10253
10253
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
10254
10254
  setup(props, {
@@ -10287,7 +10287,7 @@
10287
10287
  const renderIndex = () => {
10288
10288
  if (props.showIndex) {
10289
10289
  return vue.createVNode("div", {
10290
- "class": bem$A("index")
10290
+ "class": bem$B("index")
10291
10291
  }, [slots.index ? slots.index({
10292
10292
  index: state.active
10293
10293
  }) : `${state.active + 1} / ${props.images.length}`]);
@@ -10296,7 +10296,7 @@
10296
10296
  const renderCover = () => {
10297
10297
  if (slots.cover) {
10298
10298
  return vue.createVNode("div", {
10299
- "class": bem$A("cover")
10299
+ "class": bem$B("cover")
10300
10300
  }, [slots.cover()]);
10301
10301
  }
10302
10302
  };
@@ -10310,7 +10310,7 @@
10310
10310
  "ref": swipeRef,
10311
10311
  "lazyRender": true,
10312
10312
  "loop": props.loop,
10313
- "class": bem$A("swipe"),
10313
+ "class": bem$B("swipe"),
10314
10314
  "duration": props.swipeDuration,
10315
10315
  "initialSwipe": props.startPosition,
10316
10316
  "showIndicators": props.showIndicators,
@@ -10319,7 +10319,7 @@
10319
10319
  "onDragEnd": onDragEnd,
10320
10320
  "onDragStart": onDragStart
10321
10321
  }, {
10322
- default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$K, {
10322
+ default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$L, {
10323
10323
  "src": image,
10324
10324
  "show": props.show,
10325
10325
  "active": state.active,
@@ -10342,7 +10342,7 @@
10342
10342
  return vue.createVNode(Icon, {
10343
10343
  "role": "button",
10344
10344
  "name": props.closeIcon,
10345
- "class": [bem$A("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
10345
+ "class": [bem$B("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
10346
10346
  "onClick": emitClose
10347
10347
  }, null);
10348
10348
  }
@@ -10379,8 +10379,8 @@
10379
10379
  }
10380
10380
  });
10381
10381
  return () => vue.createVNode(Popup, vue.mergeProps({
10382
- "class": [bem$A(), props.className],
10383
- "overlayClass": [bem$A("overlay"), props.overlayClass],
10382
+ "class": [bem$B(), props.className],
10383
+ "overlayClass": [bem$B("overlay"), props.overlayClass],
10384
10384
  "onClosed": onClosed,
10385
10385
  "onUpdate:show": updateShow
10386
10386
  }, pick(props, popupProps$1)), {
@@ -10424,7 +10424,7 @@
10424
10424
  const onClosed = () => {
10425
10425
  state.images = [];
10426
10426
  };
10427
- return () => vue.createVNode(stdin_default$J, vue.mergeProps(state, {
10427
+ return () => vue.createVNode(stdin_default$K, vue.mergeProps(state, {
10428
10428
  "onClosed": onClosed,
10429
10429
  "onUpdate:show": toggle
10430
10430
  }), null);
@@ -10445,13 +10445,13 @@
10445
10445
  instance$1.open(extend({}, defaultConfig, options));
10446
10446
  return instance$1;
10447
10447
  };
10448
- const ImagePreview = withInstall(stdin_default$J);
10448
+ const ImagePreview = withInstall(stdin_default$K);
10449
10449
  function genAlphabet() {
10450
10450
  const charCodeOfA = "A".charCodeAt(0);
10451
10451
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
10452
10452
  return indexList;
10453
10453
  }
10454
- const [name$A, bem$z] = createNamespace("index-bar");
10454
+ const [name$B, bem$A] = createNamespace("index-bar");
10455
10455
  const indexBarProps = {
10456
10456
  sticky: truthProp,
10457
10457
  zIndex: numericProp,
@@ -10463,9 +10463,9 @@
10463
10463
  default: genAlphabet
10464
10464
  }
10465
10465
  };
10466
- const INDEX_BAR_KEY = Symbol(name$A);
10467
- var stdin_default$I = vue.defineComponent({
10468
- name: name$A,
10466
+ const INDEX_BAR_KEY = Symbol(name$B);
10467
+ var stdin_default$J = vue.defineComponent({
10468
+ name: name$B,
10469
10469
  props: indexBarProps,
10470
10470
  emits: ["select", "change"],
10471
10471
  setup(props, {
@@ -10577,7 +10577,7 @@
10577
10577
  const renderIndexes = () => props.indexList.map((index) => {
10578
10578
  const active = index === activeAnchor.value;
10579
10579
  return vue.createVNode("span", {
10580
- "class": bem$z("index", {
10580
+ "class": bem$A("index", {
10581
10581
  active
10582
10582
  }),
10583
10583
  "style": active ? highlightStyle.value : void 0,
@@ -10638,7 +10638,7 @@
10638
10638
  };
10639
10639
  const renderSidebar = () => vue.createVNode("div", {
10640
10640
  "ref": sidebar,
10641
- "class": bem$z("sidebar"),
10641
+ "class": bem$A("sidebar"),
10642
10642
  "style": sidebarStyle.value,
10643
10643
  "onClick": onClickSidebar,
10644
10644
  "onTouchstartPassive": touch.start
@@ -10653,7 +10653,7 @@
10653
10653
  var _a;
10654
10654
  return vue.createVNode("div", {
10655
10655
  "ref": root,
10656
- "class": bem$z()
10656
+ "class": bem$A()
10657
10657
  }, [props.teleport ? vue.createVNode(vue.Teleport, {
10658
10658
  "to": props.teleport
10659
10659
  }, {
@@ -10662,12 +10662,12 @@
10662
10662
  };
10663
10663
  }
10664
10664
  });
10665
- const [name$z, bem$y] = createNamespace("index-anchor");
10665
+ const [name$A, bem$z] = createNamespace("index-anchor");
10666
10666
  const indexAnchorProps = {
10667
10667
  index: numericProp
10668
10668
  };
10669
- var stdin_default$H = vue.defineComponent({
10670
- name: name$z,
10669
+ var stdin_default$I = vue.defineComponent({
10670
+ name: name$A,
10671
10671
  props: indexAnchorProps,
10672
10672
  setup(props, {
10673
10673
  slots
@@ -10727,7 +10727,7 @@
10727
10727
  }
10728
10728
  }, [vue.createVNode("div", {
10729
10729
  "style": anchorStyle.value,
10730
- "class": [bem$y({
10730
+ "class": [bem$z({
10731
10731
  sticky
10732
10732
  }), {
10733
10733
  [BORDER_BOTTOM]: sticky
@@ -10736,9 +10736,9 @@
10736
10736
  };
10737
10737
  }
10738
10738
  });
10739
- const IndexAnchor = withInstall(stdin_default$H);
10740
- const IndexBar = withInstall(stdin_default$I);
10741
- const [name$y, bem$x, t$6] = createNamespace("list");
10739
+ const IndexAnchor = withInstall(stdin_default$I);
10740
+ const IndexBar = withInstall(stdin_default$J);
10741
+ const [name$z, bem$y, t$7] = createNamespace("list");
10742
10742
  const listProps = {
10743
10743
  error: Boolean,
10744
10744
  offset: makeNumericProp(300),
@@ -10751,8 +10751,8 @@
10751
10751
  finishedText: String,
10752
10752
  immediateCheck: truthProp
10753
10753
  };
10754
- var stdin_default$G = vue.defineComponent({
10755
- name: name$y,
10754
+ var stdin_default$H = vue.defineComponent({
10755
+ name: name$z,
10756
10756
  props: listProps,
10757
10757
  emits: ["load", "update:error", "update:loading"],
10758
10758
  setup(props, {
@@ -10797,7 +10797,7 @@
10797
10797
  const text = slots.finished ? slots.finished() : props.finishedText;
10798
10798
  if (text) {
10799
10799
  return vue.createVNode("div", {
10800
- "class": bem$x("finished-text")
10800
+ "class": bem$y("finished-text")
10801
10801
  }, [text]);
10802
10802
  }
10803
10803
  }
@@ -10812,7 +10812,7 @@
10812
10812
  if (text) {
10813
10813
  return vue.createVNode("div", {
10814
10814
  "role": "button",
10815
- "class": bem$x("error-text"),
10815
+ "class": bem$y("error-text"),
10816
10816
  "tabindex": 0,
10817
10817
  "onClick": clickErrorText
10818
10818
  }, [text]);
@@ -10822,11 +10822,11 @@
10822
10822
  const renderLoading = () => {
10823
10823
  if (loading.value && !props.finished && !props.disabled) {
10824
10824
  return vue.createVNode("div", {
10825
- "class": bem$x("loading")
10825
+ "class": bem$y("loading")
10826
10826
  }, [slots.loading ? slots.loading() : vue.createVNode(Loading, {
10827
- "class": bem$x("loading-icon")
10827
+ "class": bem$y("loading-icon")
10828
10828
  }, {
10829
- default: () => [props.loadingText || t$6("loading")]
10829
+ default: () => [props.loadingText || t$7("loading")]
10830
10830
  })]);
10831
10831
  }
10832
10832
  };
@@ -10858,19 +10858,19 @@
10858
10858
  const Content = (_a = slots.default) == null ? void 0 : _a.call(slots);
10859
10859
  const Placeholder = vue.createVNode("div", {
10860
10860
  "ref": placeholder,
10861
- "class": bem$x("placeholder")
10861
+ "class": bem$y("placeholder")
10862
10862
  }, null);
10863
10863
  return vue.createVNode("div", {
10864
10864
  "ref": root,
10865
10865
  "role": "feed",
10866
- "class": bem$x(),
10866
+ "class": bem$y(),
10867
10867
  "aria-busy": loading.value
10868
10868
  }, [props.direction === "down" ? Content : Placeholder, renderLoading(), renderFinishedText(), renderErrorText(), props.direction === "up" ? Content : Placeholder]);
10869
10869
  };
10870
10870
  }
10871
10871
  });
10872
- const List = withInstall(stdin_default$G);
10873
- const [name$x, bem$w] = createNamespace("nav-bar");
10872
+ const List = withInstall(stdin_default$H);
10873
+ const [name$y, bem$x] = createNamespace("nav-bar");
10874
10874
  const navBarProps = {
10875
10875
  title: String,
10876
10876
  fixed: Boolean,
@@ -10883,8 +10883,8 @@
10883
10883
  safeAreaInsetTop: Boolean,
10884
10884
  clickable: truthProp
10885
10885
  };
10886
- var stdin_default$F = vue.defineComponent({
10887
- name: name$x,
10886
+ var stdin_default$G = vue.defineComponent({
10887
+ name: name$y,
10888
10888
  props: navBarProps,
10889
10889
  emits: ["clickLeft", "clickRight"],
10890
10890
  setup(props, {
@@ -10892,7 +10892,7 @@
10892
10892
  slots
10893
10893
  }) {
10894
10894
  const navBarRef = vue.ref();
10895
- const renderPlaceholder = usePlaceholder(navBarRef, bem$w);
10895
+ const renderPlaceholder = usePlaceholder(navBarRef, bem$x);
10896
10896
  const onClickLeft = (event) => emit("clickLeft", event);
10897
10897
  const onClickRight = (event) => emit("clickRight", event);
10898
10898
  const renderLeft = () => {
@@ -10900,10 +10900,10 @@
10900
10900
  return slots.left();
10901
10901
  }
10902
10902
  return [props.leftArrow && vue.createVNode(Icon, {
10903
- "class": bem$w("arrow"),
10903
+ "class": bem$x("arrow"),
10904
10904
  "name": "arrow-left"
10905
10905
  }, null), props.leftText && vue.createVNode("span", {
10906
- "class": bem$w("text")
10906
+ "class": bem$x("text")
10907
10907
  }, [props.leftText])];
10908
10908
  };
10909
10909
  const renderRight = () => {
@@ -10911,7 +10911,7 @@
10911
10911
  return slots.right();
10912
10912
  }
10913
10913
  return vue.createVNode("span", {
10914
- "class": bem$w("text")
10914
+ "class": bem$x("text")
10915
10915
  }, [props.rightText]);
10916
10916
  };
10917
10917
  const renderNavBar = () => {
@@ -10927,21 +10927,21 @@
10927
10927
  return vue.createVNode("div", {
10928
10928
  "ref": navBarRef,
10929
10929
  "style": style,
10930
- "class": [bem$w({
10930
+ "class": [bem$x({
10931
10931
  fixed
10932
10932
  }), {
10933
10933
  [BORDER_BOTTOM]: border,
10934
10934
  "van-safe-area-top": props.safeAreaInsetTop
10935
10935
  }]
10936
10936
  }, [vue.createVNode("div", {
10937
- "class": bem$w("content")
10937
+ "class": bem$x("content")
10938
10938
  }, [hasLeft && vue.createVNode("div", {
10939
- "class": [bem$w("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10939
+ "class": [bem$x("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10940
10940
  "onClick": onClickLeft
10941
10941
  }, [renderLeft()]), vue.createVNode("div", {
10942
- "class": [bem$w("title"), "van-ellipsis"]
10942
+ "class": [bem$x("title"), "van-ellipsis"]
10943
10943
  }, [slots.title ? slots.title() : title]), hasRight && vue.createVNode("div", {
10944
- "class": [bem$w("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10944
+ "class": [bem$x("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10945
10945
  "onClick": onClickRight
10946
10946
  }, [renderRight()])])]);
10947
10947
  };
@@ -10953,8 +10953,8 @@
10953
10953
  };
10954
10954
  }
10955
10955
  });
10956
- const NavBar = withInstall(stdin_default$F);
10957
- const [name$w, bem$v] = createNamespace("notice-bar");
10956
+ const NavBar = withInstall(stdin_default$G);
10957
+ const [name$x, bem$w] = createNamespace("notice-bar");
10958
10958
  const noticeBarProps = {
10959
10959
  text: String,
10960
10960
  mode: String,
@@ -10969,8 +10969,8 @@
10969
10969
  default: null
10970
10970
  }
10971
10971
  };
10972
- var stdin_default$E = vue.defineComponent({
10973
- name: name$w,
10972
+ var stdin_default$F = vue.defineComponent({
10973
+ name: name$x,
10974
10974
  props: noticeBarProps,
10975
10975
  emits: ["close", "replay"],
10976
10976
  setup(props, {
@@ -10993,7 +10993,7 @@
10993
10993
  }
10994
10994
  if (props.leftIcon) {
10995
10995
  return vue.createVNode(Icon, {
10996
- "class": bem$v("left-icon"),
10996
+ "class": bem$w("left-icon"),
10997
10997
  "name": props.leftIcon
10998
10998
  }, null);
10999
10999
  }
@@ -11020,7 +11020,7 @@
11020
11020
  if (name2) {
11021
11021
  return vue.createVNode(Icon, {
11022
11022
  "name": name2,
11023
- "class": bem$v("right-icon"),
11023
+ "class": bem$w("right-icon"),
11024
11024
  "onClick": onClickRightIcon
11025
11025
  }, null);
11026
11026
  }
@@ -11045,11 +11045,11 @@
11045
11045
  return vue.createVNode("div", {
11046
11046
  "ref": wrapRef,
11047
11047
  "role": "marquee",
11048
- "class": bem$v("wrap")
11048
+ "class": bem$w("wrap")
11049
11049
  }, [vue.createVNode("div", {
11050
11050
  "ref": contentRef,
11051
11051
  "style": style,
11052
- "class": [bem$v("content"), {
11052
+ "class": [bem$w("content"), {
11053
11053
  "van-ellipsis": ellipsis
11054
11054
  }],
11055
11055
  "onTransitionend": onTransitionEnd
@@ -11098,7 +11098,7 @@
11098
11098
  } = props;
11099
11099
  return vue.withDirectives(vue.createVNode("div", {
11100
11100
  "role": "alert",
11101
- "class": bem$v({
11101
+ "class": bem$w({
11102
11102
  wrapable
11103
11103
  }),
11104
11104
  "style": {
@@ -11109,8 +11109,8 @@
11109
11109
  };
11110
11110
  }
11111
11111
  });
11112
- const NoticeBar = withInstall(stdin_default$E);
11113
- const [name$v, bem$u] = createNamespace("notify");
11112
+ const NoticeBar = withInstall(stdin_default$F);
11113
+ const [name$w, bem$v] = createNamespace("notify");
11114
11114
  const notifyProps = extend({}, popupSharedProps, {
11115
11115
  type: makeStringProp("danger"),
11116
11116
  color: String,
@@ -11120,8 +11120,8 @@
11120
11120
  background: String,
11121
11121
  lockScroll: Boolean
11122
11122
  });
11123
- var stdin_default$D = vue.defineComponent({
11124
- name: name$v,
11123
+ var stdin_default$E = vue.defineComponent({
11124
+ name: name$w,
11125
11125
  props: notifyProps,
11126
11126
  emits: ["update:show"],
11127
11127
  setup(props, {
@@ -11131,7 +11131,7 @@
11131
11131
  const updateShow = (show) => emit("update:show", show);
11132
11132
  return () => vue.createVNode(Popup, {
11133
11133
  "show": props.show,
11134
- "class": [bem$u([props.type]), props.className],
11134
+ "class": [bem$v([props.type]), props.className],
11135
11135
  "style": {
11136
11136
  color: props.color,
11137
11137
  background: props.background
@@ -11161,7 +11161,7 @@
11161
11161
  state,
11162
11162
  toggle
11163
11163
  } = usePopupState();
11164
- return () => vue.createVNode(stdin_default$D, vue.mergeProps(state, {
11164
+ return () => vue.createVNode(stdin_default$E, vue.mergeProps(state, {
11165
11165
  "onUpdate:show": toggle
11166
11166
  }), null);
11167
11167
  }
@@ -11205,24 +11205,24 @@
11205
11205
  const resetNotifyDefaultOptions = () => {
11206
11206
  currentOptions = getDefaultOptions();
11207
11207
  };
11208
- const Notify = withInstall(stdin_default$D);
11209
- const [name$u, bem$t] = createNamespace("key");
11208
+ const Notify = withInstall(stdin_default$E);
11209
+ const [name$v, bem$u] = createNamespace("key");
11210
11210
  const CollapseIcon = vue.createVNode("svg", {
11211
- "class": bem$t("collapse-icon"),
11211
+ "class": bem$u("collapse-icon"),
11212
11212
  "viewBox": "0 0 30 24"
11213
11213
  }, [vue.createVNode("path", {
11214
11214
  "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",
11215
11215
  "fill": "currentColor"
11216
11216
  }, null)]);
11217
11217
  const DeleteIcon = vue.createVNode("svg", {
11218
- "class": bem$t("delete-icon"),
11218
+ "class": bem$u("delete-icon"),
11219
11219
  "viewBox": "0 0 32 22"
11220
11220
  }, [vue.createVNode("path", {
11221
11221
  "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",
11222
11222
  "fill": "currentColor"
11223
11223
  }, null)]);
11224
- var stdin_default$C = vue.defineComponent({
11225
- name: name$u,
11224
+ var stdin_default$D = vue.defineComponent({
11225
+ name: name$v,
11226
11226
  props: {
11227
11227
  type: String,
11228
11228
  text: numericProp,
@@ -11260,7 +11260,7 @@
11260
11260
  const renderContent = () => {
11261
11261
  if (props.loading) {
11262
11262
  return vue.createVNode(Loading, {
11263
- "class": bem$t("loading-icon")
11263
+ "class": bem$u("loading-icon")
11264
11264
  }, null);
11265
11265
  }
11266
11266
  const text = slots.default ? slots.default() : props.text;
@@ -11274,7 +11274,7 @@
11274
11274
  }
11275
11275
  };
11276
11276
  return () => vue.createVNode("div", {
11277
- "class": bem$t("wrapper", {
11277
+ "class": bem$u("wrapper", {
11278
11278
  wider: props.wider
11279
11279
  }),
11280
11280
  "onTouchstartPassive": onTouchStart,
@@ -11284,7 +11284,7 @@
11284
11284
  }, [vue.createVNode("div", {
11285
11285
  "role": "button",
11286
11286
  "tabindex": 0,
11287
- "class": bem$t([props.color, {
11287
+ "class": bem$u([props.color, {
11288
11288
  large: props.large,
11289
11289
  active: active.value,
11290
11290
  delete: props.type === "delete"
@@ -11292,7 +11292,7 @@
11292
11292
  }, [renderContent()])]);
11293
11293
  }
11294
11294
  });
11295
- const [name$t, bem$s] = createNamespace("number-keyboard");
11295
+ const [name$u, bem$t] = createNamespace("number-keyboard");
11296
11296
  const numberKeyboardProps = {
11297
11297
  show: Boolean,
11298
11298
  title: String,
@@ -11324,8 +11324,8 @@
11324
11324
  }
11325
11325
  return array;
11326
11326
  }
11327
- var stdin_default$B = vue.defineComponent({
11328
- name: name$t,
11327
+ var stdin_default$C = vue.defineComponent({
11328
+ name: name$u,
11329
11329
  inheritAttrs: false,
11330
11330
  props: numberKeyboardProps,
11331
11331
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
@@ -11424,14 +11424,14 @@
11424
11424
  return;
11425
11425
  }
11426
11426
  return vue.createVNode("div", {
11427
- "class": bem$s("header")
11427
+ "class": bem$t("header")
11428
11428
  }, [leftSlot && vue.createVNode("span", {
11429
- "class": bem$s("title-left")
11429
+ "class": bem$t("title-left")
11430
11430
  }, [leftSlot()]), title && vue.createVNode("h2", {
11431
- "class": bem$s("title")
11431
+ "class": bem$t("title")
11432
11432
  }, [title]), showClose && vue.createVNode("button", {
11433
11433
  "type": "button",
11434
- "class": [bem$s("close"), HAPTICS_FEEDBACK],
11434
+ "class": [bem$t("close"), HAPTICS_FEEDBACK],
11435
11435
  "onClick": onClose
11436
11436
  }, [closeButtonText])]);
11437
11437
  };
@@ -11443,7 +11443,7 @@
11443
11443
  if (key.type === "extra") {
11444
11444
  keySlots.default = slots["extra-key"];
11445
11445
  }
11446
- return vue.createVNode(stdin_default$C, {
11446
+ return vue.createVNode(stdin_default$D, {
11447
11447
  "key": key.text,
11448
11448
  "text": key.text,
11449
11449
  "type": key.type,
@@ -11455,15 +11455,15 @@
11455
11455
  const renderSidebar = () => {
11456
11456
  if (props.theme === "custom") {
11457
11457
  return vue.createVNode("div", {
11458
- "class": bem$s("sidebar")
11459
- }, [props.showDeleteKey && vue.createVNode(stdin_default$C, {
11458
+ "class": bem$t("sidebar")
11459
+ }, [props.showDeleteKey && vue.createVNode(stdin_default$D, {
11460
11460
  "large": true,
11461
11461
  "text": props.deleteButtonText,
11462
11462
  "type": "delete",
11463
11463
  "onPress": onPress
11464
11464
  }, {
11465
11465
  delete: slots.delete
11466
- }), vue.createVNode(stdin_default$C, {
11466
+ }), vue.createVNode(stdin_default$D, {
11467
11467
  "large": true,
11468
11468
  "text": props.closeButtonText,
11469
11469
  "type": "close",
@@ -11491,16 +11491,16 @@
11491
11491
  default: () => [vue.withDirectives(vue.createVNode("div", vue.mergeProps({
11492
11492
  "ref": root,
11493
11493
  "style": getZIndexStyle(props.zIndex),
11494
- "class": bem$s({
11494
+ "class": bem$t({
11495
11495
  unfit: !props.safeAreaInsetBottom,
11496
11496
  "with-title": !!Title
11497
11497
  }),
11498
11498
  "onAnimationend": onAnimationEnd,
11499
11499
  "onTouchstartPassive": stopPropagation
11500
11500
  }, attrs), [Title, vue.createVNode("div", {
11501
- "class": bem$s("body")
11501
+ "class": bem$t("body")
11502
11502
  }, [vue.createVNode("div", {
11503
- "class": bem$s("keys")
11503
+ "class": bem$t("keys")
11504
11504
  }, [renderKeys()]), renderSidebar()])]), [[vue.vShow, props.show]])]
11505
11505
  });
11506
11506
  if (props.teleport) {
@@ -11514,8 +11514,8 @@
11514
11514
  };
11515
11515
  }
11516
11516
  });
11517
- const NumberKeyboard = withInstall(stdin_default$B);
11518
- const [name$s, bem$r, t$5] = createNamespace("pagination");
11517
+ const NumberKeyboard = withInstall(stdin_default$C);
11518
+ const [name$t, bem$s, t$6] = createNamespace("pagination");
11519
11519
  const makePage = (number, text, active) => ({
11520
11520
  number,
11521
11521
  text,
@@ -11534,8 +11534,8 @@
11534
11534
  showPrevButton: truthProp,
11535
11535
  showNextButton: truthProp
11536
11536
  };
11537
- var stdin_default$A = vue.defineComponent({
11538
- name: name$s,
11537
+ var stdin_default$B = vue.defineComponent({
11538
+ name: name$t,
11539
11539
  props: paginationProps,
11540
11540
  emits: ["change", "update:modelValue"],
11541
11541
  setup(props, {
@@ -11597,7 +11597,7 @@
11597
11597
  };
11598
11598
  vue.watchEffect(() => updateModelValue(props.modelValue));
11599
11599
  const renderDesc = () => vue.createVNode("li", {
11600
- "class": bem$r("page-desc")
11600
+ "class": bem$s("page-desc")
11601
11601
  }, [slots.pageDesc ? slots.pageDesc() : `${props.modelValue}/${count.value}`]);
11602
11602
  const renderPrevButton = () => {
11603
11603
  const {
@@ -11611,7 +11611,7 @@
11611
11611
  const slot = slots["prev-text"];
11612
11612
  const disabled = modelValue === 1;
11613
11613
  return vue.createVNode("li", {
11614
- "class": [bem$r("item", {
11614
+ "class": [bem$s("item", {
11615
11615
  disabled,
11616
11616
  border: mode === "simple",
11617
11617
  prev: true
@@ -11620,7 +11620,7 @@
11620
11620
  "type": "button",
11621
11621
  "disabled": disabled,
11622
11622
  "onClick": () => updateModelValue(modelValue - 1, true)
11623
- }, [slot ? slot() : props.prevText || t$5("prev")])]);
11623
+ }, [slot ? slot() : props.prevText || t$6("prev")])]);
11624
11624
  };
11625
11625
  const renderNextButton = () => {
11626
11626
  const {
@@ -11634,7 +11634,7 @@
11634
11634
  const slot = slots["next-text"];
11635
11635
  const disabled = modelValue === count.value;
11636
11636
  return vue.createVNode("li", {
11637
- "class": [bem$r("item", {
11637
+ "class": [bem$s("item", {
11638
11638
  disabled,
11639
11639
  border: mode === "simple",
11640
11640
  next: true
@@ -11643,10 +11643,10 @@
11643
11643
  "type": "button",
11644
11644
  "disabled": disabled,
11645
11645
  "onClick": () => updateModelValue(modelValue + 1, true)
11646
- }, [slot ? slot() : props.nextText || t$5("next")])]);
11646
+ }, [slot ? slot() : props.nextText || t$6("next")])]);
11647
11647
  };
11648
11648
  const renderPages = () => pages.value.map((page) => vue.createVNode("li", {
11649
- "class": [bem$r("item", {
11649
+ "class": [bem$s("item", {
11650
11650
  active: page.active,
11651
11651
  page: true
11652
11652
  }), BORDER_SURROUND]
@@ -11657,14 +11657,14 @@
11657
11657
  }, [slots.page ? slots.page(page) : page.text])]));
11658
11658
  return () => vue.createVNode("nav", {
11659
11659
  "role": "navigation",
11660
- "class": bem$r()
11660
+ "class": bem$s()
11661
11661
  }, [vue.createVNode("ul", {
11662
- "class": bem$r("items")
11662
+ "class": bem$s("items")
11663
11663
  }, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
11664
11664
  }
11665
11665
  });
11666
- const Pagination = withInstall(stdin_default$A);
11667
- const [name$r, bem$q] = createNamespace("password-input");
11666
+ const Pagination = withInstall(stdin_default$B);
11667
+ const [name$s, bem$r] = createNamespace("password-input");
11668
11668
  const passwordInputProps = {
11669
11669
  info: String,
11670
11670
  mask: truthProp,
@@ -11674,8 +11674,8 @@
11674
11674
  focused: Boolean,
11675
11675
  errorInfo: String
11676
11676
  };
11677
- var stdin_default$z = vue.defineComponent({
11678
- name: name$r,
11677
+ var stdin_default$A = vue.defineComponent({
11678
+ name: name$s,
11679
11679
  props: passwordInputProps,
11680
11680
  emits: ["focus"],
11681
11681
  setup(props, {
@@ -11707,7 +11707,7 @@
11707
11707
  Points.push(vue.createVNode("li", {
11708
11708
  "class": [{
11709
11709
  [BORDER_LEFT]: showBorder
11710
- }, bem$q("item", {
11710
+ }, bem$r("item", {
11711
11711
  focus: showCursor
11712
11712
  })],
11713
11713
  "style": style
@@ -11716,7 +11716,7 @@
11716
11716
  visibility: char ? "visible" : "hidden"
11717
11717
  }
11718
11718
  }, null) : char, showCursor && vue.createVNode("div", {
11719
- "class": bem$q("cursor")
11719
+ "class": bem$r("cursor")
11720
11720
  }, null)]));
11721
11721
  }
11722
11722
  return Points;
@@ -11724,20 +11724,20 @@
11724
11724
  return () => {
11725
11725
  const info = props.errorInfo || props.info;
11726
11726
  return vue.createVNode("div", {
11727
- "class": bem$q()
11727
+ "class": bem$r()
11728
11728
  }, [vue.createVNode("ul", {
11729
- "class": [bem$q("security"), {
11729
+ "class": [bem$r("security"), {
11730
11730
  [BORDER_SURROUND]: !props.gutter
11731
11731
  }],
11732
11732
  "onTouchstartPassive": onTouchStart
11733
11733
  }, [renderPoints()]), info && vue.createVNode("div", {
11734
- "class": bem$q(props.errorInfo ? "error-info" : "info")
11734
+ "class": bem$r(props.errorInfo ? "error-info" : "info")
11735
11735
  }, [info])]);
11736
11736
  };
11737
11737
  }
11738
11738
  });
11739
- const PasswordInput = withInstall(stdin_default$z);
11740
- const PickerGroup = withInstall(stdin_default$1t);
11739
+ const PasswordInput = withInstall(stdin_default$A);
11740
+ const PickerGroup = withInstall(stdin_default$1u);
11741
11741
  function getWindow(node) {
11742
11742
  if (node == null) {
11743
11743
  return window;
@@ -12691,7 +12691,7 @@
12691
12691
  });
12692
12692
  return propRef;
12693
12693
  };
12694
- const [name$q, bem$p] = createNamespace("popover");
12694
+ const [name$r, bem$q] = createNamespace("popover");
12695
12695
  const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
12696
12696
  const popoverProps = {
12697
12697
  show: Boolean,
@@ -12717,8 +12717,8 @@
12717
12717
  default: "body"
12718
12718
  }
12719
12719
  };
12720
- var stdin_default$y = vue.defineComponent({
12721
- name: name$q,
12720
+ var stdin_default$z = vue.defineComponent({
12721
+ name: name$r,
12722
12722
  props: popoverProps,
12723
12723
  emits: ["select", "touchstart", "update:show"],
12724
12724
  setup(props, {
@@ -12799,9 +12799,9 @@
12799
12799
  return [action.icon && vue.createVNode(Icon, {
12800
12800
  "name": action.icon,
12801
12801
  "classPrefix": props.iconPrefix,
12802
- "class": bem$p("action-icon")
12802
+ "class": bem$q("action-icon")
12803
12803
  }, null), vue.createVNode("div", {
12804
- "class": [bem$p("action-text"), BORDER_BOTTOM]
12804
+ "class": [bem$q("action-text"), BORDER_BOTTOM]
12805
12805
  }, [action.text])];
12806
12806
  };
12807
12807
  const renderAction = (action, index) => {
@@ -12813,7 +12813,7 @@
12813
12813
  } = action;
12814
12814
  return vue.createVNode("div", {
12815
12815
  "role": "menuitem",
12816
- "class": [bem$p("action", {
12816
+ "class": [bem$q("action", {
12817
12817
  disabled,
12818
12818
  "with-icon": icon
12819
12819
  }), className],
@@ -12850,29 +12850,29 @@
12850
12850
  var _a;
12851
12851
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("span", {
12852
12852
  "ref": wrapperRef,
12853
- "class": bem$p("wrapper"),
12853
+ "class": bem$q("wrapper"),
12854
12854
  "onClick": onClickWrapper
12855
12855
  }, [(_a = slots.reference) == null ? void 0 : _a.call(slots)]), vue.createVNode(Popup, vue.mergeProps({
12856
12856
  "ref": popoverRef,
12857
12857
  "show": show.value,
12858
- "class": bem$p([props.theme]),
12858
+ "class": bem$q([props.theme]),
12859
12859
  "position": "",
12860
12860
  "transition": "van-popover-zoom",
12861
12861
  "lockScroll": false,
12862
12862
  "onUpdate:show": updateShow
12863
12863
  }, attrs, pick(props, popupProps)), {
12864
12864
  default: () => [props.showArrow && vue.createVNode("div", {
12865
- "class": bem$p("arrow")
12865
+ "class": bem$q("arrow")
12866
12866
  }, null), vue.createVNode("div", {
12867
12867
  "role": "menu",
12868
- "class": bem$p("content")
12868
+ "class": bem$q("content")
12869
12869
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
12870
12870
  })]);
12871
12871
  };
12872
12872
  }
12873
12873
  });
12874
- const Popover = withInstall(stdin_default$y);
12875
- const [name$p, bem$o] = createNamespace("progress");
12874
+ const Popover = withInstall(stdin_default$z);
12875
+ const [name$q, bem$p] = createNamespace("progress");
12876
12876
  const progressProps = {
12877
12877
  color: String,
12878
12878
  inactive: Boolean,
@@ -12888,8 +12888,8 @@
12888
12888
  validator: (value) => +value >= 0 && +value <= 100
12889
12889
  }
12890
12890
  };
12891
- var stdin_default$x = vue.defineComponent({
12892
- name: name$p,
12891
+ var stdin_default$y = vue.defineComponent({
12892
+ name: name$q,
12893
12893
  props: progressProps,
12894
12894
  setup(props) {
12895
12895
  const background = vue.computed(() => props.inactive ? void 0 : props.color);
@@ -12910,7 +12910,7 @@
12910
12910
  };
12911
12911
  return vue.createVNode("span", {
12912
12912
  "style": style,
12913
- "class": bem$o("pivot", {
12913
+ "class": bem$p("pivot", {
12914
12914
  inactive: props.inactive
12915
12915
  })
12916
12916
  }, [text]);
@@ -12931,10 +12931,10 @@
12931
12931
  background: background.value
12932
12932
  };
12933
12933
  return vue.createVNode("div", {
12934
- "class": bem$o(),
12934
+ "class": bem$p(),
12935
12935
  "style": rootStyle
12936
12936
  }, [vue.createVNode("span", {
12937
- "class": bem$o("portion", {
12937
+ "class": bem$p("portion", {
12938
12938
  inactive: props.inactive
12939
12939
  }),
12940
12940
  "style": portionStyle
@@ -12942,8 +12942,8 @@
12942
12942
  };
12943
12943
  }
12944
12944
  });
12945
- const Progress = withInstall(stdin_default$x);
12946
- const [name$o, bem$n, t$4] = createNamespace("pull-refresh");
12945
+ const Progress = withInstall(stdin_default$y);
12946
+ const [name$p, bem$o, t$5] = createNamespace("pull-refresh");
12947
12947
  const DEFAULT_HEAD_HEIGHT = 50;
12948
12948
  const TEXT_STATUS = ["pulling", "loosing", "success"];
12949
12949
  const pullRefreshProps = {
@@ -12958,8 +12958,8 @@
12958
12958
  successDuration: makeNumericProp(500),
12959
12959
  animationDuration: makeNumericProp(300)
12960
12960
  };
12961
- var stdin_default$w = vue.defineComponent({
12962
- name: name$o,
12961
+ var stdin_default$x = vue.defineComponent({
12962
+ name: name$p,
12963
12963
  props: pullRefreshProps,
12964
12964
  emits: ["change", "refresh", "update:modelValue"],
12965
12965
  setup(props, {
@@ -13019,7 +13019,7 @@
13019
13019
  if (status === "normal") {
13020
13020
  return "";
13021
13021
  }
13022
- return props[`${status}Text`] || t$4(status);
13022
+ return props[`${status}Text`] || t$5(status);
13023
13023
  };
13024
13024
  const renderStatus = () => {
13025
13025
  const {
@@ -13034,12 +13034,12 @@
13034
13034
  const nodes = [];
13035
13035
  if (TEXT_STATUS.includes(status)) {
13036
13036
  nodes.push(vue.createVNode("div", {
13037
- "class": bem$n("text")
13037
+ "class": bem$o("text")
13038
13038
  }, [getStatusText()]));
13039
13039
  }
13040
13040
  if (status === "loading") {
13041
13041
  nodes.push(vue.createVNode(Loading, {
13042
- "class": bem$n("loading")
13042
+ "class": bem$o("loading")
13043
13043
  }, {
13044
13044
  default: getStatusText
13045
13045
  }));
@@ -13112,23 +13112,23 @@
13112
13112
  };
13113
13113
  return vue.createVNode("div", {
13114
13114
  "ref": root,
13115
- "class": bem$n()
13115
+ "class": bem$o()
13116
13116
  }, [vue.createVNode("div", {
13117
13117
  "ref": track,
13118
- "class": bem$n("track"),
13118
+ "class": bem$o("track"),
13119
13119
  "style": trackStyle,
13120
13120
  "onTouchstartPassive": onTouchStart,
13121
13121
  "onTouchend": onTouchEnd,
13122
13122
  "onTouchcancel": onTouchEnd
13123
13123
  }, [vue.createVNode("div", {
13124
- "class": bem$n("head"),
13124
+ "class": bem$o("head"),
13125
13125
  "style": getHeadStyle()
13126
13126
  }, [renderStatus()]), (_a = slots.default) == null ? void 0 : _a.call(slots)])]);
13127
13127
  };
13128
13128
  }
13129
13129
  });
13130
- const PullRefresh = withInstall(stdin_default$w);
13131
- const [name$n, bem$m] = createNamespace("rate");
13130
+ const PullRefresh = withInstall(stdin_default$x);
13131
+ const [name$o, bem$n] = createNamespace("rate");
13132
13132
  function getRateStatus(value, index, allowHalf, readonly) {
13133
13133
  if (value >= index) {
13134
13134
  return {
@@ -13170,8 +13170,8 @@
13170
13170
  modelValue: makeNumberProp(0),
13171
13171
  disabledColor: String
13172
13172
  };
13173
- var stdin_default$v = vue.defineComponent({
13174
- name: name$n,
13173
+ var stdin_default$w = vue.defineComponent({
13174
+ name: name$o,
13175
13175
  props: rateProps,
13176
13176
  emits: ["change", "update:modelValue"],
13177
13177
  setup(props, {
@@ -13290,7 +13290,7 @@
13290
13290
  "ref": setItemRefs(index),
13291
13291
  "role": "radio",
13292
13292
  "style": style,
13293
- "class": bem$m("item"),
13293
+ "class": bem$n("item"),
13294
13294
  "tabindex": disabled ? void 0 : 0,
13295
13295
  "aria-setsize": count,
13296
13296
  "aria-posinset": score,
@@ -13299,7 +13299,7 @@
13299
13299
  }, [vue.createVNode(Icon, {
13300
13300
  "size": size,
13301
13301
  "name": isFull ? icon : voidIcon,
13302
- "class": bem$m("icon", {
13302
+ "class": bem$n("icon", {
13303
13303
  disabled,
13304
13304
  full: isFull
13305
13305
  }),
@@ -13311,7 +13311,7 @@
13311
13311
  width: item.value + "em"
13312
13312
  },
13313
13313
  "name": isVoid ? voidIcon : icon,
13314
- "class": bem$m("icon", ["half", {
13314
+ "class": bem$n("icon", ["half", {
13315
13315
  disabled,
13316
13316
  full: !isVoid
13317
13317
  }]),
@@ -13326,7 +13326,7 @@
13326
13326
  return () => vue.createVNode("div", {
13327
13327
  "ref": groupRef,
13328
13328
  "role": "radiogroup",
13329
- "class": bem$m({
13329
+ "class": bem$n({
13330
13330
  readonly: props.readonly,
13331
13331
  disabled: props.disabled
13332
13332
  }),
@@ -13337,9 +13337,9 @@
13337
13337
  }, [list.value.map(renderStar)]);
13338
13338
  }
13339
13339
  });
13340
- const Rate = withInstall(stdin_default$v);
13341
- const Row = withInstall(stdin_default$11);
13342
- const [name$m, bem$l, t$3] = createNamespace("search");
13340
+ const Rate = withInstall(stdin_default$w);
13341
+ const Row = withInstall(stdin_default$12);
13342
+ const [name$n, bem$m, t$4] = createNamespace("search");
13343
13343
  const searchProps = extend({}, fieldSharedProps, {
13344
13344
  label: String,
13345
13345
  shape: makeStringProp("square"),
@@ -13349,8 +13349,8 @@
13349
13349
  background: String,
13350
13350
  showAction: Boolean
13351
13351
  });
13352
- var stdin_default$u = vue.defineComponent({
13353
- name: name$m,
13352
+ var stdin_default$v = vue.defineComponent({
13353
+ name: name$n,
13354
13354
  props: searchProps,
13355
13355
  emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
13356
13356
  setup(props, {
@@ -13377,16 +13377,16 @@
13377
13377
  const renderLabel = () => {
13378
13378
  if (slots.label || props.label) {
13379
13379
  return vue.createVNode("label", {
13380
- "class": bem$l("label"),
13380
+ "class": bem$m("label"),
13381
13381
  "for": getInputId()
13382
13382
  }, [slots.label ? slots.label() : props.label]);
13383
13383
  }
13384
13384
  };
13385
13385
  const renderAction = () => {
13386
13386
  if (props.showAction) {
13387
- const text = props.actionText || t$3("cancel");
13387
+ const text = props.actionText || t$4("cancel");
13388
13388
  return vue.createVNode("div", {
13389
- "class": bem$l("action"),
13389
+ "class": bem$m("action"),
13390
13390
  "role": "button",
13391
13391
  "tabindex": 0,
13392
13392
  "onClick": onCancel
@@ -13416,7 +13416,7 @@
13416
13416
  return vue.createVNode(Field, vue.mergeProps({
13417
13417
  "ref": fieldRef,
13418
13418
  "type": "search",
13419
- "class": bem$l("field"),
13419
+ "class": bem$m("field"),
13420
13420
  "border": false,
13421
13421
  "onBlur": onBlur,
13422
13422
  "onFocus": onFocus,
@@ -13435,19 +13435,19 @@
13435
13435
  return () => {
13436
13436
  var _a;
13437
13437
  return vue.createVNode("div", {
13438
- "class": bem$l({
13438
+ "class": bem$m({
13439
13439
  "show-action": props.showAction
13440
13440
  }),
13441
13441
  "style": {
13442
13442
  background: props.background
13443
13443
  }
13444
13444
  }, [(_a = slots.left) == null ? void 0 : _a.call(slots), vue.createVNode("div", {
13445
- "class": bem$l("content", props.shape)
13445
+ "class": bem$m("content", props.shape)
13446
13446
  }, [renderLabel(), renderField()]), renderAction()]);
13447
13447
  };
13448
13448
  }
13449
13449
  });
13450
- const Search = withInstall(stdin_default$u);
13450
+ const Search = withInstall(stdin_default$v);
13451
13451
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
13452
13452
  const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
13453
13453
  const iconMap = {
@@ -13460,7 +13460,7 @@
13460
13460
  "weapp-qrcode": "miniprogram-o",
13461
13461
  "wechat-moments": "wechat-moments"
13462
13462
  };
13463
- const [name$l, bem$k, t$2] = createNamespace("share-sheet");
13463
+ const [name$m, bem$l, t$3] = createNamespace("share-sheet");
13464
13464
  const shareSheetProps = extend({}, popupSharedProps, {
13465
13465
  title: String,
13466
13466
  round: truthProp,
@@ -13470,8 +13470,8 @@
13470
13470
  closeOnPopstate: truthProp,
13471
13471
  safeAreaInsetBottom: truthProp
13472
13472
  });
13473
- var stdin_default$t = vue.defineComponent({
13474
- name: name$l,
13473
+ var stdin_default$u = vue.defineComponent({
13474
+ name: name$m,
13475
13475
  props: shareSheetProps,
13476
13476
  emits: ["cancel", "select", "update:show"],
13477
13477
  setup(props, {
@@ -13489,11 +13489,11 @@
13489
13489
  const description = slots.description ? slots.description() : props.description;
13490
13490
  if (title || description) {
13491
13491
  return vue.createVNode("div", {
13492
- "class": bem$k("header")
13492
+ "class": bem$l("header")
13493
13493
  }, [title && vue.createVNode("h2", {
13494
- "class": bem$k("title")
13494
+ "class": bem$l("title")
13495
13495
  }, [title]), description && vue.createVNode("span", {
13496
- "class": bem$k("description")
13496
+ "class": bem$l("description")
13497
13497
  }, [description])]);
13498
13498
  }
13499
13499
  };
@@ -13501,11 +13501,11 @@
13501
13501
  if (isImage(icon)) {
13502
13502
  return vue.createVNode("img", {
13503
13503
  "src": icon,
13504
- "class": bem$k("image-icon")
13504
+ "class": bem$l("image-icon")
13505
13505
  }, null);
13506
13506
  }
13507
13507
  return vue.createVNode("div", {
13508
- "class": bem$k("icon", [icon])
13508
+ "class": bem$l("icon", [icon])
13509
13509
  }, [vue.createVNode(Icon, {
13510
13510
  "name": iconMap[icon] || icon
13511
13511
  }, null)]);
@@ -13520,16 +13520,16 @@
13520
13520
  return vue.createVNode("div", {
13521
13521
  "role": "button",
13522
13522
  "tabindex": 0,
13523
- "class": [bem$k("option"), className, HAPTICS_FEEDBACK],
13523
+ "class": [bem$l("option"), className, HAPTICS_FEEDBACK],
13524
13524
  "onClick": () => onSelect(option, index)
13525
13525
  }, [renderIcon(icon), name2 && vue.createVNode("span", {
13526
- "class": bem$k("name")
13526
+ "class": bem$l("name")
13527
13527
  }, [name2]), description && vue.createVNode("span", {
13528
- "class": bem$k("option-description")
13528
+ "class": bem$l("option-description")
13529
13529
  }, [description])]);
13530
13530
  };
13531
13531
  const renderOptions = (options, border) => vue.createVNode("div", {
13532
- "class": bem$k("options", {
13532
+ "class": bem$l("options", {
13533
13533
  border
13534
13534
  })
13535
13535
  }, [options.map(renderOption)]);
@@ -13544,17 +13544,17 @@
13544
13544
  };
13545
13545
  const renderCancelButton = () => {
13546
13546
  var _a;
13547
- const cancelText = (_a = props.cancelText) != null ? _a : t$2("cancel");
13547
+ const cancelText = (_a = props.cancelText) != null ? _a : t$3("cancel");
13548
13548
  if (slots.cancel || cancelText) {
13549
13549
  return vue.createVNode("button", {
13550
13550
  "type": "button",
13551
- "class": bem$k("cancel"),
13551
+ "class": bem$l("cancel"),
13552
13552
  "onClick": onCancel
13553
13553
  }, [slots.cancel ? slots.cancel() : cancelText]);
13554
13554
  }
13555
13555
  };
13556
13556
  return () => vue.createVNode(Popup, vue.mergeProps({
13557
- "class": bem$k(),
13557
+ "class": bem$l(),
13558
13558
  "position": "bottom",
13559
13559
  "onUpdate:show": updateShow
13560
13560
  }, pick(props, popupInheritKeys)), {
@@ -13562,14 +13562,14 @@
13562
13562
  });
13563
13563
  }
13564
13564
  });
13565
- const ShareSheet = withInstall(stdin_default$t);
13566
- const [name$k, bem$j] = createNamespace("sidebar");
13567
- const SIDEBAR_KEY = Symbol(name$k);
13565
+ const ShareSheet = withInstall(stdin_default$u);
13566
+ const [name$l, bem$k] = createNamespace("sidebar");
13567
+ const SIDEBAR_KEY = Symbol(name$l);
13568
13568
  const sidebarProps = {
13569
13569
  modelValue: makeNumericProp(0)
13570
13570
  };
13571
- var stdin_default$s = vue.defineComponent({
13572
- name: name$k,
13571
+ var stdin_default$t = vue.defineComponent({
13572
+ name: name$l,
13573
13573
  props: sidebarProps,
13574
13574
  emits: ["change", "update:modelValue"],
13575
13575
  setup(props, {
@@ -13594,13 +13594,13 @@
13594
13594
  var _a;
13595
13595
  return vue.createVNode("div", {
13596
13596
  "role": "tablist",
13597
- "class": bem$j()
13597
+ "class": bem$k()
13598
13598
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
13599
13599
  };
13600
13600
  }
13601
13601
  });
13602
- const Sidebar = withInstall(stdin_default$s);
13603
- const [name$j, bem$i] = createNamespace("sidebar-item");
13602
+ const Sidebar = withInstall(stdin_default$t);
13603
+ const [name$k, bem$j] = createNamespace("sidebar-item");
13604
13604
  const sidebarItemProps = extend({}, routeProps, {
13605
13605
  dot: Boolean,
13606
13606
  title: String,
@@ -13608,8 +13608,8 @@
13608
13608
  disabled: Boolean,
13609
13609
  badgeProps: Object
13610
13610
  });
13611
- var stdin_default$r = vue.defineComponent({
13612
- name: name$j,
13611
+ var stdin_default$s = vue.defineComponent({
13612
+ name: name$k,
13613
13613
  props: sidebarItemProps,
13614
13614
  emits: ["click"],
13615
13615
  setup(props, {
@@ -13642,7 +13642,7 @@
13642
13642
  const selected = index.value === parent.getActive();
13643
13643
  return vue.createVNode("div", {
13644
13644
  "role": "tab",
13645
- "class": bem$i({
13645
+ "class": bem$j({
13646
13646
  select: selected,
13647
13647
  disabled
13648
13648
  }),
@@ -13651,7 +13651,7 @@
13651
13651
  "onClick": onClick
13652
13652
  }, [vue.createVNode(Badge, vue.mergeProps({
13653
13653
  "dot": dot,
13654
- "class": bem$i("text"),
13654
+ "class": bem$j("text"),
13655
13655
  "content": badge
13656
13656
  }, props.badgeProps), {
13657
13657
  default: () => [slots.title ? slots.title() : title]
@@ -13659,7 +13659,128 @@
13659
13659
  };
13660
13660
  }
13661
13661
  });
13662
- const SidebarItem = withInstall(stdin_default$r);
13662
+ const SidebarItem = withInstall(stdin_default$s);
13663
+ const [name$j, bem$i, t$2] = createNamespace("signature");
13664
+ const signatureProps = {
13665
+ tips: String,
13666
+ type: makeStringProp("png"),
13667
+ penColor: makeStringProp("#000"),
13668
+ lineWidth: makeNumberProp(3),
13669
+ clearButtonText: String,
13670
+ confirmButtonText: String
13671
+ };
13672
+ const hasCanvasSupport = () => {
13673
+ var _a;
13674
+ const canvas = document.createElement("canvas");
13675
+ return !!((_a = canvas.getContext) == null ? void 0 : _a.call(canvas, "2d"));
13676
+ };
13677
+ var stdin_default$r = vue.defineComponent({
13678
+ name: name$j,
13679
+ props: signatureProps,
13680
+ emits: ["submit", "clear", "start", "end", "signing"],
13681
+ setup(props, {
13682
+ emit
13683
+ }) {
13684
+ const canvasRef = vue.ref();
13685
+ const wrapRef = vue.ref();
13686
+ const state = vue.reactive({
13687
+ width: 0,
13688
+ height: 0,
13689
+ ctx: null
13690
+ });
13691
+ let canvasRect;
13692
+ const isRenderCanvas = inBrowser$1 ? hasCanvasSupport() : true;
13693
+ const touchStart = () => {
13694
+ if (!state.ctx) {
13695
+ return false;
13696
+ }
13697
+ state.ctx.beginPath();
13698
+ state.ctx.lineWidth = props.lineWidth;
13699
+ state.ctx.strokeStyle = props.penColor;
13700
+ canvasRect = useRect(canvasRef);
13701
+ emit("start");
13702
+ };
13703
+ const touchMove = (event) => {
13704
+ var _a, _b;
13705
+ if (!state.ctx) {
13706
+ return false;
13707
+ }
13708
+ preventDefault(event);
13709
+ const touch = event.touches[0];
13710
+ const mouseX = touch.clientX - ((canvasRect == null ? void 0 : canvasRect.left) || 0);
13711
+ const mouseY = touch.clientY - ((canvasRect == null ? void 0 : canvasRect.top) || 0);
13712
+ state.ctx.lineCap = "round";
13713
+ state.ctx.lineJoin = "round";
13714
+ (_a = state.ctx) == null ? void 0 : _a.lineTo(mouseX, mouseY);
13715
+ (_b = state.ctx) == null ? void 0 : _b.stroke();
13716
+ emit("signing", event);
13717
+ };
13718
+ const touchEnd = (event) => {
13719
+ preventDefault(event);
13720
+ emit("end");
13721
+ };
13722
+ const isCanvasEmpty = (canvas) => {
13723
+ const empty = document.createElement("canvas");
13724
+ empty.width = canvas.width;
13725
+ empty.height = canvas.height;
13726
+ return canvas.toDataURL() === empty.toDataURL();
13727
+ };
13728
+ const submit = () => {
13729
+ const canvas = canvasRef.value;
13730
+ if (!canvas) {
13731
+ return;
13732
+ }
13733
+ const isEmpty = isCanvasEmpty(canvas);
13734
+ const image = isEmpty ? "" : canvas.toDataURL(`image/${props.type}`, props.type === "jpg" ? 0.9 : null);
13735
+ emit("submit", {
13736
+ image,
13737
+ canvas
13738
+ });
13739
+ };
13740
+ const clear = () => {
13741
+ if (state.ctx) {
13742
+ state.ctx.clearRect(0, 0, state.width, state.height);
13743
+ state.ctx.closePath();
13744
+ }
13745
+ emit("clear");
13746
+ };
13747
+ vue.onMounted(() => {
13748
+ var _a, _b, _c;
13749
+ if (isRenderCanvas) {
13750
+ state.ctx = (_a = canvasRef.value) == null ? void 0 : _a.getContext("2d");
13751
+ state.width = ((_b = wrapRef.value) == null ? void 0 : _b.offsetWidth) || 0;
13752
+ state.height = ((_c = wrapRef.value) == null ? void 0 : _c.offsetHeight) || 0;
13753
+ }
13754
+ });
13755
+ return () => vue.createVNode("div", {
13756
+ "class": bem$i()
13757
+ }, [vue.createVNode("div", {
13758
+ "class": bem$i("content"),
13759
+ "ref": wrapRef
13760
+ }, [isRenderCanvas ? vue.createVNode("canvas", {
13761
+ "ref": canvasRef,
13762
+ "width": state.width,
13763
+ "height": state.height,
13764
+ "onTouchstartPassive": touchStart,
13765
+ "onTouchmove": touchMove,
13766
+ "onTouchend": touchEnd
13767
+ }, null) : vue.createVNode("p", null, [props.tips])]), vue.createVNode("div", {
13768
+ "class": bem$i("footer")
13769
+ }, [vue.createVNode(Button, {
13770
+ "size": "small",
13771
+ "onClick": clear
13772
+ }, {
13773
+ default: () => [props.clearButtonText || t$2("clear")]
13774
+ }), vue.createVNode(Button, {
13775
+ "type": "primary",
13776
+ "size": "small",
13777
+ "onClick": submit
13778
+ }, {
13779
+ default: () => [props.confirmButtonText || t$2("confirm")]
13780
+ })])]);
13781
+ }
13782
+ });
13783
+ const Signature = withInstall(stdin_default$r);
13663
13784
  const [name$i, bem$h] = createNamespace("skeleton-title");
13664
13785
  const skeletonTitleProps = {
13665
13786
  round: Boolean,
@@ -16662,7 +16783,7 @@
16662
16783
  });
16663
16784
  }
16664
16785
  };
16665
- const version = "4.2.1";
16786
+ const version = "4.3.1";
16666
16787
  function install(app) {
16667
16788
  const components = [
16668
16789
  ActionBar,
@@ -16733,6 +16854,7 @@
16733
16854
  ShareSheet,
16734
16855
  Sidebar,
16735
16856
  SidebarItem,
16857
+ Signature,
16736
16858
  Skeleton,
16737
16859
  SkeletonAvatar,
16738
16860
  SkeletonImage,
@@ -16843,6 +16965,7 @@
16843
16965
  exports2.ShareSheet = ShareSheet;
16844
16966
  exports2.Sidebar = Sidebar;
16845
16967
  exports2.SidebarItem = SidebarItem;
16968
+ exports2.Signature = Signature;
16846
16969
  exports2.Skeleton = Skeleton;
16847
16970
  exports2.SkeletonAvatar = SkeletonAvatar;
16848
16971
  exports2.SkeletonImage = SkeletonImage;