zartui 3.1.11 → 3.1.12

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 (54) hide show
  1. package/README.md +23 -23
  2. package/es/composables/use-touch.d.ts +1 -0
  3. package/es/composables/use-touch.mjs +8 -1
  4. package/es/config-provider/types.d.ts +1 -1
  5. package/es/floating-bubble/FloatingBubble.d.ts +81 -0
  6. package/es/floating-bubble/FloatingBubble.mjs +181 -0
  7. package/es/floating-bubble/index.css +1 -0
  8. package/es/floating-bubble/index.d.ts +63 -0
  9. package/es/floating-bubble/index.mjs +10 -0
  10. package/es/floating-bubble/style/index.d.ts +1 -0
  11. package/es/floating-bubble/style/index.mjs +4 -0
  12. package/es/floating-bubble/types.d.ts +20 -0
  13. package/es/floating-bubble/types.mjs +0 -0
  14. package/es/index.d.ts +2 -1
  15. package/es/index.mjs +4 -1
  16. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  17. package/es/utils/closest.d.ts +1 -0
  18. package/es/utils/closest.mjs +8 -0
  19. package/es/utils/constant.d.ts +1 -0
  20. package/es/utils/constant.mjs +3 -1
  21. package/es/utils/index.d.ts +1 -0
  22. package/es/utils/index.mjs +1 -0
  23. package/es/vue-sfc-shim.d.ts +6 -6
  24. package/es/vue-tsx-shim.d.ts +23 -23
  25. package/lib/composables/use-touch.d.ts +1 -0
  26. package/lib/composables/use-touch.js +8 -1
  27. package/lib/config-provider/types.d.ts +1 -1
  28. package/lib/floating-bubble/FloatingBubble.d.ts +81 -0
  29. package/lib/floating-bubble/FloatingBubble.js +210 -0
  30. package/lib/floating-bubble/index.css +1 -0
  31. package/lib/floating-bubble/index.d.ts +63 -0
  32. package/lib/floating-bubble/index.js +39 -0
  33. package/lib/floating-bubble/style/index.d.ts +1 -0
  34. package/lib/floating-bubble/style/index.js +4 -0
  35. package/lib/floating-bubble/types.d.ts +20 -0
  36. package/lib/floating-bubble/types.js +15 -0
  37. package/lib/index.css +1 -1
  38. package/lib/index.d.ts +2 -1
  39. package/lib/index.js +4 -1
  40. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  41. package/lib/utils/closest.d.ts +1 -0
  42. package/lib/utils/closest.js +27 -0
  43. package/lib/utils/constant.d.ts +1 -0
  44. package/lib/utils/constant.js +3 -1
  45. package/lib/utils/index.d.ts +1 -0
  46. package/lib/utils/index.js +1 -0
  47. package/lib/vue-sfc-shim.d.ts +6 -6
  48. package/lib/vue-tsx-shim.d.ts +23 -23
  49. package/lib/web-types.json +1 -1
  50. package/lib/zartui.cjs.js +644 -457
  51. package/lib/zartui.es.js +644 -457
  52. package/lib/zartui.js +644 -457
  53. package/lib/zartui.min.js +1 -1
  54. package/package.json +3 -3
package/lib/zartui.cjs.js CHANGED
@@ -250,7 +250,7 @@ function deepAssign(to, from) {
250
250
  });
251
251
  return to;
252
252
  }
253
- var stdin_default$1R = {
253
+ var stdin_default$1S = {
254
254
  name: "姓名",
255
255
  tel: "电话",
256
256
  save: "保存",
@@ -297,7 +297,7 @@ var stdin_default$1R = {
297
297
  };
298
298
  const lang = vue.ref("zh-CN");
299
299
  const messages = vue.reactive({
300
- "zh-CN": stdin_default$1R
300
+ "zh-CN": stdin_default$1S
301
301
  });
302
302
  const Locale = {
303
303
  messages() {
@@ -311,11 +311,11 @@ const Locale = {
311
311
  deepAssign(messages, newMessages);
312
312
  }
313
313
  };
314
- var stdin_default$1Q = Locale;
314
+ var stdin_default$1R = Locale;
315
315
  function createTranslate(name2) {
316
316
  const prefix = camelize(name2) + ".";
317
317
  return (path, ...args) => {
318
- const messages2 = stdin_default$1Q.messages();
318
+ const messages2 = stdin_default$1R.messages();
319
319
  const message = get(messages2, prefix + path) || get(messages2, path);
320
320
  return isFunction(message) ? message(...args) : message;
321
321
  };
@@ -366,6 +366,7 @@ const HAPTICS_FEEDBACK = "zt-haptics-feedback";
366
366
  const ELLIPSIS = "zt-ellipsis";
367
367
  const FORM_KEY = Symbol("zt-form");
368
368
  const LONG_PRESS_START_TIME = 500;
369
+ const TAP_OFFSET = 5;
369
370
  function callInterceptor(interceptor, {
370
371
  args = [],
371
372
  done,
@@ -401,7 +402,12 @@ function withInstall(options) {
401
402
  };
402
403
  return options;
403
404
  }
404
- const [name$1l, bem$1h] = createNamespace("badge");
405
+ function closest(arr, target) {
406
+ return arr.reduce(
407
+ (pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur
408
+ );
409
+ }
410
+ const [name$1m, bem$1i] = createNamespace("badge");
405
411
  const badgeProps = {
406
412
  dot: Boolean,
407
413
  max: numericProp,
@@ -414,8 +420,8 @@ const badgeProps = {
414
420
  badgeClass: String,
415
421
  position: makeStringProp("top-right")
416
422
  };
417
- var stdin_default$1P = vue.defineComponent({
418
- name: name$1l,
423
+ var stdin_default$1Q = vue.defineComponent({
424
+ name: name$1m,
419
425
  props: badgeProps,
420
426
  setup(props, {
421
427
  slots
@@ -442,11 +448,11 @@ var stdin_default$1P = vue.defineComponent({
442
448
  }
443
449
  if (isDef(max) && isNumeric(content) && +content > +max) {
444
450
  return vue.createVNode("p", {
445
- "class": [bem$1h("wrapper", "badge-num")]
451
+ "class": [bem$1i("wrapper", "badge-num")]
446
452
  }, [`${max}+`]);
447
453
  }
448
454
  return vue.createVNode("p", {
449
- "class": [bem$1h("wrapper", "badge-num")]
455
+ "class": [bem$1i("wrapper", "badge-num")]
450
456
  }, [content]);
451
457
  }
452
458
  };
@@ -474,7 +480,7 @@ var stdin_default$1P = vue.defineComponent({
474
480
  const renderBadge = () => {
475
481
  if (hasContent() || props.dot) {
476
482
  return vue.createVNode("div", {
477
- "class": [bem$1h([props.position, {
483
+ "class": [bem$1i([props.position, {
478
484
  dot: props.dot,
479
485
  fixed: !!slots.default
480
486
  }]), props.badgeClass],
@@ -488,7 +494,7 @@ var stdin_default$1P = vue.defineComponent({
488
494
  tag
489
495
  } = props;
490
496
  return vue.createVNode(tag, {
491
- "class": bem$1h("wrapper")
497
+ "class": bem$1i("wrapper")
492
498
  }, {
493
499
  default: () => [slots.default(), renderBadge()]
494
500
  });
@@ -497,14 +503,14 @@ var stdin_default$1P = vue.defineComponent({
497
503
  };
498
504
  }
499
505
  });
500
- const Badge = withInstall(stdin_default$1P);
506
+ const Badge = withInstall(stdin_default$1Q);
501
507
  let globalZIndex = 2e3;
502
508
  const useGlobalZIndex = () => ++globalZIndex;
503
509
  const setGlobalZIndex = (val) => {
504
510
  globalZIndex = val;
505
511
  };
506
- const [name$1k, bem$1g] = createNamespace("config-provider");
507
- const CONFIG_PROVIDER_KEY = Symbol(name$1k);
512
+ const [name$1l, bem$1h] = createNamespace("config-provider");
513
+ const CONFIG_PROVIDER_KEY = Symbol(name$1l);
508
514
  const configProviderProps = {
509
515
  tag: makeStringProp("div"),
510
516
  theme: makeStringProp("light"),
@@ -538,8 +544,8 @@ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
538
544
  }
539
545
  });
540
546
  }
541
- var stdin_default$1O = vue.defineComponent({
542
- name: name$1k,
547
+ var stdin_default$1P = vue.defineComponent({
548
+ name: name$1l,
543
549
  props: configProviderProps,
544
550
  setup(props, {
545
551
  slots
@@ -587,7 +593,7 @@ var stdin_default$1O = vue.defineComponent({
587
593
  }
588
594
  });
589
595
  return () => vue.createVNode(props.tag, {
590
- "class": bem$1g(),
596
+ "class": bem$1h(),
591
597
  "style": props.themeVarsScope === "local" ? style.value : void 0
592
598
  }, {
593
599
  default: () => {
@@ -597,7 +603,7 @@ var stdin_default$1O = vue.defineComponent({
597
603
  });
598
604
  }
599
605
  });
600
- const [name$1j, bem$1f] = createNamespace("icon");
606
+ const [name$1k, bem$1g] = createNamespace("icon");
601
607
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
602
608
  const iconProps = {
603
609
  dot: Boolean,
@@ -609,14 +615,14 @@ const iconProps = {
609
615
  badgeProps: Object,
610
616
  classPrefix: String
611
617
  };
612
- var stdin_default$1N = vue.defineComponent({
613
- name: name$1j,
618
+ var stdin_default$1O = vue.defineComponent({
619
+ name: name$1k,
614
620
  props: iconProps,
615
621
  setup(props, {
616
622
  slots
617
623
  }) {
618
624
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
619
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1f());
625
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1g());
620
626
  return () => {
621
627
  const {
622
628
  tag,
@@ -640,7 +646,7 @@ var stdin_default$1N = vue.defineComponent({
640
646
  default: () => {
641
647
  var _a;
642
648
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
643
- "class": bem$1f("image"),
649
+ "class": bem$1g("image"),
644
650
  "src": name2
645
651
  }, null)];
646
652
  }
@@ -648,8 +654,8 @@ var stdin_default$1N = vue.defineComponent({
648
654
  };
649
655
  }
650
656
  });
651
- const Icon = withInstall(stdin_default$1N);
652
- var stdin_default$1M = Icon;
657
+ const Icon = withInstall(stdin_default$1O);
658
+ var stdin_default$1N = Icon;
653
659
  const popupSharedProps = {
654
660
  // whether to show popup
655
661
  show: Boolean,
@@ -702,6 +708,7 @@ function useTouch() {
702
708
  const offsetX = vue.ref(0);
703
709
  const offsetY = vue.ref(0);
704
710
  const direction = vue.ref("");
711
+ const isTap = vue.ref(true);
705
712
  const isVertical = () => direction.value === "vertical";
706
713
  const isHorizontal = () => direction.value === "horizontal";
707
714
  const reset = () => {
@@ -710,6 +717,7 @@ function useTouch() {
710
717
  offsetX.value = 0;
711
718
  offsetY.value = 0;
712
719
  direction.value = "";
720
+ isTap.value = true;
713
721
  };
714
722
  const start = (event) => {
715
723
  reset();
@@ -726,6 +734,9 @@ function useTouch() {
726
734
  if (!direction.value || offsetX.value < LOCK_DIRECTION_DISTANCE && offsetY.value < LOCK_DIRECTION_DISTANCE) {
727
735
  direction.value = getDirection(offsetX.value, offsetY.value);
728
736
  }
737
+ if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
738
+ isTap.value = false;
739
+ }
729
740
  };
730
741
  return {
731
742
  move,
@@ -739,7 +750,8 @@ function useTouch() {
739
750
  offsetY,
740
751
  direction,
741
752
  isVertical,
742
- isHorizontal
753
+ isHorizontal,
754
+ isTap
743
755
  };
744
756
  }
745
757
  let totalLockCount = 0;
@@ -820,7 +832,7 @@ const useScopeId = () => {
820
832
  const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
821
833
  return scopeId ? { [scopeId]: "" } : null;
822
834
  };
823
- const [name$1i, bem$1e] = createNamespace("overlay");
835
+ const [name$1j, bem$1f] = createNamespace("overlay");
824
836
  const overlayProps = {
825
837
  show: Boolean,
826
838
  zIndex: numericProp,
@@ -830,8 +842,8 @@ const overlayProps = {
830
842
  lazyRender: truthProp,
831
843
  customStyle: Object
832
844
  };
833
- var stdin_default$1L = vue.defineComponent({
834
- name: name$1i,
845
+ var stdin_default$1M = vue.defineComponent({
846
+ name: name$1j,
835
847
  props: overlayProps,
836
848
  setup(props, {
837
849
  slots
@@ -848,7 +860,7 @@ var stdin_default$1L = vue.defineComponent({
848
860
  }
849
861
  return vue.withDirectives(vue.createVNode("div", {
850
862
  "style": style,
851
- "class": [bem$1e(), props.className],
863
+ "class": [bem$1f(), props.className],
852
864
  "onTouchmove": props.lockScroll ? preventTouchMove : noop
853
865
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
854
866
  });
@@ -860,7 +872,7 @@ var stdin_default$1L = vue.defineComponent({
860
872
  });
861
873
  }
862
874
  });
863
- const Overlay = withInstall(stdin_default$1L);
875
+ const Overlay = withInstall(stdin_default$1M);
864
876
  const popupProps$2 = extend({}, popupSharedProps, {
865
877
  round: Boolean,
866
878
  position: makeStringProp("center"),
@@ -878,9 +890,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
878
890
  maxDragHeight: makeStringProp("85vh"),
879
891
  slideable: Boolean
880
892
  });
881
- const [name$1h, bem$1d] = createNamespace("popup");
882
- var stdin_default$1K = vue.defineComponent({
883
- name: name$1h,
893
+ const [name$1i, bem$1e] = createNamespace("popup");
894
+ var stdin_default$1L = vue.defineComponent({
895
+ name: name$1i,
884
896
  inheritAttrs: false,
885
897
  props: popupProps$2,
886
898
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -996,7 +1008,7 @@ var stdin_default$1K = vue.defineComponent({
996
1008
  "role": "button",
997
1009
  "tabindex": 0,
998
1010
  "name": props.closeIcon,
999
- "class": [bem$1d("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1011
+ "class": [bem$1e("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1000
1012
  "classPrefix": props.iconPrefix,
1001
1013
  "onClick": onClickCloseIcon
1002
1014
  }, null);
@@ -1016,7 +1028,7 @@ var stdin_default$1K = vue.defineComponent({
1016
1028
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1017
1029
  "ref": popupRef,
1018
1030
  "style": style.value,
1019
- "class": [bem$1d({
1031
+ "class": [bem$1e({
1020
1032
  round,
1021
1033
  [position]: position
1022
1034
  }), {
@@ -1029,18 +1041,18 @@ var stdin_default$1K = vue.defineComponent({
1029
1041
  const sliderRenderPopup = lazyRender(() => {
1030
1042
  var _a, _b;
1031
1043
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1032
- "class": bem$1d("slider"),
1044
+ "class": bem$1e("slider"),
1033
1045
  "ref": popupRef,
1034
1046
  "style": style.value,
1035
1047
  "onKeydown": onKeydown
1036
1048
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), vue.createVNode("div", {
1037
- "class": bem$1d("slider-title"),
1049
+ "class": bem$1e("slider-title"),
1038
1050
  "style": `height:${touchAreaHeight}px;`,
1039
1051
  "ref": root
1040
1052
  }, [vue.createVNode("div", {
1041
- "class": bem$1d("slider-bar")
1053
+ "class": bem$1e("slider-bar")
1042
1054
  }, null)]), vue.createVNode("div", {
1043
- "class": bem$1d("slider-content"),
1055
+ "class": bem$1e("slider-content"),
1044
1056
  "style": contentStyle.value
1045
1057
  }, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[vue.vShow, props.show]]);
1046
1058
  });
@@ -1134,9 +1146,9 @@ var stdin_default$1K = vue.defineComponent({
1134
1146
  };
1135
1147
  }
1136
1148
  });
1137
- const Popup = withInstall(stdin_default$1K);
1138
- var stdin_default$1J = Popup;
1139
- const [name$1g, bem$1c] = createNamespace("loading");
1149
+ const Popup = withInstall(stdin_default$1L);
1150
+ var stdin_default$1K = Popup;
1151
+ const [name$1h, bem$1d] = createNamespace("loading");
1140
1152
  const loadingProps = {
1141
1153
  size: numericProp,
1142
1154
  type: makeStringProp("snake"),
@@ -1149,12 +1161,12 @@ let svgElementId = 0;
1149
1161
  const LoadingIcon = (props) => {
1150
1162
  if (props.type === "spinner") {
1151
1163
  return Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1152
- "class": bem$1c("line", String(index + 1))
1164
+ "class": bem$1d("line", String(index + 1))
1153
1165
  }, null));
1154
1166
  }
1155
1167
  if (props.type === "circular") {
1156
1168
  return vue.createVNode("svg", {
1157
- "class": bem$1c("circular"),
1169
+ "class": bem$1d("circular"),
1158
1170
  "viewBox": "25 25 50 50"
1159
1171
  }, [vue.createVNode("circle", {
1160
1172
  "cx": "50",
@@ -1166,7 +1178,7 @@ const LoadingIcon = (props) => {
1166
1178
  const firstHalfId = svgElementId++;
1167
1179
  const secondHalfId = svgElementId++;
1168
1180
  return vue.createVNode("svg", {
1169
- "class": bem$1c("snake"),
1181
+ "class": bem$1d("snake"),
1170
1182
  "width": "200",
1171
1183
  "height": "200",
1172
1184
  "viewBox": "0 0 200 200",
@@ -1205,8 +1217,8 @@ const LoadingIcon = (props) => {
1205
1217
  "d": "M 9 100 A 91 91 0 0 1 9 100"
1206
1218
  }, null)])]);
1207
1219
  };
1208
- var stdin_default$1I = vue.defineComponent({
1209
- name: name$1g,
1220
+ var stdin_default$1J = vue.defineComponent({
1221
+ name: name$1h,
1210
1222
  props: loadingProps,
1211
1223
  setup(props, {
1212
1224
  slots
@@ -1218,7 +1230,7 @@ var stdin_default$1I = vue.defineComponent({
1218
1230
  var _a;
1219
1231
  if (slots.default) {
1220
1232
  return vue.createVNode("span", {
1221
- "class": bem$1c("text"),
1233
+ "class": bem$1d("text"),
1222
1234
  "style": {
1223
1235
  fontSize: addUnit(props.textSize),
1224
1236
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1232,21 +1244,21 @@ var stdin_default$1I = vue.defineComponent({
1232
1244
  vertical
1233
1245
  } = props;
1234
1246
  return vue.createVNode("div", {
1235
- "class": bem$1c([type, {
1247
+ "class": bem$1d([type, {
1236
1248
  vertical
1237
1249
  }]),
1238
1250
  "aria-live": "polite",
1239
1251
  "aria-busy": true
1240
1252
  }, [vue.createVNode("span", {
1241
- "class": bem$1c("spinner", type),
1253
+ "class": bem$1d("spinner", type),
1242
1254
  "style": spinnerStyle.value
1243
1255
  }, [LoadingIcon(props)]), renderText()]);
1244
1256
  };
1245
1257
  }
1246
1258
  });
1247
- const Loading = withInstall(stdin_default$1I);
1248
- var stdin_default$1H = Loading;
1249
- const [name$1f, bem$1b] = createNamespace("action-sheet");
1259
+ const Loading = withInstall(stdin_default$1J);
1260
+ var stdin_default$1I = Loading;
1261
+ const [name$1g, bem$1c] = createNamespace("action-sheet");
1250
1262
  const actionSheetProps = extend({}, popupSharedProps, {
1251
1263
  title: String,
1252
1264
  round: truthProp,
@@ -1260,8 +1272,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1260
1272
  safeAreaInsetBottom: truthProp
1261
1273
  });
1262
1274
  const popupInheritKeys$1 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1263
- var stdin_default$1G = vue.defineComponent({
1264
- name: name$1f,
1275
+ var stdin_default$1H = vue.defineComponent({
1276
+ name: name$1g,
1265
1277
  props: actionSheetProps,
1266
1278
  emits: ["select", "cancel", "update:show"],
1267
1279
  setup(props, {
@@ -1276,10 +1288,10 @@ var stdin_default$1G = vue.defineComponent({
1276
1288
  const renderHeader = () => {
1277
1289
  if (props.title) {
1278
1290
  return vue.createVNode("div", {
1279
- "class": bem$1b("header")
1291
+ "class": bem$1c("header")
1280
1292
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1281
1293
  "name": props.closeIcon,
1282
- "class": [bem$1b("close"), HAPTICS_FEEDBACK],
1294
+ "class": [bem$1c("close"), HAPTICS_FEEDBACK],
1283
1295
  "onClick": onCancel
1284
1296
  }, null)]);
1285
1297
  }
@@ -1287,10 +1299,10 @@ var stdin_default$1G = vue.defineComponent({
1287
1299
  const renderCancel = () => {
1288
1300
  if (slots.cancel || props.cancelText) {
1289
1301
  return [vue.createVNode("div", {
1290
- "class": bem$1b("cancel")
1302
+ "class": bem$1c("cancel")
1291
1303
  }, [vue.createVNode("button", {
1292
1304
  "type": "button",
1293
- "class": bem$1b("cancel-btn"),
1305
+ "class": bem$1c("cancel-btn"),
1294
1306
  "onClick": onCancel
1295
1307
  }, [slots.cancel ? slots.cancel() : props.cancelText])])];
1296
1308
  }
@@ -1298,7 +1310,7 @@ var stdin_default$1G = vue.defineComponent({
1298
1310
  const renderActionContent = (action, index) => {
1299
1311
  if (action.loading) {
1300
1312
  return vue.createVNode(Loading, {
1301
- "class": bem$1b("loading-icon")
1313
+ "class": bem$1c("loading-icon")
1302
1314
  }, null);
1303
1315
  }
1304
1316
  if (slots.action) {
@@ -1308,9 +1320,9 @@ var stdin_default$1G = vue.defineComponent({
1308
1320
  });
1309
1321
  }
1310
1322
  return [vue.createVNode("span", {
1311
- "class": bem$1b("name")
1323
+ "class": bem$1c("name")
1312
1324
  }, [action.name]), action.subname && vue.createVNode("div", {
1313
- "class": bem$1b("subname")
1325
+ "class": bem$1c("subname")
1314
1326
  }, [action.subname])];
1315
1327
  };
1316
1328
  const renderAction = (action, index) => {
@@ -1343,7 +1355,7 @@ var stdin_default$1G = vue.defineComponent({
1343
1355
  "style": {
1344
1356
  color
1345
1357
  },
1346
- "class": [bem$1b("item", {
1358
+ "class": [bem$1c("item", {
1347
1359
  loading,
1348
1360
  disabled,
1349
1361
  "with-sub": action.subname
@@ -1357,29 +1369,29 @@ var stdin_default$1G = vue.defineComponent({
1357
1369
  if (props.description || slots.description) {
1358
1370
  const content = slots.description ? slots.description() : props.description;
1359
1371
  return vue.createVNode("div", {
1360
- "class": bem$1b("description", {
1372
+ "class": bem$1c("description", {
1361
1373
  custom: !!slots.description
1362
1374
  })
1363
1375
  }, [content]);
1364
1376
  }
1365
1377
  };
1366
1378
  return () => vue.createVNode(Popup, vue.mergeProps({
1367
- "class": bem$1b(),
1379
+ "class": bem$1c(),
1368
1380
  "position": "bottom",
1369
1381
  "onUpdate:show": updateShow
1370
1382
  }, pick(props, popupInheritKeys$1)), {
1371
1383
  default: () => {
1372
1384
  var _a;
1373
1385
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1374
- "class": bem$1b("content")
1386
+ "class": bem$1c("content")
1375
1387
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1376
1388
  }
1377
1389
  });
1378
1390
  }
1379
1391
  });
1380
- const ActionSheet = withInstall(stdin_default$1G);
1381
- var stdin_default$1F = ActionSheet;
1382
- const [name$1e, bem$1a] = createNamespace("image");
1392
+ const ActionSheet = withInstall(stdin_default$1H);
1393
+ var stdin_default$1G = ActionSheet;
1394
+ const [name$1f, bem$1b] = createNamespace("image");
1383
1395
  const imageProps = {
1384
1396
  src: String,
1385
1397
  alt: String,
@@ -1398,8 +1410,8 @@ const imageProps = {
1398
1410
  showLoading: truthProp,
1399
1411
  loadingIcon: makeStringProp("photo-default")
1400
1412
  };
1401
- var stdin_default$1E = vue.defineComponent({
1402
- name: name$1e,
1413
+ var stdin_default$1F = vue.defineComponent({
1414
+ name: name$1f,
1403
1415
  props: imageProps,
1404
1416
  emits: ["load", "error"],
1405
1417
  setup(props, {
@@ -1450,13 +1462,13 @@ var stdin_default$1E = vue.defineComponent({
1450
1462
  const renderPlaceholder = () => {
1451
1463
  if (loading.value && props.showLoading) {
1452
1464
  return vue.createVNode("div", {
1453
- "class": bem$1a("loading")
1454
- }, [renderIcon(props.loadingIcon, bem$1a("loading-icon"), slots.loading)]);
1465
+ "class": bem$1b("loading")
1466
+ }, [renderIcon(props.loadingIcon, bem$1b("loading-icon"), slots.loading)]);
1455
1467
  }
1456
1468
  if (error.value && props.showError) {
1457
1469
  return vue.createVNode("div", {
1458
- "class": bem$1a("error")
1459
- }, [renderIcon(props.errorIcon, bem$1a("error-icon"), slots.error)]);
1470
+ "class": bem$1b("error")
1471
+ }, [renderIcon(props.errorIcon, bem$1b("error-icon"), slots.error)]);
1460
1472
  }
1461
1473
  };
1462
1474
  const renderImage = () => {
@@ -1465,7 +1477,7 @@ var stdin_default$1E = vue.defineComponent({
1465
1477
  }
1466
1478
  const attrs = {
1467
1479
  alt: props.alt,
1468
- class: bem$1a("img"),
1480
+ class: bem$1b("img"),
1469
1481
  style: {
1470
1482
  objectFit: props.fit,
1471
1483
  objectPosition: props.position
@@ -1514,7 +1526,7 @@ var stdin_default$1E = vue.defineComponent({
1514
1526
  return () => {
1515
1527
  var _a;
1516
1528
  return vue.createVNode("div", {
1517
- "class": bem$1a({
1529
+ "class": bem$1b({
1518
1530
  round: props.round,
1519
1531
  block: props.block
1520
1532
  }),
@@ -1523,9 +1535,9 @@ var stdin_default$1E = vue.defineComponent({
1523
1535
  };
1524
1536
  }
1525
1537
  });
1526
- const Image$1 = withInstall(stdin_default$1E);
1527
- var stdin_default$1D = Image$1;
1528
- const [name$1d, bem$19] = createNamespace("avatar");
1538
+ const Image$1 = withInstall(stdin_default$1F);
1539
+ var stdin_default$1E = Image$1;
1540
+ const [name$1e, bem$1a] = createNamespace("avatar");
1529
1541
  const avatarProps = {
1530
1542
  src: makeStringProp(""),
1531
1543
  size: makeStringProp("medium"),
@@ -1534,8 +1546,8 @@ const avatarProps = {
1534
1546
  textBgColor: String,
1535
1547
  border: Boolean
1536
1548
  };
1537
- var stdin_default$1C = vue.defineComponent({
1538
- name: name$1d,
1549
+ var stdin_default$1D = vue.defineComponent({
1550
+ name: name$1e,
1539
1551
  props: avatarProps,
1540
1552
  setup(props) {
1541
1553
  const headText = vue.computed(() => {
@@ -1566,7 +1578,7 @@ var stdin_default$1C = vue.defineComponent({
1566
1578
  }
1567
1579
  });
1568
1580
  const renderText = () => vue.createVNode("div", {
1569
- "class": bem$19("img", [classArr.value, {
1581
+ "class": bem$1a("img", [classArr.value, {
1570
1582
  border: props.border
1571
1583
  }]),
1572
1584
  "style": style.value
@@ -1575,9 +1587,9 @@ var stdin_default$1C = vue.defineComponent({
1575
1587
  if (!props.src) {
1576
1588
  return renderText();
1577
1589
  }
1578
- return vue.createVNode(stdin_default$1D, {
1590
+ return vue.createVNode(stdin_default$1E, {
1579
1591
  "round": props.shape === "round",
1580
- "class": bem$19("img", [classArr.value, {
1592
+ "class": bem$1a("img", [classArr.value, {
1581
1593
  border: props.border
1582
1594
  }]),
1583
1595
  "style": style.value,
@@ -1588,7 +1600,7 @@ var stdin_default$1C = vue.defineComponent({
1588
1600
  };
1589
1601
  }
1590
1602
  });
1591
- const Avatar = withInstall(stdin_default$1C);
1603
+ const Avatar = withInstall(stdin_default$1D);
1592
1604
  const routeProps = {
1593
1605
  to: [String, Object],
1594
1606
  url: String,
@@ -1610,7 +1622,7 @@ function useRoute() {
1610
1622
  const vm = vue.getCurrentInstance().proxy;
1611
1623
  return () => route(vm);
1612
1624
  }
1613
- const [name$1c, bem$18] = createNamespace("button");
1625
+ const [name$1d, bem$19] = createNamespace("button");
1614
1626
  const buttonProps = extend({}, routeProps, {
1615
1627
  tag: makeStringProp("button"),
1616
1628
  text: String,
@@ -1637,8 +1649,8 @@ const buttonProps = extend({}, routeProps, {
1637
1649
  loadingType: String,
1638
1650
  iconPosition: makeStringProp("left")
1639
1651
  });
1640
- var stdin_default$1B = vue.defineComponent({
1641
- name: name$1c,
1652
+ var stdin_default$1C = vue.defineComponent({
1653
+ name: name$1d,
1642
1654
  props: buttonProps,
1643
1655
  emits: ["click"],
1644
1656
  setup(props, {
@@ -1653,7 +1665,7 @@ var stdin_default$1B = vue.defineComponent({
1653
1665
  return vue.createVNode(Loading, {
1654
1666
  "size": props.loadingSize,
1655
1667
  "type": props.loadingType,
1656
- "class": bem$18("loading")
1668
+ "class": bem$19("loading")
1657
1669
  }, null);
1658
1670
  };
1659
1671
  const renderIcon = () => {
@@ -1665,14 +1677,14 @@ var stdin_default$1B = vue.defineComponent({
1665
1677
  } = props;
1666
1678
  if (slots.icon) {
1667
1679
  return vue.createVNode("div", {
1668
- "class": bem$18("icon", size)
1680
+ "class": bem$19("icon", size)
1669
1681
  }, [slots.icon()]);
1670
1682
  }
1671
1683
  if (props.icon) {
1672
1684
  return vue.createVNode(Icon, {
1673
1685
  "name": props.icon,
1674
1686
  "color": props.iconColor,
1675
- "class": bem$18("icon", size),
1687
+ "class": bem$19("icon", size),
1676
1688
  "classPrefix": props.iconPrefix
1677
1689
  }, null);
1678
1690
  }
@@ -1686,7 +1698,7 @@ var stdin_default$1B = vue.defineComponent({
1686
1698
  }
1687
1699
  if (text) {
1688
1700
  return vue.createVNode("span", {
1689
- "class": bem$18("text")
1701
+ "class": bem$19("text")
1690
1702
  }, [text]);
1691
1703
  }
1692
1704
  };
@@ -1743,7 +1755,7 @@ var stdin_default$1B = vue.defineComponent({
1743
1755
  nativeType,
1744
1756
  iconPosition
1745
1757
  } = props;
1746
- const classes = [bem$18([type, size, {
1758
+ const classes = [bem$19([type, size, {
1747
1759
  plain,
1748
1760
  block,
1749
1761
  "block-inner": blockInner ? "block-inner" : "",
@@ -1763,16 +1775,16 @@ var stdin_default$1B = vue.defineComponent({
1763
1775
  "onClick": onClick
1764
1776
  }, {
1765
1777
  default: () => [vue.createVNode("div", {
1766
- "class": bem$18("content")
1778
+ "class": bem$19("content")
1767
1779
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1768
1780
  });
1769
1781
  };
1770
1782
  }
1771
1783
  });
1772
- const Button = withInstall(stdin_default$1B);
1773
- var stdin_default$1A = Button;
1784
+ const Button = withInstall(stdin_default$1C);
1785
+ var stdin_default$1B = Button;
1774
1786
  const monthsOfYear = 12;
1775
- const [name$1b, bem$17, t$7] = createNamespace("calendar");
1787
+ const [name$1c, bem$18, t$7] = createNamespace("calendar");
1776
1788
  const formatMonthTitle = (date) => t$7("ztCalendar.monthTitle", date.getFullYear(), date.getMonth() + 1);
1777
1789
  function compareMonth(date1, date2) {
1778
1790
  const year1 = date1.getFullYear();
@@ -1858,7 +1870,7 @@ function lockClick(lock) {
1858
1870
  }
1859
1871
  }
1860
1872
  }
1861
- const [name$1a, bem$16] = createNamespace("toast");
1873
+ const [name$1b, bem$17] = createNamespace("toast");
1862
1874
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
1863
1875
  const toastProps = {
1864
1876
  icon: String,
@@ -1881,8 +1893,8 @@ const toastProps = {
1881
1893
  closeOnClick: Boolean,
1882
1894
  closeOnClickOverlay: Boolean
1883
1895
  };
1884
- var stdin_default$1z = vue.defineComponent({
1885
- name: name$1a,
1896
+ var stdin_default$1A = vue.defineComponent({
1897
+ name: name$1b,
1886
1898
  props: toastProps,
1887
1899
  emits: ["update:show"],
1888
1900
  setup(props, {
@@ -1917,13 +1929,13 @@ var stdin_default$1z = vue.defineComponent({
1917
1929
  return vue.createVNode(Icon, {
1918
1930
  "name": icon || type,
1919
1931
  "size": iconSize,
1920
- "class": bem$16("icon"),
1932
+ "class": bem$17("icon"),
1921
1933
  "classPrefix": iconPrefix
1922
1934
  }, null);
1923
1935
  }
1924
1936
  if (type === "loading") {
1925
1937
  return vue.createVNode(Loading, {
1926
- "class": bem$16("loading"),
1938
+ "class": bem$17("loading"),
1927
1939
  "size": iconSize,
1928
1940
  "type": loadingType
1929
1941
  }, null);
@@ -1937,10 +1949,10 @@ var stdin_default$1z = vue.defineComponent({
1937
1949
  if (isDef(message) && message !== "") {
1938
1950
  return type === "html" ? vue.createVNode("div", {
1939
1951
  "key": 0,
1940
- "class": bem$16("text"),
1952
+ "class": bem$17("text"),
1941
1953
  "innerHTML": String(message)
1942
1954
  }, null) : vue.createVNode("div", {
1943
- "class": bem$16("text")
1955
+ "class": bem$17("text")
1944
1956
  }, [message]);
1945
1957
  }
1946
1958
  };
@@ -1956,7 +1968,7 @@ var stdin_default$1z = vue.defineComponent({
1956
1968
  vue.onMounted(toggleClickable);
1957
1969
  vue.onUnmounted(toggleClickable);
1958
1970
  return () => vue.createVNode(Popup, vue.mergeProps({
1959
- "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1971
+ "class": [bem$17([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1960
1972
  [props.type]: !props.icon
1961
1973
  }]), props.className],
1962
1974
  "lockScroll": false,
@@ -2057,7 +2069,7 @@ function createInstance() {
2057
2069
  onClosed,
2058
2070
  "onUpdate:show": toggle
2059
2071
  };
2060
- return vue.createVNode(stdin_default$1z, vue.mergeProps(state, attrs), null);
2072
+ return vue.createVNode(stdin_default$1A, vue.mergeProps(state, attrs), null);
2061
2073
  };
2062
2074
  vue.watch(message, (val) => {
2063
2075
  state.message = val;
@@ -2127,7 +2139,7 @@ const resetToastDefaultOptions = (type) => {
2127
2139
  const allowMultipleToast = (value = true) => {
2128
2140
  allowMultiple = value;
2129
2141
  };
2130
- const Toast = withInstall(stdin_default$1z);
2142
+ const Toast = withInstall(stdin_default$1A);
2131
2143
  const useHeight = (element, withSafeArea) => {
2132
2144
  const height = vue.ref();
2133
2145
  const setHeight = () => {
@@ -2143,9 +2155,9 @@ const useHeight = (element, withSafeArea) => {
2143
2155
  });
2144
2156
  return height;
2145
2157
  };
2146
- const [name$19] = createNamespace("calendar-day");
2147
- var stdin_default$1y = vue.defineComponent({
2148
- name: name$19,
2158
+ const [name$1a] = createNamespace("calendar-day");
2159
+ var stdin_default$1z = vue.defineComponent({
2160
+ name: name$1a,
2149
2161
  props: {
2150
2162
  item: makeRequiredProp(Object),
2151
2163
  color: String,
@@ -2219,7 +2231,7 @@ var stdin_default$1y = vue.defineComponent({
2219
2231
  const Nodes = [text];
2220
2232
  if (type === "selected") {
2221
2233
  return vue.createVNode("div", {
2222
- "class": bem$17("selected-day"),
2234
+ "class": bem$18("selected-day"),
2223
2235
  "style": {
2224
2236
  width: rowHeight,
2225
2237
  height: rowHeight,
@@ -2237,21 +2249,21 @@ var stdin_default$1y = vue.defineComponent({
2237
2249
  } = props.item;
2238
2250
  if (type === "placeholder") {
2239
2251
  return vue.createVNode("div", {
2240
- "class": bem$17("day"),
2252
+ "class": bem$18("day"),
2241
2253
  "style": style.value
2242
2254
  }, null);
2243
2255
  }
2244
2256
  return vue.createVNode("div", {
2245
2257
  "role": "gridcell",
2246
2258
  "style": style.value,
2247
- "class": [bem$17("day", type), className],
2259
+ "class": [bem$18("day", type), className],
2248
2260
  "tabindex": type === "disabled" ? void 0 : -1,
2249
2261
  "onClick": onClick
2250
2262
  }, [renderContent()]);
2251
2263
  };
2252
2264
  }
2253
2265
  });
2254
- const [name$18] = createNamespace("calendar-month");
2266
+ const [name$19] = createNamespace("calendar-month");
2255
2267
  const calendarMonthProps = {
2256
2268
  date: makeRequiredProp(Date),
2257
2269
  showType: makeStringProp("inline"),
@@ -2270,8 +2282,8 @@ const calendarMonthProps = {
2270
2282
  firstDayOfWeek: Number,
2271
2283
  disabledDate: Function
2272
2284
  };
2273
- var stdin_default$1x = vue.defineComponent({
2274
- name: name$18,
2285
+ var stdin_default$1y = vue.defineComponent({
2286
+ name: name$19,
2275
2287
  props: calendarMonthProps,
2276
2288
  emits: ["click"],
2277
2289
  setup(props, {
@@ -2382,7 +2394,7 @@ var stdin_default$1x = vue.defineComponent({
2382
2394
  const renderTitle = () => {
2383
2395
  if (props.showMonthTitle) {
2384
2396
  return vue.createVNode("div", {
2385
- "class": bem$17("month-title")
2397
+ "class": bem$18("month-title")
2386
2398
  }, [title.value]);
2387
2399
  }
2388
2400
  };
@@ -2455,7 +2467,7 @@ var stdin_default$1x = vue.defineComponent({
2455
2467
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
2456
2468
  }
2457
2469
  };
2458
- const renderDay = (item, index) => vue.createVNode(stdin_default$1y, {
2470
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1z, {
2459
2471
  "item": item,
2460
2472
  "index": index,
2461
2473
  "color": props.color,
@@ -2466,7 +2478,7 @@ var stdin_default$1x = vue.defineComponent({
2466
2478
  const renderDays = () => vue.createVNode("div", {
2467
2479
  "ref": daysRef,
2468
2480
  "role": "grid",
2469
- "class": bem$17("days")
2481
+ "class": bem$18("days")
2470
2482
  }, [(shouldRender.value ? days : placeholders).value.map(renderDay)]);
2471
2483
  useExpose({
2472
2484
  getTitle,
@@ -2477,14 +2489,14 @@ var stdin_default$1x = vue.defineComponent({
2477
2489
  disabledDays
2478
2490
  });
2479
2491
  return () => vue.createVNode("div", {
2480
- "class": bem$17("month"),
2492
+ "class": bem$18("month"),
2481
2493
  "ref": monthRef
2482
2494
  }, [renderTitle(), renderDays()]);
2483
2495
  }
2484
2496
  });
2485
- const [name$17] = createNamespace("calendar-header");
2486
- var stdin_default$1w = vue.defineComponent({
2487
- name: name$17,
2497
+ const [name$18] = createNamespace("calendar-header");
2498
+ var stdin_default$1x = vue.defineComponent({
2499
+ name: name$18,
2488
2500
  props: {
2489
2501
  title: String,
2490
2502
  subtitle: String,
@@ -2507,7 +2519,7 @@ var stdin_default$1w = vue.defineComponent({
2507
2519
  const text = props.title || "请选择日期";
2508
2520
  const title = slots.title ? slots.title() : text;
2509
2521
  return vue.createVNode("div", {
2510
- "class": bem$17("header-title")
2522
+ "class": bem$18("header-title")
2511
2523
  }, [title]);
2512
2524
  }
2513
2525
  };
@@ -2537,7 +2549,7 @@ var stdin_default$1w = vue.defineComponent({
2537
2549
  "fill-rule": "evenodd"
2538
2550
  }, [vue.createVNode("g", {
2539
2551
  "transform": "translate(-32.000000, -320.000000)",
2540
- "class": bem$17("svg-defs-path-fill"),
2552
+ "class": bem$18("svg-defs-path-fill"),
2541
2553
  "fill-rule": "nonzero"
2542
2554
  }, [vue.createVNode("g", {
2543
2555
  "transform": "translate(0.000000, 70.000000)"
@@ -2575,7 +2587,7 @@ var stdin_default$1w = vue.defineComponent({
2575
2587
  "fill-rule": "evenodd"
2576
2588
  }, [vue.createVNode("g", {
2577
2589
  "transform": "translate(-80.000000, -320.000000)",
2578
- "class": bem$17("svg-defs-path-fill"),
2590
+ "class": bem$18("svg-defs-path-fill"),
2579
2591
  "fill-rule": "nonzero"
2580
2592
  }, [vue.createVNode("g", {
2581
2593
  "transform": "translate(0.000000, 70.000000)"
@@ -2600,21 +2612,21 @@ var stdin_default$1w = vue.defineComponent({
2600
2612
  if (props.showSubtitle) {
2601
2613
  const title = slots.subtitle ? slots.subtitle() : props.subtitle;
2602
2614
  return vue.createVNode("div", {
2603
- "class": bem$17("header-subtitle")
2615
+ "class": bem$18("header-subtitle")
2604
2616
  }, [vue.createVNode("div", {
2605
- "class": bem$17("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2617
+ "class": bem$18("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2606
2618
  "onClick": onClickPreIcon(false, true)
2607
2619
  }, [fastForwardImg()]), vue.createVNode("div", {
2608
- "class": bem$17("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2620
+ "class": bem$18("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2609
2621
  "onClick": onClickPreIcon(true, false)
2610
2622
  }, [slowForward()]), vue.createVNode("label", {
2611
- "class": bem$17("header-subtitle-text"),
2623
+ "class": bem$18("header-subtitle-text"),
2612
2624
  "onClick": onClickSubtitle
2613
2625
  }, [title]), vue.createVNode("div", {
2614
- "class": bem$17("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2626
+ "class": bem$18("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2615
2627
  "onClick": onClickNextIcon(true, false)
2616
2628
  }, [slowForward()]), vue.createVNode("div", {
2617
- "class": bem$17("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2629
+ "class": bem$18("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2618
2630
  "onClick": onClickNextIcon(false, true)
2619
2631
  }, [fastForwardImg()])]);
2620
2632
  }
@@ -2629,13 +2641,13 @@ var stdin_default$1w = vue.defineComponent({
2629
2641
  const weekdays = ["一", "二", "三", "四", "五", "六", "日"];
2630
2642
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek - 1), ...weekdays.slice(0, firstDayOfWeek - 1)];
2631
2643
  return vue.createVNode("div", {
2632
- "class": bem$17("weekdays")
2644
+ "class": bem$18("weekdays")
2633
2645
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
2634
- "class": bem$17("weekday")
2646
+ "class": bem$18("weekday")
2635
2647
  }, [text]))]);
2636
2648
  };
2637
2649
  return () => vue.createVNode("div", {
2638
- "class": bem$17("header")
2650
+ "class": bem$18("header")
2639
2651
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
2640
2652
  }
2641
2653
  });
@@ -2678,8 +2690,8 @@ const calendarProps = {
2678
2690
  },
2679
2691
  disabledDate: Function
2680
2692
  };
2681
- var stdin_default$1v = vue.defineComponent({
2682
- name: name$1b,
2693
+ var stdin_default$1w = vue.defineComponent({
2694
+ name: name$1c,
2683
2695
  props: calendarProps,
2684
2696
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
2685
2697
  setup(props, {
@@ -3031,7 +3043,7 @@ var stdin_default$1v = vue.defineComponent({
3031
3043
  const updateShow = (value) => emit("update:show", value);
3032
3044
  const renderMonth = (date, index) => {
3033
3045
  const showMonthTitle = index !== 0 || !props.showSubtitle;
3034
- return vue.createVNode(stdin_default$1x, vue.mergeProps({
3046
+ return vue.createVNode(stdin_default$1y, vue.mergeProps({
3035
3047
  "ref": setMonthRefs(index),
3036
3048
  "date": date,
3037
3049
  "currentDate": currentDate.value,
@@ -3075,13 +3087,13 @@ var stdin_default$1v = vue.defineComponent({
3075
3087
  }
3076
3088
  };
3077
3089
  const renderFooter = () => vue.createVNode("div", {
3078
- "class": [bem$17("footer"), {
3090
+ "class": [bem$18("footer"), {
3079
3091
  "zt-safe-area-bottom": props.safeAreaInsetBottom
3080
3092
  }]
3081
3093
  }, [renderFooterButton()]);
3082
3094
  const renderCalendar = () => vue.createVNode("div", {
3083
- "class": bem$17()
3084
- }, [vue.createVNode(stdin_default$1w, {
3095
+ "class": bem$18()
3096
+ }, [vue.createVNode(stdin_default$1x, {
3085
3097
  "title": props.title,
3086
3098
  "subtitle": subtitle.value,
3087
3099
  "showTitle": props.showTitle,
@@ -3097,7 +3109,7 @@ var stdin_default$1v = vue.defineComponent({
3097
3109
  "monthNextEnable": monthNextEnable.value
3098
3110
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
3099
3111
  "ref": bodyRef,
3100
- "class": bem$17("body"),
3112
+ "class": bem$18("body"),
3101
3113
  "onScroll": onScroll
3102
3114
  }, [months.value.map(renderMonth)]), props.popup ? renderFooter() : ""]);
3103
3115
  vue.watch(() => props.show, init);
@@ -3121,7 +3133,7 @@ var stdin_default$1v = vue.defineComponent({
3121
3133
  if (props.popup) {
3122
3134
  return vue.createVNode(Popup, {
3123
3135
  "show": props.show,
3124
- "class": bem$17("popup"),
3136
+ "class": bem$18("popup"),
3125
3137
  "round": props.round,
3126
3138
  "position": props.position,
3127
3139
  "teleport": props.teleport,
@@ -3137,7 +3149,7 @@ var stdin_default$1v = vue.defineComponent({
3137
3149
  };
3138
3150
  }
3139
3151
  });
3140
- const Calendar = withInstall(stdin_default$1v);
3152
+ const Calendar = withInstall(stdin_default$1w);
3141
3153
  function scrollLeftTo(scroller, to, duration) {
3142
3154
  let count = 0;
3143
3155
  const from = scroller.scrollLeft;
@@ -3202,7 +3214,7 @@ function useVisibilityChange(target, onChange) {
3202
3214
  vue.onBeforeUnmount(unobserve);
3203
3215
  use.onMountedOrActivated(observe);
3204
3216
  }
3205
- const [name$16, bem$15] = createNamespace("sticky");
3217
+ const [name$17, bem$16] = createNamespace("sticky");
3206
3218
  const stickyProps = {
3207
3219
  zIndex: numericProp,
3208
3220
  position: makeStringProp("top"),
@@ -3210,8 +3222,8 @@ const stickyProps = {
3210
3222
  offsetTop: makeNumericProp(0),
3211
3223
  offsetBottom: makeNumericProp(0)
3212
3224
  };
3213
- var stdin_default$1u = vue.defineComponent({
3214
- name: name$16,
3225
+ var stdin_default$1v = vue.defineComponent({
3226
+ name: name$17,
3215
3227
  props: stickyProps,
3216
3228
  emits: ["scroll", "change"],
3217
3229
  setup(props, {
@@ -3308,7 +3320,7 @@ var stdin_default$1u = vue.defineComponent({
3308
3320
  "ref": root,
3309
3321
  "style": rootStyle.value
3310
3322
  }, [vue.createVNode("div", {
3311
- "class": bem$15({
3323
+ "class": bem$16({
3312
3324
  fixed: state.fixed
3313
3325
  }),
3314
3326
  "style": stickyStyle.value
@@ -3316,10 +3328,10 @@ var stdin_default$1u = vue.defineComponent({
3316
3328
  };
3317
3329
  }
3318
3330
  });
3319
- const Sticky = withInstall(stdin_default$1u);
3320
- const [name$15, bem$14] = createNamespace("tab");
3321
- var stdin_default$1t = vue.defineComponent({
3322
- name: name$15,
3331
+ const Sticky = withInstall(stdin_default$1v);
3332
+ const [name$16, bem$15] = createNamespace("tab");
3333
+ var stdin_default$1u = vue.defineComponent({
3334
+ name: name$16,
3323
3335
  props: {
3324
3336
  id: String,
3325
3337
  dot: Boolean,
@@ -3374,7 +3386,7 @@ var stdin_default$1t = vue.defineComponent({
3374
3386
  });
3375
3387
  const renderText = () => {
3376
3388
  const Text = vue.createVNode("span", {
3377
- "class": bem$14("text", {
3389
+ "class": bem$15("text", {
3378
3390
  ellipsis: !props.scrollable
3379
3391
  })
3380
3392
  }, [slots.title ? slots.title() : props.title]);
@@ -3392,7 +3404,7 @@ var stdin_default$1t = vue.defineComponent({
3392
3404
  return () => vue.createVNode("div", {
3393
3405
  "id": props.id,
3394
3406
  "role": "tab",
3395
- "class": [bem$14([props.type, {
3407
+ "class": [bem$15([props.type, {
3396
3408
  grow: props.scrollable && !props.shrink,
3397
3409
  shrink: props.shrink,
3398
3410
  active: props.isActive,
@@ -3406,7 +3418,7 @@ var stdin_default$1t = vue.defineComponent({
3406
3418
  }, [renderText()]);
3407
3419
  }
3408
3420
  });
3409
- const [name$14, bem$13] = createNamespace("swipe");
3421
+ const [name$15, bem$14] = createNamespace("swipe");
3410
3422
  const swipeProps = {
3411
3423
  loop: truthProp,
3412
3424
  width: numericProp,
@@ -3422,9 +3434,9 @@ const swipeProps = {
3422
3434
  stopPropagation: truthProp,
3423
3435
  title: Array
3424
3436
  };
3425
- const SWIPE_KEY = Symbol(name$14);
3426
- var stdin_default$1s = vue.defineComponent({
3427
- name: name$14,
3437
+ const SWIPE_KEY = Symbol(name$15);
3438
+ var stdin_default$1t = vue.defineComponent({
3439
+ name: name$15,
3428
3440
  props: swipeProps,
3429
3441
  emits: ["change", "dragStart", "dragEnd"],
3430
3442
  setup(props, {
@@ -3695,7 +3707,7 @@ var stdin_default$1s = vue.defineComponent({
3695
3707
  const renderDot = (_, index) => {
3696
3708
  const active = index === activeIndicator.value;
3697
3709
  return vue.createVNode("i", {
3698
- "class": bem$13("indicator", {
3710
+ "class": bem$14("indicator", {
3699
3711
  active
3700
3712
  })
3701
3713
  }, null);
@@ -3709,7 +3721,7 @@ var stdin_default$1s = vue.defineComponent({
3709
3721
  }
3710
3722
  if (props.showIndicators && count.value > 1) {
3711
3723
  return vue.createVNode("div", {
3712
- "class": bem$13("indicators", {
3724
+ "class": bem$14("indicators", {
3713
3725
  vertical: props.vertical
3714
3726
  })
3715
3727
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -3718,17 +3730,17 @@ var stdin_default$1s = vue.defineComponent({
3718
3730
  const titleDiv = () => {
3719
3731
  if (Array.isArray(props.title)) {
3720
3732
  return vue.createVNode("div", {
3721
- "class": bem$13("title")
3733
+ "class": bem$14("title")
3722
3734
  }, [activeIndicator.value < props.title.length ? props.title[activeIndicator.value] : ""]);
3723
3735
  }
3724
3736
  return vue.createVNode("div", {
3725
- "class": bem$13("title")
3737
+ "class": bem$14("title")
3726
3738
  }, [props.title]);
3727
3739
  };
3728
3740
  const foot = () => {
3729
3741
  if (props.title) {
3730
3742
  return vue.createVNode("div", {
3731
- "class": bem$13("foot")
3743
+ "class": bem$14("foot")
3732
3744
  }, [titleDiv(), renderIndicator()]);
3733
3745
  }
3734
3746
  return vue.createVNode("div", null, [titleDiv(), renderIndicator()]);
@@ -3768,10 +3780,10 @@ var stdin_default$1s = vue.defineComponent({
3768
3780
  var _a;
3769
3781
  return vue.createVNode("div", {
3770
3782
  "ref": root,
3771
- "class": bem$13()
3783
+ "class": bem$14()
3772
3784
  }, [vue.createVNode("div", {
3773
3785
  "style": trackStyle.value,
3774
- "class": bem$13("track", {
3786
+ "class": bem$14("track", {
3775
3787
  vertical: props.vertical
3776
3788
  }),
3777
3789
  "onTouchstartPassive": onTouchStart,
@@ -3782,10 +3794,10 @@ var stdin_default$1s = vue.defineComponent({
3782
3794
  };
3783
3795
  }
3784
3796
  });
3785
- const Swipe = withInstall(stdin_default$1s);
3786
- const [name$13, bem$12] = createNamespace("tabs");
3787
- var stdin_default$1r = vue.defineComponent({
3788
- name: name$13,
3797
+ const Swipe = withInstall(stdin_default$1t);
3798
+ const [name$14, bem$13] = createNamespace("tabs");
3799
+ var stdin_default$1s = vue.defineComponent({
3800
+ name: name$14,
3789
3801
  props: {
3790
3802
  count: makeRequiredProp(Number),
3791
3803
  inited: Boolean,
@@ -3809,7 +3821,7 @@ var stdin_default$1r = vue.defineComponent({
3809
3821
  return vue.createVNode(Swipe, {
3810
3822
  "ref": swipeRef,
3811
3823
  "loop": false,
3812
- "class": bem$12("track"),
3824
+ "class": bem$13("track"),
3813
3825
  "duration": +props.duration * 1e3,
3814
3826
  "touchable": props.swipeable,
3815
3827
  "lazyRender": props.lazyRender,
@@ -3834,13 +3846,13 @@ var stdin_default$1r = vue.defineComponent({
3834
3846
  swipeToCurrentTab(props.currentIndex);
3835
3847
  });
3836
3848
  return () => vue.createVNode("div", {
3837
- "class": bem$12("content", {
3849
+ "class": bem$13("content", {
3838
3850
  animated: props.animated || props.swipeable
3839
3851
  })
3840
3852
  }, [renderChildren()]);
3841
3853
  }
3842
3854
  });
3843
- const [name$12, bem$11] = createNamespace("tabs");
3855
+ const [name$13, bem$12] = createNamespace("tabs");
3844
3856
  const tabsProps = {
3845
3857
  type: makeStringProp("line"),
3846
3858
  color: String,
@@ -3863,9 +3875,9 @@ const tabsProps = {
3863
3875
  titleActiveColor: String,
3864
3876
  titleInactiveColor: String
3865
3877
  };
3866
- const TABS_KEY = Symbol(name$12);
3867
- var stdin_default$1q = vue.defineComponent({
3868
- name: name$12,
3878
+ const TABS_KEY = Symbol(name$13);
3879
+ var stdin_default$1r = vue.defineComponent({
3880
+ name: name$13,
3869
3881
  props: tabsProps,
3870
3882
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
3871
3883
  setup(props, {
@@ -4055,7 +4067,7 @@ var stdin_default$1q = vue.defineComponent({
4055
4067
  state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
4056
4068
  state.showRightOverlay = hasScrollToEnd(target);
4057
4069
  };
4058
- const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1t, vue.mergeProps({
4070
+ const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1u, vue.mergeProps({
4059
4071
  "key": item.id,
4060
4072
  "id": `${id}-${index}`,
4061
4073
  "ref": setTitleRefs(index),
@@ -4076,7 +4088,7 @@ var stdin_default$1q = vue.defineComponent({
4076
4088
  const renderLine = () => {
4077
4089
  if (props.type === "line" && children.length) {
4078
4090
  return vue.createVNode("div", {
4079
- "class": bem$11("line"),
4091
+ "class": bem$12("line"),
4080
4092
  "style": state.lineStyle
4081
4093
  }, null);
4082
4094
  }
@@ -4084,14 +4096,14 @@ var stdin_default$1q = vue.defineComponent({
4084
4096
  const renderOverlayLeft = () => {
4085
4097
  if (state.showLeftOverlay) {
4086
4098
  return vue.createVNode("div", {
4087
- "class": bem$11("overlay-left")
4099
+ "class": bem$12("overlay-left")
4088
4100
  }, null);
4089
4101
  }
4090
4102
  };
4091
4103
  const renderOverlayRight = () => {
4092
4104
  if (state.showRightOverlay) {
4093
4105
  return vue.createVNode("div", {
4094
- "class": bem$11("overlay-right")
4106
+ "class": bem$12("overlay-right")
4095
4107
  }, null);
4096
4108
  }
4097
4109
  };
@@ -4103,13 +4115,13 @@ var stdin_default$1q = vue.defineComponent({
4103
4115
  } = props;
4104
4116
  return vue.createVNode("div", {
4105
4117
  "ref": wrapRef,
4106
- "class": [bem$11("wrap"), {
4118
+ "class": [bem$12("wrap"), {
4107
4119
  [BORDER_TOP_BOTTOM]: type === "line" && border
4108
4120
  }]
4109
4121
  }, [vue.createVNode("div", {
4110
4122
  "ref": navRef,
4111
4123
  "role": "tablist",
4112
- "class": bem$11("nav", [type, {
4124
+ "class": bem$12("nav", [type, {
4113
4125
  shrink: props.shrink,
4114
4126
  complete: scrollable.value
4115
4127
  }]),
@@ -4179,7 +4191,7 @@ var stdin_default$1q = vue.defineComponent({
4179
4191
  var _a;
4180
4192
  return vue.createVNode("div", {
4181
4193
  "ref": root,
4182
- "class": bem$11([props.type])
4194
+ "class": bem$12([props.type])
4183
4195
  }, [props.sticky ? vue.createVNode(Sticky, {
4184
4196
  "container": root.value,
4185
4197
  "offsetTop": offsetTopPx.value,
@@ -4189,7 +4201,7 @@ var stdin_default$1q = vue.defineComponent({
4189
4201
  var _a2;
4190
4202
  return [renderHeader(), (_a2 = slots["nav-bottom"]) == null ? void 0 : _a2.call(slots)];
4191
4203
  }
4192
- }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1r, {
4204
+ }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1s, {
4193
4205
  "count": children.length,
4194
4206
  "inited": state.inited,
4195
4207
  "animated": props.animated,
@@ -4209,9 +4221,9 @@ var stdin_default$1q = vue.defineComponent({
4209
4221
  });
4210
4222
  const TAB_STATUS_KEY = Symbol();
4211
4223
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
4212
- const [name$11, bem$10] = createNamespace("swipe-item");
4213
- var stdin_default$1p = vue.defineComponent({
4214
- name: name$11,
4224
+ const [name$12, bem$11] = createNamespace("swipe-item");
4225
+ var stdin_default$1q = vue.defineComponent({
4226
+ name: name$12,
4215
4227
  setup(props, {
4216
4228
  slots
4217
4229
  }) {
@@ -4276,14 +4288,14 @@ var stdin_default$1p = vue.defineComponent({
4276
4288
  return () => {
4277
4289
  var _a;
4278
4290
  return vue.createVNode("div", {
4279
- "class": bem$10(),
4291
+ "class": bem$11(),
4280
4292
  "style": style.value
4281
4293
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
4282
4294
  };
4283
4295
  }
4284
4296
  });
4285
- const SwipeItem = withInstall(stdin_default$1p);
4286
- const [name$10, bem$$] = createNamespace("tab");
4297
+ const SwipeItem = withInstall(stdin_default$1q);
4298
+ const [name$11, bem$10] = createNamespace("tab");
4287
4299
  const tabProps = extend({}, routeProps, {
4288
4300
  dot: Boolean,
4289
4301
  name: numericProp,
@@ -4294,8 +4306,8 @@ const tabProps = extend({}, routeProps, {
4294
4306
  titleStyle: [String, Object],
4295
4307
  showZeroBadge: truthProp
4296
4308
  });
4297
- var stdin_default$1o = vue.defineComponent({
4298
- name: name$10,
4309
+ var stdin_default$1p = vue.defineComponent({
4310
+ name: name$11,
4299
4311
  props: tabProps,
4300
4312
  setup(props, {
4301
4313
  slots
@@ -4353,7 +4365,7 @@ var stdin_default$1o = vue.defineComponent({
4353
4365
  return vue.createVNode(SwipeItem, {
4354
4366
  "id": id,
4355
4367
  "role": "tabpanel",
4356
- "class": bem$$("panel-wrapper", {
4368
+ "class": bem$10("panel-wrapper", {
4357
4369
  inactive: !active.value
4358
4370
  }),
4359
4371
  "tabindex": active.value ? 0 : -1,
@@ -4363,7 +4375,7 @@ var stdin_default$1o = vue.defineComponent({
4363
4375
  default: () => {
4364
4376
  var _a2;
4365
4377
  return [vue.createVNode("div", {
4366
- "class": bem$$("panel")
4378
+ "class": bem$10("panel")
4367
4379
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
4368
4380
  }
4369
4381
  });
@@ -4376,23 +4388,23 @@ var stdin_default$1o = vue.defineComponent({
4376
4388
  return vue.withDirectives(vue.createVNode("div", {
4377
4389
  "id": id,
4378
4390
  "role": "tabpanel",
4379
- "class": bem$$("panel"),
4391
+ "class": bem$10("panel"),
4380
4392
  "tabindex": show ? 0 : -1,
4381
4393
  "aria-labelledby": label
4382
4394
  }, [Content]), [[vue.vShow, show]]);
4383
4395
  };
4384
4396
  }
4385
4397
  });
4386
- const Tab = withInstall(stdin_default$1o);
4387
- const Tabs = withInstall(stdin_default$1q);
4388
- const [name$$, bem$_] = createNamespace("divider");
4398
+ const Tab = withInstall(stdin_default$1p);
4399
+ const Tabs = withInstall(stdin_default$1r);
4400
+ const [name$10, bem$$] = createNamespace("divider");
4389
4401
  const dividerProps = {
4390
4402
  dashed: Boolean,
4391
4403
  hairline: truthProp,
4392
4404
  contentPosition: makeStringProp("center")
4393
4405
  };
4394
- var stdin_default$1n = vue.defineComponent({
4395
- name: name$$,
4406
+ var stdin_default$1o = vue.defineComponent({
4407
+ name: name$10,
4396
4408
  props: dividerProps,
4397
4409
  setup(props, {
4398
4410
  slots
@@ -4401,7 +4413,7 @@ var stdin_default$1n = vue.defineComponent({
4401
4413
  var _a;
4402
4414
  return vue.createVNode("div", {
4403
4415
  "role": "separator",
4404
- "class": bem$_({
4416
+ "class": bem$$({
4405
4417
  dashed: props.dashed,
4406
4418
  hairline: props.hairline,
4407
4419
  [`content-${props.contentPosition}`]: !!slots.default
@@ -4410,8 +4422,8 @@ var stdin_default$1n = vue.defineComponent({
4410
4422
  };
4411
4423
  }
4412
4424
  });
4413
- const Divider = withInstall(stdin_default$1n);
4414
- const [name$_, bem$Z, t$6] = createNamespace("cascader");
4425
+ const Divider = withInstall(stdin_default$1o);
4426
+ const [name$$, bem$_, t$6] = createNamespace("cascader");
4415
4427
  const cascaderProps = {
4416
4428
  title: String,
4417
4429
  show: Boolean,
@@ -4431,8 +4443,8 @@ const cascaderProps = {
4431
4443
  safeAreaInsetTop: Boolean,
4432
4444
  closeOnClickOverlay: truthProp
4433
4445
  };
4434
- var stdin_default$1m = vue.defineComponent({
4435
- name: name$_,
4446
+ var stdin_default$1n = vue.defineComponent({
4447
+ name: name$$,
4436
4448
  props: cascaderProps,
4437
4449
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
4438
4450
  setup(props, {
@@ -4546,9 +4558,9 @@ var stdin_default$1m = vue.defineComponent({
4546
4558
  title
4547
4559
  }) => emit("clickTab", name2, title);
4548
4560
  const renderHeader = () => vue.createVNode("div", {
4549
- "class": bem$Z("header")
4561
+ "class": bem$_("header")
4550
4562
  }, [vue.createVNode("h2", {
4551
- "class": bem$Z("title")
4563
+ "class": bem$_("title")
4552
4564
  }, [slots.title ? slots.title() : props.title])]);
4553
4565
  const renderOption = (option, selectedOption, tabIndex) => {
4554
4566
  const {
@@ -4562,7 +4574,7 @@ var stdin_default$1m = vue.defineComponent({
4562
4574
  }) : vue.createVNode("span", null, [option[textKey]]);
4563
4575
  return vue.createVNode("li", {
4564
4576
  "role": "menuitemradio",
4565
- "class": [bem$Z("option", {
4577
+ "class": [bem$_("option", {
4566
4578
  selected,
4567
4579
  disabled
4568
4580
  }), option.className],
@@ -4575,12 +4587,12 @@ var stdin_default$1m = vue.defineComponent({
4575
4587
  "onClick": () => onSelect(option, tabIndex)
4576
4588
  }, [Text, selected ? vue.createVNode(Icon, {
4577
4589
  "name": "success",
4578
- "class": bem$Z("selected-icon")
4590
+ "class": bem$_("selected-icon")
4579
4591
  }, null) : null]);
4580
4592
  };
4581
4593
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
4582
4594
  "role": "menu",
4583
- "class": bem$Z("options")
4595
+ "class": bem$_("options")
4584
4596
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
4585
4597
  const renderDivider = () => vue.createVNode(Divider, {
4586
4598
  "style": {
@@ -4596,7 +4608,7 @@ var stdin_default$1m = vue.defineComponent({
4596
4608
  const title = selected ? selected[textKey] : placeholder;
4597
4609
  return vue.createVNode(Tab, {
4598
4610
  "title": title,
4599
- "titleClass": bem$Z("tab", {
4611
+ "titleClass": bem$_("tab", {
4600
4612
  unselected: !selected
4601
4613
  })
4602
4614
  }, {
@@ -4614,15 +4626,15 @@ var stdin_default$1m = vue.defineComponent({
4614
4626
  "active": activeTab.value,
4615
4627
  "onUpdate:active": ($event) => activeTab.value = $event,
4616
4628
  "animated": true,
4617
- "class": bem$Z("tabs"),
4629
+ "class": bem$_("tabs"),
4618
4630
  "color": props.activeColor,
4619
4631
  "swipeable": props.swipeable,
4620
4632
  "onClickTab": onClickTab
4621
4633
  }, {
4622
4634
  default: () => [tabs.value.map(renderTab)]
4623
4635
  });
4624
- const renderMenu = () => vue.createVNode(stdin_default$1B, {
4625
- "class": bem$Z("cancel"),
4636
+ const renderMenu = () => vue.createVNode(stdin_default$1C, {
4637
+ "class": bem$_("cancel"),
4626
4638
  "onClick": onCancel
4627
4639
  }, {
4628
4640
  default: () => [vue.createTextVNode("取消")]
@@ -4659,7 +4671,7 @@ var stdin_default$1m = vue.defineComponent({
4659
4671
  updateTabs();
4660
4672
  });
4661
4673
  const renderCascade = () => vue.createVNode("div", {
4662
- "class": bem$Z()
4674
+ "class": bem$_()
4663
4675
  }, [renderHeader(), renderDivider(), renderTabs(), props.popup ? renderDivider() : "", props.popup ? renderMenu() : ""]);
4664
4676
  return () => {
4665
4677
  if (props.popup) {
@@ -4680,8 +4692,8 @@ var stdin_default$1m = vue.defineComponent({
4680
4692
  };
4681
4693
  }
4682
4694
  });
4683
- const Cascader = withInstall(stdin_default$1m);
4684
- const [name$Z, bem$Y] = createNamespace("cell");
4695
+ const Cascader = withInstall(stdin_default$1n);
4696
+ const [name$_, bem$Z] = createNamespace("cell");
4685
4697
  const cellSharedProps = {
4686
4698
  leftIcon: String,
4687
4699
  titleIcon: String,
@@ -4707,8 +4719,8 @@ const cellSharedProps = {
4707
4719
  clearIcon: makeStringProp("clear-r")
4708
4720
  };
4709
4721
  const cellProps = extend({}, cellSharedProps, routeProps);
4710
- var stdin_default$1l = vue.defineComponent({
4711
- name: name$Z,
4722
+ var stdin_default$1m = vue.defineComponent({
4723
+ name: name$_,
4712
4724
  props: cellProps,
4713
4725
  emits: ["click", "clear"],
4714
4726
  setup(props, {
@@ -4721,7 +4733,7 @@ var stdin_default$1l = vue.defineComponent({
4721
4733
  const showLabel = slots.label || isDef(props.label);
4722
4734
  if (showLabel) {
4723
4735
  return vue.createVNode("div", {
4724
- "class": [bem$Y("label"), props.labelClass]
4736
+ "class": [bem$Z("label"), props.labelClass]
4725
4737
  }, [slots.label ? slots.label() : props.label]);
4726
4738
  }
4727
4739
  };
@@ -4732,7 +4744,7 @@ var stdin_default$1l = vue.defineComponent({
4732
4744
  if (props.titleIcon) {
4733
4745
  return vue.createVNode(Icon, {
4734
4746
  "name": props.titleIcon,
4735
- "class": bem$Y("title-icon"),
4747
+ "class": bem$Z("title-icon"),
4736
4748
  "classPrefix": props.iconPrefix
4737
4749
  }, null);
4738
4750
  }
@@ -4742,13 +4754,13 @@ var stdin_default$1l = vue.defineComponent({
4742
4754
  const hasValue = slots.value || slots.default || props.value;
4743
4755
  const isHorizontal = props.direction === "horizontal";
4744
4756
  return vue.createVNode("div", {
4745
- "class": [bem$Y("title", {
4757
+ "class": [bem$Z("title", {
4746
4758
  [props.direction]: true,
4747
4759
  "with-value": isHorizontal && hasValue
4748
4760
  }), props.titleClass],
4749
4761
  "style": props.titleStyle
4750
4762
  }, [slots.title ? slots.title() : [renderTitleIcon(), vue.createVNode("span", {
4751
- "class": bem$Y("title-text")
4763
+ "class": bem$Z("title-text")
4752
4764
  }, [props.title])], renderLabel()]);
4753
4765
  }
4754
4766
  };
@@ -4760,7 +4772,7 @@ var stdin_default$1l = vue.defineComponent({
4760
4772
  const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow-right";
4761
4773
  return vue.createVNode(Icon, {
4762
4774
  "name": name2,
4763
- "class": bem$Y("right-icon"),
4775
+ "class": bem$Z("right-icon"),
4764
4776
  "size": "20"
4765
4777
  }, null);
4766
4778
  }
@@ -4799,16 +4811,16 @@ var stdin_default$1l = vue.defineComponent({
4799
4811
  const showClear = props.clearable && isDef(props.value) && props.value !== "";
4800
4812
  if (hasValue) {
4801
4813
  return vue.createVNode("div", {
4802
- "class": [bem$Y("value", {
4814
+ "class": [bem$Z("value", {
4803
4815
  [props.direction]: true
4804
4816
  }), props.valueClass],
4805
4817
  "onClick": () => onClick(isHorizontal)
4806
4818
  }, [slot ? slot() : vue.createVNode("span", {
4807
- "class": bem$Y("value-text")
4819
+ "class": bem$Z("value-text")
4808
4820
  }, [props.value]), showClear && vue.createVNode(Icon, {
4809
4821
  "ref": clearIconRef,
4810
4822
  "name": props.clearIcon,
4811
- "class": bem$Y("value-clear")
4823
+ "class": bem$Z("value-clear")
4812
4824
  }, null), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
4813
4825
  }
4814
4826
  };
@@ -4819,7 +4831,7 @@ var stdin_default$1l = vue.defineComponent({
4819
4831
  if (props.leftIcon) {
4820
4832
  return vue.createVNode(Icon, {
4821
4833
  "name": props.leftIcon,
4822
- "class": bem$Y("left-icon"),
4834
+ "class": bem$Z("left-icon"),
4823
4835
  "classPrefix": props.iconPrefix
4824
4836
  }, null);
4825
4837
  }
@@ -4851,7 +4863,7 @@ var stdin_default$1l = vue.defineComponent({
4851
4863
  classes.borderless = true;
4852
4864
  }
4853
4865
  return vue.createVNode("div", {
4854
- "class": bem$Y(classes),
4866
+ "class": bem$Z(classes),
4855
4867
  "role": clickable ? "button" : void 0,
4856
4868
  "tabindex": clickable ? 0 : void 0,
4857
4869
  "onClick": () => onClick(props.direction === "vertical")
@@ -4859,7 +4871,7 @@ var stdin_default$1l = vue.defineComponent({
4859
4871
  };
4860
4872
  if (hasLeftIcon) {
4861
4873
  return vue.createVNode("div", {
4862
- "class": [bem$Y("with-left", {
4874
+ "class": [bem$Z("with-left", {
4863
4875
  borderless: !border
4864
4876
  })]
4865
4877
  }, [renderLeftIcon(), renderWrapper()]);
@@ -4868,15 +4880,15 @@ var stdin_default$1l = vue.defineComponent({
4868
4880
  };
4869
4881
  }
4870
4882
  });
4871
- const Cell = withInstall(stdin_default$1l);
4872
- const [name$Y, bem$X] = createNamespace("cell-group");
4883
+ const Cell = withInstall(stdin_default$1m);
4884
+ const [name$Z, bem$Y] = createNamespace("cell-group");
4873
4885
  const cellGroupProps = {
4874
4886
  title: String,
4875
4887
  inset: Boolean,
4876
4888
  border: truthProp
4877
4889
  };
4878
- var stdin_default$1k = vue.defineComponent({
4879
- name: name$Y,
4890
+ var stdin_default$1l = vue.defineComponent({
4891
+ name: name$Z,
4880
4892
  inheritAttrs: false,
4881
4893
  props: cellGroupProps,
4882
4894
  setup(props, {
@@ -4886,7 +4898,7 @@ var stdin_default$1k = vue.defineComponent({
4886
4898
  const renderGroup = () => {
4887
4899
  var _a;
4888
4900
  return vue.createVNode("div", vue.mergeProps({
4889
- "class": [bem$X({
4901
+ "class": [bem$Y({
4890
4902
  inset: props.inset
4891
4903
  }), {
4892
4904
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -4894,7 +4906,7 @@ var stdin_default$1k = vue.defineComponent({
4894
4906
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4895
4907
  };
4896
4908
  const renderTitle = () => vue.createVNode("div", {
4897
- "class": bem$X("title", {
4909
+ "class": bem$Y("title", {
4898
4910
  inset: props.inset
4899
4911
  })
4900
4912
  }, [slots.title ? slots.title() : props.title]);
@@ -4906,8 +4918,8 @@ var stdin_default$1k = vue.defineComponent({
4906
4918
  };
4907
4919
  }
4908
4920
  });
4909
- const CellGroup = withInstall(stdin_default$1k);
4910
- const [name$X, bem$W] = createNamespace("checkbox-group");
4921
+ const CellGroup = withInstall(stdin_default$1l);
4922
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
4911
4923
  const checkboxGroupProps = {
4912
4924
  max: numericProp,
4913
4925
  disabled: Boolean,
@@ -4916,9 +4928,9 @@ const checkboxGroupProps = {
4916
4928
  modelValue: makeArrayProp(),
4917
4929
  checkedColor: String
4918
4930
  };
4919
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
4920
- var stdin_default$1j = vue.defineComponent({
4921
- name: name$X,
4931
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
4932
+ var stdin_default$1k = vue.defineComponent({
4933
+ name: name$Y,
4922
4934
  props: checkboxGroupProps,
4923
4935
  emits: ["change", "update:modelValue"],
4924
4936
  setup(props, {
@@ -4964,7 +4976,7 @@ var stdin_default$1j = vue.defineComponent({
4964
4976
  return () => {
4965
4977
  var _a;
4966
4978
  return vue.createVNode("div", {
4967
- "class": bem$W([props.direction])
4979
+ "class": bem$X([props.direction])
4968
4980
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4969
4981
  };
4970
4982
  }
@@ -4979,7 +4991,7 @@ const checkerProps = {
4979
4991
  labelPosition: String,
4980
4992
  labelDisabled: Boolean
4981
4993
  };
4982
- var stdin_default$1i = vue.defineComponent({
4994
+ var stdin_default$1j = vue.defineComponent({
4983
4995
  props: extend({}, checkerProps, {
4984
4996
  bem: makeRequiredProp(Function),
4985
4997
  role: String,
@@ -5080,7 +5092,7 @@ var stdin_default$1i = vue.defineComponent({
5080
5092
  };
5081
5093
  }
5082
5094
  });
5083
- const [name$W, bem$V] = createNamespace("checkbox");
5095
+ const [name$X, bem$W] = createNamespace("checkbox");
5084
5096
  const checkboxProps = extend({}, checkerProps, {
5085
5097
  bindGroup: truthProp,
5086
5098
  indeterminate: {
@@ -5088,8 +5100,8 @@ const checkboxProps = extend({}, checkerProps, {
5088
5100
  default: null
5089
5101
  }
5090
5102
  });
5091
- var stdin_default$1h = vue.defineComponent({
5092
- name: name$W,
5103
+ var stdin_default$1i = vue.defineComponent({
5104
+ name: name$X,
5093
5105
  props: checkboxProps,
5094
5106
  emits: ["change", "update:modelValue"],
5095
5107
  setup(props, {
@@ -5153,8 +5165,8 @@ var stdin_default$1h = vue.defineComponent({
5153
5165
  checked
5154
5166
  });
5155
5167
  use.useCustomFieldValue(() => props.modelValue);
5156
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5157
- "bem": bem$V,
5168
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
5169
+ "bem": bem$W,
5158
5170
  "role": "checkbox",
5159
5171
  "parent": parent,
5160
5172
  "checked": checked.value,
@@ -5162,10 +5174,10 @@ var stdin_default$1h = vue.defineComponent({
5162
5174
  }, props), pick(slots, ["default", "icon"]));
5163
5175
  }
5164
5176
  });
5165
- const Checkbox = withInstall(stdin_default$1h);
5166
- const CheckboxGroup = withInstall(stdin_default$1j);
5167
- const [name$V, bem$U] = createNamespace("row");
5168
- const ROW_KEY = Symbol(name$V);
5177
+ const Checkbox = withInstall(stdin_default$1i);
5178
+ const CheckboxGroup = withInstall(stdin_default$1k);
5179
+ const [name$W, bem$V] = createNamespace("row");
5180
+ const ROW_KEY = Symbol(name$W);
5169
5181
  const rowProps = {
5170
5182
  tag: makeStringProp("div"),
5171
5183
  wrap: truthProp,
@@ -5173,8 +5185,8 @@ const rowProps = {
5173
5185
  gutter: makeNumericProp(0),
5174
5186
  justify: String
5175
5187
  };
5176
- var stdin_default$1g = vue.defineComponent({
5177
- name: name$V,
5188
+ var stdin_default$1h = vue.defineComponent({
5189
+ name: name$W,
5178
5190
  props: rowProps,
5179
5191
  setup(props, {
5180
5192
  slots
@@ -5233,7 +5245,7 @@ var stdin_default$1g = vue.defineComponent({
5233
5245
  justify
5234
5246
  } = props;
5235
5247
  return vue.createVNode(tag, {
5236
- "class": bem$U({
5248
+ "class": bem$V({
5237
5249
  [`align-${align}`]: align,
5238
5250
  [`justify-${justify}`]: justify,
5239
5251
  nowrap: !wrap
@@ -5247,14 +5259,14 @@ var stdin_default$1g = vue.defineComponent({
5247
5259
  };
5248
5260
  }
5249
5261
  });
5250
- const [name$U, bem$T] = createNamespace("col");
5262
+ const [name$V, bem$U] = createNamespace("col");
5251
5263
  const colProps = {
5252
5264
  tag: makeStringProp("div"),
5253
5265
  span: makeNumericProp(0),
5254
5266
  offset: numericProp
5255
5267
  };
5256
- var stdin_default$1f = vue.defineComponent({
5257
- name: name$U,
5268
+ var stdin_default$1g = vue.defineComponent({
5269
+ name: name$V,
5258
5270
  props: colProps,
5259
5271
  setup(props, {
5260
5272
  slots
@@ -5289,7 +5301,7 @@ var stdin_default$1f = vue.defineComponent({
5289
5301
  } = props;
5290
5302
  return vue.createVNode(tag, {
5291
5303
  "style": style.value,
5292
- "class": bem$T({
5304
+ "class": bem$U({
5293
5305
  [span]: span,
5294
5306
  [`offset-${offset}`]: offset
5295
5307
  })
@@ -5302,9 +5314,9 @@ var stdin_default$1f = vue.defineComponent({
5302
5314
  };
5303
5315
  }
5304
5316
  });
5305
- const Col = withInstall(stdin_default$1f);
5306
- const [name$T, bem$S] = createNamespace("collapse");
5307
- const COLLAPSE_KEY = Symbol(name$T);
5317
+ const Col = withInstall(stdin_default$1g);
5318
+ const [name$U, bem$T] = createNamespace("collapse");
5319
+ const COLLAPSE_KEY = Symbol(name$U);
5308
5320
  const collapseProps = {
5309
5321
  border: truthProp,
5310
5322
  accordion: Boolean,
@@ -5324,8 +5336,8 @@ function validateModelValue(modelValue, accordion) {
5324
5336
  }
5325
5337
  return true;
5326
5338
  }
5327
- var stdin_default$1e = vue.defineComponent({
5328
- name: name$T,
5339
+ var stdin_default$1f = vue.defineComponent({
5340
+ name: name$U,
5329
5341
  props: collapseProps,
5330
5342
  emits: ["change", "update:modelValue"],
5331
5343
  setup(props, {
@@ -5395,15 +5407,15 @@ var stdin_default$1e = vue.defineComponent({
5395
5407
  return () => {
5396
5408
  var _a;
5397
5409
  return vue.createVNode("div", {
5398
- "class": [bem$S(), {
5410
+ "class": [bem$T(), {
5399
5411
  [BORDER_TOP_BOTTOM]: props.border
5400
5412
  }]
5401
5413
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5402
5414
  };
5403
5415
  }
5404
5416
  });
5405
- const Collapse = withInstall(stdin_default$1e);
5406
- const [name$S, bem$R] = createNamespace("collapse-item");
5417
+ const Collapse = withInstall(stdin_default$1f);
5418
+ const [name$T, bem$S] = createNamespace("collapse-item");
5407
5419
  const collapseItemProps = extend({}, {
5408
5420
  name: numericProp,
5409
5421
  title: numericProp,
@@ -5413,8 +5425,8 @@ const collapseItemProps = extend({}, {
5413
5425
  titleBackground: String,
5414
5426
  color: String
5415
5427
  });
5416
- var stdin_default$1d = vue.defineComponent({
5417
- name: name$S,
5428
+ var stdin_default$1e = vue.defineComponent({
5429
+ name: name$T,
5418
5430
  props: collapseItemProps,
5419
5431
  setup(props, {
5420
5432
  slots
@@ -5485,23 +5497,23 @@ var stdin_default$1d = vue.defineComponent({
5485
5497
  color
5486
5498
  } = props;
5487
5499
  return vue.createVNode("div", {
5488
- "class": [bem$R("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5500
+ "class": [bem$S("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5489
5501
  "style": titleBackground ? `background:${titleBackground};color:#fff;` : "",
5490
5502
  "onClick": onClickTitle
5491
5503
  }, [vue.createVNode("span", {
5492
- "class": bem$R("bar", {
5504
+ "class": bem$S("bar", {
5493
5505
  custom: titleBackground
5494
5506
  }),
5495
5507
  "style": color ? `background:${color};` : ""
5496
5508
  }, null), vue.createVNode("span", {
5497
5509
  "style": color ? `color:${color};` : "",
5498
- "class": bem$R("text", {
5510
+ "class": bem$S("text", {
5499
5511
  custom: titleBackground
5500
5512
  })
5501
- }, [props.title]), vue.createVNode(stdin_default$1N, {
5513
+ }, [props.title]), vue.createVNode(stdin_default$1O, {
5502
5514
  "name": "keyboard-arrow-down",
5503
5515
  "style": color ? `color:${color};` : "",
5504
- "class": bem$R("icon", {
5516
+ "class": bem$S("icon", {
5505
5517
  expanded: expanded.value,
5506
5518
  custom: titleBackground
5507
5519
  })
@@ -5511,11 +5523,11 @@ var stdin_default$1d = vue.defineComponent({
5511
5523
  var _a;
5512
5524
  return vue.withDirectives(vue.createVNode("div", {
5513
5525
  "ref": wrapperRef,
5514
- "class": bem$R("wrapper"),
5526
+ "class": bem$S("wrapper"),
5515
5527
  "onTransitionend": onTransitionEnd
5516
5528
  }, [vue.createVNode("div", {
5517
5529
  "ref": contentRef,
5518
- "class": bem$R("content")
5530
+ "class": bem$S("content")
5519
5531
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
5520
5532
  });
5521
5533
  useExpose({
@@ -5524,13 +5536,13 @@ var stdin_default$1d = vue.defineComponent({
5524
5536
  itemName: name2
5525
5537
  });
5526
5538
  return () => vue.createVNode("div", {
5527
- "class": [bem$R()]
5539
+ "class": [bem$S()]
5528
5540
  }, [renderTitle(), renderContent()]);
5529
5541
  }
5530
5542
  });
5531
- const CollapseItem = withInstall(stdin_default$1d);
5532
- const ConfigProvider = withInstall(stdin_default$1O);
5533
- const [name$R, bem$Q, t$5] = createNamespace("picker");
5543
+ const CollapseItem = withInstall(stdin_default$1e);
5544
+ const ConfigProvider = withInstall(stdin_default$1P);
5545
+ const [name$S, bem$R, t$5] = createNamespace("picker");
5534
5546
  const getFirstEnabledOption$1 = (options) => options.find((option) => !option.disabled) || options[0];
5535
5547
  function getColumnsType$1(columns, fields) {
5536
5548
  const firstColumn = columns[0];
@@ -5599,10 +5611,10 @@ function assignDefaultFields$1(fields) {
5599
5611
  const DEFAULT_DURATION$2 = 200;
5600
5612
  const MOMENTUM_TIME$2 = 300;
5601
5613
  const MOMENTUM_DISTANCE$2 = 15;
5602
- const [name$Q, bem$P] = createNamespace("picker-column");
5603
- const PICKER_KEY$1 = Symbol(name$Q);
5604
- var stdin_default$1c = vue.defineComponent({
5605
- name: name$Q,
5614
+ const [name$R, bem$Q] = createNamespace("picker-column");
5615
+ const PICKER_KEY$1 = Symbol(name$R);
5616
+ var stdin_default$1d = vue.defineComponent({
5617
+ name: name$R,
5606
5618
  props: {
5607
5619
  value: numericProp,
5608
5620
  unit: makeStringProp(""),
@@ -5736,7 +5748,7 @@ var stdin_default$1c = vue.defineComponent({
5736
5748
  role: "button",
5737
5749
  style: optionStyle,
5738
5750
  tabindex: disabled ? -1 : 0,
5739
- class: [bem$P("item", {
5751
+ class: [bem$Q("item", {
5740
5752
  disabled,
5741
5753
  selected: value === props.value
5742
5754
  }), option.className],
@@ -5756,14 +5768,14 @@ var stdin_default$1c = vue.defineComponent({
5756
5768
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
5757
5769
  };
5758
5770
  return vue.createVNode("div", {
5759
- "class": bem$P("unit")
5771
+ "class": bem$Q("unit")
5760
5772
  }, [vue.createVNode("span", {
5761
5773
  "style": "visibility: hidden",
5762
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5774
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5763
5775
  }, [props.unit]), vue.createVNode("span", vue.mergeProps({
5764
5776
  "style": "visibility: hidden"
5765
5777
  }, childData), null), vue.createVNode("span", {
5766
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5778
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5767
5779
  }, [props.unit])]);
5768
5780
  }
5769
5781
  };
@@ -5781,7 +5793,7 @@ var stdin_default$1c = vue.defineComponent({
5781
5793
  });
5782
5794
  return () => vue.createVNode("div", {
5783
5795
  "ref": root,
5784
- "class": bem$P(),
5796
+ "class": bem$Q(),
5785
5797
  "onTouchstartPassive": onTouchStart,
5786
5798
  "onTouchend": onTouchEnd,
5787
5799
  "onTouchcancel": onTouchEnd
@@ -5792,12 +5804,12 @@ var stdin_default$1c = vue.defineComponent({
5792
5804
  transitionDuration: `${currentDuration.value}ms`,
5793
5805
  transitionProperty: currentDuration.value ? "all" : "none"
5794
5806
  },
5795
- "class": bem$P("wrapper"),
5807
+ "class": bem$Q("wrapper"),
5796
5808
  "onTransitionend": stopMomentum
5797
5809
  }, [renderOptions()])]);
5798
5810
  }
5799
5811
  });
5800
- const [name$P] = createNamespace("picker-toolbar");
5812
+ const [name$Q] = createNamespace("picker-toolbar");
5801
5813
  const pickerToolbarProps$1 = {
5802
5814
  // title: String,
5803
5815
  cancelButtonText: String,
@@ -5805,8 +5817,8 @@ const pickerToolbarProps$1 = {
5805
5817
  };
5806
5818
  const pickerToolbarSlots$1 = ["cancel", "confirm", "title", "toolbar"];
5807
5819
  const pickerToolbarPropKeys$1 = Object.keys(pickerToolbarProps$1);
5808
- var stdin_default$1b = vue.defineComponent({
5809
- name: name$P,
5820
+ var stdin_default$1c = vue.defineComponent({
5821
+ name: name$Q,
5810
5822
  props: pickerToolbarProps$1,
5811
5823
  emits: ["confirm", "cancel"],
5812
5824
  setup(props, {
@@ -5820,7 +5832,7 @@ var stdin_default$1b = vue.defineComponent({
5820
5832
  return vue.createVNode(Button, {
5821
5833
  "type": "default",
5822
5834
  "hairline": true,
5823
- "class": bem$Q("cancel"),
5835
+ "class": bem$R("cancel"),
5824
5836
  "onClick": onCancel
5825
5837
  }, {
5826
5838
  default: () => [slots.cancel ? slots.cancel() : text]
@@ -5830,14 +5842,14 @@ var stdin_default$1b = vue.defineComponent({
5830
5842
  const text = props.confirmButtonText || t$5("confirm");
5831
5843
  return vue.createVNode(Button, {
5832
5844
  "type": "primary",
5833
- "class": [bem$Q("confirm"), HAPTICS_FEEDBACK],
5845
+ "class": [bem$R("confirm"), HAPTICS_FEEDBACK],
5834
5846
  "onClick": onConfirm
5835
5847
  }, {
5836
5848
  default: () => [slots.confirm ? slots.confirm() : text]
5837
5849
  });
5838
5850
  };
5839
5851
  return () => vue.createVNode("div", {
5840
- "class": bem$Q("toolbar")
5852
+ "class": bem$R("toolbar")
5841
5853
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderConfirm()]]);
5842
5854
  }
5843
5855
  });
@@ -5861,8 +5873,8 @@ const pickerProps = extend({}, pickerSharedProps$1, {
5861
5873
  showPicker: Boolean,
5862
5874
  popup: truthProp
5863
5875
  });
5864
- var stdin_default$1a = vue.defineComponent({
5865
- name: name$R,
5876
+ var stdin_default$1b = vue.defineComponent({
5877
+ name: name$S,
5866
5878
  props: pickerProps,
5867
5879
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
5868
5880
  setup(props, {
@@ -5948,7 +5960,7 @@ var stdin_default$1a = vue.defineComponent({
5948
5960
  };
5949
5961
  const updateShow = (value) => emit("update:showPicker", value);
5950
5962
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
5951
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1c, {
5963
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1d, {
5952
5964
  "value": selectedValues.value[columnIndex],
5953
5965
  "fields": fields.value,
5954
5966
  "options": options,
@@ -5972,10 +5984,10 @@ var stdin_default$1a = vue.defineComponent({
5972
5984
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
5973
5985
  };
5974
5986
  return [vue.createVNode("div", {
5975
- "class": bem$Q("mask"),
5987
+ "class": bem$R("mask"),
5976
5988
  "style": maskStyle
5977
5989
  }, null), vue.createVNode("div", {
5978
- "class": bem$Q("frame"),
5990
+ "class": bem$R("frame"),
5979
5991
  "style": frameStyle
5980
5992
  }, null)];
5981
5993
  }
@@ -5987,13 +5999,13 @@ var stdin_default$1a = vue.defineComponent({
5987
5999
  };
5988
6000
  return vue.createVNode("div", {
5989
6001
  "ref": columnsRef,
5990
- "class": bem$Q("columns"),
6002
+ "class": bem$R("columns"),
5991
6003
  "style": columnsStyle
5992
6004
  }, [renderColumnItems(), renderMask(wrapHeight)]);
5993
6005
  };
5994
6006
  const renderToolbar = () => {
5995
6007
  if (props.showToolbar) {
5996
- return vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6008
+ return vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
5997
6009
  "onConfirm": confirm,
5998
6010
  "onCancel": cancel
5999
6011
  }), pick(slots, pickerToolbarSlots$1));
@@ -6005,7 +6017,7 @@ var stdin_default$1a = vue.defineComponent({
6005
6017
  return slots["title-bar"]();
6006
6018
  }
6007
6019
  return vue.createVNode("div", {
6008
- "class": [bem$Q("title"), HAPTICS_FEEDBACK]
6020
+ "class": [bem$R("title"), HAPTICS_FEEDBACK]
6009
6021
  }, [props.title]);
6010
6022
  }
6011
6023
  };
@@ -6052,14 +6064,14 @@ var stdin_default$1a = vue.defineComponent({
6052
6064
  const renderPicker = () => {
6053
6065
  var _a, _b;
6054
6066
  return vue.createVNode("div", {
6055
- "class": bem$Q()
6067
+ "class": bem$R()
6056
6068
  }, [renderTitleBar(), props.loading ? vue.createVNode(Loading, {
6057
- "class": bem$Q("loading")
6069
+ "class": bem$R("loading")
6058
6070
  }, null) : null, topDivider(), (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), buttomDivider(), renderToolbar()]);
6059
6071
  };
6060
6072
  return () => {
6061
6073
  if (props.popup) {
6062
- return vue.createVNode(stdin_default$1J, {
6074
+ return vue.createVNode(stdin_default$1K, {
6063
6075
  "show": showPicker.value,
6064
6076
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6065
6077
  "round": true,
@@ -6114,9 +6126,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6114
6126
  }
6115
6127
  return value;
6116
6128
  });
6117
- const Picker = withInstall(stdin_default$1a);
6118
- var stdin_default$19 = Picker;
6119
- var stdin_default$18 = vue.defineComponent({
6129
+ const Picker = withInstall(stdin_default$1b);
6130
+ var stdin_default$1a = Picker;
6131
+ var stdin_default$19 = vue.defineComponent({
6120
6132
  name: "Arrow",
6121
6133
  emits: ["click"],
6122
6134
  setup(_, {
@@ -6138,13 +6150,13 @@ var stdin_default$18 = vue.defineComponent({
6138
6150
  }, null)]);
6139
6151
  }
6140
6152
  });
6141
- const [name$O, bem$O] = createNamespace("time-picker-column");
6142
- const TIME_PICKER_KEY = Symbol(name$O);
6153
+ const [name$P, bem$P] = createNamespace("time-picker-column");
6154
+ const TIME_PICKER_KEY = Symbol(name$P);
6143
6155
  const MOMENTUM_TIME$1 = 300;
6144
6156
  const MOMENTUM_DISTANCE$1 = 15;
6145
6157
  const DEFAULT_DURATION$1 = 200;
6146
- var stdin_default$17 = vue.defineComponent({
6147
- name: name$O,
6158
+ var stdin_default$18 = vue.defineComponent({
6159
+ name: name$P,
6148
6160
  props: {
6149
6161
  value: numericProp,
6150
6162
  unit: makeStringProp(""),
@@ -6276,7 +6288,7 @@ var stdin_default$17 = vue.defineComponent({
6276
6288
  role: "button",
6277
6289
  style: optionStyle,
6278
6290
  tabindex: disabled ? -1 : 0,
6279
- class: [bem$O("item", {
6291
+ class: [bem$P("item", {
6280
6292
  disabled,
6281
6293
  selected: value === props.value
6282
6294
  }), option.className],
@@ -6289,7 +6301,7 @@ var stdin_default$17 = vue.defineComponent({
6289
6301
  const renderOption = () => {
6290
6302
  if (props.unit) {
6291
6303
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("div", childData, null), vue.createVNode("span", {
6292
- "class": [bem$O("unit-text"), "zt-ellipsis"],
6304
+ "class": [bem$P("unit-text"), "zt-ellipsis"],
6293
6305
  "style": "visibility: hidden"
6294
6306
  }, [props.unit])]);
6295
6307
  }
@@ -6305,11 +6317,11 @@ var stdin_default$17 = vue.defineComponent({
6305
6317
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
6306
6318
  };
6307
6319
  return vue.createVNode("div", {
6308
- "class": bem$O("unit")
6320
+ "class": bem$P("unit")
6309
6321
  }, [vue.createVNode("span", vue.mergeProps({
6310
6322
  "style": "visibility: hidden"
6311
6323
  }, childData), null), vue.createVNode("span", {
6312
- "class": [bem$O("unit-text"), "zt-ellipsis"]
6324
+ "class": [bem$P("unit-text"), "zt-ellipsis"]
6313
6325
  }, [props.unit])]);
6314
6326
  }
6315
6327
  };
@@ -6318,11 +6330,11 @@ var stdin_default$17 = vue.defineComponent({
6318
6330
  currentDuration.value = DEFAULT_DURATION$1;
6319
6331
  updateValueByIndex(isUp ? index - 1 : index + 1);
6320
6332
  };
6321
- const renderArrow = () => [vue.createVNode(stdin_default$18, {
6322
- "class": bem$O("arrow-top"),
6333
+ const renderArrow = () => [vue.createVNode(stdin_default$19, {
6334
+ "class": bem$P("arrow-top"),
6323
6335
  "onClick": () => onArrowClick(true)
6324
- }, null), vue.createVNode(stdin_default$18, {
6325
- "class": bem$O("arrow-bottom"),
6336
+ }, null), vue.createVNode(stdin_default$19, {
6337
+ "class": bem$P("arrow-bottom"),
6326
6338
  "onClick": () => onArrowClick(false)
6327
6339
  }, null)];
6328
6340
  use.useParent(TIME_PICKER_KEY);
@@ -6343,7 +6355,7 @@ var stdin_default$17 = vue.defineComponent({
6343
6355
  return () => vue.createVNode("div", {
6344
6356
  "ref": root,
6345
6357
  "style": columnStyle,
6346
- "class": bem$O(),
6358
+ "class": bem$P(),
6347
6359
  "onTouchstartPassive": onTouchStart,
6348
6360
  "onTouchend": onTouchEnd,
6349
6361
  "onTouchcancel": onTouchEnd
@@ -6354,12 +6366,12 @@ var stdin_default$17 = vue.defineComponent({
6354
6366
  transitionDuration: `${currentDuration.value}ms`,
6355
6367
  transitionProperty: currentDuration.value ? "all" : "none"
6356
6368
  },
6357
- "class": bem$O("wrapper"),
6369
+ "class": bem$P("wrapper"),
6358
6370
  "onTransitionend": stopMomentum
6359
6371
  }, [renderOptions()]), renderArrow()]);
6360
6372
  }
6361
6373
  });
6362
- const [name$N, bem$N] = createNamespace("time-picker");
6374
+ const [name$O, bem$O] = createNamespace("time-picker");
6363
6375
  const timePickerProps = extend({}, sharedProps, {
6364
6376
  minHour: makeNumericProp(0),
6365
6377
  maxHour: makeNumericProp(23),
@@ -6376,8 +6388,8 @@ const timePickerProps = extend({}, sharedProps, {
6376
6388
  default: () => ["hour", "minute"]
6377
6389
  }
6378
6390
  });
6379
- var stdin_default$16 = vue.defineComponent({
6380
- name: name$N,
6391
+ var stdin_default$17 = vue.defineComponent({
6392
+ name: name$O,
6381
6393
  props: timePickerProps,
6382
6394
  emits: ["clickOption", "change", "update:modelValue"],
6383
6395
  setup(props, {
@@ -6451,7 +6463,7 @@ var stdin_default$16 = vue.defineComponent({
6451
6463
  currentOption
6452
6464
  }, getEventParams()));
6453
6465
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6454
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$17, {
6466
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$18, {
6455
6467
  "value": selectedValues.value[columnIndex],
6456
6468
  "fields": fields.value,
6457
6469
  "options": options,
@@ -6470,9 +6482,9 @@ var stdin_default$16 = vue.defineComponent({
6470
6482
  const separatorCount = currentColumns.value && currentColumns.value.length - 1;
6471
6483
  if (separatorCount > 0) {
6472
6484
  return vue.createVNode("div", {
6473
- "class": bem$N("separator")
6485
+ "class": bem$O("separator")
6474
6486
  }, [Array(separatorCount).fill(null).map(() => vue.createVNode("span", {
6475
- "class": bem$N("colon")
6487
+ "class": bem$O("colon")
6476
6488
  }, null))]);
6477
6489
  }
6478
6490
  };
@@ -6483,7 +6495,7 @@ var stdin_default$16 = vue.defineComponent({
6483
6495
  };
6484
6496
  return vue.createVNode("div", {
6485
6497
  "ref": columnsRef,
6486
- "class": bem$N("columns"),
6498
+ "class": bem$O("columns"),
6487
6499
  "style": columnsStyle
6488
6500
  }, [renderSeparators(), renderColumnItems()]);
6489
6501
  };
@@ -6516,13 +6528,13 @@ var stdin_default$16 = vue.defineComponent({
6516
6528
  target: columnsRef
6517
6529
  });
6518
6530
  return () => vue.createVNode("div", {
6519
- "class": bem$N()
6531
+ "class": bem$O()
6520
6532
  }, [renderColumns()]);
6521
6533
  }
6522
6534
  });
6523
- const TimePicker = withInstall(stdin_default$16);
6524
- var stdin_default$15 = TimePicker;
6525
- const [name$M, bem$M] = createNamespace("date-time-picker-wrapper");
6535
+ const TimePicker = withInstall(stdin_default$17);
6536
+ var stdin_default$16 = TimePicker;
6537
+ const [name$N, bem$N] = createNamespace("date-time-picker-wrapper");
6526
6538
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
6527
6539
  const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6528
6540
  range: Boolean,
@@ -6545,8 +6557,8 @@ const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6545
6557
  startValue: makeArrayProp(),
6546
6558
  endValue: makeArrayProp()
6547
6559
  });
6548
- var stdin_default$14 = vue.defineComponent({
6549
- name: name$M,
6560
+ var stdin_default$15 = vue.defineComponent({
6561
+ name: name$N,
6550
6562
  props: dateTimePickerProps,
6551
6563
  emits: ["change", "update:modelValue"],
6552
6564
  setup(props, {
@@ -6740,7 +6752,7 @@ var stdin_default$14 = vue.defineComponent({
6740
6752
  });
6741
6753
  const hasDateColumn = props.columnsType.includes("year") || props.columnsType.includes("month") || props.columnsType.includes("day");
6742
6754
  const hasTimeColumn = props.columnsType.includes("hour") || props.columnsType.includes("minute") || props.columnsType.includes("second");
6743
- const renderTimePicker = () => vue.createVNode(stdin_default$15, {
6755
+ const renderTimePicker = () => vue.createVNode(stdin_default$16, {
6744
6756
  "modelValue": timeValuesRef.value,
6745
6757
  "onUpdate:modelValue": ($event) => timeValuesRef.value = $event,
6746
6758
  "columnsUnit": timeUnits.value,
@@ -6748,10 +6760,10 @@ var stdin_default$14 = vue.defineComponent({
6748
6760
  "columnsType": timeColumnsType.value
6749
6761
  }, null);
6750
6762
  const renderPicker = () => vue.createVNode("div", {
6751
- "class": bem$M()
6763
+ "class": bem$N()
6752
6764
  }, [hasDateColumn ? vue.createVNode(Divider, {
6753
6765
  "style": "margin: 0"
6754
- }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$19, vue.mergeProps({
6766
+ }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$1a, vue.mergeProps({
6755
6767
  "popup": false,
6756
6768
  "columnsUnit": dateUnits.value,
6757
6769
  "modelValue": dateValuesRef.value,
@@ -6765,9 +6777,9 @@ var stdin_default$14 = vue.defineComponent({
6765
6777
  return () => renderPicker();
6766
6778
  }
6767
6779
  });
6768
- const [name$L, bem$L] = createNamespace("date-time-picker");
6769
- var stdin_default$13 = vue.defineComponent({
6770
- name: name$L,
6780
+ const [name$M, bem$M] = createNamespace("date-time-picker");
6781
+ var stdin_default$14 = vue.defineComponent({
6782
+ name: name$M,
6771
6783
  props: dateTimePickerProps,
6772
6784
  emits: ["confirm", "cancel", "change", "startChange", "endChange", "update:show", "update:modelValue", "update:startValue", "update:endValue"],
6773
6785
  setup(props, {
@@ -6907,17 +6919,17 @@ var stdin_default$13 = vue.defineComponent({
6907
6919
  const renderTitle = () => {
6908
6920
  if (!props.range) {
6909
6921
  return vue.createVNode("div", {
6910
- "class": bem$L("title-bar")
6922
+ "class": bem$M("title-bar")
6911
6923
  }, [vue.createVNode("div", {
6912
- "class": [ELLIPSIS, bem$L("title")]
6924
+ "class": [ELLIPSIS, bem$M("title")]
6913
6925
  }, [props.title]), vue.createVNode("div", {
6914
- "class": [ELLIPSIS, bem$L("value")]
6926
+ "class": [ELLIPSIS, bem$M("value")]
6915
6927
  }, [currentText.value])]);
6916
6928
  }
6917
6929
  return vue.createVNode("div", {
6918
- "class": bem$L("title-tab-bar")
6930
+ "class": bem$M("title-tab-bar")
6919
6931
  }, [vue.createVNode("div", {
6920
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6932
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6921
6933
  selected: rangeSelectedIndex.value === 0,
6922
6934
  unselected: rangeSelectedIndex.value === 1
6923
6935
  })],
@@ -6925,16 +6937,16 @@ var stdin_default$13 = vue.defineComponent({
6925
6937
  rangeSelectedIndex.value = 0;
6926
6938
  }
6927
6939
  }, [vue.createVNode("div", {
6928
- "class": [ELLIPSIS, bem$L("title", {
6940
+ "class": [ELLIPSIS, bem$M("title", {
6929
6941
  selected: rangeSelectedIndex.value === 0,
6930
6942
  unselected: rangeSelectedIndex.value === 1
6931
6943
  })]
6932
6944
  }, [vue.createTextVNode("开始时间")]), vue.createVNode("div", {
6933
- "class": [ELLIPSIS, bem$L("value")]
6945
+ "class": [ELLIPSIS, bem$M("value")]
6934
6946
  }, [currentStartText.value])]), vue.createVNode("span", {
6935
- "class": bem$L("title-separator")
6947
+ "class": bem$M("title-separator")
6936
6948
  }, null), vue.createVNode("div", {
6937
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6949
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6938
6950
  selected: rangeSelectedIndex.value === 1,
6939
6951
  unselected: rangeSelectedIndex.value === 0
6940
6952
  })],
@@ -6942,17 +6954,17 @@ var stdin_default$13 = vue.defineComponent({
6942
6954
  rangeSelectedIndex.value = 1;
6943
6955
  }
6944
6956
  }, [vue.createVNode("div", {
6945
- "class": [ELLIPSIS, bem$L("title", {
6957
+ "class": [ELLIPSIS, bem$M("title", {
6946
6958
  selected: rangeSelectedIndex.value === 1,
6947
6959
  unselected: rangeSelectedIndex.value === 0
6948
6960
  })]
6949
6961
  }, [vue.createTextVNode("结束时间")]), vue.createVNode("div", {
6950
- "class": [ELLIPSIS, bem$L("value")]
6962
+ "class": [ELLIPSIS, bem$M("value")]
6951
6963
  }, [currentEndText.value])])]);
6952
6964
  };
6953
6965
  const renderPicker = () => {
6954
6966
  if (!props.range) {
6955
- return vue.createVNode(stdin_default$14, vue.mergeProps({
6967
+ return vue.createVNode(stdin_default$15, vue.mergeProps({
6956
6968
  "ref": currentPickerRef,
6957
6969
  "modelValue": props.modelValue,
6958
6970
  "onUpdate:modelValue": ($event) => props.modelValue = $event,
@@ -6964,7 +6976,7 @@ var stdin_default$13 = vue.defineComponent({
6964
6976
  showTitle: false
6965
6977
  })), null);
6966
6978
  }
6967
- return [vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
6979
+ return [vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
6968
6980
  "ref": currentStartPickerRef,
6969
6981
  "modelValue": props.startValue,
6970
6982
  "onUpdate:modelValue": ($event) => props.startValue = $event,
@@ -6974,7 +6986,7 @@ var stdin_default$13 = vue.defineComponent({
6974
6986
  "minDate": props.minDate
6975
6987
  }, extend(pick(props, pickerInheritKeys), {
6976
6988
  showTitle: false
6977
- })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
6989
+ })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
6978
6990
  "ref": currentEndPickerRef,
6979
6991
  "modelValue": props.endValue,
6980
6992
  "onUpdate:modelValue": ($event) => props.endValue = $event,
@@ -6988,15 +7000,15 @@ var stdin_default$13 = vue.defineComponent({
6988
7000
  };
6989
7001
  const renderToolbar = () => {
6990
7002
  if (props.showToolbar) {
6991
- return [vue.createVNode(stdin_default$1n, {
7003
+ return [vue.createVNode(stdin_default$1o, {
6992
7004
  "style": "margin: 0"
6993
- }, null), vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
7005
+ }, null), vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6994
7006
  "onConfirm": onConfirm,
6995
7007
  "onCancel": onCancel
6996
7008
  }), pick(slots, pickerToolbarSlots$1))];
6997
7009
  }
6998
7010
  };
6999
- return () => vue.createVNode(stdin_default$1K, {
7011
+ return () => vue.createVNode(stdin_default$1L, {
7000
7012
  "round": true,
7001
7013
  "position": "bottom",
7002
7014
  "onOpen": onOpen,
@@ -7007,8 +7019,8 @@ var stdin_default$13 = vue.defineComponent({
7007
7019
  });
7008
7020
  }
7009
7021
  });
7010
- const DateTimePicker = withInstall(stdin_default$13);
7011
- const [name$K, bem$K, t$4] = createNamespace("dialog");
7022
+ const DateTimePicker = withInstall(stdin_default$14);
7023
+ const [name$L, bem$L, t$4] = createNamespace("dialog");
7012
7024
  const dialogProps = extend({}, popupSharedProps, {
7013
7025
  title: String,
7014
7026
  primaryHeader: Boolean,
@@ -7032,8 +7044,8 @@ const dialogProps = extend({}, popupSharedProps, {
7032
7044
  closeOnClickOverlay: Boolean
7033
7045
  });
7034
7046
  const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
7035
- var stdin_default$12 = vue.defineComponent({
7036
- name: name$K,
7047
+ var stdin_default$13 = vue.defineComponent({
7048
+ name: name$L,
7037
7049
  props: dialogProps,
7038
7050
  emits: ["confirm", "cancel", "keydown", "update:show"],
7039
7051
  setup(props, {
@@ -7097,7 +7109,7 @@ var stdin_default$12 = vue.defineComponent({
7097
7109
  // }])}
7098
7110
  // >
7099
7111
  vue.createVNode("div", {
7100
- "class": bem$K("header", {
7112
+ "class": bem$L("header", {
7101
7113
  isolated: !props.message && !slots.default,
7102
7114
  "custom-title": !!slots.title,
7103
7115
  primary: props.primaryHeader
@@ -7120,7 +7132,7 @@ var stdin_default$12 = vue.defineComponent({
7120
7132
  } else if (hasTitle) {
7121
7133
  mods["has-title"] = hasTitle;
7122
7134
  }
7123
- const classNames = bem$K("message", mods);
7135
+ const classNames = bem$L("message", mods);
7124
7136
  const content = isFunction(message) ? message() : message;
7125
7137
  if (allowHtml && typeof content === "string") {
7126
7138
  return vue.createVNode("div", {
@@ -7135,7 +7147,7 @@ var stdin_default$12 = vue.defineComponent({
7135
7147
  const renderContent = () => {
7136
7148
  if (slots.default) {
7137
7149
  return vue.createVNode("div", {
7138
- "class": bem$K("content")
7150
+ "class": bem$L("content")
7139
7151
  }, [slots.default()]);
7140
7152
  }
7141
7153
  const {
@@ -7147,19 +7159,19 @@ var stdin_default$12 = vue.defineComponent({
7147
7159
  const hasTitle = !!(title || slots.title);
7148
7160
  return vue.createVNode("div", {
7149
7161
  "key": allowHtml ? 1 : 0,
7150
- "class": bem$K("content", {
7162
+ "class": bem$L("content", {
7151
7163
  isolated: !hasTitle
7152
7164
  })
7153
7165
  }, [renderMessage(hasTitle)]);
7154
7166
  }
7155
7167
  };
7156
7168
  const renderButtons = () => vue.createVNode("div", {
7157
- "class": bem$K("footer")
7169
+ "class": bem$L("footer")
7158
7170
  }, [props.showCancelButton && vue.createVNode(Button, {
7159
7171
  "type": "default",
7160
7172
  "hairline": true,
7161
7173
  "text": props.cancelButtonText || t$4("cancel"),
7162
- "class": bem$K("cancel"),
7174
+ "class": bem$L("cancel"),
7163
7175
  "style": {
7164
7176
  color: props.cancelButtonColor
7165
7177
  },
@@ -7169,7 +7181,7 @@ var stdin_default$12 = vue.defineComponent({
7169
7181
  }, null), props.showConfirmButton && vue.createVNode(Button, {
7170
7182
  "type": "primary",
7171
7183
  "text": props.confirmButtonText || t$4("confirm"),
7172
- "class": bem$K("confirm", {
7184
+ "class": bem$L("confirm", {
7173
7185
  "with-cancel": props.showCancelButton
7174
7186
  }),
7175
7187
  "style": {
@@ -7196,7 +7208,7 @@ var stdin_default$12 = vue.defineComponent({
7196
7208
  return vue.createVNode(Popup, vue.mergeProps({
7197
7209
  "ref": root,
7198
7210
  "role": "dialog",
7199
- "class": [bem$K([theme]), className],
7211
+ "class": [bem$L([theme]), className],
7200
7212
  "style": {
7201
7213
  width: addUnit(width)
7202
7214
  },
@@ -7246,7 +7258,7 @@ function initInstance$2() {
7246
7258
  state,
7247
7259
  toggle
7248
7260
  } = usePopupState();
7249
- return () => vue.createVNode(stdin_default$12, vue.mergeProps(state, {
7261
+ return () => vue.createVNode(stdin_default$13, vue.mergeProps(state, {
7250
7262
  "onUpdate:show": toggle
7251
7263
  }), null);
7252
7264
  }
@@ -7284,8 +7296,8 @@ const closeDialog = () => {
7284
7296
  instance$2.toggle(false);
7285
7297
  }
7286
7298
  };
7287
- const Dialog = withInstall(stdin_default$12);
7288
- const [name$J, bem$J] = createNamespace("dropdown-menu");
7299
+ const Dialog = withInstall(stdin_default$13);
7300
+ const [name$K, bem$K] = createNamespace("dropdown-menu");
7289
7301
  const dropdownMenuProps = {
7290
7302
  overlay: truthProp,
7291
7303
  zIndex: numericProp,
@@ -7295,9 +7307,9 @@ const dropdownMenuProps = {
7295
7307
  closeOnClickOutside: truthProp,
7296
7308
  closeOnClickOverlay: truthProp
7297
7309
  };
7298
- const DROPDOWN_KEY = Symbol(name$J);
7299
- var stdin_default$11 = vue.defineComponent({
7300
- name: name$J,
7310
+ const DROPDOWN_KEY = Symbol(name$K);
7311
+ var stdin_default$12 = vue.defineComponent({
7312
+ name: name$K,
7301
7313
  props: dropdownMenuProps,
7302
7314
  setup(props, {
7303
7315
  slots
@@ -7364,7 +7376,7 @@ var stdin_default$11 = vue.defineComponent({
7364
7376
  "id": `${id}-${index}`,
7365
7377
  "role": "button",
7366
7378
  "tabindex": disabled ? void 0 : 0,
7367
- "class": [bem$J("item", {
7379
+ "class": [bem$K("item", {
7368
7380
  disabled
7369
7381
  }), {
7370
7382
  [HAPTICS_FEEDBACK]: !disabled
@@ -7375,7 +7387,7 @@ var stdin_default$11 = vue.defineComponent({
7375
7387
  }
7376
7388
  }
7377
7389
  }, [vue.createVNode("span", {
7378
- "class": [bem$J("title", {
7390
+ "class": [bem$K("title", {
7379
7391
  down: showPopup === (props.direction === "down"),
7380
7392
  active: showPopup
7381
7393
  }), titleClass],
@@ -7385,8 +7397,8 @@ var stdin_default$11 = vue.defineComponent({
7385
7397
  }, [vue.createVNode("div", {
7386
7398
  "class": "zt-ellipsis",
7387
7399
  "style": "padding-right: 18px"
7388
- }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1M, {
7389
- "class": bem$J("icon"),
7400
+ }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1N, {
7401
+ "class": bem$K("icon"),
7390
7402
  "name": "spinner-expand"
7391
7403
  }, null)])])]);
7392
7404
  };
@@ -7405,18 +7417,18 @@ var stdin_default$11 = vue.defineComponent({
7405
7417
  var _a;
7406
7418
  return vue.createVNode("div", {
7407
7419
  "ref": root,
7408
- "class": bem$J()
7420
+ "class": bem$K()
7409
7421
  }, [vue.createVNode("div", {
7410
7422
  "ref": barRef,
7411
7423
  "style": barStyle.value,
7412
- "class": bem$J("bar", {
7424
+ "class": bem$K("bar", {
7413
7425
  opened: opened.value
7414
7426
  })
7415
7427
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
7416
7428
  };
7417
7429
  }
7418
7430
  });
7419
- const [name$I, bem$I] = createNamespace("dropdown-item");
7431
+ const [name$J, bem$J] = createNamespace("dropdown-item");
7420
7432
  const dropdownItemProps = {
7421
7433
  title: String,
7422
7434
  options: makeArrayProp(),
@@ -7428,8 +7440,8 @@ const dropdownItemProps = {
7428
7440
  titleClass: unknownProp,
7429
7441
  multiSelect: Boolean
7430
7442
  };
7431
- var stdin_default$10 = vue.defineComponent({
7432
- name: name$I,
7443
+ var stdin_default$11 = vue.defineComponent({
7444
+ name: name$J,
7433
7445
  inheritAttrs: false,
7434
7446
  props: dropdownItemProps,
7435
7447
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue", "reset", "confirm"],
@@ -7564,7 +7576,7 @@ var stdin_default$10 = vue.defineComponent({
7564
7576
  }
7565
7577
  if (active) {
7566
7578
  return vue.createVNode(Icon, {
7567
- "class": bem$I("icon"),
7579
+ "class": bem$J("icon"),
7568
7580
  "color": activeColor,
7569
7581
  "name": "success"
7570
7582
  }, null);
@@ -7577,7 +7589,7 @@ var stdin_default$10 = vue.defineComponent({
7577
7589
  "title-icon": option.icon,
7578
7590
  "title": option.text,
7579
7591
  "direction": "horizontal",
7580
- "class": [bem$I("option", {
7592
+ "class": [bem$J("option", {
7581
7593
  active
7582
7594
  }), HAPTICS_FEEDBACK],
7583
7595
  "style": {
@@ -7596,7 +7608,7 @@ var stdin_default$10 = vue.defineComponent({
7596
7608
  "title-icon": option.icon,
7597
7609
  "title": option.text,
7598
7610
  "direction": "horizontal",
7599
- "class": [bem$I("option", {
7611
+ "class": [bem$J("option", {
7600
7612
  active
7601
7613
  }), HAPTICS_FEEDBACK],
7602
7614
  "style": {
@@ -7645,13 +7657,13 @@ var stdin_default$10 = vue.defineComponent({
7645
7657
  }
7646
7658
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
7647
7659
  "style": style,
7648
- "class": bem$I([direction]),
7660
+ "class": bem$J([direction]),
7649
7661
  "onClick": onClickWrapper
7650
7662
  }, attrs), [vue.createVNode(Popup, {
7651
7663
  "show": state.showPopup,
7652
7664
  "onUpdate:show": ($event) => state.showPopup = $event,
7653
7665
  "role": "menu",
7654
- "class": bem$I("content"),
7666
+ "class": bem$J("content"),
7655
7667
  "style": contentStyle,
7656
7668
  "overlay": overlay,
7657
7669
  "position": direction === "down" ? "top" : "bottom",
@@ -7670,20 +7682,20 @@ var stdin_default$10 = vue.defineComponent({
7670
7682
  default: () => {
7671
7683
  var _a;
7672
7684
  return [vue.withDirectives(vue.createVNode("div", null, [props.options.map(renderOption)]), [[vue.vShow, !props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7673
- "class": bem$I("options"),
7685
+ "class": bem$J("options"),
7674
7686
  "style": optionsStyle
7675
7687
  }, [props.options.map(renderOption)]), [[vue.vShow, props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7676
- "class": bem$I("button"),
7688
+ "class": bem$J("button"),
7677
7689
  "style": buttonStyle
7678
7690
  }, [vue.createVNode(Button, {
7679
7691
  "onClick": onClickReset,
7680
- "class": bem$I("button-reset")
7692
+ "class": bem$J("button-reset")
7681
7693
  }, {
7682
7694
  default: () => [vue.createTextVNode("重置")]
7683
7695
  }), vue.createVNode(Button, {
7684
7696
  "type": "primary",
7685
7697
  "onClick": onClickConfirm,
7686
- "class": bem$I("button-confirm")
7698
+ "class": bem$J("button-confirm")
7687
7699
  }, {
7688
7700
  default: () => [vue.createTextVNode("确定")]
7689
7701
  })]), [[vue.vShow, props.multiSelect]]), (_a = slots.default) == null ? void 0 : _a.call(slots)];
@@ -7707,8 +7719,8 @@ var stdin_default$10 = vue.defineComponent({
7707
7719
  };
7708
7720
  }
7709
7721
  });
7710
- const DropdownItem = withInstall(stdin_default$10);
7711
- const DropdownMenu = withInstall(stdin_default$11);
7722
+ const DropdownItem = withInstall(stdin_default$11);
7723
+ const DropdownMenu = withInstall(stdin_default$12);
7712
7724
  const renderNotFound = (bem2) => vue.createVNode("svg", {
7713
7725
  "xmlns": "http://www.w3.org/2000/svg",
7714
7726
  "viewBox": "0 0 160 160",
@@ -8842,7 +8854,7 @@ const renderNoCollect = (bem2) => vue.createVNode("svg", {
8842
8854
  "fill": "#FFF",
8843
8855
  "xlink:href": "#4roobwtpf__8hxpuw7vce"
8844
8856
  }, null)])])]);
8845
- const [name$H, bem$H] = createNamespace("empty");
8857
+ const [name$I, bem$I] = createNamespace("empty");
8846
8858
  const PRESET_IMAGES = {
8847
8859
  default: renderNotFound,
8848
8860
  error: renderNotFound,
@@ -8862,8 +8874,8 @@ const emptyProps = {
8862
8874
  imageSize: [Number, String, Array],
8863
8875
  description: String
8864
8876
  };
8865
- var stdin_default$$ = vue.defineComponent({
8866
- name: name$H,
8877
+ var stdin_default$10 = vue.defineComponent({
8878
+ name: name$I,
8867
8879
  props: emptyProps,
8868
8880
  setup(props, {
8869
8881
  slots
@@ -8873,7 +8885,7 @@ var stdin_default$$ = vue.defineComponent({
8873
8885
  if (slots.image) {
8874
8886
  return slots.image();
8875
8887
  }
8876
- return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$H)) || vue.createVNode("img", {
8888
+ return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$I)) || vue.createVNode("img", {
8877
8889
  "src": props.image
8878
8890
  }, null);
8879
8891
  };
@@ -8881,26 +8893,26 @@ var stdin_default$$ = vue.defineComponent({
8881
8893
  const description = slots.description ? slots.description() : props.description;
8882
8894
  if (description) {
8883
8895
  return vue.createVNode("p", {
8884
- "class": bem$H("description")
8896
+ "class": bem$I("description")
8885
8897
  }, [description]);
8886
8898
  }
8887
8899
  };
8888
8900
  const renderBottom = () => {
8889
8901
  if (slots.default) {
8890
8902
  return vue.createVNode("div", {
8891
- "class": bem$H("bottom")
8903
+ "class": bem$I("bottom")
8892
8904
  }, [slots.default()]);
8893
8905
  }
8894
8906
  };
8895
8907
  return () => vue.createVNode("div", {
8896
- "class": bem$H()
8908
+ "class": bem$I()
8897
8909
  }, [vue.createVNode("div", {
8898
- "class": bem$H("image"),
8910
+ "class": bem$I("image"),
8899
8911
  "style": getSizeStyle(props.imageSize)
8900
8912
  }, [renderImage()]), renderDescription(), renderBottom()]);
8901
8913
  }
8902
8914
  });
8903
- const Empty = withInstall(stdin_default$$);
8915
+ const Empty = withInstall(stdin_default$10);
8904
8916
  function isEmptyValue(value) {
8905
8917
  if (Array.isArray(value)) {
8906
8918
  return !value.length;
@@ -8989,7 +9001,7 @@ function getStringLength(str) {
8989
9001
  function cutString(str, maxlength) {
8990
9002
  return [...str].slice(0, maxlength).join("");
8991
9003
  }
8992
- const [name$G, bem$G] = createNamespace("field");
9004
+ const [name$H, bem$H] = createNamespace("field");
8993
9005
  const fieldSharedProps = {
8994
9006
  id: String,
8995
9007
  name: String,
@@ -9039,8 +9051,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
9039
9051
  default: null
9040
9052
  }
9041
9053
  });
9042
- var stdin_default$_ = vue.defineComponent({
9043
- name: name$G,
9054
+ var stdin_default$$ = vue.defineComponent({
9055
+ name: name$H,
9044
9056
  props: fieldProps,
9045
9057
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
9046
9058
  setup(props, {
@@ -9272,7 +9284,7 @@ var stdin_default$_ = vue.defineComponent({
9272
9284
  const getInputId = () => props.id || `${id}-input`;
9273
9285
  const getValidationStatus = () => state.status;
9274
9286
  const renderInput = () => {
9275
- const controlClass = bem$G("control", [getProp("inputAlign"), {
9287
+ const controlClass = bem$H("control", [getProp("inputAlign"), {
9276
9288
  error: showError.value,
9277
9289
  custom: !!slots.input,
9278
9290
  "min-height": props.type === "textarea" && !props.autosize
@@ -9310,7 +9322,7 @@ var stdin_default$_ = vue.defineComponent({
9310
9322
  }
9311
9323
  if (props.type === "password") {
9312
9324
  return vue.createVNode("div", {
9313
- "class": bem$G("password")
9325
+ "class": bem$H("password")
9314
9326
  }, [vue.createVNode("input", vue.mergeProps({
9315
9327
  "type": state.showPassword ? "text" : "password"
9316
9328
  }, inputAttrs), null), vue.createVNode(Icon, {
@@ -9324,7 +9336,7 @@ var stdin_default$_ = vue.defineComponent({
9324
9336
  const leftIconSlot = slots["left-icon"];
9325
9337
  if (props.leftIcon || leftIconSlot) {
9326
9338
  return vue.createVNode("div", {
9327
- "class": bem$G("left-icon"),
9339
+ "class": bem$H("left-icon"),
9328
9340
  "onClick": onClickLeftIcon
9329
9341
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
9330
9342
  "name": props.leftIcon,
@@ -9336,7 +9348,7 @@ var stdin_default$_ = vue.defineComponent({
9336
9348
  const titleIconSlot = slots["title-icon"];
9337
9349
  if (props.titleIcon || titleIconSlot) {
9338
9350
  return vue.createVNode("div", {
9339
- "class": bem$G("title-icon")
9351
+ "class": bem$H("title-icon")
9340
9352
  }, [titleIconSlot ? titleIconSlot() : vue.createVNode(Icon, {
9341
9353
  "name": props.titleIcon,
9342
9354
  "classPrefix": props.iconPrefix
@@ -9347,7 +9359,7 @@ var stdin_default$_ = vue.defineComponent({
9347
9359
  const rightIconSlot = slots["right-icon"];
9348
9360
  if (props.rightIcon || rightIconSlot) {
9349
9361
  return vue.createVNode("div", {
9350
- "class": bem$G("right-icon"),
9362
+ "class": bem$H("right-icon"),
9351
9363
  "onClick": onClickRightIcon
9352
9364
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
9353
9365
  "name": props.rightIcon,
@@ -9359,9 +9371,9 @@ var stdin_default$_ = vue.defineComponent({
9359
9371
  if (props.showWordLimit && props.maxlength) {
9360
9372
  const count = getStringLength(getModelValue());
9361
9373
  return vue.createVNode("div", {
9362
- "class": bem$G("word-limit")
9374
+ "class": bem$H("word-limit")
9363
9375
  }, [vue.createVNode("span", {
9364
- "class": bem$G("word-num", count >= +props.maxlength ? "exceed" : "")
9376
+ "class": bem$H("word-num", count >= +props.maxlength ? "exceed" : "")
9365
9377
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
9366
9378
  }
9367
9379
  };
@@ -9370,7 +9382,7 @@ var stdin_default$_ = vue.defineComponent({
9370
9382
  return;
9371
9383
  }
9372
9384
  return vue.createVNode("div", {
9373
- "class": [bem$G("description"), props.descriptionClass]
9385
+ "class": [bem$H("description"), props.descriptionClass]
9374
9386
  }, [props.description]);
9375
9387
  };
9376
9388
  const showMessage = vue.computed(() => !(form && form.props.showErrorMessage === false) && (props.errorMessage || state.validateMessage));
@@ -9383,7 +9395,7 @@ var stdin_default$_ = vue.defineComponent({
9383
9395
  const slot = slots["error-message"];
9384
9396
  const errorMessageAlign = getProp("errorMessageAlign");
9385
9397
  return vue.createVNode("div", {
9386
- "class": bem$G("error-message", errorMessageAlign)
9398
+ "class": bem$H("error-message", errorMessageAlign)
9387
9399
  }, [slot ? slot({
9388
9400
  message
9389
9401
  }) : message]);
@@ -9394,7 +9406,7 @@ var stdin_default$_ = vue.defineComponent({
9394
9406
  return;
9395
9407
  }
9396
9408
  return vue.createVNode("div", {
9397
- "class": bem$G("bottom")
9409
+ "class": bem$H("bottom")
9398
9410
  }, [renderDescription(), renderMessage()]);
9399
9411
  };
9400
9412
  const renderLabel = () => {
@@ -9410,13 +9422,13 @@ var stdin_default$_ = vue.defineComponent({
9410
9422
  }
9411
9423
  };
9412
9424
  const renderFieldBody = () => [vue.createVNode("div", {
9413
- "class": bem$G("body")
9425
+ "class": bem$H("body")
9414
9426
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
9415
9427
  "ref": clearIconRef,
9416
9428
  "name": props.clearIcon,
9417
- "class": bem$G("clear")
9429
+ "class": bem$H("clear")
9418
9430
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
9419
- "class": bem$G("button")
9431
+ "class": bem$H("button")
9420
9432
  }, [slots.button()])]), renderWordLimit()];
9421
9433
  useExpose({
9422
9434
  blur,
@@ -9458,7 +9470,7 @@ var stdin_default$_ = vue.defineComponent({
9458
9470
  "direction": props.direction,
9459
9471
  "title-icon": props.titleIcon,
9460
9472
  "left-icon": props.leftIcon,
9461
- "class": bem$G({
9473
+ "class": bem$H({
9462
9474
  error: showError.value,
9463
9475
  disabled,
9464
9476
  readonly,
@@ -9472,8 +9484,8 @@ var stdin_default$_ = vue.defineComponent({
9472
9484
  "isLink": props.isLink,
9473
9485
  "clickable": props.clickable,
9474
9486
  "titleStyle": labelStyle.value,
9475
- "valueClass": bem$G("value"),
9476
- "titleClass": [bem$G("label", [labelAlign, {
9487
+ "valueClass": bem$H("value"),
9488
+ "titleClass": [bem$H("label", [labelAlign, {
9477
9489
  required: props.required
9478
9490
  }]), props.labelClass],
9479
9491
  "arrowDirection": props.arrowDirection
@@ -9488,7 +9500,179 @@ var stdin_default$_ = vue.defineComponent({
9488
9500
  };
9489
9501
  }
9490
9502
  });
9491
- const Field = withInstall(stdin_default$_);
9503
+ const Field = withInstall(stdin_default$$);
9504
+ const floatingBubbleProps = {
9505
+ gap: makeNumberProp(24),
9506
+ icon: String,
9507
+ axis: makeStringProp("y"),
9508
+ magnetic: String,
9509
+ offset: {
9510
+ type: Object,
9511
+ default: () => ({
9512
+ x: -1,
9513
+ y: -1
9514
+ })
9515
+ },
9516
+ teleport: {
9517
+ type: [String, Object],
9518
+ default: "body"
9519
+ }
9520
+ };
9521
+ const [name$G, bem$G] = createNamespace("floating-bubble");
9522
+ var stdin_default$_ = vue.defineComponent({
9523
+ name: name$G,
9524
+ inheritAttrs: false,
9525
+ props: floatingBubbleProps,
9526
+ emits: ["click", "update:offset", "offsetChange"],
9527
+ setup(props, {
9528
+ slots,
9529
+ emit,
9530
+ attrs
9531
+ }) {
9532
+ const rootRef = vue.ref();
9533
+ const state = vue.ref({
9534
+ x: 0,
9535
+ y: 0,
9536
+ width: 0,
9537
+ height: 0
9538
+ });
9539
+ const boundary = vue.computed(() => ({
9540
+ top: props.gap,
9541
+ right: windowWidth.value - state.value.width - props.gap,
9542
+ bottom: windowHeight.value - state.value.height - props.gap,
9543
+ left: props.gap
9544
+ }));
9545
+ const dragging = vue.ref(false);
9546
+ let initialized = false;
9547
+ const rootStyle = vue.computed(() => {
9548
+ const style = {};
9549
+ const x = addUnit(state.value.x);
9550
+ const y = addUnit(state.value.y);
9551
+ style.transform = `translate3d(${x}, ${y}, 0)`;
9552
+ if (dragging.value || !initialized) {
9553
+ style.transition = "none";
9554
+ }
9555
+ return style;
9556
+ });
9557
+ const updateState = () => {
9558
+ if (!show.value)
9559
+ return;
9560
+ const {
9561
+ width,
9562
+ height
9563
+ } = use.useRect(rootRef.value);
9564
+ const {
9565
+ offset
9566
+ } = props;
9567
+ state.value = {
9568
+ x: offset.x > -1 ? offset.x : windowWidth.value - width - props.gap,
9569
+ y: offset.y > -1 ? offset.y : windowHeight.value - height - props.gap,
9570
+ width,
9571
+ height
9572
+ };
9573
+ };
9574
+ const touch = useTouch();
9575
+ let prevX = 0;
9576
+ let prevY = 0;
9577
+ const onTouchStart = (e) => {
9578
+ touch.start(e);
9579
+ dragging.value = true;
9580
+ prevX = state.value.x;
9581
+ prevY = state.value.y;
9582
+ };
9583
+ const onTouchMove = (e) => {
9584
+ e.preventDefault();
9585
+ touch.move(e);
9586
+ if (props.axis === "lock")
9587
+ return;
9588
+ if (!touch.isTap.value) {
9589
+ if (props.axis === "x" || props.axis === "xy") {
9590
+ let nextX = prevX + touch.deltaX.value;
9591
+ if (nextX < boundary.value.left)
9592
+ nextX = boundary.value.left;
9593
+ if (nextX > boundary.value.right)
9594
+ nextX = boundary.value.right;
9595
+ state.value.x = nextX;
9596
+ }
9597
+ if (props.axis === "y" || props.axis === "xy") {
9598
+ let nextY = prevY + touch.deltaY.value;
9599
+ if (nextY < boundary.value.top)
9600
+ nextY = boundary.value.top;
9601
+ if (nextY > boundary.value.bottom)
9602
+ nextY = boundary.value.bottom;
9603
+ state.value.y = nextY;
9604
+ }
9605
+ const offset = pick(state.value, ["x", "y"]);
9606
+ emit("update:offset", offset);
9607
+ }
9608
+ };
9609
+ use.useEventListener("touchmove", onTouchMove, {
9610
+ target: rootRef
9611
+ });
9612
+ const onTouchEnd = () => {
9613
+ dragging.value = false;
9614
+ vue.nextTick(() => {
9615
+ if (props.magnetic === "x") {
9616
+ const nextX = closest([boundary.value.left, boundary.value.right], state.value.x);
9617
+ state.value.x = nextX;
9618
+ }
9619
+ if (props.magnetic === "y") {
9620
+ const nextY = closest([boundary.value.top, boundary.value.bottom], state.value.y);
9621
+ state.value.y = nextY;
9622
+ }
9623
+ if (!touch.isTap.value) {
9624
+ const offset = pick(state.value, ["x", "y"]);
9625
+ emit("update:offset", offset);
9626
+ if (prevX !== offset.x || prevY !== offset.y) {
9627
+ emit("offsetChange", offset);
9628
+ }
9629
+ }
9630
+ });
9631
+ };
9632
+ const onClick = (e) => {
9633
+ if (touch.isTap.value)
9634
+ emit("click", e);
9635
+ else
9636
+ e.stopPropagation();
9637
+ };
9638
+ vue.onMounted(() => {
9639
+ updateState();
9640
+ vue.nextTick(() => {
9641
+ initialized = true;
9642
+ });
9643
+ });
9644
+ vue.watch([windowWidth, windowHeight, () => props.gap, () => props.offset], updateState);
9645
+ const show = vue.ref(true);
9646
+ vue.onActivated(() => {
9647
+ show.value = true;
9648
+ });
9649
+ vue.onDeactivated(() => {
9650
+ if (props.teleport) {
9651
+ show.value = false;
9652
+ }
9653
+ });
9654
+ return () => {
9655
+ const Content = vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9656
+ "class": bem$G(),
9657
+ "ref": rootRef,
9658
+ "onTouchstartPassive": onTouchStart,
9659
+ "onTouchend": onTouchEnd,
9660
+ "onTouchcancel": onTouchEnd,
9661
+ "onClick": onClick,
9662
+ "style": rootStyle.value
9663
+ }, attrs), [slots.default ? slots.default() : vue.createVNode(stdin_default$1N, {
9664
+ "name": props.icon,
9665
+ "class": bem$G("icon")
9666
+ }, null)]), [[vue.vShow, show.value]]);
9667
+ return props.teleport ? vue.createVNode(vue.Teleport, {
9668
+ "to": props.teleport
9669
+ }, {
9670
+ default: () => [Content]
9671
+ }) : Content;
9672
+ };
9673
+ }
9674
+ });
9675
+ const FloatingBubble = withInstall(stdin_default$_);
9492
9676
  const [name$F, bem$F] = createNamespace("form");
9493
9677
  const formProps = {
9494
9678
  colon: Boolean,
@@ -9876,7 +10060,7 @@ var stdin_default$U = vue.defineComponent({
9876
10060
  }
9877
10061
  }, [props.breadcrumbTitle]), props.data.map((item, index) => vue.createVNode("div", {
9878
10062
  "class": bem$C("item")
9879
- }, [vue.createVNode(stdin_default$1M, {
10063
+ }, [vue.createVNode(stdin_default$1N, {
9880
10064
  "class": bem$C("icon"),
9881
10065
  "name": "arrow-right",
9882
10066
  "color": "#C6CED9"
@@ -10133,7 +10317,7 @@ var stdin_default$T = vue.defineComponent({
10133
10317
  round: true,
10134
10318
  checked: getChecked(item)
10135
10319
  })
10136
- }, [vue.createVNode(stdin_default$1M, {
10320
+ }, [vue.createVNode(stdin_default$1N, {
10137
10321
  "name": "checkbox-select"
10138
10322
  }, null)]);
10139
10323
  }
@@ -10143,14 +10327,14 @@ var stdin_default$T = vue.defineComponent({
10143
10327
  checked: true,
10144
10328
  round: true
10145
10329
  })
10146
- }, [vue.createVNode(stdin_default$1M, {
10330
+ }, [vue.createVNode(stdin_default$1N, {
10147
10331
  "name": "checkbox-select"
10148
10332
  }, null)]) : vue.createVNode("span", {
10149
10333
  "class": bem$B("icon", {
10150
10334
  round: true,
10151
10335
  indeterminate
10152
10336
  })
10153
- }, [vue.createVNode(stdin_default$1M, {
10337
+ }, [vue.createVNode(stdin_default$1N, {
10154
10338
  "name": indeterminate ? "minus" : "check-blank-r",
10155
10339
  "class": bem$B("uncheck-icon")
10156
10340
  }, null)]);
@@ -10390,8 +10574,8 @@ var stdin_default$S = vue.defineComponent({
10390
10574
  } = touch;
10391
10575
  const deltaTime = Date.now() - touchStartTime;
10392
10576
  const TAP_TIME = 250;
10393
- const TAP_OFFSET = 5;
10394
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
10577
+ const TAP_OFFSET2 = 5;
10578
+ if (offsetX.value < TAP_OFFSET2 && offsetY.value < TAP_OFFSET2) {
10395
10579
  if (deltaTime < TAP_TIME) {
10396
10580
  if (doubleTapTimer) {
10397
10581
  clearTimeout(doubleTapTimer);
@@ -11485,7 +11669,7 @@ var stdin_default$M = vue.defineComponent({
11485
11669
  }
11486
11670
  }
11487
11671
  };
11488
- return () => vue.createVNode(stdin_default$1J, {
11672
+ return () => vue.createVNode(stdin_default$1K, {
11489
11673
  "class": bem$v(),
11490
11674
  "show": props.show,
11491
11675
  "position": "bottom",
@@ -13428,10 +13612,10 @@ var stdin_default$C = vue.defineComponent({
13428
13612
  message
13429
13613
  } = media;
13430
13614
  if (status === "uploading" || status === "failed") {
13431
- const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1M, {
13615
+ const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1N, {
13432
13616
  "name": "close",
13433
13617
  "class": bem$u("mask-icon")
13434
- }, null) : vue.createVNode(stdin_default$1H, {
13618
+ }, null) : vue.createVNode(stdin_default$1I, {
13435
13619
  "class": bem$u("loading")
13436
13620
  }, null);
13437
13621
  const showMessage = isDef(message) && message !== "";
@@ -13450,7 +13634,7 @@ var stdin_default$C = vue.defineComponent({
13450
13634
  };
13451
13635
  const renderMediaThumbnail = (media) => {
13452
13636
  if (media.showSrc) {
13453
- return vue.createVNode(stdin_default$1D, {
13637
+ return vue.createVNode(stdin_default$1E, {
13454
13638
  "src": media.showSrc,
13455
13639
  "fit": "cover",
13456
13640
  "radius": "4"
@@ -13540,7 +13724,7 @@ var stdin_default$C = vue.defineComponent({
13540
13724
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
13541
13725
  "mediaType": mediaTypeToPlay.value,
13542
13726
  "mediaUrl": mediaUrlToPlay.value
13543
- }, null), vue.createVNode(stdin_default$1F, {
13727
+ }, null), vue.createVNode(stdin_default$1G, {
13544
13728
  "show": actionVisible.value,
13545
13729
  "onUpdate:show": ($event) => actionVisible.value = $event,
13546
13730
  "actions": actionOptions.value,
@@ -13743,7 +13927,7 @@ var stdin_default$A = vue.defineComponent({
13743
13927
  };
13744
13928
  const genCancel = () => {
13745
13929
  const text = props.cancelButtonText || "取消";
13746
- return vue.createVNode(stdin_default$1A, {
13930
+ return vue.createVNode(stdin_default$1B, {
13747
13931
  "size": "normal",
13748
13932
  "block": true,
13749
13933
  "style": {
@@ -13756,7 +13940,7 @@ var stdin_default$A = vue.defineComponent({
13756
13940
  };
13757
13941
  const genConfirm = () => {
13758
13942
  const text = props.confirmButtonText || "确定";
13759
- return vue.createVNode(stdin_default$1A, {
13943
+ return vue.createVNode(stdin_default$1B, {
13760
13944
  "type": "primary",
13761
13945
  "size": "normal",
13762
13946
  "block": true,
@@ -13805,10 +13989,10 @@ var stdin_default$A = vue.defineComponent({
13805
13989
  }, [genOptionItems()]);
13806
13990
  const renderMultiplePicker = () => vue.createVNode("div", {
13807
13991
  "class": bem$s()
13808
- }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1H, {
13992
+ }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1I, {
13809
13993
  "class": bem$s("loading")
13810
13994
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
13811
- return () => vue.createVNode(stdin_default$1J, {
13995
+ return () => vue.createVNode(stdin_default$1K, {
13812
13996
  "show": currentShow.value,
13813
13997
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
13814
13998
  "round": true,
@@ -13975,7 +14159,7 @@ var stdin_default$y = vue.defineComponent({
13975
14159
  return slots["left-icon"]();
13976
14160
  }
13977
14161
  if (props.leftIcon) {
13978
- return vue.createVNode(stdin_default$1M, {
14162
+ return vue.createVNode(stdin_default$1N, {
13979
14163
  "class": bem$q("left-icon"),
13980
14164
  "name": props.leftIcon
13981
14165
  }, null);
@@ -14001,7 +14185,7 @@ var stdin_default$y = vue.defineComponent({
14001
14185
  }
14002
14186
  const name2 = getRightIconName();
14003
14187
  if (name2) {
14004
- return vue.createVNode(stdin_default$1M, {
14188
+ return vue.createVNode(stdin_default$1N, {
14005
14189
  "name": name2,
14006
14190
  "class": bem$q("right-icon"),
14007
14191
  "onClick": onClickRightIcon
@@ -14189,11 +14373,11 @@ const resetNotifyDefaultOptions = () => {
14189
14373
  };
14190
14374
  const Notify = withInstall(stdin_default$x);
14191
14375
  const [name$p, bem$o] = createNamespace("key");
14192
- const CollapseIcon = vue.createVNode(stdin_default$1M, {
14376
+ const CollapseIcon = vue.createVNode(stdin_default$1N, {
14193
14377
  "name": "keyboard-shrink",
14194
14378
  "size": "40"
14195
14379
  }, null);
14196
- const DeleteIcon = vue.createVNode(stdin_default$1M, {
14380
+ const DeleteIcon = vue.createVNode(stdin_default$1N, {
14197
14381
  "name": "backspace",
14198
14382
  "size": "40"
14199
14383
  }, null);
@@ -15079,7 +15263,7 @@ var stdin_default$q = vue.defineComponent({
15079
15263
  emit("update:modelValue", props.name);
15080
15264
  }
15081
15265
  };
15082
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
15266
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
15083
15267
  "bem": bem$i,
15084
15268
  "role": "radio",
15085
15269
  "parent": parent,
@@ -15475,7 +15659,7 @@ var stdin_default$n = vue.defineComponent({
15475
15659
  if (slots.searchEmpty) {
15476
15660
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
15477
15661
  }
15478
- return vue.createVNode(stdin_default$$, {
15662
+ return vue.createVNode(stdin_default$10, {
15479
15663
  "class": bem$f("search-empty"),
15480
15664
  "image": "no-search-result"
15481
15665
  }, {
@@ -15866,7 +16050,7 @@ var stdin_default$l = vue.defineComponent({
15866
16050
  };
15867
16051
  return () => {
15868
16052
  if (props.popup) {
15869
- return vue.createVNode(stdin_default$1J, {
16053
+ return vue.createVNode(stdin_default$1K, {
15870
16054
  "show": showPicker.value,
15871
16055
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
15872
16056
  "round": true,
@@ -16088,7 +16272,7 @@ var stdin_default$k = vue.defineComponent({
16088
16272
  }
16089
16273
  });
16090
16274
  const Rate = withInstall(stdin_default$k);
16091
- const Row = withInstall(stdin_default$1g);
16275
+ const Row = withInstall(stdin_default$1h);
16092
16276
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
16093
16277
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
16094
16278
  const resultStyle = {
@@ -16354,20 +16538,20 @@ var stdin_default$j = vue.defineComponent({
16354
16538
  "height": canvasHeight.value
16355
16539
  }, null), [[vue.vShow, isCanvasSupported.value]])]), vue.createVNode("div", {
16356
16540
  "class": bem$d("actions")
16357
- }, [vue.createVNode(stdin_default$1A, {
16541
+ }, [vue.createVNode(stdin_default$1B, {
16358
16542
  "plain": true,
16359
16543
  "type": "warning",
16360
16544
  "onClick": () => clear(),
16361
16545
  "class": bem$d("button-again")
16362
16546
  }, {
16363
16547
  default: () => [vue.createTextVNode("重签")]
16364
- }), vue.createVNode(stdin_default$1A, {
16548
+ }), vue.createVNode(stdin_default$1B, {
16365
16549
  "type": "default",
16366
16550
  "onClick": cancel,
16367
16551
  "class": bem$d("button-cancel")
16368
16552
  }, {
16369
16553
  default: () => [vue.createTextVNode("取消")]
16370
- }), vue.createVNode(stdin_default$1A, {
16554
+ }), vue.createVNode(stdin_default$1B, {
16371
16555
  "block": true,
16372
16556
  "type": "primary",
16373
16557
  "disabled": isCompleteButtonDisabled.value,
@@ -16874,7 +17058,7 @@ var stdin_default$f = vue.defineComponent({
16874
17058
  }
16875
17059
  ],
16876
17060
  "aria-disabled": minusDisabled.value || void 0
16877
- }, createListeners("minus")), [vue.createVNode(stdin_default$1M, {
17061
+ }, createListeners("minus")), [vue.createVNode(stdin_default$1N, {
16878
17062
  "name": "minus",
16879
17063
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16880
17064
  }, null)]), [[vue.vShow, props.showMinus]]), vue.withDirectives(vue.createVNode("input", {
@@ -16907,7 +17091,7 @@ var stdin_default$f = vue.defineComponent({
16907
17091
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
16908
17092
  ],
16909
17093
  "aria-disabled": plusDisabled.value || void 0
16910
- }, createListeners("plus")), [vue.createVNode(stdin_default$1M, {
17094
+ }, createListeners("plus")), [vue.createVNode(stdin_default$1N, {
16911
17095
  "name": "plus",
16912
17096
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16913
17097
  }, null)]), [[vue.vShow, props.showPlus]])]);
@@ -17629,7 +17813,7 @@ var stdin_default$8 = vue.defineComponent({
17629
17813
  }, null);
17630
17814
  const LeftIcon = () => {
17631
17815
  if (props.image) {
17632
- return vue.createVNode(stdin_default$1D, {
17816
+ return vue.createVNode(stdin_default$1E, {
17633
17817
  "class": bem$3("image"),
17634
17818
  "src": props.image
17635
17819
  }, null);
@@ -19426,7 +19610,7 @@ const Lazyload = {
19426
19610
  });
19427
19611
  }
19428
19612
  };
19429
- const version = "3.1.11";
19613
+ const version = "3.1.12";
19430
19614
  function install(app) {
19431
19615
  const components = [
19432
19616
  ActionSheet,
@@ -19450,6 +19634,7 @@ function install(app) {
19450
19634
  DropdownMenu,
19451
19635
  Empty,
19452
19636
  Field,
19637
+ FloatingBubble,
19453
19638
  Form,
19454
19639
  Grid,
19455
19640
  GridItem,
@@ -19536,6 +19721,7 @@ exports.DropdownItem = DropdownItem;
19536
19721
  exports.DropdownMenu = DropdownMenu;
19537
19722
  exports.Empty = Empty;
19538
19723
  exports.Field = Field;
19724
+ exports.FloatingBubble = FloatingBubble;
19539
19725
  exports.Form = Form;
19540
19726
  exports.Grid = Grid;
19541
19727
  exports.GridItem = GridItem;
@@ -19603,6 +19789,7 @@ exports.default = stdin_default;
19603
19789
  exports.dialogProps = dialogProps;
19604
19790
  exports.dropdownItemProps = dropdownItemProps;
19605
19791
  exports.dropdownMenuProps = dropdownMenuProps;
19792
+ exports.floatingBubbleProps = floatingBubbleProps;
19606
19793
  exports.gridItemProps = gridItemProps;
19607
19794
  exports.gridProps = gridProps;
19608
19795
  exports.imagePreviewProps = imagePreviewProps;