vant 4.0.0-rc.6 → 4.0.0-rc.7

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 (81) hide show
  1. package/es/action-sheet/index.css +1 -1
  2. package/es/composables/use-sync-prop-ref.d.ts +2 -0
  3. package/es/composables/use-sync-prop-ref.mjs +18 -0
  4. package/es/date-picker/DatePicker.mjs +4 -1
  5. package/es/image-preview/ImagePreview.d.ts +2 -1
  6. package/es/image-preview/ImagePreview.mjs +6 -3
  7. package/es/image-preview/ImagePreviewItem.d.ts +2 -1
  8. package/es/image-preview/ImagePreviewItem.mjs +15 -11
  9. package/es/image-preview/index.d.ts +2 -1
  10. package/es/index.d.ts +1 -1
  11. package/es/index.mjs +1 -1
  12. package/es/lazyload/vue-lazyload/lazy-image.mjs +5 -5
  13. package/es/picker/Picker.mjs +4 -2
  14. package/es/picker/PickerColumn.mjs +5 -4
  15. package/es/popover/Popover.mjs +13 -8
  16. package/es/skeleton/Skeleton.d.ts +23 -23
  17. package/es/skeleton/Skeleton.mjs +28 -23
  18. package/es/skeleton/SkeletonAvatar.d.ts +26 -0
  19. package/es/skeleton/SkeletonAvatar.mjs +22 -0
  20. package/es/skeleton/SkeletonImage.d.ts +26 -0
  21. package/es/skeleton/SkeletonImage.mjs +26 -0
  22. package/es/skeleton/SkeletonParagraph.d.ts +27 -0
  23. package/es/skeleton/SkeletonParagraph.mjs +31 -0
  24. package/es/skeleton/SkeletonTitle.d.ts +16 -0
  25. package/es/skeleton/SkeletonTitle.mjs +26 -0
  26. package/es/skeleton/index.css +1 -1
  27. package/es/skeleton/index.d.ts +85 -18
  28. package/es/skeleton/index.mjs +22 -2
  29. package/es/skeleton/style/index.mjs +2 -0
  30. package/es/skeleton/types.d.ts +7 -3
  31. package/es/stepper/Stepper.d.ts +1 -1
  32. package/es/stepper/Stepper.mjs +1 -2
  33. package/es/stepper/index.d.ts +1 -1
  34. package/es/time-picker/TimePicker.mjs +4 -1
  35. package/es/uploader/Uploader.mjs +4 -4
  36. package/es/utils/constant.d.ts +1 -0
  37. package/es/utils/constant.mjs +3 -1
  38. package/lib/action-sheet/index.css +1 -1
  39. package/lib/composables/use-sync-prop-ref.d.ts +2 -0
  40. package/lib/composables/use-sync-prop-ref.js +37 -0
  41. package/lib/date-picker/DatePicker.js +4 -1
  42. package/lib/image-preview/ImagePreview.d.ts +2 -1
  43. package/lib/image-preview/ImagePreview.js +6 -3
  44. package/lib/image-preview/ImagePreviewItem.d.ts +2 -1
  45. package/lib/image-preview/ImagePreviewItem.js +14 -10
  46. package/lib/image-preview/index.d.ts +2 -1
  47. package/lib/index.css +1 -1
  48. package/lib/index.d.ts +1 -1
  49. package/lib/index.js +1 -1
  50. package/lib/lazyload/vue-lazyload/lazy-image.js +6 -6
  51. package/lib/picker/Picker.js +3 -1
  52. package/lib/picker/PickerColumn.js +5 -4
  53. package/lib/popover/Popover.js +13 -8
  54. package/lib/skeleton/Skeleton.d.ts +23 -23
  55. package/lib/skeleton/Skeleton.js +34 -23
  56. package/lib/skeleton/SkeletonAvatar.d.ts +26 -0
  57. package/lib/skeleton/SkeletonAvatar.js +41 -0
  58. package/lib/skeleton/SkeletonImage.d.ts +26 -0
  59. package/lib/skeleton/SkeletonImage.js +45 -0
  60. package/lib/skeleton/SkeletonParagraph.d.ts +27 -0
  61. package/lib/skeleton/SkeletonParagraph.js +50 -0
  62. package/lib/skeleton/SkeletonTitle.d.ts +16 -0
  63. package/lib/skeleton/SkeletonTitle.js +45 -0
  64. package/lib/skeleton/index.css +1 -1
  65. package/lib/skeleton/index.d.ts +85 -18
  66. package/lib/skeleton/index.js +22 -2
  67. package/lib/skeleton/style/index.js +2 -0
  68. package/lib/skeleton/types.d.ts +7 -3
  69. package/lib/stepper/Stepper.d.ts +1 -1
  70. package/lib/stepper/Stepper.js +1 -2
  71. package/lib/stepper/index.d.ts +1 -1
  72. package/lib/time-picker/TimePicker.js +4 -1
  73. package/lib/uploader/Uploader.js +3 -3
  74. package/lib/utils/constant.d.ts +1 -0
  75. package/lib/utils/constant.js +3 -1
  76. package/lib/vant.cjs.js +900 -778
  77. package/lib/vant.es.js +900 -778
  78. package/lib/vant.js +894 -778
  79. package/lib/vant.min.js +1 -1
  80. package/lib/web-types.json +1 -12164
  81. package/package.json +1 -1
package/lib/vant.js CHANGED
@@ -604,7 +604,7 @@
604
604
  });
605
605
  return to;
606
606
  }
607
- var stdin_default$1F = {
607
+ var stdin_default$1J = {
608
608
  name: "\u59D3\u540D",
609
609
  tel: "\u7535\u8BDD",
610
610
  save: "\u4FDD\u5B58",
@@ -667,7 +667,7 @@
667
667
  };
668
668
  const lang = vue.ref("zh-CN");
669
669
  const messages = vue.reactive({
670
- "zh-CN": stdin_default$1F
670
+ "zh-CN": stdin_default$1J
671
671
  });
672
672
  const Locale = {
673
673
  messages() {
@@ -681,11 +681,11 @@
681
681
  deepAssign(messages, newMessages);
682
682
  }
683
683
  };
684
- var stdin_default$1E = Locale;
684
+ var stdin_default$1I = Locale;
685
685
  function createTranslate(name2) {
686
686
  const prefix = camelize(name2) + ".";
687
687
  return (path, ...args) => {
688
- const messages2 = stdin_default$1E.messages();
688
+ const messages2 = stdin_default$1I.messages();
689
689
  const message = get(messages2, prefix + path) || get(messages2, path);
690
690
  return isFunction(message) ? message(...args) : message;
691
691
  };
@@ -735,6 +735,7 @@
735
735
  const BORDER_UNSET_TOP_BOTTOM = `${BORDER}-unset--top-bottom`;
736
736
  const HAPTICS_FEEDBACK = "van-haptics-feedback";
737
737
  const FORM_KEY = Symbol("van-form");
738
+ const LONG_PRESS_START_TIME = 500;
738
739
  function callInterceptor(interceptor, {
739
740
  args = [],
740
741
  done,
@@ -805,20 +806,20 @@
805
806
  }
806
807
  }, [renderContent()]);
807
808
  }
808
- const [name$1w, bem$1r] = createNamespace("action-bar");
809
- const ACTION_BAR_KEY = Symbol(name$1w);
809
+ const [name$1A, bem$1v] = createNamespace("action-bar");
810
+ const ACTION_BAR_KEY = Symbol(name$1A);
810
811
  const actionBarProps = {
811
812
  placeholder: Boolean,
812
813
  safeAreaInsetBottom: truthProp
813
814
  };
814
- var stdin_default$1D = vue.defineComponent({
815
- name: name$1w,
815
+ var stdin_default$1H = vue.defineComponent({
816
+ name: name$1A,
816
817
  props: actionBarProps,
817
818
  setup(props, {
818
819
  slots
819
820
  }) {
820
821
  const root = vue.ref();
821
- const renderPlaceholder = usePlaceholder(root, bem$1r);
822
+ const renderPlaceholder = usePlaceholder(root, bem$1v);
822
823
  const {
823
824
  linkChildren
824
825
  } = useChildren(ACTION_BAR_KEY);
@@ -827,7 +828,7 @@
827
828
  var _a;
828
829
  return vue.createVNode("div", {
829
830
  "ref": root,
830
- "class": [bem$1r(), {
831
+ "class": [bem$1v(), {
831
832
  "van-safe-area-bottom": props.safeAreaInsetBottom
832
833
  }]
833
834
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -840,7 +841,7 @@
840
841
  };
841
842
  }
842
843
  });
843
- const ActionBar = withInstall(stdin_default$1D);
844
+ const ActionBar = withInstall(stdin_default$1H);
844
845
  function useExpose(apis) {
845
846
  const instance2 = vue.getCurrentInstance();
846
847
  if (instance2) {
@@ -868,7 +869,7 @@
868
869
  const vm = vue.getCurrentInstance().proxy;
869
870
  return () => route(vm);
870
871
  }
871
- const [name$1v, bem$1q] = createNamespace("badge");
872
+ const [name$1z, bem$1u] = createNamespace("badge");
872
873
  const badgeProps = {
873
874
  dot: Boolean,
874
875
  max: numericProp,
@@ -879,8 +880,8 @@
879
880
  showZero: truthProp,
880
881
  position: makeStringProp("top-right")
881
882
  };
882
- var stdin_default$1C = vue.defineComponent({
883
- name: name$1v,
883
+ var stdin_default$1G = vue.defineComponent({
884
+ name: name$1z,
884
885
  props: badgeProps,
885
886
  setup(props, {
886
887
  slots
@@ -934,7 +935,7 @@
934
935
  const renderBadge = () => {
935
936
  if (hasContent() || props.dot) {
936
937
  return vue.createVNode("div", {
937
- "class": bem$1q([props.position, {
938
+ "class": bem$1u([props.position, {
938
939
  dot: props.dot,
939
940
  fixed: !!slots.default
940
941
  }]),
@@ -948,7 +949,7 @@
948
949
  tag
949
950
  } = props;
950
951
  return vue.createVNode(tag, {
951
- "class": bem$1q("wrapper")
952
+ "class": bem$1u("wrapper")
952
953
  }, {
953
954
  default: () => [slots.default(), renderBadge()]
954
955
  });
@@ -957,14 +958,14 @@
957
958
  };
958
959
  }
959
960
  });
960
- const Badge = withInstall(stdin_default$1C);
961
+ const Badge = withInstall(stdin_default$1G);
961
962
  let globalZIndex = 2e3;
962
963
  const useGlobalZIndex = () => ++globalZIndex;
963
964
  const setGlobalZIndex = (val) => {
964
965
  globalZIndex = val;
965
966
  };
966
- const [name$1u, bem$1p] = createNamespace("config-provider");
967
- const CONFIG_PROVIDER_KEY = Symbol(name$1u);
967
+ const [name$1y, bem$1t] = createNamespace("config-provider");
968
+ const CONFIG_PROVIDER_KEY = Symbol(name$1y);
968
969
  const configProviderProps = {
969
970
  tag: makeStringProp("div"),
970
971
  theme: makeStringProp("light"),
@@ -981,8 +982,8 @@
981
982
  });
982
983
  return cssVars;
983
984
  }
984
- var stdin_default$1B = vue.defineComponent({
985
- name: name$1u,
985
+ var stdin_default$1F = vue.defineComponent({
986
+ name: name$1y,
986
987
  props: configProviderProps,
987
988
  setup(props, {
988
989
  slots
@@ -1014,7 +1015,7 @@
1014
1015
  }
1015
1016
  });
1016
1017
  return () => vue.createVNode(props.tag, {
1017
- "class": bem$1p(),
1018
+ "class": bem$1t(),
1018
1019
  "style": style.value
1019
1020
  }, {
1020
1021
  default: () => {
@@ -1024,7 +1025,7 @@
1024
1025
  });
1025
1026
  }
1026
1027
  });
1027
- const [name$1t, bem$1o] = createNamespace("icon");
1028
+ const [name$1x, bem$1s] = createNamespace("icon");
1028
1029
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
1029
1030
  const iconProps = {
1030
1031
  dot: Boolean,
@@ -1036,14 +1037,14 @@
1036
1037
  badgeProps: Object,
1037
1038
  classPrefix: String
1038
1039
  };
1039
- var stdin_default$1A = vue.defineComponent({
1040
- name: name$1t,
1040
+ var stdin_default$1E = vue.defineComponent({
1041
+ name: name$1x,
1041
1042
  props: iconProps,
1042
1043
  setup(props, {
1043
1044
  slots
1044
1045
  }) {
1045
1046
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
1046
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1o());
1047
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1s());
1047
1048
  return () => {
1048
1049
  const {
1049
1050
  tag,
@@ -1067,7 +1068,7 @@
1067
1068
  default: () => {
1068
1069
  var _a;
1069
1070
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
1070
- "class": bem$1o("image"),
1071
+ "class": bem$1s("image"),
1071
1072
  "src": name2
1072
1073
  }, null)];
1073
1074
  }
@@ -1075,13 +1076,13 @@
1075
1076
  };
1076
1077
  }
1077
1078
  });
1078
- const Icon = withInstall(stdin_default$1A);
1079
- const [name$1s, bem$1n] = createNamespace("loading");
1079
+ const Icon = withInstall(stdin_default$1E);
1080
+ const [name$1w, bem$1r] = createNamespace("loading");
1080
1081
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1081
- "class": bem$1n("line", String(index + 1))
1082
+ "class": bem$1r("line", String(index + 1))
1082
1083
  }, null));
1083
1084
  const CircularIcon = vue.createVNode("svg", {
1084
- "class": bem$1n("circular"),
1085
+ "class": bem$1r("circular"),
1085
1086
  "viewBox": "25 25 50 50"
1086
1087
  }, [vue.createVNode("circle", {
1087
1088
  "cx": "50",
@@ -1097,8 +1098,8 @@
1097
1098
  textSize: numericProp,
1098
1099
  textColor: String
1099
1100
  };
1100
- var stdin_default$1z = vue.defineComponent({
1101
- name: name$1s,
1101
+ var stdin_default$1D = vue.defineComponent({
1102
+ name: name$1w,
1102
1103
  props: loadingProps,
1103
1104
  setup(props, {
1104
1105
  slots
@@ -1109,7 +1110,7 @@
1109
1110
  const renderIcon = () => {
1110
1111
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
1111
1112
  return vue.createVNode("span", {
1112
- "class": bem$1n("spinner", props.type),
1113
+ "class": bem$1r("spinner", props.type),
1113
1114
  "style": spinnerStyle.value
1114
1115
  }, [slots.icon ? slots.icon() : DefaultIcon]);
1115
1116
  };
@@ -1117,7 +1118,7 @@
1117
1118
  var _a;
1118
1119
  if (slots.default) {
1119
1120
  return vue.createVNode("span", {
1120
- "class": bem$1n("text"),
1121
+ "class": bem$1r("text"),
1121
1122
  "style": {
1122
1123
  fontSize: addUnit(props.textSize),
1123
1124
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1131,7 +1132,7 @@
1131
1132
  vertical
1132
1133
  } = props;
1133
1134
  return vue.createVNode("div", {
1134
- "class": bem$1n([type, {
1135
+ "class": bem$1r([type, {
1135
1136
  vertical
1136
1137
  }]),
1137
1138
  "aria-live": "polite",
@@ -1140,8 +1141,8 @@
1140
1141
  };
1141
1142
  }
1142
1143
  });
1143
- const Loading = withInstall(stdin_default$1z);
1144
- const [name$1r, bem$1m] = createNamespace("button");
1144
+ const Loading = withInstall(stdin_default$1D);
1145
+ const [name$1v, bem$1q] = createNamespace("button");
1145
1146
  const buttonProps = extend({}, routeProps, {
1146
1147
  tag: makeStringProp("button"),
1147
1148
  text: String,
@@ -1163,8 +1164,8 @@
1163
1164
  loadingType: String,
1164
1165
  iconPosition: makeStringProp("left")
1165
1166
  });
1166
- var stdin_default$1y = vue.defineComponent({
1167
- name: name$1r,
1167
+ var stdin_default$1C = vue.defineComponent({
1168
+ name: name$1v,
1168
1169
  props: buttonProps,
1169
1170
  emits: ["click"],
1170
1171
  setup(props, {
@@ -1179,7 +1180,7 @@
1179
1180
  return vue.createVNode(Loading, {
1180
1181
  "size": props.loadingSize,
1181
1182
  "type": props.loadingType,
1182
- "class": bem$1m("loading")
1183
+ "class": bem$1q("loading")
1183
1184
  }, null);
1184
1185
  };
1185
1186
  const renderIcon = () => {
@@ -1188,13 +1189,13 @@
1188
1189
  }
1189
1190
  if (slots.icon) {
1190
1191
  return vue.createVNode("div", {
1191
- "class": bem$1m("icon")
1192
+ "class": bem$1q("icon")
1192
1193
  }, [slots.icon()]);
1193
1194
  }
1194
1195
  if (props.icon) {
1195
1196
  return vue.createVNode(Icon, {
1196
1197
  "name": props.icon,
1197
- "class": bem$1m("icon"),
1198
+ "class": bem$1q("icon"),
1198
1199
  "classPrefix": props.iconPrefix
1199
1200
  }, null);
1200
1201
  }
@@ -1208,7 +1209,7 @@
1208
1209
  }
1209
1210
  if (text) {
1210
1211
  return vue.createVNode("span", {
1211
- "class": bem$1m("text")
1212
+ "class": bem$1q("text")
1212
1213
  }, [text]);
1213
1214
  }
1214
1215
  };
@@ -1255,7 +1256,7 @@
1255
1256
  nativeType,
1256
1257
  iconPosition
1257
1258
  } = props;
1258
- const classes = [bem$1m([type, size, {
1259
+ const classes = [bem$1q([type, size, {
1259
1260
  plain,
1260
1261
  block,
1261
1262
  round: round2,
@@ -1274,14 +1275,14 @@
1274
1275
  "onClick": onClick
1275
1276
  }, {
1276
1277
  default: () => [vue.createVNode("div", {
1277
- "class": bem$1m("content")
1278
+ "class": bem$1q("content")
1278
1279
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1279
1280
  });
1280
1281
  };
1281
1282
  }
1282
1283
  });
1283
- const Button = withInstall(stdin_default$1y);
1284
- const [name$1q, bem$1l] = createNamespace("action-bar-button");
1284
+ const Button = withInstall(stdin_default$1C);
1285
+ const [name$1u, bem$1p] = createNamespace("action-bar-button");
1285
1286
  const actionBarButtonProps = extend({}, routeProps, {
1286
1287
  type: String,
1287
1288
  text: String,
@@ -1290,8 +1291,8 @@
1290
1291
  loading: Boolean,
1291
1292
  disabled: Boolean
1292
1293
  });
1293
- var stdin_default$1x = vue.defineComponent({
1294
- name: name$1q,
1294
+ var stdin_default$1B = vue.defineComponent({
1295
+ name: name$1u,
1295
1296
  props: actionBarButtonProps,
1296
1297
  setup(props, {
1297
1298
  slots
@@ -1326,7 +1327,7 @@
1326
1327
  disabled
1327
1328
  } = props;
1328
1329
  return vue.createVNode(Button, {
1329
- "class": bem$1l([type, {
1330
+ "class": bem$1p([type, {
1330
1331
  last: isLast.value,
1331
1332
  first: isFirst.value
1332
1333
  }]),
@@ -1343,8 +1344,8 @@
1343
1344
  };
1344
1345
  }
1345
1346
  });
1346
- const ActionBarButton = withInstall(stdin_default$1x);
1347
- const [name$1p, bem$1k] = createNamespace("action-bar-icon");
1347
+ const ActionBarButton = withInstall(stdin_default$1B);
1348
+ const [name$1t, bem$1o] = createNamespace("action-bar-icon");
1348
1349
  const actionBarIconProps = extend({}, routeProps, {
1349
1350
  dot: Boolean,
1350
1351
  text: String,
@@ -1355,8 +1356,8 @@
1355
1356
  badgeProps: Object,
1356
1357
  iconPrefix: String
1357
1358
  });
1358
- var stdin_default$1w = vue.defineComponent({
1359
- name: name$1p,
1359
+ var stdin_default$1A = vue.defineComponent({
1360
+ name: name$1t,
1360
1361
  props: actionBarIconProps,
1361
1362
  setup(props, {
1362
1363
  slots
@@ -1376,7 +1377,7 @@
1376
1377
  if (slots.icon) {
1377
1378
  return vue.createVNode(Badge, vue.mergeProps({
1378
1379
  "dot": dot,
1379
- "class": bem$1k("icon"),
1380
+ "class": bem$1o("icon"),
1380
1381
  "content": badge
1381
1382
  }, badgeProps2), {
1382
1383
  default: slots.icon
@@ -1388,20 +1389,20 @@
1388
1389
  "name": icon,
1389
1390
  "badge": badge,
1390
1391
  "color": color,
1391
- "class": [bem$1k("icon"), iconClass],
1392
+ "class": [bem$1o("icon"), iconClass],
1392
1393
  "badgeProps": badgeProps2,
1393
1394
  "classPrefix": iconPrefix
1394
1395
  }, null);
1395
1396
  };
1396
1397
  return () => vue.createVNode("div", {
1397
1398
  "role": "button",
1398
- "class": bem$1k(),
1399
+ "class": bem$1o(),
1399
1400
  "tabindex": 0,
1400
1401
  "onClick": route2
1401
1402
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1402
1403
  }
1403
1404
  });
1404
- const ActionBarIcon = withInstall(stdin_default$1w);
1405
+ const ActionBarIcon = withInstall(stdin_default$1A);
1405
1406
  const popupSharedProps = {
1406
1407
  show: Boolean,
1407
1408
  zIndex: numericProp,
@@ -1540,7 +1541,7 @@
1540
1541
  );
1541
1542
  return (render) => () => inited.value ? render() : null;
1542
1543
  }
1543
- const [name$1o, bem$1j] = createNamespace("overlay");
1544
+ const [name$1s, bem$1n] = createNamespace("overlay");
1544
1545
  const overlayProps = {
1545
1546
  show: Boolean,
1546
1547
  zIndex: numericProp,
@@ -1550,8 +1551,8 @@
1550
1551
  lazyRender: truthProp,
1551
1552
  customStyle: Object
1552
1553
  };
1553
- var stdin_default$1v = vue.defineComponent({
1554
- name: name$1o,
1554
+ var stdin_default$1z = vue.defineComponent({
1555
+ name: name$1s,
1555
1556
  props: overlayProps,
1556
1557
  setup(props, {
1557
1558
  slots
@@ -1572,7 +1573,7 @@
1572
1573
  return vue.withDirectives(vue.createVNode("div", {
1573
1574
  "ref": root,
1574
1575
  "style": style,
1575
- "class": [bem$1j(), props.className]
1576
+ "class": [bem$1n(), props.className]
1576
1577
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1577
1578
  });
1578
1579
  useEventListener("touchmove", onTouchMove, {
@@ -1586,7 +1587,7 @@
1586
1587
  });
1587
1588
  }
1588
1589
  });
1589
- const Overlay = withInstall(stdin_default$1v);
1590
+ const Overlay = withInstall(stdin_default$1z);
1590
1591
  const popupProps$2 = extend({}, popupSharedProps, {
1591
1592
  round: Boolean,
1592
1593
  position: makeStringProp("center"),
@@ -1599,9 +1600,9 @@
1599
1600
  safeAreaInsetTop: Boolean,
1600
1601
  safeAreaInsetBottom: Boolean
1601
1602
  });
1602
- const [name$1n, bem$1i] = createNamespace("popup");
1603
- var stdin_default$1u = vue.defineComponent({
1604
- name: name$1n,
1603
+ const [name$1r, bem$1m] = createNamespace("popup");
1604
+ var stdin_default$1y = vue.defineComponent({
1605
+ name: name$1r,
1605
1606
  inheritAttrs: false,
1606
1607
  props: popupProps$2,
1607
1608
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1675,7 +1676,7 @@
1675
1676
  "role": "button",
1676
1677
  "tabindex": 0,
1677
1678
  "name": props.closeIcon,
1678
- "class": [bem$1i("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1679
+ "class": [bem$1m("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1679
1680
  "classPrefix": props.iconPrefix,
1680
1681
  "onClick": onClickCloseIcon
1681
1682
  }, null);
@@ -1697,7 +1698,7 @@
1697
1698
  "style": style.value,
1698
1699
  "role": "dialog",
1699
1700
  "tabindex": 0,
1700
- "class": [bem$1i({
1701
+ "class": [bem$1m({
1701
1702
  round: round2,
1702
1703
  [position]: position
1703
1704
  }), {
@@ -1778,8 +1779,8 @@
1778
1779
  };
1779
1780
  }
1780
1781
  });
1781
- const Popup = withInstall(stdin_default$1u);
1782
- const [name$1m, bem$1h] = createNamespace("action-sheet");
1782
+ const Popup = withInstall(stdin_default$1y);
1783
+ const [name$1q, bem$1l] = createNamespace("action-sheet");
1783
1784
  const actionSheetProps = extend({}, popupSharedProps, {
1784
1785
  title: String,
1785
1786
  round: truthProp,
@@ -1793,8 +1794,8 @@
1793
1794
  safeAreaInsetBottom: truthProp
1794
1795
  });
1795
1796
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1796
- var stdin_default$1t = vue.defineComponent({
1797
- name: name$1m,
1797
+ var stdin_default$1x = vue.defineComponent({
1798
+ name: name$1q,
1798
1799
  props: actionSheetProps,
1799
1800
  emits: ["select", "cancel", "update:show"],
1800
1801
  setup(props, {
@@ -1809,10 +1810,10 @@
1809
1810
  const renderHeader = () => {
1810
1811
  if (props.title) {
1811
1812
  return vue.createVNode("div", {
1812
- "class": bem$1h("header")
1813
+ "class": bem$1l("header")
1813
1814
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1814
1815
  "name": props.closeIcon,
1815
- "class": [bem$1h("close"), HAPTICS_FEEDBACK],
1816
+ "class": [bem$1l("close"), HAPTICS_FEEDBACK],
1816
1817
  "onClick": onCancel
1817
1818
  }, null)]);
1818
1819
  }
@@ -1820,10 +1821,10 @@
1820
1821
  const renderCancel = () => {
1821
1822
  if (slots.cancel || props.cancelText) {
1822
1823
  return [vue.createVNode("div", {
1823
- "class": bem$1h("gap")
1824
+ "class": bem$1l("gap")
1824
1825
  }, null), vue.createVNode("button", {
1825
1826
  "type": "button",
1826
- "class": bem$1h("cancel"),
1827
+ "class": bem$1l("cancel"),
1827
1828
  "onClick": onCancel
1828
1829
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1829
1830
  }
@@ -1831,7 +1832,7 @@
1831
1832
  const renderActionContent = (action, index) => {
1832
1833
  if (action.loading) {
1833
1834
  return vue.createVNode(Loading, {
1834
- "class": bem$1h("loading-icon")
1835
+ "class": bem$1l("loading-icon")
1835
1836
  }, null);
1836
1837
  }
1837
1838
  if (slots.action) {
@@ -1841,9 +1842,9 @@
1841
1842
  });
1842
1843
  }
1843
1844
  return [vue.createVNode("span", {
1844
- "class": bem$1h("name")
1845
+ "class": bem$1l("name")
1845
1846
  }, [action.name]), action.subname && vue.createVNode("div", {
1846
- "class": bem$1h("subname")
1847
+ "class": bem$1l("subname")
1847
1848
  }, [action.subname])];
1848
1849
  };
1849
1850
  const renderAction = (action, index) => {
@@ -1871,7 +1872,7 @@
1871
1872
  "style": {
1872
1873
  color
1873
1874
  },
1874
- "class": [bem$1h("item", {
1875
+ "class": [bem$1l("item", {
1875
1876
  loading,
1876
1877
  disabled
1877
1878
  }), className],
@@ -1882,26 +1883,26 @@
1882
1883
  if (props.description || slots.description) {
1883
1884
  const content = slots.description ? slots.description() : props.description;
1884
1885
  return vue.createVNode("div", {
1885
- "class": bem$1h("description")
1886
+ "class": bem$1l("description")
1886
1887
  }, [content]);
1887
1888
  }
1888
1889
  };
1889
1890
  return () => vue.createVNode(Popup, vue.mergeProps({
1890
- "class": bem$1h(),
1891
+ "class": bem$1l(),
1891
1892
  "position": "bottom",
1892
1893
  "onUpdate:show": updateShow
1893
1894
  }, pick(props, popupInheritKeys$2)), {
1894
1895
  default: () => {
1895
1896
  var _a;
1896
1897
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1897
- "class": bem$1h("content")
1898
+ "class": bem$1l("content")
1898
1899
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1899
1900
  }
1900
1901
  });
1901
1902
  }
1902
1903
  });
1903
- const ActionSheet = withInstall(stdin_default$1t);
1904
- const [name$1l, bem$1g, t$j] = createNamespace("picker");
1904
+ const ActionSheet = withInstall(stdin_default$1x);
1905
+ const [name$1p, bem$1k, t$j] = createNamespace("picker");
1905
1906
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1906
1907
  function getColumnsType(columns, fields) {
1907
1908
  const firstColumn = columns[0];
@@ -1970,10 +1971,10 @@
1970
1971
  const DEFAULT_DURATION = 200;
1971
1972
  const MOMENTUM_TIME = 300;
1972
1973
  const MOMENTUM_DISTANCE = 15;
1973
- const [name$1k, bem$1f] = createNamespace("picker-column");
1974
- const PICKER_KEY = Symbol(name$1k);
1975
- var stdin_default$1s = vue.defineComponent({
1976
- name: name$1k,
1974
+ const [name$1o, bem$1j] = createNamespace("picker-column");
1975
+ const PICKER_KEY = Symbol(name$1o);
1976
+ var stdin_default$1w = vue.defineComponent({
1977
+ name: name$1o,
1977
1978
  props: {
1978
1979
  value: numericProp,
1979
1980
  fields: makeRequiredProp(Object),
@@ -2017,8 +2018,9 @@
2017
2018
  }
2018
2019
  currentOffset.value = offset2;
2019
2020
  };
2021
+ const isReadonly = () => props.readonly || !props.options.length;
2020
2022
  const onClickOption = (index) => {
2021
- if (moving || props.readonly) {
2023
+ if (moving || isReadonly()) {
2022
2024
  return;
2023
2025
  }
2024
2026
  transitionEndTrigger = null;
@@ -2043,7 +2045,7 @@
2043
2045
  }
2044
2046
  };
2045
2047
  const onTouchStart = (event) => {
2046
- if (props.readonly) {
2048
+ if (isReadonly()) {
2047
2049
  return;
2048
2050
  }
2049
2051
  touch.start(event);
@@ -2058,7 +2060,7 @@
2058
2060
  transitionEndTrigger = null;
2059
2061
  };
2060
2062
  const onTouchMove = (event) => {
2061
- if (props.readonly) {
2063
+ if (isReadonly()) {
2062
2064
  return;
2063
2065
  }
2064
2066
  touch.move(event);
@@ -2074,7 +2076,7 @@
2074
2076
  }
2075
2077
  };
2076
2078
  const onTouchEnd = () => {
2077
- if (props.readonly) {
2079
+ if (isReadonly()) {
2078
2080
  return;
2079
2081
  }
2080
2082
  const distance = currentOffset.value - momentumOffset;
@@ -2105,7 +2107,7 @@
2105
2107
  role: "button",
2106
2108
  style: optionStyle,
2107
2109
  tabindex: disabled ? -1 : 0,
2108
- class: [bem$1f("item", {
2110
+ class: [bem$1j("item", {
2109
2111
  disabled,
2110
2112
  selected: value === props.value
2111
2113
  }), option.className],
@@ -2133,7 +2135,7 @@
2133
2135
  });
2134
2136
  return () => vue.createVNode("div", {
2135
2137
  "ref": root,
2136
- "class": bem$1f(),
2138
+ "class": bem$1j(),
2137
2139
  "onTouchstartPassive": onTouchStart,
2138
2140
  "onTouchend": onTouchEnd,
2139
2141
  "onTouchcancel": onTouchEnd
@@ -2144,12 +2146,12 @@
2144
2146
  transitionDuration: `${currentDuration.value}ms`,
2145
2147
  transitionProperty: currentDuration.value ? "all" : "none"
2146
2148
  },
2147
- "class": bem$1f("wrapper"),
2149
+ "class": bem$1j("wrapper"),
2148
2150
  "onTransitionend": stopMomentum
2149
2151
  }, [renderOptions()])]);
2150
2152
  }
2151
2153
  });
2152
- const [name$1j] = createNamespace("picker-toolbar");
2154
+ const [name$1n] = createNamespace("picker-toolbar");
2153
2155
  const pickerToolbarProps = {
2154
2156
  title: String,
2155
2157
  cancelButtonText: String,
@@ -2157,8 +2159,8 @@
2157
2159
  };
2158
2160
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
2159
2161
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
2160
- var stdin_default$1r = vue.defineComponent({
2161
- name: name$1j,
2162
+ var stdin_default$1v = vue.defineComponent({
2163
+ name: name$1n,
2162
2164
  props: pickerToolbarProps,
2163
2165
  emits: ["confirm", "cancel"],
2164
2166
  setup(props, {
@@ -2171,7 +2173,7 @@
2171
2173
  }
2172
2174
  if (props.title) {
2173
2175
  return vue.createVNode("div", {
2174
- "class": [bem$1g("title"), "van-ellipsis"]
2176
+ "class": [bem$1k("title"), "van-ellipsis"]
2175
2177
  }, [props.title]);
2176
2178
  }
2177
2179
  };
@@ -2181,7 +2183,7 @@
2181
2183
  const text = props.cancelButtonText || t$j("cancel");
2182
2184
  return vue.createVNode("button", {
2183
2185
  "type": "button",
2184
- "class": [bem$1g("cancel"), HAPTICS_FEEDBACK],
2186
+ "class": [bem$1k("cancel"), HAPTICS_FEEDBACK],
2185
2187
  "onClick": onCancel
2186
2188
  }, [slots.cancel ? slots.cancel() : text]);
2187
2189
  };
@@ -2189,12 +2191,12 @@
2189
2191
  const text = props.confirmButtonText || t$j("confirm");
2190
2192
  return vue.createVNode("button", {
2191
2193
  "type": "button",
2192
- "class": [bem$1g("confirm"), HAPTICS_FEEDBACK],
2194
+ "class": [bem$1k("confirm"), HAPTICS_FEEDBACK],
2193
2195
  "onClick": onConfirm
2194
2196
  }, [slots.confirm ? slots.confirm() : text]);
2195
2197
  };
2196
2198
  return () => vue.createVNode("div", {
2197
- "class": bem$1g("toolbar")
2199
+ "class": bem$1k("toolbar")
2198
2200
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
2199
2201
  }
2200
2202
  });
@@ -2275,7 +2277,7 @@
2275
2277
  vue.onBeforeUnmount(unobserve);
2276
2278
  onMountedOrActivated(observe);
2277
2279
  }
2278
- const [name$1i, bem$1e] = createNamespace("sticky");
2280
+ const [name$1m, bem$1i] = createNamespace("sticky");
2279
2281
  const stickyProps = {
2280
2282
  zIndex: numericProp,
2281
2283
  position: makeStringProp("top"),
@@ -2283,8 +2285,8 @@
2283
2285
  offsetTop: makeNumericProp(0),
2284
2286
  offsetBottom: makeNumericProp(0)
2285
2287
  };
2286
- var stdin_default$1q = vue.defineComponent({
2287
- name: name$1i,
2288
+ var stdin_default$1u = vue.defineComponent({
2289
+ name: name$1m,
2288
2290
  props: stickyProps,
2289
2291
  emits: ["scroll", "change"],
2290
2292
  setup(props, {
@@ -2379,7 +2381,7 @@
2379
2381
  "ref": root,
2380
2382
  "style": rootStyle.value
2381
2383
  }, [vue.createVNode("div", {
2382
- "class": bem$1e({
2384
+ "class": bem$1i({
2383
2385
  fixed: state.fixed
2384
2386
  }),
2385
2387
  "style": stickyStyle.value
@@ -2387,10 +2389,10 @@
2387
2389
  };
2388
2390
  }
2389
2391
  });
2390
- const Sticky = withInstall(stdin_default$1q);
2391
- const [name$1h, bem$1d] = createNamespace("tab");
2392
- var stdin_default$1p = vue.defineComponent({
2393
- name: name$1h,
2392
+ const Sticky = withInstall(stdin_default$1u);
2393
+ const [name$1l, bem$1h] = createNamespace("tab");
2394
+ var stdin_default$1t = vue.defineComponent({
2395
+ name: name$1l,
2394
2396
  props: {
2395
2397
  id: String,
2396
2398
  dot: Boolean,
@@ -2439,7 +2441,7 @@
2439
2441
  });
2440
2442
  const renderText = () => {
2441
2443
  const Text2 = vue.createVNode("span", {
2442
- "class": bem$1d("text", {
2444
+ "class": bem$1h("text", {
2443
2445
  ellipsis: !props.scrollable
2444
2446
  })
2445
2447
  }, [slots.title ? slots.title() : props.title]);
@@ -2457,7 +2459,7 @@
2457
2459
  return () => vue.createVNode("div", {
2458
2460
  "id": props.id,
2459
2461
  "role": "tab",
2460
- "class": [bem$1d([props.type, {
2462
+ "class": [bem$1h([props.type, {
2461
2463
  grow: props.scrollable && !props.shrink,
2462
2464
  shrink: props.shrink,
2463
2465
  active: props.isActive,
@@ -2471,7 +2473,7 @@
2471
2473
  }, [renderText()]);
2472
2474
  }
2473
2475
  });
2474
- const [name$1g, bem$1c] = createNamespace("swipe");
2476
+ const [name$1k, bem$1g] = createNamespace("swipe");
2475
2477
  const swipeProps = {
2476
2478
  loop: truthProp,
2477
2479
  width: numericProp,
@@ -2486,9 +2488,9 @@
2486
2488
  showIndicators: truthProp,
2487
2489
  stopPropagation: truthProp
2488
2490
  };
2489
- const SWIPE_KEY = Symbol(name$1g);
2490
- var stdin_default$1o = vue.defineComponent({
2491
- name: name$1g,
2491
+ const SWIPE_KEY = Symbol(name$1k);
2492
+ var stdin_default$1s = vue.defineComponent({
2493
+ name: name$1k,
2492
2494
  props: swipeProps,
2493
2495
  emits: ["change"],
2494
2496
  setup(props, {
@@ -2750,7 +2752,7 @@
2750
2752
  } : void 0;
2751
2753
  return vue.createVNode("i", {
2752
2754
  "style": style,
2753
- "class": bem$1c("indicator", {
2755
+ "class": bem$1g("indicator", {
2754
2756
  active
2755
2757
  })
2756
2758
  }, null);
@@ -2764,7 +2766,7 @@
2764
2766
  }
2765
2767
  if (props.showIndicators && count.value > 1) {
2766
2768
  return vue.createVNode("div", {
2767
- "class": bem$1c("indicators", {
2769
+ "class": bem$1g("indicators", {
2768
2770
  vertical: props.vertical
2769
2771
  })
2770
2772
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2806,11 +2808,11 @@
2806
2808
  var _a;
2807
2809
  return vue.createVNode("div", {
2808
2810
  "ref": root,
2809
- "class": bem$1c()
2811
+ "class": bem$1g()
2810
2812
  }, [vue.createVNode("div", {
2811
2813
  "ref": track,
2812
2814
  "style": trackStyle.value,
2813
- "class": bem$1c("track", {
2815
+ "class": bem$1g("track", {
2814
2816
  vertical: props.vertical
2815
2817
  }),
2816
2818
  "onTouchstartPassive": onTouchStart,
@@ -2820,10 +2822,10 @@
2820
2822
  };
2821
2823
  }
2822
2824
  });
2823
- const Swipe = withInstall(stdin_default$1o);
2824
- const [name$1f, bem$1b] = createNamespace("tabs");
2825
- var stdin_default$1n = vue.defineComponent({
2826
- name: name$1f,
2825
+ const Swipe = withInstall(stdin_default$1s);
2826
+ const [name$1j, bem$1f] = createNamespace("tabs");
2827
+ var stdin_default$1r = vue.defineComponent({
2828
+ name: name$1j,
2827
2829
  props: {
2828
2830
  count: makeRequiredProp(Number),
2829
2831
  inited: Boolean,
@@ -2847,7 +2849,7 @@
2847
2849
  return vue.createVNode(Swipe, {
2848
2850
  "ref": swipeRef,
2849
2851
  "loop": false,
2850
- "class": bem$1b("track"),
2852
+ "class": bem$1f("track"),
2851
2853
  "duration": +props.duration * 1e3,
2852
2854
  "touchable": props.swipeable,
2853
2855
  "lazyRender": props.lazyRender,
@@ -2875,13 +2877,13 @@
2875
2877
  swipeRef
2876
2878
  });
2877
2879
  return () => vue.createVNode("div", {
2878
- "class": bem$1b("content", {
2880
+ "class": bem$1f("content", {
2879
2881
  animated: props.animated || props.swipeable
2880
2882
  })
2881
2883
  }, [renderChildren()]);
2882
2884
  }
2883
2885
  });
2884
- const [name$1e, bem$1a] = createNamespace("tabs");
2886
+ const [name$1i, bem$1e] = createNamespace("tabs");
2885
2887
  const tabsProps = {
2886
2888
  type: makeStringProp("line"),
2887
2889
  color: String,
@@ -2904,9 +2906,9 @@
2904
2906
  titleActiveColor: String,
2905
2907
  titleInactiveColor: String
2906
2908
  };
2907
- const TABS_KEY = Symbol(name$1e);
2908
- var stdin_default$1m = vue.defineComponent({
2909
- name: name$1e,
2909
+ const TABS_KEY = Symbol(name$1i);
2910
+ var stdin_default$1q = vue.defineComponent({
2911
+ name: name$1i,
2910
2912
  props: tabsProps,
2911
2913
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2912
2914
  setup(props, {
@@ -3095,7 +3097,7 @@
3095
3097
  setCurrentIndex(index);
3096
3098
  }
3097
3099
  };
3098
- const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1p, vue.mergeProps({
3100
+ const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1t, vue.mergeProps({
3099
3101
  "key": item.id,
3100
3102
  "id": `${id}-${index}`,
3101
3103
  "ref": setTitleRefs(index),
@@ -3116,7 +3118,7 @@
3116
3118
  const renderLine = () => {
3117
3119
  if (props.type === "line" && children.length) {
3118
3120
  return vue.createVNode("div", {
3119
- "class": bem$1a("line"),
3121
+ "class": bem$1e("line"),
3120
3122
  "style": state.lineStyle
3121
3123
  }, null);
3122
3124
  }
@@ -3130,13 +3132,13 @@
3130
3132
  } = props;
3131
3133
  const Header = [vue.createVNode("div", {
3132
3134
  "ref": sticky ? void 0 : wrapRef,
3133
- "class": [bem$1a("wrap"), {
3135
+ "class": [bem$1e("wrap"), {
3134
3136
  [BORDER_TOP_BOTTOM]: type === "line" && border
3135
3137
  }]
3136
3138
  }, [vue.createVNode("div", {
3137
3139
  "ref": navRef,
3138
3140
  "role": "tablist",
3139
- "class": bem$1a("nav", [type, {
3141
+ "class": bem$1e("nav", [type, {
3140
3142
  shrink: props.shrink,
3141
3143
  complete: scrollable.value
3142
3144
  }]),
@@ -3204,14 +3206,14 @@
3204
3206
  });
3205
3207
  return () => vue.createVNode("div", {
3206
3208
  "ref": root,
3207
- "class": bem$1a([props.type])
3209
+ "class": bem$1e([props.type])
3208
3210
  }, [props.sticky ? vue.createVNode(Sticky, {
3209
3211
  "container": root.value,
3210
3212
  "offsetTop": offsetTopPx.value,
3211
3213
  "onScroll": onStickyScroll
3212
3214
  }, {
3213
3215
  default: () => [renderHeader()]
3214
- }) : renderHeader(), vue.createVNode(stdin_default$1n, {
3216
+ }) : renderHeader(), vue.createVNode(stdin_default$1r, {
3215
3217
  "ref": contentRef,
3216
3218
  "count": children.length,
3217
3219
  "inited": state.inited,
@@ -3231,9 +3233,9 @@
3231
3233
  });
3232
3234
  const TAB_STATUS_KEY = Symbol();
3233
3235
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
3234
- const [name$1d, bem$19] = createNamespace("swipe-item");
3235
- var stdin_default$1l = vue.defineComponent({
3236
- name: name$1d,
3236
+ const [name$1h, bem$1d] = createNamespace("swipe-item");
3237
+ var stdin_default$1p = vue.defineComponent({
3238
+ name: name$1h,
3237
3239
  setup(props, {
3238
3240
  slots
3239
3241
  }) {
@@ -3295,14 +3297,14 @@
3295
3297
  return () => {
3296
3298
  var _a;
3297
3299
  return vue.createVNode("div", {
3298
- "class": bem$19(),
3300
+ "class": bem$1d(),
3299
3301
  "style": style.value
3300
3302
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3301
3303
  };
3302
3304
  }
3303
3305
  });
3304
- const SwipeItem = withInstall(stdin_default$1l);
3305
- const [name$1c, bem$18] = createNamespace("tab");
3306
+ const SwipeItem = withInstall(stdin_default$1p);
3307
+ const [name$1g, bem$1c] = createNamespace("tab");
3306
3308
  const tabProps = extend({}, routeProps, {
3307
3309
  dot: Boolean,
3308
3310
  name: numericProp,
@@ -3313,8 +3315,8 @@
3313
3315
  titleStyle: [String, Object],
3314
3316
  showZeroBadge: truthProp
3315
3317
  });
3316
- var stdin_default$1k = vue.defineComponent({
3317
- name: name$1c,
3318
+ var stdin_default$1o = vue.defineComponent({
3319
+ name: name$1g,
3318
3320
  props: tabProps,
3319
3321
  setup(props, {
3320
3322
  slots
@@ -3379,7 +3381,7 @@
3379
3381
  return vue.createVNode(SwipeItem, {
3380
3382
  "id": id,
3381
3383
  "role": "tabpanel",
3382
- "class": bem$18("panel-wrapper", {
3384
+ "class": bem$1c("panel-wrapper", {
3383
3385
  inactive: hasInactiveClass.value
3384
3386
  }),
3385
3387
  "tabindex": active.value ? 0 : -1,
@@ -3389,7 +3391,7 @@
3389
3391
  default: () => {
3390
3392
  var _a2;
3391
3393
  return [vue.createVNode("div", {
3392
- "class": bem$18("panel")
3394
+ "class": bem$1c("panel")
3393
3395
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3394
3396
  }
3395
3397
  });
@@ -3402,22 +3404,22 @@
3402
3404
  return vue.withDirectives(vue.createVNode("div", {
3403
3405
  "id": id,
3404
3406
  "role": "tabpanel",
3405
- "class": bem$18("panel"),
3407
+ "class": bem$1c("panel"),
3406
3408
  "tabindex": show ? 0 : -1,
3407
3409
  "aria-labelledby": label
3408
3410
  }, [Content]), [[vue.vShow, show]]);
3409
3411
  };
3410
3412
  }
3411
3413
  });
3412
- const Tab = withInstall(stdin_default$1k);
3413
- const Tabs = withInstall(stdin_default$1m);
3414
- const [name$1b, bem$17] = createNamespace("picker-group");
3415
- const PICKER_GROUP_KEY = Symbol(name$1b);
3414
+ const Tab = withInstall(stdin_default$1o);
3415
+ const Tabs = withInstall(stdin_default$1q);
3416
+ const [name$1f, bem$1b] = createNamespace("picker-group");
3417
+ const PICKER_GROUP_KEY = Symbol(name$1f);
3416
3418
  const pickerGroupProps = extend({
3417
3419
  tabs: makeArrayProp()
3418
3420
  }, pickerToolbarProps);
3419
- var stdin_default$1j = vue.defineComponent({
3420
- name: name$1b,
3421
+ var stdin_default$1n = vue.defineComponent({
3422
+ name: name$1f,
3421
3423
  props: pickerGroupProps,
3422
3424
  emits: ["confirm", "cancel"],
3423
3425
  setup(props, {
@@ -3437,18 +3439,18 @@
3437
3439
  var _a;
3438
3440
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3439
3441
  return vue.createVNode("div", {
3440
- "class": bem$17()
3441
- }, [vue.createVNode(stdin_default$1r, vue.mergeProps(props, {
3442
+ "class": bem$1b()
3443
+ }, [vue.createVNode(stdin_default$1v, vue.mergeProps(props, {
3442
3444
  "onConfirm": onConfirm,
3443
3445
  "onCancel": onCancel
3444
3446
  }), null), vue.createVNode(Tabs, {
3445
3447
  "shrink": true,
3446
- "class": bem$17("tabs"),
3448
+ "class": bem$1b("tabs"),
3447
3449
  "animated": true
3448
3450
  }, {
3449
3451
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3450
3452
  "title": title,
3451
- "titleClass": bem$17("tab-title")
3453
+ "titleClass": bem$1b("tab-title")
3452
3454
  }, {
3453
3455
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3454
3456
  }))]
@@ -3471,8 +3473,8 @@
3471
3473
  toolbarPosition: makeStringProp("top"),
3472
3474
  columnsFieldNames: Object
3473
3475
  });
3474
- var stdin_default$1i = vue.defineComponent({
3475
- name: name$1l,
3476
+ var stdin_default$1m = vue.defineComponent({
3477
+ name: name$1p,
3476
3478
  props: pickerProps,
3477
3479
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue"],
3478
3480
  setup(props, {
@@ -3539,11 +3541,13 @@
3539
3541
  const confirm = () => {
3540
3542
  children.forEach((child) => child.stopMomentum());
3541
3543
  const params = getEventParams();
3542
- emit("confirm", params);
3544
+ vue.nextTick(() => {
3545
+ emit("confirm", params);
3546
+ });
3543
3547
  return params;
3544
3548
  };
3545
3549
  const cancel = () => emit("cancel", getEventParams());
3546
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1s, {
3550
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1w, {
3547
3551
  "value": selectedValues.value[columnIndex],
3548
3552
  "fields": fields.value,
3549
3553
  "options": options,
@@ -3566,10 +3570,10 @@
3566
3570
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3567
3571
  };
3568
3572
  return [vue.createVNode("div", {
3569
- "class": bem$1g("mask"),
3573
+ "class": bem$1k("mask"),
3570
3574
  "style": maskStyle
3571
3575
  }, null), vue.createVNode("div", {
3572
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1g("frame")],
3576
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1k("frame")],
3573
3577
  "style": frameStyle
3574
3578
  }, null)];
3575
3579
  }
@@ -3581,13 +3585,13 @@
3581
3585
  };
3582
3586
  return vue.createVNode("div", {
3583
3587
  "ref": columnsRef,
3584
- "class": bem$1g("columns"),
3588
+ "class": bem$1k("columns"),
3585
3589
  "style": columnsStyle
3586
3590
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3587
3591
  };
3588
3592
  const renderToolbar = () => {
3589
3593
  if (props.showToolbar && !parent) {
3590
- return vue.createVNode(stdin_default$1r, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3594
+ return vue.createVNode(stdin_default$1v, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3591
3595
  "onConfirm": confirm,
3592
3596
  "onCancel": cancel
3593
3597
  }), pick(slots, pickerToolbarSlots));
@@ -3629,9 +3633,9 @@
3629
3633
  return () => {
3630
3634
  var _a, _b;
3631
3635
  return vue.createVNode("div", {
3632
- "class": bem$1g()
3636
+ "class": bem$1k()
3633
3637
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3634
- "class": bem$1g("loading")
3638
+ "class": bem$1k("loading")
3635
3639
  }, 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]);
3636
3640
  };
3637
3641
  }
@@ -3722,8 +3726,8 @@
3722
3726
  }
3723
3727
  return options;
3724
3728
  }
3725
- const Picker = withInstall(stdin_default$1i);
3726
- const [name$1a, bem$16] = createNamespace("area");
3729
+ const Picker = withInstall(stdin_default$1m);
3730
+ const [name$1e, bem$1a] = createNamespace("area");
3727
3731
  const areaProps = extend({}, pickerSharedProps, {
3728
3732
  modelValue: String,
3729
3733
  columnsNum: makeNumericProp(3),
@@ -3733,8 +3737,8 @@
3733
3737
  default: () => ({})
3734
3738
  }
3735
3739
  });
3736
- var stdin_default$1h = vue.defineComponent({
3737
- name: name$1a,
3740
+ var stdin_default$1l = vue.defineComponent({
3741
+ name: name$1e,
3738
3742
  props: areaProps,
3739
3743
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3740
3744
  setup(props, {
@@ -3781,7 +3785,7 @@
3781
3785
  "ref": picker,
3782
3786
  "modelValue": codes.value,
3783
3787
  "onUpdate:modelValue": ($event) => codes.value = $event,
3784
- "class": bem$16(),
3788
+ "class": bem$1a(),
3785
3789
  "columns": columns.value,
3786
3790
  "onChange": onChange,
3787
3791
  "onCancel": onCancel,
@@ -3789,8 +3793,8 @@
3789
3793
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3790
3794
  }
3791
3795
  });
3792
- const Area = withInstall(stdin_default$1h);
3793
- const [name$19, bem$15] = createNamespace("cell");
3796
+ const Area = withInstall(stdin_default$1l);
3797
+ const [name$1d, bem$19] = createNamespace("cell");
3794
3798
  const cellSharedProps = {
3795
3799
  tag: makeStringProp("div"),
3796
3800
  icon: String,
@@ -3814,8 +3818,8 @@
3814
3818
  }
3815
3819
  };
3816
3820
  const cellProps = extend({}, cellSharedProps, routeProps);
3817
- var stdin_default$1g = vue.defineComponent({
3818
- name: name$19,
3821
+ var stdin_default$1k = vue.defineComponent({
3822
+ name: name$1d,
3819
3823
  props: cellProps,
3820
3824
  setup(props, {
3821
3825
  slots
@@ -3825,14 +3829,14 @@
3825
3829
  const showLabel = slots.label || isDef(props.label);
3826
3830
  if (showLabel) {
3827
3831
  return vue.createVNode("div", {
3828
- "class": [bem$15("label"), props.labelClass]
3832
+ "class": [bem$19("label"), props.labelClass]
3829
3833
  }, [slots.label ? slots.label() : props.label]);
3830
3834
  }
3831
3835
  };
3832
3836
  const renderTitle = () => {
3833
3837
  if (slots.title || isDef(props.title)) {
3834
3838
  return vue.createVNode("div", {
3835
- "class": [bem$15("title"), props.titleClass],
3839
+ "class": [bem$19("title"), props.titleClass],
3836
3840
  "style": props.titleStyle
3837
3841
  }, [slots.title ? slots.title() : vue.createVNode("span", null, [props.title]), renderLabel()]);
3838
3842
  }
@@ -3842,7 +3846,7 @@
3842
3846
  const hasValue = slot || isDef(props.value);
3843
3847
  if (hasValue) {
3844
3848
  return vue.createVNode("div", {
3845
- "class": [bem$15("value"), props.valueClass]
3849
+ "class": [bem$19("value"), props.valueClass]
3846
3850
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3847
3851
  }
3848
3852
  };
@@ -3853,7 +3857,7 @@
3853
3857
  if (props.icon) {
3854
3858
  return vue.createVNode(Icon, {
3855
3859
  "name": props.icon,
3856
- "class": bem$15("left-icon"),
3860
+ "class": bem$19("left-icon"),
3857
3861
  "classPrefix": props.iconPrefix
3858
3862
  }, null);
3859
3863
  }
@@ -3866,7 +3870,7 @@
3866
3870
  const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow";
3867
3871
  return vue.createVNode(Icon, {
3868
3872
  "name": name2,
3869
- "class": bem$15("right-icon")
3873
+ "class": bem$19("right-icon")
3870
3874
  }, null);
3871
3875
  }
3872
3876
  };
@@ -3891,7 +3895,7 @@
3891
3895
  classes[size] = !!size;
3892
3896
  }
3893
3897
  return vue.createVNode(tag, {
3894
- "class": bem$15(classes),
3898
+ "class": bem$19(classes),
3895
3899
  "role": clickable ? "button" : void 0,
3896
3900
  "tabindex": clickable ? 0 : void 0,
3897
3901
  "onClick": route2
@@ -3904,8 +3908,8 @@
3904
3908
  };
3905
3909
  }
3906
3910
  });
3907
- const Cell = withInstall(stdin_default$1g);
3908
- const [name$18, bem$14] = createNamespace("form");
3911
+ const Cell = withInstall(stdin_default$1k);
3912
+ const [name$1c, bem$18] = createNamespace("form");
3909
3913
  const formProps = {
3910
3914
  colon: Boolean,
3911
3915
  disabled: Boolean,
@@ -3924,8 +3928,8 @@
3924
3928
  default: "onBlur"
3925
3929
  }
3926
3930
  };
3927
- var stdin_default$1f = vue.defineComponent({
3928
- name: name$18,
3931
+ var stdin_default$1j = vue.defineComponent({
3932
+ name: name$1c,
3929
3933
  props: formProps,
3930
3934
  emits: ["submit", "failed"],
3931
3935
  setup(props, {
@@ -4049,13 +4053,13 @@
4049
4053
  return () => {
4050
4054
  var _a;
4051
4055
  return vue.createVNode("form", {
4052
- "class": bem$14(),
4056
+ "class": bem$18(),
4053
4057
  "onSubmit": onSubmit
4054
4058
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4055
4059
  };
4056
4060
  }
4057
4061
  });
4058
- const Form = withInstall(stdin_default$1f);
4062
+ const Form = withInstall(stdin_default$1j);
4059
4063
  function isEmptyValue(value) {
4060
4064
  if (Array.isArray(value)) {
4061
4065
  return !value.length;
@@ -4144,7 +4148,7 @@
4144
4148
  function cutString(str, maxlength) {
4145
4149
  return [...str].slice(0, maxlength).join("");
4146
4150
  }
4147
- const [name$17, bem$13] = createNamespace("field");
4151
+ const [name$1b, bem$17] = createNamespace("field");
4148
4152
  const fieldSharedProps = {
4149
4153
  id: String,
4150
4154
  name: String,
@@ -4191,8 +4195,8 @@
4191
4195
  default: null
4192
4196
  }
4193
4197
  });
4194
- var stdin_default$1e = vue.defineComponent({
4195
- name: name$17,
4198
+ var stdin_default$1i = vue.defineComponent({
4199
+ name: name$1b,
4196
4200
  props: fieldProps,
4197
4201
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
4198
4202
  setup(props, {
@@ -4421,7 +4425,7 @@
4421
4425
  const getInputId = () => props.id || `${id}-input`;
4422
4426
  const getValidationStatus = () => state.status;
4423
4427
  const renderInput = () => {
4424
- const controlClass = bem$13("control", [getProp("inputAlign"), {
4428
+ const controlClass = bem$17("control", [getProp("inputAlign"), {
4425
4429
  error: showError.value,
4426
4430
  custom: !!slots.input,
4427
4431
  "min-height": props.type === "textarea" && !props.autosize
@@ -4463,7 +4467,7 @@
4463
4467
  const leftIconSlot = slots["left-icon"];
4464
4468
  if (props.leftIcon || leftIconSlot) {
4465
4469
  return vue.createVNode("div", {
4466
- "class": bem$13("left-icon"),
4470
+ "class": bem$17("left-icon"),
4467
4471
  "onClick": onClickLeftIcon
4468
4472
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4469
4473
  "name": props.leftIcon,
@@ -4475,7 +4479,7 @@
4475
4479
  const rightIconSlot = slots["right-icon"];
4476
4480
  if (props.rightIcon || rightIconSlot) {
4477
4481
  return vue.createVNode("div", {
4478
- "class": bem$13("right-icon"),
4482
+ "class": bem$17("right-icon"),
4479
4483
  "onClick": onClickRightIcon
4480
4484
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4481
4485
  "name": props.rightIcon,
@@ -4487,9 +4491,9 @@
4487
4491
  if (props.showWordLimit && props.maxlength) {
4488
4492
  const count = getStringLength(getModelValue());
4489
4493
  return vue.createVNode("div", {
4490
- "class": bem$13("word-limit")
4494
+ "class": bem$17("word-limit")
4491
4495
  }, [vue.createVNode("span", {
4492
- "class": bem$13("word-num")
4496
+ "class": bem$17("word-num")
4493
4497
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4494
4498
  }
4495
4499
  };
@@ -4502,7 +4506,7 @@
4502
4506
  const slot = slots["error-message"];
4503
4507
  const errorMessageAlign = getProp("errorMessageAlign");
4504
4508
  return vue.createVNode("div", {
4505
- "class": bem$13("error-message", errorMessageAlign)
4509
+ "class": bem$17("error-message", errorMessageAlign)
4506
4510
  }, [slot ? slot({
4507
4511
  message
4508
4512
  }) : message]);
@@ -4521,13 +4525,13 @@
4521
4525
  }
4522
4526
  };
4523
4527
  const renderFieldBody = () => [vue.createVNode("div", {
4524
- "class": bem$13("body")
4528
+ "class": bem$17("body")
4525
4529
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4526
4530
  "ref": clearIconRef,
4527
4531
  "name": props.clearIcon,
4528
- "class": bem$13("clear")
4532
+ "class": bem$17("clear")
4529
4533
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4530
- "class": bem$13("button")
4534
+ "class": bem$17("button")
4531
4535
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4532
4536
  useExpose({
4533
4537
  blur,
@@ -4566,7 +4570,7 @@
4566
4570
  const renderTitle = () => labelAlign === "top" ? [LeftIcon, Label] : Label;
4567
4571
  return vue.createVNode(Cell, {
4568
4572
  "size": props.size,
4569
- "class": bem$13({
4573
+ "class": bem$17({
4570
4574
  error: showError.value,
4571
4575
  disabled,
4572
4576
  [`label-${labelAlign}`]: labelAlign
@@ -4576,8 +4580,8 @@
4576
4580
  "isLink": props.isLink,
4577
4581
  "clickable": props.clickable,
4578
4582
  "titleStyle": labelStyle.value,
4579
- "valueClass": bem$13("value"),
4580
- "titleClass": [bem$13("label", [labelAlign, {
4583
+ "valueClass": bem$17("value"),
4584
+ "titleClass": [bem$17("label", [labelAlign, {
4581
4585
  required: props.required
4582
4586
  }]), props.labelClass],
4583
4587
  "arrowDirection": props.arrowDirection
@@ -4590,7 +4594,7 @@
4590
4594
  };
4591
4595
  }
4592
4596
  });
4593
- const Field = withInstall(stdin_default$1e);
4597
+ const Field = withInstall(stdin_default$1i);
4594
4598
  let lockCount = 0;
4595
4599
  function lockClick(lock) {
4596
4600
  if (lock) {
@@ -4605,7 +4609,7 @@
4605
4609
  }
4606
4610
  }
4607
4611
  }
4608
- const [name$16, bem$12] = createNamespace("toast");
4612
+ const [name$1a, bem$16] = createNamespace("toast");
4609
4613
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4610
4614
  const toastProps = {
4611
4615
  icon: String,
@@ -4628,8 +4632,8 @@
4628
4632
  closeOnClick: Boolean,
4629
4633
  closeOnClickOverlay: Boolean
4630
4634
  };
4631
- var stdin_default$1d = vue.defineComponent({
4632
- name: name$16,
4635
+ var stdin_default$1h = vue.defineComponent({
4636
+ name: name$1a,
4633
4637
  props: toastProps,
4634
4638
  emits: ["update:show"],
4635
4639
  setup(props, {
@@ -4665,13 +4669,13 @@
4665
4669
  return vue.createVNode(Icon, {
4666
4670
  "name": icon || type,
4667
4671
  "size": iconSize,
4668
- "class": bem$12("icon"),
4672
+ "class": bem$16("icon"),
4669
4673
  "classPrefix": iconPrefix
4670
4674
  }, null);
4671
4675
  }
4672
4676
  if (type === "loading") {
4673
4677
  return vue.createVNode(Loading, {
4674
- "class": bem$12("loading"),
4678
+ "class": bem$16("loading"),
4675
4679
  "size": iconSize,
4676
4680
  "type": loadingType
4677
4681
  }, null);
@@ -4684,16 +4688,16 @@
4684
4688
  } = props;
4685
4689
  if (slots.message) {
4686
4690
  return vue.createVNode("div", {
4687
- "class": bem$12("text")
4691
+ "class": bem$16("text")
4688
4692
  }, [slots.message()]);
4689
4693
  }
4690
4694
  if (isDef(message) && message !== "") {
4691
4695
  return type === "html" ? vue.createVNode("div", {
4692
4696
  "key": 0,
4693
- "class": bem$12("text"),
4697
+ "class": bem$16("text"),
4694
4698
  "innerHTML": String(message)
4695
4699
  }, null) : vue.createVNode("div", {
4696
- "class": bem$12("text")
4700
+ "class": bem$16("text")
4697
4701
  }, [message]);
4698
4702
  }
4699
4703
  };
@@ -4709,7 +4713,7 @@
4709
4713
  vue.onMounted(toggleClickable);
4710
4714
  vue.onUnmounted(toggleClickable);
4711
4715
  return () => vue.createVNode(Popup, vue.mergeProps({
4712
- "class": [bem$12([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4716
+ "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4713
4717
  [props.type]: !props.icon
4714
4718
  }]), props.className],
4715
4719
  "lockScroll": false,
@@ -4810,7 +4814,7 @@
4810
4814
  onClosed,
4811
4815
  "onUpdate:show": toggle
4812
4816
  };
4813
- return vue.createVNode(stdin_default$1d, vue.mergeProps(state, attrs), null);
4817
+ return vue.createVNode(stdin_default$1h, vue.mergeProps(state, attrs), null);
4814
4818
  };
4815
4819
  vue.watch(message, (val) => {
4816
4820
  state.message = val;
@@ -4880,8 +4884,8 @@
4880
4884
  const allowMultipleToast = (value = true) => {
4881
4885
  allowMultiple = value;
4882
4886
  };
4883
- const Toast = withInstall(stdin_default$1d);
4884
- const [name$15, bem$11] = createNamespace("switch");
4887
+ const Toast = withInstall(stdin_default$1h);
4888
+ const [name$19, bem$15] = createNamespace("switch");
4885
4889
  const switchProps = {
4886
4890
  size: numericProp,
4887
4891
  loading: Boolean,
@@ -4898,8 +4902,8 @@
4898
4902
  default: false
4899
4903
  }
4900
4904
  };
4901
- var stdin_default$1c = vue.defineComponent({
4902
- name: name$15,
4905
+ var stdin_default$1g = vue.defineComponent({
4906
+ name: name$19,
4903
4907
  props: switchProps,
4904
4908
  emits: ["change", "update:modelValue"],
4905
4909
  setup(props, {
@@ -4918,7 +4922,7 @@
4918
4922
  if (props.loading) {
4919
4923
  const color = isChecked() ? props.activeColor : props.inactiveColor;
4920
4924
  return vue.createVNode(Loading, {
4921
- "class": bem$11("loading"),
4925
+ "class": bem$15("loading"),
4922
4926
  "color": color
4923
4927
  }, null);
4924
4928
  }
@@ -4943,7 +4947,7 @@
4943
4947
  };
4944
4948
  return vue.createVNode("div", {
4945
4949
  "role": "switch",
4946
- "class": bem$11({
4950
+ "class": bem$15({
4947
4951
  on: checked,
4948
4952
  loading,
4949
4953
  disabled
@@ -4953,16 +4957,16 @@
4953
4957
  "aria-checked": checked,
4954
4958
  "onClick": onClick
4955
4959
  }, [vue.createVNode("div", {
4956
- "class": bem$11("node")
4960
+ "class": bem$15("node")
4957
4961
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4958
4962
  };
4959
4963
  }
4960
4964
  });
4961
- const Switch = withInstall(stdin_default$1c);
4962
- const [name$14, bem$10] = createNamespace("address-edit-detail");
4965
+ const Switch = withInstall(stdin_default$1g);
4966
+ const [name$18, bem$14] = createNamespace("address-edit-detail");
4963
4967
  const t$i = createNamespace("address-edit")[2];
4964
- var stdin_default$1b = vue.defineComponent({
4965
- name: name$14,
4968
+ var stdin_default$1f = vue.defineComponent({
4969
+ name: name$18,
4966
4970
  props: {
4967
4971
  show: Boolean,
4968
4972
  rows: numericProp,
@@ -4996,7 +5000,7 @@
4996
5000
  "icon": "location-o",
4997
5001
  "title": express.name,
4998
5002
  "label": express.address,
4999
- "class": bem$10("search-item"),
5003
+ "class": bem$14("search-item"),
5000
5004
  "border": false,
5001
5005
  "onClick": () => onSelect(express)
5002
5006
  }, null));
@@ -5010,7 +5014,7 @@
5010
5014
  "autosize": true,
5011
5015
  "clearable": true,
5012
5016
  "ref": field,
5013
- "class": bem$10(),
5017
+ "class": bem$14(),
5014
5018
  "rows": props.rows,
5015
5019
  "type": "textarea",
5016
5020
  "rules": props.rules,
@@ -5027,7 +5031,7 @@
5027
5031
  };
5028
5032
  }
5029
5033
  });
5030
- const [name$13, bem$$, t$h] = createNamespace("address-edit");
5034
+ const [name$17, bem$13, t$h] = createNamespace("address-edit");
5031
5035
  const DEFAULT_DATA = {
5032
5036
  name: "",
5033
5037
  tel: "",
@@ -5067,8 +5071,8 @@
5067
5071
  default: isMobile
5068
5072
  }
5069
5073
  };
5070
- var stdin_default$1a = vue.defineComponent({
5071
- name: name$13,
5074
+ var stdin_default$1e = vue.defineComponent({
5075
+ name: name$17,
5072
5076
  props: addressEditProps,
5073
5077
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
5074
5078
  setup(props, {
@@ -5179,7 +5183,7 @@
5179
5183
  return vue.withDirectives(vue.createVNode(Cell, {
5180
5184
  "center": true,
5181
5185
  "title": t$h("defaultAddress"),
5182
- "class": bem$$("default")
5186
+ "class": bem$13("default")
5183
5187
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5184
5188
  }
5185
5189
  };
@@ -5205,13 +5209,13 @@
5205
5209
  disableArea
5206
5210
  } = props;
5207
5211
  return vue.createVNode(Form, {
5208
- "class": bem$$(),
5212
+ "class": bem$13(),
5209
5213
  "onSubmit": onSave
5210
5214
  }, {
5211
5215
  default: () => {
5212
5216
  var _a;
5213
5217
  return [vue.createVNode("div", {
5214
- "class": bem$$("fields")
5218
+ "class": bem$13("fields")
5215
5219
  }, [vue.createVNode(Field, {
5216
5220
  "modelValue": data.name,
5217
5221
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -5242,7 +5246,7 @@
5242
5246
  emit("clickArea");
5243
5247
  showAreaPopup.value = !disableArea;
5244
5248
  }
5245
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1b, {
5249
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1f, {
5246
5250
  "show": props.showDetail,
5247
5251
  "rows": props.detailRows,
5248
5252
  "rules": rules.value.addressDetail,
@@ -5256,19 +5260,19 @@
5256
5260
  "onInput": onChangeDetail,
5257
5261
  "onSelectSearch": (event) => emit("selectSearch", event)
5258
5262
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5259
- "class": bem$$("buttons")
5263
+ "class": bem$13("buttons")
5260
5264
  }, [vue.createVNode(Button, {
5261
5265
  "block": true,
5262
5266
  "round": true,
5263
5267
  "type": "primary",
5264
5268
  "text": props.saveButtonText || t$h("save"),
5265
- "class": bem$$("button"),
5269
+ "class": bem$13("button"),
5266
5270
  "loading": props.isSaving,
5267
5271
  "nativeType": "submit"
5268
5272
  }, null), props.showDelete && vue.createVNode(Button, {
5269
5273
  "block": true,
5270
5274
  "round": true,
5271
- "class": bem$$("button"),
5275
+ "class": bem$13("button"),
5272
5276
  "loading": props.isDeleting,
5273
5277
  "text": props.deleteButtonText || t$h("delete"),
5274
5278
  "onClick": onDelete
@@ -5298,8 +5302,8 @@
5298
5302
  };
5299
5303
  }
5300
5304
  });
5301
- const AddressEdit = withInstall(stdin_default$1a);
5302
- const [name$12, bem$_] = createNamespace("radio-group");
5305
+ const AddressEdit = withInstall(stdin_default$1e);
5306
+ const [name$16, bem$12] = createNamespace("radio-group");
5303
5307
  const radioGroupProps = {
5304
5308
  disabled: Boolean,
5305
5309
  iconSize: numericProp,
@@ -5307,9 +5311,9 @@
5307
5311
  modelValue: unknownProp,
5308
5312
  checkedColor: String
5309
5313
  };
5310
- const RADIO_KEY = Symbol(name$12);
5311
- var stdin_default$19 = vue.defineComponent({
5312
- name: name$12,
5314
+ const RADIO_KEY = Symbol(name$16);
5315
+ var stdin_default$1d = vue.defineComponent({
5316
+ name: name$16,
5313
5317
  props: radioGroupProps,
5314
5318
  emits: ["change", "update:modelValue"],
5315
5319
  setup(props, {
@@ -5329,14 +5333,14 @@
5329
5333
  return () => {
5330
5334
  var _a;
5331
5335
  return vue.createVNode("div", {
5332
- "class": bem$_([props.direction]),
5336
+ "class": bem$12([props.direction]),
5333
5337
  "role": "radiogroup"
5334
5338
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5335
5339
  };
5336
5340
  }
5337
5341
  });
5338
- const RadioGroup = withInstall(stdin_default$19);
5339
- const [name$11, bem$Z] = createNamespace("tag");
5342
+ const RadioGroup = withInstall(stdin_default$1d);
5343
+ const [name$15, bem$11] = createNamespace("tag");
5340
5344
  const tagProps = {
5341
5345
  size: String,
5342
5346
  mark: Boolean,
@@ -5348,8 +5352,8 @@
5348
5352
  textColor: String,
5349
5353
  closeable: Boolean
5350
5354
  };
5351
- var stdin_default$18 = vue.defineComponent({
5352
- name: name$11,
5355
+ var stdin_default$1c = vue.defineComponent({
5356
+ name: name$15,
5353
5357
  props: tagProps,
5354
5358
  emits: ["close"],
5355
5359
  setup(props, {
@@ -5392,12 +5396,12 @@
5392
5396
  }
5393
5397
  const CloseIcon = closeable && vue.createVNode(Icon, {
5394
5398
  "name": "cross",
5395
- "class": [bem$Z("close"), HAPTICS_FEEDBACK],
5399
+ "class": [bem$11("close"), HAPTICS_FEEDBACK],
5396
5400
  "onClick": onClose
5397
5401
  }, null);
5398
5402
  return vue.createVNode("span", {
5399
5403
  "style": getStyle(),
5400
- "class": bem$Z([classes, type])
5404
+ "class": bem$11([classes, type])
5401
5405
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5402
5406
  };
5403
5407
  return () => vue.createVNode(vue.Transition, {
@@ -5407,7 +5411,7 @@
5407
5411
  });
5408
5412
  }
5409
5413
  });
5410
- const Tag = withInstall(stdin_default$18);
5414
+ const Tag = withInstall(stdin_default$1c);
5411
5415
  const checkerProps = {
5412
5416
  name: unknownProp,
5413
5417
  shape: makeStringProp("round"),
@@ -5418,7 +5422,7 @@
5418
5422
  labelPosition: String,
5419
5423
  labelDisabled: Boolean
5420
5424
  };
5421
- var stdin_default$17 = vue.defineComponent({
5425
+ var stdin_default$1b = vue.defineComponent({
5422
5426
  props: extend({}, checkerProps, {
5423
5427
  bem: makeRequiredProp(Function),
5424
5428
  role: String,
@@ -5508,9 +5512,9 @@
5508
5512
  }
5509
5513
  });
5510
5514
  const radioProps = checkerProps;
5511
- const [name$10, bem$Y] = createNamespace("radio");
5512
- var stdin_default$16 = vue.defineComponent({
5513
- name: name$10,
5515
+ const [name$14, bem$10] = createNamespace("radio");
5516
+ var stdin_default$1a = vue.defineComponent({
5517
+ name: name$14,
5514
5518
  props: checkerProps,
5515
5519
  emits: ["update:modelValue"],
5516
5520
  setup(props, {
@@ -5531,8 +5535,8 @@
5531
5535
  emit("update:modelValue", props.name);
5532
5536
  }
5533
5537
  };
5534
- return () => vue.createVNode(stdin_default$17, vue.mergeProps({
5535
- "bem": bem$Y,
5538
+ return () => vue.createVNode(stdin_default$1b, vue.mergeProps({
5539
+ "bem": bem$10,
5536
5540
  "role": "radio",
5537
5541
  "parent": parent,
5538
5542
  "checked": checked(),
@@ -5540,10 +5544,10 @@
5540
5544
  }, props), pick(slots, ["default", "icon"]));
5541
5545
  }
5542
5546
  });
5543
- const Radio = withInstall(stdin_default$16);
5544
- const [name$$, bem$X] = createNamespace("address-item");
5545
- var stdin_default$15 = vue.defineComponent({
5546
- name: name$$,
5547
+ const Radio = withInstall(stdin_default$1a);
5548
+ const [name$13, bem$$] = createNamespace("address-item");
5549
+ var stdin_default$19 = vue.defineComponent({
5550
+ name: name$13,
5547
5551
  props: {
5548
5552
  address: makeRequiredProp(Object),
5549
5553
  disabled: Boolean,
@@ -5563,7 +5567,7 @@
5563
5567
  };
5564
5568
  const renderRightIcon = () => vue.createVNode(Icon, {
5565
5569
  "name": "edit",
5566
- "class": bem$X("edit"),
5570
+ "class": bem$$("edit"),
5567
5571
  "onClick": (event) => {
5568
5572
  event.stopPropagation();
5569
5573
  emit("edit");
@@ -5578,7 +5582,7 @@
5578
5582
  return vue.createVNode(Tag, {
5579
5583
  "type": "primary",
5580
5584
  "round": true,
5581
- "class": bem$X("tag")
5585
+ "class": bem$$("tag")
5582
5586
  }, {
5583
5587
  default: () => [props.defaultTagText]
5584
5588
  });
@@ -5591,9 +5595,9 @@
5591
5595
  switchable
5592
5596
  } = props;
5593
5597
  const Info = [vue.createVNode("div", {
5594
- "class": bem$X("name")
5598
+ "class": bem$$("name")
5595
5599
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5596
- "class": bem$X("address")
5600
+ "class": bem$$("address")
5597
5601
  }, [address.address])];
5598
5602
  if (switchable && !disabled) {
5599
5603
  return vue.createVNode(Radio, {
@@ -5611,13 +5615,13 @@
5611
5615
  disabled
5612
5616
  } = props;
5613
5617
  return vue.createVNode("div", {
5614
- "class": bem$X({
5618
+ "class": bem$$({
5615
5619
  disabled
5616
5620
  }),
5617
5621
  "onClick": onClick
5618
5622
  }, [vue.createVNode(Cell, {
5619
5623
  "border": false,
5620
- "titleClass": bem$X("title")
5624
+ "titleClass": bem$$("title")
5621
5625
  }, {
5622
5626
  title: renderContent,
5623
5627
  "right-icon": renderRightIcon
@@ -5627,7 +5631,7 @@
5627
5631
  };
5628
5632
  }
5629
5633
  });
5630
- const [name$_, bem$W, t$g] = createNamespace("address-list");
5634
+ const [name$12, bem$_, t$g] = createNamespace("address-list");
5631
5635
  const addressListProps = {
5632
5636
  list: makeArrayProp(),
5633
5637
  modelValue: numericProp,
@@ -5637,8 +5641,8 @@
5637
5641
  addButtonText: String,
5638
5642
  defaultTagText: String
5639
5643
  };
5640
- var stdin_default$14 = vue.defineComponent({
5641
- name: name$_,
5644
+ var stdin_default$18 = vue.defineComponent({
5645
+ name: name$12,
5642
5646
  props: addressListProps,
5643
5647
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5644
5648
  setup(props, {
@@ -5654,7 +5658,7 @@
5654
5658
  emit("update:modelValue", item.id);
5655
5659
  }
5656
5660
  };
5657
- return vue.createVNode(stdin_default$15, {
5661
+ return vue.createVNode(stdin_default$19, {
5658
5662
  "key": item.id,
5659
5663
  "address": item,
5660
5664
  "disabled": disabled,
@@ -5674,13 +5678,13 @@
5674
5678
  }
5675
5679
  };
5676
5680
  const renderBottom = () => vue.createVNode("div", {
5677
- "class": [bem$W("bottom"), "van-safe-area-bottom"]
5681
+ "class": [bem$_("bottom"), "van-safe-area-bottom"]
5678
5682
  }, [vue.createVNode(Button, {
5679
5683
  "round": true,
5680
5684
  "block": true,
5681
5685
  "type": "primary",
5682
5686
  "text": props.addButtonText || t$g("add"),
5683
- "class": bem$W("add"),
5687
+ "class": bem$_("add"),
5684
5688
  "onClick": () => emit("add")
5685
5689
  }, null)]);
5686
5690
  return () => {
@@ -5688,10 +5692,10 @@
5688
5692
  const List2 = renderList(props.list);
5689
5693
  const DisabledList = renderList(props.disabledList, true);
5690
5694
  const DisabledText = props.disabledText && vue.createVNode("div", {
5691
- "class": bem$W("disabled-text")
5695
+ "class": bem$_("disabled-text")
5692
5696
  }, [props.disabledText]);
5693
5697
  return vue.createVNode("div", {
5694
- "class": bem$W()
5698
+ "class": bem$_()
5695
5699
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5696
5700
  "modelValue": props.modelValue
5697
5701
  }, {
@@ -5700,8 +5704,8 @@
5700
5704
  };
5701
5705
  }
5702
5706
  });
5703
- const AddressList = withInstall(stdin_default$14);
5704
- const [name$Z, bem$V, t$f] = createNamespace("calendar");
5707
+ const AddressList = withInstall(stdin_default$18);
5708
+ const [name$11, bem$Z, t$f] = createNamespace("calendar");
5705
5709
  const formatMonthTitle = (date) => t$f("monthTitle", date.getFullYear(), date.getMonth() + 1);
5706
5710
  function compareMonth(date1, date2) {
5707
5711
  const year1 = date1.getFullYear();
@@ -5782,9 +5786,9 @@
5782
5786
  }
5783
5787
  return value;
5784
5788
  });
5785
- const [name$Y] = createNamespace("calendar-day");
5786
- var stdin_default$13 = vue.defineComponent({
5787
- name: name$Y,
5789
+ const [name$10] = createNamespace("calendar-day");
5790
+ var stdin_default$17 = vue.defineComponent({
5791
+ name: name$10,
5788
5792
  props: {
5789
5793
  item: makeRequiredProp(Object),
5790
5794
  color: String,
@@ -5846,7 +5850,7 @@
5846
5850
  } = props.item;
5847
5851
  if (topInfo || slots["top-info"]) {
5848
5852
  return vue.createVNode("div", {
5849
- "class": bem$V("top-info")
5853
+ "class": bem$Z("top-info")
5850
5854
  }, [slots["top-info"] ? slots["top-info"](props.item) : topInfo]);
5851
5855
  }
5852
5856
  };
@@ -5856,7 +5860,7 @@
5856
5860
  } = props.item;
5857
5861
  if (bottomInfo || slots["bottom-info"]) {
5858
5862
  return vue.createVNode("div", {
5859
- "class": bem$V("bottom-info")
5863
+ "class": bem$Z("bottom-info")
5860
5864
  }, [slots["bottom-info"] ? slots["bottom-info"](props.item) : bottomInfo]);
5861
5865
  }
5862
5866
  };
@@ -5873,7 +5877,7 @@
5873
5877
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
5874
5878
  if (type === "selected") {
5875
5879
  return vue.createVNode("div", {
5876
- "class": bem$V("selected-day"),
5880
+ "class": bem$Z("selected-day"),
5877
5881
  "style": {
5878
5882
  width: rowHeight,
5879
5883
  height: rowHeight,
@@ -5890,21 +5894,21 @@
5890
5894
  } = props.item;
5891
5895
  if (type === "placeholder") {
5892
5896
  return vue.createVNode("div", {
5893
- "class": bem$V("day"),
5897
+ "class": bem$Z("day"),
5894
5898
  "style": style.value
5895
5899
  }, null);
5896
5900
  }
5897
5901
  return vue.createVNode("div", {
5898
5902
  "role": "gridcell",
5899
5903
  "style": style.value,
5900
- "class": [bem$V("day", type), className],
5904
+ "class": [bem$Z("day", type), className],
5901
5905
  "tabindex": type === "disabled" ? void 0 : -1,
5902
5906
  "onClick": onClick
5903
5907
  }, [renderContent()]);
5904
5908
  };
5905
5909
  }
5906
5910
  });
5907
- const [name$X] = createNamespace("calendar-month");
5911
+ const [name$$] = createNamespace("calendar-month");
5908
5912
  const calendarMonthProps = {
5909
5913
  date: makeRequiredProp(Date),
5910
5914
  type: String,
@@ -5921,8 +5925,8 @@
5921
5925
  showMonthTitle: Boolean,
5922
5926
  firstDayOfWeek: Number
5923
5927
  };
5924
- var stdin_default$12 = vue.defineComponent({
5925
- name: name$X,
5928
+ var stdin_default$16 = vue.defineComponent({
5929
+ name: name$$,
5926
5930
  props: calendarMonthProps,
5927
5931
  emits: ["click"],
5928
5932
  setup(props, {
@@ -6027,14 +6031,14 @@
6027
6031
  const renderTitle = () => {
6028
6032
  if (props.showMonthTitle) {
6029
6033
  return vue.createVNode("div", {
6030
- "class": bem$V("month-title")
6034
+ "class": bem$Z("month-title")
6031
6035
  }, [title.value]);
6032
6036
  }
6033
6037
  };
6034
6038
  const renderMark = () => {
6035
6039
  if (props.showMark && shouldRender.value) {
6036
6040
  return vue.createVNode("div", {
6037
- "class": bem$V("month-mark")
6041
+ "class": bem$Z("month-mark")
6038
6042
  }, [props.date.getMonth() + 1]);
6039
6043
  }
6040
6044
  };
@@ -6074,7 +6078,7 @@
6074
6078
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
6075
6079
  }
6076
6080
  };
6077
- const renderDay = (item, index) => vue.createVNode(stdin_default$13, {
6081
+ const renderDay = (item, index) => vue.createVNode(stdin_default$17, {
6078
6082
  "item": item,
6079
6083
  "index": index,
6080
6084
  "color": props.color,
@@ -6085,7 +6089,7 @@
6085
6089
  const renderDays = () => vue.createVNode("div", {
6086
6090
  "ref": daysRef,
6087
6091
  "role": "grid",
6088
- "class": bem$V("days")
6092
+ "class": bem$Z("days")
6089
6093
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6090
6094
  useExpose({
6091
6095
  getTitle,
@@ -6095,14 +6099,14 @@
6095
6099
  disabledDays
6096
6100
  });
6097
6101
  return () => vue.createVNode("div", {
6098
- "class": bem$V("month"),
6102
+ "class": bem$Z("month"),
6099
6103
  "ref": monthRef
6100
6104
  }, [renderTitle(), renderDays()]);
6101
6105
  }
6102
6106
  });
6103
- const [name$W] = createNamespace("calendar-header");
6104
- var stdin_default$11 = vue.defineComponent({
6105
- name: name$W,
6107
+ const [name$_] = createNamespace("calendar-header");
6108
+ var stdin_default$15 = vue.defineComponent({
6109
+ name: name$_,
6106
6110
  props: {
6107
6111
  date: Date,
6108
6112
  title: String,
@@ -6121,7 +6125,7 @@
6121
6125
  const text = props.title || t$f("title");
6122
6126
  const title = slots.title ? slots.title() : text;
6123
6127
  return vue.createVNode("div", {
6124
- "class": bem$V("header-title")
6128
+ "class": bem$Z("header-title")
6125
6129
  }, [title]);
6126
6130
  }
6127
6131
  };
@@ -6133,7 +6137,7 @@
6133
6137
  text: props.subtitle
6134
6138
  }) : props.subtitle;
6135
6139
  return vue.createVNode("div", {
6136
- "class": bem$V("header-subtitle"),
6140
+ "class": bem$Z("header-subtitle"),
6137
6141
  "onClick": onClickSubtitle
6138
6142
  }, [title]);
6139
6143
  }
@@ -6145,13 +6149,13 @@
6145
6149
  const weekdays = t$f("weekdays");
6146
6150
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6147
6151
  return vue.createVNode("div", {
6148
- "class": bem$V("weekdays")
6152
+ "class": bem$Z("weekdays")
6149
6153
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
6150
- "class": bem$V("weekday")
6154
+ "class": bem$Z("weekday")
6151
6155
  }, [text]))]);
6152
6156
  };
6153
6157
  return () => vue.createVNode("div", {
6154
- "class": bem$V("header")
6158
+ "class": bem$Z("header")
6155
6159
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6156
6160
  }
6157
6161
  });
@@ -6202,8 +6206,8 @@
6202
6206
  validator: (val) => val >= 0 && val <= 6
6203
6207
  }
6204
6208
  };
6205
- var stdin_default$10 = vue.defineComponent({
6206
- name: name$Z,
6209
+ var stdin_default$14 = vue.defineComponent({
6210
+ name: name$11,
6207
6211
  props: calendarProps,
6208
6212
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
6209
6213
  setup(props, {
@@ -6466,7 +6470,7 @@
6466
6470
  const updateShow = (value) => emit("update:show", value);
6467
6471
  const renderMonth = (date, index) => {
6468
6472
  const showMonthTitle = index !== 0 || !props.showSubtitle;
6469
- return vue.createVNode(stdin_default$12, vue.mergeProps({
6473
+ return vue.createVNode(stdin_default$16, vue.mergeProps({
6470
6474
  "ref": setMonthRefs(index),
6471
6475
  "date": date,
6472
6476
  "currentDate": currentDate.value,
@@ -6489,7 +6493,7 @@
6489
6493
  "block": true,
6490
6494
  "type": "primary",
6491
6495
  "color": props.color,
6492
- "class": bem$V("confirm"),
6496
+ "class": bem$Z("confirm"),
6493
6497
  "disabled": disabled,
6494
6498
  "nativeType": "button",
6495
6499
  "onClick": onConfirm
@@ -6501,13 +6505,13 @@
6501
6505
  }
6502
6506
  };
6503
6507
  const renderFooter = () => vue.createVNode("div", {
6504
- "class": [bem$V("footer"), {
6508
+ "class": [bem$Z("footer"), {
6505
6509
  "van-safe-area-bottom": props.safeAreaInsetBottom
6506
6510
  }]
6507
6511
  }, [renderFooterButton()]);
6508
6512
  const renderCalendar = () => vue.createVNode("div", {
6509
- "class": bem$V()
6510
- }, [vue.createVNode(stdin_default$11, {
6513
+ "class": bem$Z()
6514
+ }, [vue.createVNode(stdin_default$15, {
6511
6515
  "date": subtitle.value.date,
6512
6516
  "title": props.title,
6513
6517
  "subtitle": subtitle.value.text,
@@ -6517,7 +6521,7 @@
6517
6521
  "onClickSubtitle": (event) => emit("clickSubtitle", event)
6518
6522
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
6519
6523
  "ref": bodyRef,
6520
- "class": bem$V("body"),
6524
+ "class": bem$Z("body"),
6521
6525
  "onScroll": onScroll
6522
6526
  }, [months.value.map(renderMonth)]), renderFooter()]);
6523
6527
  vue.watch(() => props.show, init);
@@ -6536,7 +6540,7 @@
6536
6540
  if (props.poppable) {
6537
6541
  return vue.createVNode(Popup, {
6538
6542
  "show": props.show,
6539
- "class": bem$V("popup"),
6543
+ "class": bem$Z("popup"),
6540
6544
  "round": props.round,
6541
6545
  "position": props.position,
6542
6546
  "closeable": props.showTitle || props.showSubtitle,
@@ -6553,8 +6557,8 @@
6553
6557
  };
6554
6558
  }
6555
6559
  });
6556
- const Calendar = withInstall(stdin_default$10);
6557
- const [name$V, bem$U] = createNamespace("image");
6560
+ const Calendar = withInstall(stdin_default$14);
6561
+ const [name$Z, bem$Y] = createNamespace("image");
6558
6562
  const imageProps = {
6559
6563
  src: String,
6560
6564
  alt: String,
@@ -6573,8 +6577,8 @@
6573
6577
  showLoading: truthProp,
6574
6578
  loadingIcon: makeStringProp("photo")
6575
6579
  };
6576
- var stdin_default$$ = vue.defineComponent({
6577
- name: name$V,
6580
+ var stdin_default$13 = vue.defineComponent({
6581
+ name: name$Z,
6578
6582
  props: imageProps,
6579
6583
  emits: ["load", "error"],
6580
6584
  setup(props, {
@@ -6625,13 +6629,13 @@
6625
6629
  const renderPlaceholder = () => {
6626
6630
  if (loading.value && props.showLoading) {
6627
6631
  return vue.createVNode("div", {
6628
- "class": bem$U("loading")
6629
- }, [renderIcon(props.loadingIcon, bem$U("loading-icon"), slots.loading)]);
6632
+ "class": bem$Y("loading")
6633
+ }, [renderIcon(props.loadingIcon, bem$Y("loading-icon"), slots.loading)]);
6630
6634
  }
6631
6635
  if (error.value && props.showError) {
6632
6636
  return vue.createVNode("div", {
6633
- "class": bem$U("error")
6634
- }, [renderIcon(props.errorIcon, bem$U("error-icon"), slots.error)]);
6637
+ "class": bem$Y("error")
6638
+ }, [renderIcon(props.errorIcon, bem$Y("error-icon"), slots.error)]);
6635
6639
  }
6636
6640
  };
6637
6641
  const renderImage = () => {
@@ -6640,7 +6644,7 @@
6640
6644
  }
6641
6645
  const attrs = {
6642
6646
  alt: props.alt,
6643
- class: bem$U("img"),
6647
+ class: bem$Y("img"),
6644
6648
  style: {
6645
6649
  objectFit: props.fit,
6646
6650
  objectPosition: props.position
@@ -6689,7 +6693,7 @@
6689
6693
  return () => {
6690
6694
  var _a;
6691
6695
  return vue.createVNode("div", {
6692
- "class": bem$U({
6696
+ "class": bem$Y({
6693
6697
  round: props.round,
6694
6698
  block: props.block
6695
6699
  }),
@@ -6698,8 +6702,8 @@
6698
6702
  };
6699
6703
  }
6700
6704
  });
6701
- const Image$1 = withInstall(stdin_default$$);
6702
- const [name$U, bem$T] = createNamespace("card");
6705
+ const Image$1 = withInstall(stdin_default$13);
6706
+ const [name$Y, bem$X] = createNamespace("card");
6703
6707
  const cardProps = {
6704
6708
  tag: String,
6705
6709
  num: numericProp,
@@ -6713,8 +6717,8 @@
6713
6717
  thumbLink: String,
6714
6718
  originPrice: numericProp
6715
6719
  };
6716
- var stdin_default$_ = vue.defineComponent({
6717
- name: name$U,
6720
+ var stdin_default$12 = vue.defineComponent({
6721
+ name: name$Y,
6718
6722
  props: cardProps,
6719
6723
  emits: ["clickThumb"],
6720
6724
  setup(props, {
@@ -6727,14 +6731,14 @@
6727
6731
  }
6728
6732
  if (props.title) {
6729
6733
  return vue.createVNode("div", {
6730
- "class": [bem$T("title"), "van-multi-ellipsis--l2"]
6734
+ "class": [bem$X("title"), "van-multi-ellipsis--l2"]
6731
6735
  }, [props.title]);
6732
6736
  }
6733
6737
  };
6734
6738
  const renderThumbTag = () => {
6735
6739
  if (slots.tag || props.tag) {
6736
6740
  return vue.createVNode("div", {
6737
- "class": bem$T("tag")
6741
+ "class": bem$X("tag")
6738
6742
  }, [slots.tag ? slots.tag() : vue.createVNode(Tag, {
6739
6743
  "mark": true,
6740
6744
  "type": "primary"
@@ -6759,7 +6763,7 @@
6759
6763
  if (slots.thumb || props.thumb) {
6760
6764
  return vue.createVNode("a", {
6761
6765
  "href": props.thumbLink,
6762
- "class": bem$T("thumb"),
6766
+ "class": bem$X("thumb"),
6763
6767
  "onClick": (event) => emit("clickThumb", event)
6764
6768
  }, [renderThumbImage(), renderThumbTag()]);
6765
6769
  }
@@ -6770,18 +6774,18 @@
6770
6774
  }
6771
6775
  if (props.desc) {
6772
6776
  return vue.createVNode("div", {
6773
- "class": [bem$T("desc"), "van-ellipsis"]
6777
+ "class": [bem$X("desc"), "van-ellipsis"]
6774
6778
  }, [props.desc]);
6775
6779
  }
6776
6780
  };
6777
6781
  const renderPriceText = () => {
6778
6782
  const priceArr = props.price.toString().split(".");
6779
6783
  return vue.createVNode("div", null, [vue.createVNode("span", {
6780
- "class": bem$T("price-currency")
6784
+ "class": bem$X("price-currency")
6781
6785
  }, [props.currency]), vue.createVNode("span", {
6782
- "class": bem$T("price-integer")
6786
+ "class": bem$X("price-integer")
6783
6787
  }, [priceArr[0]]), vue.createTextVNode("."), vue.createVNode("span", {
6784
- "class": bem$T("price-decimal")
6788
+ "class": bem$X("price-decimal")
6785
6789
  }, [priceArr[1]])]);
6786
6790
  };
6787
6791
  return () => {
@@ -6791,34 +6795,34 @@
6791
6795
  const showOriginPrice = slots["origin-price"] || isDef(props.originPrice);
6792
6796
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
6793
6797
  const Price = showPrice && vue.createVNode("div", {
6794
- "class": bem$T("price")
6798
+ "class": bem$X("price")
6795
6799
  }, [slots.price ? slots.price() : renderPriceText()]);
6796
6800
  const OriginPrice = showOriginPrice && vue.createVNode("div", {
6797
- "class": bem$T("origin-price")
6801
+ "class": bem$X("origin-price")
6798
6802
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props.currency} ${props.originPrice}`]);
6799
6803
  const Num = showNum && vue.createVNode("div", {
6800
- "class": bem$T("num")
6804
+ "class": bem$X("num")
6801
6805
  }, [slots.num ? slots.num() : `x${props.num}`]);
6802
6806
  const Footer = slots.footer && vue.createVNode("div", {
6803
- "class": bem$T("footer")
6807
+ "class": bem$X("footer")
6804
6808
  }, [slots.footer()]);
6805
6809
  const Bottom = showBottom && vue.createVNode("div", {
6806
- "class": bem$T("bottom")
6810
+ "class": bem$X("bottom")
6807
6811
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
6808
6812
  return vue.createVNode("div", {
6809
- "class": bem$T()
6813
+ "class": bem$X()
6810
6814
  }, [vue.createVNode("div", {
6811
- "class": bem$T("header")
6815
+ "class": bem$X("header")
6812
6816
  }, [renderThumb(), vue.createVNode("div", {
6813
- "class": bem$T("content", {
6817
+ "class": bem$X("content", {
6814
6818
  centered: props.centered
6815
6819
  })
6816
6820
  }, [vue.createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
6817
6821
  };
6818
6822
  }
6819
6823
  });
6820
- const Card = withInstall(stdin_default$_);
6821
- const [name$T, bem$S, t$e] = createNamespace("cascader");
6824
+ const Card = withInstall(stdin_default$12);
6825
+ const [name$X, bem$W, t$e] = createNamespace("cascader");
6822
6826
  const cascaderProps = {
6823
6827
  title: String,
6824
6828
  options: makeArrayProp(),
@@ -6831,8 +6835,8 @@
6831
6835
  placeholder: String,
6832
6836
  activeColor: String
6833
6837
  };
6834
- var stdin_default$Z = vue.defineComponent({
6835
- name: name$T,
6838
+ var stdin_default$11 = vue.defineComponent({
6839
+ name: name$X,
6836
6840
  props: cascaderProps,
6837
6841
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
6838
6842
  setup(props, {
@@ -6940,12 +6944,12 @@
6940
6944
  title
6941
6945
  }) => emit("clickTab", name2, title);
6942
6946
  const renderHeader = () => props.showHeader ? vue.createVNode("div", {
6943
- "class": bem$S("header")
6947
+ "class": bem$W("header")
6944
6948
  }, [vue.createVNode("h2", {
6945
- "class": bem$S("title")
6949
+ "class": bem$W("title")
6946
6950
  }, [slots.title ? slots.title() : props.title]), props.closeable ? vue.createVNode(Icon, {
6947
6951
  "name": props.closeIcon,
6948
- "class": [bem$S("close-icon"), HAPTICS_FEEDBACK],
6952
+ "class": [bem$W("close-icon"), HAPTICS_FEEDBACK],
6949
6953
  "onClick": onClose
6950
6954
  }, null) : null]) : null;
6951
6955
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -6960,7 +6964,7 @@
6960
6964
  }) : vue.createVNode("span", null, [option[textKey]]);
6961
6965
  return vue.createVNode("li", {
6962
6966
  "role": "menuitemradio",
6963
- "class": [bem$S("option", {
6967
+ "class": [bem$W("option", {
6964
6968
  selected,
6965
6969
  disabled
6966
6970
  }), option.className],
@@ -6973,12 +6977,12 @@
6973
6977
  "onClick": () => onSelect(option, tabIndex)
6974
6978
  }, [Text2, selected ? vue.createVNode(Icon, {
6975
6979
  "name": "success",
6976
- "class": bem$S("selected-icon")
6980
+ "class": bem$W("selected-icon")
6977
6981
  }, null) : null]);
6978
6982
  };
6979
6983
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
6980
6984
  "role": "menu",
6981
- "class": bem$S("options")
6985
+ "class": bem$W("options")
6982
6986
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
6983
6987
  const renderTab = (tab, tabIndex) => {
6984
6988
  const {
@@ -6989,7 +6993,7 @@
6989
6993
  const title = selected ? selected[textKey] : placeholder;
6990
6994
  return vue.createVNode(Tab, {
6991
6995
  "title": title,
6992
- "titleClass": bem$S("tab", {
6996
+ "titleClass": bem$W("tab", {
6993
6997
  unselected: !selected
6994
6998
  })
6995
6999
  }, {
@@ -7008,7 +7012,7 @@
7008
7012
  "onUpdate:active": ($event) => activeTab.value = $event,
7009
7013
  "shrink": true,
7010
7014
  "animated": true,
7011
- "class": bem$S("tabs"),
7015
+ "class": bem$W("tabs"),
7012
7016
  "color": props.activeColor,
7013
7017
  "swipeable": props.swipeable,
7014
7018
  "onClickTab": onClickTab
@@ -7032,19 +7036,19 @@
7032
7036
  updateTabs();
7033
7037
  });
7034
7038
  return () => vue.createVNode("div", {
7035
- "class": bem$S()
7039
+ "class": bem$W()
7036
7040
  }, [renderHeader(), renderTabs()]);
7037
7041
  }
7038
7042
  });
7039
- const Cascader = withInstall(stdin_default$Z);
7040
- const [name$S, bem$R] = createNamespace("cell-group");
7043
+ const Cascader = withInstall(stdin_default$11);
7044
+ const [name$W, bem$V] = createNamespace("cell-group");
7041
7045
  const cellGroupProps = {
7042
7046
  title: String,
7043
7047
  inset: Boolean,
7044
7048
  border: truthProp
7045
7049
  };
7046
- var stdin_default$Y = vue.defineComponent({
7047
- name: name$S,
7050
+ var stdin_default$10 = vue.defineComponent({
7051
+ name: name$W,
7048
7052
  inheritAttrs: false,
7049
7053
  props: cellGroupProps,
7050
7054
  setup(props, {
@@ -7054,7 +7058,7 @@
7054
7058
  const renderGroup = () => {
7055
7059
  var _a;
7056
7060
  return vue.createVNode("div", vue.mergeProps({
7057
- "class": [bem$R({
7061
+ "class": [bem$V({
7058
7062
  inset: props.inset
7059
7063
  }), {
7060
7064
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -7062,7 +7066,7 @@
7062
7066
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7063
7067
  };
7064
7068
  const renderTitle = () => vue.createVNode("div", {
7065
- "class": bem$R("title", {
7069
+ "class": bem$V("title", {
7066
7070
  inset: props.inset
7067
7071
  })
7068
7072
  }, [slots.title ? slots.title() : props.title]);
@@ -7074,8 +7078,8 @@
7074
7078
  };
7075
7079
  }
7076
7080
  });
7077
- const CellGroup = withInstall(stdin_default$Y);
7078
- const [name$R, bem$Q] = createNamespace("checkbox-group");
7081
+ const CellGroup = withInstall(stdin_default$10);
7082
+ const [name$V, bem$U] = createNamespace("checkbox-group");
7079
7083
  const checkboxGroupProps = {
7080
7084
  max: numericProp,
7081
7085
  disabled: Boolean,
@@ -7084,9 +7088,9 @@
7084
7088
  modelValue: makeArrayProp(),
7085
7089
  checkedColor: String
7086
7090
  };
7087
- const CHECKBOX_GROUP_KEY = Symbol(name$R);
7088
- var stdin_default$X = vue.defineComponent({
7089
- name: name$R,
7091
+ const CHECKBOX_GROUP_KEY = Symbol(name$V);
7092
+ var stdin_default$$ = vue.defineComponent({
7093
+ name: name$V,
7090
7094
  props: checkboxGroupProps,
7091
7095
  emits: ["change", "update:modelValue"],
7092
7096
  setup(props, {
@@ -7132,17 +7136,17 @@
7132
7136
  return () => {
7133
7137
  var _a;
7134
7138
  return vue.createVNode("div", {
7135
- "class": bem$Q([props.direction])
7139
+ "class": bem$U([props.direction])
7136
7140
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7137
7141
  };
7138
7142
  }
7139
7143
  });
7140
- const [name$Q, bem$P] = createNamespace("checkbox");
7144
+ const [name$U, bem$T] = createNamespace("checkbox");
7141
7145
  const checkboxProps = extend({}, checkerProps, {
7142
7146
  bindGroup: truthProp
7143
7147
  });
7144
- var stdin_default$W = vue.defineComponent({
7145
- name: name$Q,
7148
+ var stdin_default$_ = vue.defineComponent({
7149
+ name: name$U,
7146
7150
  props: checkboxProps,
7147
7151
  emits: ["change", "update:modelValue"],
7148
7152
  setup(props, {
@@ -7199,8 +7203,8 @@
7199
7203
  checked
7200
7204
  });
7201
7205
  useCustomFieldValue(() => props.modelValue);
7202
- return () => vue.createVNode(stdin_default$17, vue.mergeProps({
7203
- "bem": bem$P,
7206
+ return () => vue.createVNode(stdin_default$1b, vue.mergeProps({
7207
+ "bem": bem$T,
7204
7208
  "role": "checkbox",
7205
7209
  "parent": parent,
7206
7210
  "checked": checked.value,
@@ -7208,9 +7212,9 @@
7208
7212
  }, props), pick(slots, ["default", "icon"]));
7209
7213
  }
7210
7214
  });
7211
- const Checkbox = withInstall(stdin_default$W);
7212
- const CheckboxGroup = withInstall(stdin_default$X);
7213
- const [name$P, bem$O] = createNamespace("circle");
7215
+ const Checkbox = withInstall(stdin_default$_);
7216
+ const CheckboxGroup = withInstall(stdin_default$$);
7217
+ const [name$T, bem$S] = createNamespace("circle");
7214
7218
  let uid = 0;
7215
7219
  const format$1 = (rate) => Math.min(Math.max(+rate, 0), 100);
7216
7220
  function getPath(clockwise, viewBoxSize) {
@@ -7231,8 +7235,8 @@
7231
7235
  strokeLinecap: String,
7232
7236
  startPosition: makeStringProp("top")
7233
7237
  };
7234
- var stdin_default$V = vue.defineComponent({
7235
- name: name$P,
7238
+ var stdin_default$Z = vue.defineComponent({
7239
+ name: name$T,
7236
7240
  props: circleProps,
7237
7241
  emits: ["update:currentRate"],
7238
7242
  setup(props, {
@@ -7300,7 +7304,7 @@
7300
7304
  return vue.createVNode("path", {
7301
7305
  "d": path.value,
7302
7306
  "style": style,
7303
- "class": bem$O("hover"),
7307
+ "class": bem$S("hover"),
7304
7308
  "stroke": color
7305
7309
  }, null);
7306
7310
  };
@@ -7311,7 +7315,7 @@
7311
7315
  strokeWidth: `${props.strokeWidth}px`
7312
7316
  };
7313
7317
  return vue.createVNode("path", {
7314
- "class": bem$O("layer"),
7318
+ "class": bem$S("layer"),
7315
7319
  "style": style,
7316
7320
  "d": path.value
7317
7321
  }, null);
@@ -7342,12 +7346,12 @@
7342
7346
  }
7343
7347
  if (props.text) {
7344
7348
  return vue.createVNode("div", {
7345
- "class": bem$O("text")
7349
+ "class": bem$S("text")
7346
7350
  }, [props.text]);
7347
7351
  }
7348
7352
  };
7349
7353
  return () => vue.createVNode("div", {
7350
- "class": bem$O(),
7354
+ "class": bem$S(),
7351
7355
  "style": getSizeStyle(props.size)
7352
7356
  }, [vue.createVNode("svg", {
7353
7357
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -7355,9 +7359,9 @@
7355
7359
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7356
7360
  }
7357
7361
  });
7358
- const Circle = withInstall(stdin_default$V);
7359
- const [name$O, bem$N] = createNamespace("row");
7360
- const ROW_KEY = Symbol(name$O);
7362
+ const Circle = withInstall(stdin_default$Z);
7363
+ const [name$S, bem$R] = createNamespace("row");
7364
+ const ROW_KEY = Symbol(name$S);
7361
7365
  const rowProps = {
7362
7366
  tag: makeStringProp("div"),
7363
7367
  wrap: truthProp,
@@ -7365,8 +7369,8 @@
7365
7369
  gutter: makeNumericProp(0),
7366
7370
  justify: String
7367
7371
  };
7368
- var stdin_default$U = vue.defineComponent({
7369
- name: name$O,
7372
+ var stdin_default$Y = vue.defineComponent({
7373
+ name: name$S,
7370
7374
  props: rowProps,
7371
7375
  setup(props, {
7372
7376
  slots
@@ -7425,7 +7429,7 @@
7425
7429
  justify
7426
7430
  } = props;
7427
7431
  return vue.createVNode(tag, {
7428
- "class": bem$N({
7432
+ "class": bem$R({
7429
7433
  [`align-${align}`]: align,
7430
7434
  [`justify-${justify}`]: justify,
7431
7435
  nowrap: !wrap
@@ -7439,14 +7443,14 @@
7439
7443
  };
7440
7444
  }
7441
7445
  });
7442
- const [name$N, bem$M] = createNamespace("col");
7446
+ const [name$R, bem$Q] = createNamespace("col");
7443
7447
  const colProps = {
7444
7448
  tag: makeStringProp("div"),
7445
7449
  span: makeNumericProp(0),
7446
7450
  offset: numericProp
7447
7451
  };
7448
- var stdin_default$T = vue.defineComponent({
7449
- name: name$N,
7452
+ var stdin_default$X = vue.defineComponent({
7453
+ name: name$R,
7450
7454
  props: colProps,
7451
7455
  setup(props, {
7452
7456
  slots
@@ -7481,7 +7485,7 @@
7481
7485
  } = props;
7482
7486
  return vue.createVNode(tag, {
7483
7487
  "style": style.value,
7484
- "class": bem$M({
7488
+ "class": bem$Q({
7485
7489
  [span]: span,
7486
7490
  [`offset-${offset2}`]: offset2
7487
7491
  })
@@ -7494,9 +7498,9 @@
7494
7498
  };
7495
7499
  }
7496
7500
  });
7497
- const Col = withInstall(stdin_default$T);
7498
- const [name$M, bem$L] = createNamespace("collapse");
7499
- const COLLAPSE_KEY = Symbol(name$M);
7501
+ const Col = withInstall(stdin_default$X);
7502
+ const [name$Q, bem$P] = createNamespace("collapse");
7503
+ const COLLAPSE_KEY = Symbol(name$Q);
7500
7504
  const collapseProps = {
7501
7505
  border: truthProp,
7502
7506
  accordion: Boolean,
@@ -7505,8 +7509,8 @@
7505
7509
  default: ""
7506
7510
  }
7507
7511
  };
7508
- var stdin_default$S = vue.defineComponent({
7509
- name: name$M,
7512
+ var stdin_default$W = vue.defineComponent({
7513
+ name: name$Q,
7510
7514
  props: collapseProps,
7511
7515
  emits: ["change", "update:modelValue"],
7512
7516
  setup(props, {
@@ -7573,15 +7577,15 @@
7573
7577
  return () => {
7574
7578
  var _a;
7575
7579
  return vue.createVNode("div", {
7576
- "class": [bem$L(), {
7580
+ "class": [bem$P(), {
7577
7581
  [BORDER_TOP_BOTTOM]: props.border
7578
7582
  }]
7579
7583
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7580
7584
  };
7581
7585
  }
7582
7586
  });
7583
- const Collapse = withInstall(stdin_default$S);
7584
- const [name$L, bem$K] = createNamespace("collapse-item");
7587
+ const Collapse = withInstall(stdin_default$W);
7588
+ const [name$P, bem$O] = createNamespace("collapse-item");
7585
7589
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
7586
7590
  const collapseItemProps = extend({}, cellSharedProps, {
7587
7591
  name: numericProp,
@@ -7590,8 +7594,8 @@
7590
7594
  readonly: Boolean,
7591
7595
  lazyRender: truthProp
7592
7596
  });
7593
- var stdin_default$R = vue.defineComponent({
7594
- name: name$L,
7597
+ var stdin_default$V = vue.defineComponent({
7598
+ name: name$P,
7595
7599
  props: collapseItemProps,
7596
7600
  setup(props, {
7597
7601
  slots
@@ -7670,7 +7674,7 @@
7670
7674
  }
7671
7675
  return vue.createVNode(Cell, vue.mergeProps({
7672
7676
  "role": "button",
7673
- "class": bem$K("title", {
7677
+ "class": bem$O("title", {
7674
7678
  disabled,
7675
7679
  expanded: expanded.value,
7676
7680
  borderless: !border
@@ -7683,11 +7687,11 @@
7683
7687
  var _a;
7684
7688
  return vue.withDirectives(vue.createVNode("div", {
7685
7689
  "ref": wrapperRef,
7686
- "class": bem$K("wrapper"),
7690
+ "class": bem$O("wrapper"),
7687
7691
  "onTransitionend": onTransitionEnd
7688
7692
  }, [vue.createVNode("div", {
7689
7693
  "ref": contentRef,
7690
- "class": bem$K("content")
7694
+ "class": bem$O("content")
7691
7695
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
7692
7696
  });
7693
7697
  useExpose({
@@ -7696,15 +7700,15 @@
7696
7700
  itemName: name2
7697
7701
  });
7698
7702
  return () => vue.createVNode("div", {
7699
- "class": [bem$K({
7703
+ "class": [bem$O({
7700
7704
  border: index.value && props.border
7701
7705
  })]
7702
7706
  }, [renderTitle(), renderContent()]);
7703
7707
  }
7704
7708
  });
7705
- const CollapseItem = withInstall(stdin_default$R);
7706
- const ConfigProvider = withInstall(stdin_default$1B);
7707
- const [name$K, bem$J, t$d] = createNamespace("contact-card");
7709
+ const CollapseItem = withInstall(stdin_default$V);
7710
+ const ConfigProvider = withInstall(stdin_default$1F);
7711
+ const [name$O, bem$N, t$d] = createNamespace("contact-card");
7708
7712
  const contactCardProps = {
7709
7713
  tel: String,
7710
7714
  name: String,
@@ -7712,8 +7716,8 @@
7712
7716
  addText: String,
7713
7717
  editable: truthProp
7714
7718
  };
7715
- var stdin_default$Q = vue.defineComponent({
7716
- name: name$K,
7719
+ var stdin_default$U = vue.defineComponent({
7720
+ name: name$O,
7717
7721
  props: contactCardProps,
7718
7722
  emits: ["click"],
7719
7723
  setup(props, {
@@ -7733,18 +7737,18 @@
7733
7737
  return () => vue.createVNode(Cell, {
7734
7738
  "center": true,
7735
7739
  "icon": props.type === "edit" ? "contact" : "add-square",
7736
- "class": bem$J([props.type]),
7740
+ "class": bem$N([props.type]),
7737
7741
  "border": false,
7738
7742
  "isLink": props.editable,
7739
- "titleClass": bem$J("title"),
7743
+ "titleClass": bem$N("title"),
7740
7744
  "onClick": onClick
7741
7745
  }, {
7742
7746
  title: renderContent
7743
7747
  });
7744
7748
  }
7745
7749
  });
7746
- const ContactCard = withInstall(stdin_default$Q);
7747
- const [name$J, bem$I, t$c] = createNamespace("contact-edit");
7750
+ const ContactCard = withInstall(stdin_default$U);
7751
+ const [name$N, bem$M, t$c] = createNamespace("contact-edit");
7748
7752
  const DEFAULT_CONTACT = {
7749
7753
  tel: "",
7750
7754
  name: ""
@@ -7764,8 +7768,8 @@
7764
7768
  default: isMobile
7765
7769
  }
7766
7770
  };
7767
- var stdin_default$P = vue.defineComponent({
7768
- name: name$J,
7771
+ var stdin_default$T = vue.defineComponent({
7772
+ name: name$N,
7769
7773
  props: contactEditProps,
7770
7774
  emits: ["save", "delete", "changeDefault"],
7771
7775
  setup(props, {
@@ -7779,20 +7783,20 @@
7779
7783
  };
7780
7784
  const onDelete = () => emit("delete", contact);
7781
7785
  const renderButtons = () => vue.createVNode("div", {
7782
- "class": bem$I("buttons")
7786
+ "class": bem$M("buttons")
7783
7787
  }, [vue.createVNode(Button, {
7784
7788
  "block": true,
7785
7789
  "round": true,
7786
7790
  "type": "primary",
7787
7791
  "text": t$c("save"),
7788
- "class": bem$I("button"),
7792
+ "class": bem$M("button"),
7789
7793
  "loading": props.isSaving,
7790
7794
  "nativeType": "submit"
7791
7795
  }, null), props.isEdit && vue.createVNode(Button, {
7792
7796
  "block": true,
7793
7797
  "round": true,
7794
7798
  "text": t$c("delete"),
7795
- "class": bem$I("button"),
7799
+ "class": bem$M("button"),
7796
7800
  "loading": props.isDeleting,
7797
7801
  "onClick": onDelete
7798
7802
  }, null)]);
@@ -7805,7 +7809,7 @@
7805
7809
  if (props.showSetDefault) {
7806
7810
  return vue.createVNode(Cell, {
7807
7811
  "title": props.setDefaultLabel,
7808
- "class": bem$I("switch-cell"),
7812
+ "class": bem$M("switch-cell"),
7809
7813
  "border": false
7810
7814
  }, {
7811
7815
  "right-icon": renderSwitch
@@ -7814,11 +7818,11 @@
7814
7818
  };
7815
7819
  vue.watch(() => props.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
7816
7820
  return () => vue.createVNode(Form, {
7817
- "class": bem$I(),
7821
+ "class": bem$M(),
7818
7822
  "onSubmit": onSave
7819
7823
  }, {
7820
7824
  default: () => [vue.createVNode("div", {
7821
- "class": bem$I("fields")
7825
+ "class": bem$M("fields")
7822
7826
  }, [vue.createVNode(Field, {
7823
7827
  "modelValue": contact.name,
7824
7828
  "onUpdate:modelValue": ($event) => contact.name = $event,
@@ -7845,16 +7849,16 @@
7845
7849
  });
7846
7850
  }
7847
7851
  });
7848
- const ContactEdit = withInstall(stdin_default$P);
7849
- const [name$I, bem$H, t$b] = createNamespace("contact-list");
7852
+ const ContactEdit = withInstall(stdin_default$T);
7853
+ const [name$M, bem$L, t$b] = createNamespace("contact-list");
7850
7854
  const contactListProps = {
7851
7855
  list: Array,
7852
7856
  addText: String,
7853
7857
  modelValue: unknownProp,
7854
7858
  defaultTagText: String
7855
7859
  };
7856
- var stdin_default$O = vue.defineComponent({
7857
- name: name$I,
7860
+ var stdin_default$S = vue.defineComponent({
7861
+ name: name$M,
7858
7862
  props: contactListProps,
7859
7863
  emits: ["add", "edit", "select", "update:modelValue"],
7860
7864
  setup(props, {
@@ -7866,13 +7870,13 @@
7866
7870
  emit("select", item, index);
7867
7871
  };
7868
7872
  const renderRightIcon = () => vue.createVNode(Radio, {
7869
- "class": bem$H("radio"),
7873
+ "class": bem$L("radio"),
7870
7874
  "name": item.id,
7871
7875
  "iconSize": 16
7872
7876
  }, null);
7873
7877
  const renderEditIcon = () => vue.createVNode(Icon, {
7874
7878
  "name": "edit",
7875
- "class": bem$H("edit"),
7879
+ "class": bem$L("edit"),
7876
7880
  "onClick": (event) => {
7877
7881
  event.stopPropagation();
7878
7882
  emit("edit", item, index);
@@ -7884,7 +7888,7 @@
7884
7888
  nodes.push(vue.createVNode(Tag, {
7885
7889
  "type": "primary",
7886
7890
  "round": true,
7887
- "class": bem$H("item-tag")
7891
+ "class": bem$L("item-tag")
7888
7892
  }, {
7889
7893
  default: () => [props.defaultTagText]
7890
7894
  }));
@@ -7895,8 +7899,8 @@
7895
7899
  "key": item.id,
7896
7900
  "isLink": true,
7897
7901
  "center": true,
7898
- "class": bem$H("item"),
7899
- "titleClass": bem$H("item-title"),
7902
+ "class": bem$L("item"),
7903
+ "titleClass": bem$L("item-title"),
7900
7904
  "onClick": onClick
7901
7905
  }, {
7902
7906
  icon: renderEditIcon,
@@ -7905,25 +7909,25 @@
7905
7909
  });
7906
7910
  };
7907
7911
  return () => vue.createVNode("div", {
7908
- "class": bem$H()
7912
+ "class": bem$L()
7909
7913
  }, [vue.createVNode(RadioGroup, {
7910
7914
  "modelValue": props.modelValue,
7911
- "class": bem$H("group")
7915
+ "class": bem$L("group")
7912
7916
  }, {
7913
7917
  default: () => [props.list && props.list.map(renderItem)]
7914
7918
  }), vue.createVNode("div", {
7915
- "class": [bem$H("bottom"), "van-safe-area-bottom"]
7919
+ "class": [bem$L("bottom"), "van-safe-area-bottom"]
7916
7920
  }, [vue.createVNode(Button, {
7917
7921
  "round": true,
7918
7922
  "block": true,
7919
7923
  "type": "primary",
7920
- "class": bem$H("add"),
7924
+ "class": bem$L("add"),
7921
7925
  "text": props.addText || t$b("addContact"),
7922
7926
  "onClick": () => emit("add")
7923
7927
  }, null)])]);
7924
7928
  }
7925
7929
  });
7926
- const ContactList = withInstall(stdin_default$O);
7930
+ const ContactList = withInstall(stdin_default$S);
7927
7931
  function parseFormat(format2, currentTime) {
7928
7932
  const { days } = currentTime;
7929
7933
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -7959,15 +7963,15 @@
7959
7963
  }
7960
7964
  return format2;
7961
7965
  }
7962
- const [name$H, bem$G] = createNamespace("count-down");
7966
+ const [name$L, bem$K] = createNamespace("count-down");
7963
7967
  const countDownProps = {
7964
7968
  time: makeNumericProp(0),
7965
7969
  format: makeStringProp("HH:mm:ss"),
7966
7970
  autoStart: truthProp,
7967
7971
  millisecond: Boolean
7968
7972
  };
7969
- var stdin_default$N = vue.defineComponent({
7970
- name: name$H,
7973
+ var stdin_default$R = vue.defineComponent({
7974
+ name: name$L,
7971
7975
  props: countDownProps,
7972
7976
  emits: ["change", "finish"],
7973
7977
  setup(props, {
@@ -8002,11 +8006,11 @@
8002
8006
  });
8003
8007
  return () => vue.createVNode("div", {
8004
8008
  "role": "timer",
8005
- "class": bem$G()
8009
+ "class": bem$K()
8006
8010
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8007
8011
  }
8008
8012
  });
8009
- const CountDown = withInstall(stdin_default$N);
8013
+ const CountDown = withInstall(stdin_default$R);
8010
8014
  function getDate(timeStamp) {
8011
8015
  const date = new Date(timeStamp * 1e3);
8012
8016
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8015,9 +8019,9 @@
8015
8019
  }
8016
8020
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8017
8021
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8018
- const [name$G, bem$F, t$a] = createNamespace("coupon");
8019
- var stdin_default$M = vue.defineComponent({
8020
- name: name$G,
8022
+ const [name$K, bem$J, t$a] = createNamespace("coupon");
8023
+ var stdin_default$Q = vue.defineComponent({
8024
+ name: name$K,
8021
8025
  props: {
8022
8026
  chosen: Boolean,
8023
8027
  coupon: makeRequiredProp(Object),
@@ -8061,34 +8065,34 @@
8061
8065
  } = props;
8062
8066
  const description = disabled && coupon.reason || coupon.description;
8063
8067
  return vue.createVNode("div", {
8064
- "class": bem$F({
8068
+ "class": bem$J({
8065
8069
  disabled
8066
8070
  })
8067
8071
  }, [vue.createVNode("div", {
8068
- "class": bem$F("content")
8072
+ "class": bem$J("content")
8069
8073
  }, [vue.createVNode("div", {
8070
- "class": bem$F("head")
8074
+ "class": bem$J("head")
8071
8075
  }, [vue.createVNode("h2", {
8072
- "class": bem$F("amount")
8076
+ "class": bem$J("amount")
8073
8077
  }, [faceAmount.value]), vue.createVNode("p", {
8074
- "class": bem$F("condition")
8078
+ "class": bem$J("condition")
8075
8079
  }, [coupon.condition || conditionMessage.value])]), vue.createVNode("div", {
8076
- "class": bem$F("body")
8080
+ "class": bem$J("body")
8077
8081
  }, [vue.createVNode("p", {
8078
- "class": bem$F("name")
8082
+ "class": bem$J("name")
8079
8083
  }, [coupon.name]), vue.createVNode("p", {
8080
- "class": bem$F("valid")
8084
+ "class": bem$J("valid")
8081
8085
  }, [validPeriod.value]), !disabled && vue.createVNode(Checkbox, {
8082
- "class": bem$F("corner"),
8086
+ "class": bem$J("corner"),
8083
8087
  "modelValue": chosen
8084
8088
  }, null)])]), description && vue.createVNode("p", {
8085
- "class": bem$F("description")
8089
+ "class": bem$J("description")
8086
8090
  }, [description])]);
8087
8091
  };
8088
8092
  }
8089
8093
  });
8090
- const Coupon = withInstall(stdin_default$M);
8091
- const [name$F, bem$E, t$9] = createNamespace("coupon-cell");
8094
+ const Coupon = withInstall(stdin_default$Q);
8095
+ const [name$J, bem$I, t$9] = createNamespace("coupon-cell");
8092
8096
  const couponCellProps = {
8093
8097
  title: String,
8094
8098
  border: truthProp,
@@ -8116,34 +8120,34 @@
8116
8120
  }
8117
8121
  return coupons.length === 0 ? t$9("noCoupon") : t$9("count", coupons.length);
8118
8122
  }
8119
- var stdin_default$L = vue.defineComponent({
8120
- name: name$F,
8123
+ var stdin_default$P = vue.defineComponent({
8124
+ name: name$J,
8121
8125
  props: couponCellProps,
8122
8126
  setup(props) {
8123
8127
  return () => {
8124
8128
  const selected = props.coupons[+props.chosenCoupon];
8125
8129
  return vue.createVNode(Cell, {
8126
- "class": bem$E(),
8130
+ "class": bem$I(),
8127
8131
  "value": formatValue(props),
8128
8132
  "title": props.title || t$9("title"),
8129
8133
  "border": props.border,
8130
8134
  "isLink": props.editable,
8131
- "valueClass": bem$E("value", {
8135
+ "valueClass": bem$I("value", {
8132
8136
  selected
8133
8137
  })
8134
8138
  }, null);
8135
8139
  };
8136
8140
  }
8137
8141
  });
8138
- const CouponCell = withInstall(stdin_default$L);
8139
- const [name$E, bem$D] = createNamespace("empty");
8142
+ const CouponCell = withInstall(stdin_default$P);
8143
+ const [name$I, bem$H] = createNamespace("empty");
8140
8144
  const emptyProps = {
8141
8145
  image: makeStringProp("default"),
8142
8146
  imageSize: [Number, String, Array],
8143
8147
  description: String
8144
8148
  };
8145
- var stdin_default$K = vue.defineComponent({
8146
- name: name$E,
8149
+ var stdin_default$O = vue.defineComponent({
8150
+ name: name$I,
8147
8151
  props: emptyProps,
8148
8152
  setup(props, {
8149
8153
  slots
@@ -8152,14 +8156,14 @@
8152
8156
  const description = slots.description ? slots.description() : props.description;
8153
8157
  if (description) {
8154
8158
  return vue.createVNode("p", {
8155
- "class": bem$D("description")
8159
+ "class": bem$H("description")
8156
8160
  }, [description]);
8157
8161
  }
8158
8162
  };
8159
8163
  const renderBottom = () => {
8160
8164
  if (slots.default) {
8161
8165
  return vue.createVNode("div", {
8162
- "class": bem$D("bottom")
8166
+ "class": bem$H("bottom")
8163
8167
  }, [slots.default()]);
8164
8168
  }
8165
8169
  };
@@ -8444,15 +8448,15 @@
8444
8448
  }, null);
8445
8449
  };
8446
8450
  return () => vue.createVNode("div", {
8447
- "class": bem$D()
8451
+ "class": bem$H()
8448
8452
  }, [vue.createVNode("div", {
8449
- "class": bem$D("image"),
8453
+ "class": bem$H("image"),
8450
8454
  "style": getSizeStyle(props.imageSize)
8451
8455
  }, [renderImage()]), renderDescription(), renderBottom()]);
8452
8456
  }
8453
8457
  });
8454
- const Empty = withInstall(stdin_default$K);
8455
- const [name$D, bem$C, t$8] = createNamespace("coupon-list");
8458
+ const Empty = withInstall(stdin_default$O);
8459
+ const [name$H, bem$G, t$8] = createNamespace("coupon-list");
8456
8460
  const couponListProps = {
8457
8461
  code: makeStringProp(""),
8458
8462
  coupons: makeArrayProp(),
@@ -8473,8 +8477,8 @@
8473
8477
  exchangeButtonLoading: Boolean,
8474
8478
  exchangeButtonDisabled: Boolean
8475
8479
  };
8476
- var stdin_default$J = vue.defineComponent({
8477
- name: name$D,
8480
+ var stdin_default$N = vue.defineComponent({
8481
+ name: name$H,
8478
8482
  props: couponListProps,
8479
8483
  emits: ["change", "exchange", "update:code"],
8480
8484
  setup(props, {
@@ -8510,26 +8514,26 @@
8510
8514
  "image": props.emptyImage
8511
8515
  }, {
8512
8516
  default: () => [vue.createVNode("p", {
8513
- "class": bem$C("empty-tip")
8517
+ "class": bem$G("empty-tip")
8514
8518
  }, [t$8("noCoupon")])]
8515
8519
  });
8516
8520
  const renderExchangeBar = () => {
8517
8521
  if (props.showExchangeBar) {
8518
8522
  return vue.createVNode("div", {
8519
8523
  "ref": barRef,
8520
- "class": bem$C("exchange-bar")
8524
+ "class": bem$G("exchange-bar")
8521
8525
  }, [vue.createVNode(Field, {
8522
8526
  "modelValue": currentCode.value,
8523
8527
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
8524
8528
  "clearable": true,
8525
8529
  "border": false,
8526
- "class": bem$C("field"),
8530
+ "class": bem$G("field"),
8527
8531
  "placeholder": props.inputPlaceholder || t$8("placeholder"),
8528
8532
  "maxlength": "20"
8529
8533
  }, null), vue.createVNode(Button, {
8530
8534
  "plain": true,
8531
8535
  "type": "primary",
8532
- "class": bem$C("exchange"),
8536
+ "class": bem$G("exchange"),
8533
8537
  "text": props.exchangeButtonText || t$8("exchange"),
8534
8538
  "loading": props.exchangeButtonLoading,
8535
8539
  "disabled": buttonDisabled.value,
@@ -8549,7 +8553,7 @@
8549
8553
  default: () => {
8550
8554
  var _a;
8551
8555
  return [vue.createVNode("div", {
8552
- "class": bem$C("list", {
8556
+ "class": bem$G("list", {
8553
8557
  "with-bottom": props.showCloseButton
8554
8558
  }),
8555
8559
  "style": {
@@ -8578,7 +8582,7 @@
8578
8582
  default: () => {
8579
8583
  var _a;
8580
8584
  return [vue.createVNode("div", {
8581
- "class": bem$C("list", {
8585
+ "class": bem$G("list", {
8582
8586
  "with-bottom": props.showCloseButton
8583
8587
  }),
8584
8588
  "style": {
@@ -8605,28 +8609,28 @@
8605
8609
  });
8606
8610
  return () => vue.createVNode("div", {
8607
8611
  "ref": root,
8608
- "class": bem$C()
8612
+ "class": bem$G()
8609
8613
  }, [renderExchangeBar(), vue.createVNode(Tabs, {
8610
8614
  "active": activeTab.value,
8611
8615
  "onUpdate:active": ($event) => activeTab.value = $event,
8612
- "class": bem$C("tab")
8616
+ "class": bem$G("tab")
8613
8617
  }, {
8614
8618
  default: () => [renderCouponTab(), renderDisabledTab()]
8615
8619
  }), vue.createVNode("div", {
8616
- "class": bem$C("bottom")
8620
+ "class": bem$G("bottom")
8617
8621
  }, [vue.withDirectives(vue.createVNode(Button, {
8618
8622
  "round": true,
8619
8623
  "block": true,
8620
8624
  "type": "primary",
8621
- "class": bem$C("close"),
8625
+ "class": bem$G("close"),
8622
8626
  "text": props.closeButtonText || t$8("close"),
8623
8627
  "onClick": () => emit("change", -1)
8624
8628
  }, null), [[vue.vShow, props.showCloseButton]])])]);
8625
8629
  }
8626
8630
  });
8627
- const CouponList = withInstall(stdin_default$J);
8631
+ const CouponList = withInstall(stdin_default$N);
8628
8632
  const currentYear = new Date().getFullYear();
8629
- const [name$C] = createNamespace("date-picker");
8633
+ const [name$G] = createNamespace("date-picker");
8630
8634
  const datePickerProps = extend({}, sharedProps, {
8631
8635
  columnsType: {
8632
8636
  type: Array,
@@ -8643,8 +8647,8 @@
8643
8647
  validator: isDate
8644
8648
  }
8645
8649
  });
8646
- var stdin_default$I = vue.defineComponent({
8647
- name: name$C,
8650
+ var stdin_default$M = vue.defineComponent({
8651
+ name: name$G,
8648
8652
  props: datePickerProps,
8649
8653
  emits: ["confirm", "cancel", "change", "update:modelValue"],
8650
8654
  setup(props, {
@@ -8702,7 +8706,7 @@
8702
8706
  case "day":
8703
8707
  return genDayOptions();
8704
8708
  default:
8705
- throw new Error(`[Vant] DatePicker: unsupported columns type: ${type}`);
8709
+ return [];
8706
8710
  }
8707
8711
  }));
8708
8712
  vue.watch(currentValues, (newValues) => {
@@ -8731,8 +8735,8 @@
8731
8735
  }, pick(props, pickerInheritKeys)), slots);
8732
8736
  }
8733
8737
  });
8734
- const DatePicker = withInstall(stdin_default$I);
8735
- const [name$B, bem$B, t$7] = createNamespace("dialog");
8738
+ const DatePicker = withInstall(stdin_default$M);
8739
+ const [name$F, bem$F, t$7] = createNamespace("dialog");
8736
8740
  const dialogProps = extend({}, popupSharedProps, {
8737
8741
  title: String,
8738
8742
  theme: String,
@@ -8755,8 +8759,8 @@
8755
8759
  closeOnClickOverlay: Boolean
8756
8760
  });
8757
8761
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
8758
- var stdin_default$H = vue.defineComponent({
8759
- name: name$B,
8762
+ var stdin_default$L = vue.defineComponent({
8763
+ name: name$F,
8760
8764
  props: dialogProps,
8761
8765
  emits: ["confirm", "cancel", "keydown", "update:show"],
8762
8766
  setup(props, {
@@ -8813,7 +8817,7 @@
8813
8817
  const title = slots.title ? slots.title() : props.title;
8814
8818
  if (title) {
8815
8819
  return vue.createVNode("div", {
8816
- "class": bem$B("header", {
8820
+ "class": bem$F("header", {
8817
8821
  isolated: !props.message && !slots.default
8818
8822
  })
8819
8823
  }, [title]);
@@ -8825,7 +8829,7 @@
8825
8829
  allowHtml,
8826
8830
  messageAlign
8827
8831
  } = props;
8828
- const classNames = bem$B("message", {
8832
+ const classNames = bem$F("message", {
8829
8833
  "has-title": hasTitle,
8830
8834
  [messageAlign]: messageAlign
8831
8835
  });
@@ -8843,7 +8847,7 @@
8843
8847
  const renderContent = () => {
8844
8848
  if (slots.default) {
8845
8849
  return vue.createVNode("div", {
8846
- "class": bem$B("content")
8850
+ "class": bem$F("content")
8847
8851
  }, [slots.default()]);
8848
8852
  }
8849
8853
  const {
@@ -8855,18 +8859,18 @@
8855
8859
  const hasTitle = !!(title || slots.title);
8856
8860
  return vue.createVNode("div", {
8857
8861
  "key": allowHtml ? 1 : 0,
8858
- "class": bem$B("content", {
8862
+ "class": bem$F("content", {
8859
8863
  isolated: !hasTitle
8860
8864
  })
8861
8865
  }, [renderMessage(hasTitle)]);
8862
8866
  }
8863
8867
  };
8864
8868
  const renderButtons = () => vue.createVNode("div", {
8865
- "class": [BORDER_TOP, bem$B("footer")]
8869
+ "class": [BORDER_TOP, bem$F("footer")]
8866
8870
  }, [props.showCancelButton && vue.createVNode(Button, {
8867
8871
  "size": "large",
8868
8872
  "text": props.cancelButtonText || t$7("cancel"),
8869
- "class": bem$B("cancel"),
8873
+ "class": bem$F("cancel"),
8870
8874
  "style": {
8871
8875
  color: props.cancelButtonColor
8872
8876
  },
@@ -8876,7 +8880,7 @@
8876
8880
  }, null), props.showConfirmButton && vue.createVNode(Button, {
8877
8881
  "size": "large",
8878
8882
  "text": props.confirmButtonText || t$7("confirm"),
8879
- "class": [bem$B("confirm"), {
8883
+ "class": [bem$F("confirm"), {
8880
8884
  [BORDER_LEFT]: props.showCancelButton
8881
8885
  }],
8882
8886
  "style": {
@@ -8887,12 +8891,12 @@
8887
8891
  "onClick": onConfirm
8888
8892
  }, null)]);
8889
8893
  const renderRoundButtons = () => vue.createVNode(ActionBar, {
8890
- "class": bem$B("footer")
8894
+ "class": bem$F("footer")
8891
8895
  }, {
8892
8896
  default: () => [props.showCancelButton && vue.createVNode(ActionBarButton, {
8893
8897
  "type": "warning",
8894
8898
  "text": props.cancelButtonText || t$7("cancel"),
8895
- "class": bem$B("cancel"),
8899
+ "class": bem$F("cancel"),
8896
8900
  "color": props.cancelButtonColor,
8897
8901
  "loading": loading.cancel,
8898
8902
  "disabled": props.cancelButtonDisabled,
@@ -8900,7 +8904,7 @@
8900
8904
  }, null), props.showConfirmButton && vue.createVNode(ActionBarButton, {
8901
8905
  "type": "danger",
8902
8906
  "text": props.confirmButtonText || t$7("confirm"),
8903
- "class": bem$B("confirm"),
8907
+ "class": bem$F("confirm"),
8904
8908
  "color": props.confirmButtonColor,
8905
8909
  "loading": loading.confirm,
8906
8910
  "disabled": props.confirmButtonDisabled,
@@ -8924,7 +8928,7 @@
8924
8928
  return vue.createVNode(Popup, vue.mergeProps({
8925
8929
  "ref": root,
8926
8930
  "role": "dialog",
8927
- "class": [bem$B([theme]), className],
8931
+ "class": [bem$F([theme]), className],
8928
8932
  "style": {
8929
8933
  width: addUnit(width2)
8930
8934
  },
@@ -8974,7 +8978,7 @@
8974
8978
  state,
8975
8979
  toggle
8976
8980
  } = usePopupState();
8977
- return () => vue.createVNode(stdin_default$H, vue.mergeProps(state, {
8981
+ return () => vue.createVNode(stdin_default$L, vue.mergeProps(state, {
8978
8982
  "onUpdate:show": toggle
8979
8983
  }), null);
8980
8984
  }
@@ -9012,15 +9016,15 @@
9012
9016
  instance$2.toggle(false);
9013
9017
  }
9014
9018
  };
9015
- const Dialog = withInstall(stdin_default$H);
9016
- const [name$A, bem$A] = createNamespace("divider");
9019
+ const Dialog = withInstall(stdin_default$L);
9020
+ const [name$E, bem$E] = createNamespace("divider");
9017
9021
  const dividerProps = {
9018
9022
  dashed: Boolean,
9019
9023
  hairline: truthProp,
9020
9024
  contentPosition: makeStringProp("center")
9021
9025
  };
9022
- var stdin_default$G = vue.defineComponent({
9023
- name: name$A,
9026
+ var stdin_default$K = vue.defineComponent({
9027
+ name: name$E,
9024
9028
  props: dividerProps,
9025
9029
  setup(props, {
9026
9030
  slots
@@ -9029,7 +9033,7 @@
9029
9033
  var _a;
9030
9034
  return vue.createVNode("div", {
9031
9035
  "role": "separator",
9032
- "class": bem$A({
9036
+ "class": bem$E({
9033
9037
  dashed: props.dashed,
9034
9038
  hairline: props.hairline,
9035
9039
  [`content-${props.contentPosition}`]: !!slots.default
@@ -9038,8 +9042,8 @@
9038
9042
  };
9039
9043
  }
9040
9044
  });
9041
- const Divider = withInstall(stdin_default$G);
9042
- const [name$z, bem$z] = createNamespace("dropdown-menu");
9045
+ const Divider = withInstall(stdin_default$K);
9046
+ const [name$D, bem$D] = createNamespace("dropdown-menu");
9043
9047
  const dropdownMenuProps = {
9044
9048
  overlay: truthProp,
9045
9049
  zIndex: numericProp,
@@ -9049,9 +9053,9 @@
9049
9053
  closeOnClickOutside: truthProp,
9050
9054
  closeOnClickOverlay: truthProp
9051
9055
  };
9052
- const DROPDOWN_KEY = Symbol(name$z);
9053
- var stdin_default$F = vue.defineComponent({
9054
- name: name$z,
9056
+ const DROPDOWN_KEY = Symbol(name$D);
9057
+ var stdin_default$J = vue.defineComponent({
9058
+ name: name$D,
9055
9059
  props: dropdownMenuProps,
9056
9060
  setup(props, {
9057
9061
  slots
@@ -9119,7 +9123,7 @@
9119
9123
  "id": `${id}-${index}`,
9120
9124
  "role": "button",
9121
9125
  "tabindex": disabled ? void 0 : 0,
9122
- "class": [bem$z("item", {
9126
+ "class": [bem$D("item", {
9123
9127
  disabled
9124
9128
  }), {
9125
9129
  [HAPTICS_FEEDBACK]: !disabled
@@ -9130,7 +9134,7 @@
9130
9134
  }
9131
9135
  }
9132
9136
  }, [vue.createVNode("span", {
9133
- "class": [bem$z("title", {
9137
+ "class": [bem$D("title", {
9134
9138
  down: showPopup === (props.direction === "down"),
9135
9139
  active: showPopup
9136
9140
  }), titleClass],
@@ -9155,18 +9159,18 @@
9155
9159
  var _a;
9156
9160
  return vue.createVNode("div", {
9157
9161
  "ref": root,
9158
- "class": bem$z()
9162
+ "class": bem$D()
9159
9163
  }, [vue.createVNode("div", {
9160
9164
  "ref": barRef,
9161
9165
  "style": barStyle.value,
9162
- "class": bem$z("bar", {
9166
+ "class": bem$D("bar", {
9163
9167
  opened: opened.value
9164
9168
  })
9165
9169
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
9166
9170
  };
9167
9171
  }
9168
9172
  });
9169
- const [name$y, bem$y] = createNamespace("dropdown-item");
9173
+ const [name$C, bem$C] = createNamespace("dropdown-item");
9170
9174
  const dropdownItemProps = {
9171
9175
  title: String,
9172
9176
  options: makeArrayProp(),
@@ -9176,8 +9180,8 @@
9176
9180
  modelValue: unknownProp,
9177
9181
  titleClass: unknownProp
9178
9182
  };
9179
- var stdin_default$E = vue.defineComponent({
9180
- name: name$y,
9183
+ var stdin_default$I = vue.defineComponent({
9184
+ name: name$C,
9181
9185
  props: dropdownItemProps,
9182
9186
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
9183
9187
  setup(props, {
@@ -9244,7 +9248,7 @@
9244
9248
  const renderIcon = () => {
9245
9249
  if (active) {
9246
9250
  return vue.createVNode(Icon, {
9247
- "class": bem$y("icon"),
9251
+ "class": bem$C("icon"),
9248
9252
  "color": activeColor,
9249
9253
  "name": "success"
9250
9254
  }, null);
@@ -9255,7 +9259,7 @@
9255
9259
  "key": option.value,
9256
9260
  "icon": option.icon,
9257
9261
  "title": option.text,
9258
- "class": bem$y("option", {
9262
+ "class": bem$C("option", {
9259
9263
  active
9260
9264
  }),
9261
9265
  "style": {
@@ -9287,13 +9291,13 @@
9287
9291
  }
9288
9292
  return vue.withDirectives(vue.createVNode("div", {
9289
9293
  "style": style,
9290
- "class": bem$y([direction]),
9294
+ "class": bem$C([direction]),
9291
9295
  "onClick": onClickWrapper
9292
9296
  }, [vue.createVNode(Popup, {
9293
9297
  "show": state.showPopup,
9294
9298
  "onUpdate:show": ($event) => state.showPopup = $event,
9295
9299
  "role": "menu",
9296
- "class": bem$y("content"),
9300
+ "class": bem$C("content"),
9297
9301
  "overlay": overlay,
9298
9302
  "position": direction === "down" ? "top" : "bottom",
9299
9303
  "duration": state.transition ? duration : 0,
@@ -9331,9 +9335,9 @@
9331
9335
  };
9332
9336
  }
9333
9337
  });
9334
- const DropdownItem = withInstall(stdin_default$E);
9335
- const DropdownMenu = withInstall(stdin_default$F);
9336
- const [name$x, bem$x] = createNamespace("grid");
9338
+ const DropdownItem = withInstall(stdin_default$I);
9339
+ const DropdownMenu = withInstall(stdin_default$J);
9340
+ const [name$B, bem$B] = createNamespace("grid");
9337
9341
  const gridProps = {
9338
9342
  square: Boolean,
9339
9343
  center: truthProp,
@@ -9345,9 +9349,9 @@
9345
9349
  clickable: Boolean,
9346
9350
  columnNum: makeNumericProp(4)
9347
9351
  };
9348
- const GRID_KEY = Symbol(name$x);
9349
- var stdin_default$D = vue.defineComponent({
9350
- name: name$x,
9352
+ const GRID_KEY = Symbol(name$B);
9353
+ var stdin_default$H = vue.defineComponent({
9354
+ name: name$B,
9351
9355
  props: gridProps,
9352
9356
  setup(props, {
9353
9357
  slots
@@ -9364,15 +9368,15 @@
9364
9368
  "style": {
9365
9369
  paddingLeft: addUnit(props.gutter)
9366
9370
  },
9367
- "class": [bem$x(), {
9371
+ "class": [bem$B(), {
9368
9372
  [BORDER_TOP]: props.border && !props.gutter
9369
9373
  }]
9370
9374
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
9371
9375
  };
9372
9376
  }
9373
9377
  });
9374
- const Grid = withInstall(stdin_default$D);
9375
- const [name$w, bem$w] = createNamespace("grid-item");
9378
+ const Grid = withInstall(stdin_default$H);
9379
+ const [name$A, bem$A] = createNamespace("grid-item");
9376
9380
  const gridItemProps = extend({}, routeProps, {
9377
9381
  dot: Boolean,
9378
9382
  text: String,
@@ -9382,8 +9386,8 @@
9382
9386
  iconPrefix: String,
9383
9387
  badgeProps: Object
9384
9388
  });
9385
- var stdin_default$C = vue.defineComponent({
9386
- name: name$w,
9389
+ var stdin_default$G = vue.defineComponent({
9390
+ name: name$A,
9387
9391
  props: gridItemProps,
9388
9392
  setup(props, {
9389
9393
  slots
@@ -9446,7 +9450,7 @@
9446
9450
  "name": props.icon,
9447
9451
  "size": parent.props.iconSize,
9448
9452
  "badge": props.badge,
9449
- "class": bem$w("icon"),
9453
+ "class": bem$A("icon"),
9450
9454
  "color": props.iconColor,
9451
9455
  "badgeProps": props.badgeProps,
9452
9456
  "classPrefix": props.iconPrefix
@@ -9459,7 +9463,7 @@
9459
9463
  }
9460
9464
  if (props.text) {
9461
9465
  return vue.createVNode("span", {
9462
- "class": bem$w("text")
9466
+ "class": bem$A("text")
9463
9467
  }, [props.text]);
9464
9468
  }
9465
9469
  };
@@ -9479,7 +9483,7 @@
9479
9483
  direction,
9480
9484
  clickable
9481
9485
  } = parent.props;
9482
- const classes = [bem$w("content", [direction, {
9486
+ const classes = [bem$A("content", [direction, {
9483
9487
  center,
9484
9488
  square,
9485
9489
  reverse,
@@ -9489,7 +9493,7 @@
9489
9493
  [BORDER]: border
9490
9494
  }];
9491
9495
  return vue.createVNode("div", {
9492
- "class": [bem$w({
9496
+ "class": [bem$A({
9493
9497
  square
9494
9498
  })],
9495
9499
  "style": rootStyle.value
@@ -9503,10 +9507,10 @@
9503
9507
  };
9504
9508
  }
9505
9509
  });
9506
- const GridItem = withInstall(stdin_default$C);
9510
+ const GridItem = withInstall(stdin_default$G);
9507
9511
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
9508
- const bem$v = createNamespace("image-preview")[1];
9509
- var stdin_default$B = vue.defineComponent({
9512
+ const bem$z = createNamespace("image-preview")[1];
9513
+ var stdin_default$F = vue.defineComponent({
9510
9514
  props: {
9511
9515
  src: String,
9512
9516
  show: Boolean,
@@ -9516,7 +9520,7 @@
9516
9520
  rootWidth: makeRequiredProp(Number),
9517
9521
  rootHeight: makeRequiredProp(Number)
9518
9522
  },
9519
- emits: ["scale", "close"],
9523
+ emits: ["scale", "close", "longPress"],
9520
9524
  setup(props, {
9521
9525
  emit,
9522
9526
  slots
@@ -9663,16 +9667,20 @@
9663
9667
  const deltaTime = Date.now() - touchStartTime;
9664
9668
  const TAP_TIME = 250;
9665
9669
  const TAP_OFFSET = 5;
9666
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET && deltaTime < TAP_TIME) {
9667
- if (doubleTapTimer) {
9668
- clearTimeout(doubleTapTimer);
9669
- doubleTapTimer = null;
9670
- toggleScale();
9671
- } else {
9672
- doubleTapTimer = setTimeout(() => {
9673
- emit("close");
9670
+ if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
9671
+ if (deltaTime < TAP_TIME) {
9672
+ if (doubleTapTimer) {
9673
+ clearTimeout(doubleTapTimer);
9674
9674
  doubleTapTimer = null;
9675
- }, TAP_TIME);
9675
+ toggleScale();
9676
+ } else {
9677
+ doubleTapTimer = setTimeout(() => {
9678
+ emit("close");
9679
+ doubleTapTimer = null;
9680
+ }, TAP_TIME);
9681
+ }
9682
+ } else if (deltaTime > LONG_PRESS_START_TIME) {
9683
+ emit("longPress");
9676
9684
  }
9677
9685
  }
9678
9686
  };
@@ -9732,19 +9740,19 @@
9732
9740
  };
9733
9741
  return vue.createVNode(SwipeItem, {
9734
9742
  "ref": swipeItem,
9735
- "class": bem$v("swipe-item"),
9743
+ "class": bem$z("swipe-item"),
9736
9744
  "onTouchstartPassive": onTouchStart,
9737
9745
  "onTouchend": onTouchEnd,
9738
9746
  "onTouchcancel": onTouchEnd
9739
9747
  }, {
9740
9748
  default: () => [slots.image ? vue.createVNode("div", {
9741
- "class": bem$v("image-wrap")
9749
+ "class": bem$z("image-wrap")
9742
9750
  }, [slots.image({
9743
9751
  src: props.src
9744
9752
  })]) : vue.createVNode(Image$1, {
9745
9753
  "src": props.src,
9746
9754
  "fit": "contain",
9747
- "class": bem$v("image", {
9755
+ "class": bem$z("image", {
9748
9756
  vertical: vertical.value
9749
9757
  }),
9750
9758
  "style": imageStyle.value,
@@ -9754,7 +9762,7 @@
9754
9762
  };
9755
9763
  }
9756
9764
  });
9757
- const [name$v, bem$u] = createNamespace("image-preview");
9765
+ const [name$z, bem$y] = createNamespace("image-preview");
9758
9766
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
9759
9767
  const imagePreviewProps = {
9760
9768
  show: Boolean,
@@ -9777,10 +9785,10 @@
9777
9785
  closeOnPopstate: truthProp,
9778
9786
  closeIconPosition: makeStringProp("top-right")
9779
9787
  };
9780
- var stdin_default$A = vue.defineComponent({
9781
- name: name$v,
9788
+ var stdin_default$E = vue.defineComponent({
9789
+ name: name$z,
9782
9790
  props: imagePreviewProps,
9783
- emits: ["scale", "close", "closed", "change", "update:show"],
9791
+ emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
9784
9792
  setup(props, {
9785
9793
  emit,
9786
9794
  slots
@@ -9816,7 +9824,7 @@
9816
9824
  const renderIndex = () => {
9817
9825
  if (props.showIndex) {
9818
9826
  return vue.createVNode("div", {
9819
- "class": bem$u("index")
9827
+ "class": bem$y("index")
9820
9828
  }, [slots.index ? slots.index({
9821
9829
  index: state.active
9822
9830
  }) : `${state.active + 1} / ${props.images.length}`]);
@@ -9825,7 +9833,7 @@
9825
9833
  const renderCover = () => {
9826
9834
  if (slots.cover) {
9827
9835
  return vue.createVNode("div", {
9828
- "class": bem$u("cover")
9836
+ "class": bem$y("cover")
9829
9837
  }, [slots.cover()]);
9830
9838
  }
9831
9839
  };
@@ -9833,14 +9841,14 @@
9833
9841
  "ref": swipeRef,
9834
9842
  "lazyRender": true,
9835
9843
  "loop": props.loop,
9836
- "class": bem$u("swipe"),
9844
+ "class": bem$y("swipe"),
9837
9845
  "duration": props.swipeDuration,
9838
9846
  "initialSwipe": props.startPosition,
9839
9847
  "showIndicators": props.showIndicators,
9840
9848
  "indicatorColor": "white",
9841
9849
  "onChange": setActive
9842
9850
  }, {
9843
- default: () => [props.images.map((image) => vue.createVNode(stdin_default$B, {
9851
+ default: () => [props.images.map((image, index) => vue.createVNode(stdin_default$F, {
9844
9852
  "src": image,
9845
9853
  "show": props.show,
9846
9854
  "active": state.active,
@@ -9849,7 +9857,10 @@
9849
9857
  "rootWidth": state.rootWidth,
9850
9858
  "rootHeight": state.rootHeight,
9851
9859
  "onScale": emitScale,
9852
- "onClose": emitClose
9860
+ "onClose": emitClose,
9861
+ "onLongPress": () => emit("longPress", {
9862
+ index
9863
+ })
9853
9864
  }, {
9854
9865
  image: slots.image
9855
9866
  }))]
@@ -9859,7 +9870,7 @@
9859
9870
  return vue.createVNode(Icon, {
9860
9871
  "role": "button",
9861
9872
  "name": props.closeIcon,
9862
- "class": [bem$u("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
9873
+ "class": [bem$y("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
9863
9874
  "onClick": emitClose
9864
9875
  }, null);
9865
9876
  }
@@ -9896,8 +9907,8 @@
9896
9907
  }
9897
9908
  });
9898
9909
  return () => vue.createVNode(Popup, vue.mergeProps({
9899
- "class": [bem$u(), props.className],
9900
- "overlayClass": [bem$u("overlay"), props.overlayClass],
9910
+ "class": [bem$y(), props.className],
9911
+ "overlayClass": [bem$y("overlay"), props.overlayClass],
9901
9912
  "onClosed": onClosed,
9902
9913
  "onUpdate:show": updateShow
9903
9914
  }, pick(props, popupProps$1)), {
@@ -9941,7 +9952,7 @@
9941
9952
  const onClosed = () => {
9942
9953
  state.images = [];
9943
9954
  };
9944
- return () => vue.createVNode(stdin_default$A, vue.mergeProps(state, {
9955
+ return () => vue.createVNode(stdin_default$E, vue.mergeProps(state, {
9945
9956
  "onClosed": onClosed,
9946
9957
  "onUpdate:show": toggle
9947
9958
  }), null);
@@ -9962,13 +9973,13 @@
9962
9973
  instance$1.open(extend({}, defaultConfig, options));
9963
9974
  return instance$1;
9964
9975
  };
9965
- const ImagePreview = withInstall(stdin_default$A);
9976
+ const ImagePreview = withInstall(stdin_default$E);
9966
9977
  function genAlphabet() {
9967
9978
  const charCodeOfA = "A".charCodeAt(0);
9968
9979
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
9969
9980
  return indexList;
9970
9981
  }
9971
- const [name$u, bem$t] = createNamespace("index-bar");
9982
+ const [name$y, bem$x] = createNamespace("index-bar");
9972
9983
  const indexBarProps = {
9973
9984
  sticky: truthProp,
9974
9985
  zIndex: numericProp,
@@ -9980,9 +9991,9 @@
9980
9991
  default: genAlphabet
9981
9992
  }
9982
9993
  };
9983
- const INDEX_BAR_KEY = Symbol(name$u);
9984
- var stdin_default$z = vue.defineComponent({
9985
- name: name$u,
9994
+ const INDEX_BAR_KEY = Symbol(name$y);
9995
+ var stdin_default$D = vue.defineComponent({
9996
+ name: name$y,
9986
9997
  props: indexBarProps,
9987
9998
  emits: ["select", "change"],
9988
9999
  setup(props, {
@@ -10094,7 +10105,7 @@
10094
10105
  const renderIndexes = () => props.indexList.map((index) => {
10095
10106
  const active = index === activeAnchor.value;
10096
10107
  return vue.createVNode("span", {
10097
- "class": bem$t("index", {
10108
+ "class": bem$x("index", {
10098
10109
  active
10099
10110
  }),
10100
10111
  "style": active ? highlightStyle.value : void 0,
@@ -10155,7 +10166,7 @@
10155
10166
  };
10156
10167
  const renderSidebar = () => vue.createVNode("div", {
10157
10168
  "ref": sidebar,
10158
- "class": bem$t("sidebar"),
10169
+ "class": bem$x("sidebar"),
10159
10170
  "style": sidebarStyle.value,
10160
10171
  "onClick": onClickSidebar,
10161
10172
  "onTouchstartPassive": touch.start
@@ -10170,7 +10181,7 @@
10170
10181
  var _a;
10171
10182
  return vue.createVNode("div", {
10172
10183
  "ref": root,
10173
- "class": bem$t()
10184
+ "class": bem$x()
10174
10185
  }, [props.teleport ? vue.createVNode(vue.Teleport, {
10175
10186
  "to": props.teleport
10176
10187
  }, {
@@ -10179,12 +10190,12 @@
10179
10190
  };
10180
10191
  }
10181
10192
  });
10182
- const [name$t, bem$s] = createNamespace("index-anchor");
10193
+ const [name$x, bem$w] = createNamespace("index-anchor");
10183
10194
  const indexAnchorProps = {
10184
10195
  index: numericProp
10185
10196
  };
10186
- var stdin_default$y = vue.defineComponent({
10187
- name: name$t,
10197
+ var stdin_default$C = vue.defineComponent({
10198
+ name: name$x,
10188
10199
  props: indexAnchorProps,
10189
10200
  setup(props, {
10190
10201
  slots
@@ -10244,7 +10255,7 @@
10244
10255
  }
10245
10256
  }, [vue.createVNode("div", {
10246
10257
  "style": anchorStyle.value,
10247
- "class": [bem$s({
10258
+ "class": [bem$w({
10248
10259
  sticky
10249
10260
  }), {
10250
10261
  [BORDER_BOTTOM]: sticky
@@ -10253,9 +10264,9 @@
10253
10264
  };
10254
10265
  }
10255
10266
  });
10256
- const IndexAnchor = withInstall(stdin_default$y);
10257
- const IndexBar = withInstall(stdin_default$z);
10258
- const [name$s, bem$r, t$6] = createNamespace("list");
10267
+ const IndexAnchor = withInstall(stdin_default$C);
10268
+ const IndexBar = withInstall(stdin_default$D);
10269
+ const [name$w, bem$v, t$6] = createNamespace("list");
10259
10270
  const listProps = {
10260
10271
  error: Boolean,
10261
10272
  offset: makeNumericProp(300),
@@ -10267,8 +10278,8 @@
10267
10278
  finishedText: String,
10268
10279
  immediateCheck: truthProp
10269
10280
  };
10270
- var stdin_default$x = vue.defineComponent({
10271
- name: name$s,
10281
+ var stdin_default$B = vue.defineComponent({
10282
+ name: name$w,
10272
10283
  props: listProps,
10273
10284
  emits: ["load", "update:error", "update:loading"],
10274
10285
  setup(props, {
@@ -10312,7 +10323,7 @@
10312
10323
  const text = slots.finished ? slots.finished() : props.finishedText;
10313
10324
  if (text) {
10314
10325
  return vue.createVNode("div", {
10315
- "class": bem$r("finished-text")
10326
+ "class": bem$v("finished-text")
10316
10327
  }, [text]);
10317
10328
  }
10318
10329
  }
@@ -10327,7 +10338,7 @@
10327
10338
  if (text) {
10328
10339
  return vue.createVNode("div", {
10329
10340
  "role": "button",
10330
- "class": bem$r("error-text"),
10341
+ "class": bem$v("error-text"),
10331
10342
  "tabindex": 0,
10332
10343
  "onClick": clickErrorText
10333
10344
  }, [text]);
@@ -10337,9 +10348,9 @@
10337
10348
  const renderLoading = () => {
10338
10349
  if (loading.value && !props.finished) {
10339
10350
  return vue.createVNode("div", {
10340
- "class": bem$r("loading")
10351
+ "class": bem$v("loading")
10341
10352
  }, [slots.loading ? slots.loading() : vue.createVNode(Loading, {
10342
- "class": bem$r("loading-icon")
10353
+ "class": bem$v("loading-icon")
10343
10354
  }, {
10344
10355
  default: () => [props.loadingText || t$6("loading")]
10345
10356
  })]);
@@ -10373,19 +10384,19 @@
10373
10384
  const Content = (_a = slots.default) == null ? void 0 : _a.call(slots);
10374
10385
  const Placeholder = vue.createVNode("div", {
10375
10386
  "ref": placeholder,
10376
- "class": bem$r("placeholder")
10387
+ "class": bem$v("placeholder")
10377
10388
  }, null);
10378
10389
  return vue.createVNode("div", {
10379
10390
  "ref": root,
10380
10391
  "role": "feed",
10381
- "class": bem$r(),
10392
+ "class": bem$v(),
10382
10393
  "aria-busy": loading.value
10383
10394
  }, [props.direction === "down" ? Content : Placeholder, renderLoading(), renderFinishedText(), renderErrorText(), props.direction === "up" ? Content : Placeholder]);
10384
10395
  };
10385
10396
  }
10386
10397
  });
10387
- const List = withInstall(stdin_default$x);
10388
- const [name$r, bem$q] = createNamespace("nav-bar");
10398
+ const List = withInstall(stdin_default$B);
10399
+ const [name$v, bem$u] = createNamespace("nav-bar");
10389
10400
  const navBarProps = {
10390
10401
  title: String,
10391
10402
  fixed: Boolean,
@@ -10398,8 +10409,8 @@
10398
10409
  safeAreaInsetTop: Boolean,
10399
10410
  clickable: truthProp
10400
10411
  };
10401
- var stdin_default$w = vue.defineComponent({
10402
- name: name$r,
10412
+ var stdin_default$A = vue.defineComponent({
10413
+ name: name$v,
10403
10414
  props: navBarProps,
10404
10415
  emits: ["clickLeft", "clickRight"],
10405
10416
  setup(props, {
@@ -10407,7 +10418,7 @@
10407
10418
  slots
10408
10419
  }) {
10409
10420
  const navBarRef = vue.ref();
10410
- const renderPlaceholder = usePlaceholder(navBarRef, bem$q);
10421
+ const renderPlaceholder = usePlaceholder(navBarRef, bem$u);
10411
10422
  const onClickLeft = (event) => emit("clickLeft", event);
10412
10423
  const onClickRight = (event) => emit("clickRight", event);
10413
10424
  const renderLeft = () => {
@@ -10415,10 +10426,10 @@
10415
10426
  return slots.left();
10416
10427
  }
10417
10428
  return [props.leftArrow && vue.createVNode(Icon, {
10418
- "class": bem$q("arrow"),
10429
+ "class": bem$u("arrow"),
10419
10430
  "name": "arrow-left"
10420
10431
  }, null), props.leftText && vue.createVNode("span", {
10421
- "class": bem$q("text")
10432
+ "class": bem$u("text")
10422
10433
  }, [props.leftText])];
10423
10434
  };
10424
10435
  const renderRight = () => {
@@ -10426,7 +10437,7 @@
10426
10437
  return slots.right();
10427
10438
  }
10428
10439
  return vue.createVNode("span", {
10429
- "class": bem$q("text")
10440
+ "class": bem$u("text")
10430
10441
  }, [props.rightText]);
10431
10442
  };
10432
10443
  const renderNavBar = () => {
@@ -10442,21 +10453,21 @@
10442
10453
  return vue.createVNode("div", {
10443
10454
  "ref": navBarRef,
10444
10455
  "style": style,
10445
- "class": [bem$q({
10456
+ "class": [bem$u({
10446
10457
  fixed
10447
10458
  }), {
10448
10459
  [BORDER_BOTTOM]: border,
10449
10460
  "van-safe-area-top": props.safeAreaInsetTop
10450
10461
  }]
10451
10462
  }, [vue.createVNode("div", {
10452
- "class": bem$q("content")
10463
+ "class": bem$u("content")
10453
10464
  }, [hasLeft && vue.createVNode("div", {
10454
- "class": [bem$q("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10465
+ "class": [bem$u("left"), props.clickable ? HAPTICS_FEEDBACK : ""],
10455
10466
  "onClick": onClickLeft
10456
10467
  }, [renderLeft()]), vue.createVNode("div", {
10457
- "class": [bem$q("title"), "van-ellipsis"]
10468
+ "class": [bem$u("title"), "van-ellipsis"]
10458
10469
  }, [slots.title ? slots.title() : title]), hasRight && vue.createVNode("div", {
10459
- "class": [bem$q("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10470
+ "class": [bem$u("right"), props.clickable ? HAPTICS_FEEDBACK : ""],
10460
10471
  "onClick": onClickRight
10461
10472
  }, [renderRight()])])]);
10462
10473
  };
@@ -10468,8 +10479,8 @@
10468
10479
  };
10469
10480
  }
10470
10481
  });
10471
- const NavBar = withInstall(stdin_default$w);
10472
- const [name$q, bem$p] = createNamespace("notice-bar");
10482
+ const NavBar = withInstall(stdin_default$A);
10483
+ const [name$u, bem$t] = createNamespace("notice-bar");
10473
10484
  const noticeBarProps = {
10474
10485
  text: String,
10475
10486
  mode: String,
@@ -10484,8 +10495,8 @@
10484
10495
  default: null
10485
10496
  }
10486
10497
  };
10487
- var stdin_default$v = vue.defineComponent({
10488
- name: name$q,
10498
+ var stdin_default$z = vue.defineComponent({
10499
+ name: name$u,
10489
10500
  props: noticeBarProps,
10490
10501
  emits: ["close", "replay"],
10491
10502
  setup(props, {
@@ -10508,7 +10519,7 @@
10508
10519
  }
10509
10520
  if (props.leftIcon) {
10510
10521
  return vue.createVNode(Icon, {
10511
- "class": bem$p("left-icon"),
10522
+ "class": bem$t("left-icon"),
10512
10523
  "name": props.leftIcon
10513
10524
  }, null);
10514
10525
  }
@@ -10535,7 +10546,7 @@
10535
10546
  if (name2) {
10536
10547
  return vue.createVNode(Icon, {
10537
10548
  "name": name2,
10538
- "class": bem$p("right-icon"),
10549
+ "class": bem$t("right-icon"),
10539
10550
  "onClick": onClickRightIcon
10540
10551
  }, null);
10541
10552
  }
@@ -10560,11 +10571,11 @@
10560
10571
  return vue.createVNode("div", {
10561
10572
  "ref": wrapRef,
10562
10573
  "role": "marquee",
10563
- "class": bem$p("wrap")
10574
+ "class": bem$t("wrap")
10564
10575
  }, [vue.createVNode("div", {
10565
10576
  "ref": contentRef,
10566
10577
  "style": style,
10567
- "class": [bem$p("content"), {
10578
+ "class": [bem$t("content"), {
10568
10579
  "van-ellipsis": ellipsis
10569
10580
  }],
10570
10581
  "onTransitionend": onTransitionEnd
@@ -10613,7 +10624,7 @@
10613
10624
  } = props;
10614
10625
  return vue.withDirectives(vue.createVNode("div", {
10615
10626
  "role": "alert",
10616
- "class": bem$p({
10627
+ "class": bem$t({
10617
10628
  wrapable
10618
10629
  }),
10619
10630
  "style": {
@@ -10624,8 +10635,8 @@
10624
10635
  };
10625
10636
  }
10626
10637
  });
10627
- const NoticeBar = withInstall(stdin_default$v);
10628
- const [name$p, bem$o] = createNamespace("notify");
10638
+ const NoticeBar = withInstall(stdin_default$z);
10639
+ const [name$t, bem$s] = createNamespace("notify");
10629
10640
  const notifyProps = extend({}, popupSharedProps, {
10630
10641
  type: makeStringProp("danger"),
10631
10642
  color: String,
@@ -10635,8 +10646,8 @@
10635
10646
  background: String,
10636
10647
  lockScroll: Boolean
10637
10648
  });
10638
- var stdin_default$u = vue.defineComponent({
10639
- name: name$p,
10649
+ var stdin_default$y = vue.defineComponent({
10650
+ name: name$t,
10640
10651
  props: notifyProps,
10641
10652
  emits: ["update:show"],
10642
10653
  setup(props, {
@@ -10646,7 +10657,7 @@
10646
10657
  const updateShow = (show) => emit("update:show", show);
10647
10658
  return () => vue.createVNode(Popup, {
10648
10659
  "show": props.show,
10649
- "class": [bem$o([props.type]), props.className],
10660
+ "class": [bem$s([props.type]), props.className],
10650
10661
  "style": {
10651
10662
  color: props.color,
10652
10663
  background: props.background
@@ -10676,7 +10687,7 @@
10676
10687
  state,
10677
10688
  toggle
10678
10689
  } = usePopupState();
10679
- return () => vue.createVNode(stdin_default$u, vue.mergeProps(state, {
10690
+ return () => vue.createVNode(stdin_default$y, vue.mergeProps(state, {
10680
10691
  "onUpdate:show": toggle
10681
10692
  }), null);
10682
10693
  }
@@ -10720,24 +10731,24 @@
10720
10731
  const resetNotifyDefaultOptions = () => {
10721
10732
  currentOptions = getDefaultOptions();
10722
10733
  };
10723
- const Notify = withInstall(stdin_default$u);
10724
- const [name$o, bem$n] = createNamespace("key");
10734
+ const Notify = withInstall(stdin_default$y);
10735
+ const [name$s, bem$r] = createNamespace("key");
10725
10736
  const CollapseIcon = vue.createVNode("svg", {
10726
- "class": bem$n("collapse-icon"),
10737
+ "class": bem$r("collapse-icon"),
10727
10738
  "viewBox": "0 0 30 24"
10728
10739
  }, [vue.createVNode("path", {
10729
10740
  "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",
10730
10741
  "fill": "currentColor"
10731
10742
  }, null)]);
10732
10743
  const DeleteIcon = vue.createVNode("svg", {
10733
- "class": bem$n("delete-icon"),
10744
+ "class": bem$r("delete-icon"),
10734
10745
  "viewBox": "0 0 32 22"
10735
10746
  }, [vue.createVNode("path", {
10736
10747
  "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",
10737
10748
  "fill": "currentColor"
10738
10749
  }, null)]);
10739
- var stdin_default$t = vue.defineComponent({
10740
- name: name$o,
10750
+ var stdin_default$x = vue.defineComponent({
10751
+ name: name$s,
10741
10752
  props: {
10742
10753
  type: String,
10743
10754
  text: numericProp,
@@ -10775,7 +10786,7 @@
10775
10786
  const renderContent = () => {
10776
10787
  if (props.loading) {
10777
10788
  return vue.createVNode(Loading, {
10778
- "class": bem$n("loading-icon")
10789
+ "class": bem$r("loading-icon")
10779
10790
  }, null);
10780
10791
  }
10781
10792
  const text = slots.default ? slots.default() : props.text;
@@ -10789,7 +10800,7 @@
10789
10800
  }
10790
10801
  };
10791
10802
  return () => vue.createVNode("div", {
10792
- "class": bem$n("wrapper", {
10803
+ "class": bem$r("wrapper", {
10793
10804
  wider: props.wider
10794
10805
  }),
10795
10806
  "onTouchstartPassive": onTouchStart,
@@ -10799,7 +10810,7 @@
10799
10810
  }, [vue.createVNode("div", {
10800
10811
  "role": "button",
10801
10812
  "tabindex": 0,
10802
- "class": bem$n([props.color, {
10813
+ "class": bem$r([props.color, {
10803
10814
  large: props.large,
10804
10815
  active: active.value,
10805
10816
  delete: props.type === "delete"
@@ -10807,7 +10818,7 @@
10807
10818
  }, [renderContent()])]);
10808
10819
  }
10809
10820
  });
10810
- const [name$n, bem$m] = createNamespace("number-keyboard");
10821
+ const [name$r, bem$q] = createNamespace("number-keyboard");
10811
10822
  const numberKeyboardProps = {
10812
10823
  show: Boolean,
10813
10824
  title: String,
@@ -10839,8 +10850,8 @@
10839
10850
  }
10840
10851
  return array;
10841
10852
  }
10842
- var stdin_default$s = vue.defineComponent({
10843
- name: name$n,
10853
+ var stdin_default$w = vue.defineComponent({
10854
+ name: name$r,
10844
10855
  props: numberKeyboardProps,
10845
10856
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
10846
10857
  setup(props, {
@@ -10937,14 +10948,14 @@
10937
10948
  return;
10938
10949
  }
10939
10950
  return vue.createVNode("div", {
10940
- "class": bem$m("header")
10951
+ "class": bem$q("header")
10941
10952
  }, [leftSlot && vue.createVNode("span", {
10942
- "class": bem$m("title-left")
10953
+ "class": bem$q("title-left")
10943
10954
  }, [leftSlot()]), title && vue.createVNode("h2", {
10944
- "class": bem$m("title")
10955
+ "class": bem$q("title")
10945
10956
  }, [title]), showClose && vue.createVNode("button", {
10946
10957
  "type": "button",
10947
- "class": [bem$m("close"), HAPTICS_FEEDBACK],
10958
+ "class": [bem$q("close"), HAPTICS_FEEDBACK],
10948
10959
  "onClick": onClose
10949
10960
  }, [closeButtonText])]);
10950
10961
  };
@@ -10956,7 +10967,7 @@
10956
10967
  if (key.type === "extra") {
10957
10968
  keySlots.default = slots["extra-key"];
10958
10969
  }
10959
- return vue.createVNode(stdin_default$t, {
10970
+ return vue.createVNode(stdin_default$x, {
10960
10971
  "key": key.text,
10961
10972
  "text": key.text,
10962
10973
  "type": key.type,
@@ -10968,15 +10979,15 @@
10968
10979
  const renderSidebar = () => {
10969
10980
  if (props.theme === "custom") {
10970
10981
  return vue.createVNode("div", {
10971
- "class": bem$m("sidebar")
10972
- }, [props.showDeleteKey && vue.createVNode(stdin_default$t, {
10982
+ "class": bem$q("sidebar")
10983
+ }, [props.showDeleteKey && vue.createVNode(stdin_default$x, {
10973
10984
  "large": true,
10974
10985
  "text": props.deleteButtonText,
10975
10986
  "type": "delete",
10976
10987
  "onPress": onPress
10977
10988
  }, {
10978
10989
  delete: slots.delete
10979
- }), vue.createVNode(stdin_default$t, {
10990
+ }), vue.createVNode(stdin_default$x, {
10980
10991
  "large": true,
10981
10992
  "text": props.closeButtonText,
10982
10993
  "type": "close",
@@ -11004,16 +11015,16 @@
11004
11015
  default: () => [vue.withDirectives(vue.createVNode("div", {
11005
11016
  "ref": root,
11006
11017
  "style": getZIndexStyle(props.zIndex),
11007
- "class": bem$m({
11018
+ "class": bem$q({
11008
11019
  unfit: !props.safeAreaInsetBottom,
11009
11020
  "with-title": !!Title
11010
11021
  }),
11011
11022
  "onAnimationend": onAnimationEnd,
11012
11023
  "onTouchstartPassive": stopPropagation
11013
11024
  }, [Title, vue.createVNode("div", {
11014
- "class": bem$m("body")
11025
+ "class": bem$q("body")
11015
11026
  }, [vue.createVNode("div", {
11016
- "class": bem$m("keys")
11027
+ "class": bem$q("keys")
11017
11028
  }, [renderKeys()]), renderSidebar()])]), [[vue.vShow, props.show]])]
11018
11029
  });
11019
11030
  if (props.teleport) {
@@ -11027,8 +11038,8 @@
11027
11038
  };
11028
11039
  }
11029
11040
  });
11030
- const NumberKeyboard = withInstall(stdin_default$s);
11031
- const [name$m, bem$l, t$5] = createNamespace("pagination");
11041
+ const NumberKeyboard = withInstall(stdin_default$w);
11042
+ const [name$q, bem$p, t$5] = createNamespace("pagination");
11032
11043
  const makePage = (number, text, active) => ({
11033
11044
  number,
11034
11045
  text,
@@ -11045,8 +11056,8 @@
11045
11056
  itemsPerPage: makeNumericProp(10),
11046
11057
  forceEllipses: Boolean
11047
11058
  };
11048
- var stdin_default$r = vue.defineComponent({
11049
- name: name$m,
11059
+ var stdin_default$v = vue.defineComponent({
11060
+ name: name$q,
11050
11061
  props: paginationProps,
11051
11062
  emits: ["change", "update:modelValue"],
11052
11063
  setup(props, {
@@ -11108,7 +11119,7 @@
11108
11119
  };
11109
11120
  vue.watchEffect(() => updateModelValue(props.modelValue));
11110
11121
  const renderDesc = () => vue.createVNode("li", {
11111
- "class": bem$l("page-desc")
11122
+ "class": bem$p("page-desc")
11112
11123
  }, [slots.pageDesc ? slots.pageDesc() : `${props.modelValue}/${count.value}`]);
11113
11124
  const renderPrevButton = () => {
11114
11125
  const {
@@ -11118,7 +11129,7 @@
11118
11129
  const slot = slots["prev-text"];
11119
11130
  const disabled = modelValue === 1;
11120
11131
  return vue.createVNode("li", {
11121
- "class": [bem$l("item", {
11132
+ "class": [bem$p("item", {
11122
11133
  disabled,
11123
11134
  border: mode === "simple",
11124
11135
  prev: true
@@ -11137,7 +11148,7 @@
11137
11148
  const slot = slots["next-text"];
11138
11149
  const disabled = modelValue === count.value;
11139
11150
  return vue.createVNode("li", {
11140
- "class": [bem$l("item", {
11151
+ "class": [bem$p("item", {
11141
11152
  disabled,
11142
11153
  border: mode === "simple",
11143
11154
  next: true
@@ -11149,7 +11160,7 @@
11149
11160
  }, [slot ? slot() : props.nextText || t$5("next")])]);
11150
11161
  };
11151
11162
  const renderPages = () => pages.value.map((page) => vue.createVNode("li", {
11152
- "class": [bem$l("item", {
11163
+ "class": [bem$p("item", {
11153
11164
  active: page.active,
11154
11165
  page: true
11155
11166
  }), BORDER_SURROUND]
@@ -11160,14 +11171,14 @@
11160
11171
  }, [slots.page ? slots.page(page) : page.text])]));
11161
11172
  return () => vue.createVNode("nav", {
11162
11173
  "role": "navigation",
11163
- "class": bem$l()
11174
+ "class": bem$p()
11164
11175
  }, [vue.createVNode("ul", {
11165
- "class": bem$l("items")
11176
+ "class": bem$p("items")
11166
11177
  }, [renderPrevButton(), props.mode === "simple" ? renderDesc() : renderPages(), renderNextButton()])]);
11167
11178
  }
11168
11179
  });
11169
- const Pagination = withInstall(stdin_default$r);
11170
- const [name$l, bem$k] = createNamespace("password-input");
11180
+ const Pagination = withInstall(stdin_default$v);
11181
+ const [name$p, bem$o] = createNamespace("password-input");
11171
11182
  const passwordInputProps = {
11172
11183
  info: String,
11173
11184
  mask: truthProp,
@@ -11177,8 +11188,8 @@
11177
11188
  focused: Boolean,
11178
11189
  errorInfo: String
11179
11190
  };
11180
- var stdin_default$q = vue.defineComponent({
11181
- name: name$l,
11191
+ var stdin_default$u = vue.defineComponent({
11192
+ name: name$p,
11182
11193
  props: passwordInputProps,
11183
11194
  emits: ["focus"],
11184
11195
  setup(props, {
@@ -11210,7 +11221,7 @@
11210
11221
  Points.push(vue.createVNode("li", {
11211
11222
  "class": [{
11212
11223
  [BORDER_LEFT]: showBorder
11213
- }, bem$k("item", {
11224
+ }, bem$o("item", {
11214
11225
  focus: showCursor
11215
11226
  })],
11216
11227
  "style": style
@@ -11219,7 +11230,7 @@
11219
11230
  visibility: char ? "visible" : "hidden"
11220
11231
  }
11221
11232
  }, null) : char, showCursor && vue.createVNode("div", {
11222
- "class": bem$k("cursor")
11233
+ "class": bem$o("cursor")
11223
11234
  }, null)]));
11224
11235
  }
11225
11236
  return Points;
@@ -11227,20 +11238,20 @@
11227
11238
  return () => {
11228
11239
  const info = props.errorInfo || props.info;
11229
11240
  return vue.createVNode("div", {
11230
- "class": bem$k()
11241
+ "class": bem$o()
11231
11242
  }, [vue.createVNode("ul", {
11232
- "class": [bem$k("security"), {
11243
+ "class": [bem$o("security"), {
11233
11244
  [BORDER_SURROUND]: !props.gutter
11234
11245
  }],
11235
11246
  "onTouchstartPassive": onTouchStart
11236
11247
  }, [renderPoints()]), info && vue.createVNode("div", {
11237
- "class": bem$k(props.errorInfo ? "error-info" : "info")
11248
+ "class": bem$o(props.errorInfo ? "error-info" : "info")
11238
11249
  }, [info])]);
11239
11250
  };
11240
11251
  }
11241
11252
  });
11242
- const PasswordInput = withInstall(stdin_default$q);
11243
- const PickerGroup = withInstall(stdin_default$1j);
11253
+ const PasswordInput = withInstall(stdin_default$u);
11254
+ const PickerGroup = withInstall(stdin_default$1n);
11244
11255
  function getWindow(node) {
11245
11256
  if (node == null) {
11246
11257
  return window;
@@ -12150,8 +12161,22 @@
12150
12161
  requires: ["popperOffsets"],
12151
12162
  fn: offset
12152
12163
  };
12153
- const [name$k, bem$j] = createNamespace("popover");
12154
- const popupProps = ["show", "overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
12164
+ const useSyncPropRef = (getProp, setProp) => {
12165
+ const propRef = vue.ref(getProp());
12166
+ vue.watch(getProp, (value) => {
12167
+ if (value !== propRef.value) {
12168
+ propRef.value = value;
12169
+ }
12170
+ });
12171
+ vue.watch(propRef, (value) => {
12172
+ if (value !== getProp()) {
12173
+ setProp(value);
12174
+ }
12175
+ });
12176
+ return propRef;
12177
+ };
12178
+ const [name$o, bem$n] = createNamespace("popover");
12179
+ const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
12155
12180
  const popoverProps = {
12156
12181
  show: Boolean,
12157
12182
  theme: makeStringProp("light"),
@@ -12176,8 +12201,8 @@
12176
12201
  default: "body"
12177
12202
  }
12178
12203
  };
12179
- var stdin_default$p = vue.defineComponent({
12180
- name: name$k,
12204
+ var stdin_default$t = vue.defineComponent({
12205
+ name: name$o,
12181
12206
  props: popoverProps,
12182
12207
  emits: ["select", "touchstart", "update:show"],
12183
12208
  setup(props, {
@@ -12189,6 +12214,7 @@
12189
12214
  const popupRef = vue.ref();
12190
12215
  const wrapperRef = vue.ref();
12191
12216
  const popoverRef = vue.ref();
12217
+ const show = useSyncPropRef(() => props.show, (value) => emit("update:show", value));
12192
12218
  const getPopoverOptions = () => ({
12193
12219
  placement: props.placement,
12194
12220
  modifiers: [{
@@ -12211,7 +12237,7 @@
12211
12237
  };
12212
12238
  const updateLocation = () => {
12213
12239
  vue.nextTick(() => {
12214
- if (!props.show) {
12240
+ if (!show.value) {
12215
12241
  return;
12216
12242
  }
12217
12243
  if (!popper) {
@@ -12221,10 +12247,12 @@
12221
12247
  }
12222
12248
  });
12223
12249
  };
12224
- const updateShow = (value) => emit("update:show", value);
12250
+ const updateShow = (value) => {
12251
+ show.value = value;
12252
+ };
12225
12253
  const onClickWrapper = () => {
12226
12254
  if (props.trigger === "click") {
12227
- updateShow(!props.show);
12255
+ show.value = !show.value;
12228
12256
  }
12229
12257
  };
12230
12258
  const onClickAction = (action, index) => {
@@ -12233,12 +12261,12 @@
12233
12261
  }
12234
12262
  emit("select", action, index);
12235
12263
  if (props.closeOnClickAction) {
12236
- updateShow(false);
12264
+ show.value = false;
12237
12265
  }
12238
12266
  };
12239
12267
  const onClickAway = () => {
12240
- if (props.show && props.closeOnClickOutside && (!props.overlay || props.closeOnClickOverlay)) {
12241
- updateShow(false);
12268
+ if (show.value && props.closeOnClickOutside && (!props.overlay || props.closeOnClickOverlay)) {
12269
+ show.value = false;
12242
12270
  }
12243
12271
  };
12244
12272
  const renderActionContent = (action, index) => {
@@ -12251,9 +12279,9 @@
12251
12279
  return [action.icon && vue.createVNode(Icon, {
12252
12280
  "name": action.icon,
12253
12281
  "classPrefix": props.iconPrefix,
12254
- "class": bem$j("action-icon")
12282
+ "class": bem$n("action-icon")
12255
12283
  }, null), vue.createVNode("div", {
12256
- "class": [bem$j("action-text"), BORDER_BOTTOM]
12284
+ "class": [bem$n("action-text"), BORDER_BOTTOM]
12257
12285
  }, [action.text])];
12258
12286
  };
12259
12287
  const renderAction = (action, index) => {
@@ -12265,7 +12293,7 @@
12265
12293
  } = action;
12266
12294
  return vue.createVNode("div", {
12267
12295
  "role": "menuitem",
12268
- "class": [bem$j("action", {
12296
+ "class": [bem$n("action", {
12269
12297
  disabled,
12270
12298
  "with-icon": icon
12271
12299
  }), className],
@@ -12290,7 +12318,7 @@
12290
12318
  popper = null;
12291
12319
  }
12292
12320
  });
12293
- vue.watch(() => [props.show, props.offset, props.placement], updateLocation);
12321
+ vue.watch(() => [show.value, props.offset, props.placement], updateLocation);
12294
12322
  useClickAway([wrapperRef, popupRef], onClickAway, {
12295
12323
  eventName: "touchstart"
12296
12324
  });
@@ -12298,28 +12326,29 @@
12298
12326
  var _a;
12299
12327
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("span", {
12300
12328
  "ref": wrapperRef,
12301
- "class": bem$j("wrapper"),
12329
+ "class": bem$n("wrapper"),
12302
12330
  "onClick": onClickWrapper
12303
12331
  }, [(_a = slots.reference) == null ? void 0 : _a.call(slots)]), vue.createVNode(Popup, vue.mergeProps({
12304
12332
  "ref": popoverRef,
12305
- "class": bem$j([props.theme]),
12333
+ "show": show.value,
12334
+ "class": bem$n([props.theme]),
12306
12335
  "position": "",
12307
12336
  "transition": "van-popover-zoom",
12308
12337
  "lockScroll": false,
12309
12338
  "onUpdate:show": updateShow
12310
12339
  }, attrs, pick(props, popupProps)), {
12311
12340
  default: () => [props.showArrow && vue.createVNode("div", {
12312
- "class": bem$j("arrow")
12341
+ "class": bem$n("arrow")
12313
12342
  }, null), vue.createVNode("div", {
12314
12343
  "role": "menu",
12315
- "class": bem$j("content")
12344
+ "class": bem$n("content")
12316
12345
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
12317
12346
  })]);
12318
12347
  };
12319
12348
  }
12320
12349
  });
12321
- const Popover = withInstall(stdin_default$p);
12322
- const [name$j, bem$i] = createNamespace("progress");
12350
+ const Popover = withInstall(stdin_default$t);
12351
+ const [name$n, bem$m] = createNamespace("progress");
12323
12352
  const progressProps = {
12324
12353
  color: String,
12325
12354
  inactive: Boolean,
@@ -12335,8 +12364,8 @@
12335
12364
  validator: (value) => value >= 0 && value <= 100
12336
12365
  }
12337
12366
  };
12338
- var stdin_default$o = vue.defineComponent({
12339
- name: name$j,
12367
+ var stdin_default$s = vue.defineComponent({
12368
+ name: name$n,
12340
12369
  props: progressProps,
12341
12370
  setup(props) {
12342
12371
  const background = vue.computed(() => props.inactive ? void 0 : props.color);
@@ -12357,7 +12386,7 @@
12357
12386
  };
12358
12387
  return vue.createVNode("span", {
12359
12388
  "style": style,
12360
- "class": bem$i("pivot", {
12389
+ "class": bem$m("pivot", {
12361
12390
  inactive: props.inactive
12362
12391
  })
12363
12392
  }, [text]);
@@ -12378,10 +12407,10 @@
12378
12407
  background: background.value
12379
12408
  };
12380
12409
  return vue.createVNode("div", {
12381
- "class": bem$i(),
12410
+ "class": bem$m(),
12382
12411
  "style": rootStyle
12383
12412
  }, [vue.createVNode("span", {
12384
- "class": bem$i("portion", {
12413
+ "class": bem$m("portion", {
12385
12414
  inactive: props.inactive
12386
12415
  }),
12387
12416
  "style": portionStyle
@@ -12389,8 +12418,8 @@
12389
12418
  };
12390
12419
  }
12391
12420
  });
12392
- const Progress = withInstall(stdin_default$o);
12393
- const [name$i, bem$h, t$4] = createNamespace("pull-refresh");
12421
+ const Progress = withInstall(stdin_default$s);
12422
+ const [name$m, bem$l, t$4] = createNamespace("pull-refresh");
12394
12423
  const DEFAULT_HEAD_HEIGHT = 50;
12395
12424
  const TEXT_STATUS = ["pulling", "loosing", "success"];
12396
12425
  const pullRefreshProps = {
@@ -12405,8 +12434,8 @@
12405
12434
  successDuration: makeNumericProp(500),
12406
12435
  animationDuration: makeNumericProp(300)
12407
12436
  };
12408
- var stdin_default$n = vue.defineComponent({
12409
- name: name$i,
12437
+ var stdin_default$r = vue.defineComponent({
12438
+ name: name$m,
12410
12439
  props: pullRefreshProps,
12411
12440
  emits: ["change", "refresh", "update:modelValue"],
12412
12441
  setup(props, {
@@ -12481,12 +12510,12 @@
12481
12510
  const nodes = [];
12482
12511
  if (TEXT_STATUS.includes(status)) {
12483
12512
  nodes.push(vue.createVNode("div", {
12484
- "class": bem$h("text")
12513
+ "class": bem$l("text")
12485
12514
  }, [getStatusText()]));
12486
12515
  }
12487
12516
  if (status === "loading") {
12488
12517
  nodes.push(vue.createVNode(Loading, {
12489
- "class": bem$h("loading")
12518
+ "class": bem$l("loading")
12490
12519
  }, {
12491
12520
  default: getStatusText
12492
12521
  }));
@@ -12559,23 +12588,23 @@
12559
12588
  };
12560
12589
  return vue.createVNode("div", {
12561
12590
  "ref": root,
12562
- "class": bem$h()
12591
+ "class": bem$l()
12563
12592
  }, [vue.createVNode("div", {
12564
12593
  "ref": track,
12565
- "class": bem$h("track"),
12594
+ "class": bem$l("track"),
12566
12595
  "style": trackStyle,
12567
12596
  "onTouchstartPassive": onTouchStart,
12568
12597
  "onTouchend": onTouchEnd,
12569
12598
  "onTouchcancel": onTouchEnd
12570
12599
  }, [vue.createVNode("div", {
12571
- "class": bem$h("head"),
12600
+ "class": bem$l("head"),
12572
12601
  "style": getHeadStyle()
12573
12602
  }, [renderStatus()]), (_a = slots.default) == null ? void 0 : _a.call(slots)])]);
12574
12603
  };
12575
12604
  }
12576
12605
  });
12577
- const PullRefresh = withInstall(stdin_default$n);
12578
- const [name$h, bem$g] = createNamespace("rate");
12606
+ const PullRefresh = withInstall(stdin_default$r);
12607
+ const [name$l, bem$k] = createNamespace("rate");
12579
12608
  function getRateStatus(value, index, allowHalf, readonly) {
12580
12609
  if (value >= index) {
12581
12610
  return {
@@ -12617,8 +12646,8 @@
12617
12646
  modelValue: makeNumberProp(0),
12618
12647
  disabledColor: String
12619
12648
  };
12620
- var stdin_default$m = vue.defineComponent({
12621
- name: name$h,
12649
+ var stdin_default$q = vue.defineComponent({
12650
+ name: name$l,
12622
12651
  props: rateProps,
12623
12652
  emits: ["change", "update:modelValue"],
12624
12653
  setup(props, {
@@ -12737,7 +12766,7 @@
12737
12766
  "ref": setItemRefs(index),
12738
12767
  "role": "radio",
12739
12768
  "style": style,
12740
- "class": bem$g("item"),
12769
+ "class": bem$k("item"),
12741
12770
  "tabindex": disabled ? void 0 : 0,
12742
12771
  "aria-setsize": count,
12743
12772
  "aria-posinset": score,
@@ -12746,7 +12775,7 @@
12746
12775
  }, [vue.createVNode(Icon, {
12747
12776
  "size": size,
12748
12777
  "name": isFull ? icon : voidIcon,
12749
- "class": bem$g("icon", {
12778
+ "class": bem$k("icon", {
12750
12779
  disabled,
12751
12780
  full: isFull
12752
12781
  }),
@@ -12758,7 +12787,7 @@
12758
12787
  width: item.value + "em"
12759
12788
  },
12760
12789
  "name": isVoid ? voidIcon : icon,
12761
- "class": bem$g("icon", ["half", {
12790
+ "class": bem$k("icon", ["half", {
12762
12791
  disabled,
12763
12792
  full: !isVoid
12764
12793
  }]),
@@ -12773,7 +12802,7 @@
12773
12802
  return () => vue.createVNode("div", {
12774
12803
  "ref": groupRef,
12775
12804
  "role": "radiogroup",
12776
- "class": bem$g({
12805
+ "class": bem$k({
12777
12806
  readonly: props.readonly,
12778
12807
  disabled: props.disabled
12779
12808
  }),
@@ -12784,9 +12813,9 @@
12784
12813
  }, [list.value.map(renderStar)]);
12785
12814
  }
12786
12815
  });
12787
- const Rate = withInstall(stdin_default$m);
12788
- const Row = withInstall(stdin_default$U);
12789
- const [name$g, bem$f, t$3] = createNamespace("search");
12816
+ const Rate = withInstall(stdin_default$q);
12817
+ const Row = withInstall(stdin_default$Y);
12818
+ const [name$k, bem$j, t$3] = createNamespace("search");
12790
12819
  const searchProps = extend({}, fieldSharedProps, {
12791
12820
  label: String,
12792
12821
  shape: makeStringProp("square"),
@@ -12796,8 +12825,8 @@
12796
12825
  background: String,
12797
12826
  showAction: Boolean
12798
12827
  });
12799
- var stdin_default$l = vue.defineComponent({
12800
- name: name$g,
12828
+ var stdin_default$p = vue.defineComponent({
12829
+ name: name$k,
12801
12830
  props: searchProps,
12802
12831
  emits: ["blur", "focus", "clear", "search", "cancel", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
12803
12832
  setup(props, {
@@ -12824,7 +12853,7 @@
12824
12853
  const renderLabel = () => {
12825
12854
  if (slots.label || props.label) {
12826
12855
  return vue.createVNode("label", {
12827
- "class": bem$f("label"),
12856
+ "class": bem$j("label"),
12828
12857
  "for": getInputId()
12829
12858
  }, [slots.label ? slots.label() : props.label]);
12830
12859
  }
@@ -12833,7 +12862,7 @@
12833
12862
  if (props.showAction) {
12834
12863
  const text = props.actionText || t$3("cancel");
12835
12864
  return vue.createVNode("div", {
12836
- "class": bem$f("action"),
12865
+ "class": bem$j("action"),
12837
12866
  "role": "button",
12838
12867
  "tabindex": 0,
12839
12868
  "onClick": onCancel
@@ -12863,7 +12892,7 @@
12863
12892
  return vue.createVNode(Field, vue.mergeProps({
12864
12893
  "ref": filedRef,
12865
12894
  "type": "search",
12866
- "class": bem$f("field"),
12895
+ "class": bem$j("field"),
12867
12896
  "border": false,
12868
12897
  "onBlur": onBlur,
12869
12898
  "onFocus": onFocus,
@@ -12882,19 +12911,19 @@
12882
12911
  return () => {
12883
12912
  var _a;
12884
12913
  return vue.createVNode("div", {
12885
- "class": bem$f({
12914
+ "class": bem$j({
12886
12915
  "show-action": props.showAction
12887
12916
  }),
12888
12917
  "style": {
12889
12918
  background: props.background
12890
12919
  }
12891
12920
  }, [(_a = slots.left) == null ? void 0 : _a.call(slots), vue.createVNode("div", {
12892
- "class": bem$f("content", props.shape)
12921
+ "class": bem$j("content", props.shape)
12893
12922
  }, [renderLabel(), renderField()]), renderAction()]);
12894
12923
  };
12895
12924
  }
12896
12925
  });
12897
- const Search = withInstall(stdin_default$l);
12926
+ const Search = withInstall(stdin_default$p);
12898
12927
  const popupInheritKeys = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
12899
12928
  const iconMap = {
12900
12929
  qq: "qq",
@@ -12906,7 +12935,7 @@
12906
12935
  "weapp-qrcode": "miniprogram-o",
12907
12936
  "wechat-moments": "wechat-moments"
12908
12937
  };
12909
- const [name$f, bem$e, t$2] = createNamespace("share-sheet");
12938
+ const [name$j, bem$i, t$2] = createNamespace("share-sheet");
12910
12939
  const shareSheetProps = extend({}, popupSharedProps, {
12911
12940
  title: String,
12912
12941
  round: truthProp,
@@ -12916,8 +12945,8 @@
12916
12945
  closeOnPopstate: truthProp,
12917
12946
  safeAreaInsetBottom: truthProp
12918
12947
  });
12919
- var stdin_default$k = vue.defineComponent({
12920
- name: name$f,
12948
+ var stdin_default$o = vue.defineComponent({
12949
+ name: name$j,
12921
12950
  props: shareSheetProps,
12922
12951
  emits: ["cancel", "select", "update:show"],
12923
12952
  setup(props, {
@@ -12935,25 +12964,25 @@
12935
12964
  const description = slots.description ? slots.description() : props.description;
12936
12965
  if (title || description) {
12937
12966
  return vue.createVNode("div", {
12938
- "class": bem$e("header")
12967
+ "class": bem$i("header")
12939
12968
  }, [title && vue.createVNode("h2", {
12940
- "class": bem$e("title")
12969
+ "class": bem$i("title")
12941
12970
  }, [title]), description && vue.createVNode("span", {
12942
- "class": bem$e("description")
12971
+ "class": bem$i("description")
12943
12972
  }, [description])]);
12944
12973
  }
12945
12974
  };
12946
12975
  const renderIcon = (icon) => {
12947
12976
  if (iconMap[icon]) {
12948
12977
  return vue.createVNode("div", {
12949
- "class": bem$e("icon", [icon])
12978
+ "class": bem$i("icon", [icon])
12950
12979
  }, [vue.createVNode(Icon, {
12951
12980
  "name": iconMap[icon] || icon
12952
12981
  }, null)]);
12953
12982
  }
12954
12983
  return vue.createVNode("img", {
12955
12984
  "src": icon,
12956
- "class": bem$e("image-icon")
12985
+ "class": bem$i("image-icon")
12957
12986
  }, null);
12958
12987
  };
12959
12988
  const renderOption = (option, index) => {
@@ -12966,16 +12995,16 @@
12966
12995
  return vue.createVNode("div", {
12967
12996
  "role": "button",
12968
12997
  "tabindex": 0,
12969
- "class": [bem$e("option"), className, HAPTICS_FEEDBACK],
12998
+ "class": [bem$i("option"), className, HAPTICS_FEEDBACK],
12970
12999
  "onClick": () => onSelect(option, index)
12971
13000
  }, [renderIcon(icon), name2 && vue.createVNode("span", {
12972
- "class": bem$e("name")
13001
+ "class": bem$i("name")
12973
13002
  }, [name2]), description && vue.createVNode("span", {
12974
- "class": bem$e("option-description")
13003
+ "class": bem$i("option-description")
12975
13004
  }, [description])]);
12976
13005
  };
12977
13006
  const renderOptions = (options, border) => vue.createVNode("div", {
12978
- "class": bem$e("options", {
13007
+ "class": bem$i("options", {
12979
13008
  border
12980
13009
  })
12981
13010
  }, [options.map(renderOption)]);
@@ -12994,13 +13023,13 @@
12994
13023
  if (slots.cancel || cancelText) {
12995
13024
  return vue.createVNode("button", {
12996
13025
  "type": "button",
12997
- "class": bem$e("cancel"),
13026
+ "class": bem$i("cancel"),
12998
13027
  "onClick": onCancel
12999
13028
  }, [slots.cancel ? slots.cancel() : cancelText]);
13000
13029
  }
13001
13030
  };
13002
13031
  return () => vue.createVNode(Popup, vue.mergeProps({
13003
- "class": bem$e(),
13032
+ "class": bem$i(),
13004
13033
  "position": "bottom",
13005
13034
  "onUpdate:show": updateShow
13006
13035
  }, pick(props, popupInheritKeys)), {
@@ -13008,14 +13037,14 @@
13008
13037
  });
13009
13038
  }
13010
13039
  });
13011
- const ShareSheet = withInstall(stdin_default$k);
13012
- const [name$e, bem$d] = createNamespace("sidebar");
13013
- const SIDEBAR_KEY = Symbol(name$e);
13040
+ const ShareSheet = withInstall(stdin_default$o);
13041
+ const [name$i, bem$h] = createNamespace("sidebar");
13042
+ const SIDEBAR_KEY = Symbol(name$i);
13014
13043
  const sidebarProps = {
13015
13044
  modelValue: makeNumericProp(0)
13016
13045
  };
13017
- var stdin_default$j = vue.defineComponent({
13018
- name: name$e,
13046
+ var stdin_default$n = vue.defineComponent({
13047
+ name: name$i,
13019
13048
  props: sidebarProps,
13020
13049
  emits: ["change", "update:modelValue"],
13021
13050
  setup(props, {
@@ -13040,13 +13069,13 @@
13040
13069
  var _a;
13041
13070
  return vue.createVNode("div", {
13042
13071
  "role": "tablist",
13043
- "class": bem$d()
13072
+ "class": bem$h()
13044
13073
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
13045
13074
  };
13046
13075
  }
13047
13076
  });
13048
- const Sidebar = withInstall(stdin_default$j);
13049
- const [name$d, bem$c] = createNamespace("sidebar-item");
13077
+ const Sidebar = withInstall(stdin_default$n);
13078
+ const [name$h, bem$g] = createNamespace("sidebar-item");
13050
13079
  const sidebarItemProps = extend({}, routeProps, {
13051
13080
  dot: Boolean,
13052
13081
  title: String,
@@ -13054,8 +13083,8 @@
13054
13083
  disabled: Boolean,
13055
13084
  badgeProps: Object
13056
13085
  });
13057
- var stdin_default$i = vue.defineComponent({
13058
- name: name$d,
13086
+ var stdin_default$m = vue.defineComponent({
13087
+ name: name$h,
13059
13088
  props: sidebarItemProps,
13060
13089
  emits: ["click"],
13061
13090
  setup(props, {
@@ -13088,7 +13117,7 @@
13088
13117
  const selected = index.value === parent.getActive();
13089
13118
  return vue.createVNode("div", {
13090
13119
  "role": "tab",
13091
- "class": bem$c({
13120
+ "class": bem$g({
13092
13121
  select: selected,
13093
13122
  disabled
13094
13123
  }),
@@ -13097,7 +13126,7 @@
13097
13126
  "onClick": onClick
13098
13127
  }, [vue.createVNode(Badge, vue.mergeProps({
13099
13128
  "dot": dot,
13100
- "class": bem$c("text"),
13129
+ "class": bem$g("text"),
13101
13130
  "content": badge
13102
13131
  }, props.badgeProps), {
13103
13132
  default: () => [slots.title ? slots.title() : title]
@@ -13105,27 +13134,83 @@
13105
13134
  };
13106
13135
  }
13107
13136
  });
13108
- const SidebarItem = withInstall(stdin_default$i);
13109
- const [name$c, bem$b] = createNamespace("skeleton");
13137
+ const SidebarItem = withInstall(stdin_default$m);
13138
+ const [name$g, bem$f] = createNamespace("skeleton-title");
13139
+ const skeletonTitleProps = {
13140
+ round: Boolean,
13141
+ titleWidth: numericProp
13142
+ };
13143
+ var stdin_default$l = vue.defineComponent({
13144
+ name: name$g,
13145
+ props: skeletonTitleProps,
13146
+ setup(props) {
13147
+ return () => vue.createVNode("h3", {
13148
+ "class": bem$f([{
13149
+ round: props.round
13150
+ }]),
13151
+ "style": {
13152
+ width: addUnit(props.titleWidth)
13153
+ }
13154
+ }, null);
13155
+ }
13156
+ });
13157
+ const [name$f, bem$e] = createNamespace("skeleton-avatar");
13158
+ const skeletonAvatarProps = {
13159
+ avatarSize: numericProp,
13160
+ avatarShape: makeStringProp("round")
13161
+ };
13162
+ var stdin_default$k = vue.defineComponent({
13163
+ name: name$f,
13164
+ props: skeletonAvatarProps,
13165
+ setup(props) {
13166
+ return () => vue.createVNode("div", {
13167
+ "class": bem$e([props.avatarShape]),
13168
+ "style": getSizeStyle(props.avatarSize)
13169
+ }, null);
13170
+ }
13171
+ });
13110
13172
  const DEFAULT_ROW_WIDTH = "100%";
13173
+ const skeletonParagraphProps = {
13174
+ round: Boolean,
13175
+ rowWidth: {
13176
+ type: numericProp,
13177
+ default: DEFAULT_ROW_WIDTH
13178
+ }
13179
+ };
13180
+ const [name$e, bem$d] = createNamespace("skeleton-paragraph");
13181
+ var stdin_default$j = vue.defineComponent({
13182
+ name: name$e,
13183
+ props: skeletonParagraphProps,
13184
+ setup(props) {
13185
+ return () => vue.createVNode("div", {
13186
+ "class": bem$d([{
13187
+ round: props.round
13188
+ }]),
13189
+ "style": {
13190
+ width: props.rowWidth
13191
+ }
13192
+ }, null);
13193
+ }
13194
+ });
13195
+ const [name$d, bem$c] = createNamespace("skeleton");
13111
13196
  const DEFAULT_LAST_ROW_WIDTH = "60%";
13112
13197
  const skeletonProps = {
13113
13198
  row: makeNumericProp(0),
13114
- title: Boolean,
13115
13199
  round: Boolean,
13200
+ title: Boolean,
13201
+ titleWidth: numericProp,
13116
13202
  avatar: Boolean,
13117
- loading: truthProp,
13118
- animate: truthProp,
13119
13203
  avatarSize: numericProp,
13120
- titleWidth: numericProp,
13121
13204
  avatarShape: makeStringProp("round"),
13205
+ loading: truthProp,
13206
+ animate: truthProp,
13122
13207
  rowWidth: {
13123
13208
  type: [Number, String, Array],
13124
13209
  default: DEFAULT_ROW_WIDTH
13125
13210
  }
13126
13211
  };
13127
- var stdin_default$h = vue.defineComponent({
13128
- name: name$c,
13212
+ var stdin_default$i = vue.defineComponent({
13213
+ name: name$d,
13129
13214
  inheritAttrs: false,
13130
13215
  props: skeletonProps,
13131
13216
  setup(props, {
@@ -13134,19 +13219,17 @@
13134
13219
  }) {
13135
13220
  const renderAvatar = () => {
13136
13221
  if (props.avatar) {
13137
- return vue.createVNode("div", {
13138
- "class": bem$b("avatar", props.avatarShape),
13139
- "style": getSizeStyle(props.avatarSize)
13222
+ return vue.createVNode(stdin_default$k, {
13223
+ "avatarShape": props.avatarShape,
13224
+ "avatarSize": props.avatarSize
13140
13225
  }, null);
13141
13226
  }
13142
13227
  };
13143
13228
  const renderTitle = () => {
13144
13229
  if (props.title) {
13145
- return vue.createVNode("h3", {
13146
- "class": bem$b("title"),
13147
- "style": {
13148
- width: addUnit(props.titleWidth)
13149
- }
13230
+ return vue.createVNode(stdin_default$l, {
13231
+ "round": props.round,
13232
+ "titleWidth": props.titleWidth
13150
13233
  }, null);
13151
13234
  }
13152
13235
  };
@@ -13162,29 +13245,56 @@
13162
13245
  }
13163
13246
  return rowWidth;
13164
13247
  };
13165
- const renderRows = () => Array(+props.row).fill("").map((_, i) => vue.createVNode("div", {
13166
- "class": bem$b("row"),
13167
- "style": {
13168
- width: addUnit(getRowWidth(i))
13169
- }
13248
+ const renderRows = () => Array(+props.row).fill("").map((_, i) => vue.createVNode(stdin_default$j, {
13249
+ "key": i,
13250
+ "round": props.round,
13251
+ "rowWidth": addUnit(getRowWidth(i))
13170
13252
  }, null));
13253
+ const renderContents = () => {
13254
+ if (slots.template) {
13255
+ return slots.template();
13256
+ }
13257
+ return vue.createVNode(vue.Fragment, null, [renderAvatar(), vue.createVNode("div", {
13258
+ "class": bem$c("content")
13259
+ }, [renderTitle(), renderRows()])]);
13260
+ };
13171
13261
  return () => {
13172
13262
  var _a;
13173
13263
  if (!props.loading) {
13174
13264
  return (_a = slots.default) == null ? void 0 : _a.call(slots);
13175
13265
  }
13176
13266
  return vue.createVNode("div", vue.mergeProps({
13177
- "class": bem$b({
13267
+ "class": bem$c({
13178
13268
  animate: props.animate,
13179
13269
  round: props.round
13180
13270
  })
13181
- }, attrs), [renderAvatar(), vue.createVNode("div", {
13182
- "class": bem$b("content")
13183
- }, [renderTitle(), renderRows()])]);
13271
+ }, attrs), [renderContents()]);
13184
13272
  };
13185
13273
  }
13186
13274
  });
13187
- const Skeleton = withInstall(stdin_default$h);
13275
+ const [name$c, bem$b] = createNamespace("skeleton-image");
13276
+ const skeletonImageProps = {
13277
+ imageSize: numericProp,
13278
+ imageShape: makeStringProp("square")
13279
+ };
13280
+ var stdin_default$h = vue.defineComponent({
13281
+ name: name$c,
13282
+ props: skeletonImageProps,
13283
+ setup(props) {
13284
+ return () => vue.createVNode("div", {
13285
+ "class": bem$b([props.imageShape]),
13286
+ "style": getSizeStyle(props.imageSize)
13287
+ }, [vue.createVNode(Icon, {
13288
+ "name": "photo",
13289
+ "class": bem$b("icon")
13290
+ }, null)]);
13291
+ }
13292
+ });
13293
+ const SkeletonImage = withInstall(stdin_default$h);
13294
+ const SkeletonTitle = withInstall(stdin_default$l);
13295
+ const SkeletonAvatar = withInstall(stdin_default$k);
13296
+ const SkeletonParagraph = withInstall(stdin_default$j);
13297
+ const Skeleton = withInstall(stdin_default$i);
13188
13298
  const [name$b, bem$a] = createNamespace("slider");
13189
13299
  const sliderProps = {
13190
13300
  min: makeNumericProp(0),
@@ -13678,7 +13788,6 @@
13678
13788
  const Step = withInstall(stdin_default$d);
13679
13789
  const [name$7, bem$6] = createNamespace("stepper");
13680
13790
  const LONG_PRESS_INTERVAL = 200;
13681
- const LONG_PRESS_START_TIME = 600;
13682
13791
  const isEqual = (value1, value2) => String(value1) === String(value2);
13683
13792
  const stepperProps = {
13684
13793
  min: makeNumericProp(1),
@@ -14398,7 +14507,7 @@
14398
14507
  case "second":
14399
14508
  return genOptions(+props.minSecond, +props.maxSecond, type, formatter, filter);
14400
14509
  default:
14401
- throw new Error(`[Vant] DatePicker: unsupported columns type: ${type}`);
14510
+ return [];
14402
14511
  }
14403
14512
  }));
14404
14513
  vue.watch(currentValues, (newValues) => {
@@ -14880,7 +14989,7 @@
14880
14989
  };
14881
14990
  const onClickUpload = (event) => emit("clickUpload", event);
14882
14991
  const renderUpload = () => {
14883
- if (props.modelValue.length >= props.maxCount || !props.showUpload) {
14992
+ if (props.modelValue.length >= props.maxCount) {
14884
14993
  return;
14885
14994
  }
14886
14995
  const Input = props.readonly ? null : vue.createVNode("input", {
@@ -14899,7 +15008,7 @@
14899
15008
  "onClick": onClickUpload
14900
15009
  }, [slots.default(), Input]);
14901
15010
  }
14902
- return vue.createVNode("div", {
15011
+ return vue.withDirectives(vue.createVNode("div", {
14903
15012
  "class": bem("upload", {
14904
15013
  readonly: props.readonly
14905
15014
  }),
@@ -14910,7 +15019,7 @@
14910
15019
  "class": bem("upload-icon")
14911
15020
  }, null), props.uploadText && vue.createVNode("span", {
14912
15021
  "class": bem("upload-text")
14913
- }, [props.uploadText]), Input]);
15022
+ }, [props.uploadText]), Input]), [[vue.vShow, props.showUpload]]);
14914
15023
  };
14915
15024
  const chooseFile = () => {
14916
15025
  if (inputRef.value && !props.disabled) {
@@ -15711,15 +15820,14 @@
15711
15820
  default: "img"
15712
15821
  }
15713
15822
  },
15714
- render(h) {
15715
- return h(
15823
+ render() {
15824
+ var _a, _b;
15825
+ return vue.h(
15716
15826
  this.tag,
15717
15827
  {
15718
- attrs: {
15719
- src: this.renderSrc
15720
- }
15828
+ src: this.renderSrc
15721
15829
  },
15722
- this.$slots.default
15830
+ (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)
15723
15831
  );
15724
15832
  },
15725
15833
  data() {
@@ -15816,7 +15924,7 @@
15816
15924
  });
15817
15925
  }
15818
15926
  };
15819
- const version = "4.0.0-rc.6";
15927
+ const version = "4.0.0-rc.7";
15820
15928
  function install(app) {
15821
15929
  const components = [
15822
15930
  ActionBar,
@@ -15989,6 +16097,10 @@
15989
16097
  exports2.Sidebar = Sidebar;
15990
16098
  exports2.SidebarItem = SidebarItem;
15991
16099
  exports2.Skeleton = Skeleton;
16100
+ exports2.SkeletonAvatar = SkeletonAvatar;
16101
+ exports2.SkeletonImage = SkeletonImage;
16102
+ exports2.SkeletonParagraph = SkeletonParagraph;
16103
+ exports2.SkeletonTitle = SkeletonTitle;
15992
16104
  exports2.Slider = Slider;
15993
16105
  exports2.Space = Space;
15994
16106
  exports2.Step = Step;
@@ -16094,7 +16206,11 @@
16094
16206
  exports2.showToast = showToast;
16095
16207
  exports2.sidebarItemProps = sidebarItemProps;
16096
16208
  exports2.sidebarProps = sidebarProps;
16209
+ exports2.skeletonAvatarProps = skeletonAvatarProps;
16210
+ exports2.skeletonImageProps = skeletonImageProps;
16211
+ exports2.skeletonParagraphProps = skeletonParagraphProps;
16097
16212
  exports2.skeletonProps = skeletonProps;
16213
+ exports2.skeletonTitleProps = skeletonTitleProps;
16098
16214
  exports2.sliderProps = sliderProps;
16099
16215
  exports2.spaceProps = spaceProps;
16100
16216
  exports2.stepperProps = stepperProps;