vant 4.7.3 → 4.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +14 -0
  2. package/es/calendar/Calendar.mjs +20 -17
  3. package/es/checkbox/Checker.mjs +7 -1
  4. package/es/col/Col.mjs +11 -3
  5. package/es/config-provider/types.d.ts +1 -1
  6. package/es/highlight/Highlight.d.ts +96 -0
  7. package/es/highlight/Highlight.mjs +122 -0
  8. package/es/highlight/index.css +1 -0
  9. package/es/highlight/index.d.ts +73 -0
  10. package/es/highlight/index.mjs +10 -0
  11. package/es/highlight/style/index.d.ts +1 -0
  12. package/es/highlight/style/index.mjs +2 -0
  13. package/es/highlight/types.d.ts +3 -0
  14. package/es/highlight/types.mjs +0 -0
  15. package/es/image-preview/ImagePreview.mjs +10 -0
  16. package/es/image-preview/ImagePreviewItem.d.ts +27 -1
  17. package/es/image-preview/ImagePreviewItem.mjs +17 -12
  18. package/es/image-preview/types.d.ts +7 -0
  19. package/es/index.d.ts +2 -1
  20. package/es/index.mjs +4 -1
  21. package/es/row/Row.d.ts +8 -4
  22. package/es/row/Row.mjs +35 -4
  23. package/es/row/index.d.ts +3 -3
  24. package/es/text-ellipsis/TextEllipsis.mjs +10 -5
  25. package/es/text-ellipsis/index.d.ts +1 -1
  26. package/es/text-ellipsis/types.d.ts +6 -0
  27. package/lib/calendar/Calendar.js +20 -17
  28. package/lib/checkbox/Checker.js +7 -1
  29. package/lib/col/Col.js +10 -2
  30. package/lib/config-provider/types.d.ts +1 -1
  31. package/lib/highlight/Highlight.d.ts +96 -0
  32. package/lib/highlight/Highlight.js +141 -0
  33. package/lib/highlight/index.css +1 -0
  34. package/lib/highlight/index.d.ts +73 -0
  35. package/lib/highlight/index.js +39 -0
  36. package/lib/highlight/style/index.d.ts +1 -0
  37. package/lib/highlight/style/index.js +2 -0
  38. package/lib/highlight/types.d.ts +3 -0
  39. package/lib/highlight/types.js +15 -0
  40. package/lib/image-preview/ImagePreview.js +10 -0
  41. package/lib/image-preview/ImagePreviewItem.d.ts +27 -1
  42. package/lib/image-preview/ImagePreviewItem.js +17 -12
  43. package/lib/image-preview/types.d.ts +7 -0
  44. package/lib/index.css +1 -1
  45. package/lib/index.d.ts +2 -1
  46. package/lib/index.js +4 -1
  47. package/lib/row/Row.d.ts +8 -4
  48. package/lib/row/Row.js +34 -3
  49. package/lib/row/index.d.ts +3 -3
  50. package/lib/text-ellipsis/TextEllipsis.js +9 -4
  51. package/lib/text-ellipsis/index.d.ts +1 -1
  52. package/lib/text-ellipsis/types.d.ts +6 -0
  53. package/lib/vant.cjs.js +783 -597
  54. package/lib/vant.es.js +783 -597
  55. package/lib/vant.js +783 -597
  56. package/lib/vant.min.js +1 -1
  57. package/lib/web-types.json +1 -1
  58. package/package.json +3 -3
package/lib/vant.js CHANGED
@@ -629,7 +629,7 @@
629
629
  });
630
630
  return to;
631
631
  }
632
- var stdin_default$1V = {
632
+ var stdin_default$1W = {
633
633
  name: "姓名",
634
634
  tel: "电话",
635
635
  save: "保存",
@@ -693,7 +693,7 @@
693
693
  };
694
694
  const lang = vue.ref("zh-CN");
695
695
  const messages = vue.reactive({
696
- "zh-CN": stdin_default$1V
696
+ "zh-CN": stdin_default$1W
697
697
  });
698
698
  const Locale = {
699
699
  messages() {
@@ -708,11 +708,11 @@
708
708
  }
709
709
  };
710
710
  const useCurrentLang = () => lang;
711
- var stdin_default$1U = Locale;
711
+ var stdin_default$1V = Locale;
712
712
  function createTranslate(name2) {
713
713
  const prefix = camelize(name2) + ".";
714
714
  return (path, ...args) => {
715
- const messages2 = stdin_default$1U.messages();
715
+ const messages2 = stdin_default$1V.messages();
716
716
  const message = get(messages2, prefix + path) || get(messages2, path);
717
717
  return isFunction(message) ? message(...args) : message;
718
718
  };
@@ -842,20 +842,20 @@
842
842
  }
843
843
  }, [renderContent()]);
844
844
  }
845
- const [name$1J, bem$1E] = createNamespace("action-bar");
846
- const ACTION_BAR_KEY = Symbol(name$1J);
845
+ const [name$1K, bem$1F] = createNamespace("action-bar");
846
+ const ACTION_BAR_KEY = Symbol(name$1K);
847
847
  const actionBarProps = {
848
848
  placeholder: Boolean,
849
849
  safeAreaInsetBottom: truthProp
850
850
  };
851
- var stdin_default$1T = vue.defineComponent({
852
- name: name$1J,
851
+ var stdin_default$1U = vue.defineComponent({
852
+ name: name$1K,
853
853
  props: actionBarProps,
854
854
  setup(props2, {
855
855
  slots
856
856
  }) {
857
857
  const root = vue.ref();
858
- const renderPlaceholder = usePlaceholder(root, bem$1E);
858
+ const renderPlaceholder = usePlaceholder(root, bem$1F);
859
859
  const {
860
860
  linkChildren
861
861
  } = useChildren(ACTION_BAR_KEY);
@@ -864,7 +864,7 @@
864
864
  var _a;
865
865
  return vue.createVNode("div", {
866
866
  "ref": root,
867
- "class": [bem$1E(), {
867
+ "class": [bem$1F(), {
868
868
  "van-safe-area-bottom": props2.safeAreaInsetBottom
869
869
  }]
870
870
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -877,7 +877,7 @@
877
877
  };
878
878
  }
879
879
  });
880
- const ActionBar = withInstall(stdin_default$1T);
880
+ const ActionBar = withInstall(stdin_default$1U);
881
881
  function useExpose(apis) {
882
882
  const instance2 = vue.getCurrentInstance();
883
883
  if (instance2) {
@@ -905,7 +905,7 @@
905
905
  const vm = vue.getCurrentInstance().proxy;
906
906
  return () => route(vm);
907
907
  }
908
- const [name$1I, bem$1D] = createNamespace("badge");
908
+ const [name$1J, bem$1E] = createNamespace("badge");
909
909
  const badgeProps = {
910
910
  dot: Boolean,
911
911
  max: numericProp,
@@ -916,8 +916,8 @@
916
916
  showZero: truthProp,
917
917
  position: makeStringProp("top-right")
918
918
  };
919
- var stdin_default$1S = vue.defineComponent({
920
- name: name$1I,
919
+ var stdin_default$1T = vue.defineComponent({
920
+ name: name$1J,
921
921
  props: badgeProps,
922
922
  setup(props2, {
923
923
  slots
@@ -980,7 +980,7 @@
980
980
  const renderBadge = () => {
981
981
  if (hasContent() || props2.dot) {
982
982
  return vue.createVNode("div", {
983
- "class": bem$1D([props2.position, {
983
+ "class": bem$1E([props2.position, {
984
984
  dot: props2.dot,
985
985
  fixed: !!slots.default
986
986
  }]),
@@ -994,7 +994,7 @@
994
994
  tag
995
995
  } = props2;
996
996
  return vue.createVNode(tag, {
997
- "class": bem$1D("wrapper")
997
+ "class": bem$1E("wrapper")
998
998
  }, {
999
999
  default: () => [slots.default(), renderBadge()]
1000
1000
  });
@@ -1003,14 +1003,14 @@
1003
1003
  };
1004
1004
  }
1005
1005
  });
1006
- const Badge = withInstall(stdin_default$1S);
1006
+ const Badge = withInstall(stdin_default$1T);
1007
1007
  let globalZIndex = 2e3;
1008
1008
  const useGlobalZIndex = () => ++globalZIndex;
1009
1009
  const setGlobalZIndex = (val) => {
1010
1010
  globalZIndex = val;
1011
1011
  };
1012
- const [name$1H, bem$1C] = createNamespace("config-provider");
1013
- const CONFIG_PROVIDER_KEY = Symbol(name$1H);
1012
+ const [name$1I, bem$1D] = createNamespace("config-provider");
1013
+ const CONFIG_PROVIDER_KEY = Symbol(name$1I);
1014
1014
  const configProviderProps = {
1015
1015
  tag: makeStringProp("div"),
1016
1016
  theme: makeStringProp("light"),
@@ -1044,8 +1044,8 @@
1044
1044
  }
1045
1045
  });
1046
1046
  }
1047
- var stdin_default$1R = vue.defineComponent({
1048
- name: name$1H,
1047
+ var stdin_default$1S = vue.defineComponent({
1048
+ name: name$1I,
1049
1049
  props: configProviderProps,
1050
1050
  setup(props2, {
1051
1051
  slots
@@ -1093,7 +1093,7 @@
1093
1093
  }
1094
1094
  });
1095
1095
  return () => vue.createVNode(props2.tag, {
1096
- "class": bem$1C(),
1096
+ "class": bem$1D(),
1097
1097
  "style": props2.themeVarsScope === "local" ? style.value : void 0
1098
1098
  }, {
1099
1099
  default: () => {
@@ -1103,7 +1103,7 @@
1103
1103
  });
1104
1104
  }
1105
1105
  });
1106
- const [name$1G, bem$1B] = createNamespace("icon");
1106
+ const [name$1H, bem$1C] = createNamespace("icon");
1107
1107
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
1108
1108
  const iconProps = {
1109
1109
  dot: Boolean,
@@ -1115,14 +1115,14 @@
1115
1115
  badgeProps: Object,
1116
1116
  classPrefix: String
1117
1117
  };
1118
- var stdin_default$1Q = vue.defineComponent({
1119
- name: name$1G,
1118
+ var stdin_default$1R = vue.defineComponent({
1119
+ name: name$1H,
1120
1120
  props: iconProps,
1121
1121
  setup(props2, {
1122
1122
  slots
1123
1123
  }) {
1124
1124
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
1125
- const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1B());
1125
+ const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1C());
1126
1126
  return () => {
1127
1127
  const {
1128
1128
  tag,
@@ -1146,7 +1146,7 @@
1146
1146
  default: () => {
1147
1147
  var _a;
1148
1148
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
1149
- "class": bem$1B("image"),
1149
+ "class": bem$1C("image"),
1150
1150
  "src": name2
1151
1151
  }, null)];
1152
1152
  }
@@ -1154,14 +1154,14 @@
1154
1154
  };
1155
1155
  }
1156
1156
  });
1157
- const Icon = withInstall(stdin_default$1Q);
1158
- var stdin_default$1P = Icon;
1159
- const [name$1F, bem$1A] = createNamespace("loading");
1157
+ const Icon = withInstall(stdin_default$1R);
1158
+ var stdin_default$1Q = Icon;
1159
+ const [name$1G, bem$1B] = createNamespace("loading");
1160
1160
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1161
- "class": bem$1A("line", String(index + 1))
1161
+ "class": bem$1B("line", String(index + 1))
1162
1162
  }, null));
1163
1163
  const CircularIcon = vue.createVNode("svg", {
1164
- "class": bem$1A("circular"),
1164
+ "class": bem$1B("circular"),
1165
1165
  "viewBox": "25 25 50 50"
1166
1166
  }, [vue.createVNode("circle", {
1167
1167
  "cx": "50",
@@ -1177,8 +1177,8 @@
1177
1177
  textSize: numericProp,
1178
1178
  textColor: String
1179
1179
  };
1180
- var stdin_default$1O = vue.defineComponent({
1181
- name: name$1F,
1180
+ var stdin_default$1P = vue.defineComponent({
1181
+ name: name$1G,
1182
1182
  props: loadingProps,
1183
1183
  setup(props2, {
1184
1184
  slots
@@ -1189,7 +1189,7 @@
1189
1189
  const renderIcon = () => {
1190
1190
  const DefaultIcon = props2.type === "spinner" ? SpinIcon : CircularIcon;
1191
1191
  return vue.createVNode("span", {
1192
- "class": bem$1A("spinner", props2.type),
1192
+ "class": bem$1B("spinner", props2.type),
1193
1193
  "style": spinnerStyle.value
1194
1194
  }, [slots.icon ? slots.icon() : DefaultIcon]);
1195
1195
  };
@@ -1197,7 +1197,7 @@
1197
1197
  var _a;
1198
1198
  if (slots.default) {
1199
1199
  return vue.createVNode("span", {
1200
- "class": bem$1A("text"),
1200
+ "class": bem$1B("text"),
1201
1201
  "style": {
1202
1202
  fontSize: addUnit(props2.textSize),
1203
1203
  color: (_a = props2.textColor) != null ? _a : props2.color
@@ -1211,7 +1211,7 @@
1211
1211
  vertical
1212
1212
  } = props2;
1213
1213
  return vue.createVNode("div", {
1214
- "class": bem$1A([type, {
1214
+ "class": bem$1B([type, {
1215
1215
  vertical
1216
1216
  }]),
1217
1217
  "aria-live": "polite",
@@ -1220,8 +1220,8 @@
1220
1220
  };
1221
1221
  }
1222
1222
  });
1223
- const Loading = withInstall(stdin_default$1O);
1224
- const [name$1E, bem$1z] = createNamespace("button");
1223
+ const Loading = withInstall(stdin_default$1P);
1224
+ const [name$1F, bem$1A] = createNamespace("button");
1225
1225
  const buttonProps = extend({}, routeProps, {
1226
1226
  tag: makeStringProp("button"),
1227
1227
  text: String,
@@ -1243,8 +1243,8 @@
1243
1243
  loadingType: String,
1244
1244
  iconPosition: makeStringProp("left")
1245
1245
  });
1246
- var stdin_default$1N = vue.defineComponent({
1247
- name: name$1E,
1246
+ var stdin_default$1O = vue.defineComponent({
1247
+ name: name$1F,
1248
1248
  props: buttonProps,
1249
1249
  emits: ["click"],
1250
1250
  setup(props2, {
@@ -1259,7 +1259,7 @@
1259
1259
  return vue.createVNode(Loading, {
1260
1260
  "size": props2.loadingSize,
1261
1261
  "type": props2.loadingType,
1262
- "class": bem$1z("loading")
1262
+ "class": bem$1A("loading")
1263
1263
  }, null);
1264
1264
  };
1265
1265
  const renderIcon = () => {
@@ -1268,13 +1268,13 @@
1268
1268
  }
1269
1269
  if (slots.icon) {
1270
1270
  return vue.createVNode("div", {
1271
- "class": bem$1z("icon")
1271
+ "class": bem$1A("icon")
1272
1272
  }, [slots.icon()]);
1273
1273
  }
1274
1274
  if (props2.icon) {
1275
1275
  return vue.createVNode(Icon, {
1276
1276
  "name": props2.icon,
1277
- "class": bem$1z("icon"),
1277
+ "class": bem$1A("icon"),
1278
1278
  "classPrefix": props2.iconPrefix
1279
1279
  }, null);
1280
1280
  }
@@ -1288,7 +1288,7 @@
1288
1288
  }
1289
1289
  if (text) {
1290
1290
  return vue.createVNode("span", {
1291
- "class": bem$1z("text")
1291
+ "class": bem$1A("text")
1292
1292
  }, [text]);
1293
1293
  }
1294
1294
  };
@@ -1335,7 +1335,7 @@
1335
1335
  nativeType,
1336
1336
  iconPosition
1337
1337
  } = props2;
1338
- const classes = [bem$1z([type, size, {
1338
+ const classes = [bem$1A([type, size, {
1339
1339
  plain,
1340
1340
  block,
1341
1341
  round: round2,
@@ -1354,14 +1354,14 @@
1354
1354
  "onClick": onClick
1355
1355
  }, {
1356
1356
  default: () => [vue.createVNode("div", {
1357
- "class": bem$1z("content")
1357
+ "class": bem$1A("content")
1358
1358
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1359
1359
  });
1360
1360
  };
1361
1361
  }
1362
1362
  });
1363
- const Button = withInstall(stdin_default$1N);
1364
- const [name$1D, bem$1y] = createNamespace("action-bar-button");
1363
+ const Button = withInstall(stdin_default$1O);
1364
+ const [name$1E, bem$1z] = createNamespace("action-bar-button");
1365
1365
  const actionBarButtonProps = extend({}, routeProps, {
1366
1366
  type: String,
1367
1367
  text: String,
@@ -1370,8 +1370,8 @@
1370
1370
  loading: Boolean,
1371
1371
  disabled: Boolean
1372
1372
  });
1373
- var stdin_default$1M = vue.defineComponent({
1374
- name: name$1D,
1373
+ var stdin_default$1N = vue.defineComponent({
1374
+ name: name$1E,
1375
1375
  props: actionBarButtonProps,
1376
1376
  setup(props2, {
1377
1377
  slots
@@ -1406,7 +1406,7 @@
1406
1406
  disabled
1407
1407
  } = props2;
1408
1408
  return vue.createVNode(Button, {
1409
- "class": bem$1y([type, {
1409
+ "class": bem$1z([type, {
1410
1410
  last: isLast.value,
1411
1411
  first: isFirst.value
1412
1412
  }]),
@@ -1423,8 +1423,8 @@
1423
1423
  };
1424
1424
  }
1425
1425
  });
1426
- const ActionBarButton = withInstall(stdin_default$1M);
1427
- const [name$1C, bem$1x] = createNamespace("action-bar-icon");
1426
+ const ActionBarButton = withInstall(stdin_default$1N);
1427
+ const [name$1D, bem$1y] = createNamespace("action-bar-icon");
1428
1428
  const actionBarIconProps = extend({}, routeProps, {
1429
1429
  dot: Boolean,
1430
1430
  text: String,
@@ -1435,8 +1435,8 @@
1435
1435
  badgeProps: Object,
1436
1436
  iconPrefix: String
1437
1437
  });
1438
- var stdin_default$1L = vue.defineComponent({
1439
- name: name$1C,
1438
+ var stdin_default$1M = vue.defineComponent({
1439
+ name: name$1D,
1440
1440
  props: actionBarIconProps,
1441
1441
  setup(props2, {
1442
1442
  slots
@@ -1456,7 +1456,7 @@
1456
1456
  if (slots.icon) {
1457
1457
  return vue.createVNode(Badge, vue.mergeProps({
1458
1458
  "dot": dot,
1459
- "class": bem$1x("icon"),
1459
+ "class": bem$1y("icon"),
1460
1460
  "content": badge
1461
1461
  }, badgeProps2), {
1462
1462
  default: slots.icon
@@ -1468,20 +1468,20 @@
1468
1468
  "name": icon,
1469
1469
  "badge": badge,
1470
1470
  "color": color,
1471
- "class": [bem$1x("icon"), iconClass],
1471
+ "class": [bem$1y("icon"), iconClass],
1472
1472
  "badgeProps": badgeProps2,
1473
1473
  "classPrefix": iconPrefix
1474
1474
  }, null);
1475
1475
  };
1476
1476
  return () => vue.createVNode("div", {
1477
1477
  "role": "button",
1478
- "class": bem$1x(),
1478
+ "class": bem$1y(),
1479
1479
  "tabindex": 0,
1480
1480
  "onClick": route2
1481
1481
  }, [renderIcon(), slots.default ? slots.default() : props2.text]);
1482
1482
  }
1483
1483
  });
1484
- const ActionBarIcon = withInstall(stdin_default$1L);
1484
+ const ActionBarIcon = withInstall(stdin_default$1M);
1485
1485
  const popupSharedProps = {
1486
1486
  // whether to show popup
1487
1487
  show: Boolean,
@@ -1643,7 +1643,7 @@
1643
1643
  const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1644
1644
  return scopeId ? { [scopeId]: "" } : null;
1645
1645
  };
1646
- const [name$1B, bem$1w] = createNamespace("overlay");
1646
+ const [name$1C, bem$1x] = createNamespace("overlay");
1647
1647
  const overlayProps = {
1648
1648
  show: Boolean,
1649
1649
  zIndex: numericProp,
@@ -1653,8 +1653,8 @@
1653
1653
  lazyRender: truthProp,
1654
1654
  customStyle: Object
1655
1655
  };
1656
- var stdin_default$1K = vue.defineComponent({
1657
- name: name$1B,
1656
+ var stdin_default$1L = vue.defineComponent({
1657
+ name: name$1C,
1658
1658
  props: overlayProps,
1659
1659
  setup(props2, {
1660
1660
  slots
@@ -1675,7 +1675,7 @@
1675
1675
  return vue.withDirectives(vue.createVNode("div", {
1676
1676
  "ref": root,
1677
1677
  "style": style,
1678
- "class": [bem$1w(), props2.className]
1678
+ "class": [bem$1x(), props2.className]
1679
1679
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props2.show]]);
1680
1680
  });
1681
1681
  useEventListener("touchmove", onTouchMove, {
@@ -1689,7 +1689,7 @@
1689
1689
  });
1690
1690
  }
1691
1691
  });
1692
- const Overlay = withInstall(stdin_default$1K);
1692
+ const Overlay = withInstall(stdin_default$1L);
1693
1693
  const popupProps$2 = extend({}, popupSharedProps, {
1694
1694
  round: Boolean,
1695
1695
  position: makeStringProp("center"),
@@ -1702,9 +1702,9 @@
1702
1702
  safeAreaInsetTop: Boolean,
1703
1703
  safeAreaInsetBottom: Boolean
1704
1704
  });
1705
- const [name$1A, bem$1v] = createNamespace("popup");
1706
- var stdin_default$1J = vue.defineComponent({
1707
- name: name$1A,
1705
+ const [name$1B, bem$1w] = createNamespace("popup");
1706
+ var stdin_default$1K = vue.defineComponent({
1707
+ name: name$1B,
1708
1708
  inheritAttrs: false,
1709
1709
  props: popupProps$2,
1710
1710
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1779,7 +1779,7 @@
1779
1779
  "role": "button",
1780
1780
  "tabindex": 0,
1781
1781
  "name": props2.closeIcon,
1782
- "class": [bem$1v("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1782
+ "class": [bem$1w("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1783
1783
  "classPrefix": props2.iconPrefix,
1784
1784
  "onClick": onClickCloseIcon
1785
1785
  }, null);
@@ -1808,7 +1808,7 @@
1808
1808
  "style": style.value,
1809
1809
  "role": "dialog",
1810
1810
  "tabindex": 0,
1811
- "class": [bem$1v({
1811
+ "class": [bem$1w({
1812
1812
  round: round2,
1813
1813
  [position]: position
1814
1814
  }), {
@@ -1889,8 +1889,8 @@
1889
1889
  };
1890
1890
  }
1891
1891
  });
1892
- const Popup = withInstall(stdin_default$1J);
1893
- const [name$1z, bem$1u] = createNamespace("action-sheet");
1892
+ const Popup = withInstall(stdin_default$1K);
1893
+ const [name$1A, bem$1v] = createNamespace("action-sheet");
1894
1894
  const actionSheetProps = extend({}, popupSharedProps, {
1895
1895
  title: String,
1896
1896
  round: truthProp,
@@ -1904,8 +1904,8 @@
1904
1904
  safeAreaInsetBottom: truthProp
1905
1905
  });
1906
1906
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1907
- var stdin_default$1I = vue.defineComponent({
1908
- name: name$1z,
1907
+ var stdin_default$1J = vue.defineComponent({
1908
+ name: name$1A,
1909
1909
  props: actionSheetProps,
1910
1910
  emits: ["select", "cancel", "update:show"],
1911
1911
  setup(props2, {
@@ -1920,10 +1920,10 @@
1920
1920
  const renderHeader = () => {
1921
1921
  if (props2.title) {
1922
1922
  return vue.createVNode("div", {
1923
- "class": bem$1u("header")
1923
+ "class": bem$1v("header")
1924
1924
  }, [props2.title, props2.closeable && vue.createVNode(Icon, {
1925
1925
  "name": props2.closeIcon,
1926
- "class": [bem$1u("close"), HAPTICS_FEEDBACK],
1926
+ "class": [bem$1v("close"), HAPTICS_FEEDBACK],
1927
1927
  "onClick": onCancel
1928
1928
  }, null)]);
1929
1929
  }
@@ -1931,10 +1931,10 @@
1931
1931
  const renderCancel = () => {
1932
1932
  if (slots.cancel || props2.cancelText) {
1933
1933
  return [vue.createVNode("div", {
1934
- "class": bem$1u("gap")
1934
+ "class": bem$1v("gap")
1935
1935
  }, null), vue.createVNode("button", {
1936
1936
  "type": "button",
1937
- "class": bem$1u("cancel"),
1937
+ "class": bem$1v("cancel"),
1938
1938
  "onClick": onCancel
1939
1939
  }, [slots.cancel ? slots.cancel() : props2.cancelText])];
1940
1940
  }
@@ -1942,7 +1942,7 @@
1942
1942
  const renderActionContent = (action, index) => {
1943
1943
  if (action.loading) {
1944
1944
  return vue.createVNode(Loading, {
1945
- "class": bem$1u("loading-icon")
1945
+ "class": bem$1v("loading-icon")
1946
1946
  }, null);
1947
1947
  }
1948
1948
  if (slots.action) {
@@ -1952,9 +1952,9 @@
1952
1952
  });
1953
1953
  }
1954
1954
  return [vue.createVNode("span", {
1955
- "class": bem$1u("name")
1955
+ "class": bem$1v("name")
1956
1956
  }, [action.name]), action.subname && vue.createVNode("div", {
1957
- "class": bem$1u("subname")
1957
+ "class": bem$1v("subname")
1958
1958
  }, [action.subname])];
1959
1959
  };
1960
1960
  const renderAction = (action, index) => {
@@ -1982,7 +1982,7 @@
1982
1982
  "style": {
1983
1983
  color
1984
1984
  },
1985
- "class": [bem$1u("item", {
1985
+ "class": [bem$1v("item", {
1986
1986
  loading,
1987
1987
  disabled
1988
1988
  }), className],
@@ -1993,26 +1993,26 @@
1993
1993
  if (props2.description || slots.description) {
1994
1994
  const content = slots.description ? slots.description() : props2.description;
1995
1995
  return vue.createVNode("div", {
1996
- "class": bem$1u("description")
1996
+ "class": bem$1v("description")
1997
1997
  }, [content]);
1998
1998
  }
1999
1999
  };
2000
2000
  return () => vue.createVNode(Popup, vue.mergeProps({
2001
- "class": bem$1u(),
2001
+ "class": bem$1v(),
2002
2002
  "position": "bottom",
2003
2003
  "onUpdate:show": updateShow
2004
2004
  }, pick(props2, popupInheritKeys$2)), {
2005
2005
  default: () => {
2006
2006
  var _a;
2007
2007
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
2008
- "class": bem$1u("content")
2008
+ "class": bem$1v("content")
2009
2009
  }, [props2.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
2010
2010
  }
2011
2011
  });
2012
2012
  }
2013
2013
  });
2014
- const ActionSheet = withInstall(stdin_default$1I);
2015
- const [name$1y, bem$1t, t$k] = createNamespace("picker");
2014
+ const ActionSheet = withInstall(stdin_default$1J);
2015
+ const [name$1z, bem$1u, t$k] = createNamespace("picker");
2016
2016
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
2017
2017
  function getColumnsType(columns, fields) {
2018
2018
  const firstColumn = columns[0];
@@ -2081,10 +2081,10 @@
2081
2081
  const DEFAULT_DURATION = 200;
2082
2082
  const MOMENTUM_TIME = 300;
2083
2083
  const MOMENTUM_DISTANCE = 15;
2084
- const [name$1x, bem$1s] = createNamespace("picker-column");
2085
- const PICKER_KEY = Symbol(name$1x);
2086
- var stdin_default$1H = vue.defineComponent({
2087
- name: name$1x,
2084
+ const [name$1y, bem$1t] = createNamespace("picker-column");
2085
+ const PICKER_KEY = Symbol(name$1y);
2086
+ var stdin_default$1I = vue.defineComponent({
2087
+ name: name$1y,
2088
2088
  props: {
2089
2089
  value: numericProp,
2090
2090
  fields: makeRequiredProp(Object),
@@ -2226,7 +2226,7 @@
2226
2226
  role: "button",
2227
2227
  style: optionStyle,
2228
2228
  tabindex: disabled ? -1 : 0,
2229
- class: [bem$1s("item", {
2229
+ class: [bem$1t("item", {
2230
2230
  disabled,
2231
2231
  selected: value === props2.value
2232
2232
  }), option.className],
@@ -2256,7 +2256,7 @@
2256
2256
  });
2257
2257
  return () => vue.createVNode("div", {
2258
2258
  "ref": root,
2259
- "class": bem$1s(),
2259
+ "class": bem$1t(),
2260
2260
  "onTouchstartPassive": onTouchStart,
2261
2261
  "onTouchend": onTouchEnd,
2262
2262
  "onTouchcancel": onTouchEnd
@@ -2267,12 +2267,12 @@
2267
2267
  transitionDuration: `${currentDuration.value}ms`,
2268
2268
  transitionProperty: currentDuration.value ? "all" : "none"
2269
2269
  },
2270
- "class": bem$1s("wrapper"),
2270
+ "class": bem$1t("wrapper"),
2271
2271
  "onTransitionend": stopMomentum
2272
2272
  }, [renderOptions()])]);
2273
2273
  }
2274
2274
  });
2275
- const [name$1w] = createNamespace("picker-toolbar");
2275
+ const [name$1x] = createNamespace("picker-toolbar");
2276
2276
  const pickerToolbarProps = {
2277
2277
  title: String,
2278
2278
  cancelButtonText: String,
@@ -2280,8 +2280,8 @@
2280
2280
  };
2281
2281
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
2282
2282
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
2283
- var stdin_default$1G = vue.defineComponent({
2284
- name: name$1w,
2283
+ var stdin_default$1H = vue.defineComponent({
2284
+ name: name$1x,
2285
2285
  props: pickerToolbarProps,
2286
2286
  emits: ["confirm", "cancel"],
2287
2287
  setup(props2, {
@@ -2294,7 +2294,7 @@
2294
2294
  }
2295
2295
  if (props2.title) {
2296
2296
  return vue.createVNode("div", {
2297
- "class": [bem$1t("title"), "van-ellipsis"]
2297
+ "class": [bem$1u("title"), "van-ellipsis"]
2298
2298
  }, [props2.title]);
2299
2299
  }
2300
2300
  };
@@ -2304,7 +2304,7 @@
2304
2304
  const text = props2.cancelButtonText || t$k("cancel");
2305
2305
  return vue.createVNode("button", {
2306
2306
  "type": "button",
2307
- "class": [bem$1t("cancel"), HAPTICS_FEEDBACK],
2307
+ "class": [bem$1u("cancel"), HAPTICS_FEEDBACK],
2308
2308
  "onClick": onCancel
2309
2309
  }, [slots.cancel ? slots.cancel() : text]);
2310
2310
  };
@@ -2312,12 +2312,12 @@
2312
2312
  const text = props2.confirmButtonText || t$k("confirm");
2313
2313
  return vue.createVNode("button", {
2314
2314
  "type": "button",
2315
- "class": [bem$1t("confirm"), HAPTICS_FEEDBACK],
2315
+ "class": [bem$1u("confirm"), HAPTICS_FEEDBACK],
2316
2316
  "onClick": onConfirm
2317
2317
  }, [slots.confirm ? slots.confirm() : text]);
2318
2318
  };
2319
2319
  return () => vue.createVNode("div", {
2320
- "class": bem$1t("toolbar")
2320
+ "class": bem$1u("toolbar")
2321
2321
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
2322
2322
  }
2323
2323
  });
@@ -2502,7 +2502,7 @@
2502
2502
  vue.onBeforeUnmount(unobserve);
2503
2503
  onMountedOrActivated(observe);
2504
2504
  }
2505
- const [name$1v, bem$1r] = createNamespace("sticky");
2505
+ const [name$1w, bem$1s] = createNamespace("sticky");
2506
2506
  const stickyProps = {
2507
2507
  zIndex: numericProp,
2508
2508
  position: makeStringProp("top"),
@@ -2510,8 +2510,8 @@
2510
2510
  offsetTop: makeNumericProp(0),
2511
2511
  offsetBottom: makeNumericProp(0)
2512
2512
  };
2513
- var stdin_default$1F = vue.defineComponent({
2514
- name: name$1v,
2513
+ var stdin_default$1G = vue.defineComponent({
2514
+ name: name$1w,
2515
2515
  props: stickyProps,
2516
2516
  emits: ["scroll", "change"],
2517
2517
  setup(props2, {
@@ -2624,7 +2624,7 @@
2624
2624
  "ref": root,
2625
2625
  "style": rootStyle.value
2626
2626
  }, [vue.createVNode("div", {
2627
- "class": bem$1r({
2627
+ "class": bem$1s({
2628
2628
  fixed: state.fixed && !isReset.value
2629
2629
  }),
2630
2630
  "style": stickyStyle.value
@@ -2632,8 +2632,8 @@
2632
2632
  };
2633
2633
  }
2634
2634
  });
2635
- const Sticky = withInstall(stdin_default$1F);
2636
- const [name$1u, bem$1q] = createNamespace("swipe");
2635
+ const Sticky = withInstall(stdin_default$1G);
2636
+ const [name$1v, bem$1r] = createNamespace("swipe");
2637
2637
  const swipeProps = {
2638
2638
  loop: truthProp,
2639
2639
  width: numericProp,
@@ -2648,9 +2648,9 @@
2648
2648
  showIndicators: truthProp,
2649
2649
  stopPropagation: truthProp
2650
2650
  };
2651
- const SWIPE_KEY = Symbol(name$1u);
2652
- var stdin_default$1E = vue.defineComponent({
2653
- name: name$1u,
2651
+ const SWIPE_KEY = Symbol(name$1v);
2652
+ var stdin_default$1F = vue.defineComponent({
2653
+ name: name$1v,
2654
2654
  props: swipeProps,
2655
2655
  emits: ["change", "dragStart", "dragEnd"],
2656
2656
  setup(props2, {
@@ -2928,7 +2928,7 @@
2928
2928
  } : void 0;
2929
2929
  return vue.createVNode("i", {
2930
2930
  "style": style,
2931
- "class": bem$1q("indicator", {
2931
+ "class": bem$1r("indicator", {
2932
2932
  active
2933
2933
  })
2934
2934
  }, null);
@@ -2942,7 +2942,7 @@
2942
2942
  }
2943
2943
  if (props2.showIndicators && count.value > 1) {
2944
2944
  return vue.createVNode("div", {
2945
- "class": bem$1q("indicators", {
2945
+ "class": bem$1r("indicators", {
2946
2946
  vertical: props2.vertical
2947
2947
  })
2948
2948
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2984,11 +2984,11 @@
2984
2984
  var _a;
2985
2985
  return vue.createVNode("div", {
2986
2986
  "ref": root,
2987
- "class": bem$1q()
2987
+ "class": bem$1r()
2988
2988
  }, [vue.createVNode("div", {
2989
2989
  "ref": track,
2990
2990
  "style": trackStyle.value,
2991
- "class": bem$1q("track", {
2991
+ "class": bem$1r("track", {
2992
2992
  vertical: props2.vertical
2993
2993
  }),
2994
2994
  "onTouchstartPassive": onTouchStart,
@@ -2998,10 +2998,10 @@
2998
2998
  };
2999
2999
  }
3000
3000
  });
3001
- const Swipe = withInstall(stdin_default$1E);
3002
- const [name$1t, bem$1p] = createNamespace("tabs");
3003
- var stdin_default$1D = vue.defineComponent({
3004
- name: name$1t,
3001
+ const Swipe = withInstall(stdin_default$1F);
3002
+ const [name$1u, bem$1q] = createNamespace("tabs");
3003
+ var stdin_default$1E = vue.defineComponent({
3004
+ name: name$1u,
3005
3005
  props: {
3006
3006
  count: makeRequiredProp(Number),
3007
3007
  inited: Boolean,
@@ -3025,7 +3025,7 @@
3025
3025
  return vue.createVNode(Swipe, {
3026
3026
  "ref": swipeRef,
3027
3027
  "loop": false,
3028
- "class": bem$1p("track"),
3028
+ "class": bem$1q("track"),
3029
3029
  "duration": +props2.duration * 1e3,
3030
3030
  "touchable": props2.swipeable,
3031
3031
  "lazyRender": props2.lazyRender,
@@ -3053,13 +3053,13 @@
3053
3053
  swipeRef
3054
3054
  });
3055
3055
  return () => vue.createVNode("div", {
3056
- "class": bem$1p("content", {
3056
+ "class": bem$1q("content", {
3057
3057
  animated: props2.animated || props2.swipeable
3058
3058
  })
3059
3059
  }, [renderChildren()]);
3060
3060
  }
3061
3061
  });
3062
- const [name$1s, bem$1o] = createNamespace("tabs");
3062
+ const [name$1t, bem$1p] = createNamespace("tabs");
3063
3063
  const tabsProps = {
3064
3064
  type: makeStringProp("line"),
3065
3065
  color: String,
@@ -3083,9 +3083,9 @@
3083
3083
  titleActiveColor: String,
3084
3084
  titleInactiveColor: String
3085
3085
  };
3086
- const TABS_KEY = Symbol(name$1s);
3087
- var stdin_default$1C = vue.defineComponent({
3088
- name: name$1s,
3086
+ const TABS_KEY = Symbol(name$1t);
3087
+ var stdin_default$1D = vue.defineComponent({
3088
+ name: name$1t,
3089
3089
  props: tabsProps,
3090
3090
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
3091
3091
  setup(props2, {
@@ -3283,7 +3283,7 @@
3283
3283
  const renderLine = () => {
3284
3284
  if (props2.type === "line" && children.length) {
3285
3285
  return vue.createVNode("div", {
3286
- "class": bem$1o("line"),
3286
+ "class": bem$1p("line"),
3287
3287
  "style": state.lineStyle
3288
3288
  }, null);
3289
3289
  }
@@ -3297,13 +3297,13 @@
3297
3297
  } = props2;
3298
3298
  const Header = [vue.createVNode("div", {
3299
3299
  "ref": sticky ? void 0 : wrapRef,
3300
- "class": [bem$1o("wrap"), {
3300
+ "class": [bem$1p("wrap"), {
3301
3301
  [BORDER_TOP_BOTTOM]: type === "line" && border
3302
3302
  }]
3303
3303
  }, [vue.createVNode("div", {
3304
3304
  "ref": navRef,
3305
3305
  "role": "tablist",
3306
- "class": bem$1o("nav", [type, {
3306
+ "class": bem$1p("nav", [type, {
3307
3307
  shrink: props2.shrink,
3308
3308
  complete: scrollable.value
3309
3309
  }]),
@@ -3376,14 +3376,14 @@
3376
3376
  });
3377
3377
  return () => vue.createVNode("div", {
3378
3378
  "ref": root,
3379
- "class": bem$1o([props2.type])
3379
+ "class": bem$1p([props2.type])
3380
3380
  }, [props2.showHeader ? props2.sticky ? vue.createVNode(Sticky, {
3381
3381
  "container": root.value,
3382
3382
  "offsetTop": offsetTopPx.value,
3383
3383
  "onScroll": onStickyScroll
3384
3384
  }, {
3385
3385
  default: () => [renderHeader()]
3386
- }) : renderHeader() : null, vue.createVNode(stdin_default$1D, {
3386
+ }) : renderHeader() : null, vue.createVNode(stdin_default$1E, {
3387
3387
  "ref": contentRef,
3388
3388
  "count": children.length,
3389
3389
  "inited": state.inited,
@@ -3403,9 +3403,9 @@
3403
3403
  });
3404
3404
  const TAB_STATUS_KEY = Symbol();
3405
3405
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
3406
- const [name$1r, bem$1n] = createNamespace("tab");
3406
+ const [name$1s, bem$1o] = createNamespace("tab");
3407
3407
  const TabTitle = vue.defineComponent({
3408
- name: name$1r,
3408
+ name: name$1s,
3409
3409
  props: {
3410
3410
  id: String,
3411
3411
  dot: Boolean,
@@ -3454,7 +3454,7 @@
3454
3454
  });
3455
3455
  const renderText = () => {
3456
3456
  const Text = vue.createVNode("span", {
3457
- "class": bem$1n("text", {
3457
+ "class": bem$1o("text", {
3458
3458
  ellipsis: !props2.scrollable
3459
3459
  })
3460
3460
  }, [slots.title ? slots.title() : props2.title]);
@@ -3472,7 +3472,7 @@
3472
3472
  return () => vue.createVNode("div", {
3473
3473
  "id": props2.id,
3474
3474
  "role": "tab",
3475
- "class": [bem$1n([props2.type, {
3475
+ "class": [bem$1o([props2.type, {
3476
3476
  grow: props2.scrollable && !props2.shrink,
3477
3477
  shrink: props2.shrink,
3478
3478
  active: props2.isActive,
@@ -3486,9 +3486,9 @@
3486
3486
  }, [renderText()]);
3487
3487
  }
3488
3488
  });
3489
- const [name$1q, bem$1m] = createNamespace("swipe-item");
3490
- var stdin_default$1B = vue.defineComponent({
3491
- name: name$1q,
3489
+ const [name$1r, bem$1n] = createNamespace("swipe-item");
3490
+ var stdin_default$1C = vue.defineComponent({
3491
+ name: name$1r,
3492
3492
  setup(props2, {
3493
3493
  slots
3494
3494
  }) {
@@ -3550,14 +3550,14 @@
3550
3550
  return () => {
3551
3551
  var _a;
3552
3552
  return vue.createVNode("div", {
3553
- "class": bem$1m(),
3553
+ "class": bem$1n(),
3554
3554
  "style": style.value
3555
3555
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3556
3556
  };
3557
3557
  }
3558
3558
  });
3559
- const SwipeItem = withInstall(stdin_default$1B);
3560
- const [name$1p, bem$1l] = createNamespace("tab");
3559
+ const SwipeItem = withInstall(stdin_default$1C);
3560
+ const [name$1q, bem$1m] = createNamespace("tab");
3561
3561
  const tabProps = extend({}, routeProps, {
3562
3562
  dot: Boolean,
3563
3563
  name: numericProp,
@@ -3568,8 +3568,8 @@
3568
3568
  titleStyle: [String, Object],
3569
3569
  showZeroBadge: truthProp
3570
3570
  });
3571
- var stdin_default$1A = vue.defineComponent({
3572
- name: name$1p,
3571
+ var stdin_default$1B = vue.defineComponent({
3572
+ name: name$1q,
3573
3573
  props: tabProps,
3574
3574
  setup(props2, {
3575
3575
  slots
@@ -3664,7 +3664,7 @@
3664
3664
  return vue.createVNode(SwipeItem, {
3665
3665
  "id": id,
3666
3666
  "role": "tabpanel",
3667
- "class": bem$1l("panel-wrapper", {
3667
+ "class": bem$1m("panel-wrapper", {
3668
3668
  inactive: hasInactiveClass.value
3669
3669
  }),
3670
3670
  "tabindex": active.value ? 0 : -1,
@@ -3674,7 +3674,7 @@
3674
3674
  default: () => {
3675
3675
  var _a2;
3676
3676
  return [vue.createVNode("div", {
3677
- "class": bem$1l("panel")
3677
+ "class": bem$1m("panel")
3678
3678
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3679
3679
  }
3680
3680
  });
@@ -3684,24 +3684,24 @@
3684
3684
  return vue.withDirectives(vue.createVNode("div", {
3685
3685
  "id": id,
3686
3686
  "role": "tabpanel",
3687
- "class": bem$1l("panel"),
3687
+ "class": bem$1m("panel"),
3688
3688
  "tabindex": show ? 0 : -1,
3689
3689
  "aria-labelledby": label
3690
3690
  }, [Content]), [[vue.vShow, show]]);
3691
3691
  };
3692
3692
  }
3693
3693
  });
3694
- const Tab = withInstall(stdin_default$1A);
3695
- const Tabs = withInstall(stdin_default$1C);
3696
- const [name$1o, bem$1k] = createNamespace("picker-group");
3697
- const PICKER_GROUP_KEY = Symbol(name$1o);
3694
+ const Tab = withInstall(stdin_default$1B);
3695
+ const Tabs = withInstall(stdin_default$1D);
3696
+ const [name$1p, bem$1l] = createNamespace("picker-group");
3697
+ const PICKER_GROUP_KEY = Symbol(name$1p);
3698
3698
  const pickerGroupProps = extend({
3699
3699
  tabs: makeArrayProp(),
3700
3700
  activeTab: makeNumericProp(0),
3701
3701
  nextStepText: String
3702
3702
  }, pickerToolbarProps);
3703
- var stdin_default$1z = vue.defineComponent({
3704
- name: name$1o,
3703
+ var stdin_default$1A = vue.defineComponent({
3704
+ name: name$1p,
3705
3705
  props: pickerGroupProps,
3706
3706
  emits: ["confirm", "cancel", "update:activeTab"],
3707
3707
  setup(props2, {
@@ -3728,8 +3728,8 @@
3728
3728
  const childNodes = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b.filter((node) => node.type !== vue.Comment);
3729
3729
  const confirmButtonText = showNextButton() ? props2.nextStepText : props2.confirmButtonText;
3730
3730
  return vue.createVNode("div", {
3731
- "class": bem$1k()
3732
- }, [vue.createVNode(stdin_default$1G, {
3731
+ "class": bem$1l()
3732
+ }, [vue.createVNode(stdin_default$1H, {
3733
3733
  "title": props2.title,
3734
3734
  "cancelButtonText": props2.cancelButtonText,
3735
3735
  "confirmButtonText": confirmButtonText,
@@ -3738,14 +3738,14 @@
3738
3738
  }, pick(slots, pickerToolbarSlots)), vue.createVNode(Tabs, {
3739
3739
  "active": activeTab.value,
3740
3740
  "onUpdate:active": ($event) => activeTab.value = $event,
3741
- "class": bem$1k("tabs"),
3741
+ "class": bem$1l("tabs"),
3742
3742
  "shrink": true,
3743
3743
  "animated": true,
3744
3744
  "lazyRender": false
3745
3745
  }, {
3746
3746
  default: () => [props2.tabs.map((title, index) => vue.createVNode(Tab, {
3747
3747
  "title": title,
3748
- "titleClass": bem$1k("tab-title")
3748
+ "titleClass": bem$1l("tab-title")
3749
3749
  }, {
3750
3750
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3751
3751
  }))]
@@ -3768,8 +3768,8 @@
3768
3768
  toolbarPosition: makeStringProp("top"),
3769
3769
  columnsFieldNames: Object
3770
3770
  });
3771
- var stdin_default$1y = vue.defineComponent({
3772
- name: name$1y,
3771
+ var stdin_default$1z = vue.defineComponent({
3772
+ name: name$1z,
3773
3773
  props: pickerProps,
3774
3774
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3775
3775
  setup(props2, {
@@ -3850,7 +3850,7 @@
3850
3850
  return params;
3851
3851
  };
3852
3852
  const cancel = () => emit("cancel", getEventParams());
3853
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1H, {
3853
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1I, {
3854
3854
  "value": selectedValues.value[columnIndex],
3855
3855
  "fields": fields.value,
3856
3856
  "options": options,
@@ -3879,10 +3879,10 @@
3879
3879
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3880
3880
  };
3881
3881
  return [vue.createVNode("div", {
3882
- "class": bem$1t("mask"),
3882
+ "class": bem$1u("mask"),
3883
3883
  "style": maskStyle
3884
3884
  }, null), vue.createVNode("div", {
3885
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1t("frame")],
3885
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1u("frame")],
3886
3886
  "style": frameStyle
3887
3887
  }, null)];
3888
3888
  }
@@ -3894,13 +3894,13 @@
3894
3894
  };
3895
3895
  return vue.createVNode("div", {
3896
3896
  "ref": columnsRef,
3897
- "class": bem$1t("columns"),
3897
+ "class": bem$1u("columns"),
3898
3898
  "style": columnsStyle
3899
3899
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3900
3900
  };
3901
3901
  const renderToolbar = () => {
3902
3902
  if (props2.showToolbar && !parent) {
3903
- return vue.createVNode(stdin_default$1G, vue.mergeProps(pick(props2, pickerToolbarPropKeys), {
3903
+ return vue.createVNode(stdin_default$1H, vue.mergeProps(pick(props2, pickerToolbarPropKeys), {
3904
3904
  "onConfirm": confirm,
3905
3905
  "onCancel": cancel
3906
3906
  }), pick(slots, pickerToolbarSlots));
@@ -3943,9 +3943,9 @@
3943
3943
  return () => {
3944
3944
  var _a, _b;
3945
3945
  return vue.createVNode("div", {
3946
- "class": bem$1t()
3946
+ "class": bem$1u()
3947
3947
  }, [props2.toolbarPosition === "top" ? renderToolbar() : null, props2.loading ? vue.createVNode(Loading, {
3948
- "class": bem$1t("loading")
3948
+ "class": bem$1u("loading")
3949
3949
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props2.toolbarPosition === "bottom" ? renderToolbar() : null]);
3950
3950
  };
3951
3951
  }
@@ -4036,8 +4036,8 @@
4036
4036
  }
4037
4037
  return options;
4038
4038
  }
4039
- const Picker = withInstall(stdin_default$1y);
4040
- const [name$1n, bem$1j] = createNamespace("area");
4039
+ const Picker = withInstall(stdin_default$1z);
4040
+ const [name$1o, bem$1k] = createNamespace("area");
4041
4041
  const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
4042
4042
  modelValue: String,
4043
4043
  columnsNum: makeNumericProp(3),
@@ -4047,8 +4047,8 @@
4047
4047
  default: () => ({})
4048
4048
  }
4049
4049
  });
4050
- var stdin_default$1x = vue.defineComponent({
4051
- name: name$1n,
4050
+ var stdin_default$1y = vue.defineComponent({
4051
+ name: name$1o,
4052
4052
  props: areaProps,
4053
4053
  emits: ["change", "confirm", "cancel", "update:modelValue"],
4054
4054
  setup(props2, {
@@ -4095,7 +4095,7 @@
4095
4095
  "ref": picker,
4096
4096
  "modelValue": codes.value,
4097
4097
  "onUpdate:modelValue": ($event) => codes.value = $event,
4098
- "class": bem$1j(),
4098
+ "class": bem$1k(),
4099
4099
  "columns": columns.value,
4100
4100
  "onChange": onChange,
4101
4101
  "onCancel": onCancel,
@@ -4103,8 +4103,8 @@
4103
4103
  }, pick(props2, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
4104
4104
  }
4105
4105
  });
4106
- const Area = withInstall(stdin_default$1x);
4107
- const [name$1m, bem$1i] = createNamespace("cell");
4106
+ const Area = withInstall(stdin_default$1y);
4107
+ const [name$1n, bem$1j] = createNamespace("cell");
4108
4108
  const cellSharedProps = {
4109
4109
  tag: makeStringProp("div"),
4110
4110
  icon: String,
@@ -4131,8 +4131,8 @@
4131
4131
  }
4132
4132
  };
4133
4133
  const cellProps = extend({}, cellSharedProps, routeProps);
4134
- var stdin_default$1w = vue.defineComponent({
4135
- name: name$1m,
4134
+ var stdin_default$1x = vue.defineComponent({
4135
+ name: name$1n,
4136
4136
  props: cellProps,
4137
4137
  setup(props2, {
4138
4138
  slots
@@ -4142,7 +4142,7 @@
4142
4142
  const showLabel = slots.label || isDef(props2.label);
4143
4143
  if (showLabel) {
4144
4144
  return vue.createVNode("div", {
4145
- "class": [bem$1i("label"), props2.labelClass]
4145
+ "class": [bem$1j("label"), props2.labelClass]
4146
4146
  }, [slots.label ? slots.label() : props2.label]);
4147
4147
  }
4148
4148
  };
@@ -4154,7 +4154,7 @@
4154
4154
  return;
4155
4155
  }
4156
4156
  return vue.createVNode("div", {
4157
- "class": [bem$1i("title"), props2.titleClass],
4157
+ "class": [bem$1j("title"), props2.titleClass],
4158
4158
  "style": props2.titleStyle
4159
4159
  }, [titleSlot || vue.createVNode("span", null, [props2.title]), renderLabel()]);
4160
4160
  }
@@ -4164,7 +4164,7 @@
4164
4164
  const hasValue = slot || isDef(props2.value);
4165
4165
  if (hasValue) {
4166
4166
  return vue.createVNode("div", {
4167
- "class": [bem$1i("value"), props2.valueClass]
4167
+ "class": [bem$1j("value"), props2.valueClass]
4168
4168
  }, [slot ? slot() : vue.createVNode("span", null, [props2.value])]);
4169
4169
  }
4170
4170
  };
@@ -4175,7 +4175,7 @@
4175
4175
  if (props2.icon) {
4176
4176
  return vue.createVNode(Icon, {
4177
4177
  "name": props2.icon,
4178
- "class": bem$1i("left-icon"),
4178
+ "class": bem$1j("left-icon"),
4179
4179
  "classPrefix": props2.iconPrefix
4180
4180
  }, null);
4181
4181
  }
@@ -4188,7 +4188,7 @@
4188
4188
  const name2 = props2.arrowDirection && props2.arrowDirection !== "right" ? `arrow-${props2.arrowDirection}` : "arrow";
4189
4189
  return vue.createVNode(Icon, {
4190
4190
  "name": name2,
4191
- "class": bem$1i("right-icon")
4191
+ "class": bem$1j("right-icon")
4192
4192
  }, null);
4193
4193
  }
4194
4194
  };
@@ -4213,7 +4213,7 @@
4213
4213
  classes[size] = !!size;
4214
4214
  }
4215
4215
  return vue.createVNode(tag, {
4216
- "class": bem$1i(classes),
4216
+ "class": bem$1j(classes),
4217
4217
  "role": clickable ? "button" : void 0,
4218
4218
  "tabindex": clickable ? 0 : void 0,
4219
4219
  "onClick": route2
@@ -4226,8 +4226,8 @@
4226
4226
  };
4227
4227
  }
4228
4228
  });
4229
- const Cell = withInstall(stdin_default$1w);
4230
- const [name$1l, bem$1h] = createNamespace("form");
4229
+ const Cell = withInstall(stdin_default$1x);
4230
+ const [name$1m, bem$1i] = createNamespace("form");
4231
4231
  const formProps = {
4232
4232
  colon: Boolean,
4233
4233
  disabled: Boolean,
@@ -4247,8 +4247,8 @@
4247
4247
  default: "onBlur"
4248
4248
  }
4249
4249
  };
4250
- var stdin_default$1v = vue.defineComponent({
4251
- name: name$1l,
4250
+ var stdin_default$1w = vue.defineComponent({
4251
+ name: name$1m,
4252
4252
  props: formProps,
4253
4253
  emits: ["submit", "failed"],
4254
4254
  setup(props2, {
@@ -4374,13 +4374,13 @@
4374
4374
  return () => {
4375
4375
  var _a;
4376
4376
  return vue.createVNode("form", {
4377
- "class": bem$1h(),
4377
+ "class": bem$1i(),
4378
4378
  "onSubmit": onSubmit
4379
4379
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4380
4380
  };
4381
4381
  }
4382
4382
  });
4383
- const Form = withInstall(stdin_default$1v);
4383
+ const Form = withInstall(stdin_default$1w);
4384
4384
  function isEmptyValue(value) {
4385
4385
  if (Array.isArray(value)) {
4386
4386
  return !value.length;
@@ -4469,7 +4469,7 @@
4469
4469
  function cutString(str, maxlength) {
4470
4470
  return [...str].slice(0, maxlength).join("");
4471
4471
  }
4472
- const [name$1k, bem$1g] = createNamespace("field");
4472
+ const [name$1l, bem$1h] = createNamespace("field");
4473
4473
  const fieldSharedProps = {
4474
4474
  id: String,
4475
4475
  name: String,
@@ -4522,8 +4522,8 @@
4522
4522
  default: null
4523
4523
  }
4524
4524
  });
4525
- var stdin_default$1u = vue.defineComponent({
4526
- name: name$1k,
4525
+ var stdin_default$1v = vue.defineComponent({
4526
+ name: name$1l,
4527
4527
  props: fieldProps,
4528
4528
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
4529
4529
  setup(props2, {
@@ -4805,7 +4805,7 @@
4805
4805
  const getInputId = () => props2.id || `${id}-input`;
4806
4806
  const getValidationStatus = () => state.status;
4807
4807
  const renderInput = () => {
4808
- const controlClass = bem$1g("control", [getProp("inputAlign"), {
4808
+ const controlClass = bem$1h("control", [getProp("inputAlign"), {
4809
4809
  error: showError.value,
4810
4810
  custom: !!slots.input,
4811
4811
  "min-height": props2.type === "textarea" && !props2.autosize
@@ -4850,7 +4850,7 @@
4850
4850
  const leftIconSlot = slots["left-icon"];
4851
4851
  if (props2.leftIcon || leftIconSlot) {
4852
4852
  return vue.createVNode("div", {
4853
- "class": bem$1g("left-icon"),
4853
+ "class": bem$1h("left-icon"),
4854
4854
  "onClick": onClickLeftIcon
4855
4855
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4856
4856
  "name": props2.leftIcon,
@@ -4862,7 +4862,7 @@
4862
4862
  const rightIconSlot = slots["right-icon"];
4863
4863
  if (props2.rightIcon || rightIconSlot) {
4864
4864
  return vue.createVNode("div", {
4865
- "class": bem$1g("right-icon"),
4865
+ "class": bem$1h("right-icon"),
4866
4866
  "onClick": onClickRightIcon
4867
4867
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4868
4868
  "name": props2.rightIcon,
@@ -4874,9 +4874,9 @@
4874
4874
  if (props2.showWordLimit && props2.maxlength) {
4875
4875
  const count = getStringLength(getModelValue());
4876
4876
  return vue.createVNode("div", {
4877
- "class": bem$1g("word-limit")
4877
+ "class": bem$1h("word-limit")
4878
4878
  }, [vue.createVNode("span", {
4879
- "class": bem$1g("word-num")
4879
+ "class": bem$1h("word-num")
4880
4880
  }, [count]), vue.createTextVNode("/"), props2.maxlength]);
4881
4881
  }
4882
4882
  };
@@ -4889,7 +4889,7 @@
4889
4889
  const slot = slots["error-message"];
4890
4890
  const errorMessageAlign = getProp("errorMessageAlign");
4891
4891
  return vue.createVNode("div", {
4892
- "class": bem$1g("error-message", errorMessageAlign)
4892
+ "class": bem$1h("error-message", errorMessageAlign)
4893
4893
  }, [slot ? slot({
4894
4894
  message
4895
4895
  }) : message]);
@@ -4917,13 +4917,13 @@
4917
4917
  }
4918
4918
  };
4919
4919
  const renderFieldBody = () => [vue.createVNode("div", {
4920
- "class": bem$1g("body")
4920
+ "class": bem$1h("body")
4921
4921
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4922
4922
  "ref": clearIconRef,
4923
4923
  "name": props2.clearIcon,
4924
- "class": bem$1g("clear")
4924
+ "class": bem$1h("clear")
4925
4925
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4926
- "class": bem$1g("button")
4926
+ "class": bem$1h("button")
4927
4927
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4928
4928
  useExpose({
4929
4929
  blur,
@@ -4967,7 +4967,7 @@
4967
4967
  };
4968
4968
  return vue.createVNode(Cell, {
4969
4969
  "size": props2.size,
4970
- "class": bem$1g({
4970
+ "class": bem$1h({
4971
4971
  error: showError.value,
4972
4972
  disabled,
4973
4973
  [`label-${labelAlign}`]: labelAlign
@@ -4977,8 +4977,8 @@
4977
4977
  "isLink": props2.isLink,
4978
4978
  "clickable": props2.clickable,
4979
4979
  "titleStyle": labelStyle.value,
4980
- "valueClass": bem$1g("value"),
4981
- "titleClass": [bem$1g("label", [labelAlign, {
4980
+ "valueClass": bem$1h("value"),
4981
+ "titleClass": [bem$1h("label", [labelAlign, {
4982
4982
  required: showRequiredMark.value
4983
4983
  }]), props2.labelClass],
4984
4984
  "arrowDirection": props2.arrowDirection
@@ -4991,7 +4991,7 @@
4991
4991
  };
4992
4992
  }
4993
4993
  });
4994
- const Field = withInstall(stdin_default$1u);
4994
+ const Field = withInstall(stdin_default$1v);
4995
4995
  let lockCount = 0;
4996
4996
  function lockClick(lock) {
4997
4997
  if (lock) {
@@ -5006,7 +5006,7 @@
5006
5006
  }
5007
5007
  }
5008
5008
  }
5009
- const [name$1j, bem$1f] = createNamespace("toast");
5009
+ const [name$1k, bem$1g] = createNamespace("toast");
5010
5010
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
5011
5011
  const toastProps = {
5012
5012
  icon: String,
@@ -5029,8 +5029,8 @@
5029
5029
  closeOnClick: Boolean,
5030
5030
  closeOnClickOverlay: Boolean
5031
5031
  };
5032
- var stdin_default$1t = vue.defineComponent({
5033
- name: name$1j,
5032
+ var stdin_default$1u = vue.defineComponent({
5033
+ name: name$1k,
5034
5034
  props: toastProps,
5035
5035
  emits: ["update:show"],
5036
5036
  setup(props2, {
@@ -5066,13 +5066,13 @@
5066
5066
  return vue.createVNode(Icon, {
5067
5067
  "name": icon || type,
5068
5068
  "size": iconSize,
5069
- "class": bem$1f("icon"),
5069
+ "class": bem$1g("icon"),
5070
5070
  "classPrefix": iconPrefix
5071
5071
  }, null);
5072
5072
  }
5073
5073
  if (type === "loading") {
5074
5074
  return vue.createVNode(Loading, {
5075
- "class": bem$1f("loading"),
5075
+ "class": bem$1g("loading"),
5076
5076
  "size": iconSize,
5077
5077
  "type": loadingType
5078
5078
  }, null);
@@ -5085,16 +5085,16 @@
5085
5085
  } = props2;
5086
5086
  if (slots.message) {
5087
5087
  return vue.createVNode("div", {
5088
- "class": bem$1f("text")
5088
+ "class": bem$1g("text")
5089
5089
  }, [slots.message()]);
5090
5090
  }
5091
5091
  if (isDef(message) && message !== "") {
5092
5092
  return type === "html" ? vue.createVNode("div", {
5093
5093
  "key": 0,
5094
- "class": bem$1f("text"),
5094
+ "class": bem$1g("text"),
5095
5095
  "innerHTML": String(message)
5096
5096
  }, null) : vue.createVNode("div", {
5097
- "class": bem$1f("text")
5097
+ "class": bem$1g("text")
5098
5098
  }, [message]);
5099
5099
  }
5100
5100
  };
@@ -5110,7 +5110,7 @@
5110
5110
  vue.onMounted(toggleClickable);
5111
5111
  vue.onUnmounted(toggleClickable);
5112
5112
  return () => vue.createVNode(Popup, vue.mergeProps({
5113
- "class": [bem$1f([props2.position, props2.wordBreak === "normal" ? "break-normal" : props2.wordBreak, {
5113
+ "class": [bem$1g([props2.position, props2.wordBreak === "normal" ? "break-normal" : props2.wordBreak, {
5114
5114
  [props2.type]: !props2.icon
5115
5115
  }]), props2.className],
5116
5116
  "lockScroll": false,
@@ -5211,7 +5211,7 @@
5211
5211
  onClosed,
5212
5212
  "onUpdate:show": toggle
5213
5213
  };
5214
- return vue.createVNode(stdin_default$1t, vue.mergeProps(state, attrs), null);
5214
+ return vue.createVNode(stdin_default$1u, vue.mergeProps(state, attrs), null);
5215
5215
  };
5216
5216
  vue.watch(message, (val) => {
5217
5217
  state.message = val;
@@ -5281,8 +5281,8 @@
5281
5281
  const allowMultipleToast = (value = true) => {
5282
5282
  allowMultiple = value;
5283
5283
  };
5284
- const Toast = withInstall(stdin_default$1t);
5285
- const [name$1i, bem$1e] = createNamespace("switch");
5284
+ const Toast = withInstall(stdin_default$1u);
5285
+ const [name$1j, bem$1f] = createNamespace("switch");
5286
5286
  const switchProps = {
5287
5287
  size: numericProp,
5288
5288
  loading: Boolean,
@@ -5299,8 +5299,8 @@
5299
5299
  default: false
5300
5300
  }
5301
5301
  };
5302
- var stdin_default$1s = vue.defineComponent({
5303
- name: name$1i,
5302
+ var stdin_default$1t = vue.defineComponent({
5303
+ name: name$1j,
5304
5304
  props: switchProps,
5305
5305
  emits: ["change", "update:modelValue"],
5306
5306
  setup(props2, {
@@ -5319,7 +5319,7 @@
5319
5319
  if (props2.loading) {
5320
5320
  const color = isChecked() ? props2.activeColor : props2.inactiveColor;
5321
5321
  return vue.createVNode(Loading, {
5322
- "class": bem$1e("loading"),
5322
+ "class": bem$1f("loading"),
5323
5323
  "color": color
5324
5324
  }, null);
5325
5325
  }
@@ -5344,7 +5344,7 @@
5344
5344
  };
5345
5345
  return vue.createVNode("div", {
5346
5346
  "role": "switch",
5347
- "class": bem$1e({
5347
+ "class": bem$1f({
5348
5348
  on: checked,
5349
5349
  loading,
5350
5350
  disabled
@@ -5354,16 +5354,16 @@
5354
5354
  "aria-checked": checked,
5355
5355
  "onClick": onClick
5356
5356
  }, [vue.createVNode("div", {
5357
- "class": bem$1e("node")
5357
+ "class": bem$1f("node")
5358
5358
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
5359
5359
  };
5360
5360
  }
5361
5361
  });
5362
- const Switch = withInstall(stdin_default$1s);
5363
- const [name$1h, bem$1d] = createNamespace("address-edit-detail");
5362
+ const Switch = withInstall(stdin_default$1t);
5363
+ const [name$1i, bem$1e] = createNamespace("address-edit-detail");
5364
5364
  const t$j = createNamespace("address-edit")[2];
5365
- var stdin_default$1r = vue.defineComponent({
5366
- name: name$1h,
5365
+ var stdin_default$1s = vue.defineComponent({
5366
+ name: name$1i,
5367
5367
  props: {
5368
5368
  show: Boolean,
5369
5369
  rows: numericProp,
@@ -5397,7 +5397,7 @@
5397
5397
  "icon": "location-o",
5398
5398
  "title": express.name,
5399
5399
  "label": express.address,
5400
- "class": bem$1d("search-item"),
5400
+ "class": bem$1e("search-item"),
5401
5401
  "border": false,
5402
5402
  "onClick": () => onSelect(express)
5403
5403
  }, null));
@@ -5411,7 +5411,7 @@
5411
5411
  "autosize": true,
5412
5412
  "clearable": true,
5413
5413
  "ref": field,
5414
- "class": bem$1d(),
5414
+ "class": bem$1e(),
5415
5415
  "rows": props2.rows,
5416
5416
  "type": "textarea",
5417
5417
  "rules": props2.rules,
@@ -5428,7 +5428,7 @@
5428
5428
  };
5429
5429
  }
5430
5430
  });
5431
- const [name$1g, bem$1c, t$i] = createNamespace("address-edit");
5431
+ const [name$1h, bem$1d, t$i] = createNamespace("address-edit");
5432
5432
  const DEFAULT_DATA = {
5433
5433
  name: "",
5434
5434
  tel: "",
@@ -5468,8 +5468,8 @@
5468
5468
  default: isMobile
5469
5469
  }
5470
5470
  };
5471
- var stdin_default$1q = vue.defineComponent({
5472
- name: name$1g,
5471
+ var stdin_default$1r = vue.defineComponent({
5472
+ name: name$1h,
5473
5473
  props: addressEditProps,
5474
5474
  emits: ["save", "focus", "change", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
5475
5475
  setup(props2, {
@@ -5587,7 +5587,7 @@
5587
5587
  "center": true,
5588
5588
  "border": false,
5589
5589
  "title": t$i("defaultAddress"),
5590
- "class": bem$1c("default")
5590
+ "class": bem$1d("default")
5591
5591
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5592
5592
  }
5593
5593
  };
@@ -5613,13 +5613,13 @@
5613
5613
  disableArea
5614
5614
  } = props2;
5615
5615
  return vue.createVNode(Form, {
5616
- "class": bem$1c(),
5616
+ "class": bem$1d(),
5617
5617
  "onSubmit": onSave
5618
5618
  }, {
5619
5619
  default: () => {
5620
5620
  var _a;
5621
5621
  return [vue.createVNode("div", {
5622
- "class": bem$1c("fields")
5622
+ "class": bem$1d("fields")
5623
5623
  }, [vue.createVNode(Field, {
5624
5624
  "modelValue": data.name,
5625
5625
  "onUpdate:modelValue": [($event) => data.name = $event, (val) => onChange("name", val)],
@@ -5650,7 +5650,7 @@
5650
5650
  emit("clickArea");
5651
5651
  showAreaPopup.value = !disableArea;
5652
5652
  }
5653
- }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1r, {
5653
+ }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1s, {
5654
5654
  "show": props2.showDetail,
5655
5655
  "rows": props2.detailRows,
5656
5656
  "rules": rules.value.addressDetail,
@@ -5664,19 +5664,19 @@
5664
5664
  "onInput": onChangeDetail,
5665
5665
  "onSelectSearch": (event) => emit("selectSearch", event)
5666
5666
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5667
- "class": bem$1c("buttons")
5667
+ "class": bem$1d("buttons")
5668
5668
  }, [vue.createVNode(Button, {
5669
5669
  "block": true,
5670
5670
  "round": true,
5671
5671
  "type": "primary",
5672
5672
  "text": props2.saveButtonText || t$i("save"),
5673
- "class": bem$1c("button"),
5673
+ "class": bem$1d("button"),
5674
5674
  "loading": props2.isSaving,
5675
5675
  "nativeType": "submit"
5676
5676
  }, null), props2.showDelete && vue.createVNode(Button, {
5677
5677
  "block": true,
5678
5678
  "round": true,
5679
- "class": bem$1c("button"),
5679
+ "class": bem$1d("button"),
5680
5680
  "loading": props2.isDeleting,
5681
5681
  "text": props2.deleteButtonText || t$i("delete"),
5682
5682
  "onClick": onDelete
@@ -5706,8 +5706,8 @@
5706
5706
  };
5707
5707
  }
5708
5708
  });
5709
- const AddressEdit = withInstall(stdin_default$1q);
5710
- const [name$1f, bem$1b] = createNamespace("radio-group");
5709
+ const AddressEdit = withInstall(stdin_default$1r);
5710
+ const [name$1g, bem$1c] = createNamespace("radio-group");
5711
5711
  const radioGroupProps = {
5712
5712
  shape: String,
5713
5713
  disabled: Boolean,
@@ -5716,9 +5716,9 @@
5716
5716
  modelValue: unknownProp,
5717
5717
  checkedColor: String
5718
5718
  };
5719
- const RADIO_KEY = Symbol(name$1f);
5720
- var stdin_default$1p = vue.defineComponent({
5721
- name: name$1f,
5719
+ const RADIO_KEY = Symbol(name$1g);
5720
+ var stdin_default$1q = vue.defineComponent({
5721
+ name: name$1g,
5722
5722
  props: radioGroupProps,
5723
5723
  emits: ["change", "update:modelValue"],
5724
5724
  setup(props2, {
@@ -5738,14 +5738,14 @@
5738
5738
  return () => {
5739
5739
  var _a;
5740
5740
  return vue.createVNode("div", {
5741
- "class": bem$1b([props2.direction]),
5741
+ "class": bem$1c([props2.direction]),
5742
5742
  "role": "radiogroup"
5743
5743
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5744
5744
  };
5745
5745
  }
5746
5746
  });
5747
- const RadioGroup = withInstall(stdin_default$1p);
5748
- const [name$1e, bem$1a] = createNamespace("tag");
5747
+ const RadioGroup = withInstall(stdin_default$1q);
5748
+ const [name$1f, bem$1b] = createNamespace("tag");
5749
5749
  const tagProps = {
5750
5750
  size: String,
5751
5751
  mark: Boolean,
@@ -5757,8 +5757,8 @@
5757
5757
  textColor: String,
5758
5758
  closeable: Boolean
5759
5759
  };
5760
- var stdin_default$1o = vue.defineComponent({
5761
- name: name$1e,
5760
+ var stdin_default$1p = vue.defineComponent({
5761
+ name: name$1f,
5762
5762
  props: tagProps,
5763
5763
  emits: ["close"],
5764
5764
  setup(props2, {
@@ -5801,12 +5801,12 @@
5801
5801
  }
5802
5802
  const CloseIcon = closeable && vue.createVNode(Icon, {
5803
5803
  "name": "cross",
5804
- "class": [bem$1a("close"), HAPTICS_FEEDBACK],
5804
+ "class": [bem$1b("close"), HAPTICS_FEEDBACK],
5805
5805
  "onClick": onClose
5806
5806
  }, null);
5807
5807
  return vue.createVNode("span", {
5808
5808
  "style": getStyle(),
5809
- "class": bem$1a([classes, type])
5809
+ "class": bem$1b([classes, type])
5810
5810
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5811
5811
  };
5812
5812
  return () => vue.createVNode(vue.Transition, {
@@ -5816,7 +5816,7 @@
5816
5816
  });
5817
5817
  }
5818
5818
  });
5819
- const Tag = withInstall(stdin_default$1o);
5819
+ const Tag = withInstall(stdin_default$1p);
5820
5820
  const checkerProps = {
5821
5821
  name: unknownProp,
5822
5822
  disabled: Boolean,
@@ -5826,7 +5826,7 @@
5826
5826
  labelPosition: String,
5827
5827
  labelDisabled: Boolean
5828
5828
  };
5829
- var stdin_default$1n = vue.defineComponent({
5829
+ var stdin_default$1o = vue.defineComponent({
5830
5830
  props: extend({}, checkerProps, {
5831
5831
  bem: makeRequiredProp(Function),
5832
5832
  role: String,
@@ -5923,12 +5923,18 @@
5923
5923
  }, null)]);
5924
5924
  };
5925
5925
  const renderLabel = () => {
5926
+ const {
5927
+ checked
5928
+ } = props2;
5926
5929
  if (slots.default) {
5927
5930
  return vue.createVNode("span", {
5928
5931
  "class": props2.bem("label", [props2.labelPosition, {
5929
5932
  disabled: disabled.value
5930
5933
  }])
5931
- }, [slots.default()]);
5934
+ }, [slots.default({
5935
+ checked,
5936
+ disabled: disabled.value
5937
+ })]);
5932
5938
  }
5933
5939
  };
5934
5940
  return () => {
@@ -5949,9 +5955,9 @@
5949
5955
  const radioProps = extend({}, checkerProps, {
5950
5956
  shape: String
5951
5957
  });
5952
- const [name$1d, bem$19] = createNamespace("radio");
5953
- var stdin_default$1m = vue.defineComponent({
5954
- name: name$1d,
5958
+ const [name$1e, bem$1a] = createNamespace("radio");
5959
+ var stdin_default$1n = vue.defineComponent({
5960
+ name: name$1e,
5955
5961
  props: radioProps,
5956
5962
  emits: ["update:modelValue"],
5957
5963
  setup(props2, {
@@ -5972,8 +5978,8 @@
5972
5978
  emit("update:modelValue", props2.name);
5973
5979
  }
5974
5980
  };
5975
- return () => vue.createVNode(stdin_default$1n, vue.mergeProps({
5976
- "bem": bem$19,
5981
+ return () => vue.createVNode(stdin_default$1o, vue.mergeProps({
5982
+ "bem": bem$1a,
5977
5983
  "role": "radio",
5978
5984
  "parent": parent,
5979
5985
  "checked": checked(),
@@ -5981,10 +5987,10 @@
5981
5987
  }, props2), pick(slots, ["default", "icon"]));
5982
5988
  }
5983
5989
  });
5984
- const Radio = withInstall(stdin_default$1m);
5985
- const [name$1c, bem$18] = createNamespace("address-item");
5986
- var stdin_default$1l = vue.defineComponent({
5987
- name: name$1c,
5990
+ const Radio = withInstall(stdin_default$1n);
5991
+ const [name$1d, bem$19] = createNamespace("address-item");
5992
+ var stdin_default$1m = vue.defineComponent({
5993
+ name: name$1d,
5988
5994
  props: {
5989
5995
  address: makeRequiredProp(Object),
5990
5996
  disabled: Boolean,
@@ -6005,7 +6011,7 @@
6005
6011
  };
6006
6012
  const renderRightIcon = () => vue.createVNode(Icon, {
6007
6013
  "name": props2.rightIcon,
6008
- "class": bem$18("edit"),
6014
+ "class": bem$19("edit"),
6009
6015
  "onClick": (event) => {
6010
6016
  event.stopPropagation();
6011
6017
  emit("edit");
@@ -6020,7 +6026,7 @@
6020
6026
  return vue.createVNode(Tag, {
6021
6027
  "type": "primary",
6022
6028
  "round": true,
6023
- "class": bem$18("tag")
6029
+ "class": bem$19("tag")
6024
6030
  }, {
6025
6031
  default: () => [props2.defaultTagText]
6026
6032
  });
@@ -6033,9 +6039,9 @@
6033
6039
  switchable
6034
6040
  } = props2;
6035
6041
  const Info = [vue.createVNode("div", {
6036
- "class": bem$18("name")
6042
+ "class": bem$19("name")
6037
6043
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
6038
- "class": bem$18("address")
6044
+ "class": bem$19("address")
6039
6045
  }, [address.address])];
6040
6046
  if (switchable && !disabled) {
6041
6047
  return vue.createVNode(Radio, {
@@ -6053,13 +6059,13 @@
6053
6059
  disabled
6054
6060
  } = props2;
6055
6061
  return vue.createVNode("div", {
6056
- "class": bem$18({
6062
+ "class": bem$19({
6057
6063
  disabled
6058
6064
  }),
6059
6065
  "onClick": onClick
6060
6066
  }, [vue.createVNode(Cell, {
6061
6067
  "border": false,
6062
- "titleClass": bem$18("title")
6068
+ "titleClass": bem$19("title")
6063
6069
  }, {
6064
6070
  title: renderContent,
6065
6071
  "right-icon": renderRightIcon
@@ -6069,7 +6075,7 @@
6069
6075
  };
6070
6076
  }
6071
6077
  });
6072
- const [name$1b, bem$17, t$h] = createNamespace("address-list");
6078
+ const [name$1c, bem$18, t$h] = createNamespace("address-list");
6073
6079
  const addressListProps = {
6074
6080
  list: makeArrayProp(),
6075
6081
  modelValue: numericProp,
@@ -6081,8 +6087,8 @@
6081
6087
  defaultTagText: String,
6082
6088
  rightIcon: makeStringProp("edit")
6083
6089
  };
6084
- var stdin_default$1k = vue.defineComponent({
6085
- name: name$1b,
6090
+ var stdin_default$1l = vue.defineComponent({
6091
+ name: name$1c,
6086
6092
  props: addressListProps,
6087
6093
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
6088
6094
  setup(props2, {
@@ -6098,7 +6104,7 @@
6098
6104
  emit("update:modelValue", item.id);
6099
6105
  }
6100
6106
  };
6101
- return vue.createVNode(stdin_default$1l, {
6107
+ return vue.createVNode(stdin_default$1m, {
6102
6108
  "key": item.id,
6103
6109
  "address": item,
6104
6110
  "disabled": disabled,
@@ -6119,13 +6125,13 @@
6119
6125
  }
6120
6126
  };
6121
6127
  const renderBottom = () => props2.showAddButton ? vue.createVNode("div", {
6122
- "class": [bem$17("bottom"), "van-safe-area-bottom"]
6128
+ "class": [bem$18("bottom"), "van-safe-area-bottom"]
6123
6129
  }, [vue.createVNode(Button, {
6124
6130
  "round": true,
6125
6131
  "block": true,
6126
6132
  "type": "primary",
6127
6133
  "text": props2.addButtonText || t$h("add"),
6128
- "class": bem$17("add"),
6134
+ "class": bem$18("add"),
6129
6135
  "onClick": () => emit("add")
6130
6136
  }, null)]) : void 0;
6131
6137
  return () => {
@@ -6133,10 +6139,10 @@
6133
6139
  const List2 = renderList(props2.list);
6134
6140
  const DisabledList = renderList(props2.disabledList, true);
6135
6141
  const DisabledText = props2.disabledText && vue.createVNode("div", {
6136
- "class": bem$17("disabled-text")
6142
+ "class": bem$18("disabled-text")
6137
6143
  }, [props2.disabledText]);
6138
6144
  return vue.createVNode("div", {
6139
- "class": bem$17()
6145
+ "class": bem$18()
6140
6146
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
6141
6147
  "modelValue": props2.modelValue
6142
6148
  }, {
@@ -6145,7 +6151,7 @@
6145
6151
  };
6146
6152
  }
6147
6153
  });
6148
- const AddressList = withInstall(stdin_default$1k);
6154
+ const AddressList = withInstall(stdin_default$1l);
6149
6155
  const hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
6150
6156
  const modeType = {
6151
6157
  event: "event",
@@ -6298,7 +6304,7 @@
6298
6304
  this.caches.shift();
6299
6305
  }
6300
6306
  }
6301
- const [name$1a, bem$16] = createNamespace("back-top");
6307
+ const [name$1b, bem$17] = createNamespace("back-top");
6302
6308
  const backTopProps = {
6303
6309
  right: numericProp,
6304
6310
  bottom: numericProp,
@@ -6311,8 +6317,8 @@
6311
6317
  default: "body"
6312
6318
  }
6313
6319
  };
6314
- var stdin_default$1j = vue.defineComponent({
6315
- name: name$1a,
6320
+ var stdin_default$1k = vue.defineComponent({
6321
+ name: name$1b,
6316
6322
  inheritAttrs: false,
6317
6323
  props: backTopProps,
6318
6324
  emits: ["click"],
@@ -6381,19 +6387,19 @@
6381
6387
  return () => {
6382
6388
  const Content = vue.createVNode("div", vue.mergeProps({
6383
6389
  "ref": !props2.teleport ? root : void 0,
6384
- "class": bem$16({
6390
+ "class": bem$17({
6385
6391
  active: show.value
6386
6392
  }),
6387
6393
  "style": style.value,
6388
6394
  "onClick": onClick
6389
6395
  }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
6390
6396
  "name": "back-top",
6391
- "class": bem$16("icon")
6397
+ "class": bem$17("icon")
6392
6398
  }, null)]);
6393
6399
  if (props2.teleport) {
6394
6400
  return [vue.createVNode("div", {
6395
6401
  "ref": root,
6396
- "class": bem$16("placeholder")
6402
+ "class": bem$17("placeholder")
6397
6403
  }, null), vue.createVNode(vue.Teleport, {
6398
6404
  "to": props2.teleport
6399
6405
  }, {
@@ -6404,7 +6410,7 @@
6404
6410
  };
6405
6411
  }
6406
6412
  });
6407
- const BackTop = withInstall(stdin_default$1j);
6413
+ const BackTop = withInstall(stdin_default$1k);
6408
6414
  var __async = (__this, __arguments, generator) => {
6409
6415
  return new Promise((resolve, reject) => {
6410
6416
  var fulfilled = (value) => {
@@ -6433,9 +6439,9 @@
6433
6439
  delay: makeNumberProp(300),
6434
6440
  modelValue: makeArrayProp()
6435
6441
  };
6436
- const [name$19, bem$15] = createNamespace("barrage");
6437
- var stdin_default$1i = vue.defineComponent({
6438
- name: name$19,
6442
+ const [name$1a, bem$16] = createNamespace("barrage");
6443
+ var stdin_default$1j = vue.defineComponent({
6444
+ name: name$1a,
6439
6445
  props: barrageProps,
6440
6446
  emits: ["update:modelValue"],
6441
6447
  setup(props2, {
@@ -6443,7 +6449,7 @@
6443
6449
  slots
6444
6450
  }) {
6445
6451
  const barrageWrapper = vue.ref();
6446
- const className = bem$15("item");
6452
+ const className = bem$16("item");
6447
6453
  const total = vue.ref(0);
6448
6454
  const barrageItems = [];
6449
6455
  const createBarrageItem = (text, delay = props2.delay) => {
@@ -6524,15 +6530,15 @@
6524
6530
  return () => {
6525
6531
  var _a;
6526
6532
  return vue.createVNode("div", {
6527
- "class": bem$15(),
6533
+ "class": bem$16(),
6528
6534
  "ref": barrageWrapper,
6529
6535
  "style": rootStyle.value
6530
6536
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
6531
6537
  };
6532
6538
  }
6533
6539
  });
6534
- const Barrage = withInstall(stdin_default$1i);
6535
- const [name$18, bem$14, t$g] = createNamespace("calendar");
6540
+ const Barrage = withInstall(stdin_default$1j);
6541
+ const [name$19, bem$15, t$g] = createNamespace("calendar");
6536
6542
  const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
6537
6543
  function compareMonth(date1, date2) {
6538
6544
  const year1 = date1.getFullYear();
@@ -6612,9 +6618,9 @@
6612
6618
  }
6613
6619
  return value;
6614
6620
  });
6615
- const [name$17] = createNamespace("calendar-day");
6616
- var stdin_default$1h = vue.defineComponent({
6617
- name: name$17,
6621
+ const [name$18] = createNamespace("calendar-day");
6622
+ var stdin_default$1i = vue.defineComponent({
6623
+ name: name$18,
6618
6624
  props: {
6619
6625
  item: makeRequiredProp(Object),
6620
6626
  color: String,
@@ -6678,7 +6684,7 @@
6678
6684
  } = props2.item;
6679
6685
  if (topInfo || slots["top-info"]) {
6680
6686
  return vue.createVNode("div", {
6681
- "class": bem$14("top-info")
6687
+ "class": bem$15("top-info")
6682
6688
  }, [slots["top-info"] ? slots["top-info"](props2.item) : topInfo]);
6683
6689
  }
6684
6690
  };
@@ -6688,7 +6694,7 @@
6688
6694
  } = props2.item;
6689
6695
  if (bottomInfo || slots["bottom-info"]) {
6690
6696
  return vue.createVNode("div", {
6691
- "class": bem$14("bottom-info")
6697
+ "class": bem$15("bottom-info")
6692
6698
  }, [slots["bottom-info"] ? slots["bottom-info"](props2.item) : bottomInfo]);
6693
6699
  }
6694
6700
  };
@@ -6705,7 +6711,7 @@
6705
6711
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
6706
6712
  if (type === "selected") {
6707
6713
  return vue.createVNode("div", {
6708
- "class": bem$14("selected-day"),
6714
+ "class": bem$15("selected-day"),
6709
6715
  "style": {
6710
6716
  width: rowHeight,
6711
6717
  height: rowHeight,
@@ -6722,21 +6728,21 @@
6722
6728
  } = props2.item;
6723
6729
  if (type === "placeholder") {
6724
6730
  return vue.createVNode("div", {
6725
- "class": bem$14("day"),
6731
+ "class": bem$15("day"),
6726
6732
  "style": style.value
6727
6733
  }, null);
6728
6734
  }
6729
6735
  return vue.createVNode("div", {
6730
6736
  "role": "gridcell",
6731
6737
  "style": style.value,
6732
- "class": [bem$14("day", type), className],
6738
+ "class": [bem$15("day", type), className],
6733
6739
  "tabindex": type === "disabled" ? void 0 : -1,
6734
6740
  "onClick": onClick
6735
6741
  }, [renderContent()]);
6736
6742
  };
6737
6743
  }
6738
6744
  });
6739
- const [name$16] = createNamespace("calendar-month");
6745
+ const [name$17] = createNamespace("calendar-month");
6740
6746
  const calendarMonthProps = {
6741
6747
  date: makeRequiredProp(Date),
6742
6748
  type: String,
@@ -6753,8 +6759,8 @@
6753
6759
  showMonthTitle: Boolean,
6754
6760
  firstDayOfWeek: Number
6755
6761
  };
6756
- var stdin_default$1g = vue.defineComponent({
6757
- name: name$16,
6762
+ var stdin_default$1h = vue.defineComponent({
6763
+ name: name$17,
6758
6764
  props: calendarMonthProps,
6759
6765
  emits: ["click", "clickDisabledDate"],
6760
6766
  setup(props2, {
@@ -6859,7 +6865,7 @@
6859
6865
  const renderTitle = () => {
6860
6866
  if (props2.showMonthTitle) {
6861
6867
  return vue.createVNode("div", {
6862
- "class": bem$14("month-title")
6868
+ "class": bem$15("month-title")
6863
6869
  }, [slots["month-title"] ? slots["month-title"]({
6864
6870
  date: props2.date,
6865
6871
  text: title.value
@@ -6869,7 +6875,7 @@
6869
6875
  const renderMark = () => {
6870
6876
  if (props2.showMark && shouldRender.value) {
6871
6877
  return vue.createVNode("div", {
6872
- "class": bem$14("month-mark")
6878
+ "class": bem$15("month-mark")
6873
6879
  }, [props2.date.getMonth() + 1]);
6874
6880
  }
6875
6881
  };
@@ -6909,7 +6915,7 @@
6909
6915
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
6910
6916
  }
6911
6917
  };
6912
- const renderDay = (item, index) => vue.createVNode(stdin_default$1h, {
6918
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1i, {
6913
6919
  "item": item,
6914
6920
  "index": index,
6915
6921
  "color": props2.color,
@@ -6921,7 +6927,7 @@
6921
6927
  const renderDays = () => vue.createVNode("div", {
6922
6928
  "ref": daysRef,
6923
6929
  "role": "grid",
6924
- "class": bem$14("days")
6930
+ "class": bem$15("days")
6925
6931
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6926
6932
  useExpose({
6927
6933
  getTitle,
@@ -6931,14 +6937,14 @@
6931
6937
  disabledDays
6932
6938
  });
6933
6939
  return () => vue.createVNode("div", {
6934
- "class": bem$14("month"),
6940
+ "class": bem$15("month"),
6935
6941
  "ref": monthRef
6936
6942
  }, [renderTitle(), renderDays()]);
6937
6943
  }
6938
6944
  });
6939
- const [name$15] = createNamespace("calendar-header");
6940
- var stdin_default$1f = vue.defineComponent({
6941
- name: name$15,
6945
+ const [name$16] = createNamespace("calendar-header");
6946
+ var stdin_default$1g = vue.defineComponent({
6947
+ name: name$16,
6942
6948
  props: {
6943
6949
  date: Date,
6944
6950
  title: String,
@@ -6957,7 +6963,7 @@
6957
6963
  const text = props2.title || t$g("title");
6958
6964
  const title = slots.title ? slots.title() : text;
6959
6965
  return vue.createVNode("div", {
6960
- "class": bem$14("header-title")
6966
+ "class": bem$15("header-title")
6961
6967
  }, [title]);
6962
6968
  }
6963
6969
  };
@@ -6969,7 +6975,7 @@
6969
6975
  text: props2.subtitle
6970
6976
  }) : props2.subtitle;
6971
6977
  return vue.createVNode("div", {
6972
- "class": bem$14("header-subtitle"),
6978
+ "class": bem$15("header-subtitle"),
6973
6979
  "onClick": onClickSubtitle
6974
6980
  }, [title]);
6975
6981
  }
@@ -6981,13 +6987,13 @@
6981
6987
  const weekdays = t$g("weekdays");
6982
6988
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6983
6989
  return vue.createVNode("div", {
6984
- "class": bem$14("weekdays")
6990
+ "class": bem$15("weekdays")
6985
6991
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
6986
- "class": bem$14("weekday")
6992
+ "class": bem$15("weekday")
6987
6993
  }, [text]))]);
6988
6994
  };
6989
6995
  return () => vue.createVNode("div", {
6990
- "class": bem$14("header")
6996
+ "class": bem$15("header")
6991
6997
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6992
6998
  }
6993
6999
  });
@@ -7038,8 +7044,8 @@
7038
7044
  validator: (val) => val >= 0 && val <= 6
7039
7045
  }
7040
7046
  };
7041
- var stdin_default$1e = vue.defineComponent({
7042
- name: name$18,
7047
+ var stdin_default$1f = vue.defineComponent({
7048
+ name: name$19,
7043
7049
  props: calendarProps,
7044
7050
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate"],
7045
7051
  setup(props2, {
@@ -7088,7 +7094,7 @@
7088
7094
  let bodyHeight;
7089
7095
  const bodyRef = vue.ref();
7090
7096
  const subtitle = vue.ref({
7091
- text: "",
7097
+ textFn: () => "",
7092
7098
  date: void 0
7093
7099
  });
7094
7100
  const currentDate = vue.ref(getInitialDate());
@@ -7152,7 +7158,7 @@
7152
7158
  });
7153
7159
  if (currentMonth) {
7154
7160
  subtitle.value = {
7155
- text: currentMonth.getTitle(),
7161
+ textFn: currentMonth.getTitle,
7156
7162
  date: currentMonth.date
7157
7163
  };
7158
7164
  }
@@ -7302,7 +7308,7 @@
7302
7308
  const updateShow = (value) => emit("update:show", value);
7303
7309
  const renderMonth = (date, index) => {
7304
7310
  const showMonthTitle = index !== 0 || !props2.showSubtitle;
7305
- return vue.createVNode(stdin_default$1g, vue.mergeProps({
7311
+ return vue.createVNode(stdin_default$1h, vue.mergeProps({
7306
7312
  "ref": setMonthRefs(index),
7307
7313
  "date": date,
7308
7314
  "currentDate": currentDate.value,
@@ -7326,7 +7332,7 @@
7326
7332
  "block": true,
7327
7333
  "type": "primary",
7328
7334
  "color": props2.color,
7329
- "class": bem$14("confirm"),
7335
+ "class": bem$15("confirm"),
7330
7336
  "disabled": disabled,
7331
7337
  "nativeType": "button",
7332
7338
  "onClick": onConfirm
@@ -7338,25 +7344,28 @@
7338
7344
  }
7339
7345
  };
7340
7346
  const renderFooter = () => vue.createVNode("div", {
7341
- "class": [bem$14("footer"), {
7347
+ "class": [bem$15("footer"), {
7342
7348
  "van-safe-area-bottom": props2.safeAreaInsetBottom
7343
7349
  }]
7344
7350
  }, [renderFooterButton()]);
7345
- const renderCalendar = () => vue.createVNode("div", {
7346
- "class": bem$14()
7347
- }, [vue.createVNode(stdin_default$1f, {
7348
- "date": subtitle.value.date,
7349
- "title": props2.title,
7350
- "subtitle": subtitle.value.text,
7351
- "showTitle": props2.showTitle,
7352
- "showSubtitle": props2.showSubtitle,
7353
- "firstDayOfWeek": dayOffset.value,
7354
- "onClickSubtitle": (event) => emit("clickSubtitle", event)
7355
- }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
7356
- "ref": bodyRef,
7357
- "class": bem$14("body"),
7358
- "onScroll": onScroll
7359
- }, [months.value.map(renderMonth)]), renderFooter()]);
7351
+ const renderCalendar = () => {
7352
+ const subTitle = subtitle.value.textFn();
7353
+ return vue.createVNode("div", {
7354
+ "class": bem$15()
7355
+ }, [vue.createVNode(stdin_default$1g, {
7356
+ "date": subtitle.value.date,
7357
+ "title": props2.title,
7358
+ "subtitle": subTitle,
7359
+ "showTitle": props2.showTitle,
7360
+ "showSubtitle": props2.showSubtitle,
7361
+ "firstDayOfWeek": dayOffset.value,
7362
+ "onClickSubtitle": (event) => emit("clickSubtitle", event)
7363
+ }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
7364
+ "ref": bodyRef,
7365
+ "class": bem$15("body"),
7366
+ "onScroll": onScroll
7367
+ }, [months.value.map(renderMonth)]), renderFooter()]);
7368
+ };
7360
7369
  vue.watch(() => props2.show, init);
7361
7370
  vue.watch(() => [props2.type, props2.minDate, props2.maxDate], () => reset(getInitialDate(currentDate.value)));
7362
7371
  vue.watch(() => props2.defaultDate, (value = null) => {
@@ -7373,7 +7382,7 @@
7373
7382
  if (props2.poppable) {
7374
7383
  return vue.createVNode(Popup, {
7375
7384
  "show": props2.show,
7376
- "class": bem$14("popup"),
7385
+ "class": bem$15("popup"),
7377
7386
  "round": props2.round,
7378
7387
  "position": props2.position,
7379
7388
  "closeable": props2.showTitle || props2.showSubtitle,
@@ -7390,8 +7399,8 @@
7390
7399
  };
7391
7400
  }
7392
7401
  });
7393
- const Calendar = withInstall(stdin_default$1e);
7394
- const [name$14, bem$13] = createNamespace("image");
7402
+ const Calendar = withInstall(stdin_default$1f);
7403
+ const [name$15, bem$14] = createNamespace("image");
7395
7404
  const imageProps = {
7396
7405
  src: String,
7397
7406
  alt: String,
@@ -7410,8 +7419,8 @@
7410
7419
  showLoading: truthProp,
7411
7420
  loadingIcon: makeStringProp("photo")
7412
7421
  };
7413
- var stdin_default$1d = vue.defineComponent({
7414
- name: name$14,
7422
+ var stdin_default$1e = vue.defineComponent({
7423
+ name: name$15,
7415
7424
  props: imageProps,
7416
7425
  emits: ["load", "error"],
7417
7426
  setup(props2, {
@@ -7472,13 +7481,13 @@
7472
7481
  const renderPlaceholder = () => {
7473
7482
  if (loading.value && props2.showLoading) {
7474
7483
  return vue.createVNode("div", {
7475
- "class": bem$13("loading")
7476
- }, [renderIcon(props2.loadingIcon, bem$13("loading-icon"), slots.loading)]);
7484
+ "class": bem$14("loading")
7485
+ }, [renderIcon(props2.loadingIcon, bem$14("loading-icon"), slots.loading)]);
7477
7486
  }
7478
7487
  if (error.value && props2.showError) {
7479
7488
  return vue.createVNode("div", {
7480
- "class": bem$13("error")
7481
- }, [renderIcon(props2.errorIcon, bem$13("error-icon"), slots.error)]);
7489
+ "class": bem$14("error")
7490
+ }, [renderIcon(props2.errorIcon, bem$14("error-icon"), slots.error)]);
7482
7491
  }
7483
7492
  };
7484
7493
  const renderImage = () => {
@@ -7487,7 +7496,7 @@
7487
7496
  }
7488
7497
  const attrs = {
7489
7498
  alt: props2.alt,
7490
- class: bem$13("img"),
7499
+ class: bem$14("img"),
7491
7500
  style: {
7492
7501
  objectFit: props2.fit,
7493
7502
  objectPosition: props2.position
@@ -7545,7 +7554,7 @@
7545
7554
  return () => {
7546
7555
  var _a;
7547
7556
  return vue.createVNode("div", {
7548
- "class": bem$13({
7557
+ "class": bem$14({
7549
7558
  round: props2.round,
7550
7559
  block: props2.block
7551
7560
  }),
@@ -7554,8 +7563,8 @@
7554
7563
  };
7555
7564
  }
7556
7565
  });
7557
- const Image$1 = withInstall(stdin_default$1d);
7558
- const [name$13, bem$12] = createNamespace("card");
7566
+ const Image$1 = withInstall(stdin_default$1e);
7567
+ const [name$14, bem$13] = createNamespace("card");
7559
7568
  const cardProps = {
7560
7569
  tag: String,
7561
7570
  num: numericProp,
@@ -7569,8 +7578,8 @@
7569
7578
  thumbLink: String,
7570
7579
  originPrice: numericProp
7571
7580
  };
7572
- var stdin_default$1c = vue.defineComponent({
7573
- name: name$13,
7581
+ var stdin_default$1d = vue.defineComponent({
7582
+ name: name$14,
7574
7583
  props: cardProps,
7575
7584
  emits: ["clickThumb"],
7576
7585
  setup(props2, {
@@ -7583,14 +7592,14 @@
7583
7592
  }
7584
7593
  if (props2.title) {
7585
7594
  return vue.createVNode("div", {
7586
- "class": [bem$12("title"), "van-multi-ellipsis--l2"]
7595
+ "class": [bem$13("title"), "van-multi-ellipsis--l2"]
7587
7596
  }, [props2.title]);
7588
7597
  }
7589
7598
  };
7590
7599
  const renderThumbTag = () => {
7591
7600
  if (slots.tag || props2.tag) {
7592
7601
  return vue.createVNode("div", {
7593
- "class": bem$12("tag")
7602
+ "class": bem$13("tag")
7594
7603
  }, [slots.tag ? slots.tag() : vue.createVNode(Tag, {
7595
7604
  "mark": true,
7596
7605
  "type": "primary"
@@ -7615,7 +7624,7 @@
7615
7624
  if (slots.thumb || props2.thumb) {
7616
7625
  return vue.createVNode("a", {
7617
7626
  "href": props2.thumbLink,
7618
- "class": bem$12("thumb"),
7627
+ "class": bem$13("thumb"),
7619
7628
  "onClick": (event) => emit("clickThumb", event)
7620
7629
  }, [renderThumbImage(), renderThumbTag()]);
7621
7630
  }
@@ -7626,18 +7635,18 @@
7626
7635
  }
7627
7636
  if (props2.desc) {
7628
7637
  return vue.createVNode("div", {
7629
- "class": [bem$12("desc"), "van-ellipsis"]
7638
+ "class": [bem$13("desc"), "van-ellipsis"]
7630
7639
  }, [props2.desc]);
7631
7640
  }
7632
7641
  };
7633
7642
  const renderPriceText = () => {
7634
7643
  const priceArr = props2.price.toString().split(".");
7635
7644
  return vue.createVNode("div", null, [vue.createVNode("span", {
7636
- "class": bem$12("price-currency")
7645
+ "class": bem$13("price-currency")
7637
7646
  }, [props2.currency]), vue.createVNode("span", {
7638
- "class": bem$12("price-integer")
7647
+ "class": bem$13("price-integer")
7639
7648
  }, [priceArr[0]]), vue.createTextVNode("."), vue.createVNode("span", {
7640
- "class": bem$12("price-decimal")
7649
+ "class": bem$13("price-decimal")
7641
7650
  }, [priceArr[1]])]);
7642
7651
  };
7643
7652
  return () => {
@@ -7647,34 +7656,34 @@
7647
7656
  const showOriginPrice = slots["origin-price"] || isDef(props2.originPrice);
7648
7657
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
7649
7658
  const Price = showPrice && vue.createVNode("div", {
7650
- "class": bem$12("price")
7659
+ "class": bem$13("price")
7651
7660
  }, [slots.price ? slots.price() : renderPriceText()]);
7652
7661
  const OriginPrice = showOriginPrice && vue.createVNode("div", {
7653
- "class": bem$12("origin-price")
7662
+ "class": bem$13("origin-price")
7654
7663
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props2.currency} ${props2.originPrice}`]);
7655
7664
  const Num = showNum && vue.createVNode("div", {
7656
- "class": bem$12("num")
7665
+ "class": bem$13("num")
7657
7666
  }, [slots.num ? slots.num() : `x${props2.num}`]);
7658
7667
  const Footer = slots.footer && vue.createVNode("div", {
7659
- "class": bem$12("footer")
7668
+ "class": bem$13("footer")
7660
7669
  }, [slots.footer()]);
7661
7670
  const Bottom = showBottom && vue.createVNode("div", {
7662
- "class": bem$12("bottom")
7671
+ "class": bem$13("bottom")
7663
7672
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
7664
7673
  return vue.createVNode("div", {
7665
- "class": bem$12()
7674
+ "class": bem$13()
7666
7675
  }, [vue.createVNode("div", {
7667
- "class": bem$12("header")
7676
+ "class": bem$13("header")
7668
7677
  }, [renderThumb(), vue.createVNode("div", {
7669
- "class": bem$12("content", {
7678
+ "class": bem$13("content", {
7670
7679
  centered: props2.centered
7671
7680
  })
7672
7681
  }, [vue.createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
7673
7682
  };
7674
7683
  }
7675
7684
  });
7676
- const Card = withInstall(stdin_default$1c);
7677
- const [name$12, bem$11, t$f] = createNamespace("cascader");
7685
+ const Card = withInstall(stdin_default$1d);
7686
+ const [name$13, bem$12, t$f] = createNamespace("cascader");
7678
7687
  const cascaderProps = {
7679
7688
  title: String,
7680
7689
  options: makeArrayProp(),
@@ -7687,8 +7696,8 @@
7687
7696
  placeholder: String,
7688
7697
  activeColor: String
7689
7698
  };
7690
- var stdin_default$1b = vue.defineComponent({
7691
- name: name$12,
7699
+ var stdin_default$1c = vue.defineComponent({
7700
+ name: name$13,
7692
7701
  props: cascaderProps,
7693
7702
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
7694
7703
  setup(props2, {
@@ -7797,12 +7806,12 @@
7797
7806
  title
7798
7807
  }) => emit("clickTab", name2, title);
7799
7808
  const renderHeader = () => props2.showHeader ? vue.createVNode("div", {
7800
- "class": bem$11("header")
7809
+ "class": bem$12("header")
7801
7810
  }, [vue.createVNode("h2", {
7802
- "class": bem$11("title")
7811
+ "class": bem$12("title")
7803
7812
  }, [slots.title ? slots.title() : props2.title]), props2.closeable ? vue.createVNode(Icon, {
7804
7813
  "name": props2.closeIcon,
7805
- "class": [bem$11("close-icon"), HAPTICS_FEEDBACK],
7814
+ "class": [bem$12("close-icon"), HAPTICS_FEEDBACK],
7806
7815
  "onClick": onClose
7807
7816
  }, null) : null]) : null;
7808
7817
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -7818,7 +7827,7 @@
7818
7827
  return vue.createVNode("li", {
7819
7828
  "ref": selected ? setSelectedElementRefs(tabIndex) : void 0,
7820
7829
  "role": "menuitemradio",
7821
- "class": [bem$11("option", {
7830
+ "class": [bem$12("option", {
7822
7831
  selected,
7823
7832
  disabled
7824
7833
  }), option.className],
@@ -7831,12 +7840,12 @@
7831
7840
  "onClick": () => onSelect(option, tabIndex)
7832
7841
  }, [Text, selected ? vue.createVNode(Icon, {
7833
7842
  "name": "success",
7834
- "class": bem$11("selected-icon")
7843
+ "class": bem$12("selected-icon")
7835
7844
  }, null) : null]);
7836
7845
  };
7837
7846
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
7838
7847
  "role": "menu",
7839
- "class": bem$11("options")
7848
+ "class": bem$12("options")
7840
7849
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
7841
7850
  const renderTab = (tab, tabIndex) => {
7842
7851
  const {
@@ -7847,7 +7856,7 @@
7847
7856
  const title = selected ? selected[textKey] : placeholder;
7848
7857
  return vue.createVNode(Tab, {
7849
7858
  "title": title,
7850
- "titleClass": bem$11("tab", {
7859
+ "titleClass": bem$12("tab", {
7851
7860
  unselected: !selected
7852
7861
  })
7853
7862
  }, {
@@ -7866,7 +7875,7 @@
7866
7875
  "onUpdate:active": ($event) => activeTab.value = $event,
7867
7876
  "shrink": true,
7868
7877
  "animated": true,
7869
- "class": bem$11("tabs"),
7878
+ "class": bem$12("tabs"),
7870
7879
  "color": props2.activeColor,
7871
7880
  "swipeable": props2.swipeable,
7872
7881
  "onClickTab": onClickTab
@@ -7901,19 +7910,19 @@
7901
7910
  updateTabs();
7902
7911
  });
7903
7912
  return () => vue.createVNode("div", {
7904
- "class": bem$11()
7913
+ "class": bem$12()
7905
7914
  }, [renderHeader(), renderTabs()]);
7906
7915
  }
7907
7916
  });
7908
- const Cascader = withInstall(stdin_default$1b);
7909
- const [name$11, bem$10] = createNamespace("cell-group");
7917
+ const Cascader = withInstall(stdin_default$1c);
7918
+ const [name$12, bem$11] = createNamespace("cell-group");
7910
7919
  const cellGroupProps = {
7911
7920
  title: String,
7912
7921
  inset: Boolean,
7913
7922
  border: truthProp
7914
7923
  };
7915
- var stdin_default$1a = vue.defineComponent({
7916
- name: name$11,
7924
+ var stdin_default$1b = vue.defineComponent({
7925
+ name: name$12,
7917
7926
  inheritAttrs: false,
7918
7927
  props: cellGroupProps,
7919
7928
  setup(props2, {
@@ -7923,7 +7932,7 @@
7923
7932
  const renderGroup = () => {
7924
7933
  var _a;
7925
7934
  return vue.createVNode("div", vue.mergeProps({
7926
- "class": [bem$10({
7935
+ "class": [bem$11({
7927
7936
  inset: props2.inset
7928
7937
  }), {
7929
7938
  [BORDER_TOP_BOTTOM]: props2.border && !props2.inset
@@ -7931,7 +7940,7 @@
7931
7940
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7932
7941
  };
7933
7942
  const renderTitle = () => vue.createVNode("div", {
7934
- "class": bem$10("title", {
7943
+ "class": bem$11("title", {
7935
7944
  inset: props2.inset
7936
7945
  })
7937
7946
  }, [slots.title ? slots.title() : props2.title]);
@@ -7943,8 +7952,8 @@
7943
7952
  };
7944
7953
  }
7945
7954
  });
7946
- const CellGroup = withInstall(stdin_default$1a);
7947
- const [name$10, bem$$] = createNamespace("checkbox-group");
7955
+ const CellGroup = withInstall(stdin_default$1b);
7956
+ const [name$11, bem$10] = createNamespace("checkbox-group");
7948
7957
  const checkboxGroupProps = {
7949
7958
  max: numericProp,
7950
7959
  shape: makeStringProp("round"),
@@ -7954,9 +7963,9 @@
7954
7963
  modelValue: makeArrayProp(),
7955
7964
  checkedColor: String
7956
7965
  };
7957
- const CHECKBOX_GROUP_KEY = Symbol(name$10);
7958
- var stdin_default$19 = vue.defineComponent({
7959
- name: name$10,
7966
+ const CHECKBOX_GROUP_KEY = Symbol(name$11);
7967
+ var stdin_default$1a = vue.defineComponent({
7968
+ name: name$11,
7960
7969
  props: checkboxGroupProps,
7961
7970
  emits: ["change", "update:modelValue"],
7962
7971
  setup(props2, {
@@ -8002,12 +8011,12 @@
8002
8011
  return () => {
8003
8012
  var _a;
8004
8013
  return vue.createVNode("div", {
8005
- "class": bem$$([props2.direction])
8014
+ "class": bem$10([props2.direction])
8006
8015
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
8007
8016
  };
8008
8017
  }
8009
8018
  });
8010
- const [name$$, bem$_] = createNamespace("checkbox");
8019
+ const [name$10, bem$$] = createNamespace("checkbox");
8011
8020
  const checkboxProps = extend({}, checkerProps, {
8012
8021
  shape: String,
8013
8022
  bindGroup: truthProp,
@@ -8016,8 +8025,8 @@
8016
8025
  default: null
8017
8026
  }
8018
8027
  });
8019
- var stdin_default$18 = vue.defineComponent({
8020
- name: name$$,
8028
+ var stdin_default$19 = vue.defineComponent({
8029
+ name: name$10,
8021
8030
  props: checkboxProps,
8022
8031
  emits: ["change", "update:modelValue"],
8023
8032
  setup(props2, {
@@ -8079,8 +8088,8 @@
8079
8088
  checked
8080
8089
  });
8081
8090
  useCustomFieldValue(() => props2.modelValue);
8082
- return () => vue.createVNode(stdin_default$1n, vue.mergeProps({
8083
- "bem": bem$_,
8091
+ return () => vue.createVNode(stdin_default$1o, vue.mergeProps({
8092
+ "bem": bem$$,
8084
8093
  "role": "checkbox",
8085
8094
  "parent": parent,
8086
8095
  "checked": checked.value,
@@ -8088,9 +8097,9 @@
8088
8097
  }, props2), pick(slots, ["default", "icon"]));
8089
8098
  }
8090
8099
  });
8091
- const Checkbox = withInstall(stdin_default$18);
8092
- const CheckboxGroup = withInstall(stdin_default$19);
8093
- const [name$_, bem$Z] = createNamespace("circle");
8100
+ const Checkbox = withInstall(stdin_default$19);
8101
+ const CheckboxGroup = withInstall(stdin_default$1a);
8102
+ const [name$$, bem$_] = createNamespace("circle");
8094
8103
  let uid = 0;
8095
8104
  const format = (rate) => Math.min(Math.max(+rate, 0), 100);
8096
8105
  function getPath(clockwise, viewBoxSize) {
@@ -8111,8 +8120,8 @@
8111
8120
  strokeLinecap: String,
8112
8121
  startPosition: makeStringProp("top")
8113
8122
  };
8114
- var stdin_default$17 = vue.defineComponent({
8115
- name: name$_,
8123
+ var stdin_default$18 = vue.defineComponent({
8124
+ name: name$$,
8116
8125
  props: circleProps,
8117
8126
  emits: ["update:currentRate"],
8118
8127
  setup(props2, {
@@ -8180,7 +8189,7 @@
8180
8189
  return vue.createVNode("path", {
8181
8190
  "d": path.value,
8182
8191
  "style": style,
8183
- "class": bem$Z("hover"),
8192
+ "class": bem$_("hover"),
8184
8193
  "stroke": color
8185
8194
  }, null);
8186
8195
  };
@@ -8191,7 +8200,7 @@
8191
8200
  strokeWidth: `${props2.strokeWidth}px`
8192
8201
  };
8193
8202
  return vue.createVNode("path", {
8194
- "class": bem$Z("layer"),
8203
+ "class": bem$_("layer"),
8195
8204
  "style": style,
8196
8205
  "d": path.value
8197
8206
  }, null);
@@ -8222,12 +8231,12 @@
8222
8231
  }
8223
8232
  if (props2.text) {
8224
8233
  return vue.createVNode("div", {
8225
- "class": bem$Z("text")
8234
+ "class": bem$_("text")
8226
8235
  }, [props2.text]);
8227
8236
  }
8228
8237
  };
8229
8238
  return () => vue.createVNode("div", {
8230
- "class": bem$Z(),
8239
+ "class": bem$_(),
8231
8240
  "style": getSizeStyle(props2.size)
8232
8241
  }, [vue.createVNode("svg", {
8233
8242
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -8235,18 +8244,21 @@
8235
8244
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
8236
8245
  }
8237
8246
  });
8238
- const Circle = withInstall(stdin_default$17);
8239
- const [name$Z, bem$Y] = createNamespace("row");
8240
- const ROW_KEY = Symbol(name$Z);
8247
+ const Circle = withInstall(stdin_default$18);
8248
+ const [name$_, bem$Z] = createNamespace("row");
8249
+ const ROW_KEY = Symbol(name$_);
8241
8250
  const rowProps = {
8242
8251
  tag: makeStringProp("div"),
8243
8252
  wrap: truthProp,
8244
8253
  align: String,
8245
- gutter: makeNumericProp(0),
8254
+ gutter: {
8255
+ type: [String, Number, Array],
8256
+ default: 0
8257
+ },
8246
8258
  justify: String
8247
8259
  };
8248
- var stdin_default$16 = vue.defineComponent({
8249
- name: name$Z,
8260
+ var stdin_default$17 = vue.defineComponent({
8261
+ name: name$_,
8250
8262
  props: rowProps,
8251
8263
  setup(props2, {
8252
8264
  slots
@@ -8270,7 +8282,12 @@
8270
8282
  return groups2;
8271
8283
  });
8272
8284
  const spaces = vue.computed(() => {
8273
- const gutter = Number(props2.gutter);
8285
+ let gutter = 0;
8286
+ if (Array.isArray(props2.gutter)) {
8287
+ gutter = Number(props2.gutter[0]) || 0;
8288
+ } else {
8289
+ gutter = Number(props2.gutter);
8290
+ }
8274
8291
  const spaces2 = [];
8275
8292
  if (!gutter) {
8276
8293
  return spaces2;
@@ -8294,8 +8311,31 @@
8294
8311
  });
8295
8312
  return spaces2;
8296
8313
  });
8314
+ const verticalSpaces = vue.computed(() => {
8315
+ const {
8316
+ gutter
8317
+ } = props2;
8318
+ const spaces2 = [];
8319
+ if (Array.isArray(gutter) && gutter.length > 1) {
8320
+ const bottom2 = Number(gutter[1]) || 0;
8321
+ if (bottom2 <= 0) {
8322
+ return spaces2;
8323
+ }
8324
+ groups.value.forEach((group, index) => {
8325
+ if (index === groups.value.length - 1)
8326
+ return;
8327
+ group.forEach(() => {
8328
+ spaces2.push({
8329
+ bottom: bottom2
8330
+ });
8331
+ });
8332
+ });
8333
+ }
8334
+ return spaces2;
8335
+ });
8297
8336
  linkChildren({
8298
- spaces
8337
+ spaces,
8338
+ verticalSpaces
8299
8339
  });
8300
8340
  return () => {
8301
8341
  const {
@@ -8305,7 +8345,7 @@
8305
8345
  justify
8306
8346
  } = props2;
8307
8347
  return vue.createVNode(tag, {
8308
- "class": bem$Y({
8348
+ "class": bem$Z({
8309
8349
  [`align-${align}`]: align,
8310
8350
  [`justify-${justify}`]: justify,
8311
8351
  nowrap: !wrap
@@ -8319,14 +8359,14 @@
8319
8359
  };
8320
8360
  }
8321
8361
  });
8322
- const [name$Y, bem$X] = createNamespace("col");
8362
+ const [name$Z, bem$Y] = createNamespace("col");
8323
8363
  const colProps = {
8324
8364
  tag: makeStringProp("div"),
8325
8365
  span: makeNumericProp(0),
8326
8366
  offset: numericProp
8327
8367
  };
8328
- var stdin_default$15 = vue.defineComponent({
8329
- name: name$Y,
8368
+ var stdin_default$16 = vue.defineComponent({
8369
+ name: name$Z,
8330
8370
  props: colProps,
8331
8371
  setup(props2, {
8332
8372
  slots
@@ -8340,18 +8380,26 @@
8340
8380
  return;
8341
8381
  }
8342
8382
  const {
8343
- spaces
8383
+ spaces,
8384
+ verticalSpaces
8344
8385
  } = parent;
8386
+ let styles = {};
8345
8387
  if (spaces && spaces.value && spaces.value[index.value]) {
8346
8388
  const {
8347
8389
  left: left2,
8348
8390
  right: right2
8349
8391
  } = spaces.value[index.value];
8350
- return {
8392
+ styles = {
8351
8393
  paddingLeft: left2 ? `${left2}px` : null,
8352
8394
  paddingRight: right2 ? `${right2}px` : null
8353
8395
  };
8354
8396
  }
8397
+ const {
8398
+ bottom: bottom2
8399
+ } = verticalSpaces.value[index.value] || {};
8400
+ return extend(styles, {
8401
+ marginBottom: bottom2 ? `${bottom2}px` : null
8402
+ });
8355
8403
  });
8356
8404
  return () => {
8357
8405
  const {
@@ -8361,7 +8409,7 @@
8361
8409
  } = props2;
8362
8410
  return vue.createVNode(tag, {
8363
8411
  "style": style.value,
8364
- "class": bem$X({
8412
+ "class": bem$Y({
8365
8413
  [span]: span,
8366
8414
  [`offset-${offset2}`]: offset2
8367
8415
  })
@@ -8374,9 +8422,9 @@
8374
8422
  };
8375
8423
  }
8376
8424
  });
8377
- const Col = withInstall(stdin_default$15);
8378
- const [name$X, bem$W] = createNamespace("collapse");
8379
- const COLLAPSE_KEY = Symbol(name$X);
8425
+ const Col = withInstall(stdin_default$16);
8426
+ const [name$Y, bem$X] = createNamespace("collapse");
8427
+ const COLLAPSE_KEY = Symbol(name$Y);
8380
8428
  const collapseProps = {
8381
8429
  border: truthProp,
8382
8430
  accordion: Boolean,
@@ -8385,8 +8433,8 @@
8385
8433
  default: ""
8386
8434
  }
8387
8435
  };
8388
- var stdin_default$14 = vue.defineComponent({
8389
- name: name$X,
8436
+ var stdin_default$15 = vue.defineComponent({
8437
+ name: name$Y,
8390
8438
  props: collapseProps,
8391
8439
  emits: ["change", "update:modelValue"],
8392
8440
  setup(props2, {
@@ -8453,15 +8501,15 @@
8453
8501
  return () => {
8454
8502
  var _a;
8455
8503
  return vue.createVNode("div", {
8456
- "class": [bem$W(), {
8504
+ "class": [bem$X(), {
8457
8505
  [BORDER_TOP_BOTTOM]: props2.border
8458
8506
  }]
8459
8507
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
8460
8508
  };
8461
8509
  }
8462
8510
  });
8463
- const Collapse = withInstall(stdin_default$14);
8464
- const [name$W, bem$V] = createNamespace("collapse-item");
8511
+ const Collapse = withInstall(stdin_default$15);
8512
+ const [name$X, bem$W] = createNamespace("collapse-item");
8465
8513
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
8466
8514
  const collapseItemProps = extend({}, cellSharedProps, {
8467
8515
  name: numericProp,
@@ -8470,8 +8518,8 @@
8470
8518
  readonly: Boolean,
8471
8519
  lazyRender: truthProp
8472
8520
  });
8473
- var stdin_default$13 = vue.defineComponent({
8474
- name: name$W,
8521
+ var stdin_default$14 = vue.defineComponent({
8522
+ name: name$X,
8475
8523
  props: collapseItemProps,
8476
8524
  setup(props2, {
8477
8525
  slots
@@ -8550,7 +8598,7 @@
8550
8598
  }
8551
8599
  return vue.createVNode(Cell, vue.mergeProps({
8552
8600
  "role": "button",
8553
- "class": bem$V("title", {
8601
+ "class": bem$W("title", {
8554
8602
  disabled,
8555
8603
  expanded: expanded.value,
8556
8604
  borderless: !border
@@ -8563,11 +8611,11 @@
8563
8611
  var _a;
8564
8612
  return vue.withDirectives(vue.createVNode("div", {
8565
8613
  "ref": wrapperRef,
8566
- "class": bem$V("wrapper"),
8614
+ "class": bem$W("wrapper"),
8567
8615
  "onTransitionend": onTransitionEnd
8568
8616
  }, [vue.createVNode("div", {
8569
8617
  "ref": contentRef,
8570
- "class": bem$V("content")
8618
+ "class": bem$W("content")
8571
8619
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
8572
8620
  });
8573
8621
  useExpose({
@@ -8576,15 +8624,15 @@
8576
8624
  itemName: name2
8577
8625
  });
8578
8626
  return () => vue.createVNode("div", {
8579
- "class": [bem$V({
8627
+ "class": [bem$W({
8580
8628
  border: index.value && props2.border
8581
8629
  })]
8582
8630
  }, [renderTitle(), renderContent()]);
8583
8631
  }
8584
8632
  });
8585
- const CollapseItem = withInstall(stdin_default$13);
8586
- const ConfigProvider = withInstall(stdin_default$1R);
8587
- const [name$V, bem$U, t$e] = createNamespace("contact-card");
8633
+ const CollapseItem = withInstall(stdin_default$14);
8634
+ const ConfigProvider = withInstall(stdin_default$1S);
8635
+ const [name$W, bem$V, t$e] = createNamespace("contact-card");
8588
8636
  const contactCardProps = {
8589
8637
  tel: String,
8590
8638
  name: String,
@@ -8592,8 +8640,8 @@
8592
8640
  addText: String,
8593
8641
  editable: truthProp
8594
8642
  };
8595
- var stdin_default$12 = vue.defineComponent({
8596
- name: name$V,
8643
+ var stdin_default$13 = vue.defineComponent({
8644
+ name: name$W,
8597
8645
  props: contactCardProps,
8598
8646
  emits: ["click"],
8599
8647
  setup(props2, {
@@ -8613,18 +8661,18 @@
8613
8661
  return () => vue.createVNode(Cell, {
8614
8662
  "center": true,
8615
8663
  "icon": props2.type === "edit" ? "contact" : "add-square",
8616
- "class": bem$U([props2.type]),
8664
+ "class": bem$V([props2.type]),
8617
8665
  "border": false,
8618
8666
  "isLink": props2.editable,
8619
- "titleClass": bem$U("title"),
8667
+ "titleClass": bem$V("title"),
8620
8668
  "onClick": onClick
8621
8669
  }, {
8622
8670
  title: renderContent
8623
8671
  });
8624
8672
  }
8625
8673
  });
8626
- const ContactCard = withInstall(stdin_default$12);
8627
- const [name$U, bem$T, t$d] = createNamespace("contact-edit");
8674
+ const ContactCard = withInstall(stdin_default$13);
8675
+ const [name$V, bem$U, t$d] = createNamespace("contact-edit");
8628
8676
  const DEFAULT_CONTACT = {
8629
8677
  tel: "",
8630
8678
  name: ""
@@ -8644,8 +8692,8 @@
8644
8692
  default: isMobile
8645
8693
  }
8646
8694
  };
8647
- var stdin_default$11 = vue.defineComponent({
8648
- name: name$U,
8695
+ var stdin_default$12 = vue.defineComponent({
8696
+ name: name$V,
8649
8697
  props: contactEditProps,
8650
8698
  emits: ["save", "delete", "changeDefault"],
8651
8699
  setup(props2, {
@@ -8659,20 +8707,20 @@
8659
8707
  };
8660
8708
  const onDelete = () => emit("delete", contact);
8661
8709
  const renderButtons = () => vue.createVNode("div", {
8662
- "class": bem$T("buttons")
8710
+ "class": bem$U("buttons")
8663
8711
  }, [vue.createVNode(Button, {
8664
8712
  "block": true,
8665
8713
  "round": true,
8666
8714
  "type": "primary",
8667
8715
  "text": t$d("save"),
8668
- "class": bem$T("button"),
8716
+ "class": bem$U("button"),
8669
8717
  "loading": props2.isSaving,
8670
8718
  "nativeType": "submit"
8671
8719
  }, null), props2.isEdit && vue.createVNode(Button, {
8672
8720
  "block": true,
8673
8721
  "round": true,
8674
8722
  "text": t$d("delete"),
8675
- "class": bem$T("button"),
8723
+ "class": bem$U("button"),
8676
8724
  "loading": props2.isDeleting,
8677
8725
  "onClick": onDelete
8678
8726
  }, null)]);
@@ -8685,7 +8733,7 @@
8685
8733
  if (props2.showSetDefault) {
8686
8734
  return vue.createVNode(Cell, {
8687
8735
  "title": props2.setDefaultLabel,
8688
- "class": bem$T("switch-cell"),
8736
+ "class": bem$U("switch-cell"),
8689
8737
  "border": false
8690
8738
  }, {
8691
8739
  "right-icon": renderSwitch
@@ -8694,11 +8742,11 @@
8694
8742
  };
8695
8743
  vue.watch(() => props2.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
8696
8744
  return () => vue.createVNode(Form, {
8697
- "class": bem$T(),
8745
+ "class": bem$U(),
8698
8746
  "onSubmit": onSave
8699
8747
  }, {
8700
8748
  default: () => [vue.createVNode("div", {
8701
- "class": bem$T("fields")
8749
+ "class": bem$U("fields")
8702
8750
  }, [vue.createVNode(Field, {
8703
8751
  "modelValue": contact.name,
8704
8752
  "onUpdate:modelValue": ($event) => contact.name = $event,
@@ -8725,16 +8773,16 @@
8725
8773
  });
8726
8774
  }
8727
8775
  });
8728
- const ContactEdit = withInstall(stdin_default$11);
8729
- const [name$T, bem$S, t$c] = createNamespace("contact-list");
8776
+ const ContactEdit = withInstall(stdin_default$12);
8777
+ const [name$U, bem$T, t$c] = createNamespace("contact-list");
8730
8778
  const contactListProps = {
8731
8779
  list: Array,
8732
8780
  addText: String,
8733
8781
  modelValue: unknownProp,
8734
8782
  defaultTagText: String
8735
8783
  };
8736
- var stdin_default$10 = vue.defineComponent({
8737
- name: name$T,
8784
+ var stdin_default$11 = vue.defineComponent({
8785
+ name: name$U,
8738
8786
  props: contactListProps,
8739
8787
  emits: ["add", "edit", "select", "update:modelValue"],
8740
8788
  setup(props2, {
@@ -8746,13 +8794,13 @@
8746
8794
  emit("select", item, index);
8747
8795
  };
8748
8796
  const renderRightIcon = () => vue.createVNode(Radio, {
8749
- "class": bem$S("radio"),
8797
+ "class": bem$T("radio"),
8750
8798
  "name": item.id,
8751
8799
  "iconSize": 18
8752
8800
  }, null);
8753
8801
  const renderEditIcon = () => vue.createVNode(Icon, {
8754
8802
  "name": "edit",
8755
- "class": bem$S("edit"),
8803
+ "class": bem$T("edit"),
8756
8804
  "onClick": (event) => {
8757
8805
  event.stopPropagation();
8758
8806
  emit("edit", item, index);
@@ -8764,7 +8812,7 @@
8764
8812
  nodes.push(vue.createVNode(Tag, {
8765
8813
  "type": "primary",
8766
8814
  "round": true,
8767
- "class": bem$S("item-tag")
8815
+ "class": bem$T("item-tag")
8768
8816
  }, {
8769
8817
  default: () => [props2.defaultTagText]
8770
8818
  }));
@@ -8775,8 +8823,8 @@
8775
8823
  "key": item.id,
8776
8824
  "isLink": true,
8777
8825
  "center": true,
8778
- "class": bem$S("item"),
8779
- "titleClass": bem$S("item-title"),
8826
+ "class": bem$T("item"),
8827
+ "titleClass": bem$T("item-title"),
8780
8828
  "onClick": onClick
8781
8829
  }, {
8782
8830
  icon: renderEditIcon,
@@ -8785,25 +8833,25 @@
8785
8833
  });
8786
8834
  };
8787
8835
  return () => vue.createVNode("div", {
8788
- "class": bem$S()
8836
+ "class": bem$T()
8789
8837
  }, [vue.createVNode(RadioGroup, {
8790
8838
  "modelValue": props2.modelValue,
8791
- "class": bem$S("group")
8839
+ "class": bem$T("group")
8792
8840
  }, {
8793
8841
  default: () => [props2.list && props2.list.map(renderItem)]
8794
8842
  }), vue.createVNode("div", {
8795
- "class": [bem$S("bottom"), "van-safe-area-bottom"]
8843
+ "class": [bem$T("bottom"), "van-safe-area-bottom"]
8796
8844
  }, [vue.createVNode(Button, {
8797
8845
  "round": true,
8798
8846
  "block": true,
8799
8847
  "type": "primary",
8800
- "class": bem$S("add"),
8848
+ "class": bem$T("add"),
8801
8849
  "text": props2.addText || t$c("addContact"),
8802
8850
  "onClick": () => emit("add")
8803
8851
  }, null)])]);
8804
8852
  }
8805
8853
  });
8806
- const ContactList = withInstall(stdin_default$10);
8854
+ const ContactList = withInstall(stdin_default$11);
8807
8855
  function parseFormat(format2, currentTime) {
8808
8856
  const { days } = currentTime;
8809
8857
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -8839,15 +8887,15 @@
8839
8887
  }
8840
8888
  return format2;
8841
8889
  }
8842
- const [name$S, bem$R] = createNamespace("count-down");
8890
+ const [name$T, bem$S] = createNamespace("count-down");
8843
8891
  const countDownProps = {
8844
8892
  time: makeNumericProp(0),
8845
8893
  format: makeStringProp("HH:mm:ss"),
8846
8894
  autoStart: truthProp,
8847
8895
  millisecond: Boolean
8848
8896
  };
8849
- var stdin_default$$ = vue.defineComponent({
8850
- name: name$S,
8897
+ var stdin_default$10 = vue.defineComponent({
8898
+ name: name$T,
8851
8899
  props: countDownProps,
8852
8900
  emits: ["change", "finish"],
8853
8901
  setup(props2, {
@@ -8882,11 +8930,11 @@
8882
8930
  });
8883
8931
  return () => vue.createVNode("div", {
8884
8932
  "role": "timer",
8885
- "class": bem$R()
8933
+ "class": bem$S()
8886
8934
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8887
8935
  }
8888
8936
  });
8889
- const CountDown = withInstall(stdin_default$$);
8937
+ const CountDown = withInstall(stdin_default$10);
8890
8938
  function getDate(timeStamp) {
8891
8939
  const date = new Date(timeStamp * 1e3);
8892
8940
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8895,9 +8943,9 @@
8895
8943
  }
8896
8944
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8897
8945
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8898
- const [name$R, bem$Q, t$b] = createNamespace("coupon");
8899
- var stdin_default$_ = vue.defineComponent({
8900
- name: name$R,
8946
+ const [name$S, bem$R, t$b] = createNamespace("coupon");
8947
+ var stdin_default$$ = vue.defineComponent({
8948
+ name: name$S,
8901
8949
  props: {
8902
8950
  chosen: Boolean,
8903
8951
  coupon: makeRequiredProp(Object),
@@ -8941,34 +8989,34 @@
8941
8989
  } = props2;
8942
8990
  const description = disabled && coupon.reason || coupon.description;
8943
8991
  return vue.createVNode("div", {
8944
- "class": bem$Q({
8992
+ "class": bem$R({
8945
8993
  disabled
8946
8994
  })
8947
8995
  }, [vue.createVNode("div", {
8948
- "class": bem$Q("content")
8996
+ "class": bem$R("content")
8949
8997
  }, [vue.createVNode("div", {
8950
- "class": bem$Q("head")
8998
+ "class": bem$R("head")
8951
8999
  }, [vue.createVNode("h2", {
8952
- "class": bem$Q("amount")
9000
+ "class": bem$R("amount")
8953
9001
  }, [faceAmount.value]), vue.createVNode("p", {
8954
- "class": bem$Q("condition")
9002
+ "class": bem$R("condition")
8955
9003
  }, [coupon.condition || conditionMessage.value])]), vue.createVNode("div", {
8956
- "class": bem$Q("body")
9004
+ "class": bem$R("body")
8957
9005
  }, [vue.createVNode("p", {
8958
- "class": bem$Q("name")
9006
+ "class": bem$R("name")
8959
9007
  }, [coupon.name]), vue.createVNode("p", {
8960
- "class": bem$Q("valid")
9008
+ "class": bem$R("valid")
8961
9009
  }, [validPeriod.value]), !disabled && vue.createVNode(Checkbox, {
8962
- "class": bem$Q("corner"),
9010
+ "class": bem$R("corner"),
8963
9011
  "modelValue": chosen
8964
9012
  }, null)])]), description && vue.createVNode("p", {
8965
- "class": bem$Q("description")
9013
+ "class": bem$R("description")
8966
9014
  }, [description])]);
8967
9015
  };
8968
9016
  }
8969
9017
  });
8970
- const Coupon = withInstall(stdin_default$_);
8971
- const [name$Q, bem$P, t$a] = createNamespace("coupon-cell");
9018
+ const Coupon = withInstall(stdin_default$$);
9019
+ const [name$R, bem$Q, t$a] = createNamespace("coupon-cell");
8972
9020
  const couponCellProps = {
8973
9021
  title: String,
8974
9022
  border: truthProp,
@@ -8996,34 +9044,34 @@
8996
9044
  }
8997
9045
  return coupons.length === 0 ? t$a("noCoupon") : t$a("count", coupons.length);
8998
9046
  }
8999
- var stdin_default$Z = vue.defineComponent({
9000
- name: name$Q,
9047
+ var stdin_default$_ = vue.defineComponent({
9048
+ name: name$R,
9001
9049
  props: couponCellProps,
9002
9050
  setup(props2) {
9003
9051
  return () => {
9004
9052
  const selected = props2.coupons[+props2.chosenCoupon];
9005
9053
  return vue.createVNode(Cell, {
9006
- "class": bem$P(),
9054
+ "class": bem$Q(),
9007
9055
  "value": formatValue(props2),
9008
9056
  "title": props2.title || t$a("title"),
9009
9057
  "border": props2.border,
9010
9058
  "isLink": props2.editable,
9011
- "valueClass": bem$P("value", {
9059
+ "valueClass": bem$Q("value", {
9012
9060
  selected
9013
9061
  })
9014
9062
  }, null);
9015
9063
  };
9016
9064
  }
9017
9065
  });
9018
- const CouponCell = withInstall(stdin_default$Z);
9019
- const [name$P, bem$O] = createNamespace("empty");
9066
+ const CouponCell = withInstall(stdin_default$_);
9067
+ const [name$Q, bem$P] = createNamespace("empty");
9020
9068
  const emptyProps = {
9021
9069
  image: makeStringProp("default"),
9022
9070
  imageSize: [Number, String, Array],
9023
9071
  description: String
9024
9072
  };
9025
- var stdin_default$Y = vue.defineComponent({
9026
- name: name$P,
9073
+ var stdin_default$Z = vue.defineComponent({
9074
+ name: name$Q,
9027
9075
  props: emptyProps,
9028
9076
  setup(props2, {
9029
9077
  slots
@@ -9032,14 +9080,14 @@
9032
9080
  const description = slots.description ? slots.description() : props2.description;
9033
9081
  if (description) {
9034
9082
  return vue.createVNode("p", {
9035
- "class": bem$O("description")
9083
+ "class": bem$P("description")
9036
9084
  }, [description]);
9037
9085
  }
9038
9086
  };
9039
9087
  const renderBottom = () => {
9040
9088
  if (slots.default) {
9041
9089
  return vue.createVNode("div", {
9042
- "class": bem$O("bottom")
9090
+ "class": bem$P("bottom")
9043
9091
  }, [slots.default()]);
9044
9092
  }
9045
9093
  };
@@ -9324,15 +9372,15 @@
9324
9372
  }, null);
9325
9373
  };
9326
9374
  return () => vue.createVNode("div", {
9327
- "class": bem$O()
9375
+ "class": bem$P()
9328
9376
  }, [vue.createVNode("div", {
9329
- "class": bem$O("image"),
9377
+ "class": bem$P("image"),
9330
9378
  "style": getSizeStyle(props2.imageSize)
9331
9379
  }, [renderImage()]), renderDescription(), renderBottom()]);
9332
9380
  }
9333
9381
  });
9334
- const Empty = withInstall(stdin_default$Y);
9335
- const [name$O, bem$N, t$9] = createNamespace("coupon-list");
9382
+ const Empty = withInstall(stdin_default$Z);
9383
+ const [name$P, bem$O, t$9] = createNamespace("coupon-list");
9336
9384
  const couponListProps = {
9337
9385
  code: makeStringProp(""),
9338
9386
  coupons: makeArrayProp(),
@@ -9353,8 +9401,8 @@
9353
9401
  exchangeButtonLoading: Boolean,
9354
9402
  exchangeButtonDisabled: Boolean
9355
9403
  };
9356
- var stdin_default$X = vue.defineComponent({
9357
- name: name$O,
9404
+ var stdin_default$Y = vue.defineComponent({
9405
+ name: name$P,
9358
9406
  props: couponListProps,
9359
9407
  emits: ["change", "exchange", "update:code"],
9360
9408
  setup(props2, {
@@ -9390,26 +9438,26 @@
9390
9438
  "image": props2.emptyImage
9391
9439
  }, {
9392
9440
  default: () => [vue.createVNode("p", {
9393
- "class": bem$N("empty-tip")
9441
+ "class": bem$O("empty-tip")
9394
9442
  }, [t$9("noCoupon")])]
9395
9443
  });
9396
9444
  const renderExchangeBar = () => {
9397
9445
  if (props2.showExchangeBar) {
9398
9446
  return vue.createVNode("div", {
9399
9447
  "ref": barRef,
9400
- "class": bem$N("exchange-bar")
9448
+ "class": bem$O("exchange-bar")
9401
9449
  }, [vue.createVNode(Field, {
9402
9450
  "modelValue": currentCode.value,
9403
9451
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
9404
9452
  "clearable": true,
9405
9453
  "border": false,
9406
- "class": bem$N("field"),
9454
+ "class": bem$O("field"),
9407
9455
  "placeholder": props2.inputPlaceholder || t$9("placeholder"),
9408
9456
  "maxlength": "20"
9409
9457
  }, null), vue.createVNode(Button, {
9410
9458
  "plain": true,
9411
9459
  "type": "primary",
9412
- "class": bem$N("exchange"),
9460
+ "class": bem$O("exchange"),
9413
9461
  "text": props2.exchangeButtonText || t$9("exchange"),
9414
9462
  "loading": props2.exchangeButtonLoading,
9415
9463
  "disabled": buttonDisabled.value,
@@ -9429,7 +9477,7 @@
9429
9477
  default: () => {
9430
9478
  var _a;
9431
9479
  return [vue.createVNode("div", {
9432
- "class": bem$N("list", {
9480
+ "class": bem$O("list", {
9433
9481
  "with-bottom": props2.showCloseButton
9434
9482
  }),
9435
9483
  "style": {
@@ -9458,7 +9506,7 @@
9458
9506
  default: () => {
9459
9507
  var _a;
9460
9508
  return [vue.createVNode("div", {
9461
- "class": bem$N("list", {
9509
+ "class": bem$O("list", {
9462
9510
  "with-bottom": props2.showCloseButton
9463
9511
  }),
9464
9512
  "style": {
@@ -9485,28 +9533,28 @@
9485
9533
  });
9486
9534
  return () => vue.createVNode("div", {
9487
9535
  "ref": root,
9488
- "class": bem$N()
9536
+ "class": bem$O()
9489
9537
  }, [renderExchangeBar(), vue.createVNode(Tabs, {
9490
9538
  "active": activeTab.value,
9491
9539
  "onUpdate:active": ($event) => activeTab.value = $event,
9492
- "class": bem$N("tab")
9540
+ "class": bem$O("tab")
9493
9541
  }, {
9494
9542
  default: () => [renderCouponTab(), renderDisabledTab()]
9495
9543
  }), vue.createVNode("div", {
9496
- "class": bem$N("bottom")
9544
+ "class": bem$O("bottom")
9497
9545
  }, [vue.withDirectives(vue.createVNode(Button, {
9498
9546
  "round": true,
9499
9547
  "block": true,
9500
9548
  "type": "primary",
9501
- "class": bem$N("close"),
9549
+ "class": bem$O("close"),
9502
9550
  "text": props2.closeButtonText || t$9("close"),
9503
9551
  "onClick": () => emit("change", -1)
9504
9552
  }, null), [[vue.vShow, props2.showCloseButton]])])]);
9505
9553
  }
9506
9554
  });
9507
- const CouponList = withInstall(stdin_default$X);
9555
+ const CouponList = withInstall(stdin_default$Y);
9508
9556
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
9509
- const [name$N] = createNamespace("date-picker");
9557
+ const [name$O] = createNamespace("date-picker");
9510
9558
  const datePickerProps = extend({}, sharedProps, {
9511
9559
  columnsType: {
9512
9560
  type: Array,
@@ -9523,8 +9571,8 @@
9523
9571
  validator: isDate
9524
9572
  }
9525
9573
  });
9526
- var stdin_default$W = vue.defineComponent({
9527
- name: name$N,
9574
+ var stdin_default$X = vue.defineComponent({
9575
+ name: name$O,
9528
9576
  props: datePickerProps,
9529
9577
  emits: ["confirm", "cancel", "change", "update:modelValue"],
9530
9578
  setup(props2, {
@@ -9614,8 +9662,8 @@
9614
9662
  }, pick(props2, pickerInheritKeys)), slots);
9615
9663
  }
9616
9664
  });
9617
- const DatePicker = withInstall(stdin_default$W);
9618
- const [name$M, bem$M, t$8] = createNamespace("dialog");
9665
+ const DatePicker = withInstall(stdin_default$X);
9666
+ const [name$N, bem$N, t$8] = createNamespace("dialog");
9619
9667
  const dialogProps = extend({}, popupSharedProps, {
9620
9668
  title: String,
9621
9669
  theme: String,
@@ -9638,8 +9686,8 @@
9638
9686
  closeOnClickOverlay: Boolean
9639
9687
  });
9640
9688
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
9641
- var stdin_default$V = vue.defineComponent({
9642
- name: name$M,
9689
+ var stdin_default$W = vue.defineComponent({
9690
+ name: name$N,
9643
9691
  props: dialogProps,
9644
9692
  emits: ["confirm", "cancel", "keydown", "update:show"],
9645
9693
  setup(props2, {
@@ -9696,7 +9744,7 @@
9696
9744
  const title = slots.title ? slots.title() : props2.title;
9697
9745
  if (title) {
9698
9746
  return vue.createVNode("div", {
9699
- "class": bem$M("header", {
9747
+ "class": bem$N("header", {
9700
9748
  isolated: !props2.message && !slots.default
9701
9749
  })
9702
9750
  }, [title]);
@@ -9708,7 +9756,7 @@
9708
9756
  allowHtml,
9709
9757
  messageAlign
9710
9758
  } = props2;
9711
- const classNames = bem$M("message", {
9759
+ const classNames = bem$N("message", {
9712
9760
  "has-title": hasTitle,
9713
9761
  [messageAlign]: messageAlign
9714
9762
  });
@@ -9726,7 +9774,7 @@
9726
9774
  const renderContent = () => {
9727
9775
  if (slots.default) {
9728
9776
  return vue.createVNode("div", {
9729
- "class": bem$M("content")
9777
+ "class": bem$N("content")
9730
9778
  }, [slots.default()]);
9731
9779
  }
9732
9780
  const {
@@ -9738,18 +9786,18 @@
9738
9786
  const hasTitle = !!(title || slots.title);
9739
9787
  return vue.createVNode("div", {
9740
9788
  "key": allowHtml ? 1 : 0,
9741
- "class": bem$M("content", {
9789
+ "class": bem$N("content", {
9742
9790
  isolated: !hasTitle
9743
9791
  })
9744
9792
  }, [renderMessage(hasTitle)]);
9745
9793
  }
9746
9794
  };
9747
9795
  const renderButtons = () => vue.createVNode("div", {
9748
- "class": [BORDER_TOP, bem$M("footer")]
9796
+ "class": [BORDER_TOP, bem$N("footer")]
9749
9797
  }, [props2.showCancelButton && vue.createVNode(Button, {
9750
9798
  "size": "large",
9751
9799
  "text": props2.cancelButtonText || t$8("cancel"),
9752
- "class": bem$M("cancel"),
9800
+ "class": bem$N("cancel"),
9753
9801
  "style": {
9754
9802
  color: props2.cancelButtonColor
9755
9803
  },
@@ -9759,7 +9807,7 @@
9759
9807
  }, null), props2.showConfirmButton && vue.createVNode(Button, {
9760
9808
  "size": "large",
9761
9809
  "text": props2.confirmButtonText || t$8("confirm"),
9762
- "class": [bem$M("confirm"), {
9810
+ "class": [bem$N("confirm"), {
9763
9811
  [BORDER_LEFT]: props2.showCancelButton
9764
9812
  }],
9765
9813
  "style": {
@@ -9770,12 +9818,12 @@
9770
9818
  "onClick": onConfirm
9771
9819
  }, null)]);
9772
9820
  const renderRoundButtons = () => vue.createVNode(ActionBar, {
9773
- "class": bem$M("footer")
9821
+ "class": bem$N("footer")
9774
9822
  }, {
9775
9823
  default: () => [props2.showCancelButton && vue.createVNode(ActionBarButton, {
9776
9824
  "type": "warning",
9777
9825
  "text": props2.cancelButtonText || t$8("cancel"),
9778
- "class": bem$M("cancel"),
9826
+ "class": bem$N("cancel"),
9779
9827
  "color": props2.cancelButtonColor,
9780
9828
  "loading": loading.cancel,
9781
9829
  "disabled": props2.cancelButtonDisabled,
@@ -9783,7 +9831,7 @@
9783
9831
  }, null), props2.showConfirmButton && vue.createVNode(ActionBarButton, {
9784
9832
  "type": "danger",
9785
9833
  "text": props2.confirmButtonText || t$8("confirm"),
9786
- "class": bem$M("confirm"),
9834
+ "class": bem$N("confirm"),
9787
9835
  "color": props2.confirmButtonColor,
9788
9836
  "loading": loading.confirm,
9789
9837
  "disabled": props2.confirmButtonDisabled,
@@ -9807,7 +9855,7 @@
9807
9855
  return vue.createVNode(Popup, vue.mergeProps({
9808
9856
  "ref": root,
9809
9857
  "role": "dialog",
9810
- "class": [bem$M([theme]), className],
9858
+ "class": [bem$N([theme]), className],
9811
9859
  "style": {
9812
9860
  width: addUnit(width2)
9813
9861
  },
@@ -9857,7 +9905,7 @@
9857
9905
  state,
9858
9906
  toggle
9859
9907
  } = usePopupState();
9860
- return () => vue.createVNode(stdin_default$V, vue.mergeProps(state, {
9908
+ return () => vue.createVNode(stdin_default$W, vue.mergeProps(state, {
9861
9909
  "onUpdate:show": toggle
9862
9910
  }), null);
9863
9911
  }
@@ -9895,16 +9943,16 @@
9895
9943
  instance$2.toggle(false);
9896
9944
  }
9897
9945
  };
9898
- const Dialog = withInstall(stdin_default$V);
9899
- const [name$L, bem$L] = createNamespace("divider");
9946
+ const Dialog = withInstall(stdin_default$W);
9947
+ const [name$M, bem$M] = createNamespace("divider");
9900
9948
  const dividerProps = {
9901
9949
  dashed: Boolean,
9902
9950
  hairline: truthProp,
9903
9951
  vertical: Boolean,
9904
9952
  contentPosition: makeStringProp("center")
9905
9953
  };
9906
- var stdin_default$U = vue.defineComponent({
9907
- name: name$L,
9954
+ var stdin_default$V = vue.defineComponent({
9955
+ name: name$M,
9908
9956
  props: dividerProps,
9909
9957
  setup(props2, {
9910
9958
  slots
@@ -9913,7 +9961,7 @@
9913
9961
  var _a;
9914
9962
  return vue.createVNode("div", {
9915
9963
  "role": "separator",
9916
- "class": bem$L({
9964
+ "class": bem$M({
9917
9965
  dashed: props2.dashed,
9918
9966
  hairline: props2.hairline,
9919
9967
  vertical: props2.vertical,
@@ -9923,8 +9971,8 @@
9923
9971
  };
9924
9972
  }
9925
9973
  });
9926
- const Divider = withInstall(stdin_default$U);
9927
- const [name$K, bem$K] = createNamespace("dropdown-menu");
9974
+ const Divider = withInstall(stdin_default$V);
9975
+ const [name$L, bem$L] = createNamespace("dropdown-menu");
9928
9976
  const dropdownMenuProps = {
9929
9977
  overlay: truthProp,
9930
9978
  zIndex: numericProp,
@@ -9935,9 +9983,9 @@
9935
9983
  closeOnClickOverlay: truthProp,
9936
9984
  swipeThreshold: numericProp
9937
9985
  };
9938
- const DROPDOWN_KEY = Symbol(name$K);
9939
- var stdin_default$T = vue.defineComponent({
9940
- name: name$K,
9986
+ const DROPDOWN_KEY = Symbol(name$L);
9987
+ var stdin_default$U = vue.defineComponent({
9988
+ name: name$L,
9941
9989
  props: dropdownMenuProps,
9942
9990
  setup(props2, {
9943
9991
  slots
@@ -10008,7 +10056,7 @@
10008
10056
  "id": `${id}-${index}`,
10009
10057
  "role": "button",
10010
10058
  "tabindex": disabled ? void 0 : 0,
10011
- "class": [bem$K("item", {
10059
+ "class": [bem$L("item", {
10012
10060
  disabled,
10013
10061
  grow: scrollable.value
10014
10062
  }), {
@@ -10020,7 +10068,7 @@
10020
10068
  }
10021
10069
  }
10022
10070
  }, [vue.createVNode("span", {
10023
- "class": [bem$K("title", {
10071
+ "class": [bem$L("title", {
10024
10072
  down: showPopup === (props2.direction === "down"),
10025
10073
  active: showPopup
10026
10074
  }), titleClass],
@@ -10049,11 +10097,11 @@
10049
10097
  var _a;
10050
10098
  return vue.createVNode("div", {
10051
10099
  "ref": root,
10052
- "class": bem$K()
10100
+ "class": bem$L()
10053
10101
  }, [vue.createVNode("div", {
10054
10102
  "ref": barRef,
10055
10103
  "style": barStyle.value,
10056
- "class": bem$K("bar", {
10104
+ "class": bem$L("bar", {
10057
10105
  opened: opened.value,
10058
10106
  scrollable: scrollable.value
10059
10107
  })
@@ -10061,7 +10109,7 @@
10061
10109
  };
10062
10110
  }
10063
10111
  });
10064
- const [name$J, bem$J] = createNamespace("dropdown-item");
10112
+ const [name$K, bem$K] = createNamespace("dropdown-item");
10065
10113
  const dropdownItemProps = {
10066
10114
  title: String,
10067
10115
  options: makeArrayProp(),
@@ -10071,8 +10119,8 @@
10071
10119
  modelValue: unknownProp,
10072
10120
  titleClass: unknownProp
10073
10121
  };
10074
- var stdin_default$S = vue.defineComponent({
10075
- name: name$J,
10122
+ var stdin_default$T = vue.defineComponent({
10123
+ name: name$K,
10076
10124
  inheritAttrs: false,
10077
10125
  props: dropdownItemProps,
10078
10126
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
@@ -10142,7 +10190,7 @@
10142
10190
  const renderIcon = () => {
10143
10191
  if (active) {
10144
10192
  return vue.createVNode(Icon, {
10145
- "class": bem$J("icon"),
10193
+ "class": bem$K("icon"),
10146
10194
  "color": activeColor,
10147
10195
  "name": "success"
10148
10196
  }, null);
@@ -10153,7 +10201,7 @@
10153
10201
  "key": String(option.value),
10154
10202
  "icon": option.icon,
10155
10203
  "title": option.text,
10156
- "class": bem$J("option", {
10204
+ "class": bem$K("option", {
10157
10205
  active
10158
10206
  }),
10159
10207
  "style": {
@@ -10185,13 +10233,13 @@
10185
10233
  }
10186
10234
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
10187
10235
  "style": style,
10188
- "class": bem$J([direction]),
10236
+ "class": bem$K([direction]),
10189
10237
  "onClick": onClickWrapper
10190
10238
  }, attrs), [vue.createVNode(Popup, {
10191
10239
  "show": state.showPopup,
10192
10240
  "onUpdate:show": ($event) => state.showPopup = $event,
10193
10241
  "role": "menu",
10194
- "class": bem$J("content"),
10242
+ "class": bem$K("content"),
10195
10243
  "overlay": overlay,
10196
10244
  "position": direction === "down" ? "top" : "bottom",
10197
10245
  "duration": state.transition ? duration : 0,
@@ -10229,8 +10277,8 @@
10229
10277
  };
10230
10278
  }
10231
10279
  });
10232
- const DropdownItem = withInstall(stdin_default$S);
10233
- const DropdownMenu = withInstall(stdin_default$T);
10280
+ const DropdownItem = withInstall(stdin_default$T);
10281
+ const DropdownMenu = withInstall(stdin_default$U);
10234
10282
  const floatingBubbleProps = {
10235
10283
  gap: makeNumberProp(24),
10236
10284
  icon: String,
@@ -10248,9 +10296,9 @@
10248
10296
  default: "body"
10249
10297
  }
10250
10298
  };
10251
- const [name$I, bem$I] = createNamespace("floating-bubble");
10252
- var stdin_default$R = vue.defineComponent({
10253
- name: name$I,
10299
+ const [name$J, bem$J] = createNamespace("floating-bubble");
10300
+ var stdin_default$S = vue.defineComponent({
10301
+ name: name$J,
10254
10302
  inheritAttrs: false,
10255
10303
  props: floatingBubbleProps,
10256
10304
  emits: ["click", "update:offset", "offsetChange"],
@@ -10383,16 +10431,16 @@
10383
10431
  });
10384
10432
  return () => {
10385
10433
  const Content = vue.withDirectives(vue.createVNode("div", vue.mergeProps({
10386
- "class": bem$I(),
10434
+ "class": bem$J(),
10387
10435
  "ref": rootRef,
10388
10436
  "onTouchstartPassive": onTouchStart,
10389
10437
  "onTouchend": onTouchEnd,
10390
10438
  "onTouchcancel": onTouchEnd,
10391
10439
  "onClickCapture": onClick,
10392
10440
  "style": rootStyle.value
10393
- }, attrs), [slots.default ? slots.default() : vue.createVNode(stdin_default$1P, {
10441
+ }, attrs), [slots.default ? slots.default() : vue.createVNode(stdin_default$1Q, {
10394
10442
  "name": props2.icon,
10395
- "class": bem$I("icon")
10443
+ "class": bem$J("icon")
10396
10444
  }, null)]), [[vue.vShow, show.value]]);
10397
10445
  return props2.teleport ? vue.createVNode(vue.Teleport, {
10398
10446
  "to": props2.teleport
@@ -10402,7 +10450,7 @@
10402
10450
  };
10403
10451
  }
10404
10452
  });
10405
- const FloatingBubble = withInstall(stdin_default$R);
10453
+ const FloatingBubble = withInstall(stdin_default$S);
10406
10454
  const floatingPanelProps = {
10407
10455
  height: makeNumericProp(0),
10408
10456
  anchors: makeArrayProp(),
@@ -10411,9 +10459,9 @@
10411
10459
  lockScroll: Boolean,
10412
10460
  safeAreaInsetBottom: truthProp
10413
10461
  };
10414
- const [name$H, bem$H] = createNamespace("floating-panel");
10415
- var stdin_default$Q = vue.defineComponent({
10416
- name: name$H,
10462
+ const [name$I, bem$I] = createNamespace("floating-panel");
10463
+ var stdin_default$R = vue.defineComponent({
10464
+ name: name$I,
10417
10465
  props: floatingPanelProps,
10418
10466
  emits: ["heightChange", "update:height"],
10419
10467
  setup(props2, {
@@ -10503,7 +10551,7 @@
10503
10551
  return () => {
10504
10552
  var _a;
10505
10553
  return vue.createVNode("div", {
10506
- "class": [bem$H(), {
10554
+ "class": [bem$I(), {
10507
10555
  "van-safe-area-bottom": props2.safeAreaInsetBottom
10508
10556
  }],
10509
10557
  "ref": rootRef,
@@ -10512,18 +10560,18 @@
10512
10560
  "onTouchend": onTouchend,
10513
10561
  "onTouchcancel": onTouchend
10514
10562
  }, [vue.createVNode("div", {
10515
- "class": bem$H("header")
10563
+ "class": bem$I("header")
10516
10564
  }, [vue.createVNode("div", {
10517
- "class": bem$H("header-bar")
10565
+ "class": bem$I("header-bar")
10518
10566
  }, null)]), vue.createVNode("div", {
10519
- "class": bem$H("content"),
10567
+ "class": bem$I("content"),
10520
10568
  "ref": contentRef
10521
10569
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
10522
10570
  };
10523
10571
  }
10524
10572
  });
10525
- const FloatingPanel = withInstall(stdin_default$Q);
10526
- const [name$G, bem$G] = createNamespace("grid");
10573
+ const FloatingPanel = withInstall(stdin_default$R);
10574
+ const [name$H, bem$H] = createNamespace("grid");
10527
10575
  const gridProps = {
10528
10576
  square: Boolean,
10529
10577
  center: truthProp,
@@ -10535,9 +10583,9 @@
10535
10583
  clickable: Boolean,
10536
10584
  columnNum: makeNumericProp(4)
10537
10585
  };
10538
- const GRID_KEY = Symbol(name$G);
10539
- var stdin_default$P = vue.defineComponent({
10540
- name: name$G,
10586
+ const GRID_KEY = Symbol(name$H);
10587
+ var stdin_default$Q = vue.defineComponent({
10588
+ name: name$H,
10541
10589
  props: gridProps,
10542
10590
  setup(props2, {
10543
10591
  slots
@@ -10554,15 +10602,15 @@
10554
10602
  "style": {
10555
10603
  paddingLeft: addUnit(props2.gutter)
10556
10604
  },
10557
- "class": [bem$G(), {
10605
+ "class": [bem$H(), {
10558
10606
  [BORDER_TOP]: props2.border && !props2.gutter
10559
10607
  }]
10560
10608
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10561
10609
  };
10562
10610
  }
10563
10611
  });
10564
- const Grid = withInstall(stdin_default$P);
10565
- const [name$F, bem$F] = createNamespace("grid-item");
10612
+ const Grid = withInstall(stdin_default$Q);
10613
+ const [name$G, bem$G] = createNamespace("grid-item");
10566
10614
  const gridItemProps = extend({}, routeProps, {
10567
10615
  dot: Boolean,
10568
10616
  text: String,
@@ -10572,8 +10620,8 @@
10572
10620
  iconPrefix: String,
10573
10621
  badgeProps: Object
10574
10622
  });
10575
- var stdin_default$O = vue.defineComponent({
10576
- name: name$F,
10623
+ var stdin_default$P = vue.defineComponent({
10624
+ name: name$G,
10577
10625
  props: gridItemProps,
10578
10626
  setup(props2, {
10579
10627
  slots
@@ -10636,7 +10684,7 @@
10636
10684
  "name": props2.icon,
10637
10685
  "size": parent.props.iconSize,
10638
10686
  "badge": props2.badge,
10639
- "class": bem$F("icon"),
10687
+ "class": bem$G("icon"),
10640
10688
  "color": props2.iconColor,
10641
10689
  "badgeProps": props2.badgeProps,
10642
10690
  "classPrefix": props2.iconPrefix
@@ -10649,7 +10697,7 @@
10649
10697
  }
10650
10698
  if (props2.text) {
10651
10699
  return vue.createVNode("span", {
10652
- "class": bem$F("text")
10700
+ "class": bem$G("text")
10653
10701
  }, [props2.text]);
10654
10702
  }
10655
10703
  };
@@ -10669,7 +10717,7 @@
10669
10717
  direction,
10670
10718
  clickable
10671
10719
  } = parent.props;
10672
- const classes = [bem$F("content", [direction, {
10720
+ const classes = [bem$G("content", [direction, {
10673
10721
  center,
10674
10722
  square,
10675
10723
  reverse,
@@ -10679,7 +10727,7 @@
10679
10727
  [BORDER]: border
10680
10728
  }];
10681
10729
  return vue.createVNode("div", {
10682
- "class": [bem$F({
10730
+ "class": [bem$G({
10683
10731
  square
10684
10732
  })],
10685
10733
  "style": rootStyle.value
@@ -10693,7 +10741,123 @@
10693
10741
  };
10694
10742
  }
10695
10743
  });
10696
- const GridItem = withInstall(stdin_default$O);
10744
+ const GridItem = withInstall(stdin_default$P);
10745
+ const [name$F, bem$F] = createNamespace("highlight");
10746
+ const highlightProps = {
10747
+ autoEscape: truthProp,
10748
+ caseSensitive: Boolean,
10749
+ highlightClass: String,
10750
+ highlightTag: makeStringProp("span"),
10751
+ keywords: makeRequiredProp([String, Array]),
10752
+ sourceString: makeStringProp(""),
10753
+ tag: makeStringProp("div"),
10754
+ unhighlightClass: String,
10755
+ unhighlightTag: makeStringProp("span")
10756
+ };
10757
+ var stdin_default$O = vue.defineComponent({
10758
+ name: name$F,
10759
+ props: highlightProps,
10760
+ setup(props2) {
10761
+ const highlightChunks = vue.computed(() => {
10762
+ const {
10763
+ autoEscape,
10764
+ caseSensitive,
10765
+ keywords,
10766
+ sourceString
10767
+ } = props2;
10768
+ const flags = caseSensitive ? "g" : "gi";
10769
+ const _keywords = Array.isArray(keywords) ? keywords : [keywords];
10770
+ let chunks = _keywords.filter((keyword) => keyword).reduce((chunks2, keyword) => {
10771
+ if (autoEscape) {
10772
+ keyword = keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
10773
+ }
10774
+ const regex = new RegExp(keyword, flags);
10775
+ let match;
10776
+ while (match = regex.exec(sourceString)) {
10777
+ const start2 = match.index;
10778
+ const end2 = regex.lastIndex;
10779
+ if (start2 >= end2) {
10780
+ regex.lastIndex++;
10781
+ continue;
10782
+ }
10783
+ chunks2.push({
10784
+ start: start2,
10785
+ end: end2,
10786
+ highlight: true
10787
+ });
10788
+ }
10789
+ return chunks2;
10790
+ }, []);
10791
+ chunks = chunks.sort((a, b) => a.start - b.start).reduce((chunks2, currentChunk) => {
10792
+ const prevChunk = chunks2[chunks2.length - 1];
10793
+ if (!prevChunk || currentChunk.start > prevChunk.end) {
10794
+ const unhighlightStart = prevChunk ? prevChunk.end : 0;
10795
+ const unhighlightEnd = currentChunk.start;
10796
+ if (unhighlightStart !== unhighlightEnd) {
10797
+ chunks2.push({
10798
+ start: unhighlightStart,
10799
+ end: unhighlightEnd,
10800
+ highlight: false
10801
+ });
10802
+ }
10803
+ chunks2.push(currentChunk);
10804
+ } else {
10805
+ prevChunk.end = Math.max(prevChunk.end, currentChunk.end);
10806
+ }
10807
+ return chunks2;
10808
+ }, []);
10809
+ const lastChunk = chunks[chunks.length - 1];
10810
+ if (lastChunk && lastChunk.end < sourceString.length) {
10811
+ chunks.push({
10812
+ start: lastChunk.end,
10813
+ end: sourceString.length,
10814
+ highlight: false
10815
+ });
10816
+ }
10817
+ return chunks;
10818
+ });
10819
+ const renderContent = () => {
10820
+ const {
10821
+ sourceString,
10822
+ highlightClass,
10823
+ unhighlightClass,
10824
+ highlightTag,
10825
+ unhighlightTag
10826
+ } = props2;
10827
+ return highlightChunks.value.map((chunk) => {
10828
+ const {
10829
+ start: start2,
10830
+ end: end2,
10831
+ highlight
10832
+ } = chunk;
10833
+ const text = sourceString.slice(start2, end2);
10834
+ if (highlight) {
10835
+ return vue.createVNode(highlightTag, {
10836
+ "class": [bem$F("tag"), highlightClass]
10837
+ }, {
10838
+ default: () => [text]
10839
+ });
10840
+ }
10841
+ return vue.createVNode(unhighlightTag, {
10842
+ "class": unhighlightClass
10843
+ }, {
10844
+ default: () => [text]
10845
+ });
10846
+ });
10847
+ };
10848
+ return () => {
10849
+ const {
10850
+ tag
10851
+ } = props2;
10852
+ return vue.createVNode(tag, {
10853
+ "class": bem$F()
10854
+ }, {
10855
+ default: () => [renderContent()]
10856
+ });
10857
+ };
10858
+ }
10859
+ });
10860
+ const Highlight = withInstall(stdin_default$O);
10697
10861
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
10698
10862
  const getCenter = (touches) => ({
10699
10863
  x: (touches[0].clientX + touches[1].clientX) / 2,
@@ -10701,19 +10865,20 @@
10701
10865
  });
10702
10866
  const bem$E = createNamespace("image-preview")[1];
10703
10867
  const longImageRatio = 2.6;
10868
+ const imagePreviewItemProps = {
10869
+ src: String,
10870
+ show: Boolean,
10871
+ active: Number,
10872
+ minZoom: makeRequiredProp(numericProp),
10873
+ maxZoom: makeRequiredProp(numericProp),
10874
+ rootWidth: makeRequiredProp(Number),
10875
+ rootHeight: makeRequiredProp(Number),
10876
+ disableZoom: Boolean,
10877
+ doubleScale: Boolean,
10878
+ closeOnClickOverlay: Boolean
10879
+ };
10704
10880
  var stdin_default$N = vue.defineComponent({
10705
- props: {
10706
- src: String,
10707
- show: Boolean,
10708
- active: Number,
10709
- minZoom: makeRequiredProp(numericProp),
10710
- maxZoom: makeRequiredProp(numericProp),
10711
- rootWidth: makeRequiredProp(Number),
10712
- rootHeight: makeRequiredProp(Number),
10713
- disableZoom: Boolean,
10714
- doubleScale: Boolean,
10715
- closeOnClickOverlay: Boolean
10716
- },
10881
+ props: imagePreviewItemProps,
10717
10882
  emits: ["scale", "close", "longPress"],
10718
10883
  setup(props2, {
10719
10884
  emit,
@@ -10979,6 +11144,9 @@
10979
11144
  return (_a = swipeItem.value) == null ? void 0 : _a.$el;
10980
11145
  })
10981
11146
  });
11147
+ useExpose({
11148
+ resetScale
11149
+ });
10982
11150
  return () => {
10983
11151
  const imageSlots = {
10984
11152
  loading: () => vue.createVNode(Loading, {
@@ -11045,6 +11213,7 @@
11045
11213
  slots
11046
11214
  }) {
11047
11215
  const swipeRef = vue.ref();
11216
+ const activedPreviewItemRef = vue.ref();
11048
11217
  const state = vue.reactive({
11049
11218
  active: 0,
11050
11219
  rootWidth: 0,
@@ -11109,6 +11278,11 @@
11109
11278
  "onDragStart": onDragStart
11110
11279
  }, {
11111
11280
  default: () => [props2.images.map((image, index) => vue.createVNode(stdin_default$N, {
11281
+ "ref": (item) => {
11282
+ if (index === state.active) {
11283
+ activedPreviewItemRef.value = item;
11284
+ }
11285
+ },
11112
11286
  "src": image,
11113
11287
  "show": props2.show,
11114
11288
  "active": state.active,
@@ -11144,6 +11318,10 @@
11144
11318
  return (_a = swipeRef.value) == null ? void 0 : _a.swipeTo(index, options);
11145
11319
  };
11146
11320
  useExpose({
11321
+ resetScale: () => {
11322
+ var _a;
11323
+ (_a = activedPreviewItemRef.value) == null ? void 0 : _a.resetScale();
11324
+ },
11147
11325
  swipeTo
11148
11326
  });
11149
11327
  vue.onMounted(resize);
@@ -12546,7 +12724,7 @@
12546
12724
  }
12547
12725
  });
12548
12726
  const PasswordInput = withInstall(stdin_default$C);
12549
- const PickerGroup = withInstall(stdin_default$1z);
12727
+ const PickerGroup = withInstall(stdin_default$1A);
12550
12728
  function getWindow(node) {
12551
12729
  if (node == null) {
12552
12730
  return window;
@@ -14146,7 +14324,7 @@
14146
14324
  }
14147
14325
  });
14148
14326
  const RollingText = withInstall(stdin_default$w);
14149
- const Row = withInstall(stdin_default$16);
14327
+ const Row = withInstall(stdin_default$17);
14150
14328
  const [name$n, bem$m, t$4] = createNamespace("search");
14151
14329
  const searchProps = extend({}, fieldSharedProps, {
14152
14330
  label: String,
@@ -16100,8 +16278,11 @@
16100
16278
  }
16101
16279
  document.body.removeChild(container);
16102
16280
  };
16281
+ const toggle = (isExpanded = !expanded.value) => {
16282
+ expanded.value = isExpanded;
16283
+ };
16103
16284
  const onClickAction = (event) => {
16104
- expanded.value = !expanded.value;
16285
+ toggle();
16105
16286
  emit("clickAction", event);
16106
16287
  };
16107
16288
  const renderAction = () => vue.createVNode("span", {
@@ -16109,8 +16290,10 @@
16109
16290
  "onClick": onClickAction
16110
16291
  }, [actionText.value]);
16111
16292
  vue.onMounted(calcEllipsised);
16112
- vue.watch(() => [props2.content, props2.rows, props2.position], calcEllipsised);
16113
- useEventListener("resize", calcEllipsised);
16293
+ vue.watch([windowWidth, () => [props2.content, props2.rows, props2.position]], calcEllipsised);
16294
+ useExpose({
16295
+ toggle
16296
+ });
16114
16297
  return () => vue.createVNode("div", {
16115
16298
  "ref": root,
16116
16299
  "class": bem$3()
@@ -17757,7 +17940,7 @@
17757
17940
  });
17758
17941
  }
17759
17942
  };
17760
- const version = "4.7.3";
17943
+ const version = "4.8.1";
17761
17944
  function install(app) {
17762
17945
  const components = [
17763
17946
  ActionBar,
@@ -17802,6 +17985,7 @@
17802
17985
  Form,
17803
17986
  Grid,
17804
17987
  GridItem,
17988
+ Highlight,
17805
17989
  Icon,
17806
17990
  Image$1,
17807
17991
  ImagePreview,
@@ -17916,6 +18100,7 @@
17916
18100
  exports2.Form = Form;
17917
18101
  exports2.Grid = Grid;
17918
18102
  exports2.GridItem = GridItem;
18103
+ exports2.Highlight = Highlight;
17919
18104
  exports2.Icon = Icon;
17920
18105
  exports2.Image = Image$1;
17921
18106
  exports2.ImagePreview = ImagePreview;
@@ -18021,6 +18206,7 @@
18021
18206
  exports2.formProps = formProps;
18022
18207
  exports2.gridItemProps = gridItemProps;
18023
18208
  exports2.gridProps = gridProps;
18209
+ exports2.highlightProps = highlightProps;
18024
18210
  exports2.iconProps = iconProps;
18025
18211
  exports2.imagePreviewProps = imagePreviewProps;
18026
18212
  exports2.imageProps = imageProps;