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.cjs.js CHANGED
@@ -250,7 +250,7 @@ function deepAssign(to, from) {
250
250
  });
251
251
  return to;
252
252
  }
253
- var stdin_default$1R = {
253
+ var stdin_default$1S = {
254
254
  name: "姓名",
255
255
  tel: "电话",
256
256
  save: "保存",
@@ -297,7 +297,7 @@ var stdin_default$1R = {
297
297
  };
298
298
  const lang = vue.ref("zh-CN");
299
299
  const messages = vue.reactive({
300
- "zh-CN": stdin_default$1R
300
+ "zh-CN": stdin_default$1S
301
301
  });
302
302
  const Locale = {
303
303
  messages() {
@@ -311,11 +311,11 @@ const Locale = {
311
311
  deepAssign(messages, newMessages);
312
312
  }
313
313
  };
314
- var stdin_default$1Q = Locale;
314
+ var stdin_default$1R = Locale;
315
315
  function createTranslate(name2) {
316
316
  const prefix = camelize(name2) + ".";
317
317
  return (path, ...args) => {
318
- const messages2 = stdin_default$1Q.messages();
318
+ const messages2 = stdin_default$1R.messages();
319
319
  const message = get(messages2, prefix + path) || get(messages2, path);
320
320
  return isFunction(message) ? message(...args) : message;
321
321
  };
@@ -366,6 +366,7 @@ const HAPTICS_FEEDBACK = "zt-haptics-feedback";
366
366
  const ELLIPSIS = "zt-ellipsis";
367
367
  const FORM_KEY = Symbol("zt-form");
368
368
  const LONG_PRESS_START_TIME = 500;
369
+ const TAP_OFFSET = 5;
369
370
  function callInterceptor(interceptor, {
370
371
  args = [],
371
372
  done,
@@ -401,7 +402,12 @@ function withInstall(options) {
401
402
  };
402
403
  return options;
403
404
  }
404
- const [name$1l, bem$1h] = createNamespace("badge");
405
+ function closest(arr, target) {
406
+ return arr.reduce(
407
+ (pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur
408
+ );
409
+ }
410
+ const [name$1m, bem$1i] = createNamespace("badge");
405
411
  const badgeProps = {
406
412
  dot: Boolean,
407
413
  max: numericProp,
@@ -414,8 +420,8 @@ const badgeProps = {
414
420
  badgeClass: String,
415
421
  position: makeStringProp("top-right")
416
422
  };
417
- var stdin_default$1P = vue.defineComponent({
418
- name: name$1l,
423
+ var stdin_default$1Q = vue.defineComponent({
424
+ name: name$1m,
419
425
  props: badgeProps,
420
426
  setup(props, {
421
427
  slots
@@ -442,11 +448,11 @@ var stdin_default$1P = vue.defineComponent({
442
448
  }
443
449
  if (isDef(max) && isNumeric(content) && +content > +max) {
444
450
  return vue.createVNode("p", {
445
- "class": [bem$1h("wrapper", "badge-num")]
451
+ "class": [bem$1i("wrapper", "badge-num")]
446
452
  }, [`${max}+`]);
447
453
  }
448
454
  return vue.createVNode("p", {
449
- "class": [bem$1h("wrapper", "badge-num")]
455
+ "class": [bem$1i("wrapper", "badge-num")]
450
456
  }, [content]);
451
457
  }
452
458
  };
@@ -474,7 +480,7 @@ var stdin_default$1P = vue.defineComponent({
474
480
  const renderBadge = () => {
475
481
  if (hasContent() || props.dot) {
476
482
  return vue.createVNode("div", {
477
- "class": [bem$1h([props.position, {
483
+ "class": [bem$1i([props.position, {
478
484
  dot: props.dot,
479
485
  fixed: !!slots.default
480
486
  }]), props.badgeClass],
@@ -488,7 +494,7 @@ var stdin_default$1P = vue.defineComponent({
488
494
  tag
489
495
  } = props;
490
496
  return vue.createVNode(tag, {
491
- "class": bem$1h("wrapper")
497
+ "class": bem$1i("wrapper")
492
498
  }, {
493
499
  default: () => [slots.default(), renderBadge()]
494
500
  });
@@ -497,14 +503,14 @@ var stdin_default$1P = vue.defineComponent({
497
503
  };
498
504
  }
499
505
  });
500
- const Badge = withInstall(stdin_default$1P);
506
+ const Badge = withInstall(stdin_default$1Q);
501
507
  let globalZIndex = 2e3;
502
508
  const useGlobalZIndex = () => ++globalZIndex;
503
509
  const setGlobalZIndex = (val) => {
504
510
  globalZIndex = val;
505
511
  };
506
- const [name$1k, bem$1g] = createNamespace("config-provider");
507
- const CONFIG_PROVIDER_KEY = Symbol(name$1k);
512
+ const [name$1l, bem$1h] = createNamespace("config-provider");
513
+ const CONFIG_PROVIDER_KEY = Symbol(name$1l);
508
514
  const configProviderProps = {
509
515
  tag: makeStringProp("div"),
510
516
  theme: makeStringProp("light"),
@@ -538,8 +544,8 @@ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
538
544
  }
539
545
  });
540
546
  }
541
- var stdin_default$1O = vue.defineComponent({
542
- name: name$1k,
547
+ var stdin_default$1P = vue.defineComponent({
548
+ name: name$1l,
543
549
  props: configProviderProps,
544
550
  setup(props, {
545
551
  slots
@@ -587,7 +593,7 @@ var stdin_default$1O = vue.defineComponent({
587
593
  }
588
594
  });
589
595
  return () => vue.createVNode(props.tag, {
590
- "class": bem$1g(),
596
+ "class": bem$1h(),
591
597
  "style": props.themeVarsScope === "local" ? style.value : void 0
592
598
  }, {
593
599
  default: () => {
@@ -597,7 +603,7 @@ var stdin_default$1O = vue.defineComponent({
597
603
  });
598
604
  }
599
605
  });
600
- const [name$1j, bem$1f] = createNamespace("icon");
606
+ const [name$1k, bem$1g] = createNamespace("icon");
601
607
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
602
608
  const iconProps = {
603
609
  dot: Boolean,
@@ -609,14 +615,14 @@ const iconProps = {
609
615
  badgeProps: Object,
610
616
  classPrefix: String
611
617
  };
612
- var stdin_default$1N = vue.defineComponent({
613
- name: name$1j,
618
+ var stdin_default$1O = vue.defineComponent({
619
+ name: name$1k,
614
620
  props: iconProps,
615
621
  setup(props, {
616
622
  slots
617
623
  }) {
618
624
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
619
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1f());
625
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1g());
620
626
  return () => {
621
627
  const {
622
628
  tag,
@@ -640,7 +646,7 @@ var stdin_default$1N = vue.defineComponent({
640
646
  default: () => {
641
647
  var _a;
642
648
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
643
- "class": bem$1f("image"),
649
+ "class": bem$1g("image"),
644
650
  "src": name2
645
651
  }, null)];
646
652
  }
@@ -648,8 +654,8 @@ var stdin_default$1N = vue.defineComponent({
648
654
  };
649
655
  }
650
656
  });
651
- const Icon = withInstall(stdin_default$1N);
652
- var stdin_default$1M = Icon;
657
+ const Icon = withInstall(stdin_default$1O);
658
+ var stdin_default$1N = Icon;
653
659
  const popupSharedProps = {
654
660
  // whether to show popup
655
661
  show: Boolean,
@@ -702,6 +708,7 @@ function useTouch() {
702
708
  const offsetX = vue.ref(0);
703
709
  const offsetY = vue.ref(0);
704
710
  const direction = vue.ref("");
711
+ const isTap = vue.ref(true);
705
712
  const isVertical = () => direction.value === "vertical";
706
713
  const isHorizontal = () => direction.value === "horizontal";
707
714
  const reset = () => {
@@ -710,6 +717,7 @@ function useTouch() {
710
717
  offsetX.value = 0;
711
718
  offsetY.value = 0;
712
719
  direction.value = "";
720
+ isTap.value = true;
713
721
  };
714
722
  const start = (event) => {
715
723
  reset();
@@ -726,6 +734,9 @@ function useTouch() {
726
734
  if (!direction.value || offsetX.value < LOCK_DIRECTION_DISTANCE && offsetY.value < LOCK_DIRECTION_DISTANCE) {
727
735
  direction.value = getDirection(offsetX.value, offsetY.value);
728
736
  }
737
+ if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
738
+ isTap.value = false;
739
+ }
729
740
  };
730
741
  return {
731
742
  move,
@@ -739,7 +750,8 @@ function useTouch() {
739
750
  offsetY,
740
751
  direction,
741
752
  isVertical,
742
- isHorizontal
753
+ isHorizontal,
754
+ isTap
743
755
  };
744
756
  }
745
757
  let totalLockCount = 0;
@@ -820,7 +832,7 @@ const useScopeId = () => {
820
832
  const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
821
833
  return scopeId ? { [scopeId]: "" } : null;
822
834
  };
823
- const [name$1i, bem$1e] = createNamespace("overlay");
835
+ const [name$1j, bem$1f] = createNamespace("overlay");
824
836
  const overlayProps = {
825
837
  show: Boolean,
826
838
  zIndex: numericProp,
@@ -830,8 +842,8 @@ const overlayProps = {
830
842
  lazyRender: truthProp,
831
843
  customStyle: Object
832
844
  };
833
- var stdin_default$1L = vue.defineComponent({
834
- name: name$1i,
845
+ var stdin_default$1M = vue.defineComponent({
846
+ name: name$1j,
835
847
  props: overlayProps,
836
848
  setup(props, {
837
849
  slots
@@ -848,7 +860,7 @@ var stdin_default$1L = vue.defineComponent({
848
860
  }
849
861
  return vue.withDirectives(vue.createVNode("div", {
850
862
  "style": style,
851
- "class": [bem$1e(), props.className],
863
+ "class": [bem$1f(), props.className],
852
864
  "onTouchmove": props.lockScroll ? preventTouchMove : noop
853
865
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
854
866
  });
@@ -860,7 +872,7 @@ var stdin_default$1L = vue.defineComponent({
860
872
  });
861
873
  }
862
874
  });
863
- const Overlay = withInstall(stdin_default$1L);
875
+ const Overlay = withInstall(stdin_default$1M);
864
876
  const popupProps$2 = extend({}, popupSharedProps, {
865
877
  round: Boolean,
866
878
  position: makeStringProp("center"),
@@ -878,9 +890,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
878
890
  maxDragHeight: makeStringProp("85vh"),
879
891
  slideable: Boolean
880
892
  });
881
- const [name$1h, bem$1d] = createNamespace("popup");
882
- var stdin_default$1K = vue.defineComponent({
883
- name: name$1h,
893
+ const [name$1i, bem$1e] = createNamespace("popup");
894
+ var stdin_default$1L = vue.defineComponent({
895
+ name: name$1i,
884
896
  inheritAttrs: false,
885
897
  props: popupProps$2,
886
898
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -996,7 +1008,7 @@ var stdin_default$1K = vue.defineComponent({
996
1008
  "role": "button",
997
1009
  "tabindex": 0,
998
1010
  "name": props.closeIcon,
999
- "class": [bem$1d("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1011
+ "class": [bem$1e("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1000
1012
  "classPrefix": props.iconPrefix,
1001
1013
  "onClick": onClickCloseIcon
1002
1014
  }, null);
@@ -1016,7 +1028,7 @@ var stdin_default$1K = vue.defineComponent({
1016
1028
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1017
1029
  "ref": popupRef,
1018
1030
  "style": style.value,
1019
- "class": [bem$1d({
1031
+ "class": [bem$1e({
1020
1032
  round,
1021
1033
  [position]: position
1022
1034
  }), {
@@ -1029,18 +1041,18 @@ var stdin_default$1K = vue.defineComponent({
1029
1041
  const sliderRenderPopup = lazyRender(() => {
1030
1042
  var _a, _b;
1031
1043
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1032
- "class": bem$1d("slider"),
1044
+ "class": bem$1e("slider"),
1033
1045
  "ref": popupRef,
1034
1046
  "style": style.value,
1035
1047
  "onKeydown": onKeydown
1036
1048
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), vue.createVNode("div", {
1037
- "class": bem$1d("slider-title"),
1049
+ "class": bem$1e("slider-title"),
1038
1050
  "style": `height:${touchAreaHeight}px;`,
1039
1051
  "ref": root
1040
1052
  }, [vue.createVNode("div", {
1041
- "class": bem$1d("slider-bar")
1053
+ "class": bem$1e("slider-bar")
1042
1054
  }, null)]), vue.createVNode("div", {
1043
- "class": bem$1d("slider-content"),
1055
+ "class": bem$1e("slider-content"),
1044
1056
  "style": contentStyle.value
1045
1057
  }, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[vue.vShow, props.show]]);
1046
1058
  });
@@ -1134,9 +1146,9 @@ var stdin_default$1K = vue.defineComponent({
1134
1146
  };
1135
1147
  }
1136
1148
  });
1137
- const Popup = withInstall(stdin_default$1K);
1138
- var stdin_default$1J = Popup;
1139
- const [name$1g, bem$1c] = createNamespace("loading");
1149
+ const Popup = withInstall(stdin_default$1L);
1150
+ var stdin_default$1K = Popup;
1151
+ const [name$1h, bem$1d] = createNamespace("loading");
1140
1152
  const loadingProps = {
1141
1153
  size: numericProp,
1142
1154
  type: makeStringProp("snake"),
@@ -1149,12 +1161,12 @@ let svgElementId = 0;
1149
1161
  const LoadingIcon = (props) => {
1150
1162
  if (props.type === "spinner") {
1151
1163
  return Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1152
- "class": bem$1c("line", String(index + 1))
1164
+ "class": bem$1d("line", String(index + 1))
1153
1165
  }, null));
1154
1166
  }
1155
1167
  if (props.type === "circular") {
1156
1168
  return vue.createVNode("svg", {
1157
- "class": bem$1c("circular"),
1169
+ "class": bem$1d("circular"),
1158
1170
  "viewBox": "25 25 50 50"
1159
1171
  }, [vue.createVNode("circle", {
1160
1172
  "cx": "50",
@@ -1166,7 +1178,7 @@ const LoadingIcon = (props) => {
1166
1178
  const firstHalfId = svgElementId++;
1167
1179
  const secondHalfId = svgElementId++;
1168
1180
  return vue.createVNode("svg", {
1169
- "class": bem$1c("snake"),
1181
+ "class": bem$1d("snake"),
1170
1182
  "width": "200",
1171
1183
  "height": "200",
1172
1184
  "viewBox": "0 0 200 200",
@@ -1205,8 +1217,8 @@ const LoadingIcon = (props) => {
1205
1217
  "d": "M 9 100 A 91 91 0 0 1 9 100"
1206
1218
  }, null)])]);
1207
1219
  };
1208
- var stdin_default$1I = vue.defineComponent({
1209
- name: name$1g,
1220
+ var stdin_default$1J = vue.defineComponent({
1221
+ name: name$1h,
1210
1222
  props: loadingProps,
1211
1223
  setup(props, {
1212
1224
  slots
@@ -1218,7 +1230,7 @@ var stdin_default$1I = vue.defineComponent({
1218
1230
  var _a;
1219
1231
  if (slots.default) {
1220
1232
  return vue.createVNode("span", {
1221
- "class": bem$1c("text"),
1233
+ "class": bem$1d("text"),
1222
1234
  "style": {
1223
1235
  fontSize: addUnit(props.textSize),
1224
1236
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1232,21 +1244,21 @@ var stdin_default$1I = vue.defineComponent({
1232
1244
  vertical
1233
1245
  } = props;
1234
1246
  return vue.createVNode("div", {
1235
- "class": bem$1c([type, {
1247
+ "class": bem$1d([type, {
1236
1248
  vertical
1237
1249
  }]),
1238
1250
  "aria-live": "polite",
1239
1251
  "aria-busy": true
1240
1252
  }, [vue.createVNode("span", {
1241
- "class": bem$1c("spinner", type),
1253
+ "class": bem$1d("spinner", type),
1242
1254
  "style": spinnerStyle.value
1243
1255
  }, [LoadingIcon(props)]), renderText()]);
1244
1256
  };
1245
1257
  }
1246
1258
  });
1247
- const Loading = withInstall(stdin_default$1I);
1248
- var stdin_default$1H = Loading;
1249
- const [name$1f, bem$1b] = createNamespace("action-sheet");
1259
+ const Loading = withInstall(stdin_default$1J);
1260
+ var stdin_default$1I = Loading;
1261
+ const [name$1g, bem$1c] = createNamespace("action-sheet");
1250
1262
  const actionSheetProps = extend({}, popupSharedProps, {
1251
1263
  title: String,
1252
1264
  round: truthProp,
@@ -1260,8 +1272,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1260
1272
  safeAreaInsetBottom: truthProp
1261
1273
  });
1262
1274
  const popupInheritKeys$1 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1263
- var stdin_default$1G = vue.defineComponent({
1264
- name: name$1f,
1275
+ var stdin_default$1H = vue.defineComponent({
1276
+ name: name$1g,
1265
1277
  props: actionSheetProps,
1266
1278
  emits: ["select", "cancel", "update:show"],
1267
1279
  setup(props, {
@@ -1276,10 +1288,10 @@ var stdin_default$1G = vue.defineComponent({
1276
1288
  const renderHeader = () => {
1277
1289
  if (props.title) {
1278
1290
  return vue.createVNode("div", {
1279
- "class": bem$1b("header")
1291
+ "class": bem$1c("header")
1280
1292
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1281
1293
  "name": props.closeIcon,
1282
- "class": [bem$1b("close"), HAPTICS_FEEDBACK],
1294
+ "class": [bem$1c("close"), HAPTICS_FEEDBACK],
1283
1295
  "onClick": onCancel
1284
1296
  }, null)]);
1285
1297
  }
@@ -1287,10 +1299,10 @@ var stdin_default$1G = vue.defineComponent({
1287
1299
  const renderCancel = () => {
1288
1300
  if (slots.cancel || props.cancelText) {
1289
1301
  return [vue.createVNode("div", {
1290
- "class": bem$1b("cancel")
1302
+ "class": bem$1c("cancel")
1291
1303
  }, [vue.createVNode("button", {
1292
1304
  "type": "button",
1293
- "class": bem$1b("cancel-btn"),
1305
+ "class": bem$1c("cancel-btn"),
1294
1306
  "onClick": onCancel
1295
1307
  }, [slots.cancel ? slots.cancel() : props.cancelText])])];
1296
1308
  }
@@ -1298,7 +1310,7 @@ var stdin_default$1G = vue.defineComponent({
1298
1310
  const renderActionContent = (action, index) => {
1299
1311
  if (action.loading) {
1300
1312
  return vue.createVNode(Loading, {
1301
- "class": bem$1b("loading-icon")
1313
+ "class": bem$1c("loading-icon")
1302
1314
  }, null);
1303
1315
  }
1304
1316
  if (slots.action) {
@@ -1308,9 +1320,9 @@ var stdin_default$1G = vue.defineComponent({
1308
1320
  });
1309
1321
  }
1310
1322
  return [vue.createVNode("span", {
1311
- "class": bem$1b("name")
1323
+ "class": bem$1c("name")
1312
1324
  }, [action.name]), action.subname && vue.createVNode("div", {
1313
- "class": bem$1b("subname")
1325
+ "class": bem$1c("subname")
1314
1326
  }, [action.subname])];
1315
1327
  };
1316
1328
  const renderAction = (action, index) => {
@@ -1343,7 +1355,7 @@ var stdin_default$1G = vue.defineComponent({
1343
1355
  "style": {
1344
1356
  color
1345
1357
  },
1346
- "class": [bem$1b("item", {
1358
+ "class": [bem$1c("item", {
1347
1359
  loading,
1348
1360
  disabled,
1349
1361
  "with-sub": action.subname
@@ -1357,29 +1369,29 @@ var stdin_default$1G = vue.defineComponent({
1357
1369
  if (props.description || slots.description) {
1358
1370
  const content = slots.description ? slots.description() : props.description;
1359
1371
  return vue.createVNode("div", {
1360
- "class": bem$1b("description", {
1372
+ "class": bem$1c("description", {
1361
1373
  custom: !!slots.description
1362
1374
  })
1363
1375
  }, [content]);
1364
1376
  }
1365
1377
  };
1366
1378
  return () => vue.createVNode(Popup, vue.mergeProps({
1367
- "class": bem$1b(),
1379
+ "class": bem$1c(),
1368
1380
  "position": "bottom",
1369
1381
  "onUpdate:show": updateShow
1370
1382
  }, pick(props, popupInheritKeys$1)), {
1371
1383
  default: () => {
1372
1384
  var _a;
1373
1385
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1374
- "class": bem$1b("content")
1386
+ "class": bem$1c("content")
1375
1387
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1376
1388
  }
1377
1389
  });
1378
1390
  }
1379
1391
  });
1380
- const ActionSheet = withInstall(stdin_default$1G);
1381
- var stdin_default$1F = ActionSheet;
1382
- const [name$1e, bem$1a] = createNamespace("image");
1392
+ const ActionSheet = withInstall(stdin_default$1H);
1393
+ var stdin_default$1G = ActionSheet;
1394
+ const [name$1f, bem$1b] = createNamespace("image");
1383
1395
  const imageProps = {
1384
1396
  src: String,
1385
1397
  alt: String,
@@ -1398,8 +1410,8 @@ const imageProps = {
1398
1410
  showLoading: truthProp,
1399
1411
  loadingIcon: makeStringProp("photo-default")
1400
1412
  };
1401
- var stdin_default$1E = vue.defineComponent({
1402
- name: name$1e,
1413
+ var stdin_default$1F = vue.defineComponent({
1414
+ name: name$1f,
1403
1415
  props: imageProps,
1404
1416
  emits: ["load", "error"],
1405
1417
  setup(props, {
@@ -1450,13 +1462,13 @@ var stdin_default$1E = vue.defineComponent({
1450
1462
  const renderPlaceholder = () => {
1451
1463
  if (loading.value && props.showLoading) {
1452
1464
  return vue.createVNode("div", {
1453
- "class": bem$1a("loading")
1454
- }, [renderIcon(props.loadingIcon, bem$1a("loading-icon"), slots.loading)]);
1465
+ "class": bem$1b("loading")
1466
+ }, [renderIcon(props.loadingIcon, bem$1b("loading-icon"), slots.loading)]);
1455
1467
  }
1456
1468
  if (error.value && props.showError) {
1457
1469
  return vue.createVNode("div", {
1458
- "class": bem$1a("error")
1459
- }, [renderIcon(props.errorIcon, bem$1a("error-icon"), slots.error)]);
1470
+ "class": bem$1b("error")
1471
+ }, [renderIcon(props.errorIcon, bem$1b("error-icon"), slots.error)]);
1460
1472
  }
1461
1473
  };
1462
1474
  const renderImage = () => {
@@ -1465,7 +1477,7 @@ var stdin_default$1E = vue.defineComponent({
1465
1477
  }
1466
1478
  const attrs = {
1467
1479
  alt: props.alt,
1468
- class: bem$1a("img"),
1480
+ class: bem$1b("img"),
1469
1481
  style: {
1470
1482
  objectFit: props.fit,
1471
1483
  objectPosition: props.position
@@ -1514,7 +1526,7 @@ var stdin_default$1E = vue.defineComponent({
1514
1526
  return () => {
1515
1527
  var _a;
1516
1528
  return vue.createVNode("div", {
1517
- "class": bem$1a({
1529
+ "class": bem$1b({
1518
1530
  round: props.round,
1519
1531
  block: props.block
1520
1532
  }),
@@ -1523,9 +1535,9 @@ var stdin_default$1E = vue.defineComponent({
1523
1535
  };
1524
1536
  }
1525
1537
  });
1526
- const Image$1 = withInstall(stdin_default$1E);
1527
- var stdin_default$1D = Image$1;
1528
- const [name$1d, bem$19] = createNamespace("avatar");
1538
+ const Image$1 = withInstall(stdin_default$1F);
1539
+ var stdin_default$1E = Image$1;
1540
+ const [name$1e, bem$1a] = createNamespace("avatar");
1529
1541
  const avatarProps = {
1530
1542
  src: makeStringProp(""),
1531
1543
  size: makeStringProp("medium"),
@@ -1534,8 +1546,8 @@ const avatarProps = {
1534
1546
  textBgColor: String,
1535
1547
  border: Boolean
1536
1548
  };
1537
- var stdin_default$1C = vue.defineComponent({
1538
- name: name$1d,
1549
+ var stdin_default$1D = vue.defineComponent({
1550
+ name: name$1e,
1539
1551
  props: avatarProps,
1540
1552
  setup(props) {
1541
1553
  const headText = vue.computed(() => {
@@ -1566,7 +1578,7 @@ var stdin_default$1C = vue.defineComponent({
1566
1578
  }
1567
1579
  });
1568
1580
  const renderText = () => vue.createVNode("div", {
1569
- "class": bem$19("img", [classArr.value, {
1581
+ "class": bem$1a("img", [classArr.value, {
1570
1582
  border: props.border
1571
1583
  }]),
1572
1584
  "style": style.value
@@ -1575,9 +1587,9 @@ var stdin_default$1C = vue.defineComponent({
1575
1587
  if (!props.src) {
1576
1588
  return renderText();
1577
1589
  }
1578
- return vue.createVNode(stdin_default$1D, {
1590
+ return vue.createVNode(stdin_default$1E, {
1579
1591
  "round": props.shape === "round",
1580
- "class": bem$19("img", [classArr.value, {
1592
+ "class": bem$1a("img", [classArr.value, {
1581
1593
  border: props.border
1582
1594
  }]),
1583
1595
  "style": style.value,
@@ -1588,7 +1600,7 @@ var stdin_default$1C = vue.defineComponent({
1588
1600
  };
1589
1601
  }
1590
1602
  });
1591
- const Avatar = withInstall(stdin_default$1C);
1603
+ const Avatar = withInstall(stdin_default$1D);
1592
1604
  const routeProps = {
1593
1605
  to: [String, Object],
1594
1606
  url: String,
@@ -1610,7 +1622,7 @@ function useRoute() {
1610
1622
  const vm = vue.getCurrentInstance().proxy;
1611
1623
  return () => route(vm);
1612
1624
  }
1613
- const [name$1c, bem$18] = createNamespace("button");
1625
+ const [name$1d, bem$19] = createNamespace("button");
1614
1626
  const buttonProps = extend({}, routeProps, {
1615
1627
  tag: makeStringProp("button"),
1616
1628
  text: String,
@@ -1637,8 +1649,8 @@ const buttonProps = extend({}, routeProps, {
1637
1649
  loadingType: String,
1638
1650
  iconPosition: makeStringProp("left")
1639
1651
  });
1640
- var stdin_default$1B = vue.defineComponent({
1641
- name: name$1c,
1652
+ var stdin_default$1C = vue.defineComponent({
1653
+ name: name$1d,
1642
1654
  props: buttonProps,
1643
1655
  emits: ["click"],
1644
1656
  setup(props, {
@@ -1653,7 +1665,7 @@ var stdin_default$1B = vue.defineComponent({
1653
1665
  return vue.createVNode(Loading, {
1654
1666
  "size": props.loadingSize,
1655
1667
  "type": props.loadingType,
1656
- "class": bem$18("loading")
1668
+ "class": bem$19("loading")
1657
1669
  }, null);
1658
1670
  };
1659
1671
  const renderIcon = () => {
@@ -1665,14 +1677,14 @@ var stdin_default$1B = vue.defineComponent({
1665
1677
  } = props;
1666
1678
  if (slots.icon) {
1667
1679
  return vue.createVNode("div", {
1668
- "class": bem$18("icon", size)
1680
+ "class": bem$19("icon", size)
1669
1681
  }, [slots.icon()]);
1670
1682
  }
1671
1683
  if (props.icon) {
1672
1684
  return vue.createVNode(Icon, {
1673
1685
  "name": props.icon,
1674
1686
  "color": props.iconColor,
1675
- "class": bem$18("icon", size),
1687
+ "class": bem$19("icon", size),
1676
1688
  "classPrefix": props.iconPrefix
1677
1689
  }, null);
1678
1690
  }
@@ -1686,7 +1698,7 @@ var stdin_default$1B = vue.defineComponent({
1686
1698
  }
1687
1699
  if (text) {
1688
1700
  return vue.createVNode("span", {
1689
- "class": bem$18("text")
1701
+ "class": bem$19("text")
1690
1702
  }, [text]);
1691
1703
  }
1692
1704
  };
@@ -1743,7 +1755,7 @@ var stdin_default$1B = vue.defineComponent({
1743
1755
  nativeType,
1744
1756
  iconPosition
1745
1757
  } = props;
1746
- const classes = [bem$18([type, size, {
1758
+ const classes = [bem$19([type, size, {
1747
1759
  plain,
1748
1760
  block,
1749
1761
  "block-inner": blockInner ? "block-inner" : "",
@@ -1763,16 +1775,16 @@ var stdin_default$1B = vue.defineComponent({
1763
1775
  "onClick": onClick
1764
1776
  }, {
1765
1777
  default: () => [vue.createVNode("div", {
1766
- "class": bem$18("content")
1778
+ "class": bem$19("content")
1767
1779
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
1768
1780
  });
1769
1781
  };
1770
1782
  }
1771
1783
  });
1772
- const Button = withInstall(stdin_default$1B);
1773
- var stdin_default$1A = Button;
1784
+ const Button = withInstall(stdin_default$1C);
1785
+ var stdin_default$1B = Button;
1774
1786
  const monthsOfYear = 12;
1775
- const [name$1b, bem$17, t$7] = createNamespace("calendar");
1787
+ const [name$1c, bem$18, t$7] = createNamespace("calendar");
1776
1788
  const formatMonthTitle = (date) => t$7("ztCalendar.monthTitle", date.getFullYear(), date.getMonth() + 1);
1777
1789
  function compareMonth(date1, date2) {
1778
1790
  const year1 = date1.getFullYear();
@@ -1858,7 +1870,7 @@ function lockClick(lock) {
1858
1870
  }
1859
1871
  }
1860
1872
  }
1861
- const [name$1a, bem$16] = createNamespace("toast");
1873
+ const [name$1b, bem$17] = createNamespace("toast");
1862
1874
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
1863
1875
  const toastProps = {
1864
1876
  icon: String,
@@ -1881,8 +1893,8 @@ const toastProps = {
1881
1893
  closeOnClick: Boolean,
1882
1894
  closeOnClickOverlay: Boolean
1883
1895
  };
1884
- var stdin_default$1z = vue.defineComponent({
1885
- name: name$1a,
1896
+ var stdin_default$1A = vue.defineComponent({
1897
+ name: name$1b,
1886
1898
  props: toastProps,
1887
1899
  emits: ["update:show"],
1888
1900
  setup(props, {
@@ -1917,13 +1929,13 @@ var stdin_default$1z = vue.defineComponent({
1917
1929
  return vue.createVNode(Icon, {
1918
1930
  "name": icon || type,
1919
1931
  "size": iconSize,
1920
- "class": bem$16("icon"),
1932
+ "class": bem$17("icon"),
1921
1933
  "classPrefix": iconPrefix
1922
1934
  }, null);
1923
1935
  }
1924
1936
  if (type === "loading") {
1925
1937
  return vue.createVNode(Loading, {
1926
- "class": bem$16("loading"),
1938
+ "class": bem$17("loading"),
1927
1939
  "size": iconSize,
1928
1940
  "type": loadingType
1929
1941
  }, null);
@@ -1937,10 +1949,10 @@ var stdin_default$1z = vue.defineComponent({
1937
1949
  if (isDef(message) && message !== "") {
1938
1950
  return type === "html" ? vue.createVNode("div", {
1939
1951
  "key": 0,
1940
- "class": bem$16("text"),
1952
+ "class": bem$17("text"),
1941
1953
  "innerHTML": String(message)
1942
1954
  }, null) : vue.createVNode("div", {
1943
- "class": bem$16("text")
1955
+ "class": bem$17("text")
1944
1956
  }, [message]);
1945
1957
  }
1946
1958
  };
@@ -1956,7 +1968,7 @@ var stdin_default$1z = vue.defineComponent({
1956
1968
  vue.onMounted(toggleClickable);
1957
1969
  vue.onUnmounted(toggleClickable);
1958
1970
  return () => vue.createVNode(Popup, vue.mergeProps({
1959
- "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1971
+ "class": [bem$17([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
1960
1972
  [props.type]: !props.icon
1961
1973
  }]), props.className],
1962
1974
  "lockScroll": false,
@@ -2057,7 +2069,7 @@ function createInstance() {
2057
2069
  onClosed,
2058
2070
  "onUpdate:show": toggle
2059
2071
  };
2060
- return vue.createVNode(stdin_default$1z, vue.mergeProps(state, attrs), null);
2072
+ return vue.createVNode(stdin_default$1A, vue.mergeProps(state, attrs), null);
2061
2073
  };
2062
2074
  vue.watch(message, (val) => {
2063
2075
  state.message = val;
@@ -2127,7 +2139,7 @@ const resetToastDefaultOptions = (type) => {
2127
2139
  const allowMultipleToast = (value = true) => {
2128
2140
  allowMultiple = value;
2129
2141
  };
2130
- const Toast = withInstall(stdin_default$1z);
2142
+ const Toast = withInstall(stdin_default$1A);
2131
2143
  const useHeight = (element, withSafeArea) => {
2132
2144
  const height = vue.ref();
2133
2145
  const setHeight = () => {
@@ -2143,9 +2155,9 @@ const useHeight = (element, withSafeArea) => {
2143
2155
  });
2144
2156
  return height;
2145
2157
  };
2146
- const [name$19] = createNamespace("calendar-day");
2147
- var stdin_default$1y = vue.defineComponent({
2148
- name: name$19,
2158
+ const [name$1a] = createNamespace("calendar-day");
2159
+ var stdin_default$1z = vue.defineComponent({
2160
+ name: name$1a,
2149
2161
  props: {
2150
2162
  item: makeRequiredProp(Object),
2151
2163
  color: String,
@@ -2219,7 +2231,7 @@ var stdin_default$1y = vue.defineComponent({
2219
2231
  const Nodes = [text];
2220
2232
  if (type === "selected") {
2221
2233
  return vue.createVNode("div", {
2222
- "class": bem$17("selected-day"),
2234
+ "class": bem$18("selected-day"),
2223
2235
  "style": {
2224
2236
  width: rowHeight,
2225
2237
  height: rowHeight,
@@ -2237,21 +2249,21 @@ var stdin_default$1y = vue.defineComponent({
2237
2249
  } = props.item;
2238
2250
  if (type === "placeholder") {
2239
2251
  return vue.createVNode("div", {
2240
- "class": bem$17("day"),
2252
+ "class": bem$18("day"),
2241
2253
  "style": style.value
2242
2254
  }, null);
2243
2255
  }
2244
2256
  return vue.createVNode("div", {
2245
2257
  "role": "gridcell",
2246
2258
  "style": style.value,
2247
- "class": [bem$17("day", type), className],
2259
+ "class": [bem$18("day", type), className],
2248
2260
  "tabindex": type === "disabled" ? void 0 : -1,
2249
2261
  "onClick": onClick
2250
2262
  }, [renderContent()]);
2251
2263
  };
2252
2264
  }
2253
2265
  });
2254
- const [name$18] = createNamespace("calendar-month");
2266
+ const [name$19] = createNamespace("calendar-month");
2255
2267
  const calendarMonthProps = {
2256
2268
  date: makeRequiredProp(Date),
2257
2269
  showType: makeStringProp("inline"),
@@ -2270,8 +2282,8 @@ const calendarMonthProps = {
2270
2282
  firstDayOfWeek: Number,
2271
2283
  disabledDate: Function
2272
2284
  };
2273
- var stdin_default$1x = vue.defineComponent({
2274
- name: name$18,
2285
+ var stdin_default$1y = vue.defineComponent({
2286
+ name: name$19,
2275
2287
  props: calendarMonthProps,
2276
2288
  emits: ["click"],
2277
2289
  setup(props, {
@@ -2382,7 +2394,7 @@ var stdin_default$1x = vue.defineComponent({
2382
2394
  const renderTitle = () => {
2383
2395
  if (props.showMonthTitle) {
2384
2396
  return vue.createVNode("div", {
2385
- "class": bem$17("month-title")
2397
+ "class": bem$18("month-title")
2386
2398
  }, [title.value]);
2387
2399
  }
2388
2400
  };
@@ -2455,7 +2467,7 @@ var stdin_default$1x = vue.defineComponent({
2455
2467
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
2456
2468
  }
2457
2469
  };
2458
- const renderDay = (item, index) => vue.createVNode(stdin_default$1y, {
2470
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1z, {
2459
2471
  "item": item,
2460
2472
  "index": index,
2461
2473
  "color": props.color,
@@ -2466,7 +2478,7 @@ var stdin_default$1x = vue.defineComponent({
2466
2478
  const renderDays = () => vue.createVNode("div", {
2467
2479
  "ref": daysRef,
2468
2480
  "role": "grid",
2469
- "class": bem$17("days")
2481
+ "class": bem$18("days")
2470
2482
  }, [(shouldRender.value ? days : placeholders).value.map(renderDay)]);
2471
2483
  useExpose({
2472
2484
  getTitle,
@@ -2477,14 +2489,14 @@ var stdin_default$1x = vue.defineComponent({
2477
2489
  disabledDays
2478
2490
  });
2479
2491
  return () => vue.createVNode("div", {
2480
- "class": bem$17("month"),
2492
+ "class": bem$18("month"),
2481
2493
  "ref": monthRef
2482
2494
  }, [renderTitle(), renderDays()]);
2483
2495
  }
2484
2496
  });
2485
- const [name$17] = createNamespace("calendar-header");
2486
- var stdin_default$1w = vue.defineComponent({
2487
- name: name$17,
2497
+ const [name$18] = createNamespace("calendar-header");
2498
+ var stdin_default$1x = vue.defineComponent({
2499
+ name: name$18,
2488
2500
  props: {
2489
2501
  title: String,
2490
2502
  subtitle: String,
@@ -2507,7 +2519,7 @@ var stdin_default$1w = vue.defineComponent({
2507
2519
  const text = props.title || "请选择日期";
2508
2520
  const title = slots.title ? slots.title() : text;
2509
2521
  return vue.createVNode("div", {
2510
- "class": bem$17("header-title")
2522
+ "class": bem$18("header-title")
2511
2523
  }, [title]);
2512
2524
  }
2513
2525
  };
@@ -2537,7 +2549,7 @@ var stdin_default$1w = vue.defineComponent({
2537
2549
  "fill-rule": "evenodd"
2538
2550
  }, [vue.createVNode("g", {
2539
2551
  "transform": "translate(-32.000000, -320.000000)",
2540
- "class": bem$17("svg-defs-path-fill"),
2552
+ "class": bem$18("svg-defs-path-fill"),
2541
2553
  "fill-rule": "nonzero"
2542
2554
  }, [vue.createVNode("g", {
2543
2555
  "transform": "translate(0.000000, 70.000000)"
@@ -2575,7 +2587,7 @@ var stdin_default$1w = vue.defineComponent({
2575
2587
  "fill-rule": "evenodd"
2576
2588
  }, [vue.createVNode("g", {
2577
2589
  "transform": "translate(-80.000000, -320.000000)",
2578
- "class": bem$17("svg-defs-path-fill"),
2590
+ "class": bem$18("svg-defs-path-fill"),
2579
2591
  "fill-rule": "nonzero"
2580
2592
  }, [vue.createVNode("g", {
2581
2593
  "transform": "translate(0.000000, 70.000000)"
@@ -2600,21 +2612,21 @@ var stdin_default$1w = vue.defineComponent({
2600
2612
  if (props.showSubtitle) {
2601
2613
  const title = slots.subtitle ? slots.subtitle() : props.subtitle;
2602
2614
  return vue.createVNode("div", {
2603
- "class": bem$17("header-subtitle")
2615
+ "class": bem$18("header-subtitle")
2604
2616
  }, [vue.createVNode("div", {
2605
- "class": bem$17("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2617
+ "class": bem$18("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2606
2618
  "onClick": onClickPreIcon(false, true)
2607
2619
  }, [fastForwardImg()]), vue.createVNode("div", {
2608
- "class": bem$17("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2620
+ "class": bem$18("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2609
2621
  "onClick": onClickPreIcon(true, false)
2610
2622
  }, [slowForward()]), vue.createVNode("label", {
2611
- "class": bem$17("header-subtitle-text"),
2623
+ "class": bem$18("header-subtitle-text"),
2612
2624
  "onClick": onClickSubtitle
2613
2625
  }, [title]), vue.createVNode("div", {
2614
- "class": bem$17("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2626
+ "class": bem$18("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2615
2627
  "onClick": onClickNextIcon(true, false)
2616
2628
  }, [slowForward()]), vue.createVNode("div", {
2617
- "class": bem$17("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2629
+ "class": bem$18("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2618
2630
  "onClick": onClickNextIcon(false, true)
2619
2631
  }, [fastForwardImg()])]);
2620
2632
  }
@@ -2629,13 +2641,13 @@ var stdin_default$1w = vue.defineComponent({
2629
2641
  const weekdays = ["一", "二", "三", "四", "五", "六", "日"];
2630
2642
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek - 1), ...weekdays.slice(0, firstDayOfWeek - 1)];
2631
2643
  return vue.createVNode("div", {
2632
- "class": bem$17("weekdays")
2644
+ "class": bem$18("weekdays")
2633
2645
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
2634
- "class": bem$17("weekday")
2646
+ "class": bem$18("weekday")
2635
2647
  }, [text]))]);
2636
2648
  };
2637
2649
  return () => vue.createVNode("div", {
2638
- "class": bem$17("header")
2650
+ "class": bem$18("header")
2639
2651
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
2640
2652
  }
2641
2653
  });
@@ -2678,8 +2690,8 @@ const calendarProps = {
2678
2690
  },
2679
2691
  disabledDate: Function
2680
2692
  };
2681
- var stdin_default$1v = vue.defineComponent({
2682
- name: name$1b,
2693
+ var stdin_default$1w = vue.defineComponent({
2694
+ name: name$1c,
2683
2695
  props: calendarProps,
2684
2696
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
2685
2697
  setup(props, {
@@ -3031,7 +3043,7 @@ var stdin_default$1v = vue.defineComponent({
3031
3043
  const updateShow = (value) => emit("update:show", value);
3032
3044
  const renderMonth = (date, index) => {
3033
3045
  const showMonthTitle = index !== 0 || !props.showSubtitle;
3034
- return vue.createVNode(stdin_default$1x, vue.mergeProps({
3046
+ return vue.createVNode(stdin_default$1y, vue.mergeProps({
3035
3047
  "ref": setMonthRefs(index),
3036
3048
  "date": date,
3037
3049
  "currentDate": currentDate.value,
@@ -3075,13 +3087,13 @@ var stdin_default$1v = vue.defineComponent({
3075
3087
  }
3076
3088
  };
3077
3089
  const renderFooter = () => vue.createVNode("div", {
3078
- "class": [bem$17("footer"), {
3090
+ "class": [bem$18("footer"), {
3079
3091
  "zt-safe-area-bottom": props.safeAreaInsetBottom
3080
3092
  }]
3081
3093
  }, [renderFooterButton()]);
3082
3094
  const renderCalendar = () => vue.createVNode("div", {
3083
- "class": bem$17()
3084
- }, [vue.createVNode(stdin_default$1w, {
3095
+ "class": bem$18()
3096
+ }, [vue.createVNode(stdin_default$1x, {
3085
3097
  "title": props.title,
3086
3098
  "subtitle": subtitle.value,
3087
3099
  "showTitle": props.showTitle,
@@ -3097,7 +3109,7 @@ var stdin_default$1v = vue.defineComponent({
3097
3109
  "monthNextEnable": monthNextEnable.value
3098
3110
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
3099
3111
  "ref": bodyRef,
3100
- "class": bem$17("body"),
3112
+ "class": bem$18("body"),
3101
3113
  "onScroll": onScroll
3102
3114
  }, [months.value.map(renderMonth)]), props.popup ? renderFooter() : ""]);
3103
3115
  vue.watch(() => props.show, init);
@@ -3121,7 +3133,7 @@ var stdin_default$1v = vue.defineComponent({
3121
3133
  if (props.popup) {
3122
3134
  return vue.createVNode(Popup, {
3123
3135
  "show": props.show,
3124
- "class": bem$17("popup"),
3136
+ "class": bem$18("popup"),
3125
3137
  "round": props.round,
3126
3138
  "position": props.position,
3127
3139
  "teleport": props.teleport,
@@ -3137,7 +3149,7 @@ var stdin_default$1v = vue.defineComponent({
3137
3149
  };
3138
3150
  }
3139
3151
  });
3140
- const Calendar = withInstall(stdin_default$1v);
3152
+ const Calendar = withInstall(stdin_default$1w);
3141
3153
  function scrollLeftTo(scroller, to, duration) {
3142
3154
  let count = 0;
3143
3155
  const from = scroller.scrollLeft;
@@ -3202,7 +3214,7 @@ function useVisibilityChange(target, onChange) {
3202
3214
  vue.onBeforeUnmount(unobserve);
3203
3215
  use.onMountedOrActivated(observe);
3204
3216
  }
3205
- const [name$16, bem$15] = createNamespace("sticky");
3217
+ const [name$17, bem$16] = createNamespace("sticky");
3206
3218
  const stickyProps = {
3207
3219
  zIndex: numericProp,
3208
3220
  position: makeStringProp("top"),
@@ -3210,8 +3222,8 @@ const stickyProps = {
3210
3222
  offsetTop: makeNumericProp(0),
3211
3223
  offsetBottom: makeNumericProp(0)
3212
3224
  };
3213
- var stdin_default$1u = vue.defineComponent({
3214
- name: name$16,
3225
+ var stdin_default$1v = vue.defineComponent({
3226
+ name: name$17,
3215
3227
  props: stickyProps,
3216
3228
  emits: ["scroll", "change"],
3217
3229
  setup(props, {
@@ -3308,7 +3320,7 @@ var stdin_default$1u = vue.defineComponent({
3308
3320
  "ref": root,
3309
3321
  "style": rootStyle.value
3310
3322
  }, [vue.createVNode("div", {
3311
- "class": bem$15({
3323
+ "class": bem$16({
3312
3324
  fixed: state.fixed
3313
3325
  }),
3314
3326
  "style": stickyStyle.value
@@ -3316,10 +3328,10 @@ var stdin_default$1u = vue.defineComponent({
3316
3328
  };
3317
3329
  }
3318
3330
  });
3319
- const Sticky = withInstall(stdin_default$1u);
3320
- const [name$15, bem$14] = createNamespace("tab");
3321
- var stdin_default$1t = vue.defineComponent({
3322
- name: name$15,
3331
+ const Sticky = withInstall(stdin_default$1v);
3332
+ const [name$16, bem$15] = createNamespace("tab");
3333
+ var stdin_default$1u = vue.defineComponent({
3334
+ name: name$16,
3323
3335
  props: {
3324
3336
  id: String,
3325
3337
  dot: Boolean,
@@ -3374,7 +3386,7 @@ var stdin_default$1t = vue.defineComponent({
3374
3386
  });
3375
3387
  const renderText = () => {
3376
3388
  const Text = vue.createVNode("span", {
3377
- "class": bem$14("text", {
3389
+ "class": bem$15("text", {
3378
3390
  ellipsis: !props.scrollable
3379
3391
  })
3380
3392
  }, [slots.title ? slots.title() : props.title]);
@@ -3392,7 +3404,7 @@ var stdin_default$1t = vue.defineComponent({
3392
3404
  return () => vue.createVNode("div", {
3393
3405
  "id": props.id,
3394
3406
  "role": "tab",
3395
- "class": [bem$14([props.type, {
3407
+ "class": [bem$15([props.type, {
3396
3408
  grow: props.scrollable && !props.shrink,
3397
3409
  shrink: props.shrink,
3398
3410
  active: props.isActive,
@@ -3406,7 +3418,7 @@ var stdin_default$1t = vue.defineComponent({
3406
3418
  }, [renderText()]);
3407
3419
  }
3408
3420
  });
3409
- const [name$14, bem$13] = createNamespace("swipe");
3421
+ const [name$15, bem$14] = createNamespace("swipe");
3410
3422
  const swipeProps = {
3411
3423
  loop: truthProp,
3412
3424
  width: numericProp,
@@ -3422,9 +3434,9 @@ const swipeProps = {
3422
3434
  stopPropagation: truthProp,
3423
3435
  title: Array
3424
3436
  };
3425
- const SWIPE_KEY = Symbol(name$14);
3426
- var stdin_default$1s = vue.defineComponent({
3427
- name: name$14,
3437
+ const SWIPE_KEY = Symbol(name$15);
3438
+ var stdin_default$1t = vue.defineComponent({
3439
+ name: name$15,
3428
3440
  props: swipeProps,
3429
3441
  emits: ["change", "dragStart", "dragEnd"],
3430
3442
  setup(props, {
@@ -3695,7 +3707,7 @@ var stdin_default$1s = vue.defineComponent({
3695
3707
  const renderDot = (_, index) => {
3696
3708
  const active = index === activeIndicator.value;
3697
3709
  return vue.createVNode("i", {
3698
- "class": bem$13("indicator", {
3710
+ "class": bem$14("indicator", {
3699
3711
  active
3700
3712
  })
3701
3713
  }, null);
@@ -3709,7 +3721,7 @@ var stdin_default$1s = vue.defineComponent({
3709
3721
  }
3710
3722
  if (props.showIndicators && count.value > 1) {
3711
3723
  return vue.createVNode("div", {
3712
- "class": bem$13("indicators", {
3724
+ "class": bem$14("indicators", {
3713
3725
  vertical: props.vertical
3714
3726
  })
3715
3727
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -3718,17 +3730,17 @@ var stdin_default$1s = vue.defineComponent({
3718
3730
  const titleDiv = () => {
3719
3731
  if (Array.isArray(props.title)) {
3720
3732
  return vue.createVNode("div", {
3721
- "class": bem$13("title")
3733
+ "class": bem$14("title")
3722
3734
  }, [activeIndicator.value < props.title.length ? props.title[activeIndicator.value] : ""]);
3723
3735
  }
3724
3736
  return vue.createVNode("div", {
3725
- "class": bem$13("title")
3737
+ "class": bem$14("title")
3726
3738
  }, [props.title]);
3727
3739
  };
3728
3740
  const foot = () => {
3729
3741
  if (props.title) {
3730
3742
  return vue.createVNode("div", {
3731
- "class": bem$13("foot")
3743
+ "class": bem$14("foot")
3732
3744
  }, [titleDiv(), renderIndicator()]);
3733
3745
  }
3734
3746
  return vue.createVNode("div", null, [titleDiv(), renderIndicator()]);
@@ -3768,10 +3780,10 @@ var stdin_default$1s = vue.defineComponent({
3768
3780
  var _a;
3769
3781
  return vue.createVNode("div", {
3770
3782
  "ref": root,
3771
- "class": bem$13()
3783
+ "class": bem$14()
3772
3784
  }, [vue.createVNode("div", {
3773
3785
  "style": trackStyle.value,
3774
- "class": bem$13("track", {
3786
+ "class": bem$14("track", {
3775
3787
  vertical: props.vertical
3776
3788
  }),
3777
3789
  "onTouchstartPassive": onTouchStart,
@@ -3782,10 +3794,10 @@ var stdin_default$1s = vue.defineComponent({
3782
3794
  };
3783
3795
  }
3784
3796
  });
3785
- const Swipe = withInstall(stdin_default$1s);
3786
- const [name$13, bem$12] = createNamespace("tabs");
3787
- var stdin_default$1r = vue.defineComponent({
3788
- name: name$13,
3797
+ const Swipe = withInstall(stdin_default$1t);
3798
+ const [name$14, bem$13] = createNamespace("tabs");
3799
+ var stdin_default$1s = vue.defineComponent({
3800
+ name: name$14,
3789
3801
  props: {
3790
3802
  count: makeRequiredProp(Number),
3791
3803
  inited: Boolean,
@@ -3809,7 +3821,7 @@ var stdin_default$1r = vue.defineComponent({
3809
3821
  return vue.createVNode(Swipe, {
3810
3822
  "ref": swipeRef,
3811
3823
  "loop": false,
3812
- "class": bem$12("track"),
3824
+ "class": bem$13("track"),
3813
3825
  "duration": +props.duration * 1e3,
3814
3826
  "touchable": props.swipeable,
3815
3827
  "lazyRender": props.lazyRender,
@@ -3834,13 +3846,13 @@ var stdin_default$1r = vue.defineComponent({
3834
3846
  swipeToCurrentTab(props.currentIndex);
3835
3847
  });
3836
3848
  return () => vue.createVNode("div", {
3837
- "class": bem$12("content", {
3849
+ "class": bem$13("content", {
3838
3850
  animated: props.animated || props.swipeable
3839
3851
  })
3840
3852
  }, [renderChildren()]);
3841
3853
  }
3842
3854
  });
3843
- const [name$12, bem$11] = createNamespace("tabs");
3855
+ const [name$13, bem$12] = createNamespace("tabs");
3844
3856
  const tabsProps = {
3845
3857
  type: makeStringProp("line"),
3846
3858
  color: String,
@@ -3863,9 +3875,9 @@ const tabsProps = {
3863
3875
  titleActiveColor: String,
3864
3876
  titleInactiveColor: String
3865
3877
  };
3866
- const TABS_KEY = Symbol(name$12);
3867
- var stdin_default$1q = vue.defineComponent({
3868
- name: name$12,
3878
+ const TABS_KEY = Symbol(name$13);
3879
+ var stdin_default$1r = vue.defineComponent({
3880
+ name: name$13,
3869
3881
  props: tabsProps,
3870
3882
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
3871
3883
  setup(props, {
@@ -4055,7 +4067,7 @@ var stdin_default$1q = vue.defineComponent({
4055
4067
  state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
4056
4068
  state.showRightOverlay = hasScrollToEnd(target);
4057
4069
  };
4058
- const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1t, vue.mergeProps({
4070
+ const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1u, vue.mergeProps({
4059
4071
  "key": item.id,
4060
4072
  "id": `${id}-${index}`,
4061
4073
  "ref": setTitleRefs(index),
@@ -4076,7 +4088,7 @@ var stdin_default$1q = vue.defineComponent({
4076
4088
  const renderLine = () => {
4077
4089
  if (props.type === "line" && children.length) {
4078
4090
  return vue.createVNode("div", {
4079
- "class": bem$11("line"),
4091
+ "class": bem$12("line"),
4080
4092
  "style": state.lineStyle
4081
4093
  }, null);
4082
4094
  }
@@ -4084,14 +4096,14 @@ var stdin_default$1q = vue.defineComponent({
4084
4096
  const renderOverlayLeft = () => {
4085
4097
  if (state.showLeftOverlay) {
4086
4098
  return vue.createVNode("div", {
4087
- "class": bem$11("overlay-left")
4099
+ "class": bem$12("overlay-left")
4088
4100
  }, null);
4089
4101
  }
4090
4102
  };
4091
4103
  const renderOverlayRight = () => {
4092
4104
  if (state.showRightOverlay) {
4093
4105
  return vue.createVNode("div", {
4094
- "class": bem$11("overlay-right")
4106
+ "class": bem$12("overlay-right")
4095
4107
  }, null);
4096
4108
  }
4097
4109
  };
@@ -4103,13 +4115,13 @@ var stdin_default$1q = vue.defineComponent({
4103
4115
  } = props;
4104
4116
  return vue.createVNode("div", {
4105
4117
  "ref": wrapRef,
4106
- "class": [bem$11("wrap"), {
4118
+ "class": [bem$12("wrap"), {
4107
4119
  [BORDER_TOP_BOTTOM]: type === "line" && border
4108
4120
  }]
4109
4121
  }, [vue.createVNode("div", {
4110
4122
  "ref": navRef,
4111
4123
  "role": "tablist",
4112
- "class": bem$11("nav", [type, {
4124
+ "class": bem$12("nav", [type, {
4113
4125
  shrink: props.shrink,
4114
4126
  complete: scrollable.value
4115
4127
  }]),
@@ -4179,7 +4191,7 @@ var stdin_default$1q = vue.defineComponent({
4179
4191
  var _a;
4180
4192
  return vue.createVNode("div", {
4181
4193
  "ref": root,
4182
- "class": bem$11([props.type])
4194
+ "class": bem$12([props.type])
4183
4195
  }, [props.sticky ? vue.createVNode(Sticky, {
4184
4196
  "container": root.value,
4185
4197
  "offsetTop": offsetTopPx.value,
@@ -4189,7 +4201,7 @@ var stdin_default$1q = vue.defineComponent({
4189
4201
  var _a2;
4190
4202
  return [renderHeader(), (_a2 = slots["nav-bottom"]) == null ? void 0 : _a2.call(slots)];
4191
4203
  }
4192
- }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1r, {
4204
+ }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1s, {
4193
4205
  "count": children.length,
4194
4206
  "inited": state.inited,
4195
4207
  "animated": props.animated,
@@ -4209,9 +4221,9 @@ var stdin_default$1q = vue.defineComponent({
4209
4221
  });
4210
4222
  const TAB_STATUS_KEY = Symbol();
4211
4223
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
4212
- const [name$11, bem$10] = createNamespace("swipe-item");
4213
- var stdin_default$1p = vue.defineComponent({
4214
- name: name$11,
4224
+ const [name$12, bem$11] = createNamespace("swipe-item");
4225
+ var stdin_default$1q = vue.defineComponent({
4226
+ name: name$12,
4215
4227
  setup(props, {
4216
4228
  slots
4217
4229
  }) {
@@ -4276,14 +4288,14 @@ var stdin_default$1p = vue.defineComponent({
4276
4288
  return () => {
4277
4289
  var _a;
4278
4290
  return vue.createVNode("div", {
4279
- "class": bem$10(),
4291
+ "class": bem$11(),
4280
4292
  "style": style.value
4281
4293
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
4282
4294
  };
4283
4295
  }
4284
4296
  });
4285
- const SwipeItem = withInstall(stdin_default$1p);
4286
- const [name$10, bem$$] = createNamespace("tab");
4297
+ const SwipeItem = withInstall(stdin_default$1q);
4298
+ const [name$11, bem$10] = createNamespace("tab");
4287
4299
  const tabProps = extend({}, routeProps, {
4288
4300
  dot: Boolean,
4289
4301
  name: numericProp,
@@ -4294,8 +4306,8 @@ const tabProps = extend({}, routeProps, {
4294
4306
  titleStyle: [String, Object],
4295
4307
  showZeroBadge: truthProp
4296
4308
  });
4297
- var stdin_default$1o = vue.defineComponent({
4298
- name: name$10,
4309
+ var stdin_default$1p = vue.defineComponent({
4310
+ name: name$11,
4299
4311
  props: tabProps,
4300
4312
  setup(props, {
4301
4313
  slots
@@ -4353,7 +4365,7 @@ var stdin_default$1o = vue.defineComponent({
4353
4365
  return vue.createVNode(SwipeItem, {
4354
4366
  "id": id,
4355
4367
  "role": "tabpanel",
4356
- "class": bem$$("panel-wrapper", {
4368
+ "class": bem$10("panel-wrapper", {
4357
4369
  inactive: !active.value
4358
4370
  }),
4359
4371
  "tabindex": active.value ? 0 : -1,
@@ -4363,7 +4375,7 @@ var stdin_default$1o = vue.defineComponent({
4363
4375
  default: () => {
4364
4376
  var _a2;
4365
4377
  return [vue.createVNode("div", {
4366
- "class": bem$$("panel")
4378
+ "class": bem$10("panel")
4367
4379
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
4368
4380
  }
4369
4381
  });
@@ -4376,23 +4388,23 @@ var stdin_default$1o = vue.defineComponent({
4376
4388
  return vue.withDirectives(vue.createVNode("div", {
4377
4389
  "id": id,
4378
4390
  "role": "tabpanel",
4379
- "class": bem$$("panel"),
4391
+ "class": bem$10("panel"),
4380
4392
  "tabindex": show ? 0 : -1,
4381
4393
  "aria-labelledby": label
4382
4394
  }, [Content]), [[vue.vShow, show]]);
4383
4395
  };
4384
4396
  }
4385
4397
  });
4386
- const Tab = withInstall(stdin_default$1o);
4387
- const Tabs = withInstall(stdin_default$1q);
4388
- const [name$$, bem$_] = createNamespace("divider");
4398
+ const Tab = withInstall(stdin_default$1p);
4399
+ const Tabs = withInstall(stdin_default$1r);
4400
+ const [name$10, bem$$] = createNamespace("divider");
4389
4401
  const dividerProps = {
4390
4402
  dashed: Boolean,
4391
4403
  hairline: truthProp,
4392
4404
  contentPosition: makeStringProp("center")
4393
4405
  };
4394
- var stdin_default$1n = vue.defineComponent({
4395
- name: name$$,
4406
+ var stdin_default$1o = vue.defineComponent({
4407
+ name: name$10,
4396
4408
  props: dividerProps,
4397
4409
  setup(props, {
4398
4410
  slots
@@ -4401,7 +4413,7 @@ var stdin_default$1n = vue.defineComponent({
4401
4413
  var _a;
4402
4414
  return vue.createVNode("div", {
4403
4415
  "role": "separator",
4404
- "class": bem$_({
4416
+ "class": bem$$({
4405
4417
  dashed: props.dashed,
4406
4418
  hairline: props.hairline,
4407
4419
  [`content-${props.contentPosition}`]: !!slots.default
@@ -4410,8 +4422,8 @@ var stdin_default$1n = vue.defineComponent({
4410
4422
  };
4411
4423
  }
4412
4424
  });
4413
- const Divider = withInstall(stdin_default$1n);
4414
- const [name$_, bem$Z, t$6] = createNamespace("cascader");
4425
+ const Divider = withInstall(stdin_default$1o);
4426
+ const [name$$, bem$_, t$6] = createNamespace("cascader");
4415
4427
  const cascaderProps = {
4416
4428
  title: String,
4417
4429
  show: Boolean,
@@ -4431,8 +4443,8 @@ const cascaderProps = {
4431
4443
  safeAreaInsetTop: Boolean,
4432
4444
  closeOnClickOverlay: truthProp
4433
4445
  };
4434
- var stdin_default$1m = vue.defineComponent({
4435
- name: name$_,
4446
+ var stdin_default$1n = vue.defineComponent({
4447
+ name: name$$,
4436
4448
  props: cascaderProps,
4437
4449
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
4438
4450
  setup(props, {
@@ -4546,9 +4558,9 @@ var stdin_default$1m = vue.defineComponent({
4546
4558
  title
4547
4559
  }) => emit("clickTab", name2, title);
4548
4560
  const renderHeader = () => vue.createVNode("div", {
4549
- "class": bem$Z("header")
4561
+ "class": bem$_("header")
4550
4562
  }, [vue.createVNode("h2", {
4551
- "class": bem$Z("title")
4563
+ "class": bem$_("title")
4552
4564
  }, [slots.title ? slots.title() : props.title])]);
4553
4565
  const renderOption = (option, selectedOption, tabIndex) => {
4554
4566
  const {
@@ -4562,7 +4574,7 @@ var stdin_default$1m = vue.defineComponent({
4562
4574
  }) : vue.createVNode("span", null, [option[textKey]]);
4563
4575
  return vue.createVNode("li", {
4564
4576
  "role": "menuitemradio",
4565
- "class": [bem$Z("option", {
4577
+ "class": [bem$_("option", {
4566
4578
  selected,
4567
4579
  disabled
4568
4580
  }), option.className],
@@ -4575,12 +4587,12 @@ var stdin_default$1m = vue.defineComponent({
4575
4587
  "onClick": () => onSelect(option, tabIndex)
4576
4588
  }, [Text, selected ? vue.createVNode(Icon, {
4577
4589
  "name": "success",
4578
- "class": bem$Z("selected-icon")
4590
+ "class": bem$_("selected-icon")
4579
4591
  }, null) : null]);
4580
4592
  };
4581
4593
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
4582
4594
  "role": "menu",
4583
- "class": bem$Z("options")
4595
+ "class": bem$_("options")
4584
4596
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
4585
4597
  const renderDivider = () => vue.createVNode(Divider, {
4586
4598
  "style": {
@@ -4596,7 +4608,7 @@ var stdin_default$1m = vue.defineComponent({
4596
4608
  const title = selected ? selected[textKey] : placeholder;
4597
4609
  return vue.createVNode(Tab, {
4598
4610
  "title": title,
4599
- "titleClass": bem$Z("tab", {
4611
+ "titleClass": bem$_("tab", {
4600
4612
  unselected: !selected
4601
4613
  })
4602
4614
  }, {
@@ -4614,15 +4626,15 @@ var stdin_default$1m = vue.defineComponent({
4614
4626
  "active": activeTab.value,
4615
4627
  "onUpdate:active": ($event) => activeTab.value = $event,
4616
4628
  "animated": true,
4617
- "class": bem$Z("tabs"),
4629
+ "class": bem$_("tabs"),
4618
4630
  "color": props.activeColor,
4619
4631
  "swipeable": props.swipeable,
4620
4632
  "onClickTab": onClickTab
4621
4633
  }, {
4622
4634
  default: () => [tabs.value.map(renderTab)]
4623
4635
  });
4624
- const renderMenu = () => vue.createVNode(stdin_default$1B, {
4625
- "class": bem$Z("cancel"),
4636
+ const renderMenu = () => vue.createVNode(stdin_default$1C, {
4637
+ "class": bem$_("cancel"),
4626
4638
  "onClick": onCancel
4627
4639
  }, {
4628
4640
  default: () => [vue.createTextVNode("取消")]
@@ -4659,7 +4671,7 @@ var stdin_default$1m = vue.defineComponent({
4659
4671
  updateTabs();
4660
4672
  });
4661
4673
  const renderCascade = () => vue.createVNode("div", {
4662
- "class": bem$Z()
4674
+ "class": bem$_()
4663
4675
  }, [renderHeader(), renderDivider(), renderTabs(), props.popup ? renderDivider() : "", props.popup ? renderMenu() : ""]);
4664
4676
  return () => {
4665
4677
  if (props.popup) {
@@ -4680,8 +4692,8 @@ var stdin_default$1m = vue.defineComponent({
4680
4692
  };
4681
4693
  }
4682
4694
  });
4683
- const Cascader = withInstall(stdin_default$1m);
4684
- const [name$Z, bem$Y] = createNamespace("cell");
4695
+ const Cascader = withInstall(stdin_default$1n);
4696
+ const [name$_, bem$Z] = createNamespace("cell");
4685
4697
  const cellSharedProps = {
4686
4698
  leftIcon: String,
4687
4699
  titleIcon: String,
@@ -4702,23 +4714,26 @@ const cellSharedProps = {
4702
4714
  clickable: {
4703
4715
  type: Boolean,
4704
4716
  default: null
4705
- }
4717
+ },
4718
+ clearable: Boolean,
4719
+ clearIcon: makeStringProp("clear-r")
4706
4720
  };
4707
4721
  const cellProps = extend({}, cellSharedProps, routeProps);
4708
- var stdin_default$1l = vue.defineComponent({
4709
- name: name$Z,
4722
+ var stdin_default$1m = vue.defineComponent({
4723
+ name: name$_,
4710
4724
  props: cellProps,
4711
- emits: ["click"],
4725
+ emits: ["click", "clear"],
4712
4726
  setup(props, {
4713
4727
  slots,
4714
4728
  emit
4715
4729
  }) {
4716
4730
  const route2 = useRoute();
4731
+ const clearIconRef = vue.ref();
4717
4732
  const renderLabel = () => {
4718
4733
  const showLabel = slots.label || isDef(props.label);
4719
4734
  if (showLabel) {
4720
4735
  return vue.createVNode("div", {
4721
- "class": [bem$Y("label"), props.labelClass]
4736
+ "class": [bem$Z("label"), props.labelClass]
4722
4737
  }, [slots.label ? slots.label() : props.label]);
4723
4738
  }
4724
4739
  };
@@ -4729,7 +4744,7 @@ var stdin_default$1l = vue.defineComponent({
4729
4744
  if (props.titleIcon) {
4730
4745
  return vue.createVNode(Icon, {
4731
4746
  "name": props.titleIcon,
4732
- "class": bem$Y("title-icon"),
4747
+ "class": bem$Z("title-icon"),
4733
4748
  "classPrefix": props.iconPrefix
4734
4749
  }, null);
4735
4750
  }
@@ -4739,13 +4754,13 @@ var stdin_default$1l = vue.defineComponent({
4739
4754
  const hasValue = slots.value || slots.default || props.value;
4740
4755
  const isHorizontal = props.direction === "horizontal";
4741
4756
  return vue.createVNode("div", {
4742
- "class": [bem$Y("title", {
4757
+ "class": [bem$Z("title", {
4743
4758
  [props.direction]: true,
4744
4759
  "with-value": isHorizontal && hasValue
4745
4760
  }), props.titleClass],
4746
4761
  "style": props.titleStyle
4747
4762
  }, [slots.title ? slots.title() : [renderTitleIcon(), vue.createVNode("span", {
4748
- "class": bem$Y("title-text")
4763
+ "class": bem$Z("title-text")
4749
4764
  }, [props.title])], renderLabel()]);
4750
4765
  }
4751
4766
  };
@@ -4757,7 +4772,7 @@ var stdin_default$1l = vue.defineComponent({
4757
4772
  const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow-right";
4758
4773
  return vue.createVNode(Icon, {
4759
4774
  "name": name2,
4760
- "class": bem$Y("right-icon"),
4775
+ "class": bem$Z("right-icon"),
4761
4776
  "size": "20"
4762
4777
  }, null);
4763
4778
  }
@@ -4772,20 +4787,41 @@ var stdin_default$1l = vue.defineComponent({
4772
4787
  emit("click");
4773
4788
  }
4774
4789
  };
4790
+ const onClear = (event) => {
4791
+ preventDefault(event, true);
4792
+ emit("clear", event);
4793
+ };
4794
+ function getClearIconListenerEvent() {
4795
+ if ("ontouchstart" in document.documentElement) {
4796
+ return "touchstart";
4797
+ }
4798
+ return "click";
4799
+ }
4800
+ use.useEventListener(getClearIconListenerEvent(), onClear, {
4801
+ target: vue.computed(() => {
4802
+ var _a;
4803
+ return (_a = clearIconRef.value) == null ? void 0 : _a.$el;
4804
+ })
4805
+ });
4775
4806
  const renderValue = () => {
4776
4807
  var _a;
4777
4808
  const slot = slots.value || slots.default;
4778
4809
  const hasValue = slot || isDef(props.value);
4779
4810
  const isHorizontal = props.direction === "horizontal";
4811
+ const showClear = props.clearable && isDef(props.value) && props.value !== "";
4780
4812
  if (hasValue) {
4781
4813
  return vue.createVNode("div", {
4782
- "class": [bem$Y("value", {
4814
+ "class": [bem$Z("value", {
4783
4815
  [props.direction]: true
4784
4816
  }), props.valueClass],
4785
4817
  "onClick": () => onClick(isHorizontal)
4786
4818
  }, [slot ? slot() : vue.createVNode("span", {
4787
- "class": bem$Y("value-text")
4788
- }, [props.value]), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
4819
+ "class": bem$Z("value-text")
4820
+ }, [props.value]), showClear && vue.createVNode(Icon, {
4821
+ "ref": clearIconRef,
4822
+ "name": props.clearIcon,
4823
+ "class": bem$Z("value-clear")
4824
+ }, null), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
4789
4825
  }
4790
4826
  };
4791
4827
  const renderLeftIcon = () => {
@@ -4795,7 +4831,7 @@ var stdin_default$1l = vue.defineComponent({
4795
4831
  if (props.leftIcon) {
4796
4832
  return vue.createVNode(Icon, {
4797
4833
  "name": props.leftIcon,
4798
- "class": bem$Y("left-icon"),
4834
+ "class": bem$Z("left-icon"),
4799
4835
  "classPrefix": props.iconPrefix
4800
4836
  }, null);
4801
4837
  }
@@ -4827,7 +4863,7 @@ var stdin_default$1l = vue.defineComponent({
4827
4863
  classes.borderless = true;
4828
4864
  }
4829
4865
  return vue.createVNode("div", {
4830
- "class": bem$Y(classes),
4866
+ "class": bem$Z(classes),
4831
4867
  "role": clickable ? "button" : void 0,
4832
4868
  "tabindex": clickable ? 0 : void 0,
4833
4869
  "onClick": () => onClick(props.direction === "vertical")
@@ -4835,7 +4871,7 @@ var stdin_default$1l = vue.defineComponent({
4835
4871
  };
4836
4872
  if (hasLeftIcon) {
4837
4873
  return vue.createVNode("div", {
4838
- "class": [bem$Y("with-left", {
4874
+ "class": [bem$Z("with-left", {
4839
4875
  borderless: !border
4840
4876
  })]
4841
4877
  }, [renderLeftIcon(), renderWrapper()]);
@@ -4844,15 +4880,15 @@ var stdin_default$1l = vue.defineComponent({
4844
4880
  };
4845
4881
  }
4846
4882
  });
4847
- const Cell = withInstall(stdin_default$1l);
4848
- const [name$Y, bem$X] = createNamespace("cell-group");
4883
+ const Cell = withInstall(stdin_default$1m);
4884
+ const [name$Z, bem$Y] = createNamespace("cell-group");
4849
4885
  const cellGroupProps = {
4850
4886
  title: String,
4851
4887
  inset: Boolean,
4852
4888
  border: truthProp
4853
4889
  };
4854
- var stdin_default$1k = vue.defineComponent({
4855
- name: name$Y,
4890
+ var stdin_default$1l = vue.defineComponent({
4891
+ name: name$Z,
4856
4892
  inheritAttrs: false,
4857
4893
  props: cellGroupProps,
4858
4894
  setup(props, {
@@ -4862,7 +4898,7 @@ var stdin_default$1k = vue.defineComponent({
4862
4898
  const renderGroup = () => {
4863
4899
  var _a;
4864
4900
  return vue.createVNode("div", vue.mergeProps({
4865
- "class": [bem$X({
4901
+ "class": [bem$Y({
4866
4902
  inset: props.inset
4867
4903
  }), {
4868
4904
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -4870,7 +4906,7 @@ var stdin_default$1k = vue.defineComponent({
4870
4906
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4871
4907
  };
4872
4908
  const renderTitle = () => vue.createVNode("div", {
4873
- "class": bem$X("title", {
4909
+ "class": bem$Y("title", {
4874
4910
  inset: props.inset
4875
4911
  })
4876
4912
  }, [slots.title ? slots.title() : props.title]);
@@ -4882,8 +4918,8 @@ var stdin_default$1k = vue.defineComponent({
4882
4918
  };
4883
4919
  }
4884
4920
  });
4885
- const CellGroup = withInstall(stdin_default$1k);
4886
- const [name$X, bem$W] = createNamespace("checkbox-group");
4921
+ const CellGroup = withInstall(stdin_default$1l);
4922
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
4887
4923
  const checkboxGroupProps = {
4888
4924
  max: numericProp,
4889
4925
  disabled: Boolean,
@@ -4892,9 +4928,9 @@ const checkboxGroupProps = {
4892
4928
  modelValue: makeArrayProp(),
4893
4929
  checkedColor: String
4894
4930
  };
4895
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
4896
- var stdin_default$1j = vue.defineComponent({
4897
- name: name$X,
4931
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
4932
+ var stdin_default$1k = vue.defineComponent({
4933
+ name: name$Y,
4898
4934
  props: checkboxGroupProps,
4899
4935
  emits: ["change", "update:modelValue"],
4900
4936
  setup(props, {
@@ -4940,7 +4976,7 @@ var stdin_default$1j = vue.defineComponent({
4940
4976
  return () => {
4941
4977
  var _a;
4942
4978
  return vue.createVNode("div", {
4943
- "class": bem$W([props.direction])
4979
+ "class": bem$X([props.direction])
4944
4980
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4945
4981
  };
4946
4982
  }
@@ -4955,7 +4991,7 @@ const checkerProps = {
4955
4991
  labelPosition: String,
4956
4992
  labelDisabled: Boolean
4957
4993
  };
4958
- var stdin_default$1i = vue.defineComponent({
4994
+ var stdin_default$1j = vue.defineComponent({
4959
4995
  props: extend({}, checkerProps, {
4960
4996
  bem: makeRequiredProp(Function),
4961
4997
  role: String,
@@ -5056,7 +5092,7 @@ var stdin_default$1i = vue.defineComponent({
5056
5092
  };
5057
5093
  }
5058
5094
  });
5059
- const [name$W, bem$V] = createNamespace("checkbox");
5095
+ const [name$X, bem$W] = createNamespace("checkbox");
5060
5096
  const checkboxProps = extend({}, checkerProps, {
5061
5097
  bindGroup: truthProp,
5062
5098
  indeterminate: {
@@ -5064,8 +5100,8 @@ const checkboxProps = extend({}, checkerProps, {
5064
5100
  default: null
5065
5101
  }
5066
5102
  });
5067
- var stdin_default$1h = vue.defineComponent({
5068
- name: name$W,
5103
+ var stdin_default$1i = vue.defineComponent({
5104
+ name: name$X,
5069
5105
  props: checkboxProps,
5070
5106
  emits: ["change", "update:modelValue"],
5071
5107
  setup(props, {
@@ -5129,8 +5165,8 @@ var stdin_default$1h = vue.defineComponent({
5129
5165
  checked
5130
5166
  });
5131
5167
  use.useCustomFieldValue(() => props.modelValue);
5132
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5133
- "bem": bem$V,
5168
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
5169
+ "bem": bem$W,
5134
5170
  "role": "checkbox",
5135
5171
  "parent": parent,
5136
5172
  "checked": checked.value,
@@ -5138,10 +5174,10 @@ var stdin_default$1h = vue.defineComponent({
5138
5174
  }, props), pick(slots, ["default", "icon"]));
5139
5175
  }
5140
5176
  });
5141
- const Checkbox = withInstall(stdin_default$1h);
5142
- const CheckboxGroup = withInstall(stdin_default$1j);
5143
- const [name$V, bem$U] = createNamespace("row");
5144
- const ROW_KEY = Symbol(name$V);
5177
+ const Checkbox = withInstall(stdin_default$1i);
5178
+ const CheckboxGroup = withInstall(stdin_default$1k);
5179
+ const [name$W, bem$V] = createNamespace("row");
5180
+ const ROW_KEY = Symbol(name$W);
5145
5181
  const rowProps = {
5146
5182
  tag: makeStringProp("div"),
5147
5183
  wrap: truthProp,
@@ -5149,8 +5185,8 @@ const rowProps = {
5149
5185
  gutter: makeNumericProp(0),
5150
5186
  justify: String
5151
5187
  };
5152
- var stdin_default$1g = vue.defineComponent({
5153
- name: name$V,
5188
+ var stdin_default$1h = vue.defineComponent({
5189
+ name: name$W,
5154
5190
  props: rowProps,
5155
5191
  setup(props, {
5156
5192
  slots
@@ -5209,7 +5245,7 @@ var stdin_default$1g = vue.defineComponent({
5209
5245
  justify
5210
5246
  } = props;
5211
5247
  return vue.createVNode(tag, {
5212
- "class": bem$U({
5248
+ "class": bem$V({
5213
5249
  [`align-${align}`]: align,
5214
5250
  [`justify-${justify}`]: justify,
5215
5251
  nowrap: !wrap
@@ -5223,14 +5259,14 @@ var stdin_default$1g = vue.defineComponent({
5223
5259
  };
5224
5260
  }
5225
5261
  });
5226
- const [name$U, bem$T] = createNamespace("col");
5262
+ const [name$V, bem$U] = createNamespace("col");
5227
5263
  const colProps = {
5228
5264
  tag: makeStringProp("div"),
5229
5265
  span: makeNumericProp(0),
5230
5266
  offset: numericProp
5231
5267
  };
5232
- var stdin_default$1f = vue.defineComponent({
5233
- name: name$U,
5268
+ var stdin_default$1g = vue.defineComponent({
5269
+ name: name$V,
5234
5270
  props: colProps,
5235
5271
  setup(props, {
5236
5272
  slots
@@ -5265,7 +5301,7 @@ var stdin_default$1f = vue.defineComponent({
5265
5301
  } = props;
5266
5302
  return vue.createVNode(tag, {
5267
5303
  "style": style.value,
5268
- "class": bem$T({
5304
+ "class": bem$U({
5269
5305
  [span]: span,
5270
5306
  [`offset-${offset}`]: offset
5271
5307
  })
@@ -5278,9 +5314,9 @@ var stdin_default$1f = vue.defineComponent({
5278
5314
  };
5279
5315
  }
5280
5316
  });
5281
- const Col = withInstall(stdin_default$1f);
5282
- const [name$T, bem$S] = createNamespace("collapse");
5283
- const COLLAPSE_KEY = Symbol(name$T);
5317
+ const Col = withInstall(stdin_default$1g);
5318
+ const [name$U, bem$T] = createNamespace("collapse");
5319
+ const COLLAPSE_KEY = Symbol(name$U);
5284
5320
  const collapseProps = {
5285
5321
  border: truthProp,
5286
5322
  accordion: Boolean,
@@ -5300,8 +5336,8 @@ function validateModelValue(modelValue, accordion) {
5300
5336
  }
5301
5337
  return true;
5302
5338
  }
5303
- var stdin_default$1e = vue.defineComponent({
5304
- name: name$T,
5339
+ var stdin_default$1f = vue.defineComponent({
5340
+ name: name$U,
5305
5341
  props: collapseProps,
5306
5342
  emits: ["change", "update:modelValue"],
5307
5343
  setup(props, {
@@ -5371,15 +5407,15 @@ var stdin_default$1e = vue.defineComponent({
5371
5407
  return () => {
5372
5408
  var _a;
5373
5409
  return vue.createVNode("div", {
5374
- "class": [bem$S(), {
5410
+ "class": [bem$T(), {
5375
5411
  [BORDER_TOP_BOTTOM]: props.border
5376
5412
  }]
5377
5413
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5378
5414
  };
5379
5415
  }
5380
5416
  });
5381
- const Collapse = withInstall(stdin_default$1e);
5382
- const [name$S, bem$R] = createNamespace("collapse-item");
5417
+ const Collapse = withInstall(stdin_default$1f);
5418
+ const [name$T, bem$S] = createNamespace("collapse-item");
5383
5419
  const collapseItemProps = extend({}, {
5384
5420
  name: numericProp,
5385
5421
  title: numericProp,
@@ -5389,8 +5425,8 @@ const collapseItemProps = extend({}, {
5389
5425
  titleBackground: String,
5390
5426
  color: String
5391
5427
  });
5392
- var stdin_default$1d = vue.defineComponent({
5393
- name: name$S,
5428
+ var stdin_default$1e = vue.defineComponent({
5429
+ name: name$T,
5394
5430
  props: collapseItemProps,
5395
5431
  setup(props, {
5396
5432
  slots
@@ -5461,23 +5497,23 @@ var stdin_default$1d = vue.defineComponent({
5461
5497
  color
5462
5498
  } = props;
5463
5499
  return vue.createVNode("div", {
5464
- "class": [bem$R("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5500
+ "class": [bem$S("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5465
5501
  "style": titleBackground ? `background:${titleBackground};color:#fff;` : "",
5466
5502
  "onClick": onClickTitle
5467
5503
  }, [vue.createVNode("span", {
5468
- "class": bem$R("bar", {
5504
+ "class": bem$S("bar", {
5469
5505
  custom: titleBackground
5470
5506
  }),
5471
5507
  "style": color ? `background:${color};` : ""
5472
5508
  }, null), vue.createVNode("span", {
5473
5509
  "style": color ? `color:${color};` : "",
5474
- "class": bem$R("text", {
5510
+ "class": bem$S("text", {
5475
5511
  custom: titleBackground
5476
5512
  })
5477
- }, [props.title]), vue.createVNode(stdin_default$1N, {
5513
+ }, [props.title]), vue.createVNode(stdin_default$1O, {
5478
5514
  "name": "keyboard-arrow-down",
5479
5515
  "style": color ? `color:${color};` : "",
5480
- "class": bem$R("icon", {
5516
+ "class": bem$S("icon", {
5481
5517
  expanded: expanded.value,
5482
5518
  custom: titleBackground
5483
5519
  })
@@ -5487,11 +5523,11 @@ var stdin_default$1d = vue.defineComponent({
5487
5523
  var _a;
5488
5524
  return vue.withDirectives(vue.createVNode("div", {
5489
5525
  "ref": wrapperRef,
5490
- "class": bem$R("wrapper"),
5526
+ "class": bem$S("wrapper"),
5491
5527
  "onTransitionend": onTransitionEnd
5492
5528
  }, [vue.createVNode("div", {
5493
5529
  "ref": contentRef,
5494
- "class": bem$R("content")
5530
+ "class": bem$S("content")
5495
5531
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
5496
5532
  });
5497
5533
  useExpose({
@@ -5500,13 +5536,13 @@ var stdin_default$1d = vue.defineComponent({
5500
5536
  itemName: name2
5501
5537
  });
5502
5538
  return () => vue.createVNode("div", {
5503
- "class": [bem$R()]
5539
+ "class": [bem$S()]
5504
5540
  }, [renderTitle(), renderContent()]);
5505
5541
  }
5506
5542
  });
5507
- const CollapseItem = withInstall(stdin_default$1d);
5508
- const ConfigProvider = withInstall(stdin_default$1O);
5509
- const [name$R, bem$Q, t$5] = createNamespace("picker");
5543
+ const CollapseItem = withInstall(stdin_default$1e);
5544
+ const ConfigProvider = withInstall(stdin_default$1P);
5545
+ const [name$S, bem$R, t$5] = createNamespace("picker");
5510
5546
  const getFirstEnabledOption$1 = (options) => options.find((option) => !option.disabled) || options[0];
5511
5547
  function getColumnsType$1(columns, fields) {
5512
5548
  const firstColumn = columns[0];
@@ -5575,10 +5611,10 @@ function assignDefaultFields$1(fields) {
5575
5611
  const DEFAULT_DURATION$2 = 200;
5576
5612
  const MOMENTUM_TIME$2 = 300;
5577
5613
  const MOMENTUM_DISTANCE$2 = 15;
5578
- const [name$Q, bem$P] = createNamespace("picker-column");
5579
- const PICKER_KEY$1 = Symbol(name$Q);
5580
- var stdin_default$1c = vue.defineComponent({
5581
- name: name$Q,
5614
+ const [name$R, bem$Q] = createNamespace("picker-column");
5615
+ const PICKER_KEY$1 = Symbol(name$R);
5616
+ var stdin_default$1d = vue.defineComponent({
5617
+ name: name$R,
5582
5618
  props: {
5583
5619
  value: numericProp,
5584
5620
  unit: makeStringProp(""),
@@ -5712,7 +5748,7 @@ var stdin_default$1c = vue.defineComponent({
5712
5748
  role: "button",
5713
5749
  style: optionStyle,
5714
5750
  tabindex: disabled ? -1 : 0,
5715
- class: [bem$P("item", {
5751
+ class: [bem$Q("item", {
5716
5752
  disabled,
5717
5753
  selected: value === props.value
5718
5754
  }), option.className],
@@ -5732,14 +5768,14 @@ var stdin_default$1c = vue.defineComponent({
5732
5768
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
5733
5769
  };
5734
5770
  return vue.createVNode("div", {
5735
- "class": bem$P("unit")
5771
+ "class": bem$Q("unit")
5736
5772
  }, [vue.createVNode("span", {
5737
5773
  "style": "visibility: hidden",
5738
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5774
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5739
5775
  }, [props.unit]), vue.createVNode("span", vue.mergeProps({
5740
5776
  "style": "visibility: hidden"
5741
5777
  }, childData), null), vue.createVNode("span", {
5742
- "class": [bem$P("unit-text"), "zt-ellipsis"]
5778
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
5743
5779
  }, [props.unit])]);
5744
5780
  }
5745
5781
  };
@@ -5757,7 +5793,7 @@ var stdin_default$1c = vue.defineComponent({
5757
5793
  });
5758
5794
  return () => vue.createVNode("div", {
5759
5795
  "ref": root,
5760
- "class": bem$P(),
5796
+ "class": bem$Q(),
5761
5797
  "onTouchstartPassive": onTouchStart,
5762
5798
  "onTouchend": onTouchEnd,
5763
5799
  "onTouchcancel": onTouchEnd
@@ -5768,12 +5804,12 @@ var stdin_default$1c = vue.defineComponent({
5768
5804
  transitionDuration: `${currentDuration.value}ms`,
5769
5805
  transitionProperty: currentDuration.value ? "all" : "none"
5770
5806
  },
5771
- "class": bem$P("wrapper"),
5807
+ "class": bem$Q("wrapper"),
5772
5808
  "onTransitionend": stopMomentum
5773
5809
  }, [renderOptions()])]);
5774
5810
  }
5775
5811
  });
5776
- const [name$P] = createNamespace("picker-toolbar");
5812
+ const [name$Q] = createNamespace("picker-toolbar");
5777
5813
  const pickerToolbarProps$1 = {
5778
5814
  // title: String,
5779
5815
  cancelButtonText: String,
@@ -5781,8 +5817,8 @@ const pickerToolbarProps$1 = {
5781
5817
  };
5782
5818
  const pickerToolbarSlots$1 = ["cancel", "confirm", "title", "toolbar"];
5783
5819
  const pickerToolbarPropKeys$1 = Object.keys(pickerToolbarProps$1);
5784
- var stdin_default$1b = vue.defineComponent({
5785
- name: name$P,
5820
+ var stdin_default$1c = vue.defineComponent({
5821
+ name: name$Q,
5786
5822
  props: pickerToolbarProps$1,
5787
5823
  emits: ["confirm", "cancel"],
5788
5824
  setup(props, {
@@ -5796,7 +5832,7 @@ var stdin_default$1b = vue.defineComponent({
5796
5832
  return vue.createVNode(Button, {
5797
5833
  "type": "default",
5798
5834
  "hairline": true,
5799
- "class": bem$Q("cancel"),
5835
+ "class": bem$R("cancel"),
5800
5836
  "onClick": onCancel
5801
5837
  }, {
5802
5838
  default: () => [slots.cancel ? slots.cancel() : text]
@@ -5806,14 +5842,14 @@ var stdin_default$1b = vue.defineComponent({
5806
5842
  const text = props.confirmButtonText || t$5("confirm");
5807
5843
  return vue.createVNode(Button, {
5808
5844
  "type": "primary",
5809
- "class": [bem$Q("confirm"), HAPTICS_FEEDBACK],
5845
+ "class": [bem$R("confirm"), HAPTICS_FEEDBACK],
5810
5846
  "onClick": onConfirm
5811
5847
  }, {
5812
5848
  default: () => [slots.confirm ? slots.confirm() : text]
5813
5849
  });
5814
5850
  };
5815
5851
  return () => vue.createVNode("div", {
5816
- "class": bem$Q("toolbar")
5852
+ "class": bem$R("toolbar")
5817
5853
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderConfirm()]]);
5818
5854
  }
5819
5855
  });
@@ -5837,8 +5873,8 @@ const pickerProps = extend({}, pickerSharedProps$1, {
5837
5873
  showPicker: Boolean,
5838
5874
  popup: truthProp
5839
5875
  });
5840
- var stdin_default$1a = vue.defineComponent({
5841
- name: name$R,
5876
+ var stdin_default$1b = vue.defineComponent({
5877
+ name: name$S,
5842
5878
  props: pickerProps,
5843
5879
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
5844
5880
  setup(props, {
@@ -5924,7 +5960,7 @@ var stdin_default$1a = vue.defineComponent({
5924
5960
  };
5925
5961
  const updateShow = (value) => emit("update:showPicker", value);
5926
5962
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
5927
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1c, {
5963
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1d, {
5928
5964
  "value": selectedValues.value[columnIndex],
5929
5965
  "fields": fields.value,
5930
5966
  "options": options,
@@ -5948,10 +5984,10 @@ var stdin_default$1a = vue.defineComponent({
5948
5984
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
5949
5985
  };
5950
5986
  return [vue.createVNode("div", {
5951
- "class": bem$Q("mask"),
5987
+ "class": bem$R("mask"),
5952
5988
  "style": maskStyle
5953
5989
  }, null), vue.createVNode("div", {
5954
- "class": bem$Q("frame"),
5990
+ "class": bem$R("frame"),
5955
5991
  "style": frameStyle
5956
5992
  }, null)];
5957
5993
  }
@@ -5963,13 +5999,13 @@ var stdin_default$1a = vue.defineComponent({
5963
5999
  };
5964
6000
  return vue.createVNode("div", {
5965
6001
  "ref": columnsRef,
5966
- "class": bem$Q("columns"),
6002
+ "class": bem$R("columns"),
5967
6003
  "style": columnsStyle
5968
6004
  }, [renderColumnItems(), renderMask(wrapHeight)]);
5969
6005
  };
5970
6006
  const renderToolbar = () => {
5971
6007
  if (props.showToolbar) {
5972
- return vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6008
+ return vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
5973
6009
  "onConfirm": confirm,
5974
6010
  "onCancel": cancel
5975
6011
  }), pick(slots, pickerToolbarSlots$1));
@@ -5981,7 +6017,7 @@ var stdin_default$1a = vue.defineComponent({
5981
6017
  return slots["title-bar"]();
5982
6018
  }
5983
6019
  return vue.createVNode("div", {
5984
- "class": [bem$Q("title"), HAPTICS_FEEDBACK]
6020
+ "class": [bem$R("title"), HAPTICS_FEEDBACK]
5985
6021
  }, [props.title]);
5986
6022
  }
5987
6023
  };
@@ -6028,14 +6064,14 @@ var stdin_default$1a = vue.defineComponent({
6028
6064
  const renderPicker = () => {
6029
6065
  var _a, _b;
6030
6066
  return vue.createVNode("div", {
6031
- "class": bem$Q()
6067
+ "class": bem$R()
6032
6068
  }, [renderTitleBar(), props.loading ? vue.createVNode(Loading, {
6033
- "class": bem$Q("loading")
6069
+ "class": bem$R("loading")
6034
6070
  }, null) : null, topDivider(), (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), buttomDivider(), renderToolbar()]);
6035
6071
  };
6036
6072
  return () => {
6037
6073
  if (props.popup) {
6038
- return vue.createVNode(stdin_default$1J, {
6074
+ return vue.createVNode(stdin_default$1K, {
6039
6075
  "show": showPicker.value,
6040
6076
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6041
6077
  "round": true,
@@ -6090,9 +6126,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6090
6126
  }
6091
6127
  return value;
6092
6128
  });
6093
- const Picker = withInstall(stdin_default$1a);
6094
- var stdin_default$19 = Picker;
6095
- var stdin_default$18 = vue.defineComponent({
6129
+ const Picker = withInstall(stdin_default$1b);
6130
+ var stdin_default$1a = Picker;
6131
+ var stdin_default$19 = vue.defineComponent({
6096
6132
  name: "Arrow",
6097
6133
  emits: ["click"],
6098
6134
  setup(_, {
@@ -6114,13 +6150,13 @@ var stdin_default$18 = vue.defineComponent({
6114
6150
  }, null)]);
6115
6151
  }
6116
6152
  });
6117
- const [name$O, bem$O] = createNamespace("time-picker-column");
6118
- const TIME_PICKER_KEY = Symbol(name$O);
6153
+ const [name$P, bem$P] = createNamespace("time-picker-column");
6154
+ const TIME_PICKER_KEY = Symbol(name$P);
6119
6155
  const MOMENTUM_TIME$1 = 300;
6120
6156
  const MOMENTUM_DISTANCE$1 = 15;
6121
6157
  const DEFAULT_DURATION$1 = 200;
6122
- var stdin_default$17 = vue.defineComponent({
6123
- name: name$O,
6158
+ var stdin_default$18 = vue.defineComponent({
6159
+ name: name$P,
6124
6160
  props: {
6125
6161
  value: numericProp,
6126
6162
  unit: makeStringProp(""),
@@ -6252,7 +6288,7 @@ var stdin_default$17 = vue.defineComponent({
6252
6288
  role: "button",
6253
6289
  style: optionStyle,
6254
6290
  tabindex: disabled ? -1 : 0,
6255
- class: [bem$O("item", {
6291
+ class: [bem$P("item", {
6256
6292
  disabled,
6257
6293
  selected: value === props.value
6258
6294
  }), option.className],
@@ -6265,7 +6301,7 @@ var stdin_default$17 = vue.defineComponent({
6265
6301
  const renderOption = () => {
6266
6302
  if (props.unit) {
6267
6303
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("div", childData, null), vue.createVNode("span", {
6268
- "class": [bem$O("unit-text"), "zt-ellipsis"],
6304
+ "class": [bem$P("unit-text"), "zt-ellipsis"],
6269
6305
  "style": "visibility: hidden"
6270
6306
  }, [props.unit])]);
6271
6307
  }
@@ -6281,11 +6317,11 @@ var stdin_default$17 = vue.defineComponent({
6281
6317
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
6282
6318
  };
6283
6319
  return vue.createVNode("div", {
6284
- "class": bem$O("unit")
6320
+ "class": bem$P("unit")
6285
6321
  }, [vue.createVNode("span", vue.mergeProps({
6286
6322
  "style": "visibility: hidden"
6287
6323
  }, childData), null), vue.createVNode("span", {
6288
- "class": [bem$O("unit-text"), "zt-ellipsis"]
6324
+ "class": [bem$P("unit-text"), "zt-ellipsis"]
6289
6325
  }, [props.unit])]);
6290
6326
  }
6291
6327
  };
@@ -6294,11 +6330,11 @@ var stdin_default$17 = vue.defineComponent({
6294
6330
  currentDuration.value = DEFAULT_DURATION$1;
6295
6331
  updateValueByIndex(isUp ? index - 1 : index + 1);
6296
6332
  };
6297
- const renderArrow = () => [vue.createVNode(stdin_default$18, {
6298
- "class": bem$O("arrow-top"),
6333
+ const renderArrow = () => [vue.createVNode(stdin_default$19, {
6334
+ "class": bem$P("arrow-top"),
6299
6335
  "onClick": () => onArrowClick(true)
6300
- }, null), vue.createVNode(stdin_default$18, {
6301
- "class": bem$O("arrow-bottom"),
6336
+ }, null), vue.createVNode(stdin_default$19, {
6337
+ "class": bem$P("arrow-bottom"),
6302
6338
  "onClick": () => onArrowClick(false)
6303
6339
  }, null)];
6304
6340
  use.useParent(TIME_PICKER_KEY);
@@ -6319,7 +6355,7 @@ var stdin_default$17 = vue.defineComponent({
6319
6355
  return () => vue.createVNode("div", {
6320
6356
  "ref": root,
6321
6357
  "style": columnStyle,
6322
- "class": bem$O(),
6358
+ "class": bem$P(),
6323
6359
  "onTouchstartPassive": onTouchStart,
6324
6360
  "onTouchend": onTouchEnd,
6325
6361
  "onTouchcancel": onTouchEnd
@@ -6330,12 +6366,12 @@ var stdin_default$17 = vue.defineComponent({
6330
6366
  transitionDuration: `${currentDuration.value}ms`,
6331
6367
  transitionProperty: currentDuration.value ? "all" : "none"
6332
6368
  },
6333
- "class": bem$O("wrapper"),
6369
+ "class": bem$P("wrapper"),
6334
6370
  "onTransitionend": stopMomentum
6335
6371
  }, [renderOptions()]), renderArrow()]);
6336
6372
  }
6337
6373
  });
6338
- const [name$N, bem$N] = createNamespace("time-picker");
6374
+ const [name$O, bem$O] = createNamespace("time-picker");
6339
6375
  const timePickerProps = extend({}, sharedProps, {
6340
6376
  minHour: makeNumericProp(0),
6341
6377
  maxHour: makeNumericProp(23),
@@ -6352,8 +6388,8 @@ const timePickerProps = extend({}, sharedProps, {
6352
6388
  default: () => ["hour", "minute"]
6353
6389
  }
6354
6390
  });
6355
- var stdin_default$16 = vue.defineComponent({
6356
- name: name$N,
6391
+ var stdin_default$17 = vue.defineComponent({
6392
+ name: name$O,
6357
6393
  props: timePickerProps,
6358
6394
  emits: ["clickOption", "change", "update:modelValue"],
6359
6395
  setup(props, {
@@ -6427,7 +6463,7 @@ var stdin_default$16 = vue.defineComponent({
6427
6463
  currentOption
6428
6464
  }, getEventParams()));
6429
6465
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6430
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$17, {
6466
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$18, {
6431
6467
  "value": selectedValues.value[columnIndex],
6432
6468
  "fields": fields.value,
6433
6469
  "options": options,
@@ -6446,9 +6482,9 @@ var stdin_default$16 = vue.defineComponent({
6446
6482
  const separatorCount = currentColumns.value && currentColumns.value.length - 1;
6447
6483
  if (separatorCount > 0) {
6448
6484
  return vue.createVNode("div", {
6449
- "class": bem$N("separator")
6485
+ "class": bem$O("separator")
6450
6486
  }, [Array(separatorCount).fill(null).map(() => vue.createVNode("span", {
6451
- "class": bem$N("colon")
6487
+ "class": bem$O("colon")
6452
6488
  }, null))]);
6453
6489
  }
6454
6490
  };
@@ -6459,7 +6495,7 @@ var stdin_default$16 = vue.defineComponent({
6459
6495
  };
6460
6496
  return vue.createVNode("div", {
6461
6497
  "ref": columnsRef,
6462
- "class": bem$N("columns"),
6498
+ "class": bem$O("columns"),
6463
6499
  "style": columnsStyle
6464
6500
  }, [renderSeparators(), renderColumnItems()]);
6465
6501
  };
@@ -6492,13 +6528,13 @@ var stdin_default$16 = vue.defineComponent({
6492
6528
  target: columnsRef
6493
6529
  });
6494
6530
  return () => vue.createVNode("div", {
6495
- "class": bem$N()
6531
+ "class": bem$O()
6496
6532
  }, [renderColumns()]);
6497
6533
  }
6498
6534
  });
6499
- const TimePicker = withInstall(stdin_default$16);
6500
- var stdin_default$15 = TimePicker;
6501
- const [name$M, bem$M] = createNamespace("date-time-picker-wrapper");
6535
+ const TimePicker = withInstall(stdin_default$17);
6536
+ var stdin_default$16 = TimePicker;
6537
+ const [name$N, bem$N] = createNamespace("date-time-picker-wrapper");
6502
6538
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
6503
6539
  const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6504
6540
  range: Boolean,
@@ -6521,8 +6557,8 @@ const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6521
6557
  startValue: makeArrayProp(),
6522
6558
  endValue: makeArrayProp()
6523
6559
  });
6524
- var stdin_default$14 = vue.defineComponent({
6525
- name: name$M,
6560
+ var stdin_default$15 = vue.defineComponent({
6561
+ name: name$N,
6526
6562
  props: dateTimePickerProps,
6527
6563
  emits: ["change", "update:modelValue"],
6528
6564
  setup(props, {
@@ -6716,7 +6752,7 @@ var stdin_default$14 = vue.defineComponent({
6716
6752
  });
6717
6753
  const hasDateColumn = props.columnsType.includes("year") || props.columnsType.includes("month") || props.columnsType.includes("day");
6718
6754
  const hasTimeColumn = props.columnsType.includes("hour") || props.columnsType.includes("minute") || props.columnsType.includes("second");
6719
- const renderTimePicker = () => vue.createVNode(stdin_default$15, {
6755
+ const renderTimePicker = () => vue.createVNode(stdin_default$16, {
6720
6756
  "modelValue": timeValuesRef.value,
6721
6757
  "onUpdate:modelValue": ($event) => timeValuesRef.value = $event,
6722
6758
  "columnsUnit": timeUnits.value,
@@ -6724,10 +6760,10 @@ var stdin_default$14 = vue.defineComponent({
6724
6760
  "columnsType": timeColumnsType.value
6725
6761
  }, null);
6726
6762
  const renderPicker = () => vue.createVNode("div", {
6727
- "class": bem$M()
6763
+ "class": bem$N()
6728
6764
  }, [hasDateColumn ? vue.createVNode(Divider, {
6729
6765
  "style": "margin: 0"
6730
- }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$19, vue.mergeProps({
6766
+ }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$1a, vue.mergeProps({
6731
6767
  "popup": false,
6732
6768
  "columnsUnit": dateUnits.value,
6733
6769
  "modelValue": dateValuesRef.value,
@@ -6741,9 +6777,9 @@ var stdin_default$14 = vue.defineComponent({
6741
6777
  return () => renderPicker();
6742
6778
  }
6743
6779
  });
6744
- const [name$L, bem$L] = createNamespace("date-time-picker");
6745
- var stdin_default$13 = vue.defineComponent({
6746
- name: name$L,
6780
+ const [name$M, bem$M] = createNamespace("date-time-picker");
6781
+ var stdin_default$14 = vue.defineComponent({
6782
+ name: name$M,
6747
6783
  props: dateTimePickerProps,
6748
6784
  emits: ["confirm", "cancel", "change", "startChange", "endChange", "update:show", "update:modelValue", "update:startValue", "update:endValue"],
6749
6785
  setup(props, {
@@ -6883,17 +6919,17 @@ var stdin_default$13 = vue.defineComponent({
6883
6919
  const renderTitle = () => {
6884
6920
  if (!props.range) {
6885
6921
  return vue.createVNode("div", {
6886
- "class": bem$L("title-bar")
6922
+ "class": bem$M("title-bar")
6887
6923
  }, [vue.createVNode("div", {
6888
- "class": [ELLIPSIS, bem$L("title")]
6924
+ "class": [ELLIPSIS, bem$M("title")]
6889
6925
  }, [props.title]), vue.createVNode("div", {
6890
- "class": [ELLIPSIS, bem$L("value")]
6926
+ "class": [ELLIPSIS, bem$M("value")]
6891
6927
  }, [currentText.value])]);
6892
6928
  }
6893
6929
  return vue.createVNode("div", {
6894
- "class": bem$L("title-tab-bar")
6930
+ "class": bem$M("title-tab-bar")
6895
6931
  }, [vue.createVNode("div", {
6896
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6932
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6897
6933
  selected: rangeSelectedIndex.value === 0,
6898
6934
  unselected: rangeSelectedIndex.value === 1
6899
6935
  })],
@@ -6901,16 +6937,16 @@ var stdin_default$13 = vue.defineComponent({
6901
6937
  rangeSelectedIndex.value = 0;
6902
6938
  }
6903
6939
  }, [vue.createVNode("div", {
6904
- "class": [ELLIPSIS, bem$L("title", {
6940
+ "class": [ELLIPSIS, bem$M("title", {
6905
6941
  selected: rangeSelectedIndex.value === 0,
6906
6942
  unselected: rangeSelectedIndex.value === 1
6907
6943
  })]
6908
6944
  }, [vue.createTextVNode("开始时间")]), vue.createVNode("div", {
6909
- "class": [ELLIPSIS, bem$L("value")]
6945
+ "class": [ELLIPSIS, bem$M("value")]
6910
6946
  }, [currentStartText.value])]), vue.createVNode("span", {
6911
- "class": bem$L("title-separator")
6947
+ "class": bem$M("title-separator")
6912
6948
  }, null), vue.createVNode("div", {
6913
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
6949
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
6914
6950
  selected: rangeSelectedIndex.value === 1,
6915
6951
  unselected: rangeSelectedIndex.value === 0
6916
6952
  })],
@@ -6918,17 +6954,17 @@ var stdin_default$13 = vue.defineComponent({
6918
6954
  rangeSelectedIndex.value = 1;
6919
6955
  }
6920
6956
  }, [vue.createVNode("div", {
6921
- "class": [ELLIPSIS, bem$L("title", {
6957
+ "class": [ELLIPSIS, bem$M("title", {
6922
6958
  selected: rangeSelectedIndex.value === 1,
6923
6959
  unselected: rangeSelectedIndex.value === 0
6924
6960
  })]
6925
6961
  }, [vue.createTextVNode("结束时间")]), vue.createVNode("div", {
6926
- "class": [ELLIPSIS, bem$L("value")]
6962
+ "class": [ELLIPSIS, bem$M("value")]
6927
6963
  }, [currentEndText.value])])]);
6928
6964
  };
6929
6965
  const renderPicker = () => {
6930
6966
  if (!props.range) {
6931
- return vue.createVNode(stdin_default$14, vue.mergeProps({
6967
+ return vue.createVNode(stdin_default$15, vue.mergeProps({
6932
6968
  "ref": currentPickerRef,
6933
6969
  "modelValue": props.modelValue,
6934
6970
  "onUpdate:modelValue": ($event) => props.modelValue = $event,
@@ -6940,7 +6976,7 @@ var stdin_default$13 = vue.defineComponent({
6940
6976
  showTitle: false
6941
6977
  })), null);
6942
6978
  }
6943
- return [vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
6979
+ return [vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
6944
6980
  "ref": currentStartPickerRef,
6945
6981
  "modelValue": props.startValue,
6946
6982
  "onUpdate:modelValue": ($event) => props.startValue = $event,
@@ -6950,7 +6986,7 @@ var stdin_default$13 = vue.defineComponent({
6950
6986
  "minDate": props.minDate
6951
6987
  }, extend(pick(props, pickerInheritKeys), {
6952
6988
  showTitle: false
6953
- })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
6989
+ })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
6954
6990
  "ref": currentEndPickerRef,
6955
6991
  "modelValue": props.endValue,
6956
6992
  "onUpdate:modelValue": ($event) => props.endValue = $event,
@@ -6964,15 +7000,15 @@ var stdin_default$13 = vue.defineComponent({
6964
7000
  };
6965
7001
  const renderToolbar = () => {
6966
7002
  if (props.showToolbar) {
6967
- return [vue.createVNode(stdin_default$1n, {
7003
+ return [vue.createVNode(stdin_default$1o, {
6968
7004
  "style": "margin: 0"
6969
- }, null), vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
7005
+ }, null), vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6970
7006
  "onConfirm": onConfirm,
6971
7007
  "onCancel": onCancel
6972
7008
  }), pick(slots, pickerToolbarSlots$1))];
6973
7009
  }
6974
7010
  };
6975
- return () => vue.createVNode(stdin_default$1K, {
7011
+ return () => vue.createVNode(stdin_default$1L, {
6976
7012
  "round": true,
6977
7013
  "position": "bottom",
6978
7014
  "onOpen": onOpen,
@@ -6983,8 +7019,8 @@ var stdin_default$13 = vue.defineComponent({
6983
7019
  });
6984
7020
  }
6985
7021
  });
6986
- const DateTimePicker = withInstall(stdin_default$13);
6987
- const [name$K, bem$K, t$4] = createNamespace("dialog");
7022
+ const DateTimePicker = withInstall(stdin_default$14);
7023
+ const [name$L, bem$L, t$4] = createNamespace("dialog");
6988
7024
  const dialogProps = extend({}, popupSharedProps, {
6989
7025
  title: String,
6990
7026
  primaryHeader: Boolean,
@@ -7008,8 +7044,8 @@ const dialogProps = extend({}, popupSharedProps, {
7008
7044
  closeOnClickOverlay: Boolean
7009
7045
  });
7010
7046
  const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
7011
- var stdin_default$12 = vue.defineComponent({
7012
- name: name$K,
7047
+ var stdin_default$13 = vue.defineComponent({
7048
+ name: name$L,
7013
7049
  props: dialogProps,
7014
7050
  emits: ["confirm", "cancel", "keydown", "update:show"],
7015
7051
  setup(props, {
@@ -7073,7 +7109,7 @@ var stdin_default$12 = vue.defineComponent({
7073
7109
  // }])}
7074
7110
  // >
7075
7111
  vue.createVNode("div", {
7076
- "class": bem$K("header", {
7112
+ "class": bem$L("header", {
7077
7113
  isolated: !props.message && !slots.default,
7078
7114
  "custom-title": !!slots.title,
7079
7115
  primary: props.primaryHeader
@@ -7096,7 +7132,7 @@ var stdin_default$12 = vue.defineComponent({
7096
7132
  } else if (hasTitle) {
7097
7133
  mods["has-title"] = hasTitle;
7098
7134
  }
7099
- const classNames = bem$K("message", mods);
7135
+ const classNames = bem$L("message", mods);
7100
7136
  const content = isFunction(message) ? message() : message;
7101
7137
  if (allowHtml && typeof content === "string") {
7102
7138
  return vue.createVNode("div", {
@@ -7111,7 +7147,7 @@ var stdin_default$12 = vue.defineComponent({
7111
7147
  const renderContent = () => {
7112
7148
  if (slots.default) {
7113
7149
  return vue.createVNode("div", {
7114
- "class": bem$K("content")
7150
+ "class": bem$L("content")
7115
7151
  }, [slots.default()]);
7116
7152
  }
7117
7153
  const {
@@ -7123,19 +7159,19 @@ var stdin_default$12 = vue.defineComponent({
7123
7159
  const hasTitle = !!(title || slots.title);
7124
7160
  return vue.createVNode("div", {
7125
7161
  "key": allowHtml ? 1 : 0,
7126
- "class": bem$K("content", {
7162
+ "class": bem$L("content", {
7127
7163
  isolated: !hasTitle
7128
7164
  })
7129
7165
  }, [renderMessage(hasTitle)]);
7130
7166
  }
7131
7167
  };
7132
7168
  const renderButtons = () => vue.createVNode("div", {
7133
- "class": bem$K("footer")
7169
+ "class": bem$L("footer")
7134
7170
  }, [props.showCancelButton && vue.createVNode(Button, {
7135
7171
  "type": "default",
7136
7172
  "hairline": true,
7137
7173
  "text": props.cancelButtonText || t$4("cancel"),
7138
- "class": bem$K("cancel"),
7174
+ "class": bem$L("cancel"),
7139
7175
  "style": {
7140
7176
  color: props.cancelButtonColor
7141
7177
  },
@@ -7145,7 +7181,7 @@ var stdin_default$12 = vue.defineComponent({
7145
7181
  }, null), props.showConfirmButton && vue.createVNode(Button, {
7146
7182
  "type": "primary",
7147
7183
  "text": props.confirmButtonText || t$4("confirm"),
7148
- "class": bem$K("confirm", {
7184
+ "class": bem$L("confirm", {
7149
7185
  "with-cancel": props.showCancelButton
7150
7186
  }),
7151
7187
  "style": {
@@ -7172,7 +7208,7 @@ var stdin_default$12 = vue.defineComponent({
7172
7208
  return vue.createVNode(Popup, vue.mergeProps({
7173
7209
  "ref": root,
7174
7210
  "role": "dialog",
7175
- "class": [bem$K([theme]), className],
7211
+ "class": [bem$L([theme]), className],
7176
7212
  "style": {
7177
7213
  width: addUnit(width)
7178
7214
  },
@@ -7222,7 +7258,7 @@ function initInstance$2() {
7222
7258
  state,
7223
7259
  toggle
7224
7260
  } = usePopupState();
7225
- return () => vue.createVNode(stdin_default$12, vue.mergeProps(state, {
7261
+ return () => vue.createVNode(stdin_default$13, vue.mergeProps(state, {
7226
7262
  "onUpdate:show": toggle
7227
7263
  }), null);
7228
7264
  }
@@ -7260,8 +7296,8 @@ const closeDialog = () => {
7260
7296
  instance$2.toggle(false);
7261
7297
  }
7262
7298
  };
7263
- const Dialog = withInstall(stdin_default$12);
7264
- const [name$J, bem$J] = createNamespace("dropdown-menu");
7299
+ const Dialog = withInstall(stdin_default$13);
7300
+ const [name$K, bem$K] = createNamespace("dropdown-menu");
7265
7301
  const dropdownMenuProps = {
7266
7302
  overlay: truthProp,
7267
7303
  zIndex: numericProp,
@@ -7271,9 +7307,9 @@ const dropdownMenuProps = {
7271
7307
  closeOnClickOutside: truthProp,
7272
7308
  closeOnClickOverlay: truthProp
7273
7309
  };
7274
- const DROPDOWN_KEY = Symbol(name$J);
7275
- var stdin_default$11 = vue.defineComponent({
7276
- name: name$J,
7310
+ const DROPDOWN_KEY = Symbol(name$K);
7311
+ var stdin_default$12 = vue.defineComponent({
7312
+ name: name$K,
7277
7313
  props: dropdownMenuProps,
7278
7314
  setup(props, {
7279
7315
  slots
@@ -7340,7 +7376,7 @@ var stdin_default$11 = vue.defineComponent({
7340
7376
  "id": `${id}-${index}`,
7341
7377
  "role": "button",
7342
7378
  "tabindex": disabled ? void 0 : 0,
7343
- "class": [bem$J("item", {
7379
+ "class": [bem$K("item", {
7344
7380
  disabled
7345
7381
  }), {
7346
7382
  [HAPTICS_FEEDBACK]: !disabled
@@ -7351,7 +7387,7 @@ var stdin_default$11 = vue.defineComponent({
7351
7387
  }
7352
7388
  }
7353
7389
  }, [vue.createVNode("span", {
7354
- "class": [bem$J("title", {
7390
+ "class": [bem$K("title", {
7355
7391
  down: showPopup === (props.direction === "down"),
7356
7392
  active: showPopup
7357
7393
  }), titleClass],
@@ -7361,8 +7397,8 @@ var stdin_default$11 = vue.defineComponent({
7361
7397
  }, [vue.createVNode("div", {
7362
7398
  "class": "zt-ellipsis",
7363
7399
  "style": "padding-right: 18px"
7364
- }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1M, {
7365
- "class": bem$J("icon"),
7400
+ }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1N, {
7401
+ "class": bem$K("icon"),
7366
7402
  "name": "spinner-expand"
7367
7403
  }, null)])])]);
7368
7404
  };
@@ -7381,18 +7417,18 @@ var stdin_default$11 = vue.defineComponent({
7381
7417
  var _a;
7382
7418
  return vue.createVNode("div", {
7383
7419
  "ref": root,
7384
- "class": bem$J()
7420
+ "class": bem$K()
7385
7421
  }, [vue.createVNode("div", {
7386
7422
  "ref": barRef,
7387
7423
  "style": barStyle.value,
7388
- "class": bem$J("bar", {
7424
+ "class": bem$K("bar", {
7389
7425
  opened: opened.value
7390
7426
  })
7391
7427
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
7392
7428
  };
7393
7429
  }
7394
7430
  });
7395
- const [name$I, bem$I] = createNamespace("dropdown-item");
7431
+ const [name$J, bem$J] = createNamespace("dropdown-item");
7396
7432
  const dropdownItemProps = {
7397
7433
  title: String,
7398
7434
  options: makeArrayProp(),
@@ -7404,8 +7440,8 @@ const dropdownItemProps = {
7404
7440
  titleClass: unknownProp,
7405
7441
  multiSelect: Boolean
7406
7442
  };
7407
- var stdin_default$10 = vue.defineComponent({
7408
- name: name$I,
7443
+ var stdin_default$11 = vue.defineComponent({
7444
+ name: name$J,
7409
7445
  inheritAttrs: false,
7410
7446
  props: dropdownItemProps,
7411
7447
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue", "reset", "confirm"],
@@ -7540,7 +7576,7 @@ var stdin_default$10 = vue.defineComponent({
7540
7576
  }
7541
7577
  if (active) {
7542
7578
  return vue.createVNode(Icon, {
7543
- "class": bem$I("icon"),
7579
+ "class": bem$J("icon"),
7544
7580
  "color": activeColor,
7545
7581
  "name": "success"
7546
7582
  }, null);
@@ -7553,7 +7589,7 @@ var stdin_default$10 = vue.defineComponent({
7553
7589
  "title-icon": option.icon,
7554
7590
  "title": option.text,
7555
7591
  "direction": "horizontal",
7556
- "class": [bem$I("option", {
7592
+ "class": [bem$J("option", {
7557
7593
  active
7558
7594
  }), HAPTICS_FEEDBACK],
7559
7595
  "style": {
@@ -7572,7 +7608,7 @@ var stdin_default$10 = vue.defineComponent({
7572
7608
  "title-icon": option.icon,
7573
7609
  "title": option.text,
7574
7610
  "direction": "horizontal",
7575
- "class": [bem$I("option", {
7611
+ "class": [bem$J("option", {
7576
7612
  active
7577
7613
  }), HAPTICS_FEEDBACK],
7578
7614
  "style": {
@@ -7621,13 +7657,13 @@ var stdin_default$10 = vue.defineComponent({
7621
7657
  }
7622
7658
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
7623
7659
  "style": style,
7624
- "class": bem$I([direction]),
7660
+ "class": bem$J([direction]),
7625
7661
  "onClick": onClickWrapper
7626
7662
  }, attrs), [vue.createVNode(Popup, {
7627
7663
  "show": state.showPopup,
7628
7664
  "onUpdate:show": ($event) => state.showPopup = $event,
7629
7665
  "role": "menu",
7630
- "class": bem$I("content"),
7666
+ "class": bem$J("content"),
7631
7667
  "style": contentStyle,
7632
7668
  "overlay": overlay,
7633
7669
  "position": direction === "down" ? "top" : "bottom",
@@ -7646,20 +7682,20 @@ var stdin_default$10 = vue.defineComponent({
7646
7682
  default: () => {
7647
7683
  var _a;
7648
7684
  return [vue.withDirectives(vue.createVNode("div", null, [props.options.map(renderOption)]), [[vue.vShow, !props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7649
- "class": bem$I("options"),
7685
+ "class": bem$J("options"),
7650
7686
  "style": optionsStyle
7651
7687
  }, [props.options.map(renderOption)]), [[vue.vShow, props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7652
- "class": bem$I("button"),
7688
+ "class": bem$J("button"),
7653
7689
  "style": buttonStyle
7654
7690
  }, [vue.createVNode(Button, {
7655
7691
  "onClick": onClickReset,
7656
- "class": bem$I("button-reset")
7692
+ "class": bem$J("button-reset")
7657
7693
  }, {
7658
7694
  default: () => [vue.createTextVNode("重置")]
7659
7695
  }), vue.createVNode(Button, {
7660
7696
  "type": "primary",
7661
7697
  "onClick": onClickConfirm,
7662
- "class": bem$I("button-confirm")
7698
+ "class": bem$J("button-confirm")
7663
7699
  }, {
7664
7700
  default: () => [vue.createTextVNode("确定")]
7665
7701
  })]), [[vue.vShow, props.multiSelect]]), (_a = slots.default) == null ? void 0 : _a.call(slots)];
@@ -7683,8 +7719,8 @@ var stdin_default$10 = vue.defineComponent({
7683
7719
  };
7684
7720
  }
7685
7721
  });
7686
- const DropdownItem = withInstall(stdin_default$10);
7687
- const DropdownMenu = withInstall(stdin_default$11);
7722
+ const DropdownItem = withInstall(stdin_default$11);
7723
+ const DropdownMenu = withInstall(stdin_default$12);
7688
7724
  const renderNotFound = (bem2) => vue.createVNode("svg", {
7689
7725
  "xmlns": "http://www.w3.org/2000/svg",
7690
7726
  "viewBox": "0 0 160 160",
@@ -8818,7 +8854,7 @@ const renderNoCollect = (bem2) => vue.createVNode("svg", {
8818
8854
  "fill": "#FFF",
8819
8855
  "xlink:href": "#4roobwtpf__8hxpuw7vce"
8820
8856
  }, null)])])]);
8821
- const [name$H, bem$H] = createNamespace("empty");
8857
+ const [name$I, bem$I] = createNamespace("empty");
8822
8858
  const PRESET_IMAGES = {
8823
8859
  default: renderNotFound,
8824
8860
  error: renderNotFound,
@@ -8838,8 +8874,8 @@ const emptyProps = {
8838
8874
  imageSize: [Number, String, Array],
8839
8875
  description: String
8840
8876
  };
8841
- var stdin_default$$ = vue.defineComponent({
8842
- name: name$H,
8877
+ var stdin_default$10 = vue.defineComponent({
8878
+ name: name$I,
8843
8879
  props: emptyProps,
8844
8880
  setup(props, {
8845
8881
  slots
@@ -8849,7 +8885,7 @@ var stdin_default$$ = vue.defineComponent({
8849
8885
  if (slots.image) {
8850
8886
  return slots.image();
8851
8887
  }
8852
- return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$H)) || vue.createVNode("img", {
8888
+ return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$I)) || vue.createVNode("img", {
8853
8889
  "src": props.image
8854
8890
  }, null);
8855
8891
  };
@@ -8857,26 +8893,26 @@ var stdin_default$$ = vue.defineComponent({
8857
8893
  const description = slots.description ? slots.description() : props.description;
8858
8894
  if (description) {
8859
8895
  return vue.createVNode("p", {
8860
- "class": bem$H("description")
8896
+ "class": bem$I("description")
8861
8897
  }, [description]);
8862
8898
  }
8863
8899
  };
8864
8900
  const renderBottom = () => {
8865
8901
  if (slots.default) {
8866
8902
  return vue.createVNode("div", {
8867
- "class": bem$H("bottom")
8903
+ "class": bem$I("bottom")
8868
8904
  }, [slots.default()]);
8869
8905
  }
8870
8906
  };
8871
8907
  return () => vue.createVNode("div", {
8872
- "class": bem$H()
8908
+ "class": bem$I()
8873
8909
  }, [vue.createVNode("div", {
8874
- "class": bem$H("image"),
8910
+ "class": bem$I("image"),
8875
8911
  "style": getSizeStyle(props.imageSize)
8876
8912
  }, [renderImage()]), renderDescription(), renderBottom()]);
8877
8913
  }
8878
8914
  });
8879
- const Empty = withInstall(stdin_default$$);
8915
+ const Empty = withInstall(stdin_default$10);
8880
8916
  function isEmptyValue(value) {
8881
8917
  if (Array.isArray(value)) {
8882
8918
  return !value.length;
@@ -8965,7 +9001,7 @@ function getStringLength(str) {
8965
9001
  function cutString(str, maxlength) {
8966
9002
  return [...str].slice(0, maxlength).join("");
8967
9003
  }
8968
- const [name$G, bem$G] = createNamespace("field");
9004
+ const [name$H, bem$H] = createNamespace("field");
8969
9005
  const fieldSharedProps = {
8970
9006
  id: String,
8971
9007
  name: String,
@@ -9015,8 +9051,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
9015
9051
  default: null
9016
9052
  }
9017
9053
  });
9018
- var stdin_default$_ = vue.defineComponent({
9019
- name: name$G,
9054
+ var stdin_default$$ = vue.defineComponent({
9055
+ name: name$H,
9020
9056
  props: fieldProps,
9021
9057
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
9022
9058
  setup(props, {
@@ -9248,7 +9284,7 @@ var stdin_default$_ = vue.defineComponent({
9248
9284
  const getInputId = () => props.id || `${id}-input`;
9249
9285
  const getValidationStatus = () => state.status;
9250
9286
  const renderInput = () => {
9251
- const controlClass = bem$G("control", [getProp("inputAlign"), {
9287
+ const controlClass = bem$H("control", [getProp("inputAlign"), {
9252
9288
  error: showError.value,
9253
9289
  custom: !!slots.input,
9254
9290
  "min-height": props.type === "textarea" && !props.autosize
@@ -9286,7 +9322,7 @@ var stdin_default$_ = vue.defineComponent({
9286
9322
  }
9287
9323
  if (props.type === "password") {
9288
9324
  return vue.createVNode("div", {
9289
- "class": bem$G("password")
9325
+ "class": bem$H("password")
9290
9326
  }, [vue.createVNode("input", vue.mergeProps({
9291
9327
  "type": state.showPassword ? "text" : "password"
9292
9328
  }, inputAttrs), null), vue.createVNode(Icon, {
@@ -9300,7 +9336,7 @@ var stdin_default$_ = vue.defineComponent({
9300
9336
  const leftIconSlot = slots["left-icon"];
9301
9337
  if (props.leftIcon || leftIconSlot) {
9302
9338
  return vue.createVNode("div", {
9303
- "class": bem$G("left-icon"),
9339
+ "class": bem$H("left-icon"),
9304
9340
  "onClick": onClickLeftIcon
9305
9341
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
9306
9342
  "name": props.leftIcon,
@@ -9312,7 +9348,7 @@ var stdin_default$_ = vue.defineComponent({
9312
9348
  const titleIconSlot = slots["title-icon"];
9313
9349
  if (props.titleIcon || titleIconSlot) {
9314
9350
  return vue.createVNode("div", {
9315
- "class": bem$G("title-icon")
9351
+ "class": bem$H("title-icon")
9316
9352
  }, [titleIconSlot ? titleIconSlot() : vue.createVNode(Icon, {
9317
9353
  "name": props.titleIcon,
9318
9354
  "classPrefix": props.iconPrefix
@@ -9323,7 +9359,7 @@ var stdin_default$_ = vue.defineComponent({
9323
9359
  const rightIconSlot = slots["right-icon"];
9324
9360
  if (props.rightIcon || rightIconSlot) {
9325
9361
  return vue.createVNode("div", {
9326
- "class": bem$G("right-icon"),
9362
+ "class": bem$H("right-icon"),
9327
9363
  "onClick": onClickRightIcon
9328
9364
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
9329
9365
  "name": props.rightIcon,
@@ -9335,9 +9371,9 @@ var stdin_default$_ = vue.defineComponent({
9335
9371
  if (props.showWordLimit && props.maxlength) {
9336
9372
  const count = getStringLength(getModelValue());
9337
9373
  return vue.createVNode("div", {
9338
- "class": bem$G("word-limit")
9374
+ "class": bem$H("word-limit")
9339
9375
  }, [vue.createVNode("span", {
9340
- "class": bem$G("word-num", count >= +props.maxlength ? "exceed" : "")
9376
+ "class": bem$H("word-num", count >= +props.maxlength ? "exceed" : "")
9341
9377
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
9342
9378
  }
9343
9379
  };
@@ -9346,7 +9382,7 @@ var stdin_default$_ = vue.defineComponent({
9346
9382
  return;
9347
9383
  }
9348
9384
  return vue.createVNode("div", {
9349
- "class": [bem$G("description"), props.descriptionClass]
9385
+ "class": [bem$H("description"), props.descriptionClass]
9350
9386
  }, [props.description]);
9351
9387
  };
9352
9388
  const showMessage = vue.computed(() => !(form && form.props.showErrorMessage === false) && (props.errorMessage || state.validateMessage));
@@ -9359,7 +9395,7 @@ var stdin_default$_ = vue.defineComponent({
9359
9395
  const slot = slots["error-message"];
9360
9396
  const errorMessageAlign = getProp("errorMessageAlign");
9361
9397
  return vue.createVNode("div", {
9362
- "class": bem$G("error-message", errorMessageAlign)
9398
+ "class": bem$H("error-message", errorMessageAlign)
9363
9399
  }, [slot ? slot({
9364
9400
  message
9365
9401
  }) : message]);
@@ -9370,7 +9406,7 @@ var stdin_default$_ = vue.defineComponent({
9370
9406
  return;
9371
9407
  }
9372
9408
  return vue.createVNode("div", {
9373
- "class": bem$G("bottom")
9409
+ "class": bem$H("bottom")
9374
9410
  }, [renderDescription(), renderMessage()]);
9375
9411
  };
9376
9412
  const renderLabel = () => {
@@ -9386,13 +9422,13 @@ var stdin_default$_ = vue.defineComponent({
9386
9422
  }
9387
9423
  };
9388
9424
  const renderFieldBody = () => [vue.createVNode("div", {
9389
- "class": bem$G("body")
9425
+ "class": bem$H("body")
9390
9426
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
9391
9427
  "ref": clearIconRef,
9392
9428
  "name": props.clearIcon,
9393
- "class": bem$G("clear")
9429
+ "class": bem$H("clear")
9394
9430
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
9395
- "class": bem$G("button")
9431
+ "class": bem$H("button")
9396
9432
  }, [slots.button()])]), renderWordLimit()];
9397
9433
  useExpose({
9398
9434
  blur,
@@ -9434,7 +9470,7 @@ var stdin_default$_ = vue.defineComponent({
9434
9470
  "direction": props.direction,
9435
9471
  "title-icon": props.titleIcon,
9436
9472
  "left-icon": props.leftIcon,
9437
- "class": bem$G({
9473
+ "class": bem$H({
9438
9474
  error: showError.value,
9439
9475
  disabled,
9440
9476
  readonly,
@@ -9448,8 +9484,8 @@ var stdin_default$_ = vue.defineComponent({
9448
9484
  "isLink": props.isLink,
9449
9485
  "clickable": props.clickable,
9450
9486
  "titleStyle": labelStyle.value,
9451
- "valueClass": bem$G("value"),
9452
- "titleClass": [bem$G("label", [labelAlign, {
9487
+ "valueClass": bem$H("value"),
9488
+ "titleClass": [bem$H("label", [labelAlign, {
9453
9489
  required: props.required
9454
9490
  }]), props.labelClass],
9455
9491
  "arrowDirection": props.arrowDirection
@@ -9464,7 +9500,179 @@ var stdin_default$_ = vue.defineComponent({
9464
9500
  };
9465
9501
  }
9466
9502
  });
9467
- const Field = withInstall(stdin_default$_);
9503
+ const Field = withInstall(stdin_default$$);
9504
+ const floatingBubbleProps = {
9505
+ gap: makeNumberProp(24),
9506
+ icon: String,
9507
+ axis: makeStringProp("y"),
9508
+ magnetic: String,
9509
+ offset: {
9510
+ type: Object,
9511
+ default: () => ({
9512
+ x: -1,
9513
+ y: -1
9514
+ })
9515
+ },
9516
+ teleport: {
9517
+ type: [String, Object],
9518
+ default: "body"
9519
+ }
9520
+ };
9521
+ const [name$G, bem$G] = createNamespace("floating-bubble");
9522
+ var stdin_default$_ = vue.defineComponent({
9523
+ name: name$G,
9524
+ inheritAttrs: false,
9525
+ props: floatingBubbleProps,
9526
+ emits: ["click", "update:offset", "offsetChange"],
9527
+ setup(props, {
9528
+ slots,
9529
+ emit,
9530
+ attrs
9531
+ }) {
9532
+ const rootRef = vue.ref();
9533
+ const state = vue.ref({
9534
+ x: 0,
9535
+ y: 0,
9536
+ width: 0,
9537
+ height: 0
9538
+ });
9539
+ const boundary = vue.computed(() => ({
9540
+ top: props.gap,
9541
+ right: windowWidth.value - state.value.width - props.gap,
9542
+ bottom: windowHeight.value - state.value.height - props.gap,
9543
+ left: props.gap
9544
+ }));
9545
+ const dragging = vue.ref(false);
9546
+ let initialized = false;
9547
+ const rootStyle = vue.computed(() => {
9548
+ const style = {};
9549
+ const x = addUnit(state.value.x);
9550
+ const y = addUnit(state.value.y);
9551
+ style.transform = `translate3d(${x}, ${y}, 0)`;
9552
+ if (dragging.value || !initialized) {
9553
+ style.transition = "none";
9554
+ }
9555
+ return style;
9556
+ });
9557
+ const updateState = () => {
9558
+ if (!show.value)
9559
+ return;
9560
+ const {
9561
+ width,
9562
+ height
9563
+ } = use.useRect(rootRef.value);
9564
+ const {
9565
+ offset
9566
+ } = props;
9567
+ state.value = {
9568
+ x: offset.x > -1 ? offset.x : windowWidth.value - width - props.gap,
9569
+ y: offset.y > -1 ? offset.y : windowHeight.value - height - props.gap,
9570
+ width,
9571
+ height
9572
+ };
9573
+ };
9574
+ const touch = useTouch();
9575
+ let prevX = 0;
9576
+ let prevY = 0;
9577
+ const onTouchStart = (e) => {
9578
+ touch.start(e);
9579
+ dragging.value = true;
9580
+ prevX = state.value.x;
9581
+ prevY = state.value.y;
9582
+ };
9583
+ const onTouchMove = (e) => {
9584
+ e.preventDefault();
9585
+ touch.move(e);
9586
+ if (props.axis === "lock")
9587
+ return;
9588
+ if (!touch.isTap.value) {
9589
+ if (props.axis === "x" || props.axis === "xy") {
9590
+ let nextX = prevX + touch.deltaX.value;
9591
+ if (nextX < boundary.value.left)
9592
+ nextX = boundary.value.left;
9593
+ if (nextX > boundary.value.right)
9594
+ nextX = boundary.value.right;
9595
+ state.value.x = nextX;
9596
+ }
9597
+ if (props.axis === "y" || props.axis === "xy") {
9598
+ let nextY = prevY + touch.deltaY.value;
9599
+ if (nextY < boundary.value.top)
9600
+ nextY = boundary.value.top;
9601
+ if (nextY > boundary.value.bottom)
9602
+ nextY = boundary.value.bottom;
9603
+ state.value.y = nextY;
9604
+ }
9605
+ const offset = pick(state.value, ["x", "y"]);
9606
+ emit("update:offset", offset);
9607
+ }
9608
+ };
9609
+ use.useEventListener("touchmove", onTouchMove, {
9610
+ target: rootRef
9611
+ });
9612
+ const onTouchEnd = () => {
9613
+ dragging.value = false;
9614
+ vue.nextTick(() => {
9615
+ if (props.magnetic === "x") {
9616
+ const nextX = closest([boundary.value.left, boundary.value.right], state.value.x);
9617
+ state.value.x = nextX;
9618
+ }
9619
+ if (props.magnetic === "y") {
9620
+ const nextY = closest([boundary.value.top, boundary.value.bottom], state.value.y);
9621
+ state.value.y = nextY;
9622
+ }
9623
+ if (!touch.isTap.value) {
9624
+ const offset = pick(state.value, ["x", "y"]);
9625
+ emit("update:offset", offset);
9626
+ if (prevX !== offset.x || prevY !== offset.y) {
9627
+ emit("offsetChange", offset);
9628
+ }
9629
+ }
9630
+ });
9631
+ };
9632
+ const onClick = (e) => {
9633
+ if (touch.isTap.value)
9634
+ emit("click", e);
9635
+ else
9636
+ e.stopPropagation();
9637
+ };
9638
+ vue.onMounted(() => {
9639
+ updateState();
9640
+ vue.nextTick(() => {
9641
+ initialized = true;
9642
+ });
9643
+ });
9644
+ vue.watch([windowWidth, windowHeight, () => props.gap, () => props.offset], updateState);
9645
+ const show = vue.ref(true);
9646
+ vue.onActivated(() => {
9647
+ show.value = true;
9648
+ });
9649
+ vue.onDeactivated(() => {
9650
+ if (props.teleport) {
9651
+ show.value = false;
9652
+ }
9653
+ });
9654
+ return () => {
9655
+ const Content = vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9656
+ "class": bem$G(),
9657
+ "ref": rootRef,
9658
+ "onTouchstartPassive": onTouchStart,
9659
+ "onTouchend": onTouchEnd,
9660
+ "onTouchcancel": onTouchEnd,
9661
+ "onClick": onClick,
9662
+ "style": rootStyle.value
9663
+ }, attrs), [slots.default ? slots.default() : vue.createVNode(stdin_default$1N, {
9664
+ "name": props.icon,
9665
+ "class": bem$G("icon")
9666
+ }, null)]), [[vue.vShow, show.value]]);
9667
+ return props.teleport ? vue.createVNode(vue.Teleport, {
9668
+ "to": props.teleport
9669
+ }, {
9670
+ default: () => [Content]
9671
+ }) : Content;
9672
+ };
9673
+ }
9674
+ });
9675
+ const FloatingBubble = withInstall(stdin_default$_);
9468
9676
  const [name$F, bem$F] = createNamespace("form");
9469
9677
  const formProps = {
9470
9678
  colon: Boolean,
@@ -9852,7 +10060,7 @@ var stdin_default$U = vue.defineComponent({
9852
10060
  }
9853
10061
  }, [props.breadcrumbTitle]), props.data.map((item, index) => vue.createVNode("div", {
9854
10062
  "class": bem$C("item")
9855
- }, [vue.createVNode(stdin_default$1M, {
10063
+ }, [vue.createVNode(stdin_default$1N, {
9856
10064
  "class": bem$C("icon"),
9857
10065
  "name": "arrow-right",
9858
10066
  "color": "#C6CED9"
@@ -9899,6 +10107,7 @@ const hierarchySelectProps = {
9899
10107
  asyncGetter: {
9900
10108
  type: Function
9901
10109
  },
10110
+ // 是否开启自动全选、半选功能
9902
10111
  unanimous: {
9903
10112
  type: Boolean,
9904
10113
  default: true
@@ -10108,7 +10317,7 @@ var stdin_default$T = vue.defineComponent({
10108
10317
  round: true,
10109
10318
  checked: getChecked(item)
10110
10319
  })
10111
- }, [vue.createVNode(stdin_default$1M, {
10320
+ }, [vue.createVNode(stdin_default$1N, {
10112
10321
  "name": "checkbox-select"
10113
10322
  }, null)]);
10114
10323
  }
@@ -10118,14 +10327,14 @@ var stdin_default$T = vue.defineComponent({
10118
10327
  checked: true,
10119
10328
  round: true
10120
10329
  })
10121
- }, [vue.createVNode(stdin_default$1M, {
10330
+ }, [vue.createVNode(stdin_default$1N, {
10122
10331
  "name": "checkbox-select"
10123
10332
  }, null)]) : vue.createVNode("span", {
10124
10333
  "class": bem$B("icon", {
10125
10334
  round: true,
10126
10335
  indeterminate
10127
10336
  })
10128
- }, [vue.createVNode(stdin_default$1M, {
10337
+ }, [vue.createVNode(stdin_default$1N, {
10129
10338
  "name": indeterminate ? "minus" : "check-blank-r",
10130
10339
  "class": bem$B("uncheck-icon")
10131
10340
  }, null)]);
@@ -10365,8 +10574,8 @@ var stdin_default$S = vue.defineComponent({
10365
10574
  } = touch;
10366
10575
  const deltaTime = Date.now() - touchStartTime;
10367
10576
  const TAP_TIME = 250;
10368
- const TAP_OFFSET = 5;
10369
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
10577
+ const TAP_OFFSET2 = 5;
10578
+ if (offsetX.value < TAP_OFFSET2 && offsetY.value < TAP_OFFSET2) {
10370
10579
  if (deltaTime < TAP_TIME) {
10371
10580
  if (doubleTapTimer) {
10372
10581
  clearTimeout(doubleTapTimer);
@@ -10752,7 +10961,7 @@ const indexBarProps = {
10752
10961
  default: genAlphabet
10753
10962
  },
10754
10963
  indexBarMaxHeight: makeNumericProp("70vh"),
10755
- contractionPointText: makeStringProp("·")
10964
+ contractionPointText: makeStringProp("")
10756
10965
  };
10757
10966
  const INDEX_BAR_KEY = Symbol(name$z);
10758
10967
  const MIN_CONTRACTION_NUM = 2;
@@ -10768,9 +10977,9 @@ var stdin_default$Q = vue.defineComponent({
10768
10977
  const sidebar = vue.ref();
10769
10978
  const activeAnchor = useSyncPropRef(() => props.activeAnchor, (value) => emit("update:activeAnchor", value));
10770
10979
  const touchIndex = vue.ref("");
10771
- const indexBarMaxHeight = () => {
10980
+ const indexBarMaxHeight = vue.computed(() => {
10772
10981
  return props.indexBarMaxHeight ? unitToPx(props.indexBarMaxHeight) : unitToPx("100vh");
10773
- };
10982
+ });
10774
10983
  const touch = useTouch();
10775
10984
  const scrollParent = use.useScrollParent(root);
10776
10985
  const {
@@ -10969,9 +11178,9 @@ var stdin_default$Q = vue.defineComponent({
10969
11178
  };
10970
11179
  const adaptorIndexListByHeight = () => {
10971
11180
  const actualIndexListHeight = props.indexList.length * getIndexHeight();
10972
- if (actualIndexListHeight && actualIndexListHeight > indexBarMaxHeight()) {
11181
+ if (actualIndexListHeight && actualIndexListHeight > indexBarMaxHeight.value) {
10973
11182
  const adaptedIndexList = deepClone(props.indexList);
10974
- const renderedNum = Math.floor(indexBarMaxHeight() / getIndexHeight());
11183
+ const renderedNum = Math.floor(indexBarMaxHeight.value / getIndexHeight());
10975
11184
  const renderedPointNum = Math.floor(renderedNum / MIN_CONTRACTION_NUM);
10976
11185
  const renderedIndexNum = renderedNum - renderedPointNum;
10977
11186
  const hiddenIndexNum = adaptedIndexList.length - renderedIndexNum;
@@ -11029,23 +11238,31 @@ var stdin_default$Q = vue.defineComponent({
11029
11238
  }, [vue.createVNode("div", {
11030
11239
  "class": bem$y("touch-text")
11031
11240
  }, [touchActiveText]), vue.createVNode("svg", {
11032
- "class": bem$y("icon"),
11033
11241
  "xmlns": "http://www.w3.org/2000/svg",
11034
- "viewBox": "0 0 20 32"
11035
- }, [vue.createVNode("defs", null, [vue.createVNode("path", {
11036
- "id": "7rkhbmqvk__gc482iacwa",
11037
- "d": "M0 0H20V32H0z"
11038
- }, null)]), vue.createVNode("g", {
11039
11242
  "fill": "none",
11040
- "fill-rule": "evenodd"
11041
- }, [vue.createVNode("path", {
11042
- "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",
11043
- "fill": "#8093AB",
11044
- "mask": "url(#7rkhbmqvk__9ahlxl93tb)"
11243
+ "viewBox": "0 0 20 32",
11244
+ "class": bem$y("icon")
11245
+ }, [vue.createVNode("defs", null, [vue.createVNode("mask", {
11246
+ "id": "ei8r0nsyx__b6fjzymnfa"
11247
+ }, [vue.createVNode("rect", {
11248
+ "width": "20",
11249
+ "height": "32",
11250
+ "rx": "0",
11251
+ "fill": "#FFF"
11252
+ }, null)])]), vue.createVNode("g", {
11253
+ "mask": "url(#ei8r0nsyx__b6fjzymnfa)"
11254
+ }, [vue.createVNode("rect", {
11255
+ "width": "20",
11256
+ "height": "32",
11257
+ "rx": "0"
11258
+ }, null), vue.createVNode("path", {
11259
+ "d": "M-1.0000000000000497,0C7.83656,0,15,7.16344,15,16C15,24.8366,7.83656,32,-1,32L-1.0000000000000497,0Z",
11260
+ "fill-rule": "evenodd",
11261
+ "class": bem$y("icon-fill")
11045
11262
  }, null), vue.createVNode("path", {
11046
- "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",
11047
- "fill": "#8093AB",
11048
- "mask": "url(#7rkhbmqvk__9ahlxl93tb)"
11263
+ "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",
11264
+ "fill-rule": "evenodd",
11265
+ "class": bem$y("icon-fill")
11049
11266
  }, null)])])]), vue.createVNode("div", {
11050
11267
  "data-index": index,
11051
11268
  "data-index-map": contractionPointMapList,
@@ -11452,7 +11669,7 @@ var stdin_default$M = vue.defineComponent({
11452
11669
  }
11453
11670
  }
11454
11671
  };
11455
- return () => vue.createVNode(stdin_default$1J, {
11672
+ return () => vue.createVNode(stdin_default$1K, {
11456
11673
  "class": bem$v(),
11457
11674
  "show": props.show,
11458
11675
  "position": "bottom",
@@ -13395,10 +13612,10 @@ var stdin_default$C = vue.defineComponent({
13395
13612
  message
13396
13613
  } = media;
13397
13614
  if (status === "uploading" || status === "failed") {
13398
- const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1M, {
13615
+ const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1N, {
13399
13616
  "name": "close",
13400
13617
  "class": bem$u("mask-icon")
13401
- }, null) : vue.createVNode(stdin_default$1H, {
13618
+ }, null) : vue.createVNode(stdin_default$1I, {
13402
13619
  "class": bem$u("loading")
13403
13620
  }, null);
13404
13621
  const showMessage = isDef(message) && message !== "";
@@ -13417,7 +13634,7 @@ var stdin_default$C = vue.defineComponent({
13417
13634
  };
13418
13635
  const renderMediaThumbnail = (media) => {
13419
13636
  if (media.showSrc) {
13420
- return vue.createVNode(stdin_default$1D, {
13637
+ return vue.createVNode(stdin_default$1E, {
13421
13638
  "src": media.showSrc,
13422
13639
  "fit": "cover",
13423
13640
  "radius": "4"
@@ -13507,7 +13724,7 @@ var stdin_default$C = vue.defineComponent({
13507
13724
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
13508
13725
  "mediaType": mediaTypeToPlay.value,
13509
13726
  "mediaUrl": mediaUrlToPlay.value
13510
- }, null), vue.createVNode(stdin_default$1F, {
13727
+ }, null), vue.createVNode(stdin_default$1G, {
13511
13728
  "show": actionVisible.value,
13512
13729
  "onUpdate:show": ($event) => actionVisible.value = $event,
13513
13730
  "actions": actionOptions.value,
@@ -13710,7 +13927,7 @@ var stdin_default$A = vue.defineComponent({
13710
13927
  };
13711
13928
  const genCancel = () => {
13712
13929
  const text = props.cancelButtonText || "取消";
13713
- return vue.createVNode(stdin_default$1A, {
13930
+ return vue.createVNode(stdin_default$1B, {
13714
13931
  "size": "normal",
13715
13932
  "block": true,
13716
13933
  "style": {
@@ -13723,7 +13940,7 @@ var stdin_default$A = vue.defineComponent({
13723
13940
  };
13724
13941
  const genConfirm = () => {
13725
13942
  const text = props.confirmButtonText || "确定";
13726
- return vue.createVNode(stdin_default$1A, {
13943
+ return vue.createVNode(stdin_default$1B, {
13727
13944
  "type": "primary",
13728
13945
  "size": "normal",
13729
13946
  "block": true,
@@ -13772,10 +13989,10 @@ var stdin_default$A = vue.defineComponent({
13772
13989
  }, [genOptionItems()]);
13773
13990
  const renderMultiplePicker = () => vue.createVNode("div", {
13774
13991
  "class": bem$s()
13775
- }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1H, {
13992
+ }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1I, {
13776
13993
  "class": bem$s("loading")
13777
13994
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
13778
- return () => vue.createVNode(stdin_default$1J, {
13995
+ return () => vue.createVNode(stdin_default$1K, {
13779
13996
  "show": currentShow.value,
13780
13997
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
13781
13998
  "round": true,
@@ -13942,7 +14159,7 @@ var stdin_default$y = vue.defineComponent({
13942
14159
  return slots["left-icon"]();
13943
14160
  }
13944
14161
  if (props.leftIcon) {
13945
- return vue.createVNode(stdin_default$1M, {
14162
+ return vue.createVNode(stdin_default$1N, {
13946
14163
  "class": bem$q("left-icon"),
13947
14164
  "name": props.leftIcon
13948
14165
  }, null);
@@ -13968,7 +14185,7 @@ var stdin_default$y = vue.defineComponent({
13968
14185
  }
13969
14186
  const name2 = getRightIconName();
13970
14187
  if (name2) {
13971
- return vue.createVNode(stdin_default$1M, {
14188
+ return vue.createVNode(stdin_default$1N, {
13972
14189
  "name": name2,
13973
14190
  "class": bem$q("right-icon"),
13974
14191
  "onClick": onClickRightIcon
@@ -14156,11 +14373,11 @@ const resetNotifyDefaultOptions = () => {
14156
14373
  };
14157
14374
  const Notify = withInstall(stdin_default$x);
14158
14375
  const [name$p, bem$o] = createNamespace("key");
14159
- const CollapseIcon = vue.createVNode(stdin_default$1M, {
14376
+ const CollapseIcon = vue.createVNode(stdin_default$1N, {
14160
14377
  "name": "keyboard-shrink",
14161
14378
  "size": "40"
14162
14379
  }, null);
14163
- const DeleteIcon = vue.createVNode(stdin_default$1M, {
14380
+ const DeleteIcon = vue.createVNode(stdin_default$1N, {
14164
14381
  "name": "backspace",
14165
14382
  "size": "40"
14166
14383
  }, null);
@@ -15046,7 +15263,7 @@ var stdin_default$q = vue.defineComponent({
15046
15263
  emit("update:modelValue", props.name);
15047
15264
  }
15048
15265
  };
15049
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
15266
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
15050
15267
  "bem": bem$i,
15051
15268
  "role": "radio",
15052
15269
  "parent": parent,
@@ -15442,7 +15659,7 @@ var stdin_default$n = vue.defineComponent({
15442
15659
  if (slots.searchEmpty) {
15443
15660
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
15444
15661
  }
15445
- return vue.createVNode(stdin_default$$, {
15662
+ return vue.createVNode(stdin_default$10, {
15446
15663
  "class": bem$f("search-empty"),
15447
15664
  "image": "no-search-result"
15448
15665
  }, {
@@ -15833,7 +16050,7 @@ var stdin_default$l = vue.defineComponent({
15833
16050
  };
15834
16051
  return () => {
15835
16052
  if (props.popup) {
15836
- return vue.createVNode(stdin_default$1J, {
16053
+ return vue.createVNode(stdin_default$1K, {
15837
16054
  "show": showPicker.value,
15838
16055
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
15839
16056
  "round": true,
@@ -16055,7 +16272,7 @@ var stdin_default$k = vue.defineComponent({
16055
16272
  }
16056
16273
  });
16057
16274
  const Rate = withInstall(stdin_default$k);
16058
- const Row = withInstall(stdin_default$1g);
16275
+ const Row = withInstall(stdin_default$1h);
16059
16276
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
16060
16277
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
16061
16278
  const resultStyle = {
@@ -16321,20 +16538,20 @@ var stdin_default$j = vue.defineComponent({
16321
16538
  "height": canvasHeight.value
16322
16539
  }, null), [[vue.vShow, isCanvasSupported.value]])]), vue.createVNode("div", {
16323
16540
  "class": bem$d("actions")
16324
- }, [vue.createVNode(stdin_default$1A, {
16541
+ }, [vue.createVNode(stdin_default$1B, {
16325
16542
  "plain": true,
16326
16543
  "type": "warning",
16327
16544
  "onClick": () => clear(),
16328
16545
  "class": bem$d("button-again")
16329
16546
  }, {
16330
16547
  default: () => [vue.createTextVNode("重签")]
16331
- }), vue.createVNode(stdin_default$1A, {
16548
+ }), vue.createVNode(stdin_default$1B, {
16332
16549
  "type": "default",
16333
16550
  "onClick": cancel,
16334
16551
  "class": bem$d("button-cancel")
16335
16552
  }, {
16336
16553
  default: () => [vue.createTextVNode("取消")]
16337
- }), vue.createVNode(stdin_default$1A, {
16554
+ }), vue.createVNode(stdin_default$1B, {
16338
16555
  "block": true,
16339
16556
  "type": "primary",
16340
16557
  "disabled": isCompleteButtonDisabled.value,
@@ -16841,7 +17058,7 @@ var stdin_default$f = vue.defineComponent({
16841
17058
  }
16842
17059
  ],
16843
17060
  "aria-disabled": minusDisabled.value || void 0
16844
- }, createListeners("minus")), [vue.createVNode(stdin_default$1M, {
17061
+ }, createListeners("minus")), [vue.createVNode(stdin_default$1N, {
16845
17062
  "name": "minus",
16846
17063
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16847
17064
  }, null)]), [[vue.vShow, props.showMinus]]), vue.withDirectives(vue.createVNode("input", {
@@ -16874,7 +17091,7 @@ var stdin_default$f = vue.defineComponent({
16874
17091
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
16875
17092
  ],
16876
17093
  "aria-disabled": plusDisabled.value || void 0
16877
- }, createListeners("plus")), [vue.createVNode(stdin_default$1M, {
17094
+ }, createListeners("plus")), [vue.createVNode(stdin_default$1N, {
16878
17095
  "name": "plus",
16879
17096
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
16880
17097
  }, null)]), [[vue.vShow, props.showPlus]])]);
@@ -17596,7 +17813,7 @@ var stdin_default$8 = vue.defineComponent({
17596
17813
  }, null);
17597
17814
  const LeftIcon = () => {
17598
17815
  if (props.image) {
17599
- return vue.createVNode(stdin_default$1D, {
17816
+ return vue.createVNode(stdin_default$1E, {
17600
17817
  "class": bem$3("image"),
17601
17818
  "src": props.image
17602
17819
  }, null);
@@ -19393,7 +19610,7 @@ const Lazyload = {
19393
19610
  });
19394
19611
  }
19395
19612
  };
19396
- const version = "3.1.10";
19613
+ const version = "3.1.12";
19397
19614
  function install(app) {
19398
19615
  const components = [
19399
19616
  ActionSheet,
@@ -19417,6 +19634,7 @@ function install(app) {
19417
19634
  DropdownMenu,
19418
19635
  Empty,
19419
19636
  Field,
19637
+ FloatingBubble,
19420
19638
  Form,
19421
19639
  Grid,
19422
19640
  GridItem,
@@ -19503,6 +19721,7 @@ exports.DropdownItem = DropdownItem;
19503
19721
  exports.DropdownMenu = DropdownMenu;
19504
19722
  exports.Empty = Empty;
19505
19723
  exports.Field = Field;
19724
+ exports.FloatingBubble = FloatingBubble;
19506
19725
  exports.Form = Form;
19507
19726
  exports.Grid = Grid;
19508
19727
  exports.GridItem = GridItem;
@@ -19570,6 +19789,7 @@ exports.default = stdin_default;
19570
19789
  exports.dialogProps = dialogProps;
19571
19790
  exports.dropdownItemProps = dropdownItemProps;
19572
19791
  exports.dropdownMenuProps = dropdownMenuProps;
19792
+ exports.floatingBubbleProps = floatingBubbleProps;
19573
19793
  exports.gridItemProps = gridItemProps;
19574
19794
  exports.gridProps = gridProps;
19575
19795
  exports.imagePreviewProps = imagePreviewProps;