persagy-vant 0.0.28 → 0.0.30

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 (107) hide show
  1. package/es/blue-mark/CollapseToggle.d.ts +4 -0
  2. package/es/blue-mark/CollapseToggle.mjs +11 -1
  3. package/es/blue-mark/index.css +1 -1
  4. package/es/blue-mark/index.d.ts +3 -0
  5. package/es/blue-mark/index.less +25 -0
  6. package/es/blue-mark/style/index.mjs +1 -0
  7. package/es/blue-mark/style/less.mjs +1 -0
  8. package/es/collapse-toggle/index.css +1 -0
  9. package/es/collapse-toggle/index.d.ts +2 -0
  10. package/es/collapse-toggle/index.less +1 -0
  11. package/es/collapse-toggle/index.mjs +4 -0
  12. package/es/index.d.ts +2 -1
  13. package/es/index.mjs +4 -1
  14. package/es/info-card/InfoCard.d.ts +128 -0
  15. package/es/info-card/InfoCard.mjs +84 -0
  16. package/es/info-card/index.css +1 -0
  17. package/es/info-card/index.d.ts +88 -0
  18. package/es/info-card/index.less +60 -0
  19. package/es/info-card/index.mjs +8 -0
  20. package/es/info-card/style/index.mjs +8 -0
  21. package/es/info-card/style/less.mjs +8 -0
  22. package/es/info-card/var.css +0 -0
  23. package/es/info-card/var.less +7 -0
  24. package/es/label/Label.d.ts +3 -0
  25. package/es/label/Label.mjs +9 -2
  26. package/es/label/index.css +1 -1
  27. package/es/label/index.d.ts +2 -0
  28. package/es/label/index.less +35 -0
  29. package/es/label/var.less +5 -0
  30. package/es/loading/Loading.d.ts +1 -1
  31. package/es/loading/Loading.mjs +40 -4
  32. package/es/loading/assets/building.gif +0 -0
  33. package/es/loading/index.css +1 -1
  34. package/es/loading/index.less +14 -0
  35. package/es/material-add/style/index.mjs +2 -1
  36. package/es/material-add/style/less.mjs +2 -1
  37. package/es/multi-person-select/style/index.mjs +2 -1
  38. package/es/multi-person-select/style/less.mjs +2 -1
  39. package/es/object-select/style/index.mjs +2 -1
  40. package/es/object-select/style/less.mjs +2 -1
  41. package/es/single-person-select/style/index.mjs +2 -1
  42. package/es/single-person-select/style/less.mjs +2 -1
  43. package/es/tag/Tag.mjs +1 -1
  44. package/es/vue-sfc-shim.d.ts +5 -0
  45. package/es/work-order-filter/style/index.mjs +2 -1
  46. package/es/work-order-filter/style/less.mjs +2 -1
  47. package/lib/blue-mark/CollapseToggle.d.ts +4 -0
  48. package/lib/blue-mark/CollapseToggle.js +11 -1
  49. package/lib/blue-mark/index.css +1 -1
  50. package/lib/blue-mark/index.d.ts +3 -0
  51. package/lib/blue-mark/index.less +25 -0
  52. package/lib/blue-mark/style/index.js +1 -0
  53. package/lib/blue-mark/style/less.js +1 -0
  54. package/lib/collapse-toggle/index.css +1 -0
  55. package/lib/collapse-toggle/index.d.ts +2 -0
  56. package/lib/collapse-toggle/index.js +23 -0
  57. package/lib/collapse-toggle/index.less +1 -0
  58. package/lib/index.css +1 -1
  59. package/lib/index.d.ts +2 -1
  60. package/lib/index.js +4 -1
  61. package/lib/index.less +7 -6
  62. package/lib/info-card/InfoCard.d.ts +128 -0
  63. package/lib/info-card/InfoCard.js +113 -0
  64. package/lib/info-card/index.css +1 -0
  65. package/lib/info-card/index.d.ts +88 -0
  66. package/lib/info-card/index.js +37 -0
  67. package/lib/info-card/index.less +60 -0
  68. package/lib/info-card/style/index.js +8 -0
  69. package/lib/info-card/style/less.js +8 -0
  70. package/lib/info-card/var.css +0 -0
  71. package/lib/info-card/var.less +7 -0
  72. package/lib/label/Label.d.ts +3 -0
  73. package/lib/label/Label.js +9 -2
  74. package/lib/label/index.css +1 -1
  75. package/lib/label/index.d.ts +2 -0
  76. package/lib/label/index.less +35 -0
  77. package/lib/label/var.less +5 -0
  78. package/lib/loading/Loading.d.ts +1 -1
  79. package/lib/loading/Loading.js +40 -4
  80. package/lib/loading/assets/building.gif +0 -0
  81. package/lib/loading/index.css +1 -1
  82. package/lib/loading/index.less +14 -0
  83. package/lib/material-add/style/index.js +2 -1
  84. package/lib/material-add/style/less.js +2 -1
  85. package/lib/multi-person-select/style/index.js +2 -1
  86. package/lib/multi-person-select/style/less.js +2 -1
  87. package/lib/object-select/style/index.js +2 -1
  88. package/lib/object-select/style/less.js +2 -1
  89. package/lib/single-person-select/style/index.js +2 -1
  90. package/lib/single-person-select/style/less.js +2 -1
  91. package/lib/tag/Tag.js +1 -1
  92. package/lib/vant.cjs.js +541 -410
  93. package/lib/vant.es.js +541 -410
  94. package/lib/vant.js +541 -410
  95. package/lib/vant.min.js +1 -1
  96. package/lib/vue-sfc-shim.d.ts +5 -0
  97. package/lib/web-types.json +1 -1
  98. package/lib/work-order-filter/style/index.js +2 -1
  99. package/lib/work-order-filter/style/less.js +2 -1
  100. package/package.json +2 -1
  101. package/skills/use-persagy-vant/SKILL.md +2 -2
  102. package/skills/use-persagy-vant/agents/openai.yaml +1 -1
  103. package/skills/use-persagy-vant/references/business-component-catalog.md +3 -1
  104. package/skills/use-persagy-vant/references/component-catalog.md +7 -2
  105. package/skills/use-persagy-vant/references/component-documentation.md +45 -0
  106. package/skills/use-persagy-vant/references/design-interaction-baseline.md +4 -3
  107. package/skills/use-persagy-vant/references/page-recipes.md +10 -7
package/lib/vant.js CHANGED
@@ -592,7 +592,7 @@
592
592
  });
593
593
  return to;
594
594
  }
595
- var stdin_default$21 = {
595
+ var stdin_default$22 = {
596
596
  name: "姓名",
597
597
  tel: "电话",
598
598
  save: "保存",
@@ -657,7 +657,7 @@
657
657
  };
658
658
  const lang = vue.ref("zh-CN");
659
659
  const messages = vue.reactive({
660
- "zh-CN": stdin_default$21
660
+ "zh-CN": stdin_default$22
661
661
  });
662
662
  const Locale = {
663
663
  messages() {
@@ -671,11 +671,11 @@
671
671
  deepAssign(messages, newMessages);
672
672
  }
673
673
  };
674
- var stdin_default$20 = Locale;
674
+ var stdin_default$21 = Locale;
675
675
  function createTranslate(name2) {
676
676
  const prefix = camelize(name2) + ".";
677
677
  return (path, ...args) => {
678
- const messages2 = stdin_default$20.messages();
678
+ const messages2 = stdin_default$21.messages();
679
679
  const message = get(messages2, prefix + path) || get(messages2, path);
680
680
  return isFunction$2(message) ? message(...args) : message;
681
681
  };
@@ -795,20 +795,20 @@
795
795
  }
796
796
  }, [renderContent()]);
797
797
  }
798
- const [name$1S, bem$1O] = createNamespace("action-bar");
799
- const ACTION_BAR_KEY = Symbol(name$1S);
798
+ const [name$1T, bem$1P] = createNamespace("action-bar");
799
+ const ACTION_BAR_KEY = Symbol(name$1T);
800
800
  const actionBarProps = {
801
801
  placeholder: Boolean,
802
802
  safeAreaInsetBottom: truthProp
803
803
  };
804
- var stdin_default$1$ = vue.defineComponent({
805
- name: name$1S,
804
+ var stdin_default$20 = vue.defineComponent({
805
+ name: name$1T,
806
806
  props: actionBarProps,
807
807
  setup(props2, {
808
808
  slots
809
809
  }) {
810
810
  const root = vue.ref();
811
- const renderPlaceholder = usePlaceholder(root, bem$1O);
811
+ const renderPlaceholder = usePlaceholder(root, bem$1P);
812
812
  const {
813
813
  linkChildren
814
814
  } = useChildren(ACTION_BAR_KEY);
@@ -817,7 +817,7 @@
817
817
  var _a;
818
818
  return vue.createVNode("div", {
819
819
  "ref": root,
820
- "class": [bem$1O(), {
820
+ "class": [bem$1P(), {
821
821
  "van-safe-area-bottom": props2.safeAreaInsetBottom
822
822
  }]
823
823
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -830,7 +830,7 @@
830
830
  };
831
831
  }
832
832
  });
833
- const ActionBar = withInstall(stdin_default$1$);
833
+ const ActionBar = withInstall(stdin_default$20);
834
834
  function useExpose(apis) {
835
835
  const instance2 = vue.getCurrentInstance();
836
836
  if (instance2) {
@@ -858,7 +858,7 @@
858
858
  const vm = vue.getCurrentInstance().proxy;
859
859
  return () => route(vm);
860
860
  }
861
- const [name$1R, bem$1N] = createNamespace("badge");
861
+ const [name$1S, bem$1O] = createNamespace("badge");
862
862
  const badgeProps = {
863
863
  dot: Boolean,
864
864
  max: numericProp,
@@ -869,8 +869,8 @@
869
869
  showZero: truthProp,
870
870
  position: makeStringProp("top-right")
871
871
  };
872
- var stdin_default$1_ = vue.defineComponent({
873
- name: name$1R,
872
+ var stdin_default$1$ = vue.defineComponent({
873
+ name: name$1S,
874
874
  props: badgeProps,
875
875
  setup(props2, {
876
876
  slots
@@ -924,7 +924,7 @@
924
924
  const renderBadge = () => {
925
925
  if (hasContent() || props2.dot) {
926
926
  return vue.createVNode("div", {
927
- "class": bem$1N([props2.position, {
927
+ "class": bem$1O([props2.position, {
928
928
  dot: props2.dot,
929
929
  fixed: !!slots.default
930
930
  }]),
@@ -938,7 +938,7 @@
938
938
  tag
939
939
  } = props2;
940
940
  return vue.createVNode(tag, {
941
- "class": bem$1N("wrapper")
941
+ "class": bem$1O("wrapper")
942
942
  }, {
943
943
  default: () => [slots.default(), renderBadge()]
944
944
  });
@@ -947,14 +947,14 @@
947
947
  };
948
948
  }
949
949
  });
950
- const Badge = withInstall(stdin_default$1_);
950
+ const Badge = withInstall(stdin_default$1$);
951
951
  let globalZIndex = 2e3;
952
952
  const useGlobalZIndex = () => ++globalZIndex;
953
953
  const setGlobalZIndex = (val) => {
954
954
  globalZIndex = val;
955
955
  };
956
- const [name$1Q, bem$1M] = createNamespace("config-provider");
957
- const CONFIG_PROVIDER_KEY = Symbol(name$1Q);
956
+ const [name$1R, bem$1N] = createNamespace("config-provider");
957
+ const CONFIG_PROVIDER_KEY = Symbol(name$1R);
958
958
  const configProviderProps = {
959
959
  tag: makeStringProp("div"),
960
960
  zIndex: Number,
@@ -969,8 +969,8 @@
969
969
  });
970
970
  return cssVars;
971
971
  }
972
- var stdin_default$1Z = vue.defineComponent({
973
- name: name$1Q,
972
+ var stdin_default$1_ = vue.defineComponent({
973
+ name: name$1R,
974
974
  props: configProviderProps,
975
975
  setup(props2, {
976
976
  slots
@@ -987,7 +987,7 @@
987
987
  }
988
988
  });
989
989
  return () => vue.createVNode(props2.tag, {
990
- "class": bem$1M(),
990
+ "class": bem$1N(),
991
991
  "style": style.value
992
992
  }, {
993
993
  default: () => {
@@ -997,7 +997,7 @@
997
997
  });
998
998
  }
999
999
  });
1000
- const [name$1P, bem$1L] = createNamespace("icon");
1000
+ const [name$1Q, bem$1M] = createNamespace("icon");
1001
1001
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
1002
1002
  const iconProps = {
1003
1003
  dot: Boolean,
@@ -1009,14 +1009,14 @@
1009
1009
  badgeProps: Object,
1010
1010
  classPrefix: String
1011
1011
  };
1012
- var stdin_default$1Y = vue.defineComponent({
1013
- name: name$1P,
1012
+ var stdin_default$1Z = vue.defineComponent({
1013
+ name: name$1Q,
1014
1014
  props: iconProps,
1015
1015
  setup(props2, {
1016
1016
  slots
1017
1017
  }) {
1018
1018
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
1019
- const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1L());
1019
+ const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1M());
1020
1020
  return () => {
1021
1021
  const {
1022
1022
  tag,
@@ -1040,7 +1040,7 @@
1040
1040
  default: () => {
1041
1041
  var _a;
1042
1042
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
1043
- "class": bem$1L("image"),
1043
+ "class": bem$1M("image"),
1044
1044
  "src": name2
1045
1045
  }, null)];
1046
1046
  }
@@ -1048,14 +1048,14 @@
1048
1048
  };
1049
1049
  }
1050
1050
  });
1051
- const Icon = withInstall(stdin_default$1Y);
1052
- var stdin_default$1X = Icon;
1053
- const [name$1O, bem$1K] = createNamespace("loading");
1051
+ const Icon = withInstall(stdin_default$1Z);
1052
+ var stdin_default$1Y = Icon;
1053
+ const [name$1P, bem$1L] = createNamespace("loading");
1054
1054
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1055
- "class": bem$1K("line", String(index + 1))
1055
+ "class": bem$1L("line", String(index + 1))
1056
1056
  }, null));
1057
1057
  const CircularIcon = vue.createVNode("svg", {
1058
- "class": bem$1K("circular"),
1058
+ "class": bem$1L("circular"),
1059
1059
  "viewBox": "25 25 50 50"
1060
1060
  }, [vue.createVNode("circle", {
1061
1061
  "cx": "50",
@@ -1063,6 +1063,37 @@
1063
1063
  "r": "20",
1064
1064
  "fill": "none"
1065
1065
  }, null)]);
1066
+ const IllustrationIcon = vue.createVNode("svg", {
1067
+ "class": bem$1L("illustration"),
1068
+ "viewBox": "0 0 120 120",
1069
+ "fill": "none",
1070
+ "aria-hidden": "true"
1071
+ }, [vue.createVNode("rect", {
1072
+ "x": "18",
1073
+ "y": "24",
1074
+ "width": "84",
1075
+ "height": "78",
1076
+ "rx": "12",
1077
+ "fill": "currentColor",
1078
+ "opacity": "0.16"
1079
+ }, null), vue.createVNode("path", {
1080
+ "d": "M35 98V48c0-5.5 4.5-10 10-10h30c5.5 0 10 4.5 10 10v50",
1081
+ "fill": "currentColor",
1082
+ "opacity": "0.72"
1083
+ }, null), vue.createVNode("path", {
1084
+ "d": "M48 54h8v11h-8zm16 0h8v11h-8zm-16 22h8v11h-8zm16 0h8v11h-8z",
1085
+ "fill": "white"
1086
+ }, null), vue.createVNode("path", {
1087
+ "d": "M56 98V78h8v20",
1088
+ "fill": "white",
1089
+ "opacity": "0.92"
1090
+ }, null), vue.createVNode("circle", {
1091
+ "cx": "94",
1092
+ "cy": "31",
1093
+ "r": "9",
1094
+ "fill": "currentColor",
1095
+ "opacity": "0.9"
1096
+ }, null)]);
1066
1097
  const loadingProps = {
1067
1098
  size: numericProp,
1068
1099
  type: makeStringProp("circular"),
@@ -1071,20 +1102,24 @@
1071
1102
  textSize: numericProp,
1072
1103
  textColor: String
1073
1104
  };
1074
- var stdin_default$1W = vue.defineComponent({
1075
- name: name$1O,
1105
+ var stdin_default$1X = vue.defineComponent({
1106
+ name: name$1P,
1076
1107
  props: loadingProps,
1077
1108
  setup(props2, {
1078
1109
  slots
1079
1110
  }) {
1080
- const spinnerStyle = vue.computed(() => extend$1({
1081
- color: props2.color
1082
- }, getSizeStyle(props2.size)));
1111
+ const spinnerStyle = vue.computed(() => {
1112
+ var _a;
1113
+ const size = (_a = props2.size) != null ? _a : props2.type === "illustration" ? 100 : void 0;
1114
+ return extend$1({
1115
+ color: props2.color
1116
+ }, getSizeStyle(size));
1117
+ });
1083
1118
  const renderText = () => {
1084
1119
  var _a;
1085
1120
  if (slots.default) {
1086
1121
  return vue.createVNode("span", {
1087
- "class": bem$1K("text"),
1122
+ "class": bem$1L("text"),
1088
1123
  "style": {
1089
1124
  fontSize: addUnit(props2.textSize),
1090
1125
  color: (_a = props2.textColor) != null ? _a : props2.color
@@ -1097,21 +1132,22 @@
1097
1132
  type,
1098
1133
  vertical
1099
1134
  } = props2;
1135
+ const isIllustration = type === "illustration";
1100
1136
  return vue.createVNode("div", {
1101
- "class": bem$1K([type, {
1137
+ "class": bem$1L([type, {
1102
1138
  vertical
1103
1139
  }]),
1104
1140
  "aria-live": "polite",
1105
1141
  "aria-busy": true
1106
1142
  }, [vue.createVNode("span", {
1107
- "class": bem$1K("spinner", type),
1143
+ "class": bem$1L("spinner", type),
1108
1144
  "style": spinnerStyle.value
1109
- }, [type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
1145
+ }, [isIllustration ? IllustrationIcon : type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
1110
1146
  };
1111
1147
  }
1112
1148
  });
1113
- const Loading = withInstall(stdin_default$1W);
1114
- const [name$1N, bem$1J] = createNamespace("button");
1149
+ const Loading = withInstall(stdin_default$1X);
1150
+ const [name$1O, bem$1K] = createNamespace("button");
1115
1151
  const buttonIconSizes = {
1116
1152
  large: "var(--van-font-size-xl)",
1117
1153
  normal: "var(--van-font-size-lg)",
@@ -1140,8 +1176,8 @@
1140
1176
  loadingType: String,
1141
1177
  iconPosition: makeStringProp("left")
1142
1178
  });
1143
- var stdin_default$1V = vue.defineComponent({
1144
- name: name$1N,
1179
+ var stdin_default$1W = vue.defineComponent({
1180
+ name: name$1O,
1145
1181
  props: buttonProps,
1146
1182
  emits: ["click"],
1147
1183
  setup(props2, {
@@ -1156,7 +1192,7 @@
1156
1192
  return vue.createVNode(Loading, {
1157
1193
  "size": props2.loadingSize,
1158
1194
  "type": props2.loadingType,
1159
- "class": bem$1J("loading")
1195
+ "class": bem$1K("loading")
1160
1196
  }, null);
1161
1197
  };
1162
1198
  const renderIcon = () => {
@@ -1166,14 +1202,14 @@
1166
1202
  }
1167
1203
  if (slots.icon) {
1168
1204
  return vue.createVNode("div", {
1169
- "class": bem$1J("icon")
1205
+ "class": bem$1K("icon")
1170
1206
  }, [slots.icon()]);
1171
1207
  }
1172
1208
  if (props2.icon) {
1173
1209
  return vue.createVNode(Icon, {
1174
1210
  "size": (_a = props2.iconSize) != null ? _a : buttonIconSizes[props2.size],
1175
1211
  "name": props2.icon,
1176
- "class": bem$1J("icon"),
1212
+ "class": bem$1K("icon"),
1177
1213
  "classPrefix": props2.iconPrefix
1178
1214
  }, null);
1179
1215
  }
@@ -1187,7 +1223,7 @@
1187
1223
  }
1188
1224
  if (text) {
1189
1225
  return vue.createVNode("span", {
1190
- "class": bem$1J("text")
1226
+ "class": bem$1K("text")
1191
1227
  }, [text]);
1192
1228
  }
1193
1229
  };
@@ -1234,7 +1270,7 @@
1234
1270
  nativeType,
1235
1271
  iconPosition
1236
1272
  } = props2;
1237
- const classes = [bem$1J([type, size, {
1273
+ const classes = [bem$1K([type, size, {
1238
1274
  plain,
1239
1275
  block,
1240
1276
  round: round2,
@@ -1253,14 +1289,14 @@
1253
1289
  "onClick": onClick
1254
1290
  }, {
1255
1291
  default: () => [vue.createVNode("div", {
1256
- "class": bem$1J("content")
1292
+ "class": bem$1K("content")
1257
1293
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1258
1294
  });
1259
1295
  };
1260
1296
  }
1261
1297
  });
1262
- const Button = withInstall(stdin_default$1V);
1263
- const [name$1M, bem$1I] = createNamespace("action-bar-button");
1298
+ const Button = withInstall(stdin_default$1W);
1299
+ const [name$1N, bem$1J] = createNamespace("action-bar-button");
1264
1300
  const actionBarButtonProps = extend$1({}, routeProps, {
1265
1301
  type: String,
1266
1302
  text: String,
@@ -1269,8 +1305,8 @@
1269
1305
  loading: Boolean,
1270
1306
  disabled: Boolean
1271
1307
  });
1272
- var stdin_default$1U = vue.defineComponent({
1273
- name: name$1M,
1308
+ var stdin_default$1V = vue.defineComponent({
1309
+ name: name$1N,
1274
1310
  props: actionBarButtonProps,
1275
1311
  setup(props2, {
1276
1312
  slots
@@ -1305,7 +1341,7 @@
1305
1341
  disabled
1306
1342
  } = props2;
1307
1343
  return vue.createVNode(Button, {
1308
- "class": bem$1I([type, {
1344
+ "class": bem$1J([type, {
1309
1345
  last: isLast.value,
1310
1346
  first: isFirst.value
1311
1347
  }]),
@@ -1322,8 +1358,8 @@
1322
1358
  };
1323
1359
  }
1324
1360
  });
1325
- const ActionBarButton = withInstall(stdin_default$1U);
1326
- const [name$1L, bem$1H] = createNamespace("action-bar-icon");
1361
+ const ActionBarButton = withInstall(stdin_default$1V);
1362
+ const [name$1M, bem$1I] = createNamespace("action-bar-icon");
1327
1363
  const actionBarIconProps = extend$1({}, routeProps, {
1328
1364
  dot: Boolean,
1329
1365
  text: String,
@@ -1334,8 +1370,8 @@
1334
1370
  badgeProps: Object,
1335
1371
  iconPrefix: String
1336
1372
  });
1337
- var stdin_default$1T = vue.defineComponent({
1338
- name: name$1L,
1373
+ var stdin_default$1U = vue.defineComponent({
1374
+ name: name$1M,
1339
1375
  props: actionBarIconProps,
1340
1376
  setup(props2, {
1341
1377
  slots
@@ -1355,7 +1391,7 @@
1355
1391
  if (slots.icon) {
1356
1392
  return vue.createVNode(Badge, vue.mergeProps({
1357
1393
  "dot": dot,
1358
- "class": bem$1H("icon"),
1394
+ "class": bem$1I("icon"),
1359
1395
  "content": badge
1360
1396
  }, badgeProps2), {
1361
1397
  default: slots.icon
@@ -1367,20 +1403,20 @@
1367
1403
  "name": icon,
1368
1404
  "badge": badge,
1369
1405
  "color": color,
1370
- "class": [bem$1H("icon"), iconClass],
1406
+ "class": [bem$1I("icon"), iconClass],
1371
1407
  "badgeProps": badgeProps2,
1372
1408
  "classPrefix": iconPrefix
1373
1409
  }, null);
1374
1410
  };
1375
1411
  return () => vue.createVNode("div", {
1376
1412
  "role": "button",
1377
- "class": bem$1H(),
1413
+ "class": bem$1I(),
1378
1414
  "tabindex": 0,
1379
1415
  "onClick": route2
1380
1416
  }, [renderIcon(), slots.default ? slots.default() : props2.text]);
1381
1417
  }
1382
1418
  });
1383
- const ActionBarIcon = withInstall(stdin_default$1T);
1419
+ const ActionBarIcon = withInstall(stdin_default$1U);
1384
1420
  const popupSharedProps = {
1385
1421
  // whether to show popup
1386
1422
  show: Boolean,
@@ -1531,7 +1567,7 @@
1531
1567
  );
1532
1568
  return (render) => () => inited.value ? render() : null;
1533
1569
  }
1534
- const [name$1K, bem$1G] = createNamespace("overlay");
1570
+ const [name$1L, bem$1H] = createNamespace("overlay");
1535
1571
  const overlayProps = {
1536
1572
  show: Boolean,
1537
1573
  zIndex: numericProp,
@@ -1541,8 +1577,8 @@
1541
1577
  lazyRender: truthProp,
1542
1578
  customStyle: Object
1543
1579
  };
1544
- var stdin_default$1S = vue.defineComponent({
1545
- name: name$1K,
1580
+ var stdin_default$1T = vue.defineComponent({
1581
+ name: name$1L,
1546
1582
  props: overlayProps,
1547
1583
  setup(props2, {
1548
1584
  slots
@@ -1563,7 +1599,7 @@
1563
1599
  return vue.withDirectives(vue.createVNode("div", {
1564
1600
  "ref": root,
1565
1601
  "style": style,
1566
- "class": [bem$1G(), props2.className]
1602
+ "class": [bem$1H(), props2.className]
1567
1603
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props2.show]]);
1568
1604
  });
1569
1605
  useEventListener("touchmove", onTouchMove, {
@@ -1577,7 +1613,7 @@
1577
1613
  });
1578
1614
  }
1579
1615
  });
1580
- const Overlay = withInstall(stdin_default$1S);
1616
+ const Overlay = withInstall(stdin_default$1T);
1581
1617
  const popupProps$3 = extend$1({}, popupSharedProps, {
1582
1618
  round: Boolean,
1583
1619
  position: makeStringProp("center"),
@@ -1590,9 +1626,9 @@
1590
1626
  safeAreaInsetTop: Boolean,
1591
1627
  safeAreaInsetBottom: Boolean
1592
1628
  });
1593
- const [name$1J, bem$1F] = createNamespace("popup");
1594
- var stdin_default$1R = vue.defineComponent({
1595
- name: name$1J,
1629
+ const [name$1K, bem$1G] = createNamespace("popup");
1630
+ var stdin_default$1S = vue.defineComponent({
1631
+ name: name$1K,
1596
1632
  inheritAttrs: false,
1597
1633
  props: popupProps$3,
1598
1634
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "click-overlay", "click-close-icon"],
@@ -1666,7 +1702,7 @@
1666
1702
  "role": "button",
1667
1703
  "tabindex": 0,
1668
1704
  "name": props2.closeIcon,
1669
- "class": [bem$1F("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1705
+ "class": [bem$1G("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1670
1706
  "classPrefix": props2.iconPrefix,
1671
1707
  "onClick": onClickCloseIcon
1672
1708
  }, null);
@@ -1688,7 +1724,7 @@
1688
1724
  "style": style.value,
1689
1725
  "role": "dialog",
1690
1726
  "tabindex": 0,
1691
- "class": [bem$1F({
1727
+ "class": [bem$1G({
1692
1728
  round: round2,
1693
1729
  [position]: position
1694
1730
  }), {
@@ -1769,8 +1805,8 @@
1769
1805
  };
1770
1806
  }
1771
1807
  });
1772
- const Popup = withInstall(stdin_default$1R);
1773
- const [name$1I, bem$1E] = createNamespace("action-sheet");
1808
+ const Popup = withInstall(stdin_default$1S);
1809
+ const [name$1J, bem$1F] = createNamespace("action-sheet");
1774
1810
  const actionSheetProps = extend$1({}, popupSharedProps, {
1775
1811
  title: String,
1776
1812
  round: truthProp,
@@ -1784,8 +1820,8 @@
1784
1820
  safeAreaInsetBottom: truthProp
1785
1821
  });
1786
1822
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1787
- var stdin_default$1Q = vue.defineComponent({
1788
- name: name$1I,
1823
+ var stdin_default$1R = vue.defineComponent({
1824
+ name: name$1J,
1789
1825
  props: actionSheetProps,
1790
1826
  emits: ["select", "cancel", "update:show"],
1791
1827
  setup(props2, {
@@ -1800,10 +1836,10 @@
1800
1836
  const renderHeader = () => {
1801
1837
  if (props2.title) {
1802
1838
  return vue.createVNode("div", {
1803
- "class": bem$1E("header")
1839
+ "class": bem$1F("header")
1804
1840
  }, [props2.title, props2.closeable && vue.createVNode(Icon, {
1805
1841
  "name": props2.closeIcon,
1806
- "class": [bem$1E("close"), HAPTICS_FEEDBACK],
1842
+ "class": [bem$1F("close"), HAPTICS_FEEDBACK],
1807
1843
  "onClick": onCancel
1808
1844
  }, null)]);
1809
1845
  }
@@ -1811,10 +1847,10 @@
1811
1847
  const renderCancel = () => {
1812
1848
  if (slots.cancel || props2.cancelText) {
1813
1849
  return [vue.createVNode("div", {
1814
- "class": bem$1E("gap")
1850
+ "class": bem$1F("gap")
1815
1851
  }, null), vue.createVNode("button", {
1816
1852
  "type": "button",
1817
- "class": bem$1E("cancel"),
1853
+ "class": bem$1F("cancel"),
1818
1854
  "onClick": onCancel
1819
1855
  }, [slots.cancel ? slots.cancel() : props2.cancelText])];
1820
1856
  }
@@ -1822,7 +1858,7 @@
1822
1858
  const renderActionContent = (action, index) => {
1823
1859
  if (action.loading) {
1824
1860
  return vue.createVNode(Loading, {
1825
- "class": bem$1E("loading-icon")
1861
+ "class": bem$1F("loading-icon")
1826
1862
  }, null);
1827
1863
  }
1828
1864
  if (slots.action) {
@@ -1832,9 +1868,9 @@
1832
1868
  });
1833
1869
  }
1834
1870
  return [vue.createVNode("span", {
1835
- "class": bem$1E("name")
1871
+ "class": bem$1F("name")
1836
1872
  }, [action.name]), action.subname && vue.createVNode("div", {
1837
- "class": bem$1E("subname")
1873
+ "class": bem$1F("subname")
1838
1874
  }, [action.subname])];
1839
1875
  };
1840
1876
  const renderAction = (action, index) => {
@@ -1862,7 +1898,7 @@
1862
1898
  "style": {
1863
1899
  color
1864
1900
  },
1865
- "class": [bem$1E("item", {
1901
+ "class": [bem$1F("item", {
1866
1902
  loading,
1867
1903
  disabled
1868
1904
  }), className],
@@ -1873,25 +1909,25 @@
1873
1909
  if (props2.description || slots.description) {
1874
1910
  const content = slots.description ? slots.description() : props2.description;
1875
1911
  return vue.createVNode("div", {
1876
- "class": bem$1E("description")
1912
+ "class": bem$1F("description")
1877
1913
  }, [content]);
1878
1914
  }
1879
1915
  };
1880
1916
  return () => vue.createVNode(Popup, vue.mergeProps({
1881
- "class": bem$1E(),
1917
+ "class": bem$1F(),
1882
1918
  "position": "bottom",
1883
1919
  "onUpdate:show": updateShow
1884
1920
  }, pick(props2, popupInheritKeys$2)), {
1885
1921
  default: () => {
1886
1922
  var _a;
1887
1923
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1888
- "class": bem$1E("content")
1924
+ "class": bem$1F("content")
1889
1925
  }, [props2.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1890
1926
  }
1891
1927
  });
1892
1928
  }
1893
1929
  });
1894
- const ActionSheet = withInstall(stdin_default$1Q);
1930
+ const ActionSheet = withInstall(stdin_default$1R);
1895
1931
  function deepClone(obj) {
1896
1932
  if (!isDef(obj)) {
1897
1933
  return obj;
@@ -1911,7 +1947,7 @@
1911
1947
  const DEFAULT_DURATION = 200;
1912
1948
  const MOMENTUM_LIMIT_TIME = 300;
1913
1949
  const MOMENTUM_LIMIT_DISTANCE = 15;
1914
- const [name$1H, bem$1D] = createNamespace("picker-column");
1950
+ const [name$1I, bem$1E] = createNamespace("picker-column");
1915
1951
  function getElementTranslateY(element) {
1916
1952
  const {
1917
1953
  transform
@@ -1919,10 +1955,10 @@
1919
1955
  const translateY = transform.slice(7, transform.length - 1).split(", ")[5];
1920
1956
  return Number(translateY);
1921
1957
  }
1922
- const PICKER_KEY = Symbol(name$1H);
1958
+ const PICKER_KEY = Symbol(name$1I);
1923
1959
  const isOptionDisabled = (option) => isObject$2(option) && option.disabled;
1924
- var stdin_default$1P = vue.defineComponent({
1925
- name: name$1H,
1960
+ var stdin_default$1Q = vue.defineComponent({
1961
+ name: name$1I,
1926
1962
  props: {
1927
1963
  textKey: makeRequiredProp(String),
1928
1964
  readonly: Boolean,
@@ -2097,7 +2133,7 @@
2097
2133
  role: "button",
2098
2134
  style: optionStyle,
2099
2135
  tabindex: disabled ? -1 : 0,
2100
- class: bem$1D("item", {
2136
+ class: bem$1E("item", {
2101
2137
  disabled,
2102
2138
  selected: index === state.index
2103
2139
  }),
@@ -2140,7 +2176,7 @@
2140
2176
  });
2141
2177
  return () => vue.createVNode("div", {
2142
2178
  "ref": root,
2143
- "class": [bem$1D(), props2.className],
2179
+ "class": [bem$1E(), props2.className],
2144
2180
  "onTouchstartPassive": onTouchStart,
2145
2181
  "onTouchend": onTouchEnd,
2146
2182
  "onTouchcancel": onTouchEnd
@@ -2151,12 +2187,12 @@
2151
2187
  transitionDuration: `${state.duration}ms`,
2152
2188
  transitionProperty: state.duration ? "all" : "none"
2153
2189
  },
2154
- "class": bem$1D("wrapper"),
2190
+ "class": bem$1E("wrapper"),
2155
2191
  "onTransitionend": stopMomentum
2156
2192
  }, [renderOptions()])]);
2157
2193
  }
2158
2194
  });
2159
- const [name$1G, bem$1C, t$j] = createNamespace("picker");
2195
+ const [name$1H, bem$1D, t$j] = createNamespace("picker");
2160
2196
  const pickerSharedProps = {
2161
2197
  title: String,
2162
2198
  loading: Boolean,
@@ -2179,8 +2215,8 @@
2179
2215
  toolbarPosition: makeStringProp("top"),
2180
2216
  columnsFieldNames: Object
2181
2217
  });
2182
- var stdin_default$1O = vue.defineComponent({
2183
- name: name$1G,
2218
+ var stdin_default$1P = vue.defineComponent({
2219
+ name: name$1H,
2184
2220
  props: pickerProps,
2185
2221
  emits: ["confirm", "cancel", "change"],
2186
2222
  setup(props2, {
@@ -2357,7 +2393,7 @@
2357
2393
  }
2358
2394
  if (props2.title) {
2359
2395
  return vue.createVNode("div", {
2360
- "class": [bem$1C("title"), "van-ellipsis"]
2396
+ "class": [bem$1D("title"), "van-ellipsis"]
2361
2397
  }, [props2.title]);
2362
2398
  }
2363
2399
  };
@@ -2365,7 +2401,7 @@
2365
2401
  const text = props2.cancelButtonText || t$j("cancel");
2366
2402
  return vue.createVNode("button", {
2367
2403
  "type": "button",
2368
- "class": [bem$1C("cancel"), HAPTICS_FEEDBACK],
2404
+ "class": [bem$1D("cancel"), HAPTICS_FEEDBACK],
2369
2405
  "onClick": cancel
2370
2406
  }, [slots.cancel ? slots.cancel() : text]);
2371
2407
  };
@@ -2373,7 +2409,7 @@
2373
2409
  const text = props2.confirmButtonText || t$j("confirm");
2374
2410
  return vue.createVNode("button", {
2375
2411
  "type": "button",
2376
- "class": [bem$1C("confirm"), HAPTICS_FEEDBACK],
2412
+ "class": [bem$1D("confirm"), HAPTICS_FEEDBACK],
2377
2413
  "onClick": confirm
2378
2414
  }, [slots.confirm ? slots.confirm() : text]);
2379
2415
  };
@@ -2381,13 +2417,13 @@
2381
2417
  if (props2.showToolbar) {
2382
2418
  const slot = slots.toolbar || slots.default;
2383
2419
  return vue.createVNode("div", {
2384
- "class": bem$1C("toolbar")
2420
+ "class": bem$1D("toolbar")
2385
2421
  }, [slot ? slot() : [renderCancel(), renderTitle(), renderConfirm()]]);
2386
2422
  }
2387
2423
  };
2388
2424
  const renderColumnItems = () => formattedColumns.value.map((item, columnIndex) => {
2389
2425
  var _a;
2390
- return vue.createVNode(stdin_default$1P, {
2426
+ return vue.createVNode(stdin_default$1Q, {
2391
2427
  "textKey": columnsFieldNames.value.text,
2392
2428
  "readonly": props2.readonly,
2393
2429
  "allowHtml": props2.allowHtml,
@@ -2412,10 +2448,10 @@
2412
2448
  backgroundSize: `100% ${(wrapHeight - itemHeight.value) / 2}px`
2413
2449
  };
2414
2450
  return [vue.createVNode("div", {
2415
- "class": bem$1C("mask"),
2451
+ "class": bem$1D("mask"),
2416
2452
  "style": maskStyle
2417
2453
  }, null), vue.createVNode("div", {
2418
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1C("frame")],
2454
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1D("frame")],
2419
2455
  "style": frameStyle
2420
2456
  }, null)];
2421
2457
  }
@@ -2427,7 +2463,7 @@
2427
2463
  };
2428
2464
  return vue.createVNode("div", {
2429
2465
  "ref": columnsRef,
2430
- "class": bem$1C("columns"),
2466
+ "class": bem$1D("columns"),
2431
2467
  "style": columnsStyle
2432
2468
  }, [renderColumnItems(), renderMask(wrapHeight)]);
2433
2469
  };
@@ -2453,15 +2489,15 @@
2453
2489
  return () => {
2454
2490
  var _a, _b;
2455
2491
  return vue.createVNode("div", {
2456
- "class": bem$1C()
2492
+ "class": bem$1D()
2457
2493
  }, [props2.toolbarPosition === "top" ? renderToolbar() : null, props2.loading ? vue.createVNode(Loading, {
2458
- "class": bem$1C("loading")
2494
+ "class": bem$1D("loading")
2459
2495
  }, 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]);
2460
2496
  };
2461
2497
  }
2462
2498
  });
2463
- const Picker = withInstall(stdin_default$1O);
2464
- const [name$1F, bem$1B] = createNamespace("area");
2499
+ const Picker = withInstall(stdin_default$1P);
2500
+ const [name$1G, bem$1C] = createNamespace("area");
2465
2501
  const EMPTY_CODE = "000000";
2466
2502
  const INHERIT_SLOTS = ["title", "cancel", "confirm", "toolbar", "columns-top", "columns-bottom"];
2467
2503
  const INHERIT_PROPS = ["title", "loading", "readonly", "itemHeight", "swipeDuration", "visibleItemCount", "cancelButtonText", "confirmButtonText"];
@@ -2479,8 +2515,8 @@
2479
2515
  default: isOverseaCode
2480
2516
  }
2481
2517
  });
2482
- var stdin_default$1N = vue.defineComponent({
2483
- name: name$1F,
2518
+ var stdin_default$1O = vue.defineComponent({
2519
+ name: name$1G,
2484
2520
  props: areaProps,
2485
2521
  emits: ["change", "confirm", "cancel"],
2486
2522
  setup(props2, {
@@ -2680,7 +2716,7 @@
2680
2716
  const columns = state.columns.slice(0, +props2.columnsNum);
2681
2717
  return vue.createVNode(Picker, vue.mergeProps({
2682
2718
  "ref": pickerRef,
2683
- "class": bem$1B(),
2719
+ "class": bem$1C(),
2684
2720
  "columns": columns,
2685
2721
  "columnsFieldNames": {
2686
2722
  text: "name"
@@ -2692,8 +2728,8 @@
2692
2728
  };
2693
2729
  }
2694
2730
  });
2695
- const Area = withInstall(stdin_default$1N);
2696
- const [name$1E, bem$1A] = createNamespace("checkbox-group");
2731
+ const Area = withInstall(stdin_default$1O);
2732
+ const [name$1F, bem$1B] = createNamespace("checkbox-group");
2697
2733
  const checkboxGroupProps = {
2698
2734
  max: numericProp,
2699
2735
  disabled: Boolean,
@@ -2704,9 +2740,9 @@
2704
2740
  modelValue: makeArrayProp(),
2705
2741
  checkedColor: String
2706
2742
  };
2707
- const CHECKBOX_GROUP_KEY = Symbol(name$1E);
2708
- var stdin_default$1M = vue.defineComponent({
2709
- name: name$1E,
2743
+ const CHECKBOX_GROUP_KEY = Symbol(name$1F);
2744
+ var stdin_default$1N = vue.defineComponent({
2745
+ name: name$1F,
2710
2746
  props: checkboxGroupProps,
2711
2747
  emits: ["change", "update:modelValue"],
2712
2748
  setup(props2, {
@@ -2752,7 +2788,7 @@
2752
2788
  return () => {
2753
2789
  var _a;
2754
2790
  return vue.createVNode("div", {
2755
- "class": bem$1A([props2.direction])
2791
+ "class": bem$1B([props2.direction])
2756
2792
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2757
2793
  };
2758
2794
  }
@@ -2770,7 +2806,7 @@
2770
2806
  labelDisabled: Boolean,
2771
2807
  allowUncheck: Boolean
2772
2808
  };
2773
- var stdin_default$1L = vue.defineComponent({
2809
+ var stdin_default$1M = vue.defineComponent({
2774
2810
  props: extend$1({}, checkerProps, {
2775
2811
  bem: makeRequiredProp(Function),
2776
2812
  role: String,
@@ -2876,12 +2912,12 @@
2876
2912
  };
2877
2913
  }
2878
2914
  });
2879
- const [name$1D, bem$1z] = createNamespace("checkbox");
2915
+ const [name$1E, bem$1A] = createNamespace("checkbox");
2880
2916
  const checkboxProps = extend$1({}, checkerProps, {
2881
2917
  bindGroup: truthProp
2882
2918
  });
2883
- var stdin_default$1K = vue.defineComponent({
2884
- name: name$1D,
2919
+ var stdin_default$1L = vue.defineComponent({
2920
+ name: name$1E,
2885
2921
  props: checkboxProps,
2886
2922
  emits: ["change", "update:modelValue"],
2887
2923
  setup(props2, {
@@ -2938,8 +2974,8 @@
2938
2974
  checked
2939
2975
  });
2940
2976
  useCustomFieldValue(() => props2.modelValue);
2941
- return () => vue.createVNode(stdin_default$1L, vue.mergeProps({
2942
- "bem": bem$1z,
2977
+ return () => vue.createVNode(stdin_default$1M, vue.mergeProps({
2978
+ "bem": bem$1A,
2943
2979
  "role": "checkbox",
2944
2980
  "parent": parent,
2945
2981
  "checked": checked.value,
@@ -2947,8 +2983,8 @@
2947
2983
  }, props2), pick(slots, ["default", "icon"]));
2948
2984
  }
2949
2985
  });
2950
- const Checkbox = withInstall(stdin_default$1K);
2951
- const [name$1C, bem$1y] = createNamespace("radio-group");
2986
+ const Checkbox = withInstall(stdin_default$1L);
2987
+ const [name$1D, bem$1z] = createNamespace("radio-group");
2952
2988
  const radioGroupProps = {
2953
2989
  disabled: Boolean,
2954
2990
  iconSize: numericProp,
@@ -2959,9 +2995,9 @@
2959
2995
  checkedColor: String,
2960
2996
  allowUncheck: Boolean
2961
2997
  };
2962
- const RADIO_KEY = Symbol(name$1C);
2963
- var stdin_default$1J = vue.defineComponent({
2964
- name: name$1C,
2998
+ const RADIO_KEY = Symbol(name$1D);
2999
+ var stdin_default$1K = vue.defineComponent({
3000
+ name: name$1D,
2965
3001
  props: radioGroupProps,
2966
3002
  emits: ["change", "update:modelValue"],
2967
3003
  setup(props2, {
@@ -2981,15 +3017,15 @@
2981
3017
  return () => {
2982
3018
  var _a;
2983
3019
  return vue.createVNode("div", {
2984
- "class": bem$1y([props2.direction]),
3020
+ "class": bem$1z([props2.direction]),
2985
3021
  "role": "radiogroup"
2986
3022
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2987
3023
  };
2988
3024
  }
2989
3025
  });
2990
- const [name$1B, bem$1x] = createNamespace("radio");
2991
- var stdin_default$1I = vue.defineComponent({
2992
- name: name$1B,
3026
+ const [name$1C, bem$1y] = createNamespace("radio");
3027
+ var stdin_default$1J = vue.defineComponent({
3028
+ name: name$1C,
2993
3029
  props: checkerProps,
2994
3030
  emits: ["update:modelValue"],
2995
3031
  setup(props2, {
@@ -3018,8 +3054,8 @@
3018
3054
  emit("update:modelValue", val);
3019
3055
  }
3020
3056
  };
3021
- return () => vue.createVNode(stdin_default$1L, vue.mergeProps({
3022
- "bem": bem$1x,
3057
+ return () => vue.createVNode(stdin_default$1M, vue.mergeProps({
3058
+ "bem": bem$1y,
3023
3059
  "role": "radio",
3024
3060
  "parent": parent,
3025
3061
  "checked": checked(),
@@ -3029,8 +3065,8 @@
3029
3065
  }, props2), pick(slots, ["default", "icon"]));
3030
3066
  }
3031
3067
  });
3032
- const Radio = withInstall(stdin_default$1I);
3033
- const [name$1A, bem$1w] = createNamespace("cell");
3068
+ const Radio = withInstall(stdin_default$1J);
3069
+ const [name$1B, bem$1x] = createNamespace("cell");
3034
3070
  const cellSharedProps = {
3035
3071
  icon: String,
3036
3072
  size: String,
@@ -3074,8 +3110,8 @@
3074
3110
  }
3075
3111
  };
3076
3112
  const cellProps = extend$1({}, cellSharedProps, routeProps);
3077
- var stdin_default$1H = vue.defineComponent({
3078
- name: name$1A,
3113
+ var stdin_default$1I = vue.defineComponent({
3114
+ name: name$1B,
3079
3115
  props: cellProps,
3080
3116
  emits: ["click", "update:leftSelect", "update:rightSelect"],
3081
3117
  setup(props2, {
@@ -3121,17 +3157,17 @@
3121
3157
  const showLabel = slots.label || isDef(props2.label);
3122
3158
  if (showLabel) {
3123
3159
  return vue.createVNode("div", {
3124
- "class": [bem$1w("label"), props2.labelClass]
3160
+ "class": [bem$1x("label"), props2.labelClass]
3125
3161
  }, [slots.label ? slots.label() : props2.label]);
3126
3162
  }
3127
3163
  };
3128
3164
  const renderTitle = () => {
3129
3165
  if (slots.title || isDef(props2.title)) {
3130
3166
  return vue.createVNode("div", {
3131
- "class": [bem$1w("title"), props2.titleClass],
3167
+ "class": [bem$1x("title"), props2.titleClass],
3132
3168
  "style": props2.titleStyle
3133
3169
  }, [vue.createVNode("div", {
3134
- "class": bem$1w("title-row")
3170
+ "class": bem$1x("title-row")
3135
3171
  }, [slots.title ? slots.title() : vue.createVNode("span", null, [props2.title]), renderTags(), renderTitleIcon()]), renderLabel()]);
3136
3172
  }
3137
3173
  };
@@ -3141,7 +3177,7 @@
3141
3177
  if (hasValue) {
3142
3178
  const hasTitle = slots.title || isDef(props2.title);
3143
3179
  return vue.createVNode("div", {
3144
- "class": [bem$1w("value", {
3180
+ "class": [bem$1x("value", {
3145
3181
  alone: !hasTitle
3146
3182
  }), props2.valueClass]
3147
3183
  }, [slot ? slot() : vue.createVNode("span", null, [props2.value])]);
@@ -3154,7 +3190,7 @@
3154
3190
  if (props2.icon) {
3155
3191
  return vue.createVNode(Icon, {
3156
3192
  "name": props2.icon,
3157
- "class": bem$1w("left-icon"),
3193
+ "class": bem$1x("left-icon"),
3158
3194
  "classPrefix": props2.iconPrefix
3159
3195
  }, null);
3160
3196
  }
@@ -3165,13 +3201,13 @@
3165
3201
  const selected = getSelectState(position);
3166
3202
  if (slot) {
3167
3203
  return vue.createVNode("div", {
3168
- "class": bem$1w(`${position}-select`)
3204
+ "class": bem$1x(`${position}-select`)
3169
3205
  }, [slot()]);
3170
3206
  }
3171
3207
  if (hasSelect(position)) {
3172
3208
  const checkboxSize = (_b2 = (_a2 = props2.size) != null ? _a2 : config == null ? void 0 : config.cellSize) != null ? _b2 : "normal";
3173
3209
  return vue.createVNode("div", {
3174
- "class": bem$1w(`${position}-select`),
3210
+ "class": bem$1x(`${position}-select`),
3175
3211
  "onClick": (event) => event.stopPropagation()
3176
3212
  }, [props2.selectType === "radio" ? vue.createVNode(Radio, {
3177
3213
  "modelValue": selected ? "selected" : "",
@@ -3192,12 +3228,12 @@
3192
3228
  const avatar = position === "left" ? props2.avatar : props2.rightAvatar;
3193
3229
  if (slot) {
3194
3230
  return vue.createVNode("div", {
3195
- "class": bem$1w(`${position}-avatar`)
3231
+ "class": bem$1x(`${position}-avatar`)
3196
3232
  }, [slot()]);
3197
3233
  }
3198
3234
  if (avatar) {
3199
3235
  return vue.createVNode("img", {
3200
- "class": bem$1w(`${position}-avatar`),
3236
+ "class": bem$1x(`${position}-avatar`),
3201
3237
  "src": avatar,
3202
3238
  "alt": ""
3203
3239
  }, null);
@@ -3206,12 +3242,12 @@
3206
3242
  const renderBlueMark = () => {
3207
3243
  if (slots["blue-mark"]) {
3208
3244
  return vue.createVNode("div", {
3209
- "class": bem$1w("blue-mark")
3245
+ "class": bem$1x("blue-mark")
3210
3246
  }, [slots["blue-mark"]()]);
3211
3247
  }
3212
3248
  if (props2.blueMark) {
3213
3249
  return vue.createVNode("span", {
3214
- "class": bem$1w("blue-mark")
3250
+ "class": bem$1x("blue-mark")
3215
3251
  }, null);
3216
3252
  }
3217
3253
  };
@@ -3219,52 +3255,52 @@
3219
3255
  var _a2;
3220
3256
  if (slots.tags) {
3221
3257
  return vue.createVNode("div", {
3222
- "class": bem$1w("tags")
3258
+ "class": bem$1x("tags")
3223
3259
  }, [slots.tags()]);
3224
3260
  }
3225
3261
  if ((_a2 = props2.tags) == null ? void 0 : _a2.length) {
3226
3262
  return vue.createVNode("div", {
3227
- "class": bem$1w("tags")
3263
+ "class": bem$1x("tags")
3228
3264
  }, [props2.tags.map((tag, index) => vue.createVNode("span", {
3229
3265
  "key": `${tag}-${index}`,
3230
- "class": bem$1w("tag")
3266
+ "class": bem$1x("tag")
3231
3267
  }, [tag]))]);
3232
3268
  }
3233
3269
  };
3234
3270
  const renderTitleIcon = () => {
3235
3271
  if (slots["title-icon"]) {
3236
3272
  return vue.createVNode("div", {
3237
- "class": bem$1w("title-icon")
3273
+ "class": bem$1x("title-icon")
3238
3274
  }, [slots["title-icon"]()]);
3239
3275
  }
3240
3276
  if (props2.titleIcon) {
3241
3277
  return vue.createVNode(Icon, {
3242
3278
  "name": props2.titleIcon,
3243
- "class": bem$1w("title-icon")
3279
+ "class": bem$1x("title-icon")
3244
3280
  }, null);
3245
3281
  }
3246
3282
  };
3247
3283
  const renderNote = () => {
3248
3284
  if (slots.note) {
3249
3285
  return vue.createVNode("div", {
3250
- "class": bem$1w("note")
3286
+ "class": bem$1x("note")
3251
3287
  }, [slots.note()]);
3252
3288
  }
3253
3289
  if (isDef(props2.note)) {
3254
3290
  return vue.createVNode("div", {
3255
- "class": bem$1w("note")
3291
+ "class": bem$1x("note")
3256
3292
  }, [props2.note]);
3257
3293
  }
3258
3294
  };
3259
3295
  const renderBadge = () => {
3260
3296
  if (slots.badge) {
3261
3297
  return vue.createVNode("div", {
3262
- "class": bem$1w("badge")
3298
+ "class": bem$1x("badge")
3263
3299
  }, [slots.badge()]);
3264
3300
  }
3265
3301
  if (isDef(props2.badge)) {
3266
3302
  return vue.createVNode("div", {
3267
- "class": bem$1w("badge")
3303
+ "class": bem$1x("badge")
3268
3304
  }, [vue.createVNode(Badge, {
3269
3305
  "content": props2.badge,
3270
3306
  "showZero": true
@@ -3278,14 +3314,14 @@
3278
3314
  if (props2.rightIcon) {
3279
3315
  return vue.createVNode(Icon, {
3280
3316
  "name": props2.rightIcon,
3281
- "class": bem$1w("right-icon")
3317
+ "class": bem$1x("right-icon")
3282
3318
  }, null);
3283
3319
  }
3284
3320
  if (props2.isLink) {
3285
3321
  const name2 = props2.arrowDirection && props2.arrowDirection !== "right" ? `arrow-${props2.arrowDirection}` : "arrow";
3286
3322
  return vue.createVNode(Icon, {
3287
3323
  "name": name2,
3288
- "class": bem$1w("right-icon")
3324
+ "class": bem$1x("right-icon")
3289
3325
  }, null);
3290
3326
  }
3291
3327
  };
@@ -3317,7 +3353,7 @@
3317
3353
  }
3318
3354
  };
3319
3355
  return vue.createVNode("div", {
3320
- "class": [bem$1w(classes), props2.errorBorder ? "van-cell-error-border" : ""],
3356
+ "class": [bem$1x(classes), props2.errorBorder ? "van-cell-error-border" : ""],
3321
3357
  "role": clickable ? "button" : void 0,
3322
3358
  "tabindex": clickable ? 0 : void 0,
3323
3359
  "onClick": onClick
@@ -3325,8 +3361,8 @@
3325
3361
  };
3326
3362
  }
3327
3363
  });
3328
- const Cell = withInstall(stdin_default$1H);
3329
- const [name$1z, bem$1v] = createNamespace("form");
3364
+ const Cell = withInstall(stdin_default$1I);
3365
+ const [name$1A, bem$1w] = createNamespace("form");
3330
3366
  const formProps = {
3331
3367
  colon: Boolean,
3332
3368
  disabled: Boolean,
@@ -3345,8 +3381,8 @@
3345
3381
  default: "onBlur"
3346
3382
  }
3347
3383
  };
3348
- var stdin_default$1G = vue.defineComponent({
3349
- name: name$1z,
3384
+ var stdin_default$1H = vue.defineComponent({
3385
+ name: name$1A,
3350
3386
  props: formProps,
3351
3387
  emits: ["submit", "failed"],
3352
3388
  setup(props2, {
@@ -3470,13 +3506,13 @@
3470
3506
  return () => {
3471
3507
  var _a;
3472
3508
  return vue.createVNode("form", {
3473
- "class": bem$1v(),
3509
+ "class": bem$1w(),
3474
3510
  "onSubmit": onSubmit
3475
3511
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3476
3512
  };
3477
3513
  }
3478
3514
  });
3479
- const Form = withInstall(stdin_default$1G);
3515
+ const Form = withInstall(stdin_default$1H);
3480
3516
  function isEmptyValue(value) {
3481
3517
  if (Array.isArray(value)) {
3482
3518
  return !value.length;
@@ -3571,7 +3607,7 @@
3571
3607
  const { name: name2 = "unknown" } = (vm == null ? void 0 : vm.type) || {};
3572
3608
  return `${name2}-${++current}`;
3573
3609
  }
3574
- const [name$1y, bem$1u] = createNamespace("field");
3610
+ const [name$1z, bem$1v] = createNamespace("field");
3575
3611
  const fieldSharedProps = {
3576
3612
  id: String,
3577
3613
  name: String,
@@ -3624,8 +3660,8 @@
3624
3660
  default: false
3625
3661
  }
3626
3662
  });
3627
- var stdin_default$1F = vue.defineComponent({
3628
- name: name$1y,
3663
+ var stdin_default$1G = vue.defineComponent({
3664
+ name: name$1z,
3629
3665
  props: fieldProps,
3630
3666
  emits: ["blur", "focus", "clear", "keypress", "click-input", "end-validate", "start-validate", "click-left-icon", "click-right-icon", "update:modelValue"],
3631
3667
  setup(props2, {
@@ -3897,7 +3933,7 @@
3897
3933
  const getInputId = () => props2.id || `${id}-input`;
3898
3934
  const getValidationStatus = () => state.status;
3899
3935
  const renderInput = () => {
3900
- const controlClass = bem$1u("control", [getProp("inputAlign"), {
3936
+ const controlClass = bem$1v("control", [getProp("inputAlign"), {
3901
3937
  error: showError.value,
3902
3938
  custom: !!slots.input,
3903
3939
  "min-height": props2.type === "textarea" && !props2.autosize
@@ -3939,7 +3975,7 @@
3939
3975
  const leftIconSlot = slots["left-icon"];
3940
3976
  if (props2.leftIcon || leftIconSlot) {
3941
3977
  return vue.createVNode("div", {
3942
- "class": bem$1u("left-icon"),
3978
+ "class": bem$1v("left-icon"),
3943
3979
  "onClick": onClickLeftIcon
3944
3980
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
3945
3981
  "name": props2.leftIcon,
@@ -3951,7 +3987,7 @@
3951
3987
  const rightIconSlot = slots["right-icon"];
3952
3988
  if (props2.rightIcon || rightIconSlot) {
3953
3989
  return vue.createVNode("div", {
3954
- "class": bem$1u("right-icon"),
3990
+ "class": bem$1v("right-icon"),
3955
3991
  "onClick": onClickRightIcon
3956
3992
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
3957
3993
  "name": props2.rightIcon,
@@ -3963,9 +3999,9 @@
3963
3999
  if (props2.showWordLimit && props2.maxlength) {
3964
4000
  const count = getStringLength(getModelValue());
3965
4001
  return vue.createVNode("div", {
3966
- "class": bem$1u("word-limit")
4002
+ "class": bem$1v("word-limit")
3967
4003
  }, [vue.createVNode("span", {
3968
- "class": bem$1u("word-num")
4004
+ "class": bem$1v("word-num")
3969
4005
  }, [count]), vue.createTextVNode("/"), props2.maxlength]);
3970
4006
  }
3971
4007
  };
@@ -3978,7 +4014,7 @@
3978
4014
  const slot = slots["error-message"];
3979
4015
  const errorMessageAlign = getProp("errorMessageAlign");
3980
4016
  return vue.createVNode("div", {
3981
- "class": bem$1u("error-message", errorMessageAlign)
4017
+ "class": bem$1v("error-message", errorMessageAlign)
3982
4018
  }, [slot ? slot({
3983
4019
  message
3984
4020
  }) : message]);
@@ -3997,13 +4033,13 @@
3997
4033
  }
3998
4034
  };
3999
4035
  const renderFieldBody = () => [vue.createVNode("div", {
4000
- "class": bem$1u("body")
4036
+ "class": bem$1v("body")
4001
4037
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4002
4038
  "ref": clearIconRef,
4003
4039
  "name": props2.clearIcon,
4004
- "class": bem$1u("clear")
4040
+ "class": bem$1v("clear")
4005
4041
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4006
- "class": bem$1u("button")
4042
+ "class": bem$1v("button")
4007
4043
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4008
4044
  useExpose({
4009
4045
  blur,
@@ -4042,7 +4078,7 @@
4042
4078
  return vue.createVNode(Cell, {
4043
4079
  "size": props2.size,
4044
4080
  "icon": props2.leftIcon,
4045
- "class": bem$1u({
4081
+ "class": bem$1v({
4046
4082
  error: showError.value,
4047
4083
  disabled,
4048
4084
  [`label-${labelAlign}`]: labelAlign,
@@ -4054,8 +4090,8 @@
4054
4090
  "isLink": props2.isLink,
4055
4091
  "clickable": props2.clickable,
4056
4092
  "titleStyle": labelStyle.value,
4057
- "valueClass": bem$1u("value"),
4058
- "titleClass": [bem$1u("label", [labelAlign, {
4093
+ "valueClass": bem$1v("value"),
4094
+ "titleClass": [bem$1v("label", [labelAlign, {
4059
4095
  required: props2.required
4060
4096
  }]), props2.labelClass],
4061
4097
  "arrowDirection": props2.arrowDirection
@@ -4068,7 +4104,7 @@
4068
4104
  };
4069
4105
  }
4070
4106
  });
4071
- const Field = withInstall(stdin_default$1F);
4107
+ const Field = withInstall(stdin_default$1G);
4072
4108
  function usePopupState() {
4073
4109
  const state = vue.reactive({
4074
4110
  show: false
@@ -4115,7 +4151,7 @@
4115
4151
  }
4116
4152
  }
4117
4153
  }
4118
- const [name$1x, bem$1t] = createNamespace("toast");
4154
+ const [name$1y, bem$1u] = createNamespace("toast");
4119
4155
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4120
4156
  const toastProps = {
4121
4157
  icon: String,
@@ -4137,8 +4173,8 @@
4137
4173
  closeOnClick: Boolean,
4138
4174
  closeOnClickOverlay: Boolean
4139
4175
  };
4140
- var stdin_default$1E = vue.defineComponent({
4141
- name: name$1x,
4176
+ var stdin_default$1F = vue.defineComponent({
4177
+ name: name$1y,
4142
4178
  props: toastProps,
4143
4179
  emits: ["update:show"],
4144
4180
  setup(props2, {
@@ -4173,13 +4209,13 @@
4173
4209
  return vue.createVNode(Icon, {
4174
4210
  "name": icon || type,
4175
4211
  "size": iconSize,
4176
- "class": bem$1t("icon"),
4212
+ "class": bem$1u("icon"),
4177
4213
  "classPrefix": iconPrefix
4178
4214
  }, null);
4179
4215
  }
4180
4216
  if (type === "loading") {
4181
4217
  return vue.createVNode(Loading, {
4182
- "class": bem$1t("loading"),
4218
+ "class": bem$1u("loading"),
4183
4219
  "size": iconSize,
4184
4220
  "type": loadingType
4185
4221
  }, null);
@@ -4193,10 +4229,10 @@
4193
4229
  if (isDef(message) && message !== "") {
4194
4230
  return type === "html" ? vue.createVNode("div", {
4195
4231
  "key": 0,
4196
- "class": bem$1t("text"),
4232
+ "class": bem$1u("text"),
4197
4233
  "innerHTML": String(message)
4198
4234
  }, null) : vue.createVNode("div", {
4199
- "class": bem$1t("text")
4235
+ "class": bem$1u("text")
4200
4236
  }, [message]);
4201
4237
  }
4202
4238
  };
@@ -4212,7 +4248,7 @@
4212
4248
  vue.onMounted(toggleClickable);
4213
4249
  vue.onUnmounted(toggleClickable);
4214
4250
  return () => vue.createVNode(Popup, vue.mergeProps({
4215
- "class": [bem$1t([props2.position, {
4251
+ "class": [bem$1u([props2.position, {
4216
4252
  [props2.type]: !props2.icon
4217
4253
  }]), props2.className],
4218
4254
  "lockScroll": false,
@@ -4281,7 +4317,7 @@
4281
4317
  onClosed,
4282
4318
  "onUpdate:show": toggle
4283
4319
  };
4284
- return vue.createVNode(stdin_default$1E, vue.mergeProps(state, attrs), null);
4320
+ return vue.createVNode(stdin_default$1F, vue.mergeProps(state, attrs), null);
4285
4321
  };
4286
4322
  vue.watch(message, (val) => {
4287
4323
  state.message = val;
@@ -4353,10 +4389,10 @@
4353
4389
  allowMultiple = value;
4354
4390
  };
4355
4391
  Toast.install = (app) => {
4356
- app.use(withInstall(stdin_default$1E));
4392
+ app.use(withInstall(stdin_default$1F));
4357
4393
  app.config.globalProperties.$toast = Toast;
4358
4394
  };
4359
- const [name$1w, bem$1s] = createNamespace("switch");
4395
+ const [name$1x, bem$1t] = createNamespace("switch");
4360
4396
  const switchProps = {
4361
4397
  size: numericProp,
4362
4398
  loading: Boolean,
@@ -4373,8 +4409,8 @@
4373
4409
  default: false
4374
4410
  }
4375
4411
  };
4376
- var stdin_default$1D = vue.defineComponent({
4377
- name: name$1w,
4412
+ var stdin_default$1E = vue.defineComponent({
4413
+ name: name$1x,
4378
4414
  props: switchProps,
4379
4415
  emits: ["change", "update:modelValue"],
4380
4416
  setup(props2, {
@@ -4393,7 +4429,7 @@
4393
4429
  if (props2.loading) {
4394
4430
  const color = isChecked() ? props2.activeColor : props2.inactiveColor;
4395
4431
  return vue.createVNode(Loading, {
4396
- "class": bem$1s("loading"),
4432
+ "class": bem$1t("loading"),
4397
4433
  "color": color
4398
4434
  }, null);
4399
4435
  }
@@ -4418,7 +4454,7 @@
4418
4454
  };
4419
4455
  return vue.createVNode("div", {
4420
4456
  "role": "switch",
4421
- "class": bem$1s({
4457
+ "class": bem$1t({
4422
4458
  on: checked,
4423
4459
  loading,
4424
4460
  disabled
@@ -4428,16 +4464,16 @@
4428
4464
  "aria-checked": checked,
4429
4465
  "onClick": onClick
4430
4466
  }, [vue.createVNode("div", {
4431
- "class": bem$1s("node")
4467
+ "class": bem$1t("node")
4432
4468
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4433
4469
  };
4434
4470
  }
4435
4471
  });
4436
- const Switch = withInstall(stdin_default$1D);
4437
- const [name$1v, bem$1r] = createNamespace("address-edit-detail");
4472
+ const Switch = withInstall(stdin_default$1E);
4473
+ const [name$1w, bem$1s] = createNamespace("address-edit-detail");
4438
4474
  const t$i = createNamespace("address-edit")[2];
4439
- var stdin_default$1C = vue.defineComponent({
4440
- name: name$1v,
4475
+ var stdin_default$1D = vue.defineComponent({
4476
+ name: name$1w,
4441
4477
  props: {
4442
4478
  show: Boolean,
4443
4479
  rows: numericProp,
@@ -4460,7 +4496,7 @@
4460
4496
  };
4461
4497
  const renderSearchTitle = (express) => {
4462
4498
  if (express.name) {
4463
- const text = express.name.replace(props2.value, `<span class=${bem$1r("keyword")}>${props2.value}</span>`);
4499
+ const text = express.name.replace(props2.value, `<span class=${bem$1s("keyword")}>${props2.value}</span>`);
4464
4500
  return vue.createVNode("div", {
4465
4501
  "innerHTML": text
4466
4502
  }, null);
@@ -4478,7 +4514,7 @@
4478
4514
  "key": express.name + express.address,
4479
4515
  "icon": "location-o",
4480
4516
  "label": express.address,
4481
- "class": bem$1r("search-item"),
4517
+ "class": bem$1s("search-item"),
4482
4518
  "border": false,
4483
4519
  "onClick": () => onSelect(express)
4484
4520
  }, {
@@ -4494,7 +4530,7 @@
4494
4530
  "autosize": true,
4495
4531
  "clearable": true,
4496
4532
  "ref": field,
4497
- "class": bem$1r(),
4533
+ "class": bem$1s(),
4498
4534
  "rows": props2.rows,
4499
4535
  "type": "textarea",
4500
4536
  "rules": props2.rules,
@@ -4511,7 +4547,7 @@
4511
4547
  };
4512
4548
  }
4513
4549
  });
4514
- const [name$1u, bem$1q, t$h] = createNamespace("address-edit");
4550
+ const [name$1v, bem$1r, t$h] = createNamespace("address-edit");
4515
4551
  const DEFAULT_DATA = {
4516
4552
  name: "",
4517
4553
  tel: "",
@@ -4558,8 +4594,8 @@
4558
4594
  default: isPostal
4559
4595
  }
4560
4596
  };
4561
- var stdin_default$1B = vue.defineComponent({
4562
- name: name$1u,
4597
+ var stdin_default$1C = vue.defineComponent({
4598
+ name: name$1v,
4563
4599
  props: addressEditProps,
4564
4600
  emits: ["save", "focus", "delete", "click-area", "change-area", "change-detail", "select-search", "change-default"],
4565
4601
  setup(props2, {
@@ -4685,7 +4721,7 @@
4685
4721
  return vue.withDirectives(vue.createVNode(Cell, {
4686
4722
  "center": true,
4687
4723
  "title": t$h("defaultAddress"),
4688
- "class": bem$1q("default")
4724
+ "class": bem$1r("default")
4689
4725
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
4690
4726
  }
4691
4727
  };
@@ -4707,13 +4743,13 @@
4707
4743
  disableArea
4708
4744
  } = props2;
4709
4745
  return vue.createVNode(Form, {
4710
- "class": bem$1q(),
4746
+ "class": bem$1r(),
4711
4747
  "onSubmit": onSave
4712
4748
  }, {
4713
4749
  default: () => {
4714
4750
  var _a;
4715
4751
  return [vue.createVNode("div", {
4716
- "class": bem$1q("fields")
4752
+ "class": bem$1r("fields")
4717
4753
  }, [vue.createVNode(Field, {
4718
4754
  "modelValue": data.name,
4719
4755
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -4744,7 +4780,7 @@
4744
4780
  emit("click-area");
4745
4781
  showAreaPopup.value = !disableArea;
4746
4782
  }
4747
- }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1C, {
4783
+ }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1D, {
4748
4784
  "show": props2.showDetail,
4749
4785
  "rows": props2.detailRows,
4750
4786
  "rules": rules.value.addressDetail,
@@ -4767,19 +4803,19 @@
4767
4803
  "placeholder": t$h("postal"),
4768
4804
  "onFocus": () => onFocus("postalCode")
4769
4805
  }, null), [[vue.vShow, !hideBottomFields.value]]), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
4770
- "class": bem$1q("buttons")
4806
+ "class": bem$1r("buttons")
4771
4807
  }, [vue.createVNode(Button, {
4772
4808
  "block": true,
4773
4809
  "round": true,
4774
4810
  "type": "primary",
4775
4811
  "text": props2.saveButtonText || t$h("save"),
4776
- "class": bem$1q("button"),
4812
+ "class": bem$1r("button"),
4777
4813
  "loading": props2.isSaving,
4778
4814
  "nativeType": "submit"
4779
4815
  }, null), props2.showDelete && vue.createVNode(Button, {
4780
4816
  "block": true,
4781
4817
  "round": true,
4782
- "class": bem$1q("button"),
4818
+ "class": bem$1r("button"),
4783
4819
  "loading": props2.isDeleting,
4784
4820
  "text": props2.deleteButtonText || t$h("delete"),
4785
4821
  "onClick": onDelete
@@ -4808,22 +4844,22 @@
4808
4844
  };
4809
4845
  }
4810
4846
  });
4811
- const AddressEdit = withInstall(stdin_default$1B);
4812
- const RadioGroup = withInstall(stdin_default$1J);
4813
- const [name$1t, bem$1p] = createNamespace("tag");
4847
+ const AddressEdit = withInstall(stdin_default$1C);
4848
+ const RadioGroup = withInstall(stdin_default$1K);
4849
+ const [name$1u, bem$1q] = createNamespace("tag");
4814
4850
  const tagProps = {
4815
4851
  size: makeStringProp("medium"),
4816
4852
  mark: Boolean,
4817
4853
  show: truthProp,
4818
- type: makeStringProp("default"),
4854
+ type: makeStringProp("gray"),
4819
4855
  color: String,
4820
4856
  plain: Boolean,
4821
4857
  round: Boolean,
4822
4858
  textColor: String,
4823
4859
  closeable: Boolean
4824
4860
  };
4825
- var stdin_default$1A = vue.defineComponent({
4826
- name: name$1t,
4861
+ var stdin_default$1B = vue.defineComponent({
4862
+ name: name$1u,
4827
4863
  props: tagProps,
4828
4864
  emits: ["close"],
4829
4865
  setup(props2, {
@@ -4866,12 +4902,12 @@
4866
4902
  }
4867
4903
  const CloseIcon = closeable && vue.createVNode(Icon, {
4868
4904
  "name": "cross",
4869
- "class": [bem$1p("close"), HAPTICS_FEEDBACK],
4905
+ "class": [bem$1q("close"), HAPTICS_FEEDBACK],
4870
4906
  "onClick": onClose
4871
4907
  }, null);
4872
4908
  return vue.createVNode("span", {
4873
4909
  "style": getStyle(),
4874
- "class": bem$1p([classes, type])
4910
+ "class": bem$1q([classes, type])
4875
4911
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
4876
4912
  };
4877
4913
  return () => vue.createVNode(vue.Transition, {
@@ -4881,10 +4917,10 @@
4881
4917
  });
4882
4918
  }
4883
4919
  });
4884
- const Tag = withInstall(stdin_default$1A);
4885
- const [name$1s, bem$1o] = createNamespace("address-item");
4886
- var stdin_default$1z = vue.defineComponent({
4887
- name: name$1s,
4920
+ const Tag = withInstall(stdin_default$1B);
4921
+ const [name$1t, bem$1p] = createNamespace("address-item");
4922
+ var stdin_default$1A = vue.defineComponent({
4923
+ name: name$1t,
4888
4924
  props: {
4889
4925
  address: makeRequiredProp(Object),
4890
4926
  disabled: Boolean,
@@ -4904,7 +4940,7 @@
4904
4940
  };
4905
4941
  const renderRightIcon = () => vue.createVNode(Icon, {
4906
4942
  "name": "edit",
4907
- "class": bem$1o("edit"),
4943
+ "class": bem$1p("edit"),
4908
4944
  "onClick": (event) => {
4909
4945
  event.stopPropagation();
4910
4946
  emit("edit");
@@ -4919,7 +4955,7 @@
4919
4955
  return vue.createVNode(Tag, {
4920
4956
  "type": "danger",
4921
4957
  "round": true,
4922
- "class": bem$1o("tag")
4958
+ "class": bem$1p("tag")
4923
4959
  }, {
4924
4960
  default: () => [props2.defaultTagText]
4925
4961
  });
@@ -4932,9 +4968,9 @@
4932
4968
  switchable
4933
4969
  } = props2;
4934
4970
  const Info = [vue.createVNode("div", {
4935
- "class": bem$1o("name")
4971
+ "class": bem$1p("name")
4936
4972
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
4937
- "class": bem$1o("address")
4973
+ "class": bem$1p("address")
4938
4974
  }, [address.address])];
4939
4975
  if (switchable && !disabled) {
4940
4976
  return vue.createVNode(Radio, {
@@ -4952,13 +4988,13 @@
4952
4988
  disabled
4953
4989
  } = props2;
4954
4990
  return vue.createVNode("div", {
4955
- "class": bem$1o({
4991
+ "class": bem$1p({
4956
4992
  disabled
4957
4993
  }),
4958
4994
  "onClick": onClick
4959
4995
  }, [vue.createVNode(Cell, {
4960
4996
  "border": false,
4961
- "valueClass": bem$1o("value")
4997
+ "valueClass": bem$1p("value")
4962
4998
  }, {
4963
4999
  value: renderContent,
4964
5000
  "right-icon": renderRightIcon
@@ -4968,7 +5004,7 @@
4968
5004
  };
4969
5005
  }
4970
5006
  });
4971
- const [name$1r, bem$1n, t$g] = createNamespace("address-list");
5007
+ const [name$1s, bem$1o, t$g] = createNamespace("address-list");
4972
5008
  const addressListProps = {
4973
5009
  list: makeArrayProp(),
4974
5010
  modelValue: numericProp,
@@ -4978,8 +5014,8 @@
4978
5014
  addButtonText: String,
4979
5015
  defaultTagText: String
4980
5016
  };
4981
- var stdin_default$1y = vue.defineComponent({
4982
- name: name$1r,
5017
+ var stdin_default$1z = vue.defineComponent({
5018
+ name: name$1s,
4983
5019
  props: addressListProps,
4984
5020
  emits: ["add", "edit", "select", "click-item", "edit-disabled", "select-disabled", "update:modelValue"],
4985
5021
  setup(props2, {
@@ -4995,7 +5031,7 @@
4995
5031
  emit("update:modelValue", item.id);
4996
5032
  }
4997
5033
  };
4998
- return vue.createVNode(stdin_default$1z, {
5034
+ return vue.createVNode(stdin_default$1A, {
4999
5035
  "key": item.id,
5000
5036
  "address": item,
5001
5037
  "disabled": disabled,
@@ -5015,13 +5051,13 @@
5015
5051
  }
5016
5052
  };
5017
5053
  const renderBottom = () => vue.createVNode("div", {
5018
- "class": [bem$1n("bottom"), "van-safe-area-bottom"]
5054
+ "class": [bem$1o("bottom"), "van-safe-area-bottom"]
5019
5055
  }, [vue.createVNode(Button, {
5020
5056
  "round": true,
5021
5057
  "block": true,
5022
5058
  "type": "primary",
5023
5059
  "text": props2.addButtonText || t$g("add"),
5024
- "class": bem$1n("add"),
5060
+ "class": bem$1o("add"),
5025
5061
  "onClick": () => emit("add")
5026
5062
  }, null)]);
5027
5063
  return () => {
@@ -5029,10 +5065,10 @@
5029
5065
  const List2 = renderList(props2.list);
5030
5066
  const DisabledList = renderList(props2.disabledList, true);
5031
5067
  const DisabledText = props2.disabledText && vue.createVNode("div", {
5032
- "class": bem$1n("disabled-text")
5068
+ "class": bem$1o("disabled-text")
5033
5069
  }, [props2.disabledText]);
5034
5070
  return vue.createVNode("div", {
5035
- "class": bem$1n()
5071
+ "class": bem$1o()
5036
5072
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5037
5073
  "modelValue": props2.modelValue
5038
5074
  }, {
@@ -5041,13 +5077,13 @@
5041
5077
  };
5042
5078
  }
5043
5079
  });
5044
- const AddressList = withInstall(stdin_default$1y);
5045
- const [name$1q, bem$1m] = createNamespace("background");
5080
+ const AddressList = withInstall(stdin_default$1z);
5081
+ const [name$1r, bem$1n] = createNamespace("background");
5046
5082
  const backgroundProps = {
5047
5083
  theme: makeStringProp("default")
5048
5084
  };
5049
- var stdin_default$1x = vue.defineComponent({
5050
- name: name$1q,
5085
+ var stdin_default$1y = vue.defineComponent({
5086
+ name: name$1r,
5051
5087
  props: backgroundProps,
5052
5088
  setup(props2, {
5053
5089
  slots
@@ -5055,13 +5091,13 @@
5055
5091
  return () => {
5056
5092
  var _a;
5057
5093
  return vue.createVNode("div", {
5058
- "class": bem$1m([props2.theme])
5094
+ "class": bem$1n([props2.theme])
5059
5095
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5060
5096
  };
5061
5097
  }
5062
5098
  });
5063
- const Background = withInstall(stdin_default$1x);
5064
- const [name$1p, bem$1l] = createNamespace("blue-mark");
5099
+ const Background = withInstall(stdin_default$1y);
5100
+ const [name$1q, bem$1m] = createNamespace("blue-mark");
5065
5101
  const blueMarkProps = {
5066
5102
  size: {
5067
5103
  type: String,
@@ -5075,8 +5111,8 @@
5075
5111
  gap: numericProp,
5076
5112
  isLink: Boolean
5077
5113
  };
5078
- var stdin_default$1w = vue.defineComponent({
5079
- name: name$1p,
5114
+ var stdin_default$1x = vue.defineComponent({
5115
+ name: name$1q,
5080
5116
  props: blueMarkProps,
5081
5117
  emits: ["click"],
5082
5118
  setup(props2, {
@@ -5094,25 +5130,52 @@
5094
5130
  return () => {
5095
5131
  var _a;
5096
5132
  return vue.createVNode("span", {
5097
- "class": [name$1p, props2.size === "normal" ? "" : `${name$1p}--${props2.size}`, props2.isLink ? `${name$1p}--link` : ""],
5133
+ "class": [name$1q, props2.size === "normal" ? "" : `${name$1q}--${props2.size}`, props2.isLink ? `${name$1q}--link` : ""],
5098
5134
  "style": style.value,
5099
5135
  "onClick": props2.isLink ? (event) => emit("click", event) : void 0
5100
5136
  }, [vue.createVNode("span", {
5101
- "class": bem$1l("main")
5137
+ "class": bem$1m("main")
5102
5138
  }, [vue.createVNode("span", {
5103
- "class": bem$1l("mark")
5139
+ "class": bem$1m("mark")
5104
5140
  }, null), vue.createVNode("span", {
5105
- "class": bem$1l("content")
5106
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && vue.createVNode(stdin_default$1X, {
5141
+ "class": bem$1m("content")
5142
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && vue.createVNode(stdin_default$1Y, {
5107
5143
  "name": "arrow",
5108
- "class": bem$1l("arrow")
5144
+ "class": bem$1m("arrow")
5109
5145
  }, null)]);
5110
5146
  };
5111
5147
  }
5112
5148
  });
5149
+ const [name$1p, bem$1l] = createNamespace("divider");
5150
+ const dividerProps = {
5151
+ dashed: Boolean,
5152
+ hairline: truthProp,
5153
+ contentPosition: makeStringProp("center")
5154
+ };
5155
+ var stdin_default$1w = vue.defineComponent({
5156
+ name: name$1p,
5157
+ props: dividerProps,
5158
+ setup(props2, {
5159
+ slots
5160
+ }) {
5161
+ return () => {
5162
+ var _a;
5163
+ return vue.createVNode("div", {
5164
+ "role": "separator",
5165
+ "class": bem$1l({
5166
+ dashed: props2.dashed,
5167
+ hairline: props2.hairline,
5168
+ [`content-${props2.contentPosition}`]: !!slots.default
5169
+ })
5170
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5171
+ };
5172
+ }
5173
+ });
5174
+ const Divider = withInstall(stdin_default$1w);
5113
5175
  const [name$1o, bem$1k] = createNamespace("collapse-toggle");
5114
5176
  const collapseToggleProps = {
5115
5177
  modelValue: Boolean,
5178
+ divider: Boolean,
5116
5179
  expandText: makeStringProp("展开"),
5117
5180
  collapseText: makeStringProp("收起")
5118
5181
  };
@@ -5130,7 +5193,7 @@
5130
5193
  emit("update:modelValue", value);
5131
5194
  emit("change", value);
5132
5195
  };
5133
- return () => {
5196
+ const renderToggle = () => {
5134
5197
  var _a;
5135
5198
  const expanded = props2.modelValue;
5136
5199
  const text = expanded ? props2.collapseText : props2.expandText;
@@ -5149,6 +5212,14 @@
5149
5212
  "class": bem$1k("icon")
5150
5213
  }, null)]);
5151
5214
  };
5215
+ return () => {
5216
+ if (props2.divider) {
5217
+ return vue.createVNode("div", {
5218
+ "class": bem$1k("divider")
5219
+ }, [vue.createVNode(Divider, null, null), renderToggle(), vue.createVNode(Divider, null, null)]);
5220
+ }
5221
+ return renderToggle();
5222
+ };
5152
5223
  }
5153
5224
  });
5154
5225
  const [name$1n, bem$1j] = createNamespace("blue-mark-header");
@@ -5201,7 +5272,7 @@
5201
5272
  "onKeydown": onHeaderKeydown
5202
5273
  }, [vue.createVNode("div", {
5203
5274
  "class": bem$1j("main")
5204
- }, [vue.createVNode(stdin_default$1w, {
5275
+ }, [vue.createVNode(stdin_default$1x, {
5205
5276
  "size": props2.size,
5206
5277
  "class": bem$1j("title")
5207
5278
  }, {
@@ -5227,7 +5298,7 @@
5227
5298
  };
5228
5299
  }
5229
5300
  });
5230
- const BlueMark = withInstall(stdin_default$1w);
5301
+ const BlueMark = withInstall(stdin_default$1x);
5231
5302
  const BlueMarkHeader = withInstall(stdin_default$1u);
5232
5303
  const CollapseToggle = withInstall(stdin_default$1v);
5233
5304
  function getWindow(node) {
@@ -9139,7 +9210,7 @@
9139
9210
  }
9140
9211
  });
9141
9212
  const CellGroup = withInstall(stdin_default$1d);
9142
- const CheckboxGroup = withInstall(stdin_default$1M);
9213
+ const CheckboxGroup = withInstall(stdin_default$1N);
9143
9214
  const [name$15, bem$14] = createNamespace("nav-bar");
9144
9215
  const navBarProps = {
9145
9216
  title: String,
@@ -9872,7 +9943,7 @@
9872
9943
  }
9873
9944
  });
9874
9945
  const CollapseItem = withInstall(stdin_default$16);
9875
- const ConfigProvider = withInstall(stdin_default$1Z);
9946
+ const ConfigProvider = withInstall(stdin_default$1_);
9876
9947
  const [name$_, bem$Z, t$d] = createNamespace("contact-card");
9877
9948
  const contactCardProps = {
9878
9949
  tel: String,
@@ -11406,33 +11477,7 @@
11406
11477
  app.use(Dialog.Component);
11407
11478
  app.config.globalProperties.$dialog = Dialog;
11408
11479
  };
11409
- const [name$N, bem$O] = createNamespace("divider");
11410
- const dividerProps = {
11411
- dashed: Boolean,
11412
- hairline: truthProp,
11413
- contentPosition: makeStringProp("center")
11414
- };
11415
- var stdin_default$U = vue.defineComponent({
11416
- name: name$N,
11417
- props: dividerProps,
11418
- setup(props2, {
11419
- slots
11420
- }) {
11421
- return () => {
11422
- var _a;
11423
- return vue.createVNode("div", {
11424
- "role": "separator",
11425
- "class": bem$O({
11426
- dashed: props2.dashed,
11427
- hairline: props2.hairline,
11428
- [`content-${props2.contentPosition}`]: !!slots.default
11429
- })
11430
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
11431
- };
11432
- }
11433
- });
11434
- const Divider = withInstall(stdin_default$U);
11435
- const [name$M, bem$N] = createNamespace("dropdown-menu");
11480
+ const [name$N, bem$O] = createNamespace("dropdown-menu");
11436
11481
  const dropdownMenuProps = {
11437
11482
  overlay: truthProp,
11438
11483
  zIndex: numericProp,
@@ -11444,9 +11489,9 @@
11444
11489
  closeOnClickOutside: truthProp,
11445
11490
  closeOnClickOverlay: truthProp
11446
11491
  };
11447
- const DROPDOWN_KEY = Symbol(name$M);
11448
- var stdin_default$T = vue.defineComponent({
11449
- name: name$M,
11492
+ const DROPDOWN_KEY = Symbol(name$N);
11493
+ var stdin_default$U = vue.defineComponent({
11494
+ name: name$N,
11450
11495
  props: dropdownMenuProps,
11451
11496
  setup(props2, {
11452
11497
  slots
@@ -11518,7 +11563,7 @@
11518
11563
  "id": `${id}-${index}`,
11519
11564
  "role": "button",
11520
11565
  "tabindex": disabled ? void 0 : 0,
11521
- "class": [bem$N("item", {
11566
+ "class": [bem$O("item", {
11522
11567
  disabled
11523
11568
  }), {
11524
11569
  [HAPTICS_FEEDBACK]: !disabled
@@ -11529,7 +11574,7 @@
11529
11574
  }
11530
11575
  }
11531
11576
  }, [vue.createVNode("span", {
11532
- "class": [bem$N("title", {
11577
+ "class": [bem$O("title", {
11533
11578
  down: showPopup === (props2.direction === "down"),
11534
11579
  active: showPopup
11535
11580
  }), titleClass],
@@ -11554,18 +11599,18 @@
11554
11599
  var _a;
11555
11600
  return vue.createVNode("div", {
11556
11601
  "ref": root,
11557
- "class": bem$N()
11602
+ "class": bem$O()
11558
11603
  }, [props2.showBar && vue.createVNode("div", {
11559
11604
  "ref": barRef,
11560
11605
  "style": barStyle.value,
11561
- "class": bem$N("bar", {
11606
+ "class": bem$O("bar", {
11562
11607
  opened: opened.value
11563
11608
  })
11564
11609
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
11565
11610
  };
11566
11611
  }
11567
11612
  });
11568
- const [name$L, bem$M] = createNamespace("dropdown-item");
11613
+ const [name$M, bem$N] = createNamespace("dropdown-item");
11569
11614
  const dropdownItemProps = {
11570
11615
  title: String,
11571
11616
  options: makeArrayProp(),
@@ -11575,8 +11620,8 @@
11575
11620
  modelValue: unknownProp,
11576
11621
  titleClass: unknownProp
11577
11622
  };
11578
- var stdin_default$S = vue.defineComponent({
11579
- name: name$L,
11623
+ var stdin_default$T = vue.defineComponent({
11624
+ name: name$M,
11580
11625
  props: dropdownItemProps,
11581
11626
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
11582
11627
  setup(props2, {
@@ -11643,7 +11688,7 @@
11643
11688
  const renderIcon = () => {
11644
11689
  if (active) {
11645
11690
  return vue.createVNode(Icon, {
11646
- "class": bem$M("icon"),
11691
+ "class": bem$N("icon"),
11647
11692
  "color": activeColor,
11648
11693
  "name": "success"
11649
11694
  }, null);
@@ -11654,7 +11699,7 @@
11654
11699
  "key": option.value,
11655
11700
  "icon": option.icon,
11656
11701
  "title": option.text,
11657
- "class": bem$M("option", {
11702
+ "class": bem$N("option", {
11658
11703
  active
11659
11704
  }),
11660
11705
  "style": {
@@ -11686,13 +11731,13 @@
11686
11731
  }
11687
11732
  return vue.withDirectives(vue.createVNode("div", {
11688
11733
  "style": style,
11689
- "class": bem$M([direction]),
11734
+ "class": bem$N([direction]),
11690
11735
  "onClick": onClickWrapper
11691
11736
  }, [vue.createVNode(Popup, {
11692
11737
  "show": state.showPopup,
11693
11738
  "onUpdate:show": ($event) => state.showPopup = $event,
11694
11739
  "role": "menu",
11695
- "class": bem$M("content"),
11740
+ "class": bem$N("content"),
11696
11741
  "overlay": overlay,
11697
11742
  "position": direction === "down" ? "top" : "bottom",
11698
11743
  "duration": state.transition ? duration : 0,
@@ -11730,15 +11775,15 @@
11730
11775
  };
11731
11776
  }
11732
11777
  });
11733
- const DropdownItem = withInstall(stdin_default$S);
11734
- const DropdownMenu = withInstall(stdin_default$T);
11735
- const [name$K, bem$L] = createNamespace("sidebar");
11736
- const SIDEBAR_KEY = Symbol(name$K);
11778
+ const DropdownItem = withInstall(stdin_default$T);
11779
+ const DropdownMenu = withInstall(stdin_default$U);
11780
+ const [name$L, bem$M] = createNamespace("sidebar");
11781
+ const SIDEBAR_KEY = Symbol(name$L);
11737
11782
  const sidebarProps = {
11738
11783
  modelValue: makeNumericProp(0)
11739
11784
  };
11740
- var stdin_default$R = vue.defineComponent({
11741
- name: name$K,
11785
+ var stdin_default$S = vue.defineComponent({
11786
+ name: name$L,
11742
11787
  props: sidebarProps,
11743
11788
  emits: ["change", "update:modelValue"],
11744
11789
  setup(props2, {
@@ -11763,13 +11808,13 @@
11763
11808
  var _a;
11764
11809
  return vue.createVNode("div", {
11765
11810
  "role": "tablist",
11766
- "class": bem$L()
11811
+ "class": bem$M()
11767
11812
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
11768
11813
  };
11769
11814
  }
11770
11815
  });
11771
- const Sidebar = withInstall(stdin_default$R);
11772
- const [name$J, bem$K] = createNamespace("sidebar-item");
11816
+ const Sidebar = withInstall(stdin_default$S);
11817
+ const [name$K, bem$L] = createNamespace("sidebar-item");
11773
11818
  const sidebarItemProps = extend$1({}, routeProps, {
11774
11819
  dot: Boolean,
11775
11820
  title: String,
@@ -11777,8 +11822,8 @@
11777
11822
  disabled: Boolean,
11778
11823
  badgeProps: Object
11779
11824
  });
11780
- var stdin_default$Q = vue.defineComponent({
11781
- name: name$J,
11825
+ var stdin_default$R = vue.defineComponent({
11826
+ name: name$K,
11782
11827
  props: sidebarItemProps,
11783
11828
  emits: ["click"],
11784
11829
  setup(props2, {
@@ -11811,7 +11856,7 @@
11811
11856
  const selected = index.value === parent.getActive();
11812
11857
  return vue.createVNode("div", {
11813
11858
  "role": "tab",
11814
- "class": bem$K({
11859
+ "class": bem$L({
11815
11860
  select: selected,
11816
11861
  disabled
11817
11862
  }),
@@ -11820,7 +11865,7 @@
11820
11865
  "onClick": onClick
11821
11866
  }, [vue.createVNode(Badge, vue.mergeProps({
11822
11867
  "dot": dot,
11823
- "class": bem$K("text"),
11868
+ "class": bem$L("text"),
11824
11869
  "content": badge
11825
11870
  }, props2.badgeProps), {
11826
11871
  default: () => [slots.title ? slots.title() : title]
@@ -11828,8 +11873,8 @@
11828
11873
  };
11829
11874
  }
11830
11875
  });
11831
- const SidebarItem = withInstall(stdin_default$Q);
11832
- const [name$I, bem$J] = createNamespace("floor-select");
11876
+ const SidebarItem = withInstall(stdin_default$R);
11877
+ const [name$J, bem$K] = createNamespace("floor-select");
11833
11878
  const defaultBuildings = [{
11834
11879
  id: "building-a",
11835
11880
  text: "建筑A座",
@@ -11944,8 +11989,8 @@
11944
11989
  },
11945
11990
  more: Boolean
11946
11991
  };
11947
- var stdin_default$P = vue.defineComponent({
11948
- name: name$I,
11992
+ var stdin_default$Q = vue.defineComponent({
11993
+ name: name$J,
11949
11994
  props: floorSelectProps,
11950
11995
  emits: ["change", "update:activeBuilding", "update:modelValue"],
11951
11996
  setup(props2, {
@@ -12003,7 +12048,7 @@
12003
12048
  });
12004
12049
  return vue.createVNode("div", {
12005
12050
  "key": item.id,
12006
- "class": bem$J("cell")
12051
+ "class": bem$K("cell")
12007
12052
  }, [cell || vue.createVNode(Cell, {
12008
12053
  "title": item.text,
12009
12054
  "border": index < spaces.value.length - 1,
@@ -12015,14 +12060,14 @@
12015
12060
  }, null)]);
12016
12061
  };
12017
12062
  return () => vue.createVNode("div", {
12018
- "class": bem$J()
12063
+ "class": bem$K()
12019
12064
  }, [vue.createVNode(Tabs, {
12020
12065
  "active": activeBuilding.value,
12021
12066
  "type": "filter",
12022
12067
  "shrink": true,
12023
12068
  "more": props2.more,
12024
12069
  "showMore": showMore.value,
12025
- "class": bem$J("tabs"),
12070
+ "class": bem$K("tabs"),
12026
12071
  "onUpdate:active": selectBuilding,
12027
12072
  "onUpdate:showMore": (value) => {
12028
12073
  showMore.value = value;
@@ -12034,10 +12079,10 @@
12034
12079
  "title": building.text
12035
12080
  }, null))]
12036
12081
  }), vue.createVNode("div", {
12037
- "class": bem$J("content")
12082
+ "class": bem$K("content")
12038
12083
  }, [vue.createVNode(Sidebar, {
12039
12084
  "modelValue": activeFloor.value,
12040
- "class": bem$J("sidebar"),
12085
+ "class": bem$K("sidebar"),
12041
12086
  "onUpdate:modelValue": (value) => {
12042
12087
  activeFloor.value = +value;
12043
12088
  }
@@ -12052,19 +12097,19 @@
12052
12097
  "disabled": floor.disabled
12053
12098
  }, null))]
12054
12099
  }), vue.createVNode("div", {
12055
- "class": bem$J("cells")
12100
+ "class": bem$K("cells")
12056
12101
  }, [spaces.value.map(renderCell)])])]);
12057
12102
  }
12058
12103
  });
12059
- const FloorSelect = withInstall(stdin_default$P);
12060
- const [name$H, bem$I] = createNamespace("form-panel");
12104
+ const FloorSelect = withInstall(stdin_default$Q);
12105
+ const [name$I, bem$J] = createNamespace("form-panel");
12061
12106
  const formPanelProps = {
12062
12107
  show: Boolean,
12063
12108
  title: String,
12064
12109
  confirmText: makeStringProp("确定")
12065
12110
  };
12066
- var stdin_default$O = vue.defineComponent({
12067
- name: name$H,
12111
+ var stdin_default$P = vue.defineComponent({
12112
+ name: name$I,
12068
12113
  props: formPanelProps,
12069
12114
  emits: ["update:show", "confirm"],
12070
12115
  setup(props2, {
@@ -12078,19 +12123,19 @@
12078
12123
  };
12079
12124
  return () => vue.createVNode(ActionSheet, {
12080
12125
  "show": props2.show,
12081
- "class": bem$I(),
12126
+ "class": bem$J(),
12082
12127
  "onUpdate:show": (show) => emit("update:show", show)
12083
12128
  }, {
12084
12129
  default: () => {
12085
12130
  var _a;
12086
12131
  return [vue.createVNode("div", {
12087
- "class": bem$I("content")
12132
+ "class": bem$J("content")
12088
12133
  }, [vue.createVNode("div", {
12089
- "class": bem$I("nav-wrapper")
12134
+ "class": bem$J("nav-wrapper")
12090
12135
  }, [vue.createVNode(NavBar, {
12091
12136
  "title": props2.title,
12092
12137
  "border": false,
12093
- "class": bem$I("nav")
12138
+ "class": bem$J("nav")
12094
12139
  }, {
12095
12140
  left: () => vue.createVNode(Icon, {
12096
12141
  "name": "cross",
@@ -12098,9 +12143,9 @@
12098
12143
  "onClick": close
12099
12144
  }, null)
12100
12145
  })]), vue.createVNode("div", {
12101
- "class": bem$I("body")
12146
+ "class": bem$J("body")
12102
12147
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), vue.createVNode("div", {
12103
- "class": bem$I("footer")
12148
+ "class": bem$J("footer")
12104
12149
  }, [vue.createVNode(Button, {
12105
12150
  "block": true,
12106
12151
  "type": "primary",
@@ -12112,8 +12157,8 @@
12112
12157
  });
12113
12158
  }
12114
12159
  });
12115
- const FormPanel = withInstall(stdin_default$O);
12116
- const [name$G, bem$H] = createNamespace("friendly-tip");
12160
+ const FormPanel = withInstall(stdin_default$P);
12161
+ const [name$H, bem$I] = createNamespace("friendly-tip");
12117
12162
  const friendlyTipProps = {
12118
12163
  show: truthProp,
12119
12164
  message: String,
@@ -12130,8 +12175,8 @@
12130
12175
  default: "body"
12131
12176
  }
12132
12177
  };
12133
- var stdin_default$N = vue.defineComponent({
12134
- name: name$G,
12178
+ var stdin_default$O = vue.defineComponent({
12179
+ name: name$H,
12135
12180
  props: friendlyTipProps,
12136
12181
  emits: ["update:show"],
12137
12182
  setup(props2, {
@@ -12142,7 +12187,7 @@
12142
12187
  return () => vue.createVNode(Popover, {
12143
12188
  "show": props2.show,
12144
12189
  "trigger": "manual",
12145
- "class": bem$H("popover"),
12190
+ "class": bem$I("popover"),
12146
12191
  "placement": props2.placement,
12147
12192
  "showArrow": props2.showArrow,
12148
12193
  "iconPrefix": props2.iconPrefix,
@@ -12155,19 +12200,19 @@
12155
12200
  return (_a = slots.reference) == null ? void 0 : _a.call(slots);
12156
12201
  },
12157
12202
  default: () => vue.createVNode("div", {
12158
- "class": bem$H()
12203
+ "class": bem$I()
12159
12204
  }, [props2.icon && vue.createVNode(Icon, {
12160
12205
  "name": props2.icon,
12161
- "class": bem$H("icon"),
12206
+ "class": bem$I("icon"),
12162
12207
  "classPrefix": props2.iconPrefix
12163
12208
  }, null), vue.createVNode("span", {
12164
- "class": bem$H("message")
12209
+ "class": bem$I("message")
12165
12210
  }, [slots.default ? slots.default() : props2.message])])
12166
12211
  });
12167
12212
  }
12168
12213
  });
12169
- const FriendlyTip = withInstall(stdin_default$N);
12170
- const [name$F, bem$G] = createNamespace("grid");
12214
+ const FriendlyTip = withInstall(stdin_default$O);
12215
+ const [name$G, bem$H] = createNamespace("grid");
12171
12216
  const gridProps = {
12172
12217
  square: Boolean,
12173
12218
  center: truthProp,
@@ -12179,9 +12224,9 @@
12179
12224
  clickable: Boolean,
12180
12225
  columnNum: makeNumericProp(4)
12181
12226
  };
12182
- const GRID_KEY = Symbol(name$F);
12183
- var stdin_default$M = vue.defineComponent({
12184
- name: name$F,
12227
+ const GRID_KEY = Symbol(name$G);
12228
+ var stdin_default$N = vue.defineComponent({
12229
+ name: name$G,
12185
12230
  props: gridProps,
12186
12231
  setup(props2, {
12187
12232
  slots
@@ -12198,15 +12243,15 @@
12198
12243
  "style": {
12199
12244
  paddingLeft: addUnit(props2.gutter)
12200
12245
  },
12201
- "class": [bem$G(), {
12246
+ "class": [bem$H(), {
12202
12247
  [BORDER_TOP]: props2.border && !props2.gutter
12203
12248
  }]
12204
12249
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
12205
12250
  };
12206
12251
  }
12207
12252
  });
12208
- const Grid = withInstall(stdin_default$M);
12209
- const [name$E, bem$F] = createNamespace("grid-item");
12253
+ const Grid = withInstall(stdin_default$N);
12254
+ const [name$F, bem$G] = createNamespace("grid-item");
12210
12255
  const gridItemProps = extend$1({}, routeProps, {
12211
12256
  dot: Boolean,
12212
12257
  text: String,
@@ -12216,8 +12261,8 @@
12216
12261
  iconPrefix: String,
12217
12262
  badgeProps: Object
12218
12263
  });
12219
- var stdin_default$L = vue.defineComponent({
12220
- name: name$E,
12264
+ var stdin_default$M = vue.defineComponent({
12265
+ name: name$F,
12221
12266
  props: gridItemProps,
12222
12267
  setup(props2, {
12223
12268
  slots
@@ -12280,7 +12325,7 @@
12280
12325
  "name": props2.icon,
12281
12326
  "size": parent.props.iconSize,
12282
12327
  "badge": props2.badge,
12283
- "class": bem$F("icon"),
12328
+ "class": bem$G("icon"),
12284
12329
  "color": props2.iconColor,
12285
12330
  "badgeProps": props2.badgeProps,
12286
12331
  "classPrefix": props2.iconPrefix
@@ -12293,7 +12338,7 @@
12293
12338
  }
12294
12339
  if (props2.text) {
12295
12340
  return vue.createVNode("span", {
12296
- "class": bem$F("text")
12341
+ "class": bem$G("text")
12297
12342
  }, [props2.text]);
12298
12343
  }
12299
12344
  };
@@ -12313,7 +12358,7 @@
12313
12358
  direction,
12314
12359
  clickable
12315
12360
  } = parent.props;
12316
- const classes = [bem$F("content", [direction, {
12361
+ const classes = [bem$G("content", [direction, {
12317
12362
  center,
12318
12363
  square,
12319
12364
  reverse,
@@ -12323,7 +12368,7 @@
12323
12368
  [BORDER]: border
12324
12369
  }];
12325
12370
  return vue.createVNode("div", {
12326
- "class": [bem$F({
12371
+ "class": [bem$G({
12327
12372
  square
12328
12373
  })],
12329
12374
  "style": rootStyle.value
@@ -12337,10 +12382,10 @@
12337
12382
  };
12338
12383
  }
12339
12384
  });
12340
- const GridItem = withInstall(stdin_default$L);
12385
+ const GridItem = withInstall(stdin_default$M);
12341
12386
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
12342
- const bem$E = createNamespace("image-preview")[1];
12343
- var stdin_default$K = vue.defineComponent({
12387
+ const bem$F = createNamespace("image-preview")[1];
12388
+ var stdin_default$L = vue.defineComponent({
12344
12389
  props: {
12345
12390
  src: String,
12346
12391
  show: Boolean,
@@ -12566,19 +12611,19 @@
12566
12611
  };
12567
12612
  return vue.createVNode(SwipeItem, {
12568
12613
  "ref": swipeItem,
12569
- "class": bem$E("swipe-item"),
12614
+ "class": bem$F("swipe-item"),
12570
12615
  "onTouchstartPassive": onTouchStart,
12571
12616
  "onTouchend": onTouchEnd,
12572
12617
  "onTouchcancel": onTouchEnd
12573
12618
  }, {
12574
12619
  default: () => [slots.image ? vue.createVNode("div", {
12575
- "class": bem$E("image-wrap")
12620
+ "class": bem$F("image-wrap")
12576
12621
  }, [slots.image({
12577
12622
  src: props2.src
12578
12623
  })]) : vue.createVNode(Image$1, {
12579
12624
  "src": props2.src,
12580
12625
  "fit": "contain",
12581
- "class": bem$E("image", {
12626
+ "class": bem$F("image", {
12582
12627
  vertical: vertical.value
12583
12628
  }),
12584
12629
  "style": imageStyle.value,
@@ -12588,7 +12633,7 @@
12588
12633
  };
12589
12634
  }
12590
12635
  });
12591
- const [name$D, bem$D] = createNamespace("image-preview");
12636
+ const [name$E, bem$E] = createNamespace("image-preview");
12592
12637
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
12593
12638
  const imagePreviewProps = {
12594
12639
  show: Boolean,
@@ -12611,8 +12656,8 @@
12611
12656
  closeOnPopstate: truthProp,
12612
12657
  closeIconPosition: makeStringProp("top-right")
12613
12658
  };
12614
- var stdin_default$J = vue.defineComponent({
12615
- name: name$D,
12659
+ var stdin_default$K = vue.defineComponent({
12660
+ name: name$E,
12616
12661
  props: imagePreviewProps,
12617
12662
  emits: ["scale", "close", "closed", "change", "update:show"],
12618
12663
  setup(props2, {
@@ -12650,7 +12695,7 @@
12650
12695
  const renderIndex = () => {
12651
12696
  if (props2.showIndex) {
12652
12697
  return vue.createVNode("div", {
12653
- "class": bem$D("index")
12698
+ "class": bem$E("index")
12654
12699
  }, [slots.index ? slots.index({
12655
12700
  index: state.active
12656
12701
  }) : `${state.active + 1} / ${props2.images.length}`]);
@@ -12659,7 +12704,7 @@
12659
12704
  const renderCover = () => {
12660
12705
  if (slots.cover) {
12661
12706
  return vue.createVNode("div", {
12662
- "class": bem$D("cover")
12707
+ "class": bem$E("cover")
12663
12708
  }, [slots.cover()]);
12664
12709
  }
12665
12710
  };
@@ -12667,14 +12712,14 @@
12667
12712
  "ref": swipeRef,
12668
12713
  "lazyRender": true,
12669
12714
  "loop": props2.loop,
12670
- "class": bem$D("swipe"),
12715
+ "class": bem$E("swipe"),
12671
12716
  "duration": props2.swipeDuration,
12672
12717
  "initialSwipe": props2.startPosition,
12673
12718
  "showIndicators": props2.showIndicators,
12674
12719
  "indicatorColor": "white",
12675
12720
  "onChange": setActive
12676
12721
  }, {
12677
- default: () => [props2.images.map((image) => vue.createVNode(stdin_default$K, {
12722
+ default: () => [props2.images.map((image) => vue.createVNode(stdin_default$L, {
12678
12723
  "src": image,
12679
12724
  "show": props2.show,
12680
12725
  "active": state.active,
@@ -12693,7 +12738,7 @@
12693
12738
  return vue.createVNode(Icon, {
12694
12739
  "role": "button",
12695
12740
  "name": props2.closeIcon,
12696
- "class": [bem$D("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
12741
+ "class": [bem$E("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
12697
12742
  "onClick": emitClose
12698
12743
  }, null);
12699
12744
  }
@@ -12730,8 +12775,8 @@
12730
12775
  }
12731
12776
  });
12732
12777
  return () => vue.createVNode(Popup, vue.mergeProps({
12733
- "class": [bem$D(), props2.className],
12734
- "overlayClass": [bem$D("overlay"), props2.overlayClass],
12778
+ "class": [bem$E(), props2.className],
12779
+ "overlayClass": [bem$E("overlay"), props2.overlayClass],
12735
12780
  "onClosed": onClosed,
12736
12781
  "onUpdate:show": updateShow
12737
12782
  }, pick(props2, popupProps$1)), {
@@ -12775,7 +12820,7 @@
12775
12820
  const onClosed = () => {
12776
12821
  state.images = [];
12777
12822
  };
12778
- return () => vue.createVNode(stdin_default$J, vue.mergeProps(state, {
12823
+ return () => vue.createVNode(stdin_default$K, vue.mergeProps(state, {
12779
12824
  "onClosed": onClosed,
12780
12825
  "onUpdate:show": toggle
12781
12826
  }), null);
@@ -12796,7 +12841,7 @@
12796
12841
  instance$2.open(extend$1({}, defaultConfig$1, options));
12797
12842
  return instance$2;
12798
12843
  };
12799
- ImagePreview.Component = withInstall(stdin_default$J);
12844
+ ImagePreview.Component = withInstall(stdin_default$K);
12800
12845
  ImagePreview.install = (app) => {
12801
12846
  app.use(ImagePreview.Component);
12802
12847
  };
@@ -12805,7 +12850,7 @@
12805
12850
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
12806
12851
  return indexList;
12807
12852
  }
12808
- const [name$C, bem$C] = createNamespace("index-bar");
12853
+ const [name$D, bem$D] = createNamespace("index-bar");
12809
12854
  const indexBarProps = {
12810
12855
  sticky: truthProp,
12811
12856
  zIndex: numericProp,
@@ -12817,9 +12862,9 @@
12817
12862
  default: genAlphabet
12818
12863
  }
12819
12864
  };
12820
- const INDEX_BAR_KEY = Symbol(name$C);
12821
- var stdin_default$I = vue.defineComponent({
12822
- name: name$C,
12865
+ const INDEX_BAR_KEY = Symbol(name$D);
12866
+ var stdin_default$J = vue.defineComponent({
12867
+ name: name$D,
12823
12868
  props: indexBarProps,
12824
12869
  emits: ["select", "change"],
12825
12870
  setup(props2, {
@@ -12931,7 +12976,7 @@
12931
12976
  const renderIndexes = () => props2.indexList.map((index) => {
12932
12977
  const active = index === activeAnchor.value;
12933
12978
  return vue.createVNode("span", {
12934
- "class": bem$C("index", {
12979
+ "class": bem$D("index", {
12935
12980
  active
12936
12981
  }),
12937
12982
  "style": active ? highlightStyle.value : void 0,
@@ -12992,7 +13037,7 @@
12992
13037
  };
12993
13038
  const renderSidebar = () => vue.createVNode("div", {
12994
13039
  "ref": sidebar,
12995
- "class": bem$C("sidebar"),
13040
+ "class": bem$D("sidebar"),
12996
13041
  "style": sidebarStyle.value,
12997
13042
  "onClick": onClickSidebar,
12998
13043
  "onTouchstartPassive": touch.start
@@ -13008,7 +13053,7 @@
13008
13053
  var _a;
13009
13054
  return vue.createVNode("div", {
13010
13055
  "ref": root,
13011
- "class": bem$C()
13056
+ "class": bem$D()
13012
13057
  }, [props2.teleport ? vue.createVNode(vue.Teleport, {
13013
13058
  "to": props2.teleport
13014
13059
  }, {
@@ -13017,12 +13062,12 @@
13017
13062
  };
13018
13063
  }
13019
13064
  });
13020
- const [name$B, bem$B] = createNamespace("index-anchor");
13065
+ const [name$C, bem$C] = createNamespace("index-anchor");
13021
13066
  const indexAnchorProps = {
13022
13067
  index: numericProp
13023
13068
  };
13024
- var stdin_default$H = vue.defineComponent({
13025
- name: name$B,
13069
+ var stdin_default$I = vue.defineComponent({
13070
+ name: name$C,
13026
13071
  props: indexAnchorProps,
13027
13072
  setup(props2, {
13028
13073
  slots
@@ -13082,7 +13127,7 @@
13082
13127
  }
13083
13128
  }, [vue.createVNode("div", {
13084
13129
  "style": anchorStyle.value,
13085
- "class": [bem$B({
13130
+ "class": [bem$C({
13086
13131
  sticky
13087
13132
  }), {
13088
13133
  [BORDER_BOTTOM]: sticky
@@ -13091,15 +13136,16 @@
13091
13136
  };
13092
13137
  }
13093
13138
  });
13094
- const IndexAnchor = withInstall(stdin_default$H);
13095
- const IndexBar = withInstall(stdin_default$I);
13096
- const [name$A, bem$A] = createNamespace("label");
13139
+ const IndexAnchor = withInstall(stdin_default$I);
13140
+ const IndexBar = withInstall(stdin_default$J);
13141
+ const [name$B, bem$B] = createNamespace("label");
13097
13142
  const labelProps = {
13098
13143
  label: makeStringProp(""),
13099
13144
  content: makeStringProp(""),
13100
13145
  type: makeStringProp("default"),
13101
13146
  vertical: Boolean,
13102
13147
  href: String,
13148
+ location: String,
13103
13149
  tags: {
13104
13150
  type: Array,
13105
13151
  default: () => []
@@ -13109,8 +13155,8 @@
13109
13155
  default: () => []
13110
13156
  }
13111
13157
  };
13112
- var stdin_default$G = vue.defineComponent({
13113
- name: name$A,
13158
+ var stdin_default$H = vue.defineComponent({
13159
+ name: name$B,
13114
13160
  props: labelProps,
13115
13161
  emits: ["click", "click-media"],
13116
13162
  setup(props2, {
@@ -13118,26 +13164,27 @@
13118
13164
  emit
13119
13165
  }) {
13120
13166
  const vertical = vue.computed(() => props2.vertical || props2.type === "media");
13167
+ const showLocation = vue.computed(() => props2.vertical && (props2.type === "bold" || props2.type === "link") && !!props2.location);
13121
13168
  const renderText = () => {
13122
13169
  var _a;
13123
13170
  const content = ((_a = slots.default) == null ? void 0 : _a.call(slots)) || props2.content;
13124
13171
  if (props2.type === "link") {
13125
13172
  return props2.href ? vue.createVNode("a", {
13126
- "class": bem$A("link"),
13173
+ "class": bem$B("link"),
13127
13174
  "href": props2.href,
13128
13175
  "onClick": (event) => emit("click", event)
13129
13176
  }, [content]) : vue.createVNode("button", {
13130
- "class": bem$A("link"),
13177
+ "class": bem$B("link"),
13131
13178
  "type": "button",
13132
13179
  "onClick": (event) => emit("click", event)
13133
13180
  }, [content]);
13134
13181
  }
13135
13182
  return vue.createVNode("span", {
13136
- "class": bem$A("text")
13183
+ "class": bem$B("text")
13137
13184
  }, [content]);
13138
13185
  };
13139
13186
  const renderTags = () => vue.createVNode("div", {
13140
- "class": bem$A("tags")
13187
+ "class": bem$B("tags")
13141
13188
  }, [props2.tags.map((tag) => vue.createVNode(Tag, {
13142
13189
  "key": tag,
13143
13190
  "type": "gray"
@@ -13145,10 +13192,10 @@
13145
13192
  default: () => [tag]
13146
13193
  }))]);
13147
13194
  const renderMedia = () => vue.createVNode("div", {
13148
- "class": bem$A("media")
13195
+ "class": bem$B("media")
13149
13196
  }, [props2.media.map((item, index) => vue.createVNode("button", {
13150
13197
  "key": `${item.url}-${index}`,
13151
- "class": bem$A("media-item"),
13198
+ "class": bem$B("media-item"),
13152
13199
  "type": "button",
13153
13200
  "onClick": (event) => emit("click-media", item, index, event)
13154
13201
  }, [vue.createVNode(Image$1, {
@@ -13160,7 +13207,7 @@
13160
13207
  "fit": "cover"
13161
13208
  }, null), item.type === "video" && vue.createVNode(Icon, {
13162
13209
  "name": "play-circle-o",
13163
- "class": bem$A("play")
13210
+ "class": bem$B("play")
13164
13211
  }, null)]))]);
13165
13212
  const renderContent = () => {
13166
13213
  if (props2.type === "tag")
@@ -13170,17 +13217,99 @@
13170
13217
  return renderText();
13171
13218
  };
13172
13219
  return () => vue.createVNode("div", {
13173
- "class": bem$A([props2.type, {
13174
- vertical: vertical.value
13220
+ "class": bem$B([props2.type, {
13221
+ vertical: vertical.value,
13222
+ location: showLocation.value
13175
13223
  }])
13176
13224
  }, [vue.createVNode("span", {
13177
- "class": bem$A("label")
13225
+ "class": bem$B("label")
13178
13226
  }, [props2.label]), vue.createVNode("div", {
13179
- "class": bem$A("value")
13180
- }, [renderContent()])]);
13227
+ "class": bem$B("value")
13228
+ }, [renderContent(), showLocation.value && vue.createVNode("div", {
13229
+ "class": bem$B("location")
13230
+ }, [vue.createVNode(Icon, {
13231
+ "name": "location-o"
13232
+ }, null), vue.createVNode("span", null, [props2.location])])])]);
13233
+ }
13234
+ });
13235
+ const Label = withInstall(stdin_default$H);
13236
+ const [name$A, bem$A] = createNamespace("info-card");
13237
+ const infoCardProps = {
13238
+ title: makeStringProp(""),
13239
+ showTitle: truthProp,
13240
+ fields: {
13241
+ type: Array,
13242
+ default: () => []
13243
+ },
13244
+ extraFields: {
13245
+ type: Array,
13246
+ default: () => []
13247
+ },
13248
+ modelValue: Boolean,
13249
+ collapsible: Boolean,
13250
+ showCollapse: truthProp,
13251
+ divider: Boolean,
13252
+ expandText: makeStringProp("查看更多"),
13253
+ collapseText: makeStringProp("收起")
13254
+ };
13255
+ var stdin_default$G = vue.defineComponent({
13256
+ name: name$A,
13257
+ props: infoCardProps,
13258
+ emits: ["update:modelValue", "change", "click", "click-media"],
13259
+ setup(props2, {
13260
+ slots,
13261
+ emit
13262
+ }) {
13263
+ const visibleFields = vue.computed(() => props2.fields.filter((field) => field.visible !== false));
13264
+ const visibleExtraFields = vue.computed(() => props2.extraFields.filter((field) => field.visible !== false));
13265
+ const hasExtra = vue.computed(() => visibleExtraFields.value.length > 0 || !!slots.extra);
13266
+ const showCollapse = vue.computed(() => props2.collapsible && props2.showCollapse);
13267
+ const showExtra = vue.computed(() => !showCollapse.value || props2.modelValue);
13268
+ const renderField = (field, index) => vue.createVNode(Label, {
13269
+ "key": `${field.label}-${index}`,
13270
+ "label": field.label,
13271
+ "content": field.content,
13272
+ "type": field.type,
13273
+ "vertical": field.vertical,
13274
+ "href": field.href,
13275
+ "tags": field.tags,
13276
+ "media": field.media,
13277
+ "onClick": (event) => emit("click", field, index, event),
13278
+ "onClick-media": (item, mediaIndex, event) => emit("click-media", item, mediaIndex, field, index, event)
13279
+ }, null);
13280
+ const renderExtra = () => {
13281
+ var _a;
13282
+ if (!hasExtra.value)
13283
+ return;
13284
+ const extraSlot = (_a = slots.extra) == null ? void 0 : _a.call(slots);
13285
+ return vue.createVNode(vue.Transition, {
13286
+ "name": "van-info-card-expand"
13287
+ }, {
13288
+ default: () => [showExtra.value && vue.createVNode("div", {
13289
+ "class": bem$A("extra")
13290
+ }, [visibleExtraFields.value.map(renderField), extraSlot])]
13291
+ });
13292
+ };
13293
+ return () => {
13294
+ var _a, _b;
13295
+ return vue.createVNode("section", {
13296
+ "class": bem$A()
13297
+ }, [props2.showTitle && (slots.title || props2.title) && vue.createVNode("div", {
13298
+ "class": bem$A("title")
13299
+ }, [((_a = slots.title) == null ? void 0 : _a.call(slots)) || props2.title]), visibleFields.value.map(renderField), (_b = slots.default) == null ? void 0 : _b.call(slots), hasExtra.value && showCollapse.value && vue.createVNode(CollapseToggle, {
13300
+ "modelValue": props2.modelValue,
13301
+ "divider": true,
13302
+ "expandText": props2.expandText,
13303
+ "collapseText": props2.collapseText,
13304
+ "onUpdate:modelValue": (value) => emit("update:modelValue", value),
13305
+ "onChange": (value) => emit("change", value)
13306
+ }, null), hasExtra.value && !showCollapse.value && props2.divider && vue.createVNode(Divider, {
13307
+ "class": bem$A("divider")
13308
+ }, null), renderExtra()]);
13309
+ };
13181
13310
  }
13182
13311
  });
13183
- const Label = withInstall(stdin_default$G);
13312
+ const InfoCard = withInstall(stdin_default$G);
13184
13313
  const [name$z, bem$z, t$6] = createNamespace("list");
13185
13314
  const listProps = {
13186
13315
  error: Boolean,
@@ -23259,7 +23388,7 @@
23259
23388
  });
23260
23389
  }
23261
23390
  };
23262
- const version = "0.0.28";
23391
+ const version = "0.0.30";
23263
23392
  function install(app) {
23264
23393
  const components = [
23265
23394
  ActionBar,
@@ -23313,6 +23442,7 @@
23313
23442
  ImagePreview,
23314
23443
  IndexAnchor,
23315
23444
  IndexBar,
23445
+ InfoCard,
23316
23446
  Label,
23317
23447
  List,
23318
23448
  Loading,
@@ -23434,6 +23564,7 @@
23434
23564
  exports2.ImagePreview = ImagePreview;
23435
23565
  exports2.IndexAnchor = IndexAnchor;
23436
23566
  exports2.IndexBar = IndexBar;
23567
+ exports2.InfoCard = InfoCard;
23437
23568
  exports2.Label = Label;
23438
23569
  exports2.Lazyload = Lazyload;
23439
23570
  exports2.List = List;