zartui 3.1.10 → 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 (146) hide show
  1. package/README.md +23 -23
  2. package/es/cascader/Cascader.d.ts +1 -1
  3. package/es/cascader/index.d.ts +1 -1
  4. package/es/cell/Cell.d.ts +24 -1
  5. package/es/cell/Cell.mjs +30 -5
  6. package/es/cell/index.css +1 -1
  7. package/es/cell/index.d.ts +14 -1
  8. package/es/checkbox/Checkbox.d.ts +1 -1
  9. package/es/checkbox/index.d.ts +1 -1
  10. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  11. package/es/checkbox-group/index.d.ts +1 -1
  12. package/es/collapse/Collapse.d.ts +1 -1
  13. package/es/collapse/index.d.ts +1 -1
  14. package/es/composables/use-touch.d.ts +1 -0
  15. package/es/composables/use-touch.mjs +8 -1
  16. package/es/config-provider/types.d.ts +1 -1
  17. package/es/date-time-picker/DateTimePicker.d.ts +1 -1
  18. package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  19. package/es/date-time-picker/index.d.ts +1 -1
  20. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  21. package/es/dropdown-item/index.d.ts +1 -1
  22. package/es/field/Field.d.ts +17 -2
  23. package/es/field/index.d.ts +12 -2
  24. package/es/floating-bubble/FloatingBubble.d.ts +81 -0
  25. package/es/floating-bubble/FloatingBubble.mjs +181 -0
  26. package/es/floating-bubble/index.css +1 -0
  27. package/es/floating-bubble/index.d.ts +63 -0
  28. package/es/floating-bubble/index.mjs +10 -0
  29. package/es/floating-bubble/style/index.d.ts +1 -0
  30. package/es/floating-bubble/style/index.mjs +4 -0
  31. package/es/floating-bubble/types.d.ts +20 -0
  32. package/es/floating-bubble/types.mjs +0 -0
  33. package/es/hierarchy-select/HierarchySelect.mjs +1 -0
  34. package/es/index-bar/IndexBar.mjs +27 -19
  35. package/es/index-bar/index.css +1 -1
  36. package/es/index-bar/types.d.ts +1 -0
  37. package/es/index.d.ts +2 -1
  38. package/es/index.mjs +4 -1
  39. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  40. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  41. package/es/number-keyboard/index.d.ts +1 -1
  42. package/es/picker/Picker.d.ts +1 -1
  43. package/es/picker/index.d.ts +1 -1
  44. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  45. package/es/pull-refresh/index.d.ts +1 -1
  46. package/es/radio-group/RadioGroup.d.ts +1 -1
  47. package/es/radio-group/index.d.ts +1 -1
  48. package/es/radio-picker/RadioPicker.d.ts +1 -1
  49. package/es/radio-picker/index.d.ts +1 -1
  50. package/es/rate/Rate.d.ts +1 -1
  51. package/es/rate/index.d.ts +1 -1
  52. package/es/search/Search.d.ts +2 -2
  53. package/es/search/index.d.ts +2 -2
  54. package/es/stepper/Stepper.d.ts +1 -1
  55. package/es/stepper/index.d.ts +1 -1
  56. package/es/switch/Switch.d.ts +1 -1
  57. package/es/switch/index.d.ts +1 -1
  58. package/es/tabbar/Tabbar.d.ts +1 -1
  59. package/es/tabbar/index.d.ts +1 -1
  60. package/es/tabbar-item/index.css +1 -1
  61. package/es/time-picker/TimePicker.d.ts +1 -1
  62. package/es/time-picker/index.d.ts +1 -1
  63. package/es/utils/closest.d.ts +1 -0
  64. package/es/utils/closest.mjs +8 -0
  65. package/es/utils/constant.d.ts +1 -0
  66. package/es/utils/constant.mjs +3 -1
  67. package/es/utils/index.d.ts +1 -0
  68. package/es/utils/index.mjs +1 -0
  69. package/es/vue-sfc-shim.d.ts +6 -6
  70. package/es/vue-tsx-shim.d.ts +23 -23
  71. package/lib/cascader/Cascader.d.ts +1 -1
  72. package/lib/cascader/index.d.ts +1 -1
  73. package/lib/cell/Cell.d.ts +24 -1
  74. package/lib/cell/Cell.js +28 -3
  75. package/lib/cell/index.css +1 -1
  76. package/lib/cell/index.d.ts +14 -1
  77. package/lib/checkbox/Checkbox.d.ts +1 -1
  78. package/lib/checkbox/index.d.ts +1 -1
  79. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  80. package/lib/checkbox-group/index.d.ts +1 -1
  81. package/lib/collapse/Collapse.d.ts +1 -1
  82. package/lib/collapse/index.d.ts +1 -1
  83. package/lib/composables/use-touch.d.ts +1 -0
  84. package/lib/composables/use-touch.js +8 -1
  85. package/lib/config-provider/types.d.ts +1 -1
  86. package/lib/date-time-picker/DateTimePicker.d.ts +1 -1
  87. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  88. package/lib/date-time-picker/index.d.ts +1 -1
  89. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  90. package/lib/dropdown-item/index.d.ts +1 -1
  91. package/lib/field/Field.d.ts +17 -2
  92. package/lib/field/index.d.ts +12 -2
  93. package/lib/floating-bubble/FloatingBubble.d.ts +81 -0
  94. package/lib/floating-bubble/FloatingBubble.js +210 -0
  95. package/lib/floating-bubble/index.css +1 -0
  96. package/lib/floating-bubble/index.d.ts +63 -0
  97. package/lib/floating-bubble/index.js +39 -0
  98. package/lib/floating-bubble/style/index.d.ts +1 -0
  99. package/lib/floating-bubble/style/index.js +4 -0
  100. package/lib/floating-bubble/types.d.ts +20 -0
  101. package/lib/floating-bubble/types.js +15 -0
  102. package/lib/hierarchy-select/HierarchySelect.js +1 -0
  103. package/lib/index-bar/IndexBar.js +27 -19
  104. package/lib/index-bar/index.css +1 -1
  105. package/lib/index-bar/types.d.ts +1 -0
  106. package/lib/index.css +1 -1
  107. package/lib/index.d.ts +2 -1
  108. package/lib/index.js +4 -1
  109. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  110. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  111. package/lib/number-keyboard/index.d.ts +1 -1
  112. package/lib/picker/Picker.d.ts +1 -1
  113. package/lib/picker/index.d.ts +1 -1
  114. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  115. package/lib/pull-refresh/index.d.ts +1 -1
  116. package/lib/radio-group/RadioGroup.d.ts +1 -1
  117. package/lib/radio-group/index.d.ts +1 -1
  118. package/lib/radio-picker/RadioPicker.d.ts +1 -1
  119. package/lib/radio-picker/index.d.ts +1 -1
  120. package/lib/rate/Rate.d.ts +1 -1
  121. package/lib/rate/index.d.ts +1 -1
  122. package/lib/search/Search.d.ts +2 -2
  123. package/lib/search/index.d.ts +2 -2
  124. package/lib/stepper/Stepper.d.ts +1 -1
  125. package/lib/stepper/index.d.ts +1 -1
  126. package/lib/switch/Switch.d.ts +1 -1
  127. package/lib/switch/index.d.ts +1 -1
  128. package/lib/tabbar/Tabbar.d.ts +1 -1
  129. package/lib/tabbar/index.d.ts +1 -1
  130. package/lib/tabbar-item/index.css +1 -1
  131. package/lib/time-picker/TimePicker.d.ts +1 -1
  132. package/lib/time-picker/index.d.ts +1 -1
  133. package/lib/utils/closest.d.ts +1 -0
  134. package/lib/utils/closest.js +27 -0
  135. package/lib/utils/constant.d.ts +1 -0
  136. package/lib/utils/constant.js +3 -1
  137. package/lib/utils/index.d.ts +1 -0
  138. package/lib/utils/index.js +1 -0
  139. package/lib/vue-sfc-shim.d.ts +6 -6
  140. package/lib/vue-tsx-shim.d.ts +23 -23
  141. package/lib/web-types.json +1 -1
  142. package/lib/zartui.cjs.js +698 -478
  143. package/lib/zartui.es.js +698 -478
  144. package/lib/zartui.js +698 -478
  145. package/lib/zartui.min.js +1 -1
  146. package/package.json +6 -5
package/lib/zartui.es.js CHANGED
@@ -248,7 +248,7 @@ function deepAssign(to, from) {
248
248
  });
249
249
  return to;
250
250
  }
251
- var stdin_default$1R = {
251
+ var stdin_default$1S = {
252
252
  name: "姓名",
253
253
  tel: "电话",
254
254
  save: "保存",
@@ -295,7 +295,7 @@ var stdin_default$1R = {
295
295
  };
296
296
  const lang = ref("zh-CN");
297
297
  const messages = reactive({
298
- "zh-CN": stdin_default$1R
298
+ "zh-CN": stdin_default$1S
299
299
  });
300
300
  const Locale = {
301
301
  messages() {
@@ -309,11 +309,11 @@ const Locale = {
309
309
  deepAssign(messages, newMessages);
310
310
  }
311
311
  };
312
- var stdin_default$1Q = Locale;
312
+ var stdin_default$1R = Locale;
313
313
  function createTranslate(name2) {
314
314
  const prefix = camelize(name2) + ".";
315
315
  return (path, ...args) => {
316
- const messages2 = stdin_default$1Q.messages();
316
+ const messages2 = stdin_default$1R.messages();
317
317
  const message = get(messages2, prefix + path) || get(messages2, path);
318
318
  return isFunction(message) ? message(...args) : message;
319
319
  };
@@ -364,6 +364,7 @@ const HAPTICS_FEEDBACK = "zt-haptics-feedback";
364
364
  const ELLIPSIS = "zt-ellipsis";
365
365
  const FORM_KEY = Symbol("zt-form");
366
366
  const LONG_PRESS_START_TIME = 500;
367
+ const TAP_OFFSET = 5;
367
368
  function callInterceptor(interceptor, {
368
369
  args = [],
369
370
  done,
@@ -399,7 +400,12 @@ function withInstall(options) {
399
400
  };
400
401
  return options;
401
402
  }
402
- const [name$1l, bem$1h] = createNamespace("badge");
403
+ function closest(arr, target) {
404
+ return arr.reduce(
405
+ (pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur
406
+ );
407
+ }
408
+ const [name$1m, bem$1i] = createNamespace("badge");
403
409
  const badgeProps = {
404
410
  dot: Boolean,
405
411
  max: numericProp,
@@ -412,8 +418,8 @@ const badgeProps = {
412
418
  badgeClass: String,
413
419
  position: makeStringProp("top-right")
414
420
  };
415
- var stdin_default$1P = defineComponent({
416
- name: name$1l,
421
+ var stdin_default$1Q = defineComponent({
422
+ name: name$1m,
417
423
  props: badgeProps,
418
424
  setup(props, {
419
425
  slots
@@ -440,11 +446,11 @@ var stdin_default$1P = defineComponent({
440
446
  }
441
447
  if (isDef(max) && isNumeric(content) && +content > +max) {
442
448
  return createVNode("p", {
443
- "class": [bem$1h("wrapper", "badge-num")]
449
+ "class": [bem$1i("wrapper", "badge-num")]
444
450
  }, [`${max}+`]);
445
451
  }
446
452
  return createVNode("p", {
447
- "class": [bem$1h("wrapper", "badge-num")]
453
+ "class": [bem$1i("wrapper", "badge-num")]
448
454
  }, [content]);
449
455
  }
450
456
  };
@@ -472,7 +478,7 @@ var stdin_default$1P = defineComponent({
472
478
  const renderBadge = () => {
473
479
  if (hasContent() || props.dot) {
474
480
  return createVNode("div", {
475
- "class": [bem$1h([props.position, {
481
+ "class": [bem$1i([props.position, {
476
482
  dot: props.dot,
477
483
  fixed: !!slots.default
478
484
  }]), props.badgeClass],
@@ -486,7 +492,7 @@ var stdin_default$1P = defineComponent({
486
492
  tag
487
493
  } = props;
488
494
  return createVNode(tag, {
489
- "class": bem$1h("wrapper")
495
+ "class": bem$1i("wrapper")
490
496
  }, {
491
497
  default: () => [slots.default(), renderBadge()]
492
498
  });
@@ -495,14 +501,14 @@ var stdin_default$1P = defineComponent({
495
501
  };
496
502
  }
497
503
  });
498
- const Badge = withInstall(stdin_default$1P);
504
+ const Badge = withInstall(stdin_default$1Q);
499
505
  let globalZIndex = 2e3;
500
506
  const useGlobalZIndex = () => ++globalZIndex;
501
507
  const setGlobalZIndex = (val) => {
502
508
  globalZIndex = val;
503
509
  };
504
- const [name$1k, bem$1g] = createNamespace("config-provider");
505
- const CONFIG_PROVIDER_KEY = Symbol(name$1k);
510
+ const [name$1l, bem$1h] = createNamespace("config-provider");
511
+ const CONFIG_PROVIDER_KEY = Symbol(name$1l);
506
512
  const configProviderProps = {
507
513
  tag: makeStringProp("div"),
508
514
  theme: makeStringProp("light"),
@@ -536,8 +542,8 @@ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
536
542
  }
537
543
  });
538
544
  }
539
- var stdin_default$1O = defineComponent({
540
- name: name$1k,
545
+ var stdin_default$1P = defineComponent({
546
+ name: name$1l,
541
547
  props: configProviderProps,
542
548
  setup(props, {
543
549
  slots
@@ -585,7 +591,7 @@ var stdin_default$1O = defineComponent({
585
591
  }
586
592
  });
587
593
  return () => createVNode(props.tag, {
588
- "class": bem$1g(),
594
+ "class": bem$1h(),
589
595
  "style": props.themeVarsScope === "local" ? style.value : void 0
590
596
  }, {
591
597
  default: () => {
@@ -595,7 +601,7 @@ var stdin_default$1O = defineComponent({
595
601
  });
596
602
  }
597
603
  });
598
- const [name$1j, bem$1f] = createNamespace("icon");
604
+ const [name$1k, bem$1g] = createNamespace("icon");
599
605
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
600
606
  const iconProps = {
601
607
  dot: Boolean,
@@ -607,14 +613,14 @@ const iconProps = {
607
613
  badgeProps: Object,
608
614
  classPrefix: String
609
615
  };
610
- var stdin_default$1N = defineComponent({
611
- name: name$1j,
616
+ var stdin_default$1O = defineComponent({
617
+ name: name$1k,
612
618
  props: iconProps,
613
619
  setup(props, {
614
620
  slots
615
621
  }) {
616
622
  const config = inject(CONFIG_PROVIDER_KEY, null);
617
- const classPrefix = computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1f());
623
+ const classPrefix = computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1g());
618
624
  return () => {
619
625
  const {
620
626
  tag,
@@ -638,7 +644,7 @@ var stdin_default$1N = defineComponent({
638
644
  default: () => {
639
645
  var _a;
640
646
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && createVNode("img", {
641
- "class": bem$1f("image"),
647
+ "class": bem$1g("image"),
642
648
  "src": name2
643
649
  }, null)];
644
650
  }
@@ -646,8 +652,8 @@ var stdin_default$1N = defineComponent({
646
652
  };
647
653
  }
648
654
  });
649
- const Icon = withInstall(stdin_default$1N);
650
- var stdin_default$1M = Icon;
655
+ const Icon = withInstall(stdin_default$1O);
656
+ var stdin_default$1N = Icon;
651
657
  const popupSharedProps = {
652
658
  // whether to show popup
653
659
  show: Boolean,
@@ -700,6 +706,7 @@ function useTouch() {
700
706
  const offsetX = ref(0);
701
707
  const offsetY = ref(0);
702
708
  const direction = ref("");
709
+ const isTap = ref(true);
703
710
  const isVertical = () => direction.value === "vertical";
704
711
  const isHorizontal = () => direction.value === "horizontal";
705
712
  const reset = () => {
@@ -708,6 +715,7 @@ function useTouch() {
708
715
  offsetX.value = 0;
709
716
  offsetY.value = 0;
710
717
  direction.value = "";
718
+ isTap.value = true;
711
719
  };
712
720
  const start = (event) => {
713
721
  reset();
@@ -724,6 +732,9 @@ function useTouch() {
724
732
  if (!direction.value || offsetX.value < LOCK_DIRECTION_DISTANCE && offsetY.value < LOCK_DIRECTION_DISTANCE) {
725
733
  direction.value = getDirection(offsetX.value, offsetY.value);
726
734
  }
735
+ if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
736
+ isTap.value = false;
737
+ }
727
738
  };
728
739
  return {
729
740
  move,
@@ -737,7 +748,8 @@ function useTouch() {
737
748
  offsetY,
738
749
  direction,
739
750
  isVertical,
740
- isHorizontal
751
+ isHorizontal,
752
+ isTap
741
753
  };
742
754
  }
743
755
  let totalLockCount = 0;
@@ -818,7 +830,7 @@ const useScopeId = () => {
818
830
  const { scopeId } = ((_a = getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
819
831
  return scopeId ? { [scopeId]: "" } : null;
820
832
  };
821
- const [name$1i, bem$1e] = createNamespace("overlay");
833
+ const [name$1j, bem$1f] = createNamespace("overlay");
822
834
  const overlayProps = {
823
835
  show: Boolean,
824
836
  zIndex: numericProp,
@@ -828,8 +840,8 @@ const overlayProps = {
828
840
  lazyRender: truthProp,
829
841
  customStyle: Object
830
842
  };
831
- var stdin_default$1L = defineComponent({
832
- name: name$1i,
843
+ var stdin_default$1M = defineComponent({
844
+ name: name$1j,
833
845
  props: overlayProps,
834
846
  setup(props, {
835
847
  slots
@@ -846,7 +858,7 @@ var stdin_default$1L = defineComponent({
846
858
  }
847
859
  return withDirectives(createVNode("div", {
848
860
  "style": style,
849
- "class": [bem$1e(), props.className],
861
+ "class": [bem$1f(), props.className],
850
862
  "onTouchmove": props.lockScroll ? preventTouchMove : noop
851
863
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vShow, props.show]]);
852
864
  });
@@ -858,7 +870,7 @@ var stdin_default$1L = defineComponent({
858
870
  });
859
871
  }
860
872
  });
861
- const Overlay = withInstall(stdin_default$1L);
873
+ const Overlay = withInstall(stdin_default$1M);
862
874
  const popupProps$2 = extend({}, popupSharedProps, {
863
875
  round: Boolean,
864
876
  position: makeStringProp("center"),
@@ -876,9 +888,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
876
888
  maxDragHeight: makeStringProp("85vh"),
877
889
  slideable: Boolean
878
890
  });
879
- const [name$1h, bem$1d] = createNamespace("popup");
880
- var stdin_default$1K = defineComponent({
881
- name: name$1h,
891
+ const [name$1i, bem$1e] = createNamespace("popup");
892
+ var stdin_default$1L = defineComponent({
893
+ name: name$1i,
882
894
  inheritAttrs: false,
883
895
  props: popupProps$2,
884
896
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -994,7 +1006,7 @@ var stdin_default$1K = defineComponent({
994
1006
  "role": "button",
995
1007
  "tabindex": 0,
996
1008
  "name": props.closeIcon,
997
- "class": [bem$1d("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1009
+ "class": [bem$1e("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
998
1010
  "classPrefix": props.iconPrefix,
999
1011
  "onClick": onClickCloseIcon
1000
1012
  }, null);
@@ -1014,7 +1026,7 @@ var stdin_default$1K = defineComponent({
1014
1026
  return withDirectives(createVNode("div", mergeProps({
1015
1027
  "ref": popupRef,
1016
1028
  "style": style.value,
1017
- "class": [bem$1d({
1029
+ "class": [bem$1e({
1018
1030
  round,
1019
1031
  [position]: position
1020
1032
  }), {
@@ -1027,18 +1039,18 @@ var stdin_default$1K = defineComponent({
1027
1039
  const sliderRenderPopup = lazyRender(() => {
1028
1040
  var _a, _b;
1029
1041
  return withDirectives(createVNode("div", mergeProps({
1030
- "class": bem$1d("slider"),
1042
+ "class": bem$1e("slider"),
1031
1043
  "ref": popupRef,
1032
1044
  "style": style.value,
1033
1045
  "onKeydown": onKeydown
1034
1046
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), createVNode("div", {
1035
- "class": bem$1d("slider-title"),
1047
+ "class": bem$1e("slider-title"),
1036
1048
  "style": `height:${touchAreaHeight}px;`,
1037
1049
  "ref": root
1038
1050
  }, [createVNode("div", {
1039
- "class": bem$1d("slider-bar")
1051
+ "class": bem$1e("slider-bar")
1040
1052
  }, null)]), createVNode("div", {
1041
- "class": bem$1d("slider-content"),
1053
+ "class": bem$1e("slider-content"),
1042
1054
  "style": contentStyle.value
1043
1055
  }, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[vShow, props.show]]);
1044
1056
  });
@@ -1132,9 +1144,9 @@ var stdin_default$1K = defineComponent({
1132
1144
  };
1133
1145
  }
1134
1146
  });
1135
- const Popup = withInstall(stdin_default$1K);
1136
- var stdin_default$1J = Popup;
1137
- const [name$1g, bem$1c] = createNamespace("loading");
1147
+ const Popup = withInstall(stdin_default$1L);
1148
+ var stdin_default$1K = Popup;
1149
+ const [name$1h, bem$1d] = createNamespace("loading");
1138
1150
  const loadingProps = {
1139
1151
  size: numericProp,
1140
1152
  type: makeStringProp("snake"),
@@ -1147,12 +1159,12 @@ let svgElementId = 0;
1147
1159
  const LoadingIcon = (props) => {
1148
1160
  if (props.type === "spinner") {
1149
1161
  return Array(12).fill(null).map((_, index) => createVNode("i", {
1150
- "class": bem$1c("line", String(index + 1))
1162
+ "class": bem$1d("line", String(index + 1))
1151
1163
  }, null));
1152
1164
  }
1153
1165
  if (props.type === "circular") {
1154
1166
  return createVNode("svg", {
1155
- "class": bem$1c("circular"),
1167
+ "class": bem$1d("circular"),
1156
1168
  "viewBox": "25 25 50 50"
1157
1169
  }, [createVNode("circle", {
1158
1170
  "cx": "50",
@@ -1164,7 +1176,7 @@ const LoadingIcon = (props) => {
1164
1176
  const firstHalfId = svgElementId++;
1165
1177
  const secondHalfId = svgElementId++;
1166
1178
  return createVNode("svg", {
1167
- "class": bem$1c("snake"),
1179
+ "class": bem$1d("snake"),
1168
1180
  "width": "200",
1169
1181
  "height": "200",
1170
1182
  "viewBox": "0 0 200 200",
@@ -1203,8 +1215,8 @@ const LoadingIcon = (props) => {
1203
1215
  "d": "M 9 100 A 91 91 0 0 1 9 100"
1204
1216
  }, null)])]);
1205
1217
  };
1206
- var stdin_default$1I = defineComponent({
1207
- name: name$1g,
1218
+ var stdin_default$1J = defineComponent({
1219
+ name: name$1h,
1208
1220
  props: loadingProps,
1209
1221
  setup(props, {
1210
1222
  slots
@@ -1216,7 +1228,7 @@ var stdin_default$1I = defineComponent({
1216
1228
  var _a;
1217
1229
  if (slots.default) {
1218
1230
  return createVNode("span", {
1219
- "class": bem$1c("text"),
1231
+ "class": bem$1d("text"),
1220
1232
  "style": {
1221
1233
  fontSize: addUnit(props.textSize),
1222
1234
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1230,21 +1242,21 @@ var stdin_default$1I = defineComponent({
1230
1242
  vertical
1231
1243
  } = props;
1232
1244
  return createVNode("div", {
1233
- "class": bem$1c([type, {
1245
+ "class": bem$1d([type, {
1234
1246
  vertical
1235
1247
  }]),
1236
1248
  "aria-live": "polite",
1237
1249
  "aria-busy": true
1238
1250
  }, [createVNode("span", {
1239
- "class": bem$1c("spinner", type),
1251
+ "class": bem$1d("spinner", type),
1240
1252
  "style": spinnerStyle.value
1241
1253
  }, [LoadingIcon(props)]), renderText()]);
1242
1254
  };
1243
1255
  }
1244
1256
  });
1245
- const Loading = withInstall(stdin_default$1I);
1246
- var stdin_default$1H = Loading;
1247
- const [name$1f, bem$1b] = createNamespace("action-sheet");
1257
+ const Loading = withInstall(stdin_default$1J);
1258
+ var stdin_default$1I = Loading;
1259
+ const [name$1g, bem$1c] = createNamespace("action-sheet");
1248
1260
  const actionSheetProps = extend({}, popupSharedProps, {
1249
1261
  title: String,
1250
1262
  round: truthProp,
@@ -1258,8 +1270,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1258
1270
  safeAreaInsetBottom: truthProp
1259
1271
  });
1260
1272
  const popupInheritKeys$1 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1261
- var stdin_default$1G = defineComponent({
1262
- name: name$1f,
1273
+ var stdin_default$1H = defineComponent({
1274
+ name: name$1g,
1263
1275
  props: actionSheetProps,
1264
1276
  emits: ["select", "cancel", "update:show"],
1265
1277
  setup(props, {
@@ -1274,10 +1286,10 @@ var stdin_default$1G = defineComponent({
1274
1286
  const renderHeader = () => {
1275
1287
  if (props.title) {
1276
1288
  return createVNode("div", {
1277
- "class": bem$1b("header")
1289
+ "class": bem$1c("header")
1278
1290
  }, [props.title, props.closeable && createVNode(Icon, {
1279
1291
  "name": props.closeIcon,
1280
- "class": [bem$1b("close"), HAPTICS_FEEDBACK],
1292
+ "class": [bem$1c("close"), HAPTICS_FEEDBACK],
1281
1293
  "onClick": onCancel
1282
1294
  }, null)]);
1283
1295
  }
@@ -1285,10 +1297,10 @@ var stdin_default$1G = defineComponent({
1285
1297
  const renderCancel = () => {
1286
1298
  if (slots.cancel || props.cancelText) {
1287
1299
  return [createVNode("div", {
1288
- "class": bem$1b("cancel")
1300
+ "class": bem$1c("cancel")
1289
1301
  }, [createVNode("button", {
1290
1302
  "type": "button",
1291
- "class": bem$1b("cancel-btn"),
1303
+ "class": bem$1c("cancel-btn"),
1292
1304
  "onClick": onCancel
1293
1305
  }, [slots.cancel ? slots.cancel() : props.cancelText])])];
1294
1306
  }
@@ -1296,7 +1308,7 @@ var stdin_default$1G = defineComponent({
1296
1308
  const renderActionContent = (action, index) => {
1297
1309
  if (action.loading) {
1298
1310
  return createVNode(Loading, {
1299
- "class": bem$1b("loading-icon")
1311
+ "class": bem$1c("loading-icon")
1300
1312
  }, null);
1301
1313
  }
1302
1314
  if (slots.action) {
@@ -1306,9 +1318,9 @@ var stdin_default$1G = defineComponent({
1306
1318
  });
1307
1319
  }
1308
1320
  return [createVNode("span", {
1309
- "class": bem$1b("name")
1321
+ "class": bem$1c("name")
1310
1322
  }, [action.name]), action.subname && createVNode("div", {
1311
- "class": bem$1b("subname")
1323
+ "class": bem$1c("subname")
1312
1324
  }, [action.subname])];
1313
1325
  };
1314
1326
  const renderAction = (action, index) => {
@@ -1341,7 +1353,7 @@ var stdin_default$1G = defineComponent({
1341
1353
  "style": {
1342
1354
  color
1343
1355
  },
1344
- "class": [bem$1b("item", {
1356
+ "class": [bem$1c("item", {
1345
1357
  loading,
1346
1358
  disabled,
1347
1359
  "with-sub": action.subname
@@ -1355,29 +1367,29 @@ var stdin_default$1G = defineComponent({
1355
1367
  if (props.description || slots.description) {
1356
1368
  const content = slots.description ? slots.description() : props.description;
1357
1369
  return createVNode("div", {
1358
- "class": bem$1b("description", {
1370
+ "class": bem$1c("description", {
1359
1371
  custom: !!slots.description
1360
1372
  })
1361
1373
  }, [content]);
1362
1374
  }
1363
1375
  };
1364
1376
  return () => createVNode(Popup, mergeProps({
1365
- "class": bem$1b(),
1377
+ "class": bem$1c(),
1366
1378
  "position": "bottom",
1367
1379
  "onUpdate:show": updateShow
1368
1380
  }, pick(props, popupInheritKeys$1)), {
1369
1381
  default: () => {
1370
1382
  var _a;
1371
1383
  return [renderHeader(), renderDescription(), createVNode("div", {
1372
- "class": bem$1b("content")
1384
+ "class": bem$1c("content")
1373
1385
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1374
1386
  }
1375
1387
  });
1376
1388
  }
1377
1389
  });
1378
- const ActionSheet = withInstall(stdin_default$1G);
1379
- var stdin_default$1F = ActionSheet;
1380
- const [name$1e, bem$1a] = createNamespace("image");
1390
+ const ActionSheet = withInstall(stdin_default$1H);
1391
+ var stdin_default$1G = ActionSheet;
1392
+ const [name$1f, bem$1b] = createNamespace("image");
1381
1393
  const imageProps = {
1382
1394
  src: String,
1383
1395
  alt: String,
@@ -1396,8 +1408,8 @@ const imageProps = {
1396
1408
  showLoading: truthProp,
1397
1409
  loadingIcon: makeStringProp("photo-default")
1398
1410
  };
1399
- var stdin_default$1E = defineComponent({
1400
- name: name$1e,
1411
+ var stdin_default$1F = defineComponent({
1412
+ name: name$1f,
1401
1413
  props: imageProps,
1402
1414
  emits: ["load", "error"],
1403
1415
  setup(props, {
@@ -1448,13 +1460,13 @@ var stdin_default$1E = defineComponent({
1448
1460
  const renderPlaceholder = () => {
1449
1461
  if (loading.value && props.showLoading) {
1450
1462
  return createVNode("div", {
1451
- "class": bem$1a("loading")
1452
- }, [renderIcon(props.loadingIcon, bem$1a("loading-icon"), slots.loading)]);
1463
+ "class": bem$1b("loading")
1464
+ }, [renderIcon(props.loadingIcon, bem$1b("loading-icon"), slots.loading)]);
1453
1465
  }
1454
1466
  if (error.value && props.showError) {
1455
1467
  return createVNode("div", {
1456
- "class": bem$1a("error")
1457
- }, [renderIcon(props.errorIcon, bem$1a("error-icon"), slots.error)]);
1468
+ "class": bem$1b("error")
1469
+ }, [renderIcon(props.errorIcon, bem$1b("error-icon"), slots.error)]);
1458
1470
  }
1459
1471
  };
1460
1472
  const renderImage = () => {
@@ -1463,7 +1475,7 @@ var stdin_default$1E = defineComponent({
1463
1475
  }
1464
1476
  const attrs = {
1465
1477
  alt: props.alt,
1466
- class: bem$1a("img"),
1478
+ class: bem$1b("img"),
1467
1479
  style: {
1468
1480
  objectFit: props.fit,
1469
1481
  objectPosition: props.position
@@ -1512,7 +1524,7 @@ var stdin_default$1E = defineComponent({
1512
1524
  return () => {
1513
1525
  var _a;
1514
1526
  return createVNode("div", {
1515
- "class": bem$1a({
1527
+ "class": bem$1b({
1516
1528
  round: props.round,
1517
1529
  block: props.block
1518
1530
  }),
@@ -1521,9 +1533,9 @@ var stdin_default$1E = defineComponent({
1521
1533
  };
1522
1534
  }
1523
1535
  });
1524
- const Image$1 = withInstall(stdin_default$1E);
1525
- var stdin_default$1D = Image$1;
1526
- const [name$1d, bem$19] = createNamespace("avatar");
1536
+ const Image$1 = withInstall(stdin_default$1F);
1537
+ var stdin_default$1E = Image$1;
1538
+ const [name$1e, bem$1a] = createNamespace("avatar");
1527
1539
  const avatarProps = {
1528
1540
  src: makeStringProp(""),
1529
1541
  size: makeStringProp("medium"),
@@ -1532,8 +1544,8 @@ const avatarProps = {
1532
1544
  textBgColor: String,
1533
1545
  border: Boolean
1534
1546
  };
1535
- var stdin_default$1C = defineComponent({
1536
- name: name$1d,
1547
+ var stdin_default$1D = defineComponent({
1548
+ name: name$1e,
1537
1549
  props: avatarProps,
1538
1550
  setup(props) {
1539
1551
  const headText = computed(() => {
@@ -1564,7 +1576,7 @@ var stdin_default$1C = defineComponent({
1564
1576
  }
1565
1577
  });
1566
1578
  const renderText = () => createVNode("div", {
1567
- "class": bem$19("img", [classArr.value, {
1579
+ "class": bem$1a("img", [classArr.value, {
1568
1580
  border: props.border
1569
1581
  }]),
1570
1582
  "style": style.value
@@ -1573,9 +1585,9 @@ var stdin_default$1C = defineComponent({
1573
1585
  if (!props.src) {
1574
1586
  return renderText();
1575
1587
  }
1576
- return createVNode(stdin_default$1D, {
1588
+ return createVNode(stdin_default$1E, {
1577
1589
  "round": props.shape === "round",
1578
- "class": bem$19("img", [classArr.value, {
1590
+ "class": bem$1a("img", [classArr.value, {
1579
1591
  border: props.border
1580
1592
  }]),
1581
1593
  "style": style.value,
@@ -1586,7 +1598,7 @@ var stdin_default$1C = defineComponent({
1586
1598
  };
1587
1599
  }
1588
1600
  });
1589
- const Avatar = withInstall(stdin_default$1C);
1601
+ const Avatar = withInstall(stdin_default$1D);
1590
1602
  const routeProps = {
1591
1603
  to: [String, Object],
1592
1604
  url: String,
@@ -1608,7 +1620,7 @@ function useRoute() {
1608
1620
  const vm = getCurrentInstance().proxy;
1609
1621
  return () => route(vm);
1610
1622
  }
1611
- const [name$1c, bem$18] = createNamespace("button");
1623
+ const [name$1d, bem$19] = createNamespace("button");
1612
1624
  const buttonProps = extend({}, routeProps, {
1613
1625
  tag: makeStringProp("button"),
1614
1626
  text: String,
@@ -1635,8 +1647,8 @@ const buttonProps = extend({}, routeProps, {
1635
1647
  loadingType: String,
1636
1648
  iconPosition: makeStringProp("left")
1637
1649
  });
1638
- var stdin_default$1B = defineComponent({
1639
- name: name$1c,
1650
+ var stdin_default$1C = defineComponent({
1651
+ name: name$1d,
1640
1652
  props: buttonProps,
1641
1653
  emits: ["click"],
1642
1654
  setup(props, {
@@ -1651,7 +1663,7 @@ var stdin_default$1B = defineComponent({
1651
1663
  return createVNode(Loading, {
1652
1664
  "size": props.loadingSize,
1653
1665
  "type": props.loadingType,
1654
- "class": bem$18("loading")
1666
+ "class": bem$19("loading")
1655
1667
  }, null);
1656
1668
  };
1657
1669
  const renderIcon = () => {
@@ -1663,14 +1675,14 @@ var stdin_default$1B = defineComponent({
1663
1675
  } = props;
1664
1676
  if (slots.icon) {
1665
1677
  return createVNode("div", {
1666
- "class": bem$18("icon", size)
1678
+ "class": bem$19("icon", size)
1667
1679
  }, [slots.icon()]);
1668
1680
  }
1669
1681
  if (props.icon) {
1670
1682
  return createVNode(Icon, {
1671
1683
  "name": props.icon,
1672
1684
  "color": props.iconColor,
1673
- "class": bem$18("icon", size),
1685
+ "class": bem$19("icon", size),
1674
1686
  "classPrefix": props.iconPrefix
1675
1687
  }, null);
1676
1688
  }
@@ -1684,7 +1696,7 @@ var stdin_default$1B = defineComponent({
1684
1696
  }
1685
1697
  if (text) {
1686
1698
  return createVNode("span", {
1687
- "class": bem$18("text")
1699
+ "class": bem$19("text")
1688
1700
  }, [text]);
1689
1701
  }
1690
1702
  };
@@ -1741,7 +1753,7 @@ var stdin_default$1B = defineComponent({
1741
1753
  nativeType,
1742
1754
  iconPosition
1743
1755
  } = props;
1744
- const classes = [bem$18([type, size, {
1756
+ const classes = [bem$19([type, size, {
1745
1757
  plain,
1746
1758
  block,
1747
1759
  "block-inner": blockInner ? "block-inner" : "",
@@ -1761,16 +1773,16 @@ var stdin_default$1B = defineComponent({
1761
1773
  "onClick": onClick
1762
1774
  }, {
1763
1775
  default: () => [createVNode("div", {
1764
- "class": bem$18("content")
1776
+ "class": bem$19("content")
1765
1777
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1766
1778
  });
1767
1779
  };
1768
1780
  }
1769
1781
  });
1770
- const Button = withInstall(stdin_default$1B);
1771
- var stdin_default$1A = Button;
1782
+ const Button = withInstall(stdin_default$1C);
1783
+ var stdin_default$1B = Button;
1772
1784
  const monthsOfYear = 12;
1773
- const [name$1b, bem$17, t$7] = createNamespace("calendar");
1785
+ const [name$1c, bem$18, t$7] = createNamespace("calendar");
1774
1786
  const formatMonthTitle = (date) => t$7("ztCalendar.monthTitle", date.getFullYear(), date.getMonth() + 1);
1775
1787
  function compareMonth(date1, date2) {
1776
1788
  const year1 = date1.getFullYear();
@@ -1856,7 +1868,7 @@ function lockClick(lock) {
1856
1868
  }
1857
1869
  }
1858
1870
  }
1859
- const [name$1a, bem$16] = createNamespace("toast");
1871
+ const [name$1b, bem$17] = createNamespace("toast");
1860
1872
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
1861
1873
  const toastProps = {
1862
1874
  icon: String,
@@ -1879,8 +1891,8 @@ const toastProps = {
1879
1891
  closeOnClick: Boolean,
1880
1892
  closeOnClickOverlay: Boolean
1881
1893
  };
1882
- var stdin_default$1z = defineComponent({
1883
- name: name$1a,
1894
+ var stdin_default$1A = defineComponent({
1895
+ name: name$1b,
1884
1896
  props: toastProps,
1885
1897
  emits: ["update:show"],
1886
1898
  setup(props, {
@@ -1915,13 +1927,13 @@ var stdin_default$1z = defineComponent({
1915
1927
  return createVNode(Icon, {
1916
1928
  "name": icon || type,
1917
1929
  "size": iconSize,
1918
- "class": bem$16("icon"),
1930
+ "class": bem$17("icon"),
1919
1931
  "classPrefix": iconPrefix
1920
1932
  }, null);
1921
1933
  }
1922
1934
  if (type === "loading") {
1923
1935
  return createVNode(Loading, {
1924
- "class": bem$16("loading"),
1936
+ "class": bem$17("loading"),
1925
1937
  "size": iconSize,
1926
1938
  "type": loadingType
1927
1939
  }, null);
@@ -1935,10 +1947,10 @@ var stdin_default$1z = defineComponent({
1935
1947
  if (isDef(message) && message !== "") {
1936
1948
  return type === "html" ? createVNode("div", {
1937
1949
  "key": 0,
1938
- "class": bem$16("text"),
1950
+ "class": bem$17("text"),
1939
1951
  "innerHTML": String(message)
1940
1952
  }, null) : createVNode("div", {
1941
- "class": bem$16("text")
1953
+ "class": bem$17("text")
1942
1954
  }, [message]);
1943
1955
  }
1944
1956
  };
@@ -1954,7 +1966,7 @@ var stdin_default$1z = defineComponent({
1954
1966
  onMounted(toggleClickable);
1955
1967
  onUnmounted(toggleClickable);
1956
1968
  return () => createVNode(Popup, mergeProps({
1957
- "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1969
+ "class": [bem$17([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1958
1970
  [props.type]: !props.icon
1959
1971
  }]), props.className],
1960
1972
  "lockScroll": false,
@@ -2055,7 +2067,7 @@ function createInstance() {
2055
2067
  onClosed,
2056
2068
  "onUpdate:show": toggle
2057
2069
  };
2058
- return createVNode(stdin_default$1z, mergeProps(state, attrs), null);
2070
+ return createVNode(stdin_default$1A, mergeProps(state, attrs), null);
2059
2071
  };
2060
2072
  watch(message, (val) => {
2061
2073
  state.message = val;
@@ -2125,7 +2137,7 @@ const resetToastDefaultOptions = (type) => {
2125
2137
  const allowMultipleToast = (value = true) => {
2126
2138
  allowMultiple = value;
2127
2139
  };
2128
- const Toast = withInstall(stdin_default$1z);
2140
+ const Toast = withInstall(stdin_default$1A);
2129
2141
  const useHeight = (element, withSafeArea) => {
2130
2142
  const height = ref();
2131
2143
  const setHeight = () => {
@@ -2141,9 +2153,9 @@ const useHeight = (element, withSafeArea) => {
2141
2153
  });
2142
2154
  return height;
2143
2155
  };
2144
- const [name$19] = createNamespace("calendar-day");
2145
- var stdin_default$1y = defineComponent({
2146
- name: name$19,
2156
+ const [name$1a] = createNamespace("calendar-day");
2157
+ var stdin_default$1z = defineComponent({
2158
+ name: name$1a,
2147
2159
  props: {
2148
2160
  item: makeRequiredProp(Object),
2149
2161
  color: String,
@@ -2217,7 +2229,7 @@ var stdin_default$1y = defineComponent({
2217
2229
  const Nodes = [text];
2218
2230
  if (type === "selected") {
2219
2231
  return createVNode("div", {
2220
- "class": bem$17("selected-day"),
2232
+ "class": bem$18("selected-day"),
2221
2233
  "style": {
2222
2234
  width: rowHeight,
2223
2235
  height: rowHeight,
@@ -2235,21 +2247,21 @@ var stdin_default$1y = defineComponent({
2235
2247
  } = props.item;
2236
2248
  if (type === "placeholder") {
2237
2249
  return createVNode("div", {
2238
- "class": bem$17("day"),
2250
+ "class": bem$18("day"),
2239
2251
  "style": style.value
2240
2252
  }, null);
2241
2253
  }
2242
2254
  return createVNode("div", {
2243
2255
  "role": "gridcell",
2244
2256
  "style": style.value,
2245
- "class": [bem$17("day", type), className],
2257
+ "class": [bem$18("day", type), className],
2246
2258
  "tabindex": type === "disabled" ? void 0 : -1,
2247
2259
  "onClick": onClick
2248
2260
  }, [renderContent()]);
2249
2261
  };
2250
2262
  }
2251
2263
  });
2252
- const [name$18] = createNamespace("calendar-month");
2264
+ const [name$19] = createNamespace("calendar-month");
2253
2265
  const calendarMonthProps = {
2254
2266
  date: makeRequiredProp(Date),
2255
2267
  showType: makeStringProp("inline"),
@@ -2268,8 +2280,8 @@ const calendarMonthProps = {
2268
2280
  firstDayOfWeek: Number,
2269
2281
  disabledDate: Function
2270
2282
  };
2271
- var stdin_default$1x = defineComponent({
2272
- name: name$18,
2283
+ var stdin_default$1y = defineComponent({
2284
+ name: name$19,
2273
2285
  props: calendarMonthProps,
2274
2286
  emits: ["click"],
2275
2287
  setup(props, {
@@ -2380,7 +2392,7 @@ var stdin_default$1x = defineComponent({
2380
2392
  const renderTitle = () => {
2381
2393
  if (props.showMonthTitle) {
2382
2394
  return createVNode("div", {
2383
- "class": bem$17("month-title")
2395
+ "class": bem$18("month-title")
2384
2396
  }, [title.value]);
2385
2397
  }
2386
2398
  };
@@ -2453,7 +2465,7 @@ var stdin_default$1x = defineComponent({
2453
2465
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
2454
2466
  }
2455
2467
  };
2456
- const renderDay = (item, index) => createVNode(stdin_default$1y, {
2468
+ const renderDay = (item, index) => createVNode(stdin_default$1z, {
2457
2469
  "item": item,
2458
2470
  "index": index,
2459
2471
  "color": props.color,
@@ -2464,7 +2476,7 @@ var stdin_default$1x = defineComponent({
2464
2476
  const renderDays = () => createVNode("div", {
2465
2477
  "ref": daysRef,
2466
2478
  "role": "grid",
2467
- "class": bem$17("days")
2479
+ "class": bem$18("days")
2468
2480
  }, [(shouldRender.value ? days : placeholders).value.map(renderDay)]);
2469
2481
  useExpose({
2470
2482
  getTitle,
@@ -2475,14 +2487,14 @@ var stdin_default$1x = defineComponent({
2475
2487
  disabledDays
2476
2488
  });
2477
2489
  return () => createVNode("div", {
2478
- "class": bem$17("month"),
2490
+ "class": bem$18("month"),
2479
2491
  "ref": monthRef
2480
2492
  }, [renderTitle(), renderDays()]);
2481
2493
  }
2482
2494
  });
2483
- const [name$17] = createNamespace("calendar-header");
2484
- var stdin_default$1w = defineComponent({
2485
- name: name$17,
2495
+ const [name$18] = createNamespace("calendar-header");
2496
+ var stdin_default$1x = defineComponent({
2497
+ name: name$18,
2486
2498
  props: {
2487
2499
  title: String,
2488
2500
  subtitle: String,
@@ -2505,7 +2517,7 @@ var stdin_default$1w = defineComponent({
2505
2517
  const text = props.title || "请选择日期";
2506
2518
  const title = slots.title ? slots.title() : text;
2507
2519
  return createVNode("div", {
2508
- "class": bem$17("header-title")
2520
+ "class": bem$18("header-title")
2509
2521
  }, [title]);
2510
2522
  }
2511
2523
  };
@@ -2535,7 +2547,7 @@ var stdin_default$1w = defineComponent({
2535
2547
  "fill-rule": "evenodd"
2536
2548
  }, [createVNode("g", {
2537
2549
  "transform": "translate(-32.000000, -320.000000)",
2538
- "class": bem$17("svg-defs-path-fill"),
2550
+ "class": bem$18("svg-defs-path-fill"),
2539
2551
  "fill-rule": "nonzero"
2540
2552
  }, [createVNode("g", {
2541
2553
  "transform": "translate(0.000000, 70.000000)"
@@ -2573,7 +2585,7 @@ var stdin_default$1w = defineComponent({
2573
2585
  "fill-rule": "evenodd"
2574
2586
  }, [createVNode("g", {
2575
2587
  "transform": "translate(-80.000000, -320.000000)",
2576
- "class": bem$17("svg-defs-path-fill"),
2588
+ "class": bem$18("svg-defs-path-fill"),
2577
2589
  "fill-rule": "nonzero"
2578
2590
  }, [createVNode("g", {
2579
2591
  "transform": "translate(0.000000, 70.000000)"
@@ -2598,21 +2610,21 @@ var stdin_default$1w = defineComponent({
2598
2610
  if (props.showSubtitle) {
2599
2611
  const title = slots.subtitle ? slots.subtitle() : props.subtitle;
2600
2612
  return createVNode("div", {
2601
- "class": bem$17("header-subtitle")
2613
+ "class": bem$18("header-subtitle")
2602
2614
  }, [createVNode("div", {
2603
- "class": bem$17("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2615
+ "class": bem$18("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2604
2616
  "onClick": onClickPreIcon(false, true)
2605
2617
  }, [fastForwardImg()]), createVNode("div", {
2606
- "class": bem$17("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2618
+ "class": bem$18("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2607
2619
  "onClick": onClickPreIcon(true, false)
2608
2620
  }, [slowForward()]), createVNode("label", {
2609
- "class": bem$17("header-subtitle-text"),
2621
+ "class": bem$18("header-subtitle-text"),
2610
2622
  "onClick": onClickSubtitle
2611
2623
  }, [title]), createVNode("div", {
2612
- "class": bem$17("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2624
+ "class": bem$18("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2613
2625
  "onClick": onClickNextIcon(true, false)
2614
2626
  }, [slowForward()]), createVNode("div", {
2615
- "class": bem$17("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2627
+ "class": bem$18("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2616
2628
  "onClick": onClickNextIcon(false, true)
2617
2629
  }, [fastForwardImg()])]);
2618
2630
  }
@@ -2627,13 +2639,13 @@ var stdin_default$1w = defineComponent({
2627
2639
  const weekdays = ["一", "二", "三", "四", "五", "六", "日"];
2628
2640
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek - 1), ...weekdays.slice(0, firstDayOfWeek - 1)];
2629
2641
  return createVNode("div", {
2630
- "class": bem$17("weekdays")
2642
+ "class": bem$18("weekdays")
2631
2643
  }, [renderWeekDays2.map((text) => createVNode("span", {
2632
- "class": bem$17("weekday")
2644
+ "class": bem$18("weekday")
2633
2645
  }, [text]))]);
2634
2646
  };
2635
2647
  return () => createVNode("div", {
2636
- "class": bem$17("header")
2648
+ "class": bem$18("header")
2637
2649
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
2638
2650
  }
2639
2651
  });
@@ -2676,8 +2688,8 @@ const calendarProps = {
2676
2688
  },
2677
2689
  disabledDate: Function
2678
2690
  };
2679
- var stdin_default$1v = defineComponent({
2680
- name: name$1b,
2691
+ var stdin_default$1w = defineComponent({
2692
+ name: name$1c,
2681
2693
  props: calendarProps,
2682
2694
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
2683
2695
  setup(props, {
@@ -3029,7 +3041,7 @@ var stdin_default$1v = defineComponent({
3029
3041
  const updateShow = (value) => emit("update:show", value);
3030
3042
  const renderMonth = (date, index) => {
3031
3043
  const showMonthTitle = index !== 0 || !props.showSubtitle;
3032
- return createVNode(stdin_default$1x, mergeProps({
3044
+ return createVNode(stdin_default$1y, mergeProps({
3033
3045
  "ref": setMonthRefs(index),
3034
3046
  "date": date,
3035
3047
  "currentDate": currentDate.value,
@@ -3073,13 +3085,13 @@ var stdin_default$1v = defineComponent({
3073
3085
  }
3074
3086
  };
3075
3087
  const renderFooter = () => createVNode("div", {
3076
- "class": [bem$17("footer"), {
3088
+ "class": [bem$18("footer"), {
3077
3089
  "zt-safe-area-bottom": props.safeAreaInsetBottom
3078
3090
  }]
3079
3091
  }, [renderFooterButton()]);
3080
3092
  const renderCalendar = () => createVNode("div", {
3081
- "class": bem$17()
3082
- }, [createVNode(stdin_default$1w, {
3093
+ "class": bem$18()
3094
+ }, [createVNode(stdin_default$1x, {
3083
3095
  "title": props.title,
3084
3096
  "subtitle": subtitle.value,
3085
3097
  "showTitle": props.showTitle,
@@ -3095,7 +3107,7 @@ var stdin_default$1v = defineComponent({
3095
3107
  "monthNextEnable": monthNextEnable.value
3096
3108
  }, pick(slots, ["title", "subtitle"])), createVNode("div", {
3097
3109
  "ref": bodyRef,
3098
- "class": bem$17("body"),
3110
+ "class": bem$18("body"),
3099
3111
  "onScroll": onScroll
3100
3112
  }, [months.value.map(renderMonth)]), props.popup ? renderFooter() : ""]);
3101
3113
  watch(() => props.show, init);
@@ -3119,7 +3131,7 @@ var stdin_default$1v = defineComponent({
3119
3131
  if (props.popup) {
3120
3132
  return createVNode(Popup, {
3121
3133
  "show": props.show,
3122
- "class": bem$17("popup"),
3134
+ "class": bem$18("popup"),
3123
3135
  "round": props.round,
3124
3136
  "position": props.position,
3125
3137
  "teleport": props.teleport,
@@ -3135,7 +3147,7 @@ var stdin_default$1v = defineComponent({
3135
3147
  };
3136
3148
  }
3137
3149
  });
3138
- const Calendar = withInstall(stdin_default$1v);
3150
+ const Calendar = withInstall(stdin_default$1w);
3139
3151
  function scrollLeftTo(scroller, to, duration) {
3140
3152
  let count = 0;
3141
3153
  const from = scroller.scrollLeft;
@@ -3200,7 +3212,7 @@ function useVisibilityChange(target, onChange) {
3200
3212
  onBeforeUnmount(unobserve);
3201
3213
  onMountedOrActivated(observe);
3202
3214
  }
3203
- const [name$16, bem$15] = createNamespace("sticky");
3215
+ const [name$17, bem$16] = createNamespace("sticky");
3204
3216
  const stickyProps = {
3205
3217
  zIndex: numericProp,
3206
3218
  position: makeStringProp("top"),
@@ -3208,8 +3220,8 @@ const stickyProps = {
3208
3220
  offsetTop: makeNumericProp(0),
3209
3221
  offsetBottom: makeNumericProp(0)
3210
3222
  };
3211
- var stdin_default$1u = defineComponent({
3212
- name: name$16,
3223
+ var stdin_default$1v = defineComponent({
3224
+ name: name$17,
3213
3225
  props: stickyProps,
3214
3226
  emits: ["scroll", "change"],
3215
3227
  setup(props, {
@@ -3306,7 +3318,7 @@ var stdin_default$1u = defineComponent({
3306
3318
  "ref": root,
3307
3319
  "style": rootStyle.value
3308
3320
  }, [createVNode("div", {
3309
- "class": bem$15({
3321
+ "class": bem$16({
3310
3322
  fixed: state.fixed
3311
3323
  }),
3312
3324
  "style": stickyStyle.value
@@ -3314,10 +3326,10 @@ var stdin_default$1u = defineComponent({
3314
3326
  };
3315
3327
  }
3316
3328
  });
3317
- const Sticky = withInstall(stdin_default$1u);
3318
- const [name$15, bem$14] = createNamespace("tab");
3319
- var stdin_default$1t = defineComponent({
3320
- name: name$15,
3329
+ const Sticky = withInstall(stdin_default$1v);
3330
+ const [name$16, bem$15] = createNamespace("tab");
3331
+ var stdin_default$1u = defineComponent({
3332
+ name: name$16,
3321
3333
  props: {
3322
3334
  id: String,
3323
3335
  dot: Boolean,
@@ -3372,7 +3384,7 @@ var stdin_default$1t = defineComponent({
3372
3384
  });
3373
3385
  const renderText = () => {
3374
3386
  const Text = createVNode("span", {
3375
- "class": bem$14("text", {
3387
+ "class": bem$15("text", {
3376
3388
  ellipsis: !props.scrollable
3377
3389
  })
3378
3390
  }, [slots.title ? slots.title() : props.title]);
@@ -3390,7 +3402,7 @@ var stdin_default$1t = defineComponent({
3390
3402
  return () => createVNode("div", {
3391
3403
  "id": props.id,
3392
3404
  "role": "tab",
3393
- "class": [bem$14([props.type, {
3405
+ "class": [bem$15([props.type, {
3394
3406
  grow: props.scrollable && !props.shrink,
3395
3407
  shrink: props.shrink,
3396
3408
  active: props.isActive,
@@ -3404,7 +3416,7 @@ var stdin_default$1t = defineComponent({
3404
3416
  }, [renderText()]);
3405
3417
  }
3406
3418
  });
3407
- const [name$14, bem$13] = createNamespace("swipe");
3419
+ const [name$15, bem$14] = createNamespace("swipe");
3408
3420
  const swipeProps = {
3409
3421
  loop: truthProp,
3410
3422
  width: numericProp,
@@ -3420,9 +3432,9 @@ const swipeProps = {
3420
3432
  stopPropagation: truthProp,
3421
3433
  title: Array
3422
3434
  };
3423
- const SWIPE_KEY = Symbol(name$14);
3424
- var stdin_default$1s = defineComponent({
3425
- name: name$14,
3435
+ const SWIPE_KEY = Symbol(name$15);
3436
+ var stdin_default$1t = defineComponent({
3437
+ name: name$15,
3426
3438
  props: swipeProps,
3427
3439
  emits: ["change", "dragStart", "dragEnd"],
3428
3440
  setup(props, {
@@ -3693,7 +3705,7 @@ var stdin_default$1s = defineComponent({
3693
3705
  const renderDot = (_, index) => {
3694
3706
  const active = index === activeIndicator.value;
3695
3707
  return createVNode("i", {
3696
- "class": bem$13("indicator", {
3708
+ "class": bem$14("indicator", {
3697
3709
  active
3698
3710
  })
3699
3711
  }, null);
@@ -3707,7 +3719,7 @@ var stdin_default$1s = defineComponent({
3707
3719
  }
3708
3720
  if (props.showIndicators && count.value > 1) {
3709
3721
  return createVNode("div", {
3710
- "class": bem$13("indicators", {
3722
+ "class": bem$14("indicators", {
3711
3723
  vertical: props.vertical
3712
3724
  })
3713
3725
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -3716,17 +3728,17 @@ var stdin_default$1s = defineComponent({
3716
3728
  const titleDiv = () => {
3717
3729
  if (Array.isArray(props.title)) {
3718
3730
  return createVNode("div", {
3719
- "class": bem$13("title")
3731
+ "class": bem$14("title")
3720
3732
  }, [activeIndicator.value < props.title.length ? props.title[activeIndicator.value] : ""]);
3721
3733
  }
3722
3734
  return createVNode("div", {
3723
- "class": bem$13("title")
3735
+ "class": bem$14("title")
3724
3736
  }, [props.title]);
3725
3737
  };
3726
3738
  const foot = () => {
3727
3739
  if (props.title) {
3728
3740
  return createVNode("div", {
3729
- "class": bem$13("foot")
3741
+ "class": bem$14("foot")
3730
3742
  }, [titleDiv(), renderIndicator()]);
3731
3743
  }
3732
3744
  return createVNode("div", null, [titleDiv(), renderIndicator()]);
@@ -3766,10 +3778,10 @@ var stdin_default$1s = defineComponent({
3766
3778
  var _a;
3767
3779
  return createVNode("div", {
3768
3780
  "ref": root,
3769
- "class": bem$13()
3781
+ "class": bem$14()
3770
3782
  }, [createVNode("div", {
3771
3783
  "style": trackStyle.value,
3772
- "class": bem$13("track", {
3784
+ "class": bem$14("track", {
3773
3785
  vertical: props.vertical
3774
3786
  }),
3775
3787
  "onTouchstartPassive": onTouchStart,
@@ -3780,10 +3792,10 @@ var stdin_default$1s = defineComponent({
3780
3792
  };
3781
3793
  }
3782
3794
  });
3783
- const Swipe = withInstall(stdin_default$1s);
3784
- const [name$13, bem$12] = createNamespace("tabs");
3785
- var stdin_default$1r = defineComponent({
3786
- name: name$13,
3795
+ const Swipe = withInstall(stdin_default$1t);
3796
+ const [name$14, bem$13] = createNamespace("tabs");
3797
+ var stdin_default$1s = defineComponent({
3798
+ name: name$14,
3787
3799
  props: {
3788
3800
  count: makeRequiredProp(Number),
3789
3801
  inited: Boolean,
@@ -3807,7 +3819,7 @@ var stdin_default$1r = defineComponent({
3807
3819
  return createVNode(Swipe, {
3808
3820
  "ref": swipeRef,
3809
3821
  "loop": false,
3810
- "class": bem$12("track"),
3822
+ "class": bem$13("track"),
3811
3823
  "duration": +props.duration * 1e3,
3812
3824
  "touchable": props.swipeable,
3813
3825
  "lazyRender": props.lazyRender,
@@ -3832,13 +3844,13 @@ var stdin_default$1r = defineComponent({
3832
3844
  swipeToCurrentTab(props.currentIndex);
3833
3845
  });
3834
3846
  return () => createVNode("div", {
3835
- "class": bem$12("content", {
3847
+ "class": bem$13("content", {
3836
3848
  animated: props.animated || props.swipeable
3837
3849
  })
3838
3850
  }, [renderChildren()]);
3839
3851
  }
3840
3852
  });
3841
- const [name$12, bem$11] = createNamespace("tabs");
3853
+ const [name$13, bem$12] = createNamespace("tabs");
3842
3854
  const tabsProps = {
3843
3855
  type: makeStringProp("line"),
3844
3856
  color: String,
@@ -3861,9 +3873,9 @@ const tabsProps = {
3861
3873
  titleActiveColor: String,
3862
3874
  titleInactiveColor: String
3863
3875
  };
3864
- const TABS_KEY = Symbol(name$12);
3865
- var stdin_default$1q = defineComponent({
3866
- name: name$12,
3876
+ const TABS_KEY = Symbol(name$13);
3877
+ var stdin_default$1r = defineComponent({
3878
+ name: name$13,
3867
3879
  props: tabsProps,
3868
3880
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
3869
3881
  setup(props, {
@@ -4053,7 +4065,7 @@ var stdin_default$1q = defineComponent({
4053
4065
  state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
4054
4066
  state.showRightOverlay = hasScrollToEnd(target);
4055
4067
  };
4056
- const renderNav = () => children.map((item, index) => createVNode(stdin_default$1t, mergeProps({
4068
+ const renderNav = () => children.map((item, index) => createVNode(stdin_default$1u, mergeProps({
4057
4069
  "key": item.id,
4058
4070
  "id": `${id}-${index}`,
4059
4071
  "ref": setTitleRefs(index),
@@ -4074,7 +4086,7 @@ var stdin_default$1q = defineComponent({
4074
4086
  const renderLine = () => {
4075
4087
  if (props.type === "line" && children.length) {
4076
4088
  return createVNode("div", {
4077
- "class": bem$11("line"),
4089
+ "class": bem$12("line"),
4078
4090
  "style": state.lineStyle
4079
4091
  }, null);
4080
4092
  }
@@ -4082,14 +4094,14 @@ var stdin_default$1q = defineComponent({
4082
4094
  const renderOverlayLeft = () => {
4083
4095
  if (state.showLeftOverlay) {
4084
4096
  return createVNode("div", {
4085
- "class": bem$11("overlay-left")
4097
+ "class": bem$12("overlay-left")
4086
4098
  }, null);
4087
4099
  }
4088
4100
  };
4089
4101
  const renderOverlayRight = () => {
4090
4102
  if (state.showRightOverlay) {
4091
4103
  return createVNode("div", {
4092
- "class": bem$11("overlay-right")
4104
+ "class": bem$12("overlay-right")
4093
4105
  }, null);
4094
4106
  }
4095
4107
  };
@@ -4101,13 +4113,13 @@ var stdin_default$1q = defineComponent({
4101
4113
  } = props;
4102
4114
  return createVNode("div", {
4103
4115
  "ref": wrapRef,
4104
- "class": [bem$11("wrap"), {
4116
+ "class": [bem$12("wrap"), {
4105
4117
  [BORDER_TOP_BOTTOM]: type === "line" && border
4106
4118
  }]
4107
4119
  }, [createVNode("div", {
4108
4120
  "ref": navRef,
4109
4121
  "role": "tablist",
4110
- "class": bem$11("nav", [type, {
4122
+ "class": bem$12("nav", [type, {
4111
4123
  shrink: props.shrink,
4112
4124
  complete: scrollable.value
4113
4125
  }]),
@@ -4177,7 +4189,7 @@ var stdin_default$1q = defineComponent({
4177
4189
  var _a;
4178
4190
  return createVNode("div", {
4179
4191
  "ref": root,
4180
- "class": bem$11([props.type])
4192
+ "class": bem$12([props.type])
4181
4193
  }, [props.sticky ? createVNode(Sticky, {
4182
4194
  "container": root.value,
4183
4195
  "offsetTop": offsetTopPx.value,
@@ -4187,7 +4199,7 @@ var stdin_default$1q = defineComponent({
4187
4199
  var _a2;
4188
4200
  return [renderHeader(), (_a2 = slots["nav-bottom"]) == null ? void 0 : _a2.call(slots)];
4189
4201
  }
4190
- }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], createVNode(stdin_default$1r, {
4202
+ }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], createVNode(stdin_default$1s, {
4191
4203
  "count": children.length,
4192
4204
  "inited": state.inited,
4193
4205
  "animated": props.animated,
@@ -4207,9 +4219,9 @@ var stdin_default$1q = defineComponent({
4207
4219
  });
4208
4220
  const TAB_STATUS_KEY = Symbol();
4209
4221
  const useTabStatus = () => inject(TAB_STATUS_KEY, null);
4210
- const [name$11, bem$10] = createNamespace("swipe-item");
4211
- var stdin_default$1p = defineComponent({
4212
- name: name$11,
4222
+ const [name$12, bem$11] = createNamespace("swipe-item");
4223
+ var stdin_default$1q = defineComponent({
4224
+ name: name$12,
4213
4225
  setup(props, {
4214
4226
  slots
4215
4227
  }) {
@@ -4274,14 +4286,14 @@ var stdin_default$1p = defineComponent({
4274
4286
  return () => {
4275
4287
  var _a;
4276
4288
  return createVNode("div", {
4277
- "class": bem$10(),
4289
+ "class": bem$11(),
4278
4290
  "style": style.value
4279
4291
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
4280
4292
  };
4281
4293
  }
4282
4294
  });
4283
- const SwipeItem = withInstall(stdin_default$1p);
4284
- const [name$10, bem$$] = createNamespace("tab");
4295
+ const SwipeItem = withInstall(stdin_default$1q);
4296
+ const [name$11, bem$10] = createNamespace("tab");
4285
4297
  const tabProps = extend({}, routeProps, {
4286
4298
  dot: Boolean,
4287
4299
  name: numericProp,
@@ -4292,8 +4304,8 @@ const tabProps = extend({}, routeProps, {
4292
4304
  titleStyle: [String, Object],
4293
4305
  showZeroBadge: truthProp
4294
4306
  });
4295
- var stdin_default$1o = defineComponent({
4296
- name: name$10,
4307
+ var stdin_default$1p = defineComponent({
4308
+ name: name$11,
4297
4309
  props: tabProps,
4298
4310
  setup(props, {
4299
4311
  slots
@@ -4351,7 +4363,7 @@ var stdin_default$1o = defineComponent({
4351
4363
  return createVNode(SwipeItem, {
4352
4364
  "id": id,
4353
4365
  "role": "tabpanel",
4354
- "class": bem$$("panel-wrapper", {
4366
+ "class": bem$10("panel-wrapper", {
4355
4367
  inactive: !active.value
4356
4368
  }),
4357
4369
  "tabindex": active.value ? 0 : -1,
@@ -4361,7 +4373,7 @@ var stdin_default$1o = defineComponent({
4361
4373
  default: () => {
4362
4374
  var _a2;
4363
4375
  return [createVNode("div", {
4364
- "class": bem$$("panel")
4376
+ "class": bem$10("panel")
4365
4377
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
4366
4378
  }
4367
4379
  });
@@ -4374,23 +4386,23 @@ var stdin_default$1o = defineComponent({
4374
4386
  return withDirectives(createVNode("div", {
4375
4387
  "id": id,
4376
4388
  "role": "tabpanel",
4377
- "class": bem$$("panel"),
4389
+ "class": bem$10("panel"),
4378
4390
  "tabindex": show ? 0 : -1,
4379
4391
  "aria-labelledby": label
4380
4392
  }, [Content]), [[vShow, show]]);
4381
4393
  };
4382
4394
  }
4383
4395
  });
4384
- const Tab = withInstall(stdin_default$1o);
4385
- const Tabs = withInstall(stdin_default$1q);
4386
- const [name$$, bem$_] = createNamespace("divider");
4396
+ const Tab = withInstall(stdin_default$1p);
4397
+ const Tabs = withInstall(stdin_default$1r);
4398
+ const [name$10, bem$$] = createNamespace("divider");
4387
4399
  const dividerProps = {
4388
4400
  dashed: Boolean,
4389
4401
  hairline: truthProp,
4390
4402
  contentPosition: makeStringProp("center")
4391
4403
  };
4392
- var stdin_default$1n = defineComponent({
4393
- name: name$$,
4404
+ var stdin_default$1o = defineComponent({
4405
+ name: name$10,
4394
4406
  props: dividerProps,
4395
4407
  setup(props, {
4396
4408
  slots
@@ -4399,7 +4411,7 @@ var stdin_default$1n = defineComponent({
4399
4411
  var _a;
4400
4412
  return createVNode("div", {
4401
4413
  "role": "separator",
4402
- "class": bem$_({
4414
+ "class": bem$$({
4403
4415
  dashed: props.dashed,
4404
4416
  hairline: props.hairline,
4405
4417
  [`content-${props.contentPosition}`]: !!slots.default
@@ -4408,8 +4420,8 @@ var stdin_default$1n = defineComponent({
4408
4420
  };
4409
4421
  }
4410
4422
  });
4411
- const Divider = withInstall(stdin_default$1n);
4412
- const [name$_, bem$Z, t$6] = createNamespace("cascader");
4423
+ const Divider = withInstall(stdin_default$1o);
4424
+ const [name$$, bem$_, t$6] = createNamespace("cascader");
4413
4425
  const cascaderProps = {
4414
4426
  title: String,
4415
4427
  show: Boolean,
@@ -4429,8 +4441,8 @@ const cascaderProps = {
4429
4441
  safeAreaInsetTop: Boolean,
4430
4442
  closeOnClickOverlay: truthProp
4431
4443
  };
4432
- var stdin_default$1m = defineComponent({
4433
- name: name$_,
4444
+ var stdin_default$1n = defineComponent({
4445
+ name: name$$,
4434
4446
  props: cascaderProps,
4435
4447
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
4436
4448
  setup(props, {
@@ -4544,9 +4556,9 @@ var stdin_default$1m = defineComponent({
4544
4556
  title
4545
4557
  }) => emit("clickTab", name2, title);
4546
4558
  const renderHeader = () => createVNode("div", {
4547
- "class": bem$Z("header")
4559
+ "class": bem$_("header")
4548
4560
  }, [createVNode("h2", {
4549
- "class": bem$Z("title")
4561
+ "class": bem$_("title")
4550
4562
  }, [slots.title ? slots.title() : props.title])]);
4551
4563
  const renderOption = (option, selectedOption, tabIndex) => {
4552
4564
  const {
@@ -4560,7 +4572,7 @@ var stdin_default$1m = defineComponent({
4560
4572
  }) : createVNode("span", null, [option[textKey]]);
4561
4573
  return createVNode("li", {
4562
4574
  "role": "menuitemradio",
4563
- "class": [bem$Z("option", {
4575
+ "class": [bem$_("option", {
4564
4576
  selected,
4565
4577
  disabled
4566
4578
  }), option.className],
@@ -4573,12 +4585,12 @@ var stdin_default$1m = defineComponent({
4573
4585
  "onClick": () => onSelect(option, tabIndex)
4574
4586
  }, [Text, selected ? createVNode(Icon, {
4575
4587
  "name": "success",
4576
- "class": bem$Z("selected-icon")
4588
+ "class": bem$_("selected-icon")
4577
4589
  }, null) : null]);
4578
4590
  };
4579
4591
  const renderOptions = (options, selectedOption, tabIndex) => createVNode("ul", {
4580
4592
  "role": "menu",
4581
- "class": bem$Z("options")
4593
+ "class": bem$_("options")
4582
4594
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
4583
4595
  const renderDivider = () => createVNode(Divider, {
4584
4596
  "style": {
@@ -4594,7 +4606,7 @@ var stdin_default$1m = defineComponent({
4594
4606
  const title = selected ? selected[textKey] : placeholder;
4595
4607
  return createVNode(Tab, {
4596
4608
  "title": title,
4597
- "titleClass": bem$Z("tab", {
4609
+ "titleClass": bem$_("tab", {
4598
4610
  unselected: !selected
4599
4611
  })
4600
4612
  }, {
@@ -4612,15 +4624,15 @@ var stdin_default$1m = defineComponent({
4612
4624
  "active": activeTab.value,
4613
4625
  "onUpdate:active": ($event) => activeTab.value = $event,
4614
4626
  "animated": true,
4615
- "class": bem$Z("tabs"),
4627
+ "class": bem$_("tabs"),
4616
4628
  "color": props.activeColor,
4617
4629
  "swipeable": props.swipeable,
4618
4630
  "onClickTab": onClickTab
4619
4631
  }, {
4620
4632
  default: () => [tabs.value.map(renderTab)]
4621
4633
  });
4622
- const renderMenu = () => createVNode(stdin_default$1B, {
4623
- "class": bem$Z("cancel"),
4634
+ const renderMenu = () => createVNode(stdin_default$1C, {
4635
+ "class": bem$_("cancel"),
4624
4636
  "onClick": onCancel
4625
4637
  }, {
4626
4638
  default: () => [createTextVNode("取消")]
@@ -4657,7 +4669,7 @@ var stdin_default$1m = defineComponent({
4657
4669
  updateTabs();
4658
4670
  });
4659
4671
  const renderCascade = () => createVNode("div", {
4660
- "class": bem$Z()
4672
+ "class": bem$_()
4661
4673
  }, [renderHeader(), renderDivider(), renderTabs(), props.popup ? renderDivider() : "", props.popup ? renderMenu() : ""]);
4662
4674
  return () => {
4663
4675
  if (props.popup) {
@@ -4678,8 +4690,8 @@ var stdin_default$1m = defineComponent({
4678
4690
  };
4679
4691
  }
4680
4692
  });
4681
- const Cascader = withInstall(stdin_default$1m);
4682
- const [name$Z, bem$Y] = createNamespace("cell");
4693
+ const Cascader = withInstall(stdin_default$1n);
4694
+ const [name$_, bem$Z] = createNamespace("cell");
4683
4695
  const cellSharedProps = {
4684
4696
  leftIcon: String,
4685
4697
  titleIcon: String,
@@ -4700,23 +4712,26 @@ const cellSharedProps = {
4700
4712
  clickable: {
4701
4713
  type: Boolean,
4702
4714
  default: null
4703
- }
4715
+ },
4716
+ clearable: Boolean,
4717
+ clearIcon: makeStringProp("clear-r")
4704
4718
  };
4705
4719
  const cellProps = extend({}, cellSharedProps, routeProps);
4706
- var stdin_default$1l = defineComponent({
4707
- name: name$Z,
4720
+ var stdin_default$1m = defineComponent({
4721
+ name: name$_,
4708
4722
  props: cellProps,
4709
- emits: ["click"],
4723
+ emits: ["click", "clear"],
4710
4724
  setup(props, {
4711
4725
  slots,
4712
4726
  emit
4713
4727
  }) {
4714
4728
  const route2 = useRoute();
4729
+ const clearIconRef = ref();
4715
4730
  const renderLabel = () => {
4716
4731
  const showLabel = slots.label || isDef(props.label);
4717
4732
  if (showLabel) {
4718
4733
  return createVNode("div", {
4719
- "class": [bem$Y("label"), props.labelClass]
4734
+ "class": [bem$Z("label"), props.labelClass]
4720
4735
  }, [slots.label ? slots.label() : props.label]);
4721
4736
  }
4722
4737
  };
@@ -4727,7 +4742,7 @@ var stdin_default$1l = defineComponent({
4727
4742
  if (props.titleIcon) {
4728
4743
  return createVNode(Icon, {
4729
4744
  "name": props.titleIcon,
4730
- "class": bem$Y("title-icon"),
4745
+ "class": bem$Z("title-icon"),
4731
4746
  "classPrefix": props.iconPrefix
4732
4747
  }, null);
4733
4748
  }
@@ -4737,13 +4752,13 @@ var stdin_default$1l = defineComponent({
4737
4752
  const hasValue = slots.value || slots.default || props.value;
4738
4753
  const isHorizontal = props.direction === "horizontal";
4739
4754
  return createVNode("div", {
4740
- "class": [bem$Y("title", {
4755
+ "class": [bem$Z("title", {
4741
4756
  [props.direction]: true,
4742
4757
  "with-value": isHorizontal && hasValue
4743
4758
  }), props.titleClass],
4744
4759
  "style": props.titleStyle
4745
4760
  }, [slots.title ? slots.title() : [renderTitleIcon(), createVNode("span", {
4746
- "class": bem$Y("title-text")
4761
+ "class": bem$Z("title-text")
4747
4762
  }, [props.title])], renderLabel()]);
4748
4763
  }
4749
4764
  };
@@ -4755,7 +4770,7 @@ var stdin_default$1l = defineComponent({
4755
4770
  const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow-right";
4756
4771
  return createVNode(Icon, {
4757
4772
  "name": name2,
4758
- "class": bem$Y("right-icon"),
4773
+ "class": bem$Z("right-icon"),
4759
4774
  "size": "20"
4760
4775
  }, null);
4761
4776
  }
@@ -4770,20 +4785,41 @@ var stdin_default$1l = defineComponent({
4770
4785
  emit("click");
4771
4786
  }
4772
4787
  };
4788
+ const onClear = (event) => {
4789
+ preventDefault(event, true);
4790
+ emit("clear", event);
4791
+ };
4792
+ function getClearIconListenerEvent() {
4793
+ if ("ontouchstart" in document.documentElement) {
4794
+ return "touchstart";
4795
+ }
4796
+ return "click";
4797
+ }
4798
+ useEventListener(getClearIconListenerEvent(), onClear, {
4799
+ target: computed(() => {
4800
+ var _a;
4801
+ return (_a = clearIconRef.value) == null ? void 0 : _a.$el;
4802
+ })
4803
+ });
4773
4804
  const renderValue = () => {
4774
4805
  var _a;
4775
4806
  const slot = slots.value || slots.default;
4776
4807
  const hasValue = slot || isDef(props.value);
4777
4808
  const isHorizontal = props.direction === "horizontal";
4809
+ const showClear = props.clearable && isDef(props.value) && props.value !== "";
4778
4810
  if (hasValue) {
4779
4811
  return createVNode("div", {
4780
- "class": [bem$Y("value", {
4812
+ "class": [bem$Z("value", {
4781
4813
  [props.direction]: true
4782
4814
  }), props.valueClass],
4783
4815
  "onClick": () => onClick(isHorizontal)
4784
4816
  }, [slot ? slot() : createVNode("span", {
4785
- "class": bem$Y("value-text")
4786
- }, [props.value]), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
4817
+ "class": bem$Z("value-text")
4818
+ }, [props.value]), showClear && createVNode(Icon, {
4819
+ "ref": clearIconRef,
4820
+ "name": props.clearIcon,
4821
+ "class": bem$Z("value-clear")
4822
+ }, null), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
4787
4823
  }
4788
4824
  };
4789
4825
  const renderLeftIcon = () => {
@@ -4793,7 +4829,7 @@ var stdin_default$1l = defineComponent({
4793
4829
  if (props.leftIcon) {
4794
4830
  return createVNode(Icon, {
4795
4831
  "name": props.leftIcon,
4796
- "class": bem$Y("left-icon"),
4832
+ "class": bem$Z("left-icon"),
4797
4833
  "classPrefix": props.iconPrefix
4798
4834
  }, null);
4799
4835
  }
@@ -4825,7 +4861,7 @@ var stdin_default$1l = defineComponent({
4825
4861
  classes.borderless = true;
4826
4862
  }
4827
4863
  return createVNode("div", {
4828
- "class": bem$Y(classes),
4864
+ "class": bem$Z(classes),
4829
4865
  "role": clickable ? "button" : void 0,
4830
4866
  "tabindex": clickable ? 0 : void 0,
4831
4867
  "onClick": () => onClick(props.direction === "vertical")
@@ -4833,7 +4869,7 @@ var stdin_default$1l = defineComponent({
4833
4869
  };
4834
4870
  if (hasLeftIcon) {
4835
4871
  return createVNode("div", {
4836
- "class": [bem$Y("with-left", {
4872
+ "class": [bem$Z("with-left", {
4837
4873
  borderless: !border
4838
4874
  })]
4839
4875
  }, [renderLeftIcon(), renderWrapper()]);
@@ -4842,15 +4878,15 @@ var stdin_default$1l = defineComponent({
4842
4878
  };
4843
4879
  }
4844
4880
  });
4845
- const Cell = withInstall(stdin_default$1l);
4846
- const [name$Y, bem$X] = createNamespace("cell-group");
4881
+ const Cell = withInstall(stdin_default$1m);
4882
+ const [name$Z, bem$Y] = createNamespace("cell-group");
4847
4883
  const cellGroupProps = {
4848
4884
  title: String,
4849
4885
  inset: Boolean,
4850
4886
  border: truthProp
4851
4887
  };
4852
- var stdin_default$1k = defineComponent({
4853
- name: name$Y,
4888
+ var stdin_default$1l = defineComponent({
4889
+ name: name$Z,
4854
4890
  inheritAttrs: false,
4855
4891
  props: cellGroupProps,
4856
4892
  setup(props, {
@@ -4860,7 +4896,7 @@ var stdin_default$1k = defineComponent({
4860
4896
  const renderGroup = () => {
4861
4897
  var _a;
4862
4898
  return createVNode("div", mergeProps({
4863
- "class": [bem$X({
4899
+ "class": [bem$Y({
4864
4900
  inset: props.inset
4865
4901
  }), {
4866
4902
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -4868,7 +4904,7 @@ var stdin_default$1k = defineComponent({
4868
4904
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4869
4905
  };
4870
4906
  const renderTitle = () => createVNode("div", {
4871
- "class": bem$X("title", {
4907
+ "class": bem$Y("title", {
4872
4908
  inset: props.inset
4873
4909
  })
4874
4910
  }, [slots.title ? slots.title() : props.title]);
@@ -4880,8 +4916,8 @@ var stdin_default$1k = defineComponent({
4880
4916
  };
4881
4917
  }
4882
4918
  });
4883
- const CellGroup = withInstall(stdin_default$1k);
4884
- const [name$X, bem$W] = createNamespace("checkbox-group");
4919
+ const CellGroup = withInstall(stdin_default$1l);
4920
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
4885
4921
  const checkboxGroupProps = {
4886
4922
  max: numericProp,
4887
4923
  disabled: Boolean,
@@ -4890,9 +4926,9 @@ const checkboxGroupProps = {
4890
4926
  modelValue: makeArrayProp(),
4891
4927
  checkedColor: String
4892
4928
  };
4893
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
4894
- var stdin_default$1j = defineComponent({
4895
- name: name$X,
4929
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
4930
+ var stdin_default$1k = defineComponent({
4931
+ name: name$Y,
4896
4932
  props: checkboxGroupProps,
4897
4933
  emits: ["change", "update:modelValue"],
4898
4934
  setup(props, {
@@ -4938,7 +4974,7 @@ var stdin_default$1j = defineComponent({
4938
4974
  return () => {
4939
4975
  var _a;
4940
4976
  return createVNode("div", {
4941
- "class": bem$W([props.direction])
4977
+ "class": bem$X([props.direction])
4942
4978
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4943
4979
  };
4944
4980
  }
@@ -4953,7 +4989,7 @@ const checkerProps = {
4953
4989
  labelPosition: String,
4954
4990
  labelDisabled: Boolean
4955
4991
  };
4956
- var stdin_default$1i = defineComponent({
4992
+ var stdin_default$1j = defineComponent({
4957
4993
  props: extend({}, checkerProps, {
4958
4994
  bem: makeRequiredProp(Function),
4959
4995
  role: String,
@@ -5054,7 +5090,7 @@ var stdin_default$1i = defineComponent({
5054
5090
  };
5055
5091
  }
5056
5092
  });
5057
- const [name$W, bem$V] = createNamespace("checkbox");
5093
+ const [name$X, bem$W] = createNamespace("checkbox");
5058
5094
  const checkboxProps = extend({}, checkerProps, {
5059
5095
  bindGroup: truthProp,
5060
5096
  indeterminate: {
@@ -5062,8 +5098,8 @@ const checkboxProps = extend({}, checkerProps, {
5062
5098
  default: null
5063
5099
  }
5064
5100
  });
5065
- var stdin_default$1h = defineComponent({
5066
- name: name$W,
5101
+ var stdin_default$1i = defineComponent({
5102
+ name: name$X,
5067
5103
  props: checkboxProps,
5068
5104
  emits: ["change", "update:modelValue"],
5069
5105
  setup(props, {
@@ -5127,8 +5163,8 @@ var stdin_default$1h = defineComponent({
5127
5163
  checked
5128
5164
  });
5129
5165
  useCustomFieldValue(() => props.modelValue);
5130
- return () => createVNode(stdin_default$1i, mergeProps({
5131
- "bem": bem$V,
5166
+ return () => createVNode(stdin_default$1j, mergeProps({
5167
+ "bem": bem$W,
5132
5168
  "role": "checkbox",
5133
5169
  "parent": parent,
5134
5170
  "checked": checked.value,
@@ -5136,10 +5172,10 @@ var stdin_default$1h = defineComponent({
5136
5172
  }, props), pick(slots, ["default", "icon"]));
5137
5173
  }
5138
5174
  });
5139
- const Checkbox = withInstall(stdin_default$1h);
5140
- const CheckboxGroup = withInstall(stdin_default$1j);
5141
- const [name$V, bem$U] = createNamespace("row");
5142
- const ROW_KEY = Symbol(name$V);
5175
+ const Checkbox = withInstall(stdin_default$1i);
5176
+ const CheckboxGroup = withInstall(stdin_default$1k);
5177
+ const [name$W, bem$V] = createNamespace("row");
5178
+ const ROW_KEY = Symbol(name$W);
5143
5179
  const rowProps = {
5144
5180
  tag: makeStringProp("div"),
5145
5181
  wrap: truthProp,
@@ -5147,8 +5183,8 @@ const rowProps = {
5147
5183
  gutter: makeNumericProp(0),
5148
5184
  justify: String
5149
5185
  };
5150
- var stdin_default$1g = defineComponent({
5151
- name: name$V,
5186
+ var stdin_default$1h = defineComponent({
5187
+ name: name$W,
5152
5188
  props: rowProps,
5153
5189
  setup(props, {
5154
5190
  slots
@@ -5207,7 +5243,7 @@ var stdin_default$1g = defineComponent({
5207
5243
  justify
5208
5244
  } = props;
5209
5245
  return createVNode(tag, {
5210
- "class": bem$U({
5246
+ "class": bem$V({
5211
5247
  [`align-${align}`]: align,
5212
5248
  [`justify-${justify}`]: justify,
5213
5249
  nowrap: !wrap
@@ -5221,14 +5257,14 @@ var stdin_default$1g = defineComponent({
5221
5257
  };
5222
5258
  }
5223
5259
  });
5224
- const [name$U, bem$T] = createNamespace("col");
5260
+ const [name$V, bem$U] = createNamespace("col");
5225
5261
  const colProps = {
5226
5262
  tag: makeStringProp("div"),
5227
5263
  span: makeNumericProp(0),
5228
5264
  offset: numericProp
5229
5265
  };
5230
- var stdin_default$1f = defineComponent({
5231
- name: name$U,
5266
+ var stdin_default$1g = defineComponent({
5267
+ name: name$V,
5232
5268
  props: colProps,
5233
5269
  setup(props, {
5234
5270
  slots
@@ -5263,7 +5299,7 @@ var stdin_default$1f = defineComponent({
5263
5299
  } = props;
5264
5300
  return createVNode(tag, {
5265
5301
  "style": style.value,
5266
- "class": bem$T({
5302
+ "class": bem$U({
5267
5303
  [span]: span,
5268
5304
  [`offset-${offset2}`]: offset2
5269
5305
  })
@@ -5276,9 +5312,9 @@ var stdin_default$1f = defineComponent({
5276
5312
  };
5277
5313
  }
5278
5314
  });
5279
- const Col = withInstall(stdin_default$1f);
5280
- const [name$T, bem$S] = createNamespace("collapse");
5281
- const COLLAPSE_KEY = Symbol(name$T);
5315
+ const Col = withInstall(stdin_default$1g);
5316
+ const [name$U, bem$T] = createNamespace("collapse");
5317
+ const COLLAPSE_KEY = Symbol(name$U);
5282
5318
  const collapseProps = {
5283
5319
  border: truthProp,
5284
5320
  accordion: Boolean,
@@ -5298,8 +5334,8 @@ function validateModelValue(modelValue, accordion) {
5298
5334
  }
5299
5335
  return true;
5300
5336
  }
5301
- var stdin_default$1e = defineComponent({
5302
- name: name$T,
5337
+ var stdin_default$1f = defineComponent({
5338
+ name: name$U,
5303
5339
  props: collapseProps,
5304
5340
  emits: ["change", "update:modelValue"],
5305
5341
  setup(props, {
@@ -5369,15 +5405,15 @@ var stdin_default$1e = defineComponent({
5369
5405
  return () => {
5370
5406
  var _a;
5371
5407
  return createVNode("div", {
5372
- "class": [bem$S(), {
5408
+ "class": [bem$T(), {
5373
5409
  [BORDER_TOP_BOTTOM]: props.border
5374
5410
  }]
5375
5411
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5376
5412
  };
5377
5413
  }
5378
5414
  });
5379
- const Collapse = withInstall(stdin_default$1e);
5380
- const [name$S, bem$R] = createNamespace("collapse-item");
5415
+ const Collapse = withInstall(stdin_default$1f);
5416
+ const [name$T, bem$S] = createNamespace("collapse-item");
5381
5417
  const collapseItemProps = extend({}, {
5382
5418
  name: numericProp,
5383
5419
  title: numericProp,
@@ -5387,8 +5423,8 @@ const collapseItemProps = extend({}, {
5387
5423
  titleBackground: String,
5388
5424
  color: String
5389
5425
  });
5390
- var stdin_default$1d = defineComponent({
5391
- name: name$S,
5426
+ var stdin_default$1e = defineComponent({
5427
+ name: name$T,
5392
5428
  props: collapseItemProps,
5393
5429
  setup(props, {
5394
5430
  slots
@@ -5459,23 +5495,23 @@ var stdin_default$1d = defineComponent({
5459
5495
  color
5460
5496
  } = props;
5461
5497
  return createVNode("div", {
5462
- "class": [bem$R("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5498
+ "class": [bem$S("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5463
5499
  "style": titleBackground ? `background:${titleBackground};color:#fff;` : "",
5464
5500
  "onClick": onClickTitle
5465
5501
  }, [createVNode("span", {
5466
- "class": bem$R("bar", {
5502
+ "class": bem$S("bar", {
5467
5503
  custom: titleBackground
5468
5504
  }),
5469
5505
  "style": color ? `background:${color};` : ""
5470
5506
  }, null), createVNode("span", {
5471
5507
  "style": color ? `color:${color};` : "",
5472
- "class": bem$R("text", {
5508
+ "class": bem$S("text", {
5473
5509
  custom: titleBackground
5474
5510
  })
5475
- }, [props.title]), createVNode(stdin_default$1N, {
5511
+ }, [props.title]), createVNode(stdin_default$1O, {
5476
5512
  "name": "keyboard-arrow-down",
5477
5513
  "style": color ? `color:${color};` : "",
5478
- "class": bem$R("icon", {
5514
+ "class": bem$S("icon", {
5479
5515
  expanded: expanded.value,
5480
5516
  custom: titleBackground
5481
5517
  })
@@ -5485,11 +5521,11 @@ var stdin_default$1d = defineComponent({
5485
5521
  var _a;
5486
5522
  return withDirectives(createVNode("div", {
5487
5523
  "ref": wrapperRef,
5488
- "class": bem$R("wrapper"),
5524
+ "class": bem$S("wrapper"),
5489
5525
  "onTransitionend": onTransitionEnd
5490
5526
  }, [createVNode("div", {
5491
5527
  "ref": contentRef,
5492
- "class": bem$R("content")
5528
+ "class": bem$S("content")
5493
5529
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vShow, show.value]]);
5494
5530
  });
5495
5531
  useExpose({
@@ -5498,13 +5534,13 @@ var stdin_default$1d = defineComponent({
5498
5534
  itemName: name2
5499
5535
  });
5500
5536
  return () => createVNode("div", {
5501
- "class": [bem$R()]
5537
+ "class": [bem$S()]
5502
5538
  }, [renderTitle(), renderContent()]);
5503
5539
  }
5504
5540
  });
5505
- const CollapseItem = withInstall(stdin_default$1d);
5506
- const ConfigProvider = withInstall(stdin_default$1O);
5507
- const [name$R, bem$Q, t$5] = createNamespace("picker");
5541
+ const CollapseItem = withInstall(stdin_default$1e);
5542
+ const ConfigProvider = withInstall(stdin_default$1P);
5543
+ const [name$S, bem$R, t$5] = createNamespace("picker");
5508
5544
  const getFirstEnabledOption$1 = (options) => options.find((option) => !option.disabled) || options[0];
5509
5545
  function getColumnsType$1(columns, fields) {
5510
5546
  const firstColumn = columns[0];
@@ -5573,10 +5609,10 @@ function assignDefaultFields$1(fields) {
5573
5609
  const DEFAULT_DURATION$2 = 200;
5574
5610
  const MOMENTUM_TIME$2 = 300;
5575
5611
  const MOMENTUM_DISTANCE$2 = 15;
5576
- const [name$Q, bem$P] = createNamespace("picker-column");
5577
- const PICKER_KEY$1 = Symbol(name$Q);
5578
- var stdin_default$1c = defineComponent({
5579
- name: name$Q,
5612
+ const [name$R, bem$Q] = createNamespace("picker-column");
5613
+ const PICKER_KEY$1 = Symbol(name$R);
5614
+ var stdin_default$1d = defineComponent({
5615
+ name: name$R,
5580
5616
  props: {
5581
5617
  value: numericProp,
5582
5618
  unit: makeStringProp(""),
@@ -5710,7 +5746,7 @@ var stdin_default$1c = defineComponent({
5710
5746
  role: "button",
5711
5747
  style: optionStyle,
5712
5748
  tabindex: disabled ? -1 : 0,
5713
- class: [bem$P("item", {
5749
+ class: [bem$Q("item", {
5714
5750
  disabled,
5715
5751
  selected: value === props.value
5716
5752
  }), option.className],
@@ -5730,14 +5766,14 @@ var stdin_default$1c = defineComponent({
5730
5766
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
5731
5767
  };
5732
5768
  return createVNode("div", {
5733
- "class": bem$P("unit")
5769
+ "class": bem$Q("unit")
5734
5770
  }, [createVNode("span", {
5735
5771
  "style": "visibility: hidden",
5736
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5772
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5737
5773
  }, [props.unit]), createVNode("span", mergeProps({
5738
5774
  "style": "visibility: hidden"
5739
5775
  }, childData), null), createVNode("span", {
5740
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5776
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5741
5777
  }, [props.unit])]);
5742
5778
  }
5743
5779
  };
@@ -5755,7 +5791,7 @@ var stdin_default$1c = defineComponent({
5755
5791
  });
5756
5792
  return () => createVNode("div", {
5757
5793
  "ref": root,
5758
- "class": bem$P(),
5794
+ "class": bem$Q(),
5759
5795
  "onTouchstartPassive": onTouchStart,
5760
5796
  "onTouchend": onTouchEnd,
5761
5797
  "onTouchcancel": onTouchEnd
@@ -5766,12 +5802,12 @@ var stdin_default$1c = defineComponent({
5766
5802
  transitionDuration: `${currentDuration.value}ms`,
5767
5803
  transitionProperty: currentDuration.value ? "all" : "none"
5768
5804
  },
5769
- "class": bem$P("wrapper"),
5805
+ "class": bem$Q("wrapper"),
5770
5806
  "onTransitionend": stopMomentum
5771
5807
  }, [renderOptions()])]);
5772
5808
  }
5773
5809
  });
5774
- const [name$P] = createNamespace("picker-toolbar");
5810
+ const [name$Q] = createNamespace("picker-toolbar");
5775
5811
  const pickerToolbarProps$1 = {
5776
5812
  // title: String,
5777
5813
  cancelButtonText: String,
@@ -5779,8 +5815,8 @@ const pickerToolbarProps$1 = {
5779
5815
  };
5780
5816
  const pickerToolbarSlots$1 = ["cancel", "confirm", "title", "toolbar"];
5781
5817
  const pickerToolbarPropKeys$1 = Object.keys(pickerToolbarProps$1);
5782
- var stdin_default$1b = defineComponent({
5783
- name: name$P,
5818
+ var stdin_default$1c = defineComponent({
5819
+ name: name$Q,
5784
5820
  props: pickerToolbarProps$1,
5785
5821
  emits: ["confirm", "cancel"],
5786
5822
  setup(props, {
@@ -5794,7 +5830,7 @@ var stdin_default$1b = defineComponent({
5794
5830
  return createVNode(Button, {
5795
5831
  "type": "default",
5796
5832
  "hairline": true,
5797
- "class": bem$Q("cancel"),
5833
+ "class": bem$R("cancel"),
5798
5834
  "onClick": onCancel
5799
5835
  }, {
5800
5836
  default: () => [slots.cancel ? slots.cancel() : text]
@@ -5804,14 +5840,14 @@ var stdin_default$1b = defineComponent({
5804
5840
  const text = props.confirmButtonText || t$5("confirm");
5805
5841
  return createVNode(Button, {
5806
5842
  "type": "primary",
5807
- "class": [bem$Q("confirm"), HAPTICS_FEEDBACK],
5843
+ "class": [bem$R("confirm"), HAPTICS_FEEDBACK],
5808
5844
  "onClick": onConfirm
5809
5845
  }, {
5810
5846
  default: () => [slots.confirm ? slots.confirm() : text]
5811
5847
  });
5812
5848
  };
5813
5849
  return () => createVNode("div", {
5814
- "class": bem$Q("toolbar")
5850
+ "class": bem$R("toolbar")
5815
5851
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderConfirm()]]);
5816
5852
  }
5817
5853
  });
@@ -5835,8 +5871,8 @@ const pickerProps = extend({}, pickerSharedProps$1, {
5835
5871
  showPicker: Boolean,
5836
5872
  popup: truthProp
5837
5873
  });
5838
- var stdin_default$1a = defineComponent({
5839
- name: name$R,
5874
+ var stdin_default$1b = defineComponent({
5875
+ name: name$S,
5840
5876
  props: pickerProps,
5841
5877
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
5842
5878
  setup(props, {
@@ -5922,7 +5958,7 @@ var stdin_default$1a = defineComponent({
5922
5958
  };
5923
5959
  const updateShow = (value) => emit("update:showPicker", value);
5924
5960
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
5925
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1c, {
5961
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1d, {
5926
5962
  "value": selectedValues.value[columnIndex],
5927
5963
  "fields": fields.value,
5928
5964
  "options": options,
@@ -5946,10 +5982,10 @@ var stdin_default$1a = defineComponent({
5946
5982
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
5947
5983
  };
5948
5984
  return [createVNode("div", {
5949
- "class": bem$Q("mask"),
5985
+ "class": bem$R("mask"),
5950
5986
  "style": maskStyle
5951
5987
  }, null), createVNode("div", {
5952
- "class": bem$Q("frame"),
5988
+ "class": bem$R("frame"),
5953
5989
  "style": frameStyle
5954
5990
  }, null)];
5955
5991
  }
@@ -5961,13 +5997,13 @@ var stdin_default$1a = defineComponent({
5961
5997
  };
5962
5998
  return createVNode("div", {
5963
5999
  "ref": columnsRef,
5964
- "class": bem$Q("columns"),
6000
+ "class": bem$R("columns"),
5965
6001
  "style": columnsStyle
5966
6002
  }, [renderColumnItems(), renderMask(wrapHeight)]);
5967
6003
  };
5968
6004
  const renderToolbar = () => {
5969
6005
  if (props.showToolbar) {
5970
- return createVNode(stdin_default$1b, mergeProps(pick(props, pickerToolbarPropKeys$1), {
6006
+ return createVNode(stdin_default$1c, mergeProps(pick(props, pickerToolbarPropKeys$1), {
5971
6007
  "onConfirm": confirm,
5972
6008
  "onCancel": cancel
5973
6009
  }), pick(slots, pickerToolbarSlots$1));
@@ -5979,7 +6015,7 @@ var stdin_default$1a = defineComponent({
5979
6015
  return slots["title-bar"]();
5980
6016
  }
5981
6017
  return createVNode("div", {
5982
- "class": [bem$Q("title"), HAPTICS_FEEDBACK]
6018
+ "class": [bem$R("title"), HAPTICS_FEEDBACK]
5983
6019
  }, [props.title]);
5984
6020
  }
5985
6021
  };
@@ -6026,14 +6062,14 @@ var stdin_default$1a = defineComponent({
6026
6062
  const renderPicker = () => {
6027
6063
  var _a, _b;
6028
6064
  return createVNode("div", {
6029
- "class": bem$Q()
6065
+ "class": bem$R()
6030
6066
  }, [renderTitleBar(), props.loading ? createVNode(Loading, {
6031
- "class": bem$Q("loading")
6067
+ "class": bem$R("loading")
6032
6068
  }, 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()]);
6033
6069
  };
6034
6070
  return () => {
6035
6071
  if (props.popup) {
6036
- return createVNode(stdin_default$1J, {
6072
+ return createVNode(stdin_default$1K, {
6037
6073
  "show": showPicker.value,
6038
6074
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6039
6075
  "round": true,
@@ -6088,9 +6124,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6088
6124
  }
6089
6125
  return value;
6090
6126
  });
6091
- const Picker = withInstall(stdin_default$1a);
6092
- var stdin_default$19 = Picker;
6093
- var stdin_default$18 = defineComponent({
6127
+ const Picker = withInstall(stdin_default$1b);
6128
+ var stdin_default$1a = Picker;
6129
+ var stdin_default$19 = defineComponent({
6094
6130
  name: "Arrow",
6095
6131
  emits: ["click"],
6096
6132
  setup(_, {
@@ -6112,13 +6148,13 @@ var stdin_default$18 = defineComponent({
6112
6148
  }, null)]);
6113
6149
  }
6114
6150
  });
6115
- const [name$O, bem$O] = createNamespace("time-picker-column");
6116
- const TIME_PICKER_KEY = Symbol(name$O);
6151
+ const [name$P, bem$P] = createNamespace("time-picker-column");
6152
+ const TIME_PICKER_KEY = Symbol(name$P);
6117
6153
  const MOMENTUM_TIME$1 = 300;
6118
6154
  const MOMENTUM_DISTANCE$1 = 15;
6119
6155
  const DEFAULT_DURATION$1 = 200;
6120
- var stdin_default$17 = defineComponent({
6121
- name: name$O,
6156
+ var stdin_default$18 = defineComponent({
6157
+ name: name$P,
6122
6158
  props: {
6123
6159
  value: numericProp,
6124
6160
  unit: makeStringProp(""),
@@ -6250,7 +6286,7 @@ var stdin_default$17 = defineComponent({
6250
6286
  role: "button",
6251
6287
  style: optionStyle,
6252
6288
  tabindex: disabled ? -1 : 0,
6253
- class: [bem$O("item", {
6289
+ class: [bem$P("item", {
6254
6290
  disabled,
6255
6291
  selected: value === props.value
6256
6292
  }), option.className],
@@ -6263,7 +6299,7 @@ var stdin_default$17 = defineComponent({
6263
6299
  const renderOption = () => {
6264
6300
  if (props.unit) {
6265
6301
  return createVNode(Fragment, null, [createVNode("div", childData, null), createVNode("span", {
6266
- "class": [bem$O("unit-text"), "zt-ellipsis"],
6302
+ "class": [bem$P("unit-text"), "zt-ellipsis"],
6267
6303
  "style": "visibility: hidden"
6268
6304
  }, [props.unit])]);
6269
6305
  }
@@ -6279,11 +6315,11 @@ var stdin_default$17 = defineComponent({
6279
6315
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
6280
6316
  };
6281
6317
  return createVNode("div", {
6282
- "class": bem$O("unit")
6318
+ "class": bem$P("unit")
6283
6319
  }, [createVNode("span", mergeProps({
6284
6320
  "style": "visibility: hidden"
6285
6321
  }, childData), null), createVNode("span", {
6286
- "class": [bem$O("unit-text"), "zt-ellipsis"]
6322
+ "class": [bem$P("unit-text"), "zt-ellipsis"]
6287
6323
  }, [props.unit])]);
6288
6324
  }
6289
6325
  };
@@ -6292,11 +6328,11 @@ var stdin_default$17 = defineComponent({
6292
6328
  currentDuration.value = DEFAULT_DURATION$1;
6293
6329
  updateValueByIndex(isUp ? index - 1 : index + 1);
6294
6330
  };
6295
- const renderArrow = () => [createVNode(stdin_default$18, {
6296
- "class": bem$O("arrow-top"),
6331
+ const renderArrow = () => [createVNode(stdin_default$19, {
6332
+ "class": bem$P("arrow-top"),
6297
6333
  "onClick": () => onArrowClick(true)
6298
- }, null), createVNode(stdin_default$18, {
6299
- "class": bem$O("arrow-bottom"),
6334
+ }, null), createVNode(stdin_default$19, {
6335
+ "class": bem$P("arrow-bottom"),
6300
6336
  "onClick": () => onArrowClick(false)
6301
6337
  }, null)];
6302
6338
  useParent(TIME_PICKER_KEY);
@@ -6317,7 +6353,7 @@ var stdin_default$17 = defineComponent({
6317
6353
  return () => createVNode("div", {
6318
6354
  "ref": root,
6319
6355
  "style": columnStyle,
6320
- "class": bem$O(),
6356
+ "class": bem$P(),
6321
6357
  "onTouchstartPassive": onTouchStart,
6322
6358
  "onTouchend": onTouchEnd,
6323
6359
  "onTouchcancel": onTouchEnd
@@ -6328,12 +6364,12 @@ var stdin_default$17 = defineComponent({
6328
6364
  transitionDuration: `${currentDuration.value}ms`,
6329
6365
  transitionProperty: currentDuration.value ? "all" : "none"
6330
6366
  },
6331
- "class": bem$O("wrapper"),
6367
+ "class": bem$P("wrapper"),
6332
6368
  "onTransitionend": stopMomentum
6333
6369
  }, [renderOptions()]), renderArrow()]);
6334
6370
  }
6335
6371
  });
6336
- const [name$N, bem$N] = createNamespace("time-picker");
6372
+ const [name$O, bem$O] = createNamespace("time-picker");
6337
6373
  const timePickerProps = extend({}, sharedProps, {
6338
6374
  minHour: makeNumericProp(0),
6339
6375
  maxHour: makeNumericProp(23),
@@ -6350,8 +6386,8 @@ const timePickerProps = extend({}, sharedProps, {
6350
6386
  default: () => ["hour", "minute"]
6351
6387
  }
6352
6388
  });
6353
- var stdin_default$16 = defineComponent({
6354
- name: name$N,
6389
+ var stdin_default$17 = defineComponent({
6390
+ name: name$O,
6355
6391
  props: timePickerProps,
6356
6392
  emits: ["clickOption", "change", "update:modelValue"],
6357
6393
  setup(props, {
@@ -6425,7 +6461,7 @@ var stdin_default$16 = defineComponent({
6425
6461
  currentOption
6426
6462
  }, getEventParams()));
6427
6463
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6428
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(Fragment, null, [createVNode(stdin_default$17, {
6464
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(Fragment, null, [createVNode(stdin_default$18, {
6429
6465
  "value": selectedValues.value[columnIndex],
6430
6466
  "fields": fields.value,
6431
6467
  "options": options,
@@ -6444,9 +6480,9 @@ var stdin_default$16 = defineComponent({
6444
6480
  const separatorCount = currentColumns.value && currentColumns.value.length - 1;
6445
6481
  if (separatorCount > 0) {
6446
6482
  return createVNode("div", {
6447
- "class": bem$N("separator")
6483
+ "class": bem$O("separator")
6448
6484
  }, [Array(separatorCount).fill(null).map(() => createVNode("span", {
6449
- "class": bem$N("colon")
6485
+ "class": bem$O("colon")
6450
6486
  }, null))]);
6451
6487
  }
6452
6488
  };
@@ -6457,7 +6493,7 @@ var stdin_default$16 = defineComponent({
6457
6493
  };
6458
6494
  return createVNode("div", {
6459
6495
  "ref": columnsRef,
6460
- "class": bem$N("columns"),
6496
+ "class": bem$O("columns"),
6461
6497
  "style": columnsStyle
6462
6498
  }, [renderSeparators(), renderColumnItems()]);
6463
6499
  };
@@ -6490,13 +6526,13 @@ var stdin_default$16 = defineComponent({
6490
6526
  target: columnsRef
6491
6527
  });
6492
6528
  return () => createVNode("div", {
6493
- "class": bem$N()
6529
+ "class": bem$O()
6494
6530
  }, [renderColumns()]);
6495
6531
  }
6496
6532
  });
6497
- const TimePicker = withInstall(stdin_default$16);
6498
- var stdin_default$15 = TimePicker;
6499
- const [name$M, bem$M] = createNamespace("date-time-picker-wrapper");
6533
+ const TimePicker = withInstall(stdin_default$17);
6534
+ var stdin_default$16 = TimePicker;
6535
+ const [name$N, bem$N] = createNamespace("date-time-picker-wrapper");
6500
6536
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
6501
6537
  const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6502
6538
  range: Boolean,
@@ -6519,8 +6555,8 @@ const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6519
6555
  startValue: makeArrayProp(),
6520
6556
  endValue: makeArrayProp()
6521
6557
  });
6522
- var stdin_default$14 = defineComponent({
6523
- name: name$M,
6558
+ var stdin_default$15 = defineComponent({
6559
+ name: name$N,
6524
6560
  props: dateTimePickerProps,
6525
6561
  emits: ["change", "update:modelValue"],
6526
6562
  setup(props, {
@@ -6714,7 +6750,7 @@ var stdin_default$14 = defineComponent({
6714
6750
  });
6715
6751
  const hasDateColumn = props.columnsType.includes("year") || props.columnsType.includes("month") || props.columnsType.includes("day");
6716
6752
  const hasTimeColumn = props.columnsType.includes("hour") || props.columnsType.includes("minute") || props.columnsType.includes("second");
6717
- const renderTimePicker = () => createVNode(stdin_default$15, {
6753
+ const renderTimePicker = () => createVNode(stdin_default$16, {
6718
6754
  "modelValue": timeValuesRef.value,
6719
6755
  "onUpdate:modelValue": ($event) => timeValuesRef.value = $event,
6720
6756
  "columnsUnit": timeUnits.value,
@@ -6722,10 +6758,10 @@ var stdin_default$14 = defineComponent({
6722
6758
  "columnsType": timeColumnsType.value
6723
6759
  }, null);
6724
6760
  const renderPicker = () => createVNode("div", {
6725
- "class": bem$M()
6761
+ "class": bem$N()
6726
6762
  }, [hasDateColumn ? createVNode(Divider, {
6727
6763
  "style": "margin: 0"
6728
- }, null) : null, hasDateColumn ? createVNode(stdin_default$19, mergeProps({
6764
+ }, null) : null, hasDateColumn ? createVNode(stdin_default$1a, mergeProps({
6729
6765
  "popup": false,
6730
6766
  "columnsUnit": dateUnits.value,
6731
6767
  "modelValue": dateValuesRef.value,
@@ -6739,9 +6775,9 @@ var stdin_default$14 = defineComponent({
6739
6775
  return () => renderPicker();
6740
6776
  }
6741
6777
  });
6742
- const [name$L, bem$L] = createNamespace("date-time-picker");
6743
- var stdin_default$13 = defineComponent({
6744
- name: name$L,
6778
+ const [name$M, bem$M] = createNamespace("date-time-picker");
6779
+ var stdin_default$14 = defineComponent({
6780
+ name: name$M,
6745
6781
  props: dateTimePickerProps,
6746
6782
  emits: ["confirm", "cancel", "change", "startChange", "endChange", "update:show", "update:modelValue", "update:startValue", "update:endValue"],
6747
6783
  setup(props, {
@@ -6881,17 +6917,17 @@ var stdin_default$13 = defineComponent({
6881
6917
  const renderTitle = () => {
6882
6918
  if (!props.range) {
6883
6919
  return createVNode("div", {
6884
- "class": bem$L("title-bar")
6920
+ "class": bem$M("title-bar")
6885
6921
  }, [createVNode("div", {
6886
- "class": [ELLIPSIS, bem$L("title")]
6922
+ "class": [ELLIPSIS, bem$M("title")]
6887
6923
  }, [props.title]), createVNode("div", {
6888
- "class": [ELLIPSIS, bem$L("value")]
6924
+ "class": [ELLIPSIS, bem$M("value")]
6889
6925
  }, [currentText.value])]);
6890
6926
  }
6891
6927
  return createVNode("div", {
6892
- "class": bem$L("title-tab-bar")
6928
+ "class": bem$M("title-tab-bar")
6893
6929
  }, [createVNode("div", {
6894
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6930
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6895
6931
  selected: rangeSelectedIndex.value === 0,
6896
6932
  unselected: rangeSelectedIndex.value === 1
6897
6933
  })],
@@ -6899,16 +6935,16 @@ var stdin_default$13 = defineComponent({
6899
6935
  rangeSelectedIndex.value = 0;
6900
6936
  }
6901
6937
  }, [createVNode("div", {
6902
- "class": [ELLIPSIS, bem$L("title", {
6938
+ "class": [ELLIPSIS, bem$M("title", {
6903
6939
  selected: rangeSelectedIndex.value === 0,
6904
6940
  unselected: rangeSelectedIndex.value === 1
6905
6941
  })]
6906
6942
  }, [createTextVNode("开始时间")]), createVNode("div", {
6907
- "class": [ELLIPSIS, bem$L("value")]
6943
+ "class": [ELLIPSIS, bem$M("value")]
6908
6944
  }, [currentStartText.value])]), createVNode("span", {
6909
- "class": bem$L("title-separator")
6945
+ "class": bem$M("title-separator")
6910
6946
  }, null), createVNode("div", {
6911
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6947
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6912
6948
  selected: rangeSelectedIndex.value === 1,
6913
6949
  unselected: rangeSelectedIndex.value === 0
6914
6950
  })],
@@ -6916,17 +6952,17 @@ var stdin_default$13 = defineComponent({
6916
6952
  rangeSelectedIndex.value = 1;
6917
6953
  }
6918
6954
  }, [createVNode("div", {
6919
- "class": [ELLIPSIS, bem$L("title", {
6955
+ "class": [ELLIPSIS, bem$M("title", {
6920
6956
  selected: rangeSelectedIndex.value === 1,
6921
6957
  unselected: rangeSelectedIndex.value === 0
6922
6958
  })]
6923
6959
  }, [createTextVNode("结束时间")]), createVNode("div", {
6924
- "class": [ELLIPSIS, bem$L("value")]
6960
+ "class": [ELLIPSIS, bem$M("value")]
6925
6961
  }, [currentEndText.value])])]);
6926
6962
  };
6927
6963
  const renderPicker = () => {
6928
6964
  if (!props.range) {
6929
- return createVNode(stdin_default$14, mergeProps({
6965
+ return createVNode(stdin_default$15, mergeProps({
6930
6966
  "ref": currentPickerRef,
6931
6967
  "modelValue": props.modelValue,
6932
6968
  "onUpdate:modelValue": ($event) => props.modelValue = $event,
@@ -6938,7 +6974,7 @@ var stdin_default$13 = defineComponent({
6938
6974
  showTitle: false
6939
6975
  })), null);
6940
6976
  }
6941
- return [withDirectives(createVNode(stdin_default$14, mergeProps({
6977
+ return [withDirectives(createVNode(stdin_default$15, mergeProps({
6942
6978
  "ref": currentStartPickerRef,
6943
6979
  "modelValue": props.startValue,
6944
6980
  "onUpdate:modelValue": ($event) => props.startValue = $event,
@@ -6948,7 +6984,7 @@ var stdin_default$13 = defineComponent({
6948
6984
  "minDate": props.minDate
6949
6985
  }, extend(pick(props, pickerInheritKeys), {
6950
6986
  showTitle: false
6951
- })), null), [[vShow, rangeSelectedIndex.value === 0]]), withDirectives(createVNode(stdin_default$14, mergeProps({
6987
+ })), null), [[vShow, rangeSelectedIndex.value === 0]]), withDirectives(createVNode(stdin_default$15, mergeProps({
6952
6988
  "ref": currentEndPickerRef,
6953
6989
  "modelValue": props.endValue,
6954
6990
  "onUpdate:modelValue": ($event) => props.endValue = $event,
@@ -6962,15 +6998,15 @@ var stdin_default$13 = defineComponent({
6962
6998
  };
6963
6999
  const renderToolbar = () => {
6964
7000
  if (props.showToolbar) {
6965
- return [createVNode(stdin_default$1n, {
7001
+ return [createVNode(stdin_default$1o, {
6966
7002
  "style": "margin: 0"
6967
- }, null), createVNode(stdin_default$1b, mergeProps(pick(props, pickerToolbarPropKeys$1), {
7003
+ }, null), createVNode(stdin_default$1c, mergeProps(pick(props, pickerToolbarPropKeys$1), {
6968
7004
  "onConfirm": onConfirm,
6969
7005
  "onCancel": onCancel
6970
7006
  }), pick(slots, pickerToolbarSlots$1))];
6971
7007
  }
6972
7008
  };
6973
- return () => createVNode(stdin_default$1K, {
7009
+ return () => createVNode(stdin_default$1L, {
6974
7010
  "round": true,
6975
7011
  "position": "bottom",
6976
7012
  "onOpen": onOpen,
@@ -6981,8 +7017,8 @@ var stdin_default$13 = defineComponent({
6981
7017
  });
6982
7018
  }
6983
7019
  });
6984
- const DateTimePicker = withInstall(stdin_default$13);
6985
- const [name$K, bem$K, t$4] = createNamespace("dialog");
7020
+ const DateTimePicker = withInstall(stdin_default$14);
7021
+ const [name$L, bem$L, t$4] = createNamespace("dialog");
6986
7022
  const dialogProps = extend({}, popupSharedProps, {
6987
7023
  title: String,
6988
7024
  primaryHeader: Boolean,
@@ -7006,8 +7042,8 @@ const dialogProps = extend({}, popupSharedProps, {
7006
7042
  closeOnClickOverlay: Boolean
7007
7043
  });
7008
7044
  const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
7009
- var stdin_default$12 = defineComponent({
7010
- name: name$K,
7045
+ var stdin_default$13 = defineComponent({
7046
+ name: name$L,
7011
7047
  props: dialogProps,
7012
7048
  emits: ["confirm", "cancel", "keydown", "update:show"],
7013
7049
  setup(props, {
@@ -7071,7 +7107,7 @@ var stdin_default$12 = defineComponent({
7071
7107
  // }])}
7072
7108
  // >
7073
7109
  createVNode("div", {
7074
- "class": bem$K("header", {
7110
+ "class": bem$L("header", {
7075
7111
  isolated: !props.message && !slots.default,
7076
7112
  "custom-title": !!slots.title,
7077
7113
  primary: props.primaryHeader
@@ -7094,7 +7130,7 @@ var stdin_default$12 = defineComponent({
7094
7130
  } else if (hasTitle) {
7095
7131
  mods["has-title"] = hasTitle;
7096
7132
  }
7097
- const classNames = bem$K("message", mods);
7133
+ const classNames = bem$L("message", mods);
7098
7134
  const content = isFunction(message) ? message() : message;
7099
7135
  if (allowHtml && typeof content === "string") {
7100
7136
  return createVNode("div", {
@@ -7109,7 +7145,7 @@ var stdin_default$12 = defineComponent({
7109
7145
  const renderContent = () => {
7110
7146
  if (slots.default) {
7111
7147
  return createVNode("div", {
7112
- "class": bem$K("content")
7148
+ "class": bem$L("content")
7113
7149
  }, [slots.default()]);
7114
7150
  }
7115
7151
  const {
@@ -7121,19 +7157,19 @@ var stdin_default$12 = defineComponent({
7121
7157
  const hasTitle = !!(title || slots.title);
7122
7158
  return createVNode("div", {
7123
7159
  "key": allowHtml ? 1 : 0,
7124
- "class": bem$K("content", {
7160
+ "class": bem$L("content", {
7125
7161
  isolated: !hasTitle
7126
7162
  })
7127
7163
  }, [renderMessage(hasTitle)]);
7128
7164
  }
7129
7165
  };
7130
7166
  const renderButtons = () => createVNode("div", {
7131
- "class": bem$K("footer")
7167
+ "class": bem$L("footer")
7132
7168
  }, [props.showCancelButton && createVNode(Button, {
7133
7169
  "type": "default",
7134
7170
  "hairline": true,
7135
7171
  "text": props.cancelButtonText || t$4("cancel"),
7136
- "class": bem$K("cancel"),
7172
+ "class": bem$L("cancel"),
7137
7173
  "style": {
7138
7174
  color: props.cancelButtonColor
7139
7175
  },
@@ -7143,7 +7179,7 @@ var stdin_default$12 = defineComponent({
7143
7179
  }, null), props.showConfirmButton && createVNode(Button, {
7144
7180
  "type": "primary",
7145
7181
  "text": props.confirmButtonText || t$4("confirm"),
7146
- "class": bem$K("confirm", {
7182
+ "class": bem$L("confirm", {
7147
7183
  "with-cancel": props.showCancelButton
7148
7184
  }),
7149
7185
  "style": {
@@ -7170,7 +7206,7 @@ var stdin_default$12 = defineComponent({
7170
7206
  return createVNode(Popup, mergeProps({
7171
7207
  "ref": root,
7172
7208
  "role": "dialog",
7173
- "class": [bem$K([theme]), className],
7209
+ "class": [bem$L([theme]), className],
7174
7210
  "style": {
7175
7211
  width: addUnit(width)
7176
7212
  },
@@ -7220,7 +7256,7 @@ function initInstance$2() {
7220
7256
  state,
7221
7257
  toggle
7222
7258
  } = usePopupState();
7223
- return () => createVNode(stdin_default$12, mergeProps(state, {
7259
+ return () => createVNode(stdin_default$13, mergeProps(state, {
7224
7260
  "onUpdate:show": toggle
7225
7261
  }), null);
7226
7262
  }
@@ -7258,8 +7294,8 @@ const closeDialog = () => {
7258
7294
  instance$2.toggle(false);
7259
7295
  }
7260
7296
  };
7261
- const Dialog = withInstall(stdin_default$12);
7262
- const [name$J, bem$J] = createNamespace("dropdown-menu");
7297
+ const Dialog = withInstall(stdin_default$13);
7298
+ const [name$K, bem$K] = createNamespace("dropdown-menu");
7263
7299
  const dropdownMenuProps = {
7264
7300
  overlay: truthProp,
7265
7301
  zIndex: numericProp,
@@ -7269,9 +7305,9 @@ const dropdownMenuProps = {
7269
7305
  closeOnClickOutside: truthProp,
7270
7306
  closeOnClickOverlay: truthProp
7271
7307
  };
7272
- const DROPDOWN_KEY = Symbol(name$J);
7273
- var stdin_default$11 = defineComponent({
7274
- name: name$J,
7308
+ const DROPDOWN_KEY = Symbol(name$K);
7309
+ var stdin_default$12 = defineComponent({
7310
+ name: name$K,
7275
7311
  props: dropdownMenuProps,
7276
7312
  setup(props, {
7277
7313
  slots
@@ -7338,7 +7374,7 @@ var stdin_default$11 = defineComponent({
7338
7374
  "id": `${id}-${index}`,
7339
7375
  "role": "button",
7340
7376
  "tabindex": disabled ? void 0 : 0,
7341
- "class": [bem$J("item", {
7377
+ "class": [bem$K("item", {
7342
7378
  disabled
7343
7379
  }), {
7344
7380
  [HAPTICS_FEEDBACK]: !disabled
@@ -7349,7 +7385,7 @@ var stdin_default$11 = defineComponent({
7349
7385
  }
7350
7386
  }
7351
7387
  }, [createVNode("span", {
7352
- "class": [bem$J("title", {
7388
+ "class": [bem$K("title", {
7353
7389
  down: showPopup === (props.direction === "down"),
7354
7390
  active: showPopup
7355
7391
  }), titleClass],
@@ -7359,8 +7395,8 @@ var stdin_default$11 = defineComponent({
7359
7395
  }, [createVNode("div", {
7360
7396
  "class": "zt-ellipsis",
7361
7397
  "style": "padding-right: 18px"
7362
- }, [slots.title || item.renderTitle(), slots.icon || createVNode(stdin_default$1M, {
7363
- "class": bem$J("icon"),
7398
+ }, [slots.title || item.renderTitle(), slots.icon || createVNode(stdin_default$1N, {
7399
+ "class": bem$K("icon"),
7364
7400
  "name": "spinner-expand"
7365
7401
  }, null)])])]);
7366
7402
  };
@@ -7379,18 +7415,18 @@ var stdin_default$11 = defineComponent({
7379
7415
  var _a;
7380
7416
  return createVNode("div", {
7381
7417
  "ref": root,
7382
- "class": bem$J()
7418
+ "class": bem$K()
7383
7419
  }, [createVNode("div", {
7384
7420
  "ref": barRef,
7385
7421
  "style": barStyle.value,
7386
- "class": bem$J("bar", {
7422
+ "class": bem$K("bar", {
7387
7423
  opened: opened.value
7388
7424
  })
7389
7425
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
7390
7426
  };
7391
7427
  }
7392
7428
  });
7393
- const [name$I, bem$I] = createNamespace("dropdown-item");
7429
+ const [name$J, bem$J] = createNamespace("dropdown-item");
7394
7430
  const dropdownItemProps = {
7395
7431
  title: String,
7396
7432
  options: makeArrayProp(),
@@ -7402,8 +7438,8 @@ const dropdownItemProps = {
7402
7438
  titleClass: unknownProp,
7403
7439
  multiSelect: Boolean
7404
7440
  };
7405
- var stdin_default$10 = defineComponent({
7406
- name: name$I,
7441
+ var stdin_default$11 = defineComponent({
7442
+ name: name$J,
7407
7443
  inheritAttrs: false,
7408
7444
  props: dropdownItemProps,
7409
7445
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue", "reset", "confirm"],
@@ -7538,7 +7574,7 @@ var stdin_default$10 = defineComponent({
7538
7574
  }
7539
7575
  if (active) {
7540
7576
  return createVNode(Icon, {
7541
- "class": bem$I("icon"),
7577
+ "class": bem$J("icon"),
7542
7578
  "color": activeColor,
7543
7579
  "name": "success"
7544
7580
  }, null);
@@ -7551,7 +7587,7 @@ var stdin_default$10 = defineComponent({
7551
7587
  "title-icon": option.icon,
7552
7588
  "title": option.text,
7553
7589
  "direction": "horizontal",
7554
- "class": [bem$I("option", {
7590
+ "class": [bem$J("option", {
7555
7591
  active
7556
7592
  }), HAPTICS_FEEDBACK],
7557
7593
  "style": {
@@ -7570,7 +7606,7 @@ var stdin_default$10 = defineComponent({
7570
7606
  "title-icon": option.icon,
7571
7607
  "title": option.text,
7572
7608
  "direction": "horizontal",
7573
- "class": [bem$I("option", {
7609
+ "class": [bem$J("option", {
7574
7610
  active
7575
7611
  }), HAPTICS_FEEDBACK],
7576
7612
  "style": {
@@ -7619,13 +7655,13 @@ var stdin_default$10 = defineComponent({
7619
7655
  }
7620
7656
  return withDirectives(createVNode("div", mergeProps({
7621
7657
  "style": style,
7622
- "class": bem$I([direction]),
7658
+ "class": bem$J([direction]),
7623
7659
  "onClick": onClickWrapper
7624
7660
  }, attrs), [createVNode(Popup, {
7625
7661
  "show": state.showPopup,
7626
7662
  "onUpdate:show": ($event) => state.showPopup = $event,
7627
7663
  "role": "menu",
7628
- "class": bem$I("content"),
7664
+ "class": bem$J("content"),
7629
7665
  "style": contentStyle,
7630
7666
  "overlay": overlay,
7631
7667
  "position": direction === "down" ? "top" : "bottom",
@@ -7644,20 +7680,20 @@ var stdin_default$10 = defineComponent({
7644
7680
  default: () => {
7645
7681
  var _a;
7646
7682
  return [withDirectives(createVNode("div", null, [props.options.map(renderOption)]), [[vShow, !props.multiSelect]]), withDirectives(createVNode("div", {
7647
- "class": bem$I("options"),
7683
+ "class": bem$J("options"),
7648
7684
  "style": optionsStyle
7649
7685
  }, [props.options.map(renderOption)]), [[vShow, props.multiSelect]]), withDirectives(createVNode("div", {
7650
- "class": bem$I("button"),
7686
+ "class": bem$J("button"),
7651
7687
  "style": buttonStyle
7652
7688
  }, [createVNode(Button, {
7653
7689
  "onClick": onClickReset,
7654
- "class": bem$I("button-reset")
7690
+ "class": bem$J("button-reset")
7655
7691
  }, {
7656
7692
  default: () => [createTextVNode("重置")]
7657
7693
  }), createVNode(Button, {
7658
7694
  "type": "primary",
7659
7695
  "onClick": onClickConfirm,
7660
- "class": bem$I("button-confirm")
7696
+ "class": bem$J("button-confirm")
7661
7697
  }, {
7662
7698
  default: () => [createTextVNode("确定")]
7663
7699
  })]), [[vShow, props.multiSelect]]), (_a = slots.default) == null ? void 0 : _a.call(slots)];
@@ -7681,8 +7717,8 @@ var stdin_default$10 = defineComponent({
7681
7717
  };
7682
7718
  }
7683
7719
  });
7684
- const DropdownItem = withInstall(stdin_default$10);
7685
- const DropdownMenu = withInstall(stdin_default$11);
7720
+ const DropdownItem = withInstall(stdin_default$11);
7721
+ const DropdownMenu = withInstall(stdin_default$12);
7686
7722
  const renderNotFound = (bem2) => createVNode("svg", {
7687
7723
  "xmlns": "http://www.w3.org/2000/svg",
7688
7724
  "viewBox": "0 0 160 160",
@@ -8816,7 +8852,7 @@ const renderNoCollect = (bem2) => createVNode("svg", {
8816
8852
  "fill": "#FFF",
8817
8853
  "xlink:href": "#4roobwtpf__8hxpuw7vce"
8818
8854
  }, null)])])]);
8819
- const [name$H, bem$H] = createNamespace("empty");
8855
+ const [name$I, bem$I] = createNamespace("empty");
8820
8856
  const PRESET_IMAGES = {
8821
8857
  default: renderNotFound,
8822
8858
  error: renderNotFound,
@@ -8836,8 +8872,8 @@ const emptyProps = {
8836
8872
  imageSize: [Number, String, Array],
8837
8873
  description: String
8838
8874
  };
8839
- var stdin_default$$ = defineComponent({
8840
- name: name$H,
8875
+ var stdin_default$10 = defineComponent({
8876
+ name: name$I,
8841
8877
  props: emptyProps,
8842
8878
  setup(props, {
8843
8879
  slots
@@ -8847,7 +8883,7 @@ var stdin_default$$ = defineComponent({
8847
8883
  if (slots.image) {
8848
8884
  return slots.image();
8849
8885
  }
8850
- return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$H)) || createVNode("img", {
8886
+ return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$I)) || createVNode("img", {
8851
8887
  "src": props.image
8852
8888
  }, null);
8853
8889
  };
@@ -8855,26 +8891,26 @@ var stdin_default$$ = defineComponent({
8855
8891
  const description = slots.description ? slots.description() : props.description;
8856
8892
  if (description) {
8857
8893
  return createVNode("p", {
8858
- "class": bem$H("description")
8894
+ "class": bem$I("description")
8859
8895
  }, [description]);
8860
8896
  }
8861
8897
  };
8862
8898
  const renderBottom = () => {
8863
8899
  if (slots.default) {
8864
8900
  return createVNode("div", {
8865
- "class": bem$H("bottom")
8901
+ "class": bem$I("bottom")
8866
8902
  }, [slots.default()]);
8867
8903
  }
8868
8904
  };
8869
8905
  return () => createVNode("div", {
8870
- "class": bem$H()
8906
+ "class": bem$I()
8871
8907
  }, [createVNode("div", {
8872
- "class": bem$H("image"),
8908
+ "class": bem$I("image"),
8873
8909
  "style": getSizeStyle(props.imageSize)
8874
8910
  }, [renderImage()]), renderDescription(), renderBottom()]);
8875
8911
  }
8876
8912
  });
8877
- const Empty = withInstall(stdin_default$$);
8913
+ const Empty = withInstall(stdin_default$10);
8878
8914
  function isEmptyValue(value) {
8879
8915
  if (Array.isArray(value)) {
8880
8916
  return !value.length;
@@ -8963,7 +8999,7 @@ function getStringLength(str) {
8963
8999
  function cutString(str, maxlength) {
8964
9000
  return [...str].slice(0, maxlength).join("");
8965
9001
  }
8966
- const [name$G, bem$G] = createNamespace("field");
9002
+ const [name$H, bem$H] = createNamespace("field");
8967
9003
  const fieldSharedProps = {
8968
9004
  id: String,
8969
9005
  name: String,
@@ -9013,8 +9049,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
9013
9049
  default: null
9014
9050
  }
9015
9051
  });
9016
- var stdin_default$_ = defineComponent({
9017
- name: name$G,
9052
+ var stdin_default$$ = defineComponent({
9053
+ name: name$H,
9018
9054
  props: fieldProps,
9019
9055
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
9020
9056
  setup(props, {
@@ -9246,7 +9282,7 @@ var stdin_default$_ = defineComponent({
9246
9282
  const getInputId = () => props.id || `${id}-input`;
9247
9283
  const getValidationStatus = () => state.status;
9248
9284
  const renderInput = () => {
9249
- const controlClass = bem$G("control", [getProp("inputAlign"), {
9285
+ const controlClass = bem$H("control", [getProp("inputAlign"), {
9250
9286
  error: showError.value,
9251
9287
  custom: !!slots.input,
9252
9288
  "min-height": props.type === "textarea" && !props.autosize
@@ -9284,7 +9320,7 @@ var stdin_default$_ = defineComponent({
9284
9320
  }
9285
9321
  if (props.type === "password") {
9286
9322
  return createVNode("div", {
9287
- "class": bem$G("password")
9323
+ "class": bem$H("password")
9288
9324
  }, [createVNode("input", mergeProps({
9289
9325
  "type": state.showPassword ? "text" : "password"
9290
9326
  }, inputAttrs), null), createVNode(Icon, {
@@ -9298,7 +9334,7 @@ var stdin_default$_ = defineComponent({
9298
9334
  const leftIconSlot = slots["left-icon"];
9299
9335
  if (props.leftIcon || leftIconSlot) {
9300
9336
  return createVNode("div", {
9301
- "class": bem$G("left-icon"),
9337
+ "class": bem$H("left-icon"),
9302
9338
  "onClick": onClickLeftIcon
9303
9339
  }, [leftIconSlot ? leftIconSlot() : createVNode(Icon, {
9304
9340
  "name": props.leftIcon,
@@ -9310,7 +9346,7 @@ var stdin_default$_ = defineComponent({
9310
9346
  const titleIconSlot = slots["title-icon"];
9311
9347
  if (props.titleIcon || titleIconSlot) {
9312
9348
  return createVNode("div", {
9313
- "class": bem$G("title-icon")
9349
+ "class": bem$H("title-icon")
9314
9350
  }, [titleIconSlot ? titleIconSlot() : createVNode(Icon, {
9315
9351
  "name": props.titleIcon,
9316
9352
  "classPrefix": props.iconPrefix
@@ -9321,7 +9357,7 @@ var stdin_default$_ = defineComponent({
9321
9357
  const rightIconSlot = slots["right-icon"];
9322
9358
  if (props.rightIcon || rightIconSlot) {
9323
9359
  return createVNode("div", {
9324
- "class": bem$G("right-icon"),
9360
+ "class": bem$H("right-icon"),
9325
9361
  "onClick": onClickRightIcon
9326
9362
  }, [rightIconSlot ? rightIconSlot() : createVNode(Icon, {
9327
9363
  "name": props.rightIcon,
@@ -9333,9 +9369,9 @@ var stdin_default$_ = defineComponent({
9333
9369
  if (props.showWordLimit && props.maxlength) {
9334
9370
  const count = getStringLength(getModelValue());
9335
9371
  return createVNode("div", {
9336
- "class": bem$G("word-limit")
9372
+ "class": bem$H("word-limit")
9337
9373
  }, [createVNode("span", {
9338
- "class": bem$G("word-num", count >= +props.maxlength ? "exceed" : "")
9374
+ "class": bem$H("word-num", count >= +props.maxlength ? "exceed" : "")
9339
9375
  }, [count]), createTextVNode("/"), props.maxlength]);
9340
9376
  }
9341
9377
  };
@@ -9344,7 +9380,7 @@ var stdin_default$_ = defineComponent({
9344
9380
  return;
9345
9381
  }
9346
9382
  return createVNode("div", {
9347
- "class": [bem$G("description"), props.descriptionClass]
9383
+ "class": [bem$H("description"), props.descriptionClass]
9348
9384
  }, [props.description]);
9349
9385
  };
9350
9386
  const showMessage = computed(() => !(form && form.props.showErrorMessage === false) && (props.errorMessage || state.validateMessage));
@@ -9357,7 +9393,7 @@ var stdin_default$_ = defineComponent({
9357
9393
  const slot = slots["error-message"];
9358
9394
  const errorMessageAlign = getProp("errorMessageAlign");
9359
9395
  return createVNode("div", {
9360
- "class": bem$G("error-message", errorMessageAlign)
9396
+ "class": bem$H("error-message", errorMessageAlign)
9361
9397
  }, [slot ? slot({
9362
9398
  message
9363
9399
  }) : message]);
@@ -9368,7 +9404,7 @@ var stdin_default$_ = defineComponent({
9368
9404
  return;
9369
9405
  }
9370
9406
  return createVNode("div", {
9371
- "class": bem$G("bottom")
9407
+ "class": bem$H("bottom")
9372
9408
  }, [renderDescription(), renderMessage()]);
9373
9409
  };
9374
9410
  const renderLabel = () => {
@@ -9384,13 +9420,13 @@ var stdin_default$_ = defineComponent({
9384
9420
  }
9385
9421
  };
9386
9422
  const renderFieldBody = () => [createVNode("div", {
9387
- "class": bem$G("body")
9423
+ "class": bem$H("body")
9388
9424
  }, [renderInput(), showClear.value && createVNode(Icon, {
9389
9425
  "ref": clearIconRef,
9390
9426
  "name": props.clearIcon,
9391
- "class": bem$G("clear")
9427
+ "class": bem$H("clear")
9392
9428
  }, null), renderRightIcon(), slots.button && createVNode("div", {
9393
- "class": bem$G("button")
9429
+ "class": bem$H("button")
9394
9430
  }, [slots.button()])]), renderWordLimit()];
9395
9431
  useExpose({
9396
9432
  blur,
@@ -9432,7 +9468,7 @@ var stdin_default$_ = defineComponent({
9432
9468
  "direction": props.direction,
9433
9469
  "title-icon": props.titleIcon,
9434
9470
  "left-icon": props.leftIcon,
9435
- "class": bem$G({
9471
+ "class": bem$H({
9436
9472
  error: showError.value,
9437
9473
  disabled,
9438
9474
  readonly,
@@ -9446,8 +9482,8 @@ var stdin_default$_ = defineComponent({
9446
9482
  "isLink": props.isLink,
9447
9483
  "clickable": props.clickable,
9448
9484
  "titleStyle": labelStyle.value,
9449
- "valueClass": bem$G("value"),
9450
- "titleClass": [bem$G("label", [labelAlign, {
9485
+ "valueClass": bem$H("value"),
9486
+ "titleClass": [bem$H("label", [labelAlign, {
9451
9487
  required: props.required
9452
9488
  }]), props.labelClass],
9453
9489
  "arrowDirection": props.arrowDirection
@@ -9462,7 +9498,179 @@ var stdin_default$_ = defineComponent({
9462
9498
  };
9463
9499
  }
9464
9500
  });
9465
- const Field = withInstall(stdin_default$_);
9501
+ const Field = withInstall(stdin_default$$);
9502
+ const floatingBubbleProps = {
9503
+ gap: makeNumberProp(24),
9504
+ icon: String,
9505
+ axis: makeStringProp("y"),
9506
+ magnetic: String,
9507
+ offset: {
9508
+ type: Object,
9509
+ default: () => ({
9510
+ x: -1,
9511
+ y: -1
9512
+ })
9513
+ },
9514
+ teleport: {
9515
+ type: [String, Object],
9516
+ default: "body"
9517
+ }
9518
+ };
9519
+ const [name$G, bem$G] = createNamespace("floating-bubble");
9520
+ var stdin_default$_ = defineComponent({
9521
+ name: name$G,
9522
+ inheritAttrs: false,
9523
+ props: floatingBubbleProps,
9524
+ emits: ["click", "update:offset", "offsetChange"],
9525
+ setup(props, {
9526
+ slots,
9527
+ emit,
9528
+ attrs
9529
+ }) {
9530
+ const rootRef = ref();
9531
+ const state = ref({
9532
+ x: 0,
9533
+ y: 0,
9534
+ width: 0,
9535
+ height: 0
9536
+ });
9537
+ const boundary = computed(() => ({
9538
+ top: props.gap,
9539
+ right: windowWidth.value - state.value.width - props.gap,
9540
+ bottom: windowHeight.value - state.value.height - props.gap,
9541
+ left: props.gap
9542
+ }));
9543
+ const dragging = ref(false);
9544
+ let initialized = false;
9545
+ const rootStyle = computed(() => {
9546
+ const style = {};
9547
+ const x = addUnit(state.value.x);
9548
+ const y = addUnit(state.value.y);
9549
+ style.transform = `translate3d(${x}, ${y}, 0)`;
9550
+ if (dragging.value || !initialized) {
9551
+ style.transition = "none";
9552
+ }
9553
+ return style;
9554
+ });
9555
+ const updateState = () => {
9556
+ if (!show.value)
9557
+ return;
9558
+ const {
9559
+ width,
9560
+ height
9561
+ } = useRect(rootRef.value);
9562
+ const {
9563
+ offset: offset2
9564
+ } = props;
9565
+ state.value = {
9566
+ x: offset2.x > -1 ? offset2.x : windowWidth.value - width - props.gap,
9567
+ y: offset2.y > -1 ? offset2.y : windowHeight.value - height - props.gap,
9568
+ width,
9569
+ height
9570
+ };
9571
+ };
9572
+ const touch = useTouch();
9573
+ let prevX = 0;
9574
+ let prevY = 0;
9575
+ const onTouchStart = (e) => {
9576
+ touch.start(e);
9577
+ dragging.value = true;
9578
+ prevX = state.value.x;
9579
+ prevY = state.value.y;
9580
+ };
9581
+ const onTouchMove = (e) => {
9582
+ e.preventDefault();
9583
+ touch.move(e);
9584
+ if (props.axis === "lock")
9585
+ return;
9586
+ if (!touch.isTap.value) {
9587
+ if (props.axis === "x" || props.axis === "xy") {
9588
+ let nextX = prevX + touch.deltaX.value;
9589
+ if (nextX < boundary.value.left)
9590
+ nextX = boundary.value.left;
9591
+ if (nextX > boundary.value.right)
9592
+ nextX = boundary.value.right;
9593
+ state.value.x = nextX;
9594
+ }
9595
+ if (props.axis === "y" || props.axis === "xy") {
9596
+ let nextY = prevY + touch.deltaY.value;
9597
+ if (nextY < boundary.value.top)
9598
+ nextY = boundary.value.top;
9599
+ if (nextY > boundary.value.bottom)
9600
+ nextY = boundary.value.bottom;
9601
+ state.value.y = nextY;
9602
+ }
9603
+ const offset2 = pick(state.value, ["x", "y"]);
9604
+ emit("update:offset", offset2);
9605
+ }
9606
+ };
9607
+ useEventListener("touchmove", onTouchMove, {
9608
+ target: rootRef
9609
+ });
9610
+ const onTouchEnd = () => {
9611
+ dragging.value = false;
9612
+ nextTick(() => {
9613
+ if (props.magnetic === "x") {
9614
+ const nextX = closest([boundary.value.left, boundary.value.right], state.value.x);
9615
+ state.value.x = nextX;
9616
+ }
9617
+ if (props.magnetic === "y") {
9618
+ const nextY = closest([boundary.value.top, boundary.value.bottom], state.value.y);
9619
+ state.value.y = nextY;
9620
+ }
9621
+ if (!touch.isTap.value) {
9622
+ const offset2 = pick(state.value, ["x", "y"]);
9623
+ emit("update:offset", offset2);
9624
+ if (prevX !== offset2.x || prevY !== offset2.y) {
9625
+ emit("offsetChange", offset2);
9626
+ }
9627
+ }
9628
+ });
9629
+ };
9630
+ const onClick = (e) => {
9631
+ if (touch.isTap.value)
9632
+ emit("click", e);
9633
+ else
9634
+ e.stopPropagation();
9635
+ };
9636
+ onMounted(() => {
9637
+ updateState();
9638
+ nextTick(() => {
9639
+ initialized = true;
9640
+ });
9641
+ });
9642
+ watch([windowWidth, windowHeight, () => props.gap, () => props.offset], updateState);
9643
+ const show = ref(true);
9644
+ onActivated(() => {
9645
+ show.value = true;
9646
+ });
9647
+ onDeactivated(() => {
9648
+ if (props.teleport) {
9649
+ show.value = false;
9650
+ }
9651
+ });
9652
+ return () => {
9653
+ const Content = withDirectives(createVNode("div", mergeProps({
9654
+ "class": bem$G(),
9655
+ "ref": rootRef,
9656
+ "onTouchstartPassive": onTouchStart,
9657
+ "onTouchend": onTouchEnd,
9658
+ "onTouchcancel": onTouchEnd,
9659
+ "onClick": onClick,
9660
+ "style": rootStyle.value
9661
+ }, attrs), [slots.default ? slots.default() : createVNode(stdin_default$1N, {
9662
+ "name": props.icon,
9663
+ "class": bem$G("icon")
9664
+ }, null)]), [[vShow, show.value]]);
9665
+ return props.teleport ? createVNode(Teleport, {
9666
+ "to": props.teleport
9667
+ }, {
9668
+ default: () => [Content]
9669
+ }) : Content;
9670
+ };
9671
+ }
9672
+ });
9673
+ const FloatingBubble = withInstall(stdin_default$_);
9466
9674
  const [name$F, bem$F] = createNamespace("form");
9467
9675
  const formProps = {
9468
9676
  colon: Boolean,
@@ -9850,7 +10058,7 @@ var stdin_default$U = defineComponent({
9850
10058
  }
9851
10059
  }, [props.breadcrumbTitle]), props.data.map((item, index) => createVNode("div", {
9852
10060
  "class": bem$C("item")
9853
- }, [createVNode(stdin_default$1M, {
10061
+ }, [createVNode(stdin_default$1N, {
9854
10062
  "class": bem$C("icon"),
9855
10063
  "name": "arrow-right",
9856
10064
  "color": "#C6CED9"
@@ -9897,6 +10105,7 @@ const hierarchySelectProps = {
9897
10105
  asyncGetter: {
9898
10106
  type: Function
9899
10107
  },
10108
+ // 是否开启自动全选、半选功能
9900
10109
  unanimous: {
9901
10110
  type: Boolean,
9902
10111
  default: true
@@ -10106,7 +10315,7 @@ var stdin_default$T = defineComponent({
10106
10315
  round: true,
10107
10316
  checked: getChecked(item)
10108
10317
  })
10109
- }, [createVNode(stdin_default$1M, {
10318
+ }, [createVNode(stdin_default$1N, {
10110
10319
  "name": "checkbox-select"
10111
10320
  }, null)]);
10112
10321
  }
@@ -10116,14 +10325,14 @@ var stdin_default$T = defineComponent({
10116
10325
  checked: true,
10117
10326
  round: true
10118
10327
  })
10119
- }, [createVNode(stdin_default$1M, {
10328
+ }, [createVNode(stdin_default$1N, {
10120
10329
  "name": "checkbox-select"
10121
10330
  }, null)]) : createVNode("span", {
10122
10331
  "class": bem$B("icon", {
10123
10332
  round: true,
10124
10333
  indeterminate
10125
10334
  })
10126
- }, [createVNode(stdin_default$1M, {
10335
+ }, [createVNode(stdin_default$1N, {
10127
10336
  "name": indeterminate ? "minus" : "check-blank-r",
10128
10337
  "class": bem$B("uncheck-icon")
10129
10338
  }, null)]);
@@ -10363,8 +10572,8 @@ var stdin_default$S = defineComponent({
10363
10572
  } = touch;
10364
10573
  const deltaTime = Date.now() - touchStartTime;
10365
10574
  const TAP_TIME = 250;
10366
- const TAP_OFFSET = 5;
10367
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
10575
+ const TAP_OFFSET2 = 5;
10576
+ if (offsetX.value < TAP_OFFSET2 && offsetY.value < TAP_OFFSET2) {
10368
10577
  if (deltaTime < TAP_TIME) {
10369
10578
  if (doubleTapTimer) {
10370
10579
  clearTimeout(doubleTapTimer);
@@ -10750,7 +10959,7 @@ const indexBarProps = {
10750
10959
  default: genAlphabet
10751
10960
  },
10752
10961
  indexBarMaxHeight: makeNumericProp("70vh"),
10753
- contractionPointText: makeStringProp("·")
10962
+ contractionPointText: makeStringProp("")
10754
10963
  };
10755
10964
  const INDEX_BAR_KEY = Symbol(name$z);
10756
10965
  const MIN_CONTRACTION_NUM = 2;
@@ -10766,9 +10975,9 @@ var stdin_default$Q = defineComponent({
10766
10975
  const sidebar = ref();
10767
10976
  const activeAnchor = useSyncPropRef(() => props.activeAnchor, (value) => emit("update:activeAnchor", value));
10768
10977
  const touchIndex = ref("");
10769
- const indexBarMaxHeight = () => {
10978
+ const indexBarMaxHeight = computed(() => {
10770
10979
  return props.indexBarMaxHeight ? unitToPx(props.indexBarMaxHeight) : unitToPx("100vh");
10771
- };
10980
+ });
10772
10981
  const touch = useTouch();
10773
10982
  const scrollParent = useScrollParent(root);
10774
10983
  const {
@@ -10967,9 +11176,9 @@ var stdin_default$Q = defineComponent({
10967
11176
  };
10968
11177
  const adaptorIndexListByHeight = () => {
10969
11178
  const actualIndexListHeight = props.indexList.length * getIndexHeight();
10970
- if (actualIndexListHeight && actualIndexListHeight > indexBarMaxHeight()) {
11179
+ if (actualIndexListHeight && actualIndexListHeight > indexBarMaxHeight.value) {
10971
11180
  const adaptedIndexList = deepClone(props.indexList);
10972
- const renderedNum = Math.floor(indexBarMaxHeight() / getIndexHeight());
11181
+ const renderedNum = Math.floor(indexBarMaxHeight.value / getIndexHeight());
10973
11182
  const renderedPointNum = Math.floor(renderedNum / MIN_CONTRACTION_NUM);
10974
11183
  const renderedIndexNum = renderedNum - renderedPointNum;
10975
11184
  const hiddenIndexNum = adaptedIndexList.length - renderedIndexNum;
@@ -11027,23 +11236,31 @@ var stdin_default$Q = defineComponent({
11027
11236
  }, [createVNode("div", {
11028
11237
  "class": bem$y("touch-text")
11029
11238
  }, [touchActiveText]), createVNode("svg", {
11030
- "class": bem$y("icon"),
11031
11239
  "xmlns": "http://www.w3.org/2000/svg",
11032
- "viewBox": "0 0 20 32"
11033
- }, [createVNode("defs", null, [createVNode("path", {
11034
- "id": "7rkhbmqvk__gc482iacwa",
11035
- "d": "M0 0H20V32H0z"
11036
- }, null)]), createVNode("g", {
11037
11240
  "fill": "none",
11038
- "fill-rule": "evenodd"
11039
- }, [createVNode("path", {
11040
- "d": "M-1,0 C7.836556,-1.623249e-15 15,7.163444 15,16 C15,24.836556 7.836556,32 -1,32 L-1,32 L-1,32 L-1,0 Z",
11041
- "fill": "#8093AB",
11042
- "mask": "url(#7rkhbmqvk__9ahlxl93tb)"
11241
+ "viewBox": "0 0 20 32",
11242
+ "class": bem$y("icon")
11243
+ }, [createVNode("defs", null, [createVNode("mask", {
11244
+ "id": "ei8r0nsyx__b6fjzymnfa"
11245
+ }, [createVNode("rect", {
11246
+ "width": "20",
11247
+ "height": "32",
11248
+ "rx": "0",
11249
+ "fill": "#FFF"
11250
+ }, null)])]), createVNode("g", {
11251
+ "mask": "url(#ei8r0nsyx__b6fjzymnfa)"
11252
+ }, [createVNode("rect", {
11253
+ "width": "20",
11254
+ "height": "32",
11255
+ "rx": "0"
11256
+ }, null), createVNode("path", {
11257
+ "d": "M-1.0000000000000497,0C7.83656,0,15,7.16344,15,16C15,24.8366,7.83656,32,-1,32L-1.0000000000000497,0Z",
11258
+ "fill-rule": "evenodd",
11259
+ "class": bem$y("icon-fill")
11043
11260
  }, null), createVNode("path", {
11044
- "d": "M12.2406862,7.01475705 L19.4355101,15.3463801 C19.7597461,15.7218113 19.7597461,16.2781887 19.4355101,16.6536199 L12.2406862,24.9852429 C13.9822172,22.423901 15,19.3308084 15,16 C15,12.6691916 13.9822172,9.57609904 12.2406862,7.01475705 Z",
11045
- "fill": "#8093AB",
11046
- "mask": "url(#7rkhbmqvk__9ahlxl93tb)"
11261
+ "d": "M12.243150099299784,24.98157383041382L19.435507386779786,16.65358383041382C19.759737386779786,16.27815383041382,19.759737386779786,15.721773830413818,19.435507386779786,15.346343830413819L12.243151433939785,7.018357001713818C13.983177386779785,9.578993830413818,14.999997386779786,12.670733830413818,14.999997386779786,15.999963830413819C14.999997386779786,19.32917383041382,13.983177386779785,22.420973830413818,12.243150099299784,24.98157383041382Z",
11262
+ "fill-rule": "evenodd",
11263
+ "class": bem$y("icon-fill")
11047
11264
  }, null)])])]), createVNode("div", {
11048
11265
  "data-index": index,
11049
11266
  "data-index-map": contractionPointMapList,
@@ -11450,7 +11667,7 @@ var stdin_default$M = defineComponent({
11450
11667
  }
11451
11668
  }
11452
11669
  };
11453
- return () => createVNode(stdin_default$1J, {
11670
+ return () => createVNode(stdin_default$1K, {
11454
11671
  "class": bem$v(),
11455
11672
  "show": props.show,
11456
11673
  "position": "bottom",
@@ -13393,10 +13610,10 @@ var stdin_default$C = defineComponent({
13393
13610
  message
13394
13611
  } = media;
13395
13612
  if (status === "uploading" || status === "failed") {
13396
- const MaskIcon = status === "failed" ? createVNode(stdin_default$1M, {
13613
+ const MaskIcon = status === "failed" ? createVNode(stdin_default$1N, {
13397
13614
  "name": "close",
13398
13615
  "class": bem$u("mask-icon")
13399
- }, null) : createVNode(stdin_default$1H, {
13616
+ }, null) : createVNode(stdin_default$1I, {
13400
13617
  "class": bem$u("loading")
13401
13618
  }, null);
13402
13619
  const showMessage = isDef(message) && message !== "";
@@ -13415,7 +13632,7 @@ var stdin_default$C = defineComponent({
13415
13632
  };
13416
13633
  const renderMediaThumbnail = (media) => {
13417
13634
  if (media.showSrc) {
13418
- return createVNode(stdin_default$1D, {
13635
+ return createVNode(stdin_default$1E, {
13419
13636
  "src": media.showSrc,
13420
13637
  "fit": "cover",
13421
13638
  "radius": "4"
@@ -13505,7 +13722,7 @@ var stdin_default$C = defineComponent({
13505
13722
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
13506
13723
  "mediaType": mediaTypeToPlay.value,
13507
13724
  "mediaUrl": mediaUrlToPlay.value
13508
- }, null), createVNode(stdin_default$1F, {
13725
+ }, null), createVNode(stdin_default$1G, {
13509
13726
  "show": actionVisible.value,
13510
13727
  "onUpdate:show": ($event) => actionVisible.value = $event,
13511
13728
  "actions": actionOptions.value,
@@ -13708,7 +13925,7 @@ var stdin_default$A = defineComponent({
13708
13925
  };
13709
13926
  const genCancel = () => {
13710
13927
  const text = props.cancelButtonText || "取消";
13711
- return createVNode(stdin_default$1A, {
13928
+ return createVNode(stdin_default$1B, {
13712
13929
  "size": "normal",
13713
13930
  "block": true,
13714
13931
  "style": {
@@ -13721,7 +13938,7 @@ var stdin_default$A = defineComponent({
13721
13938
  };
13722
13939
  const genConfirm = () => {
13723
13940
  const text = props.confirmButtonText || "确定";
13724
- return createVNode(stdin_default$1A, {
13941
+ return createVNode(stdin_default$1B, {
13725
13942
  "type": "primary",
13726
13943
  "size": "normal",
13727
13944
  "block": true,
@@ -13770,10 +13987,10 @@ var stdin_default$A = defineComponent({
13770
13987
  }, [genOptionItems()]);
13771
13988
  const renderMultiplePicker = () => createVNode("div", {
13772
13989
  "class": bem$s()
13773
- }, [genTitle(), props.loading ? createVNode(stdin_default$1H, {
13990
+ }, [genTitle(), props.loading ? createVNode(stdin_default$1I, {
13774
13991
  "class": bem$s("loading")
13775
13992
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
13776
- return () => createVNode(stdin_default$1J, {
13993
+ return () => createVNode(stdin_default$1K, {
13777
13994
  "show": currentShow.value,
13778
13995
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
13779
13996
  "round": true,
@@ -13940,7 +14157,7 @@ var stdin_default$y = defineComponent({
13940
14157
  return slots["left-icon"]();
13941
14158
  }
13942
14159
  if (props.leftIcon) {
13943
- return createVNode(stdin_default$1M, {
14160
+ return createVNode(stdin_default$1N, {
13944
14161
  "class": bem$q("left-icon"),
13945
14162
  "name": props.leftIcon
13946
14163
  }, null);
@@ -13966,7 +14183,7 @@ var stdin_default$y = defineComponent({
13966
14183
  }
13967
14184
  const name2 = getRightIconName();
13968
14185
  if (name2) {
13969
- return createVNode(stdin_default$1M, {
14186
+ return createVNode(stdin_default$1N, {
13970
14187
  "name": name2,
13971
14188
  "class": bem$q("right-icon"),
13972
14189
  "onClick": onClickRightIcon
@@ -14154,11 +14371,11 @@ const resetNotifyDefaultOptions = () => {
14154
14371
  };
14155
14372
  const Notify = withInstall(stdin_default$x);
14156
14373
  const [name$p, bem$o] = createNamespace("key");
14157
- const CollapseIcon = createVNode(stdin_default$1M, {
14374
+ const CollapseIcon = createVNode(stdin_default$1N, {
14158
14375
  "name": "keyboard-shrink",
14159
14376
  "size": "40"
14160
14377
  }, null);
14161
- const DeleteIcon = createVNode(stdin_default$1M, {
14378
+ const DeleteIcon = createVNode(stdin_default$1N, {
14162
14379
  "name": "backspace",
14163
14380
  "size": "40"
14164
14381
  }, null);
@@ -15044,7 +15261,7 @@ var stdin_default$q = defineComponent({
15044
15261
  emit("update:modelValue", props.name);
15045
15262
  }
15046
15263
  };
15047
- return () => createVNode(stdin_default$1i, mergeProps({
15264
+ return () => createVNode(stdin_default$1j, mergeProps({
15048
15265
  "bem": bem$i,
15049
15266
  "role": "radio",
15050
15267
  "parent": parent,
@@ -15440,7 +15657,7 @@ var stdin_default$n = defineComponent({
15440
15657
  if (slots.searchEmpty) {
15441
15658
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
15442
15659
  }
15443
- return createVNode(stdin_default$$, {
15660
+ return createVNode(stdin_default$10, {
15444
15661
  "class": bem$f("search-empty"),
15445
15662
  "image": "no-search-result"
15446
15663
  }, {
@@ -15831,7 +16048,7 @@ var stdin_default$l = defineComponent({
15831
16048
  };
15832
16049
  return () => {
15833
16050
  if (props.popup) {
15834
- return createVNode(stdin_default$1J, {
16051
+ return createVNode(stdin_default$1K, {
15835
16052
  "show": showPicker.value,
15836
16053
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
15837
16054
  "round": true,
@@ -16053,7 +16270,7 @@ var stdin_default$k = defineComponent({
16053
16270
  }
16054
16271
  });
16055
16272
  const Rate = withInstall(stdin_default$k);
16056
- const Row = withInstall(stdin_default$1g);
16273
+ const Row = withInstall(stdin_default$1h);
16057
16274
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
16058
16275
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
16059
16276
  const resultStyle = {
@@ -16319,20 +16536,20 @@ var stdin_default$j = defineComponent({
16319
16536
  "height": canvasHeight.value
16320
16537
  }, null), [[vShow, isCanvasSupported.value]])]), createVNode("div", {
16321
16538
  "class": bem$d("actions")
16322
- }, [createVNode(stdin_default$1A, {
16539
+ }, [createVNode(stdin_default$1B, {
16323
16540
  "plain": true,
16324
16541
  "type": "warning",
16325
16542
  "onClick": () => clear(),
16326
16543
  "class": bem$d("button-again")
16327
16544
  }, {
16328
16545
  default: () => [createTextVNode("重签")]
16329
- }), createVNode(stdin_default$1A, {
16546
+ }), createVNode(stdin_default$1B, {
16330
16547
  "type": "default",
16331
16548
  "onClick": cancel,
16332
16549
  "class": bem$d("button-cancel")
16333
16550
  }, {
16334
16551
  default: () => [createTextVNode("取消")]
16335
- }), createVNode(stdin_default$1A, {
16552
+ }), createVNode(stdin_default$1B, {
16336
16553
  "block": true,
16337
16554
  "type": "primary",
16338
16555
  "disabled": isCompleteButtonDisabled.value,
@@ -16839,7 +17056,7 @@ var stdin_default$f = defineComponent({
16839
17056
  }
16840
17057
  ],
16841
17058
  "aria-disabled": minusDisabled.value || void 0
16842
- }, createListeners("minus")), [createVNode(stdin_default$1M, {
17059
+ }, createListeners("minus")), [createVNode(stdin_default$1N, {
16843
17060
  "name": "minus",
16844
17061
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16845
17062
  }, null)]), [[vShow, props.showMinus]]), withDirectives(createVNode("input", {
@@ -16872,7 +17089,7 @@ var stdin_default$f = defineComponent({
16872
17089
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
16873
17090
  ],
16874
17091
  "aria-disabled": plusDisabled.value || void 0
16875
- }, createListeners("plus")), [createVNode(stdin_default$1M, {
17092
+ }, createListeners("plus")), [createVNode(stdin_default$1N, {
16876
17093
  "name": "plus",
16877
17094
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16878
17095
  }, null)]), [[vShow, props.showPlus]])]);
@@ -17594,7 +17811,7 @@ var stdin_default$8 = defineComponent({
17594
17811
  }, null);
17595
17812
  const LeftIcon = () => {
17596
17813
  if (props.image) {
17597
- return createVNode(stdin_default$1D, {
17814
+ return createVNode(stdin_default$1E, {
17598
17815
  "class": bem$3("image"),
17599
17816
  "src": props.image
17600
17817
  }, null);
@@ -19391,7 +19608,7 @@ const Lazyload = {
19391
19608
  });
19392
19609
  }
19393
19610
  };
19394
- const version = "3.1.10";
19611
+ const version = "3.1.12";
19395
19612
  function install(app) {
19396
19613
  const components = [
19397
19614
  ActionSheet,
@@ -19415,6 +19632,7 @@ function install(app) {
19415
19632
  DropdownMenu,
19416
19633
  Empty,
19417
19634
  Field,
19635
+ FloatingBubble,
19418
19636
  Form,
19419
19637
  Grid,
19420
19638
  GridItem,
@@ -19502,6 +19720,7 @@ export {
19502
19720
  DropdownMenu,
19503
19721
  Empty,
19504
19722
  Field,
19723
+ FloatingBubble,
19505
19724
  Form,
19506
19725
  Grid,
19507
19726
  GridItem,
@@ -19569,6 +19788,7 @@ export {
19569
19788
  dialogProps,
19570
19789
  dropdownItemProps,
19571
19790
  dropdownMenuProps,
19791
+ floatingBubbleProps,
19572
19792
  gridItemProps,
19573
19793
  gridProps,
19574
19794
  imagePreviewProps,