zartui 3.1.11 → 3.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +23 -23
  2. package/es/composables/use-touch.d.ts +1 -0
  3. package/es/composables/use-touch.mjs +8 -1
  4. package/es/config-provider/types.d.ts +1 -1
  5. package/es/floating-bubble/FloatingBubble.d.ts +81 -0
  6. package/es/floating-bubble/FloatingBubble.mjs +181 -0
  7. package/es/floating-bubble/index.css +1 -0
  8. package/es/floating-bubble/index.d.ts +63 -0
  9. package/es/floating-bubble/index.mjs +10 -0
  10. package/es/floating-bubble/style/index.d.ts +1 -0
  11. package/es/floating-bubble/style/index.mjs +4 -0
  12. package/es/floating-bubble/types.d.ts +20 -0
  13. package/es/floating-bubble/types.mjs +0 -0
  14. package/es/index.d.ts +2 -1
  15. package/es/index.mjs +4 -1
  16. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  17. package/es/utils/closest.d.ts +1 -0
  18. package/es/utils/closest.mjs +8 -0
  19. package/es/utils/constant.d.ts +1 -0
  20. package/es/utils/constant.mjs +3 -1
  21. package/es/utils/index.d.ts +1 -0
  22. package/es/utils/index.mjs +1 -0
  23. package/es/vue-sfc-shim.d.ts +6 -6
  24. package/es/vue-tsx-shim.d.ts +23 -23
  25. package/lib/composables/use-touch.d.ts +1 -0
  26. package/lib/composables/use-touch.js +8 -1
  27. package/lib/config-provider/types.d.ts +1 -1
  28. package/lib/floating-bubble/FloatingBubble.d.ts +81 -0
  29. package/lib/floating-bubble/FloatingBubble.js +210 -0
  30. package/lib/floating-bubble/index.css +1 -0
  31. package/lib/floating-bubble/index.d.ts +63 -0
  32. package/lib/floating-bubble/index.js +39 -0
  33. package/lib/floating-bubble/style/index.d.ts +1 -0
  34. package/lib/floating-bubble/style/index.js +4 -0
  35. package/lib/floating-bubble/types.d.ts +20 -0
  36. package/lib/floating-bubble/types.js +15 -0
  37. package/lib/index.css +1 -1
  38. package/lib/index.d.ts +2 -1
  39. package/lib/index.js +4 -1
  40. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  41. package/lib/utils/closest.d.ts +1 -0
  42. package/lib/utils/closest.js +27 -0
  43. package/lib/utils/constant.d.ts +1 -0
  44. package/lib/utils/constant.js +3 -1
  45. package/lib/utils/index.d.ts +1 -0
  46. package/lib/utils/index.js +1 -0
  47. package/lib/vue-sfc-shim.d.ts +6 -6
  48. package/lib/vue-tsx-shim.d.ts +23 -23
  49. package/lib/web-types.json +1 -1
  50. package/lib/zartui.cjs.js +644 -457
  51. package/lib/zartui.es.js +644 -457
  52. package/lib/zartui.js +644 -457
  53. package/lib/zartui.min.js +1 -1
  54. package/package.json +3 -3
package/lib/zartui.js CHANGED
@@ -520,7 +520,7 @@
520
520
  });
521
521
  return to;
522
522
  }
523
- var stdin_default$1R = {
523
+ var stdin_default$1S = {
524
524
  name: "姓名",
525
525
  tel: "电话",
526
526
  save: "保存",
@@ -567,7 +567,7 @@
567
567
  };
568
568
  const lang = vue.ref("zh-CN");
569
569
  const messages = vue.reactive({
570
- "zh-CN": stdin_default$1R
570
+ "zh-CN": stdin_default$1S
571
571
  });
572
572
  const Locale = {
573
573
  messages() {
@@ -581,11 +581,11 @@
581
581
  deepAssign(messages, newMessages);
582
582
  }
583
583
  };
584
- var stdin_default$1Q = Locale;
584
+ var stdin_default$1R = Locale;
585
585
  function createTranslate(name2) {
586
586
  const prefix = camelize(name2) + ".";
587
587
  return (path, ...args) => {
588
- const messages2 = stdin_default$1Q.messages();
588
+ const messages2 = stdin_default$1R.messages();
589
589
  const message = get(messages2, prefix + path) || get(messages2, path);
590
590
  return isFunction(message) ? message(...args) : message;
591
591
  };
@@ -636,6 +636,7 @@
636
636
  const ELLIPSIS = "zt-ellipsis";
637
637
  const FORM_KEY = Symbol("zt-form");
638
638
  const LONG_PRESS_START_TIME = 500;
639
+ const TAP_OFFSET = 5;
639
640
  function callInterceptor(interceptor, {
640
641
  args = [],
641
642
  done,
@@ -671,7 +672,12 @@
671
672
  };
672
673
  return options;
673
674
  }
674
- const [name$1l, bem$1h] = createNamespace("badge");
675
+ function closest(arr, target) {
676
+ return arr.reduce(
677
+ (pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur
678
+ );
679
+ }
680
+ const [name$1m, bem$1i] = createNamespace("badge");
675
681
  const badgeProps = {
676
682
  dot: Boolean,
677
683
  max: numericProp,
@@ -684,8 +690,8 @@
684
690
  badgeClass: String,
685
691
  position: makeStringProp("top-right")
686
692
  };
687
- var stdin_default$1P = vue.defineComponent({
688
- name: name$1l,
693
+ var stdin_default$1Q = vue.defineComponent({
694
+ name: name$1m,
689
695
  props: badgeProps,
690
696
  setup(props, {
691
697
  slots
@@ -712,11 +718,11 @@
712
718
  }
713
719
  if (isDef(max) && isNumeric(content) && +content > +max) {
714
720
  return vue.createVNode("p", {
715
- "class": [bem$1h("wrapper", "badge-num")]
721
+ "class": [bem$1i("wrapper", "badge-num")]
716
722
  }, [`${max}+`]);
717
723
  }
718
724
  return vue.createVNode("p", {
719
- "class": [bem$1h("wrapper", "badge-num")]
725
+ "class": [bem$1i("wrapper", "badge-num")]
720
726
  }, [content]);
721
727
  }
722
728
  };
@@ -744,7 +750,7 @@
744
750
  const renderBadge = () => {
745
751
  if (hasContent() || props.dot) {
746
752
  return vue.createVNode("div", {
747
- "class": [bem$1h([props.position, {
753
+ "class": [bem$1i([props.position, {
748
754
  dot: props.dot,
749
755
  fixed: !!slots.default
750
756
  }]), props.badgeClass],
@@ -758,7 +764,7 @@
758
764
  tag
759
765
  } = props;
760
766
  return vue.createVNode(tag, {
761
- "class": bem$1h("wrapper")
767
+ "class": bem$1i("wrapper")
762
768
  }, {
763
769
  default: () => [slots.default(), renderBadge()]
764
770
  });
@@ -767,14 +773,14 @@
767
773
  };
768
774
  }
769
775
  });
770
- const Badge = withInstall(stdin_default$1P);
776
+ const Badge = withInstall(stdin_default$1Q);
771
777
  let globalZIndex = 2e3;
772
778
  const useGlobalZIndex = () => ++globalZIndex;
773
779
  const setGlobalZIndex = (val) => {
774
780
  globalZIndex = val;
775
781
  };
776
- const [name$1k, bem$1g] = createNamespace("config-provider");
777
- const CONFIG_PROVIDER_KEY = Symbol(name$1k);
782
+ const [name$1l, bem$1h] = createNamespace("config-provider");
783
+ const CONFIG_PROVIDER_KEY = Symbol(name$1l);
778
784
  const configProviderProps = {
779
785
  tag: makeStringProp("div"),
780
786
  theme: makeStringProp("light"),
@@ -808,8 +814,8 @@
808
814
  }
809
815
  });
810
816
  }
811
- var stdin_default$1O = vue.defineComponent({
812
- name: name$1k,
817
+ var stdin_default$1P = vue.defineComponent({
818
+ name: name$1l,
813
819
  props: configProviderProps,
814
820
  setup(props, {
815
821
  slots
@@ -857,7 +863,7 @@
857
863
  }
858
864
  });
859
865
  return () => vue.createVNode(props.tag, {
860
- "class": bem$1g(),
866
+ "class": bem$1h(),
861
867
  "style": props.themeVarsScope === "local" ? style.value : void 0
862
868
  }, {
863
869
  default: () => {
@@ -867,7 +873,7 @@
867
873
  });
868
874
  }
869
875
  });
870
- const [name$1j, bem$1f] = createNamespace("icon");
876
+ const [name$1k, bem$1g] = createNamespace("icon");
871
877
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
872
878
  const iconProps = {
873
879
  dot: Boolean,
@@ -879,14 +885,14 @@
879
885
  badgeProps: Object,
880
886
  classPrefix: String
881
887
  };
882
- var stdin_default$1N = vue.defineComponent({
883
- name: name$1j,
888
+ var stdin_default$1O = vue.defineComponent({
889
+ name: name$1k,
884
890
  props: iconProps,
885
891
  setup(props, {
886
892
  slots
887
893
  }) {
888
894
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
889
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1f());
895
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1g());
890
896
  return () => {
891
897
  const {
892
898
  tag,
@@ -910,7 +916,7 @@
910
916
  default: () => {
911
917
  var _a;
912
918
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
913
- "class": bem$1f("image"),
919
+ "class": bem$1g("image"),
914
920
  "src": name2
915
921
  }, null)];
916
922
  }
@@ -918,8 +924,8 @@
918
924
  };
919
925
  }
920
926
  });
921
- const Icon = withInstall(stdin_default$1N);
922
- var stdin_default$1M = Icon;
927
+ const Icon = withInstall(stdin_default$1O);
928
+ var stdin_default$1N = Icon;
923
929
  const popupSharedProps = {
924
930
  // whether to show popup
925
931
  show: Boolean,
@@ -972,6 +978,7 @@
972
978
  const offsetX = vue.ref(0);
973
979
  const offsetY = vue.ref(0);
974
980
  const direction = vue.ref("");
981
+ const isTap = vue.ref(true);
975
982
  const isVertical = () => direction.value === "vertical";
976
983
  const isHorizontal = () => direction.value === "horizontal";
977
984
  const reset = () => {
@@ -980,6 +987,7 @@
980
987
  offsetX.value = 0;
981
988
  offsetY.value = 0;
982
989
  direction.value = "";
990
+ isTap.value = true;
983
991
  };
984
992
  const start2 = (event) => {
985
993
  reset();
@@ -996,6 +1004,9 @@
996
1004
  if (!direction.value || offsetX.value < LOCK_DIRECTION_DISTANCE && offsetY.value < LOCK_DIRECTION_DISTANCE) {
997
1005
  direction.value = getDirection(offsetX.value, offsetY.value);
998
1006
  }
1007
+ if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
1008
+ isTap.value = false;
1009
+ }
999
1010
  };
1000
1011
  return {
1001
1012
  move,
@@ -1009,7 +1020,8 @@
1009
1020
  offsetY,
1010
1021
  direction,
1011
1022
  isVertical,
1012
- isHorizontal
1023
+ isHorizontal,
1024
+ isTap
1013
1025
  };
1014
1026
  }
1015
1027
  let totalLockCount = 0;
@@ -1090,7 +1102,7 @@
1090
1102
  const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1091
1103
  return scopeId ? { [scopeId]: "" } : null;
1092
1104
  };
1093
- const [name$1i, bem$1e] = createNamespace("overlay");
1105
+ const [name$1j, bem$1f] = createNamespace("overlay");
1094
1106
  const overlayProps = {
1095
1107
  show: Boolean,
1096
1108
  zIndex: numericProp,
@@ -1100,8 +1112,8 @@
1100
1112
  lazyRender: truthProp,
1101
1113
  customStyle: Object
1102
1114
  };
1103
- var stdin_default$1L = vue.defineComponent({
1104
- name: name$1i,
1115
+ var stdin_default$1M = vue.defineComponent({
1116
+ name: name$1j,
1105
1117
  props: overlayProps,
1106
1118
  setup(props, {
1107
1119
  slots
@@ -1118,7 +1130,7 @@
1118
1130
  }
1119
1131
  return vue.withDirectives(vue.createVNode("div", {
1120
1132
  "style": style,
1121
- "class": [bem$1e(), props.className],
1133
+ "class": [bem$1f(), props.className],
1122
1134
  "onTouchmove": props.lockScroll ? preventTouchMove : noop
1123
1135
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1124
1136
  });
@@ -1130,7 +1142,7 @@
1130
1142
  });
1131
1143
  }
1132
1144
  });
1133
- const Overlay = withInstall(stdin_default$1L);
1145
+ const Overlay = withInstall(stdin_default$1M);
1134
1146
  const popupProps$2 = extend({}, popupSharedProps, {
1135
1147
  round: Boolean,
1136
1148
  position: makeStringProp("center"),
@@ -1148,9 +1160,9 @@
1148
1160
  maxDragHeight: makeStringProp("85vh"),
1149
1161
  slideable: Boolean
1150
1162
  });
1151
- const [name$1h, bem$1d] = createNamespace("popup");
1152
- var stdin_default$1K = vue.defineComponent({
1153
- name: name$1h,
1163
+ const [name$1i, bem$1e] = createNamespace("popup");
1164
+ var stdin_default$1L = vue.defineComponent({
1165
+ name: name$1i,
1154
1166
  inheritAttrs: false,
1155
1167
  props: popupProps$2,
1156
1168
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1266,7 +1278,7 @@
1266
1278
  "role": "button",
1267
1279
  "tabindex": 0,
1268
1280
  "name": props.closeIcon,
1269
- "class": [bem$1d("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1281
+ "class": [bem$1e("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1270
1282
  "classPrefix": props.iconPrefix,
1271
1283
  "onClick": onClickCloseIcon
1272
1284
  }, null);
@@ -1286,7 +1298,7 @@
1286
1298
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1287
1299
  "ref": popupRef,
1288
1300
  "style": style.value,
1289
- "class": [bem$1d({
1301
+ "class": [bem$1e({
1290
1302
  round: round2,
1291
1303
  [position]: position
1292
1304
  }), {
@@ -1299,18 +1311,18 @@
1299
1311
  const sliderRenderPopup = lazyRender(() => {
1300
1312
  var _a, _b;
1301
1313
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
1302
- "class": bem$1d("slider"),
1314
+ "class": bem$1e("slider"),
1303
1315
  "ref": popupRef,
1304
1316
  "style": style.value,
1305
1317
  "onKeydown": onKeydown
1306
1318
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), vue.createVNode("div", {
1307
- "class": bem$1d("slider-title"),
1319
+ "class": bem$1e("slider-title"),
1308
1320
  "style": `height:${touchAreaHeight}px;`,
1309
1321
  "ref": root
1310
1322
  }, [vue.createVNode("div", {
1311
- "class": bem$1d("slider-bar")
1323
+ "class": bem$1e("slider-bar")
1312
1324
  }, null)]), vue.createVNode("div", {
1313
- "class": bem$1d("slider-content"),
1325
+ "class": bem$1e("slider-content"),
1314
1326
  "style": contentStyle.value
1315
1327
  }, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[vue.vShow, props.show]]);
1316
1328
  });
@@ -1404,9 +1416,9 @@
1404
1416
  };
1405
1417
  }
1406
1418
  });
1407
- const Popup = withInstall(stdin_default$1K);
1408
- var stdin_default$1J = Popup;
1409
- const [name$1g, bem$1c] = createNamespace("loading");
1419
+ const Popup = withInstall(stdin_default$1L);
1420
+ var stdin_default$1K = Popup;
1421
+ const [name$1h, bem$1d] = createNamespace("loading");
1410
1422
  const loadingProps = {
1411
1423
  size: numericProp,
1412
1424
  type: makeStringProp("snake"),
@@ -1419,12 +1431,12 @@
1419
1431
  const LoadingIcon = (props) => {
1420
1432
  if (props.type === "spinner") {
1421
1433
  return Array(12).fill(null).map((_, index) => vue.createVNode("i", {
1422
- "class": bem$1c("line", String(index + 1))
1434
+ "class": bem$1d("line", String(index + 1))
1423
1435
  }, null));
1424
1436
  }
1425
1437
  if (props.type === "circular") {
1426
1438
  return vue.createVNode("svg", {
1427
- "class": bem$1c("circular"),
1439
+ "class": bem$1d("circular"),
1428
1440
  "viewBox": "25 25 50 50"
1429
1441
  }, [vue.createVNode("circle", {
1430
1442
  "cx": "50",
@@ -1436,7 +1448,7 @@
1436
1448
  const firstHalfId = svgElementId++;
1437
1449
  const secondHalfId = svgElementId++;
1438
1450
  return vue.createVNode("svg", {
1439
- "class": bem$1c("snake"),
1451
+ "class": bem$1d("snake"),
1440
1452
  "width": "200",
1441
1453
  "height": "200",
1442
1454
  "viewBox": "0 0 200 200",
@@ -1475,8 +1487,8 @@
1475
1487
  "d": "M 9 100 A 91 91 0 0 1 9 100"
1476
1488
  }, null)])]);
1477
1489
  };
1478
- var stdin_default$1I = vue.defineComponent({
1479
- name: name$1g,
1490
+ var stdin_default$1J = vue.defineComponent({
1491
+ name: name$1h,
1480
1492
  props: loadingProps,
1481
1493
  setup(props, {
1482
1494
  slots
@@ -1488,7 +1500,7 @@
1488
1500
  var _a;
1489
1501
  if (slots.default) {
1490
1502
  return vue.createVNode("span", {
1491
- "class": bem$1c("text"),
1503
+ "class": bem$1d("text"),
1492
1504
  "style": {
1493
1505
  fontSize: addUnit(props.textSize),
1494
1506
  color: (_a = props.textColor) != null ? _a : props.color
@@ -1502,21 +1514,21 @@
1502
1514
  vertical
1503
1515
  } = props;
1504
1516
  return vue.createVNode("div", {
1505
- "class": bem$1c([type, {
1517
+ "class": bem$1d([type, {
1506
1518
  vertical
1507
1519
  }]),
1508
1520
  "aria-live": "polite",
1509
1521
  "aria-busy": true
1510
1522
  }, [vue.createVNode("span", {
1511
- "class": bem$1c("spinner", type),
1523
+ "class": bem$1d("spinner", type),
1512
1524
  "style": spinnerStyle.value
1513
1525
  }, [LoadingIcon(props)]), renderText()]);
1514
1526
  };
1515
1527
  }
1516
1528
  });
1517
- const Loading = withInstall(stdin_default$1I);
1518
- var stdin_default$1H = Loading;
1519
- const [name$1f, bem$1b] = createNamespace("action-sheet");
1529
+ const Loading = withInstall(stdin_default$1J);
1530
+ var stdin_default$1I = Loading;
1531
+ const [name$1g, bem$1c] = createNamespace("action-sheet");
1520
1532
  const actionSheetProps = extend({}, popupSharedProps, {
1521
1533
  title: String,
1522
1534
  round: truthProp,
@@ -1530,8 +1542,8 @@
1530
1542
  safeAreaInsetBottom: truthProp
1531
1543
  });
1532
1544
  const popupInheritKeys$1 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1533
- var stdin_default$1G = vue.defineComponent({
1534
- name: name$1f,
1545
+ var stdin_default$1H = vue.defineComponent({
1546
+ name: name$1g,
1535
1547
  props: actionSheetProps,
1536
1548
  emits: ["select", "cancel", "update:show"],
1537
1549
  setup(props, {
@@ -1546,10 +1558,10 @@
1546
1558
  const renderHeader = () => {
1547
1559
  if (props.title) {
1548
1560
  return vue.createVNode("div", {
1549
- "class": bem$1b("header")
1561
+ "class": bem$1c("header")
1550
1562
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1551
1563
  "name": props.closeIcon,
1552
- "class": [bem$1b("close"), HAPTICS_FEEDBACK],
1564
+ "class": [bem$1c("close"), HAPTICS_FEEDBACK],
1553
1565
  "onClick": onCancel
1554
1566
  }, null)]);
1555
1567
  }
@@ -1557,10 +1569,10 @@
1557
1569
  const renderCancel = () => {
1558
1570
  if (slots.cancel || props.cancelText) {
1559
1571
  return [vue.createVNode("div", {
1560
- "class": bem$1b("cancel")
1572
+ "class": bem$1c("cancel")
1561
1573
  }, [vue.createVNode("button", {
1562
1574
  "type": "button",
1563
- "class": bem$1b("cancel-btn"),
1575
+ "class": bem$1c("cancel-btn"),
1564
1576
  "onClick": onCancel
1565
1577
  }, [slots.cancel ? slots.cancel() : props.cancelText])])];
1566
1578
  }
@@ -1568,7 +1580,7 @@
1568
1580
  const renderActionContent = (action, index) => {
1569
1581
  if (action.loading) {
1570
1582
  return vue.createVNode(Loading, {
1571
- "class": bem$1b("loading-icon")
1583
+ "class": bem$1c("loading-icon")
1572
1584
  }, null);
1573
1585
  }
1574
1586
  if (slots.action) {
@@ -1578,9 +1590,9 @@
1578
1590
  });
1579
1591
  }
1580
1592
  return [vue.createVNode("span", {
1581
- "class": bem$1b("name")
1593
+ "class": bem$1c("name")
1582
1594
  }, [action.name]), action.subname && vue.createVNode("div", {
1583
- "class": bem$1b("subname")
1595
+ "class": bem$1c("subname")
1584
1596
  }, [action.subname])];
1585
1597
  };
1586
1598
  const renderAction = (action, index) => {
@@ -1613,7 +1625,7 @@
1613
1625
  "style": {
1614
1626
  color
1615
1627
  },
1616
- "class": [bem$1b("item", {
1628
+ "class": [bem$1c("item", {
1617
1629
  loading,
1618
1630
  disabled,
1619
1631
  "with-sub": action.subname
@@ -1627,29 +1639,29 @@
1627
1639
  if (props.description || slots.description) {
1628
1640
  const content = slots.description ? slots.description() : props.description;
1629
1641
  return vue.createVNode("div", {
1630
- "class": bem$1b("description", {
1642
+ "class": bem$1c("description", {
1631
1643
  custom: !!slots.description
1632
1644
  })
1633
1645
  }, [content]);
1634
1646
  }
1635
1647
  };
1636
1648
  return () => vue.createVNode(Popup, vue.mergeProps({
1637
- "class": bem$1b(),
1649
+ "class": bem$1c(),
1638
1650
  "position": "bottom",
1639
1651
  "onUpdate:show": updateShow
1640
1652
  }, pick(props, popupInheritKeys$1)), {
1641
1653
  default: () => {
1642
1654
  var _a;
1643
1655
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1644
- "class": bem$1b("content")
1656
+ "class": bem$1c("content")
1645
1657
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1646
1658
  }
1647
1659
  });
1648
1660
  }
1649
1661
  });
1650
- const ActionSheet = withInstall(stdin_default$1G);
1651
- var stdin_default$1F = ActionSheet;
1652
- const [name$1e, bem$1a] = createNamespace("image");
1662
+ const ActionSheet = withInstall(stdin_default$1H);
1663
+ var stdin_default$1G = ActionSheet;
1664
+ const [name$1f, bem$1b] = createNamespace("image");
1653
1665
  const imageProps = {
1654
1666
  src: String,
1655
1667
  alt: String,
@@ -1668,8 +1680,8 @@
1668
1680
  showLoading: truthProp,
1669
1681
  loadingIcon: makeStringProp("photo-default")
1670
1682
  };
1671
- var stdin_default$1E = vue.defineComponent({
1672
- name: name$1e,
1683
+ var stdin_default$1F = vue.defineComponent({
1684
+ name: name$1f,
1673
1685
  props: imageProps,
1674
1686
  emits: ["load", "error"],
1675
1687
  setup(props, {
@@ -1720,13 +1732,13 @@
1720
1732
  const renderPlaceholder = () => {
1721
1733
  if (loading.value && props.showLoading) {
1722
1734
  return vue.createVNode("div", {
1723
- "class": bem$1a("loading")
1724
- }, [renderIcon(props.loadingIcon, bem$1a("loading-icon"), slots.loading)]);
1735
+ "class": bem$1b("loading")
1736
+ }, [renderIcon(props.loadingIcon, bem$1b("loading-icon"), slots.loading)]);
1725
1737
  }
1726
1738
  if (error.value && props.showError) {
1727
1739
  return vue.createVNode("div", {
1728
- "class": bem$1a("error")
1729
- }, [renderIcon(props.errorIcon, bem$1a("error-icon"), slots.error)]);
1740
+ "class": bem$1b("error")
1741
+ }, [renderIcon(props.errorIcon, bem$1b("error-icon"), slots.error)]);
1730
1742
  }
1731
1743
  };
1732
1744
  const renderImage = () => {
@@ -1735,7 +1747,7 @@
1735
1747
  }
1736
1748
  const attrs = {
1737
1749
  alt: props.alt,
1738
- class: bem$1a("img"),
1750
+ class: bem$1b("img"),
1739
1751
  style: {
1740
1752
  objectFit: props.fit,
1741
1753
  objectPosition: props.position
@@ -1784,7 +1796,7 @@
1784
1796
  return () => {
1785
1797
  var _a;
1786
1798
  return vue.createVNode("div", {
1787
- "class": bem$1a({
1799
+ "class": bem$1b({
1788
1800
  round: props.round,
1789
1801
  block: props.block
1790
1802
  }),
@@ -1793,9 +1805,9 @@
1793
1805
  };
1794
1806
  }
1795
1807
  });
1796
- const Image$1 = withInstall(stdin_default$1E);
1797
- var stdin_default$1D = Image$1;
1798
- const [name$1d, bem$19] = createNamespace("avatar");
1808
+ const Image$1 = withInstall(stdin_default$1F);
1809
+ var stdin_default$1E = Image$1;
1810
+ const [name$1e, bem$1a] = createNamespace("avatar");
1799
1811
  const avatarProps = {
1800
1812
  src: makeStringProp(""),
1801
1813
  size: makeStringProp("medium"),
@@ -1804,8 +1816,8 @@
1804
1816
  textBgColor: String,
1805
1817
  border: Boolean
1806
1818
  };
1807
- var stdin_default$1C = vue.defineComponent({
1808
- name: name$1d,
1819
+ var stdin_default$1D = vue.defineComponent({
1820
+ name: name$1e,
1809
1821
  props: avatarProps,
1810
1822
  setup(props) {
1811
1823
  const headText = vue.computed(() => {
@@ -1836,7 +1848,7 @@
1836
1848
  }
1837
1849
  });
1838
1850
  const renderText = () => vue.createVNode("div", {
1839
- "class": bem$19("img", [classArr.value, {
1851
+ "class": bem$1a("img", [classArr.value, {
1840
1852
  border: props.border
1841
1853
  }]),
1842
1854
  "style": style.value
@@ -1845,9 +1857,9 @@
1845
1857
  if (!props.src) {
1846
1858
  return renderText();
1847
1859
  }
1848
- return vue.createVNode(stdin_default$1D, {
1860
+ return vue.createVNode(stdin_default$1E, {
1849
1861
  "round": props.shape === "round",
1850
- "class": bem$19("img", [classArr.value, {
1862
+ "class": bem$1a("img", [classArr.value, {
1851
1863
  border: props.border
1852
1864
  }]),
1853
1865
  "style": style.value,
@@ -1858,7 +1870,7 @@
1858
1870
  };
1859
1871
  }
1860
1872
  });
1861
- const Avatar = withInstall(stdin_default$1C);
1873
+ const Avatar = withInstall(stdin_default$1D);
1862
1874
  const routeProps = {
1863
1875
  to: [String, Object],
1864
1876
  url: String,
@@ -1880,7 +1892,7 @@
1880
1892
  const vm = vue.getCurrentInstance().proxy;
1881
1893
  return () => route(vm);
1882
1894
  }
1883
- const [name$1c, bem$18] = createNamespace("button");
1895
+ const [name$1d, bem$19] = createNamespace("button");
1884
1896
  const buttonProps = extend({}, routeProps, {
1885
1897
  tag: makeStringProp("button"),
1886
1898
  text: String,
@@ -1907,8 +1919,8 @@
1907
1919
  loadingType: String,
1908
1920
  iconPosition: makeStringProp("left")
1909
1921
  });
1910
- var stdin_default$1B = vue.defineComponent({
1911
- name: name$1c,
1922
+ var stdin_default$1C = vue.defineComponent({
1923
+ name: name$1d,
1912
1924
  props: buttonProps,
1913
1925
  emits: ["click"],
1914
1926
  setup(props, {
@@ -1923,7 +1935,7 @@
1923
1935
  return vue.createVNode(Loading, {
1924
1936
  "size": props.loadingSize,
1925
1937
  "type": props.loadingType,
1926
- "class": bem$18("loading")
1938
+ "class": bem$19("loading")
1927
1939
  }, null);
1928
1940
  };
1929
1941
  const renderIcon = () => {
@@ -1935,14 +1947,14 @@
1935
1947
  } = props;
1936
1948
  if (slots.icon) {
1937
1949
  return vue.createVNode("div", {
1938
- "class": bem$18("icon", size)
1950
+ "class": bem$19("icon", size)
1939
1951
  }, [slots.icon()]);
1940
1952
  }
1941
1953
  if (props.icon) {
1942
1954
  return vue.createVNode(Icon, {
1943
1955
  "name": props.icon,
1944
1956
  "color": props.iconColor,
1945
- "class": bem$18("icon", size),
1957
+ "class": bem$19("icon", size),
1946
1958
  "classPrefix": props.iconPrefix
1947
1959
  }, null);
1948
1960
  }
@@ -1956,7 +1968,7 @@
1956
1968
  }
1957
1969
  if (text) {
1958
1970
  return vue.createVNode("span", {
1959
- "class": bem$18("text")
1971
+ "class": bem$19("text")
1960
1972
  }, [text]);
1961
1973
  }
1962
1974
  };
@@ -2013,7 +2025,7 @@
2013
2025
  nativeType,
2014
2026
  iconPosition
2015
2027
  } = props;
2016
- const classes = [bem$18([type, size, {
2028
+ const classes = [bem$19([type, size, {
2017
2029
  plain,
2018
2030
  block,
2019
2031
  "block-inner": blockInner ? "block-inner" : "",
@@ -2033,16 +2045,16 @@
2033
2045
  "onClick": onClick
2034
2046
  }, {
2035
2047
  default: () => [vue.createVNode("div", {
2036
- "class": bem$18("content")
2048
+ "class": bem$19("content")
2037
2049
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
2038
2050
  });
2039
2051
  };
2040
2052
  }
2041
2053
  });
2042
- const Button = withInstall(stdin_default$1B);
2043
- var stdin_default$1A = Button;
2054
+ const Button = withInstall(stdin_default$1C);
2055
+ var stdin_default$1B = Button;
2044
2056
  const monthsOfYear = 12;
2045
- const [name$1b, bem$17, t$8] = createNamespace("calendar");
2057
+ const [name$1c, bem$18, t$8] = createNamespace("calendar");
2046
2058
  const formatMonthTitle = (date) => t$8("ztCalendar.monthTitle", date.getFullYear(), date.getMonth() + 1);
2047
2059
  function compareMonth(date1, date2) {
2048
2060
  const year1 = date1.getFullYear();
@@ -2128,7 +2140,7 @@
2128
2140
  }
2129
2141
  }
2130
2142
  }
2131
- const [name$1a, bem$16] = createNamespace("toast");
2143
+ const [name$1b, bem$17] = createNamespace("toast");
2132
2144
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
2133
2145
  const toastProps = {
2134
2146
  icon: String,
@@ -2151,8 +2163,8 @@
2151
2163
  closeOnClick: Boolean,
2152
2164
  closeOnClickOverlay: Boolean
2153
2165
  };
2154
- var stdin_default$1z = vue.defineComponent({
2155
- name: name$1a,
2166
+ var stdin_default$1A = vue.defineComponent({
2167
+ name: name$1b,
2156
2168
  props: toastProps,
2157
2169
  emits: ["update:show"],
2158
2170
  setup(props, {
@@ -2187,13 +2199,13 @@
2187
2199
  return vue.createVNode(Icon, {
2188
2200
  "name": icon || type,
2189
2201
  "size": iconSize,
2190
- "class": bem$16("icon"),
2202
+ "class": bem$17("icon"),
2191
2203
  "classPrefix": iconPrefix
2192
2204
  }, null);
2193
2205
  }
2194
2206
  if (type === "loading") {
2195
2207
  return vue.createVNode(Loading, {
2196
- "class": bem$16("loading"),
2208
+ "class": bem$17("loading"),
2197
2209
  "size": iconSize,
2198
2210
  "type": loadingType
2199
2211
  }, null);
@@ -2207,10 +2219,10 @@
2207
2219
  if (isDef(message) && message !== "") {
2208
2220
  return type === "html" ? vue.createVNode("div", {
2209
2221
  "key": 0,
2210
- "class": bem$16("text"),
2222
+ "class": bem$17("text"),
2211
2223
  "innerHTML": String(message)
2212
2224
  }, null) : vue.createVNode("div", {
2213
- "class": bem$16("text")
2225
+ "class": bem$17("text")
2214
2226
  }, [message]);
2215
2227
  }
2216
2228
  };
@@ -2226,7 +2238,7 @@
2226
2238
  vue.onMounted(toggleClickable);
2227
2239
  vue.onUnmounted(toggleClickable);
2228
2240
  return () => vue.createVNode(Popup, vue.mergeProps({
2229
- "class": [bem$16([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
2241
+ "class": [bem$17([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
2230
2242
  [props.type]: !props.icon
2231
2243
  }]), props.className],
2232
2244
  "lockScroll": false,
@@ -2327,7 +2339,7 @@
2327
2339
  onClosed,
2328
2340
  "onUpdate:show": toggle
2329
2341
  };
2330
- return vue.createVNode(stdin_default$1z, vue.mergeProps(state, attrs), null);
2342
+ return vue.createVNode(stdin_default$1A, vue.mergeProps(state, attrs), null);
2331
2343
  };
2332
2344
  vue.watch(message, (val) => {
2333
2345
  state.message = val;
@@ -2397,7 +2409,7 @@
2397
2409
  const allowMultipleToast = (value = true) => {
2398
2410
  allowMultiple = value;
2399
2411
  };
2400
- const Toast = withInstall(stdin_default$1z);
2412
+ const Toast = withInstall(stdin_default$1A);
2401
2413
  const useHeight = (element, withSafeArea) => {
2402
2414
  const height2 = vue.ref();
2403
2415
  const setHeight = () => {
@@ -2413,9 +2425,9 @@
2413
2425
  });
2414
2426
  return height2;
2415
2427
  };
2416
- const [name$19] = createNamespace("calendar-day");
2417
- var stdin_default$1y = vue.defineComponent({
2418
- name: name$19,
2428
+ const [name$1a] = createNamespace("calendar-day");
2429
+ var stdin_default$1z = vue.defineComponent({
2430
+ name: name$1a,
2419
2431
  props: {
2420
2432
  item: makeRequiredProp(Object),
2421
2433
  color: String,
@@ -2489,7 +2501,7 @@
2489
2501
  const Nodes = [text];
2490
2502
  if (type === "selected") {
2491
2503
  return vue.createVNode("div", {
2492
- "class": bem$17("selected-day"),
2504
+ "class": bem$18("selected-day"),
2493
2505
  "style": {
2494
2506
  width: rowHeight,
2495
2507
  height: rowHeight,
@@ -2507,21 +2519,21 @@
2507
2519
  } = props.item;
2508
2520
  if (type === "placeholder") {
2509
2521
  return vue.createVNode("div", {
2510
- "class": bem$17("day"),
2522
+ "class": bem$18("day"),
2511
2523
  "style": style.value
2512
2524
  }, null);
2513
2525
  }
2514
2526
  return vue.createVNode("div", {
2515
2527
  "role": "gridcell",
2516
2528
  "style": style.value,
2517
- "class": [bem$17("day", type), className],
2529
+ "class": [bem$18("day", type), className],
2518
2530
  "tabindex": type === "disabled" ? void 0 : -1,
2519
2531
  "onClick": onClick
2520
2532
  }, [renderContent()]);
2521
2533
  };
2522
2534
  }
2523
2535
  });
2524
- const [name$18] = createNamespace("calendar-month");
2536
+ const [name$19] = createNamespace("calendar-month");
2525
2537
  const calendarMonthProps = {
2526
2538
  date: makeRequiredProp(Date),
2527
2539
  showType: makeStringProp("inline"),
@@ -2540,8 +2552,8 @@
2540
2552
  firstDayOfWeek: Number,
2541
2553
  disabledDate: Function
2542
2554
  };
2543
- var stdin_default$1x = vue.defineComponent({
2544
- name: name$18,
2555
+ var stdin_default$1y = vue.defineComponent({
2556
+ name: name$19,
2545
2557
  props: calendarMonthProps,
2546
2558
  emits: ["click"],
2547
2559
  setup(props, {
@@ -2652,7 +2664,7 @@
2652
2664
  const renderTitle = () => {
2653
2665
  if (props.showMonthTitle) {
2654
2666
  return vue.createVNode("div", {
2655
- "class": bem$17("month-title")
2667
+ "class": bem$18("month-title")
2656
2668
  }, [title.value]);
2657
2669
  }
2658
2670
  };
@@ -2725,7 +2737,7 @@
2725
2737
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
2726
2738
  }
2727
2739
  };
2728
- const renderDay = (item, index) => vue.createVNode(stdin_default$1y, {
2740
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1z, {
2729
2741
  "item": item,
2730
2742
  "index": index,
2731
2743
  "color": props.color,
@@ -2736,7 +2748,7 @@
2736
2748
  const renderDays = () => vue.createVNode("div", {
2737
2749
  "ref": daysRef,
2738
2750
  "role": "grid",
2739
- "class": bem$17("days")
2751
+ "class": bem$18("days")
2740
2752
  }, [(shouldRender.value ? days : placeholders).value.map(renderDay)]);
2741
2753
  useExpose({
2742
2754
  getTitle,
@@ -2747,14 +2759,14 @@
2747
2759
  disabledDays
2748
2760
  });
2749
2761
  return () => vue.createVNode("div", {
2750
- "class": bem$17("month"),
2762
+ "class": bem$18("month"),
2751
2763
  "ref": monthRef
2752
2764
  }, [renderTitle(), renderDays()]);
2753
2765
  }
2754
2766
  });
2755
- const [name$17] = createNamespace("calendar-header");
2756
- var stdin_default$1w = vue.defineComponent({
2757
- name: name$17,
2767
+ const [name$18] = createNamespace("calendar-header");
2768
+ var stdin_default$1x = vue.defineComponent({
2769
+ name: name$18,
2758
2770
  props: {
2759
2771
  title: String,
2760
2772
  subtitle: String,
@@ -2777,7 +2789,7 @@
2777
2789
  const text = props.title || "请选择日期";
2778
2790
  const title = slots.title ? slots.title() : text;
2779
2791
  return vue.createVNode("div", {
2780
- "class": bem$17("header-title")
2792
+ "class": bem$18("header-title")
2781
2793
  }, [title]);
2782
2794
  }
2783
2795
  };
@@ -2807,7 +2819,7 @@
2807
2819
  "fill-rule": "evenodd"
2808
2820
  }, [vue.createVNode("g", {
2809
2821
  "transform": "translate(-32.000000, -320.000000)",
2810
- "class": bem$17("svg-defs-path-fill"),
2822
+ "class": bem$18("svg-defs-path-fill"),
2811
2823
  "fill-rule": "nonzero"
2812
2824
  }, [vue.createVNode("g", {
2813
2825
  "transform": "translate(0.000000, 70.000000)"
@@ -2845,7 +2857,7 @@
2845
2857
  "fill-rule": "evenodd"
2846
2858
  }, [vue.createVNode("g", {
2847
2859
  "transform": "translate(-80.000000, -320.000000)",
2848
- "class": bem$17("svg-defs-path-fill"),
2860
+ "class": bem$18("svg-defs-path-fill"),
2849
2861
  "fill-rule": "nonzero"
2850
2862
  }, [vue.createVNode("g", {
2851
2863
  "transform": "translate(0.000000, 70.000000)"
@@ -2870,21 +2882,21 @@
2870
2882
  if (props.showSubtitle) {
2871
2883
  const title = slots.subtitle ? slots.subtitle() : props.subtitle;
2872
2884
  return vue.createVNode("div", {
2873
- "class": bem$17("header-subtitle")
2885
+ "class": bem$18("header-subtitle")
2874
2886
  }, [vue.createVNode("div", {
2875
- "class": bem$17("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2887
+ "class": bem$18("header-subtitle", ["opt", props.yearPreEnable ? "enable" : "unenable"]),
2876
2888
  "onClick": onClickPreIcon(false, true)
2877
2889
  }, [fastForwardImg()]), vue.createVNode("div", {
2878
- "class": bem$17("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2890
+ "class": bem$18("header-subtitle", ["opt", props.monthPreEnable ? "enable" : "unenable"]),
2879
2891
  "onClick": onClickPreIcon(true, false)
2880
2892
  }, [slowForward()]), vue.createVNode("label", {
2881
- "class": bem$17("header-subtitle-text"),
2893
+ "class": bem$18("header-subtitle-text"),
2882
2894
  "onClick": onClickSubtitle
2883
2895
  }, [title]), vue.createVNode("div", {
2884
- "class": bem$17("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2896
+ "class": bem$18("header-subtitle", ["opt", "right", [props.monthNextEnable ? "enable" : "unenable"]]),
2885
2897
  "onClick": onClickNextIcon(true, false)
2886
2898
  }, [slowForward()]), vue.createVNode("div", {
2887
- "class": bem$17("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2899
+ "class": bem$18("header-subtitle", ["opt", "right", [props.yearNextEnable ? "enable" : "unenable"]]),
2888
2900
  "onClick": onClickNextIcon(false, true)
2889
2901
  }, [fastForwardImg()])]);
2890
2902
  }
@@ -2899,13 +2911,13 @@
2899
2911
  const weekdays = ["一", "二", "三", "四", "五", "六", "日"];
2900
2912
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek - 1), ...weekdays.slice(0, firstDayOfWeek - 1)];
2901
2913
  return vue.createVNode("div", {
2902
- "class": bem$17("weekdays")
2914
+ "class": bem$18("weekdays")
2903
2915
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
2904
- "class": bem$17("weekday")
2916
+ "class": bem$18("weekday")
2905
2917
  }, [text]))]);
2906
2918
  };
2907
2919
  return () => vue.createVNode("div", {
2908
- "class": bem$17("header")
2920
+ "class": bem$18("header")
2909
2921
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
2910
2922
  }
2911
2923
  });
@@ -2948,8 +2960,8 @@
2948
2960
  },
2949
2961
  disabledDate: Function
2950
2962
  };
2951
- var stdin_default$1v = vue.defineComponent({
2952
- name: name$1b,
2963
+ var stdin_default$1w = vue.defineComponent({
2964
+ name: name$1c,
2953
2965
  props: calendarProps,
2954
2966
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
2955
2967
  setup(props, {
@@ -3301,7 +3313,7 @@
3301
3313
  const updateShow = (value) => emit("update:show", value);
3302
3314
  const renderMonth = (date, index) => {
3303
3315
  const showMonthTitle = index !== 0 || !props.showSubtitle;
3304
- return vue.createVNode(stdin_default$1x, vue.mergeProps({
3316
+ return vue.createVNode(stdin_default$1y, vue.mergeProps({
3305
3317
  "ref": setMonthRefs(index),
3306
3318
  "date": date,
3307
3319
  "currentDate": currentDate.value,
@@ -3345,13 +3357,13 @@
3345
3357
  }
3346
3358
  };
3347
3359
  const renderFooter = () => vue.createVNode("div", {
3348
- "class": [bem$17("footer"), {
3360
+ "class": [bem$18("footer"), {
3349
3361
  "zt-safe-area-bottom": props.safeAreaInsetBottom
3350
3362
  }]
3351
3363
  }, [renderFooterButton()]);
3352
3364
  const renderCalendar = () => vue.createVNode("div", {
3353
- "class": bem$17()
3354
- }, [vue.createVNode(stdin_default$1w, {
3365
+ "class": bem$18()
3366
+ }, [vue.createVNode(stdin_default$1x, {
3355
3367
  "title": props.title,
3356
3368
  "subtitle": subtitle.value,
3357
3369
  "showTitle": props.showTitle,
@@ -3367,7 +3379,7 @@
3367
3379
  "monthNextEnable": monthNextEnable.value
3368
3380
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
3369
3381
  "ref": bodyRef,
3370
- "class": bem$17("body"),
3382
+ "class": bem$18("body"),
3371
3383
  "onScroll": onScroll
3372
3384
  }, [months.value.map(renderMonth)]), props.popup ? renderFooter() : ""]);
3373
3385
  vue.watch(() => props.show, init);
@@ -3391,7 +3403,7 @@
3391
3403
  if (props.popup) {
3392
3404
  return vue.createVNode(Popup, {
3393
3405
  "show": props.show,
3394
- "class": bem$17("popup"),
3406
+ "class": bem$18("popup"),
3395
3407
  "round": props.round,
3396
3408
  "position": props.position,
3397
3409
  "teleport": props.teleport,
@@ -3407,7 +3419,7 @@
3407
3419
  };
3408
3420
  }
3409
3421
  });
3410
- const Calendar = withInstall(stdin_default$1v);
3422
+ const Calendar = withInstall(stdin_default$1w);
3411
3423
  function scrollLeftTo(scroller, to, duration) {
3412
3424
  let count = 0;
3413
3425
  const from = scroller.scrollLeft;
@@ -3469,7 +3481,7 @@
3469
3481
  vue.onBeforeUnmount(unobserve);
3470
3482
  onMountedOrActivated(observe);
3471
3483
  }
3472
- const [name$16, bem$15] = createNamespace("sticky");
3484
+ const [name$17, bem$16] = createNamespace("sticky");
3473
3485
  const stickyProps = {
3474
3486
  zIndex: numericProp,
3475
3487
  position: makeStringProp("top"),
@@ -3477,8 +3489,8 @@
3477
3489
  offsetTop: makeNumericProp(0),
3478
3490
  offsetBottom: makeNumericProp(0)
3479
3491
  };
3480
- var stdin_default$1u = vue.defineComponent({
3481
- name: name$16,
3492
+ var stdin_default$1v = vue.defineComponent({
3493
+ name: name$17,
3482
3494
  props: stickyProps,
3483
3495
  emits: ["scroll", "change"],
3484
3496
  setup(props, {
@@ -3575,7 +3587,7 @@
3575
3587
  "ref": root,
3576
3588
  "style": rootStyle.value
3577
3589
  }, [vue.createVNode("div", {
3578
- "class": bem$15({
3590
+ "class": bem$16({
3579
3591
  fixed: state.fixed
3580
3592
  }),
3581
3593
  "style": stickyStyle.value
@@ -3583,10 +3595,10 @@
3583
3595
  };
3584
3596
  }
3585
3597
  });
3586
- const Sticky = withInstall(stdin_default$1u);
3587
- const [name$15, bem$14] = createNamespace("tab");
3588
- var stdin_default$1t = vue.defineComponent({
3589
- name: name$15,
3598
+ const Sticky = withInstall(stdin_default$1v);
3599
+ const [name$16, bem$15] = createNamespace("tab");
3600
+ var stdin_default$1u = vue.defineComponent({
3601
+ name: name$16,
3590
3602
  props: {
3591
3603
  id: String,
3592
3604
  dot: Boolean,
@@ -3641,7 +3653,7 @@
3641
3653
  });
3642
3654
  const renderText = () => {
3643
3655
  const Text = vue.createVNode("span", {
3644
- "class": bem$14("text", {
3656
+ "class": bem$15("text", {
3645
3657
  ellipsis: !props.scrollable
3646
3658
  })
3647
3659
  }, [slots.title ? slots.title() : props.title]);
@@ -3659,7 +3671,7 @@
3659
3671
  return () => vue.createVNode("div", {
3660
3672
  "id": props.id,
3661
3673
  "role": "tab",
3662
- "class": [bem$14([props.type, {
3674
+ "class": [bem$15([props.type, {
3663
3675
  grow: props.scrollable && !props.shrink,
3664
3676
  shrink: props.shrink,
3665
3677
  active: props.isActive,
@@ -3673,7 +3685,7 @@
3673
3685
  }, [renderText()]);
3674
3686
  }
3675
3687
  });
3676
- const [name$14, bem$13] = createNamespace("swipe");
3688
+ const [name$15, bem$14] = createNamespace("swipe");
3677
3689
  const swipeProps = {
3678
3690
  loop: truthProp,
3679
3691
  width: numericProp,
@@ -3689,9 +3701,9 @@
3689
3701
  stopPropagation: truthProp,
3690
3702
  title: Array
3691
3703
  };
3692
- const SWIPE_KEY = Symbol(name$14);
3693
- var stdin_default$1s = vue.defineComponent({
3694
- name: name$14,
3704
+ const SWIPE_KEY = Symbol(name$15);
3705
+ var stdin_default$1t = vue.defineComponent({
3706
+ name: name$15,
3695
3707
  props: swipeProps,
3696
3708
  emits: ["change", "dragStart", "dragEnd"],
3697
3709
  setup(props, {
@@ -3962,7 +3974,7 @@
3962
3974
  const renderDot = (_, index) => {
3963
3975
  const active = index === activeIndicator.value;
3964
3976
  return vue.createVNode("i", {
3965
- "class": bem$13("indicator", {
3977
+ "class": bem$14("indicator", {
3966
3978
  active
3967
3979
  })
3968
3980
  }, null);
@@ -3976,7 +3988,7 @@
3976
3988
  }
3977
3989
  if (props.showIndicators && count.value > 1) {
3978
3990
  return vue.createVNode("div", {
3979
- "class": bem$13("indicators", {
3991
+ "class": bem$14("indicators", {
3980
3992
  vertical: props.vertical
3981
3993
  })
3982
3994
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -3985,17 +3997,17 @@
3985
3997
  const titleDiv = () => {
3986
3998
  if (Array.isArray(props.title)) {
3987
3999
  return vue.createVNode("div", {
3988
- "class": bem$13("title")
4000
+ "class": bem$14("title")
3989
4001
  }, [activeIndicator.value < props.title.length ? props.title[activeIndicator.value] : ""]);
3990
4002
  }
3991
4003
  return vue.createVNode("div", {
3992
- "class": bem$13("title")
4004
+ "class": bem$14("title")
3993
4005
  }, [props.title]);
3994
4006
  };
3995
4007
  const foot = () => {
3996
4008
  if (props.title) {
3997
4009
  return vue.createVNode("div", {
3998
- "class": bem$13("foot")
4010
+ "class": bem$14("foot")
3999
4011
  }, [titleDiv(), renderIndicator()]);
4000
4012
  }
4001
4013
  return vue.createVNode("div", null, [titleDiv(), renderIndicator()]);
@@ -4035,10 +4047,10 @@
4035
4047
  var _a;
4036
4048
  return vue.createVNode("div", {
4037
4049
  "ref": root,
4038
- "class": bem$13()
4050
+ "class": bem$14()
4039
4051
  }, [vue.createVNode("div", {
4040
4052
  "style": trackStyle.value,
4041
- "class": bem$13("track", {
4053
+ "class": bem$14("track", {
4042
4054
  vertical: props.vertical
4043
4055
  }),
4044
4056
  "onTouchstartPassive": onTouchStart,
@@ -4049,10 +4061,10 @@
4049
4061
  };
4050
4062
  }
4051
4063
  });
4052
- const Swipe = withInstall(stdin_default$1s);
4053
- const [name$13, bem$12] = createNamespace("tabs");
4054
- var stdin_default$1r = vue.defineComponent({
4055
- name: name$13,
4064
+ const Swipe = withInstall(stdin_default$1t);
4065
+ const [name$14, bem$13] = createNamespace("tabs");
4066
+ var stdin_default$1s = vue.defineComponent({
4067
+ name: name$14,
4056
4068
  props: {
4057
4069
  count: makeRequiredProp(Number),
4058
4070
  inited: Boolean,
@@ -4076,7 +4088,7 @@
4076
4088
  return vue.createVNode(Swipe, {
4077
4089
  "ref": swipeRef,
4078
4090
  "loop": false,
4079
- "class": bem$12("track"),
4091
+ "class": bem$13("track"),
4080
4092
  "duration": +props.duration * 1e3,
4081
4093
  "touchable": props.swipeable,
4082
4094
  "lazyRender": props.lazyRender,
@@ -4101,13 +4113,13 @@
4101
4113
  swipeToCurrentTab(props.currentIndex);
4102
4114
  });
4103
4115
  return () => vue.createVNode("div", {
4104
- "class": bem$12("content", {
4116
+ "class": bem$13("content", {
4105
4117
  animated: props.animated || props.swipeable
4106
4118
  })
4107
4119
  }, [renderChildren()]);
4108
4120
  }
4109
4121
  });
4110
- const [name$12, bem$11] = createNamespace("tabs");
4122
+ const [name$13, bem$12] = createNamespace("tabs");
4111
4123
  const tabsProps = {
4112
4124
  type: makeStringProp("line"),
4113
4125
  color: String,
@@ -4130,9 +4142,9 @@
4130
4142
  titleActiveColor: String,
4131
4143
  titleInactiveColor: String
4132
4144
  };
4133
- const TABS_KEY = Symbol(name$12);
4134
- var stdin_default$1q = vue.defineComponent({
4135
- name: name$12,
4145
+ const TABS_KEY = Symbol(name$13);
4146
+ var stdin_default$1r = vue.defineComponent({
4147
+ name: name$13,
4136
4148
  props: tabsProps,
4137
4149
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
4138
4150
  setup(props, {
@@ -4322,7 +4334,7 @@
4322
4334
  state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
4323
4335
  state.showRightOverlay = hasScrollToEnd(target);
4324
4336
  };
4325
- const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1t, vue.mergeProps({
4337
+ const renderNav = () => children.map((item, index) => vue.createVNode(stdin_default$1u, vue.mergeProps({
4326
4338
  "key": item.id,
4327
4339
  "id": `${id}-${index}`,
4328
4340
  "ref": setTitleRefs(index),
@@ -4343,7 +4355,7 @@
4343
4355
  const renderLine = () => {
4344
4356
  if (props.type === "line" && children.length) {
4345
4357
  return vue.createVNode("div", {
4346
- "class": bem$11("line"),
4358
+ "class": bem$12("line"),
4347
4359
  "style": state.lineStyle
4348
4360
  }, null);
4349
4361
  }
@@ -4351,14 +4363,14 @@
4351
4363
  const renderOverlayLeft = () => {
4352
4364
  if (state.showLeftOverlay) {
4353
4365
  return vue.createVNode("div", {
4354
- "class": bem$11("overlay-left")
4366
+ "class": bem$12("overlay-left")
4355
4367
  }, null);
4356
4368
  }
4357
4369
  };
4358
4370
  const renderOverlayRight = () => {
4359
4371
  if (state.showRightOverlay) {
4360
4372
  return vue.createVNode("div", {
4361
- "class": bem$11("overlay-right")
4373
+ "class": bem$12("overlay-right")
4362
4374
  }, null);
4363
4375
  }
4364
4376
  };
@@ -4370,13 +4382,13 @@
4370
4382
  } = props;
4371
4383
  return vue.createVNode("div", {
4372
4384
  "ref": wrapRef,
4373
- "class": [bem$11("wrap"), {
4385
+ "class": [bem$12("wrap"), {
4374
4386
  [BORDER_TOP_BOTTOM]: type === "line" && border
4375
4387
  }]
4376
4388
  }, [vue.createVNode("div", {
4377
4389
  "ref": navRef,
4378
4390
  "role": "tablist",
4379
- "class": bem$11("nav", [type, {
4391
+ "class": bem$12("nav", [type, {
4380
4392
  shrink: props.shrink,
4381
4393
  complete: scrollable.value
4382
4394
  }]),
@@ -4446,7 +4458,7 @@
4446
4458
  var _a;
4447
4459
  return vue.createVNode("div", {
4448
4460
  "ref": root,
4449
- "class": bem$11([props.type])
4461
+ "class": bem$12([props.type])
4450
4462
  }, [props.sticky ? vue.createVNode(Sticky, {
4451
4463
  "container": root.value,
4452
4464
  "offsetTop": offsetTopPx.value,
@@ -4456,7 +4468,7 @@
4456
4468
  var _a2;
4457
4469
  return [renderHeader(), (_a2 = slots["nav-bottom"]) == null ? void 0 : _a2.call(slots)];
4458
4470
  }
4459
- }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1r, {
4471
+ }) : [renderHeader(), (_a = slots["nav-bottom"]) == null ? void 0 : _a.call(slots)], vue.createVNode(stdin_default$1s, {
4460
4472
  "count": children.length,
4461
4473
  "inited": state.inited,
4462
4474
  "animated": props.animated,
@@ -4476,9 +4488,9 @@
4476
4488
  });
4477
4489
  const TAB_STATUS_KEY = Symbol();
4478
4490
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
4479
- const [name$11, bem$10] = createNamespace("swipe-item");
4480
- var stdin_default$1p = vue.defineComponent({
4481
- name: name$11,
4491
+ const [name$12, bem$11] = createNamespace("swipe-item");
4492
+ var stdin_default$1q = vue.defineComponent({
4493
+ name: name$12,
4482
4494
  setup(props, {
4483
4495
  slots
4484
4496
  }) {
@@ -4540,14 +4552,14 @@
4540
4552
  return () => {
4541
4553
  var _a;
4542
4554
  return vue.createVNode("div", {
4543
- "class": bem$10(),
4555
+ "class": bem$11(),
4544
4556
  "style": style.value
4545
4557
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
4546
4558
  };
4547
4559
  }
4548
4560
  });
4549
- const SwipeItem = withInstall(stdin_default$1p);
4550
- const [name$10, bem$$] = createNamespace("tab");
4561
+ const SwipeItem = withInstall(stdin_default$1q);
4562
+ const [name$11, bem$10] = createNamespace("tab");
4551
4563
  const tabProps = extend({}, routeProps, {
4552
4564
  dot: Boolean,
4553
4565
  name: numericProp,
@@ -4558,8 +4570,8 @@
4558
4570
  titleStyle: [String, Object],
4559
4571
  showZeroBadge: truthProp
4560
4572
  });
4561
- var stdin_default$1o = vue.defineComponent({
4562
- name: name$10,
4573
+ var stdin_default$1p = vue.defineComponent({
4574
+ name: name$11,
4563
4575
  props: tabProps,
4564
4576
  setup(props, {
4565
4577
  slots
@@ -4614,7 +4626,7 @@
4614
4626
  return vue.createVNode(SwipeItem, {
4615
4627
  "id": id,
4616
4628
  "role": "tabpanel",
4617
- "class": bem$$("panel-wrapper", {
4629
+ "class": bem$10("panel-wrapper", {
4618
4630
  inactive: !active.value
4619
4631
  }),
4620
4632
  "tabindex": active.value ? 0 : -1,
@@ -4624,7 +4636,7 @@
4624
4636
  default: () => {
4625
4637
  var _a2;
4626
4638
  return [vue.createVNode("div", {
4627
- "class": bem$$("panel")
4639
+ "class": bem$10("panel")
4628
4640
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
4629
4641
  }
4630
4642
  });
@@ -4637,23 +4649,23 @@
4637
4649
  return vue.withDirectives(vue.createVNode("div", {
4638
4650
  "id": id,
4639
4651
  "role": "tabpanel",
4640
- "class": bem$$("panel"),
4652
+ "class": bem$10("panel"),
4641
4653
  "tabindex": show ? 0 : -1,
4642
4654
  "aria-labelledby": label
4643
4655
  }, [Content]), [[vue.vShow, show]]);
4644
4656
  };
4645
4657
  }
4646
4658
  });
4647
- const Tab = withInstall(stdin_default$1o);
4648
- const Tabs = withInstall(stdin_default$1q);
4649
- const [name$$, bem$_] = createNamespace("divider");
4659
+ const Tab = withInstall(stdin_default$1p);
4660
+ const Tabs = withInstall(stdin_default$1r);
4661
+ const [name$10, bem$$] = createNamespace("divider");
4650
4662
  const dividerProps = {
4651
4663
  dashed: Boolean,
4652
4664
  hairline: truthProp,
4653
4665
  contentPosition: makeStringProp("center")
4654
4666
  };
4655
- var stdin_default$1n = vue.defineComponent({
4656
- name: name$$,
4667
+ var stdin_default$1o = vue.defineComponent({
4668
+ name: name$10,
4657
4669
  props: dividerProps,
4658
4670
  setup(props, {
4659
4671
  slots
@@ -4662,7 +4674,7 @@
4662
4674
  var _a;
4663
4675
  return vue.createVNode("div", {
4664
4676
  "role": "separator",
4665
- "class": bem$_({
4677
+ "class": bem$$({
4666
4678
  dashed: props.dashed,
4667
4679
  hairline: props.hairline,
4668
4680
  [`content-${props.contentPosition}`]: !!slots.default
@@ -4671,8 +4683,8 @@
4671
4683
  };
4672
4684
  }
4673
4685
  });
4674
- const Divider = withInstall(stdin_default$1n);
4675
- const [name$_, bem$Z, t$7] = createNamespace("cascader");
4686
+ const Divider = withInstall(stdin_default$1o);
4687
+ const [name$$, bem$_, t$7] = createNamespace("cascader");
4676
4688
  const cascaderProps = {
4677
4689
  title: String,
4678
4690
  show: Boolean,
@@ -4692,8 +4704,8 @@
4692
4704
  safeAreaInsetTop: Boolean,
4693
4705
  closeOnClickOverlay: truthProp
4694
4706
  };
4695
- var stdin_default$1m = vue.defineComponent({
4696
- name: name$_,
4707
+ var stdin_default$1n = vue.defineComponent({
4708
+ name: name$$,
4697
4709
  props: cascaderProps,
4698
4710
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
4699
4711
  setup(props, {
@@ -4807,9 +4819,9 @@
4807
4819
  title
4808
4820
  }) => emit("clickTab", name2, title);
4809
4821
  const renderHeader = () => vue.createVNode("div", {
4810
- "class": bem$Z("header")
4822
+ "class": bem$_("header")
4811
4823
  }, [vue.createVNode("h2", {
4812
- "class": bem$Z("title")
4824
+ "class": bem$_("title")
4813
4825
  }, [slots.title ? slots.title() : props.title])]);
4814
4826
  const renderOption = (option, selectedOption, tabIndex) => {
4815
4827
  const {
@@ -4823,7 +4835,7 @@
4823
4835
  }) : vue.createVNode("span", null, [option[textKey]]);
4824
4836
  return vue.createVNode("li", {
4825
4837
  "role": "menuitemradio",
4826
- "class": [bem$Z("option", {
4838
+ "class": [bem$_("option", {
4827
4839
  selected,
4828
4840
  disabled
4829
4841
  }), option.className],
@@ -4836,12 +4848,12 @@
4836
4848
  "onClick": () => onSelect(option, tabIndex)
4837
4849
  }, [Text, selected ? vue.createVNode(Icon, {
4838
4850
  "name": "success",
4839
- "class": bem$Z("selected-icon")
4851
+ "class": bem$_("selected-icon")
4840
4852
  }, null) : null]);
4841
4853
  };
4842
4854
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
4843
4855
  "role": "menu",
4844
- "class": bem$Z("options")
4856
+ "class": bem$_("options")
4845
4857
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
4846
4858
  const renderDivider = () => vue.createVNode(Divider, {
4847
4859
  "style": {
@@ -4857,7 +4869,7 @@
4857
4869
  const title = selected ? selected[textKey] : placeholder;
4858
4870
  return vue.createVNode(Tab, {
4859
4871
  "title": title,
4860
- "titleClass": bem$Z("tab", {
4872
+ "titleClass": bem$_("tab", {
4861
4873
  unselected: !selected
4862
4874
  })
4863
4875
  }, {
@@ -4875,15 +4887,15 @@
4875
4887
  "active": activeTab.value,
4876
4888
  "onUpdate:active": ($event) => activeTab.value = $event,
4877
4889
  "animated": true,
4878
- "class": bem$Z("tabs"),
4890
+ "class": bem$_("tabs"),
4879
4891
  "color": props.activeColor,
4880
4892
  "swipeable": props.swipeable,
4881
4893
  "onClickTab": onClickTab
4882
4894
  }, {
4883
4895
  default: () => [tabs.value.map(renderTab)]
4884
4896
  });
4885
- const renderMenu = () => vue.createVNode(stdin_default$1B, {
4886
- "class": bem$Z("cancel"),
4897
+ const renderMenu = () => vue.createVNode(stdin_default$1C, {
4898
+ "class": bem$_("cancel"),
4887
4899
  "onClick": onCancel
4888
4900
  }, {
4889
4901
  default: () => [vue.createTextVNode("取消")]
@@ -4920,7 +4932,7 @@
4920
4932
  updateTabs();
4921
4933
  });
4922
4934
  const renderCascade = () => vue.createVNode("div", {
4923
- "class": bem$Z()
4935
+ "class": bem$_()
4924
4936
  }, [renderHeader(), renderDivider(), renderTabs(), props.popup ? renderDivider() : "", props.popup ? renderMenu() : ""]);
4925
4937
  return () => {
4926
4938
  if (props.popup) {
@@ -4941,8 +4953,8 @@
4941
4953
  };
4942
4954
  }
4943
4955
  });
4944
- const Cascader = withInstall(stdin_default$1m);
4945
- const [name$Z, bem$Y] = createNamespace("cell");
4956
+ const Cascader = withInstall(stdin_default$1n);
4957
+ const [name$_, bem$Z] = createNamespace("cell");
4946
4958
  const cellSharedProps = {
4947
4959
  leftIcon: String,
4948
4960
  titleIcon: String,
@@ -4968,8 +4980,8 @@
4968
4980
  clearIcon: makeStringProp("clear-r")
4969
4981
  };
4970
4982
  const cellProps = extend({}, cellSharedProps, routeProps);
4971
- var stdin_default$1l = vue.defineComponent({
4972
- name: name$Z,
4983
+ var stdin_default$1m = vue.defineComponent({
4984
+ name: name$_,
4973
4985
  props: cellProps,
4974
4986
  emits: ["click", "clear"],
4975
4987
  setup(props, {
@@ -4982,7 +4994,7 @@
4982
4994
  const showLabel = slots.label || isDef(props.label);
4983
4995
  if (showLabel) {
4984
4996
  return vue.createVNode("div", {
4985
- "class": [bem$Y("label"), props.labelClass]
4997
+ "class": [bem$Z("label"), props.labelClass]
4986
4998
  }, [slots.label ? slots.label() : props.label]);
4987
4999
  }
4988
5000
  };
@@ -4993,7 +5005,7 @@
4993
5005
  if (props.titleIcon) {
4994
5006
  return vue.createVNode(Icon, {
4995
5007
  "name": props.titleIcon,
4996
- "class": bem$Y("title-icon"),
5008
+ "class": bem$Z("title-icon"),
4997
5009
  "classPrefix": props.iconPrefix
4998
5010
  }, null);
4999
5011
  }
@@ -5003,13 +5015,13 @@
5003
5015
  const hasValue = slots.value || slots.default || props.value;
5004
5016
  const isHorizontal = props.direction === "horizontal";
5005
5017
  return vue.createVNode("div", {
5006
- "class": [bem$Y("title", {
5018
+ "class": [bem$Z("title", {
5007
5019
  [props.direction]: true,
5008
5020
  "with-value": isHorizontal && hasValue
5009
5021
  }), props.titleClass],
5010
5022
  "style": props.titleStyle
5011
5023
  }, [slots.title ? slots.title() : [renderTitleIcon(), vue.createVNode("span", {
5012
- "class": bem$Y("title-text")
5024
+ "class": bem$Z("title-text")
5013
5025
  }, [props.title])], renderLabel()]);
5014
5026
  }
5015
5027
  };
@@ -5021,7 +5033,7 @@
5021
5033
  const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : "arrow-right";
5022
5034
  return vue.createVNode(Icon, {
5023
5035
  "name": name2,
5024
- "class": bem$Y("right-icon"),
5036
+ "class": bem$Z("right-icon"),
5025
5037
  "size": "20"
5026
5038
  }, null);
5027
5039
  }
@@ -5060,16 +5072,16 @@
5060
5072
  const showClear = props.clearable && isDef(props.value) && props.value !== "";
5061
5073
  if (hasValue) {
5062
5074
  return vue.createVNode("div", {
5063
- "class": [bem$Y("value", {
5075
+ "class": [bem$Z("value", {
5064
5076
  [props.direction]: true
5065
5077
  }), props.valueClass],
5066
5078
  "onClick": () => onClick(isHorizontal)
5067
5079
  }, [slot ? slot() : vue.createVNode("span", {
5068
- "class": bem$Y("value-text")
5080
+ "class": bem$Z("value-text")
5069
5081
  }, [props.value]), showClear && vue.createVNode(Icon, {
5070
5082
  "ref": clearIconRef,
5071
5083
  "name": props.clearIcon,
5072
- "class": bem$Y("value-clear")
5084
+ "class": bem$Z("value-clear")
5073
5085
  }, null), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
5074
5086
  }
5075
5087
  };
@@ -5080,7 +5092,7 @@
5080
5092
  if (props.leftIcon) {
5081
5093
  return vue.createVNode(Icon, {
5082
5094
  "name": props.leftIcon,
5083
- "class": bem$Y("left-icon"),
5095
+ "class": bem$Z("left-icon"),
5084
5096
  "classPrefix": props.iconPrefix
5085
5097
  }, null);
5086
5098
  }
@@ -5112,7 +5124,7 @@
5112
5124
  classes.borderless = true;
5113
5125
  }
5114
5126
  return vue.createVNode("div", {
5115
- "class": bem$Y(classes),
5127
+ "class": bem$Z(classes),
5116
5128
  "role": clickable ? "button" : void 0,
5117
5129
  "tabindex": clickable ? 0 : void 0,
5118
5130
  "onClick": () => onClick(props.direction === "vertical")
@@ -5120,7 +5132,7 @@
5120
5132
  };
5121
5133
  if (hasLeftIcon) {
5122
5134
  return vue.createVNode("div", {
5123
- "class": [bem$Y("with-left", {
5135
+ "class": [bem$Z("with-left", {
5124
5136
  borderless: !border
5125
5137
  })]
5126
5138
  }, [renderLeftIcon(), renderWrapper()]);
@@ -5129,15 +5141,15 @@
5129
5141
  };
5130
5142
  }
5131
5143
  });
5132
- const Cell = withInstall(stdin_default$1l);
5133
- const [name$Y, bem$X] = createNamespace("cell-group");
5144
+ const Cell = withInstall(stdin_default$1m);
5145
+ const [name$Z, bem$Y] = createNamespace("cell-group");
5134
5146
  const cellGroupProps = {
5135
5147
  title: String,
5136
5148
  inset: Boolean,
5137
5149
  border: truthProp
5138
5150
  };
5139
- var stdin_default$1k = vue.defineComponent({
5140
- name: name$Y,
5151
+ var stdin_default$1l = vue.defineComponent({
5152
+ name: name$Z,
5141
5153
  inheritAttrs: false,
5142
5154
  props: cellGroupProps,
5143
5155
  setup(props, {
@@ -5147,7 +5159,7 @@
5147
5159
  const renderGroup = () => {
5148
5160
  var _a;
5149
5161
  return vue.createVNode("div", vue.mergeProps({
5150
- "class": [bem$X({
5162
+ "class": [bem$Y({
5151
5163
  inset: props.inset
5152
5164
  }), {
5153
5165
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -5155,7 +5167,7 @@
5155
5167
  }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5156
5168
  };
5157
5169
  const renderTitle = () => vue.createVNode("div", {
5158
- "class": bem$X("title", {
5170
+ "class": bem$Y("title", {
5159
5171
  inset: props.inset
5160
5172
  })
5161
5173
  }, [slots.title ? slots.title() : props.title]);
@@ -5167,8 +5179,8 @@
5167
5179
  };
5168
5180
  }
5169
5181
  });
5170
- const CellGroup = withInstall(stdin_default$1k);
5171
- const [name$X, bem$W] = createNamespace("checkbox-group");
5182
+ const CellGroup = withInstall(stdin_default$1l);
5183
+ const [name$Y, bem$X] = createNamespace("checkbox-group");
5172
5184
  const checkboxGroupProps = {
5173
5185
  max: numericProp,
5174
5186
  disabled: Boolean,
@@ -5177,9 +5189,9 @@
5177
5189
  modelValue: makeArrayProp(),
5178
5190
  checkedColor: String
5179
5191
  };
5180
- const CHECKBOX_GROUP_KEY = Symbol(name$X);
5181
- var stdin_default$1j = vue.defineComponent({
5182
- name: name$X,
5192
+ const CHECKBOX_GROUP_KEY = Symbol(name$Y);
5193
+ var stdin_default$1k = vue.defineComponent({
5194
+ name: name$Y,
5183
5195
  props: checkboxGroupProps,
5184
5196
  emits: ["change", "update:modelValue"],
5185
5197
  setup(props, {
@@ -5225,7 +5237,7 @@
5225
5237
  return () => {
5226
5238
  var _a;
5227
5239
  return vue.createVNode("div", {
5228
- "class": bem$W([props.direction])
5240
+ "class": bem$X([props.direction])
5229
5241
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5230
5242
  };
5231
5243
  }
@@ -5240,7 +5252,7 @@
5240
5252
  labelPosition: String,
5241
5253
  labelDisabled: Boolean
5242
5254
  };
5243
- var stdin_default$1i = vue.defineComponent({
5255
+ var stdin_default$1j = vue.defineComponent({
5244
5256
  props: extend({}, checkerProps, {
5245
5257
  bem: makeRequiredProp(Function),
5246
5258
  role: String,
@@ -5341,7 +5353,7 @@
5341
5353
  };
5342
5354
  }
5343
5355
  });
5344
- const [name$W, bem$V] = createNamespace("checkbox");
5356
+ const [name$X, bem$W] = createNamespace("checkbox");
5345
5357
  const checkboxProps = extend({}, checkerProps, {
5346
5358
  bindGroup: truthProp,
5347
5359
  indeterminate: {
@@ -5349,8 +5361,8 @@
5349
5361
  default: null
5350
5362
  }
5351
5363
  });
5352
- var stdin_default$1h = vue.defineComponent({
5353
- name: name$W,
5364
+ var stdin_default$1i = vue.defineComponent({
5365
+ name: name$X,
5354
5366
  props: checkboxProps,
5355
5367
  emits: ["change", "update:modelValue"],
5356
5368
  setup(props, {
@@ -5414,8 +5426,8 @@
5414
5426
  checked
5415
5427
  });
5416
5428
  useCustomFieldValue(() => props.modelValue);
5417
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
5418
- "bem": bem$V,
5429
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
5430
+ "bem": bem$W,
5419
5431
  "role": "checkbox",
5420
5432
  "parent": parent,
5421
5433
  "checked": checked.value,
@@ -5423,10 +5435,10 @@
5423
5435
  }, props), pick(slots, ["default", "icon"]));
5424
5436
  }
5425
5437
  });
5426
- const Checkbox = withInstall(stdin_default$1h);
5427
- const CheckboxGroup = withInstall(stdin_default$1j);
5428
- const [name$V, bem$U] = createNamespace("row");
5429
- const ROW_KEY = Symbol(name$V);
5438
+ const Checkbox = withInstall(stdin_default$1i);
5439
+ const CheckboxGroup = withInstall(stdin_default$1k);
5440
+ const [name$W, bem$V] = createNamespace("row");
5441
+ const ROW_KEY = Symbol(name$W);
5430
5442
  const rowProps = {
5431
5443
  tag: makeStringProp("div"),
5432
5444
  wrap: truthProp,
@@ -5434,8 +5446,8 @@
5434
5446
  gutter: makeNumericProp(0),
5435
5447
  justify: String
5436
5448
  };
5437
- var stdin_default$1g = vue.defineComponent({
5438
- name: name$V,
5449
+ var stdin_default$1h = vue.defineComponent({
5450
+ name: name$W,
5439
5451
  props: rowProps,
5440
5452
  setup(props, {
5441
5453
  slots
@@ -5494,7 +5506,7 @@
5494
5506
  justify
5495
5507
  } = props;
5496
5508
  return vue.createVNode(tag, {
5497
- "class": bem$U({
5509
+ "class": bem$V({
5498
5510
  [`align-${align}`]: align,
5499
5511
  [`justify-${justify}`]: justify,
5500
5512
  nowrap: !wrap
@@ -5508,14 +5520,14 @@
5508
5520
  };
5509
5521
  }
5510
5522
  });
5511
- const [name$U, bem$T] = createNamespace("col");
5523
+ const [name$V, bem$U] = createNamespace("col");
5512
5524
  const colProps = {
5513
5525
  tag: makeStringProp("div"),
5514
5526
  span: makeNumericProp(0),
5515
5527
  offset: numericProp
5516
5528
  };
5517
- var stdin_default$1f = vue.defineComponent({
5518
- name: name$U,
5529
+ var stdin_default$1g = vue.defineComponent({
5530
+ name: name$V,
5519
5531
  props: colProps,
5520
5532
  setup(props, {
5521
5533
  slots
@@ -5550,7 +5562,7 @@
5550
5562
  } = props;
5551
5563
  return vue.createVNode(tag, {
5552
5564
  "style": style.value,
5553
- "class": bem$T({
5565
+ "class": bem$U({
5554
5566
  [span]: span,
5555
5567
  [`offset-${offset2}`]: offset2
5556
5568
  })
@@ -5563,9 +5575,9 @@
5563
5575
  };
5564
5576
  }
5565
5577
  });
5566
- const Col = withInstall(stdin_default$1f);
5567
- const [name$T, bem$S] = createNamespace("collapse");
5568
- const COLLAPSE_KEY = Symbol(name$T);
5578
+ const Col = withInstall(stdin_default$1g);
5579
+ const [name$U, bem$T] = createNamespace("collapse");
5580
+ const COLLAPSE_KEY = Symbol(name$U);
5569
5581
  const collapseProps = {
5570
5582
  border: truthProp,
5571
5583
  accordion: Boolean,
@@ -5574,8 +5586,8 @@
5574
5586
  default: ""
5575
5587
  }
5576
5588
  };
5577
- var stdin_default$1e = vue.defineComponent({
5578
- name: name$T,
5589
+ var stdin_default$1f = vue.defineComponent({
5590
+ name: name$U,
5579
5591
  props: collapseProps,
5580
5592
  emits: ["change", "update:modelValue"],
5581
5593
  setup(props, {
@@ -5642,15 +5654,15 @@
5642
5654
  return () => {
5643
5655
  var _a;
5644
5656
  return vue.createVNode("div", {
5645
- "class": [bem$S(), {
5657
+ "class": [bem$T(), {
5646
5658
  [BORDER_TOP_BOTTOM]: props.border
5647
5659
  }]
5648
5660
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5649
5661
  };
5650
5662
  }
5651
5663
  });
5652
- const Collapse = withInstall(stdin_default$1e);
5653
- const [name$S, bem$R] = createNamespace("collapse-item");
5664
+ const Collapse = withInstall(stdin_default$1f);
5665
+ const [name$T, bem$S] = createNamespace("collapse-item");
5654
5666
  const collapseItemProps = extend({}, {
5655
5667
  name: numericProp,
5656
5668
  title: numericProp,
@@ -5660,8 +5672,8 @@
5660
5672
  titleBackground: String,
5661
5673
  color: String
5662
5674
  });
5663
- var stdin_default$1d = vue.defineComponent({
5664
- name: name$S,
5675
+ var stdin_default$1e = vue.defineComponent({
5676
+ name: name$T,
5665
5677
  props: collapseItemProps,
5666
5678
  setup(props, {
5667
5679
  slots
@@ -5729,23 +5741,23 @@
5729
5741
  color
5730
5742
  } = props;
5731
5743
  return vue.createVNode("div", {
5732
- "class": [bem$R("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5744
+ "class": [bem$S("title"), expanded.value ? BORDER_BOTTOM : "", HAPTICS_FEEDBACK],
5733
5745
  "style": titleBackground ? `background:${titleBackground};color:#fff;` : "",
5734
5746
  "onClick": onClickTitle
5735
5747
  }, [vue.createVNode("span", {
5736
- "class": bem$R("bar", {
5748
+ "class": bem$S("bar", {
5737
5749
  custom: titleBackground
5738
5750
  }),
5739
5751
  "style": color ? `background:${color};` : ""
5740
5752
  }, null), vue.createVNode("span", {
5741
5753
  "style": color ? `color:${color};` : "",
5742
- "class": bem$R("text", {
5754
+ "class": bem$S("text", {
5743
5755
  custom: titleBackground
5744
5756
  })
5745
- }, [props.title]), vue.createVNode(stdin_default$1N, {
5757
+ }, [props.title]), vue.createVNode(stdin_default$1O, {
5746
5758
  "name": "keyboard-arrow-down",
5747
5759
  "style": color ? `color:${color};` : "",
5748
- "class": bem$R("icon", {
5760
+ "class": bem$S("icon", {
5749
5761
  expanded: expanded.value,
5750
5762
  custom: titleBackground
5751
5763
  })
@@ -5755,11 +5767,11 @@
5755
5767
  var _a;
5756
5768
  return vue.withDirectives(vue.createVNode("div", {
5757
5769
  "ref": wrapperRef,
5758
- "class": bem$R("wrapper"),
5770
+ "class": bem$S("wrapper"),
5759
5771
  "onTransitionend": onTransitionEnd
5760
5772
  }, [vue.createVNode("div", {
5761
5773
  "ref": contentRef,
5762
- "class": bem$R("content")
5774
+ "class": bem$S("content")
5763
5775
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
5764
5776
  });
5765
5777
  useExpose({
@@ -5768,13 +5780,13 @@
5768
5780
  itemName: name2
5769
5781
  });
5770
5782
  return () => vue.createVNode("div", {
5771
- "class": [bem$R()]
5783
+ "class": [bem$S()]
5772
5784
  }, [renderTitle(), renderContent()]);
5773
5785
  }
5774
5786
  });
5775
- const CollapseItem = withInstall(stdin_default$1d);
5776
- const ConfigProvider = withInstall(stdin_default$1O);
5777
- const [name$R, bem$Q, t$6] = createNamespace("picker");
5787
+ const CollapseItem = withInstall(stdin_default$1e);
5788
+ const ConfigProvider = withInstall(stdin_default$1P);
5789
+ const [name$S, bem$R, t$6] = createNamespace("picker");
5778
5790
  const getFirstEnabledOption$1 = (options) => options.find((option) => !option.disabled) || options[0];
5779
5791
  function getColumnsType$1(columns, fields) {
5780
5792
  const firstColumn = columns[0];
@@ -5843,10 +5855,10 @@
5843
5855
  const DEFAULT_DURATION$2 = 200;
5844
5856
  const MOMENTUM_TIME$2 = 300;
5845
5857
  const MOMENTUM_DISTANCE$2 = 15;
5846
- const [name$Q, bem$P] = createNamespace("picker-column");
5847
- const PICKER_KEY$1 = Symbol(name$Q);
5848
- var stdin_default$1c = vue.defineComponent({
5849
- name: name$Q,
5858
+ const [name$R, bem$Q] = createNamespace("picker-column");
5859
+ const PICKER_KEY$1 = Symbol(name$R);
5860
+ var stdin_default$1d = vue.defineComponent({
5861
+ name: name$R,
5850
5862
  props: {
5851
5863
  value: numericProp,
5852
5864
  unit: makeStringProp(""),
@@ -5980,7 +5992,7 @@
5980
5992
  role: "button",
5981
5993
  style: optionStyle,
5982
5994
  tabindex: disabled ? -1 : 0,
5983
- class: [bem$P("item", {
5995
+ class: [bem$Q("item", {
5984
5996
  disabled,
5985
5997
  selected: value === props.value
5986
5998
  }), option.className],
@@ -6000,14 +6012,14 @@
6000
6012
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
6001
6013
  };
6002
6014
  return vue.createVNode("div", {
6003
- "class": bem$P("unit")
6015
+ "class": bem$Q("unit")
6004
6016
  }, [vue.createVNode("span", {
6005
6017
  "style": "visibility: hidden",
6006
- "class": [bem$P("unit-text"), "zt-ellipsis"]
6018
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
6007
6019
  }, [props.unit]), vue.createVNode("span", vue.mergeProps({
6008
6020
  "style": "visibility: hidden"
6009
6021
  }, childData), null), vue.createVNode("span", {
6010
- "class": [bem$P("unit-text"), "zt-ellipsis"]
6022
+ "class": [bem$Q("unit-text"), "zt-ellipsis"]
6011
6023
  }, [props.unit])]);
6012
6024
  }
6013
6025
  };
@@ -6025,7 +6037,7 @@
6025
6037
  });
6026
6038
  return () => vue.createVNode("div", {
6027
6039
  "ref": root,
6028
- "class": bem$P(),
6040
+ "class": bem$Q(),
6029
6041
  "onTouchstartPassive": onTouchStart,
6030
6042
  "onTouchend": onTouchEnd,
6031
6043
  "onTouchcancel": onTouchEnd
@@ -6036,12 +6048,12 @@
6036
6048
  transitionDuration: `${currentDuration.value}ms`,
6037
6049
  transitionProperty: currentDuration.value ? "all" : "none"
6038
6050
  },
6039
- "class": bem$P("wrapper"),
6051
+ "class": bem$Q("wrapper"),
6040
6052
  "onTransitionend": stopMomentum
6041
6053
  }, [renderOptions()])]);
6042
6054
  }
6043
6055
  });
6044
- const [name$P] = createNamespace("picker-toolbar");
6056
+ const [name$Q] = createNamespace("picker-toolbar");
6045
6057
  const pickerToolbarProps$1 = {
6046
6058
  // title: String,
6047
6059
  cancelButtonText: String,
@@ -6049,8 +6061,8 @@
6049
6061
  };
6050
6062
  const pickerToolbarSlots$1 = ["cancel", "confirm", "title", "toolbar"];
6051
6063
  const pickerToolbarPropKeys$1 = Object.keys(pickerToolbarProps$1);
6052
- var stdin_default$1b = vue.defineComponent({
6053
- name: name$P,
6064
+ var stdin_default$1c = vue.defineComponent({
6065
+ name: name$Q,
6054
6066
  props: pickerToolbarProps$1,
6055
6067
  emits: ["confirm", "cancel"],
6056
6068
  setup(props, {
@@ -6064,7 +6076,7 @@
6064
6076
  return vue.createVNode(Button, {
6065
6077
  "type": "default",
6066
6078
  "hairline": true,
6067
- "class": bem$Q("cancel"),
6079
+ "class": bem$R("cancel"),
6068
6080
  "onClick": onCancel
6069
6081
  }, {
6070
6082
  default: () => [slots.cancel ? slots.cancel() : text]
@@ -6074,14 +6086,14 @@
6074
6086
  const text = props.confirmButtonText || t$6("confirm");
6075
6087
  return vue.createVNode(Button, {
6076
6088
  "type": "primary",
6077
- "class": [bem$Q("confirm"), HAPTICS_FEEDBACK],
6089
+ "class": [bem$R("confirm"), HAPTICS_FEEDBACK],
6078
6090
  "onClick": onConfirm
6079
6091
  }, {
6080
6092
  default: () => [slots.confirm ? slots.confirm() : text]
6081
6093
  });
6082
6094
  };
6083
6095
  return () => vue.createVNode("div", {
6084
- "class": bem$Q("toolbar")
6096
+ "class": bem$R("toolbar")
6085
6097
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderConfirm()]]);
6086
6098
  }
6087
6099
  });
@@ -6105,8 +6117,8 @@
6105
6117
  showPicker: Boolean,
6106
6118
  popup: truthProp
6107
6119
  });
6108
- var stdin_default$1a = vue.defineComponent({
6109
- name: name$R,
6120
+ var stdin_default$1b = vue.defineComponent({
6121
+ name: name$S,
6110
6122
  props: pickerProps,
6111
6123
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
6112
6124
  setup(props, {
@@ -6192,7 +6204,7 @@
6192
6204
  };
6193
6205
  const updateShow = (value) => emit("update:showPicker", value);
6194
6206
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6195
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1c, {
6207
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1d, {
6196
6208
  "value": selectedValues.value[columnIndex],
6197
6209
  "fields": fields.value,
6198
6210
  "options": options,
@@ -6216,10 +6228,10 @@
6216
6228
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
6217
6229
  };
6218
6230
  return [vue.createVNode("div", {
6219
- "class": bem$Q("mask"),
6231
+ "class": bem$R("mask"),
6220
6232
  "style": maskStyle
6221
6233
  }, null), vue.createVNode("div", {
6222
- "class": bem$Q("frame"),
6234
+ "class": bem$R("frame"),
6223
6235
  "style": frameStyle
6224
6236
  }, null)];
6225
6237
  }
@@ -6231,13 +6243,13 @@
6231
6243
  };
6232
6244
  return vue.createVNode("div", {
6233
6245
  "ref": columnsRef,
6234
- "class": bem$Q("columns"),
6246
+ "class": bem$R("columns"),
6235
6247
  "style": columnsStyle
6236
6248
  }, [renderColumnItems(), renderMask(wrapHeight)]);
6237
6249
  };
6238
6250
  const renderToolbar = () => {
6239
6251
  if (props.showToolbar) {
6240
- return vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6252
+ return vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
6241
6253
  "onConfirm": confirm,
6242
6254
  "onCancel": cancel
6243
6255
  }), pick(slots, pickerToolbarSlots$1));
@@ -6249,7 +6261,7 @@
6249
6261
  return slots["title-bar"]();
6250
6262
  }
6251
6263
  return vue.createVNode("div", {
6252
- "class": [bem$Q("title"), HAPTICS_FEEDBACK]
6264
+ "class": [bem$R("title"), HAPTICS_FEEDBACK]
6253
6265
  }, [props.title]);
6254
6266
  }
6255
6267
  };
@@ -6296,14 +6308,14 @@
6296
6308
  const renderPicker = () => {
6297
6309
  var _a, _b;
6298
6310
  return vue.createVNode("div", {
6299
- "class": bem$Q()
6311
+ "class": bem$R()
6300
6312
  }, [renderTitleBar(), props.loading ? vue.createVNode(Loading, {
6301
- "class": bem$Q("loading")
6313
+ "class": bem$R("loading")
6302
6314
  }, 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()]);
6303
6315
  };
6304
6316
  return () => {
6305
6317
  if (props.popup) {
6306
- return vue.createVNode(stdin_default$1J, {
6318
+ return vue.createVNode(stdin_default$1K, {
6307
6319
  "show": showPicker.value,
6308
6320
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6309
6321
  "round": true,
@@ -6358,9 +6370,9 @@
6358
6370
  }
6359
6371
  return value;
6360
6372
  });
6361
- const Picker = withInstall(stdin_default$1a);
6362
- var stdin_default$19 = Picker;
6363
- var stdin_default$18 = vue.defineComponent({
6373
+ const Picker = withInstall(stdin_default$1b);
6374
+ var stdin_default$1a = Picker;
6375
+ var stdin_default$19 = vue.defineComponent({
6364
6376
  name: "Arrow",
6365
6377
  emits: ["click"],
6366
6378
  setup(_, {
@@ -6382,13 +6394,13 @@
6382
6394
  }, null)]);
6383
6395
  }
6384
6396
  });
6385
- const [name$O, bem$O] = createNamespace("time-picker-column");
6386
- const TIME_PICKER_KEY = Symbol(name$O);
6397
+ const [name$P, bem$P] = createNamespace("time-picker-column");
6398
+ const TIME_PICKER_KEY = Symbol(name$P);
6387
6399
  const MOMENTUM_TIME$1 = 300;
6388
6400
  const MOMENTUM_DISTANCE$1 = 15;
6389
6401
  const DEFAULT_DURATION$1 = 200;
6390
- var stdin_default$17 = vue.defineComponent({
6391
- name: name$O,
6402
+ var stdin_default$18 = vue.defineComponent({
6403
+ name: name$P,
6392
6404
  props: {
6393
6405
  value: numericProp,
6394
6406
  unit: makeStringProp(""),
@@ -6520,7 +6532,7 @@
6520
6532
  role: "button",
6521
6533
  style: optionStyle,
6522
6534
  tabindex: disabled ? -1 : 0,
6523
- class: [bem$O("item", {
6535
+ class: [bem$P("item", {
6524
6536
  disabled,
6525
6537
  selected: value === props.value
6526
6538
  }), option.className],
@@ -6533,7 +6545,7 @@
6533
6545
  const renderOption = () => {
6534
6546
  if (props.unit) {
6535
6547
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("div", childData, null), vue.createVNode("span", {
6536
- "class": [bem$O("unit-text"), "zt-ellipsis"],
6548
+ "class": [bem$P("unit-text"), "zt-ellipsis"],
6537
6549
  "style": "visibility: hidden"
6538
6550
  }, [props.unit])]);
6539
6551
  }
@@ -6549,11 +6561,11 @@
6549
6561
  [props.allowHtml ? "innerHTML" : "textContent"]: props.value
6550
6562
  };
6551
6563
  return vue.createVNode("div", {
6552
- "class": bem$O("unit")
6564
+ "class": bem$P("unit")
6553
6565
  }, [vue.createVNode("span", vue.mergeProps({
6554
6566
  "style": "visibility: hidden"
6555
6567
  }, childData), null), vue.createVNode("span", {
6556
- "class": [bem$O("unit-text"), "zt-ellipsis"]
6568
+ "class": [bem$P("unit-text"), "zt-ellipsis"]
6557
6569
  }, [props.unit])]);
6558
6570
  }
6559
6571
  };
@@ -6562,11 +6574,11 @@
6562
6574
  currentDuration.value = DEFAULT_DURATION$1;
6563
6575
  updateValueByIndex(isUp ? index - 1 : index + 1);
6564
6576
  };
6565
- const renderArrow = () => [vue.createVNode(stdin_default$18, {
6566
- "class": bem$O("arrow-top"),
6577
+ const renderArrow = () => [vue.createVNode(stdin_default$19, {
6578
+ "class": bem$P("arrow-top"),
6567
6579
  "onClick": () => onArrowClick(true)
6568
- }, null), vue.createVNode(stdin_default$18, {
6569
- "class": bem$O("arrow-bottom"),
6580
+ }, null), vue.createVNode(stdin_default$19, {
6581
+ "class": bem$P("arrow-bottom"),
6570
6582
  "onClick": () => onArrowClick(false)
6571
6583
  }, null)];
6572
6584
  useParent(TIME_PICKER_KEY);
@@ -6587,7 +6599,7 @@
6587
6599
  return () => vue.createVNode("div", {
6588
6600
  "ref": root,
6589
6601
  "style": columnStyle,
6590
- "class": bem$O(),
6602
+ "class": bem$P(),
6591
6603
  "onTouchstartPassive": onTouchStart,
6592
6604
  "onTouchend": onTouchEnd,
6593
6605
  "onTouchcancel": onTouchEnd
@@ -6598,12 +6610,12 @@
6598
6610
  transitionDuration: `${currentDuration.value}ms`,
6599
6611
  transitionProperty: currentDuration.value ? "all" : "none"
6600
6612
  },
6601
- "class": bem$O("wrapper"),
6613
+ "class": bem$P("wrapper"),
6602
6614
  "onTransitionend": stopMomentum
6603
6615
  }, [renderOptions()]), renderArrow()]);
6604
6616
  }
6605
6617
  });
6606
- const [name$N, bem$N] = createNamespace("time-picker");
6618
+ const [name$O, bem$O] = createNamespace("time-picker");
6607
6619
  const timePickerProps = extend({}, sharedProps, {
6608
6620
  minHour: makeNumericProp(0),
6609
6621
  maxHour: makeNumericProp(23),
@@ -6620,8 +6632,8 @@
6620
6632
  default: () => ["hour", "minute"]
6621
6633
  }
6622
6634
  });
6623
- var stdin_default$16 = vue.defineComponent({
6624
- name: name$N,
6635
+ var stdin_default$17 = vue.defineComponent({
6636
+ name: name$O,
6625
6637
  props: timePickerProps,
6626
6638
  emits: ["clickOption", "change", "update:modelValue"],
6627
6639
  setup(props, {
@@ -6695,7 +6707,7 @@
6695
6707
  currentOption
6696
6708
  }, getEventParams()));
6697
6709
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6698
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$17, {
6710
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(vue.Fragment, null, [vue.createVNode(stdin_default$18, {
6699
6711
  "value": selectedValues.value[columnIndex],
6700
6712
  "fields": fields.value,
6701
6713
  "options": options,
@@ -6714,9 +6726,9 @@
6714
6726
  const separatorCount = currentColumns.value && currentColumns.value.length - 1;
6715
6727
  if (separatorCount > 0) {
6716
6728
  return vue.createVNode("div", {
6717
- "class": bem$N("separator")
6729
+ "class": bem$O("separator")
6718
6730
  }, [Array(separatorCount).fill(null).map(() => vue.createVNode("span", {
6719
- "class": bem$N("colon")
6731
+ "class": bem$O("colon")
6720
6732
  }, null))]);
6721
6733
  }
6722
6734
  };
@@ -6727,7 +6739,7 @@
6727
6739
  };
6728
6740
  return vue.createVNode("div", {
6729
6741
  "ref": columnsRef,
6730
- "class": bem$N("columns"),
6742
+ "class": bem$O("columns"),
6731
6743
  "style": columnsStyle
6732
6744
  }, [renderSeparators(), renderColumnItems()]);
6733
6745
  };
@@ -6760,13 +6772,13 @@
6760
6772
  target: columnsRef
6761
6773
  });
6762
6774
  return () => vue.createVNode("div", {
6763
- "class": bem$N()
6775
+ "class": bem$O()
6764
6776
  }, [renderColumns()]);
6765
6777
  }
6766
6778
  });
6767
- const TimePicker = withInstall(stdin_default$16);
6768
- var stdin_default$15 = TimePicker;
6769
- const [name$M, bem$M] = createNamespace("date-time-picker-wrapper");
6779
+ const TimePicker = withInstall(stdin_default$17);
6780
+ var stdin_default$16 = TimePicker;
6781
+ const [name$N, bem$N] = createNamespace("date-time-picker-wrapper");
6770
6782
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
6771
6783
  const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6772
6784
  range: Boolean,
@@ -6789,8 +6801,8 @@
6789
6801
  startValue: makeArrayProp(),
6790
6802
  endValue: makeArrayProp()
6791
6803
  });
6792
- var stdin_default$14 = vue.defineComponent({
6793
- name: name$M,
6804
+ var stdin_default$15 = vue.defineComponent({
6805
+ name: name$N,
6794
6806
  props: dateTimePickerProps,
6795
6807
  emits: ["change", "update:modelValue"],
6796
6808
  setup(props, {
@@ -6984,7 +6996,7 @@
6984
6996
  });
6985
6997
  const hasDateColumn = props.columnsType.includes("year") || props.columnsType.includes("month") || props.columnsType.includes("day");
6986
6998
  const hasTimeColumn = props.columnsType.includes("hour") || props.columnsType.includes("minute") || props.columnsType.includes("second");
6987
- const renderTimePicker = () => vue.createVNode(stdin_default$15, {
6999
+ const renderTimePicker = () => vue.createVNode(stdin_default$16, {
6988
7000
  "modelValue": timeValuesRef.value,
6989
7001
  "onUpdate:modelValue": ($event) => timeValuesRef.value = $event,
6990
7002
  "columnsUnit": timeUnits.value,
@@ -6992,10 +7004,10 @@
6992
7004
  "columnsType": timeColumnsType.value
6993
7005
  }, null);
6994
7006
  const renderPicker = () => vue.createVNode("div", {
6995
- "class": bem$M()
7007
+ "class": bem$N()
6996
7008
  }, [hasDateColumn ? vue.createVNode(Divider, {
6997
7009
  "style": "margin: 0"
6998
- }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$19, vue.mergeProps({
7010
+ }, null) : null, hasDateColumn ? vue.createVNode(stdin_default$1a, vue.mergeProps({
6999
7011
  "popup": false,
7000
7012
  "columnsUnit": dateUnits.value,
7001
7013
  "modelValue": dateValuesRef.value,
@@ -7009,9 +7021,9 @@
7009
7021
  return () => renderPicker();
7010
7022
  }
7011
7023
  });
7012
- const [name$L, bem$L] = createNamespace("date-time-picker");
7013
- var stdin_default$13 = vue.defineComponent({
7014
- name: name$L,
7024
+ const [name$M, bem$M] = createNamespace("date-time-picker");
7025
+ var stdin_default$14 = vue.defineComponent({
7026
+ name: name$M,
7015
7027
  props: dateTimePickerProps,
7016
7028
  emits: ["confirm", "cancel", "change", "startChange", "endChange", "update:show", "update:modelValue", "update:startValue", "update:endValue"],
7017
7029
  setup(props, {
@@ -7151,17 +7163,17 @@
7151
7163
  const renderTitle = () => {
7152
7164
  if (!props.range) {
7153
7165
  return vue.createVNode("div", {
7154
- "class": bem$L("title-bar")
7166
+ "class": bem$M("title-bar")
7155
7167
  }, [vue.createVNode("div", {
7156
- "class": [ELLIPSIS, bem$L("title")]
7168
+ "class": [ELLIPSIS, bem$M("title")]
7157
7169
  }, [props.title]), vue.createVNode("div", {
7158
- "class": [ELLIPSIS, bem$L("value")]
7170
+ "class": [ELLIPSIS, bem$M("value")]
7159
7171
  }, [currentText.value])]);
7160
7172
  }
7161
7173
  return vue.createVNode("div", {
7162
- "class": bem$L("title-tab-bar")
7174
+ "class": bem$M("title-tab-bar")
7163
7175
  }, [vue.createVNode("div", {
7164
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
7176
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
7165
7177
  selected: rangeSelectedIndex.value === 0,
7166
7178
  unselected: rangeSelectedIndex.value === 1
7167
7179
  })],
@@ -7169,16 +7181,16 @@
7169
7181
  rangeSelectedIndex.value = 0;
7170
7182
  }
7171
7183
  }, [vue.createVNode("div", {
7172
- "class": [ELLIPSIS, bem$L("title", {
7184
+ "class": [ELLIPSIS, bem$M("title", {
7173
7185
  selected: rangeSelectedIndex.value === 0,
7174
7186
  unselected: rangeSelectedIndex.value === 1
7175
7187
  })]
7176
7188
  }, [vue.createTextVNode("开始时间")]), vue.createVNode("div", {
7177
- "class": [ELLIPSIS, bem$L("value")]
7189
+ "class": [ELLIPSIS, bem$M("value")]
7178
7190
  }, [currentStartText.value])]), vue.createVNode("span", {
7179
- "class": bem$L("title-separator")
7191
+ "class": bem$M("title-separator")
7180
7192
  }, null), vue.createVNode("div", {
7181
- "class": [HAPTICS_FEEDBACK, bem$L("title-bar", {
7193
+ "class": [HAPTICS_FEEDBACK, bem$M("title-bar", {
7182
7194
  selected: rangeSelectedIndex.value === 1,
7183
7195
  unselected: rangeSelectedIndex.value === 0
7184
7196
  })],
@@ -7186,17 +7198,17 @@
7186
7198
  rangeSelectedIndex.value = 1;
7187
7199
  }
7188
7200
  }, [vue.createVNode("div", {
7189
- "class": [ELLIPSIS, bem$L("title", {
7201
+ "class": [ELLIPSIS, bem$M("title", {
7190
7202
  selected: rangeSelectedIndex.value === 1,
7191
7203
  unselected: rangeSelectedIndex.value === 0
7192
7204
  })]
7193
7205
  }, [vue.createTextVNode("结束时间")]), vue.createVNode("div", {
7194
- "class": [ELLIPSIS, bem$L("value")]
7206
+ "class": [ELLIPSIS, bem$M("value")]
7195
7207
  }, [currentEndText.value])])]);
7196
7208
  };
7197
7209
  const renderPicker = () => {
7198
7210
  if (!props.range) {
7199
- return vue.createVNode(stdin_default$14, vue.mergeProps({
7211
+ return vue.createVNode(stdin_default$15, vue.mergeProps({
7200
7212
  "ref": currentPickerRef,
7201
7213
  "modelValue": props.modelValue,
7202
7214
  "onUpdate:modelValue": ($event) => props.modelValue = $event,
@@ -7208,7 +7220,7 @@
7208
7220
  showTitle: false
7209
7221
  })), null);
7210
7222
  }
7211
- return [vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
7223
+ return [vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
7212
7224
  "ref": currentStartPickerRef,
7213
7225
  "modelValue": props.startValue,
7214
7226
  "onUpdate:modelValue": ($event) => props.startValue = $event,
@@ -7218,7 +7230,7 @@
7218
7230
  "minDate": props.minDate
7219
7231
  }, extend(pick(props, pickerInheritKeys), {
7220
7232
  showTitle: false
7221
- })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$14, vue.mergeProps({
7233
+ })), null), [[vue.vShow, rangeSelectedIndex.value === 0]]), vue.withDirectives(vue.createVNode(stdin_default$15, vue.mergeProps({
7222
7234
  "ref": currentEndPickerRef,
7223
7235
  "modelValue": props.endValue,
7224
7236
  "onUpdate:modelValue": ($event) => props.endValue = $event,
@@ -7232,15 +7244,15 @@
7232
7244
  };
7233
7245
  const renderToolbar = () => {
7234
7246
  if (props.showToolbar) {
7235
- return [vue.createVNode(stdin_default$1n, {
7247
+ return [vue.createVNode(stdin_default$1o, {
7236
7248
  "style": "margin: 0"
7237
- }, null), vue.createVNode(stdin_default$1b, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
7249
+ }, null), vue.createVNode(stdin_default$1c, vue.mergeProps(pick(props, pickerToolbarPropKeys$1), {
7238
7250
  "onConfirm": onConfirm,
7239
7251
  "onCancel": onCancel
7240
7252
  }), pick(slots, pickerToolbarSlots$1))];
7241
7253
  }
7242
7254
  };
7243
- return () => vue.createVNode(stdin_default$1K, {
7255
+ return () => vue.createVNode(stdin_default$1L, {
7244
7256
  "round": true,
7245
7257
  "position": "bottom",
7246
7258
  "onOpen": onOpen,
@@ -7251,8 +7263,8 @@
7251
7263
  });
7252
7264
  }
7253
7265
  });
7254
- const DateTimePicker = withInstall(stdin_default$13);
7255
- const [name$K, bem$K, t$5] = createNamespace("dialog");
7266
+ const DateTimePicker = withInstall(stdin_default$14);
7267
+ const [name$L, bem$L, t$5] = createNamespace("dialog");
7256
7268
  const dialogProps = extend({}, popupSharedProps, {
7257
7269
  title: String,
7258
7270
  primaryHeader: Boolean,
@@ -7276,8 +7288,8 @@
7276
7288
  closeOnClickOverlay: Boolean
7277
7289
  });
7278
7290
  const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
7279
- var stdin_default$12 = vue.defineComponent({
7280
- name: name$K,
7291
+ var stdin_default$13 = vue.defineComponent({
7292
+ name: name$L,
7281
7293
  props: dialogProps,
7282
7294
  emits: ["confirm", "cancel", "keydown", "update:show"],
7283
7295
  setup(props, {
@@ -7341,7 +7353,7 @@
7341
7353
  // }])}
7342
7354
  // >
7343
7355
  vue.createVNode("div", {
7344
- "class": bem$K("header", {
7356
+ "class": bem$L("header", {
7345
7357
  isolated: !props.message && !slots.default,
7346
7358
  "custom-title": !!slots.title,
7347
7359
  primary: props.primaryHeader
@@ -7364,7 +7376,7 @@
7364
7376
  } else if (hasTitle) {
7365
7377
  mods["has-title"] = hasTitle;
7366
7378
  }
7367
- const classNames = bem$K("message", mods);
7379
+ const classNames = bem$L("message", mods);
7368
7380
  const content = isFunction(message) ? message() : message;
7369
7381
  if (allowHtml && typeof content === "string") {
7370
7382
  return vue.createVNode("div", {
@@ -7379,7 +7391,7 @@
7379
7391
  const renderContent = () => {
7380
7392
  if (slots.default) {
7381
7393
  return vue.createVNode("div", {
7382
- "class": bem$K("content")
7394
+ "class": bem$L("content")
7383
7395
  }, [slots.default()]);
7384
7396
  }
7385
7397
  const {
@@ -7391,19 +7403,19 @@
7391
7403
  const hasTitle = !!(title || slots.title);
7392
7404
  return vue.createVNode("div", {
7393
7405
  "key": allowHtml ? 1 : 0,
7394
- "class": bem$K("content", {
7406
+ "class": bem$L("content", {
7395
7407
  isolated: !hasTitle
7396
7408
  })
7397
7409
  }, [renderMessage(hasTitle)]);
7398
7410
  }
7399
7411
  };
7400
7412
  const renderButtons = () => vue.createVNode("div", {
7401
- "class": bem$K("footer")
7413
+ "class": bem$L("footer")
7402
7414
  }, [props.showCancelButton && vue.createVNode(Button, {
7403
7415
  "type": "default",
7404
7416
  "hairline": true,
7405
7417
  "text": props.cancelButtonText || t$5("cancel"),
7406
- "class": bem$K("cancel"),
7418
+ "class": bem$L("cancel"),
7407
7419
  "style": {
7408
7420
  color: props.cancelButtonColor
7409
7421
  },
@@ -7413,7 +7425,7 @@
7413
7425
  }, null), props.showConfirmButton && vue.createVNode(Button, {
7414
7426
  "type": "primary",
7415
7427
  "text": props.confirmButtonText || t$5("confirm"),
7416
- "class": bem$K("confirm", {
7428
+ "class": bem$L("confirm", {
7417
7429
  "with-cancel": props.showCancelButton
7418
7430
  }),
7419
7431
  "style": {
@@ -7440,7 +7452,7 @@
7440
7452
  return vue.createVNode(Popup, vue.mergeProps({
7441
7453
  "ref": root,
7442
7454
  "role": "dialog",
7443
- "class": [bem$K([theme]), className],
7455
+ "class": [bem$L([theme]), className],
7444
7456
  "style": {
7445
7457
  width: addUnit(width2)
7446
7458
  },
@@ -7490,7 +7502,7 @@
7490
7502
  state,
7491
7503
  toggle
7492
7504
  } = usePopupState();
7493
- return () => vue.createVNode(stdin_default$12, vue.mergeProps(state, {
7505
+ return () => vue.createVNode(stdin_default$13, vue.mergeProps(state, {
7494
7506
  "onUpdate:show": toggle
7495
7507
  }), null);
7496
7508
  }
@@ -7528,8 +7540,8 @@
7528
7540
  instance$2.toggle(false);
7529
7541
  }
7530
7542
  };
7531
- const Dialog = withInstall(stdin_default$12);
7532
- const [name$J, bem$J] = createNamespace("dropdown-menu");
7543
+ const Dialog = withInstall(stdin_default$13);
7544
+ const [name$K, bem$K] = createNamespace("dropdown-menu");
7533
7545
  const dropdownMenuProps = {
7534
7546
  overlay: truthProp,
7535
7547
  zIndex: numericProp,
@@ -7539,9 +7551,9 @@
7539
7551
  closeOnClickOutside: truthProp,
7540
7552
  closeOnClickOverlay: truthProp
7541
7553
  };
7542
- const DROPDOWN_KEY = Symbol(name$J);
7543
- var stdin_default$11 = vue.defineComponent({
7544
- name: name$J,
7554
+ const DROPDOWN_KEY = Symbol(name$K);
7555
+ var stdin_default$12 = vue.defineComponent({
7556
+ name: name$K,
7545
7557
  props: dropdownMenuProps,
7546
7558
  setup(props, {
7547
7559
  slots
@@ -7608,7 +7620,7 @@
7608
7620
  "id": `${id}-${index}`,
7609
7621
  "role": "button",
7610
7622
  "tabindex": disabled ? void 0 : 0,
7611
- "class": [bem$J("item", {
7623
+ "class": [bem$K("item", {
7612
7624
  disabled
7613
7625
  }), {
7614
7626
  [HAPTICS_FEEDBACK]: !disabled
@@ -7619,7 +7631,7 @@
7619
7631
  }
7620
7632
  }
7621
7633
  }, [vue.createVNode("span", {
7622
- "class": [bem$J("title", {
7634
+ "class": [bem$K("title", {
7623
7635
  down: showPopup === (props.direction === "down"),
7624
7636
  active: showPopup
7625
7637
  }), titleClass],
@@ -7629,8 +7641,8 @@
7629
7641
  }, [vue.createVNode("div", {
7630
7642
  "class": "zt-ellipsis",
7631
7643
  "style": "padding-right: 18px"
7632
- }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1M, {
7633
- "class": bem$J("icon"),
7644
+ }, [slots.title || item.renderTitle(), slots.icon || vue.createVNode(stdin_default$1N, {
7645
+ "class": bem$K("icon"),
7634
7646
  "name": "spinner-expand"
7635
7647
  }, null)])])]);
7636
7648
  };
@@ -7649,18 +7661,18 @@
7649
7661
  var _a;
7650
7662
  return vue.createVNode("div", {
7651
7663
  "ref": root,
7652
- "class": bem$J()
7664
+ "class": bem$K()
7653
7665
  }, [vue.createVNode("div", {
7654
7666
  "ref": barRef,
7655
7667
  "style": barStyle.value,
7656
- "class": bem$J("bar", {
7668
+ "class": bem$K("bar", {
7657
7669
  opened: opened.value
7658
7670
  })
7659
7671
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
7660
7672
  };
7661
7673
  }
7662
7674
  });
7663
- const [name$I, bem$I] = createNamespace("dropdown-item");
7675
+ const [name$J, bem$J] = createNamespace("dropdown-item");
7664
7676
  const dropdownItemProps = {
7665
7677
  title: String,
7666
7678
  options: makeArrayProp(),
@@ -7672,8 +7684,8 @@
7672
7684
  titleClass: unknownProp,
7673
7685
  multiSelect: Boolean
7674
7686
  };
7675
- var stdin_default$10 = vue.defineComponent({
7676
- name: name$I,
7687
+ var stdin_default$11 = vue.defineComponent({
7688
+ name: name$J,
7677
7689
  inheritAttrs: false,
7678
7690
  props: dropdownItemProps,
7679
7691
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue", "reset", "confirm"],
@@ -7805,7 +7817,7 @@
7805
7817
  }
7806
7818
  if (active) {
7807
7819
  return vue.createVNode(Icon, {
7808
- "class": bem$I("icon"),
7820
+ "class": bem$J("icon"),
7809
7821
  "color": activeColor,
7810
7822
  "name": "success"
7811
7823
  }, null);
@@ -7818,7 +7830,7 @@
7818
7830
  "title-icon": option.icon,
7819
7831
  "title": option.text,
7820
7832
  "direction": "horizontal",
7821
- "class": [bem$I("option", {
7833
+ "class": [bem$J("option", {
7822
7834
  active
7823
7835
  }), HAPTICS_FEEDBACK],
7824
7836
  "style": {
@@ -7837,7 +7849,7 @@
7837
7849
  "title-icon": option.icon,
7838
7850
  "title": option.text,
7839
7851
  "direction": "horizontal",
7840
- "class": [bem$I("option", {
7852
+ "class": [bem$J("option", {
7841
7853
  active
7842
7854
  }), HAPTICS_FEEDBACK],
7843
7855
  "style": {
@@ -7886,13 +7898,13 @@
7886
7898
  }
7887
7899
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
7888
7900
  "style": style,
7889
- "class": bem$I([direction]),
7901
+ "class": bem$J([direction]),
7890
7902
  "onClick": onClickWrapper
7891
7903
  }, attrs), [vue.createVNode(Popup, {
7892
7904
  "show": state.showPopup,
7893
7905
  "onUpdate:show": ($event) => state.showPopup = $event,
7894
7906
  "role": "menu",
7895
- "class": bem$I("content"),
7907
+ "class": bem$J("content"),
7896
7908
  "style": contentStyle,
7897
7909
  "overlay": overlay,
7898
7910
  "position": direction === "down" ? "top" : "bottom",
@@ -7911,20 +7923,20 @@
7911
7923
  default: () => {
7912
7924
  var _a;
7913
7925
  return [vue.withDirectives(vue.createVNode("div", null, [props.options.map(renderOption)]), [[vue.vShow, !props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7914
- "class": bem$I("options"),
7926
+ "class": bem$J("options"),
7915
7927
  "style": optionsStyle
7916
7928
  }, [props.options.map(renderOption)]), [[vue.vShow, props.multiSelect]]), vue.withDirectives(vue.createVNode("div", {
7917
- "class": bem$I("button"),
7929
+ "class": bem$J("button"),
7918
7930
  "style": buttonStyle
7919
7931
  }, [vue.createVNode(Button, {
7920
7932
  "onClick": onClickReset,
7921
- "class": bem$I("button-reset")
7933
+ "class": bem$J("button-reset")
7922
7934
  }, {
7923
7935
  default: () => [vue.createTextVNode("重置")]
7924
7936
  }), vue.createVNode(Button, {
7925
7937
  "type": "primary",
7926
7938
  "onClick": onClickConfirm,
7927
- "class": bem$I("button-confirm")
7939
+ "class": bem$J("button-confirm")
7928
7940
  }, {
7929
7941
  default: () => [vue.createTextVNode("确定")]
7930
7942
  })]), [[vue.vShow, props.multiSelect]]), (_a = slots.default) == null ? void 0 : _a.call(slots)];
@@ -7948,8 +7960,8 @@
7948
7960
  };
7949
7961
  }
7950
7962
  });
7951
- const DropdownItem = withInstall(stdin_default$10);
7952
- const DropdownMenu = withInstall(stdin_default$11);
7963
+ const DropdownItem = withInstall(stdin_default$11);
7964
+ const DropdownMenu = withInstall(stdin_default$12);
7953
7965
  const renderNotFound = (bem2) => vue.createVNode("svg", {
7954
7966
  "xmlns": "http://www.w3.org/2000/svg",
7955
7967
  "viewBox": "0 0 160 160",
@@ -9083,7 +9095,7 @@
9083
9095
  "fill": "#FFF",
9084
9096
  "xlink:href": "#4roobwtpf__8hxpuw7vce"
9085
9097
  }, null)])])]);
9086
- const [name$H, bem$H] = createNamespace("empty");
9098
+ const [name$I, bem$I] = createNamespace("empty");
9087
9099
  const PRESET_IMAGES = {
9088
9100
  default: renderNotFound,
9089
9101
  error: renderNotFound,
@@ -9103,8 +9115,8 @@
9103
9115
  imageSize: [Number, String, Array],
9104
9116
  description: String
9105
9117
  };
9106
- var stdin_default$$ = vue.defineComponent({
9107
- name: name$H,
9118
+ var stdin_default$10 = vue.defineComponent({
9119
+ name: name$I,
9108
9120
  props: emptyProps,
9109
9121
  setup(props, {
9110
9122
  slots
@@ -9114,7 +9126,7 @@
9114
9126
  if (slots.image) {
9115
9127
  return slots.image();
9116
9128
  }
9117
- return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$H)) || vue.createVNode("img", {
9129
+ return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$I)) || vue.createVNode("img", {
9118
9130
  "src": props.image
9119
9131
  }, null);
9120
9132
  };
@@ -9122,26 +9134,26 @@
9122
9134
  const description = slots.description ? slots.description() : props.description;
9123
9135
  if (description) {
9124
9136
  return vue.createVNode("p", {
9125
- "class": bem$H("description")
9137
+ "class": bem$I("description")
9126
9138
  }, [description]);
9127
9139
  }
9128
9140
  };
9129
9141
  const renderBottom = () => {
9130
9142
  if (slots.default) {
9131
9143
  return vue.createVNode("div", {
9132
- "class": bem$H("bottom")
9144
+ "class": bem$I("bottom")
9133
9145
  }, [slots.default()]);
9134
9146
  }
9135
9147
  };
9136
9148
  return () => vue.createVNode("div", {
9137
- "class": bem$H()
9149
+ "class": bem$I()
9138
9150
  }, [vue.createVNode("div", {
9139
- "class": bem$H("image"),
9151
+ "class": bem$I("image"),
9140
9152
  "style": getSizeStyle(props.imageSize)
9141
9153
  }, [renderImage()]), renderDescription(), renderBottom()]);
9142
9154
  }
9143
9155
  });
9144
- const Empty = withInstall(stdin_default$$);
9156
+ const Empty = withInstall(stdin_default$10);
9145
9157
  function isEmptyValue(value) {
9146
9158
  if (Array.isArray(value)) {
9147
9159
  return !value.length;
@@ -9230,7 +9242,7 @@
9230
9242
  function cutString(str, maxlength) {
9231
9243
  return [...str].slice(0, maxlength).join("");
9232
9244
  }
9233
- const [name$G, bem$G] = createNamespace("field");
9245
+ const [name$H, bem$H] = createNamespace("field");
9234
9246
  const fieldSharedProps = {
9235
9247
  id: String,
9236
9248
  name: String,
@@ -9280,8 +9292,8 @@
9280
9292
  default: null
9281
9293
  }
9282
9294
  });
9283
- var stdin_default$_ = vue.defineComponent({
9284
- name: name$G,
9295
+ var stdin_default$$ = vue.defineComponent({
9296
+ name: name$H,
9285
9297
  props: fieldProps,
9286
9298
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
9287
9299
  setup(props, {
@@ -9513,7 +9525,7 @@
9513
9525
  const getInputId = () => props.id || `${id}-input`;
9514
9526
  const getValidationStatus = () => state.status;
9515
9527
  const renderInput = () => {
9516
- const controlClass = bem$G("control", [getProp("inputAlign"), {
9528
+ const controlClass = bem$H("control", [getProp("inputAlign"), {
9517
9529
  error: showError.value,
9518
9530
  custom: !!slots.input,
9519
9531
  "min-height": props.type === "textarea" && !props.autosize
@@ -9551,7 +9563,7 @@
9551
9563
  }
9552
9564
  if (props.type === "password") {
9553
9565
  return vue.createVNode("div", {
9554
- "class": bem$G("password")
9566
+ "class": bem$H("password")
9555
9567
  }, [vue.createVNode("input", vue.mergeProps({
9556
9568
  "type": state.showPassword ? "text" : "password"
9557
9569
  }, inputAttrs), null), vue.createVNode(Icon, {
@@ -9565,7 +9577,7 @@
9565
9577
  const leftIconSlot = slots["left-icon"];
9566
9578
  if (props.leftIcon || leftIconSlot) {
9567
9579
  return vue.createVNode("div", {
9568
- "class": bem$G("left-icon"),
9580
+ "class": bem$H("left-icon"),
9569
9581
  "onClick": onClickLeftIcon
9570
9582
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
9571
9583
  "name": props.leftIcon,
@@ -9577,7 +9589,7 @@
9577
9589
  const titleIconSlot = slots["title-icon"];
9578
9590
  if (props.titleIcon || titleIconSlot) {
9579
9591
  return vue.createVNode("div", {
9580
- "class": bem$G("title-icon")
9592
+ "class": bem$H("title-icon")
9581
9593
  }, [titleIconSlot ? titleIconSlot() : vue.createVNode(Icon, {
9582
9594
  "name": props.titleIcon,
9583
9595
  "classPrefix": props.iconPrefix
@@ -9588,7 +9600,7 @@
9588
9600
  const rightIconSlot = slots["right-icon"];
9589
9601
  if (props.rightIcon || rightIconSlot) {
9590
9602
  return vue.createVNode("div", {
9591
- "class": bem$G("right-icon"),
9603
+ "class": bem$H("right-icon"),
9592
9604
  "onClick": onClickRightIcon
9593
9605
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
9594
9606
  "name": props.rightIcon,
@@ -9600,9 +9612,9 @@
9600
9612
  if (props.showWordLimit && props.maxlength) {
9601
9613
  const count = getStringLength(getModelValue());
9602
9614
  return vue.createVNode("div", {
9603
- "class": bem$G("word-limit")
9615
+ "class": bem$H("word-limit")
9604
9616
  }, [vue.createVNode("span", {
9605
- "class": bem$G("word-num", count >= +props.maxlength ? "exceed" : "")
9617
+ "class": bem$H("word-num", count >= +props.maxlength ? "exceed" : "")
9606
9618
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
9607
9619
  }
9608
9620
  };
@@ -9611,7 +9623,7 @@
9611
9623
  return;
9612
9624
  }
9613
9625
  return vue.createVNode("div", {
9614
- "class": [bem$G("description"), props.descriptionClass]
9626
+ "class": [bem$H("description"), props.descriptionClass]
9615
9627
  }, [props.description]);
9616
9628
  };
9617
9629
  const showMessage = vue.computed(() => !(form && form.props.showErrorMessage === false) && (props.errorMessage || state.validateMessage));
@@ -9624,7 +9636,7 @@
9624
9636
  const slot = slots["error-message"];
9625
9637
  const errorMessageAlign = getProp("errorMessageAlign");
9626
9638
  return vue.createVNode("div", {
9627
- "class": bem$G("error-message", errorMessageAlign)
9639
+ "class": bem$H("error-message", errorMessageAlign)
9628
9640
  }, [slot ? slot({
9629
9641
  message
9630
9642
  }) : message]);
@@ -9635,7 +9647,7 @@
9635
9647
  return;
9636
9648
  }
9637
9649
  return vue.createVNode("div", {
9638
- "class": bem$G("bottom")
9650
+ "class": bem$H("bottom")
9639
9651
  }, [renderDescription(), renderMessage()]);
9640
9652
  };
9641
9653
  const renderLabel = () => {
@@ -9651,13 +9663,13 @@
9651
9663
  }
9652
9664
  };
9653
9665
  const renderFieldBody = () => [vue.createVNode("div", {
9654
- "class": bem$G("body")
9666
+ "class": bem$H("body")
9655
9667
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
9656
9668
  "ref": clearIconRef,
9657
9669
  "name": props.clearIcon,
9658
- "class": bem$G("clear")
9670
+ "class": bem$H("clear")
9659
9671
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
9660
- "class": bem$G("button")
9672
+ "class": bem$H("button")
9661
9673
  }, [slots.button()])]), renderWordLimit()];
9662
9674
  useExpose({
9663
9675
  blur,
@@ -9699,7 +9711,7 @@
9699
9711
  "direction": props.direction,
9700
9712
  "title-icon": props.titleIcon,
9701
9713
  "left-icon": props.leftIcon,
9702
- "class": bem$G({
9714
+ "class": bem$H({
9703
9715
  error: showError.value,
9704
9716
  disabled,
9705
9717
  readonly,
@@ -9713,8 +9725,8 @@
9713
9725
  "isLink": props.isLink,
9714
9726
  "clickable": props.clickable,
9715
9727
  "titleStyle": labelStyle.value,
9716
- "valueClass": bem$G("value"),
9717
- "titleClass": [bem$G("label", [labelAlign, {
9728
+ "valueClass": bem$H("value"),
9729
+ "titleClass": [bem$H("label", [labelAlign, {
9718
9730
  required: props.required
9719
9731
  }]), props.labelClass],
9720
9732
  "arrowDirection": props.arrowDirection
@@ -9729,7 +9741,179 @@
9729
9741
  };
9730
9742
  }
9731
9743
  });
9732
- const Field = withInstall(stdin_default$_);
9744
+ const Field = withInstall(stdin_default$$);
9745
+ const floatingBubbleProps = {
9746
+ gap: makeNumberProp(24),
9747
+ icon: String,
9748
+ axis: makeStringProp("y"),
9749
+ magnetic: String,
9750
+ offset: {
9751
+ type: Object,
9752
+ default: () => ({
9753
+ x: -1,
9754
+ y: -1
9755
+ })
9756
+ },
9757
+ teleport: {
9758
+ type: [String, Object],
9759
+ default: "body"
9760
+ }
9761
+ };
9762
+ const [name$G, bem$G] = createNamespace("floating-bubble");
9763
+ var stdin_default$_ = vue.defineComponent({
9764
+ name: name$G,
9765
+ inheritAttrs: false,
9766
+ props: floatingBubbleProps,
9767
+ emits: ["click", "update:offset", "offsetChange"],
9768
+ setup(props, {
9769
+ slots,
9770
+ emit,
9771
+ attrs
9772
+ }) {
9773
+ const rootRef = vue.ref();
9774
+ const state = vue.ref({
9775
+ x: 0,
9776
+ y: 0,
9777
+ width: 0,
9778
+ height: 0
9779
+ });
9780
+ const boundary = vue.computed(() => ({
9781
+ top: props.gap,
9782
+ right: windowWidth.value - state.value.width - props.gap,
9783
+ bottom: windowHeight.value - state.value.height - props.gap,
9784
+ left: props.gap
9785
+ }));
9786
+ const dragging = vue.ref(false);
9787
+ let initialized = false;
9788
+ const rootStyle = vue.computed(() => {
9789
+ const style = {};
9790
+ const x2 = addUnit(state.value.x);
9791
+ const y2 = addUnit(state.value.y);
9792
+ style.transform = `translate3d(${x2}, ${y2}, 0)`;
9793
+ if (dragging.value || !initialized) {
9794
+ style.transition = "none";
9795
+ }
9796
+ return style;
9797
+ });
9798
+ const updateState = () => {
9799
+ if (!show.value)
9800
+ return;
9801
+ const {
9802
+ width: width2,
9803
+ height: height2
9804
+ } = useRect(rootRef.value);
9805
+ const {
9806
+ offset: offset2
9807
+ } = props;
9808
+ state.value = {
9809
+ x: offset2.x > -1 ? offset2.x : windowWidth.value - width2 - props.gap,
9810
+ y: offset2.y > -1 ? offset2.y : windowHeight.value - height2 - props.gap,
9811
+ width: width2,
9812
+ height: height2
9813
+ };
9814
+ };
9815
+ const touch = useTouch();
9816
+ let prevX = 0;
9817
+ let prevY = 0;
9818
+ const onTouchStart = (e2) => {
9819
+ touch.start(e2);
9820
+ dragging.value = true;
9821
+ prevX = state.value.x;
9822
+ prevY = state.value.y;
9823
+ };
9824
+ const onTouchMove = (e2) => {
9825
+ e2.preventDefault();
9826
+ touch.move(e2);
9827
+ if (props.axis === "lock")
9828
+ return;
9829
+ if (!touch.isTap.value) {
9830
+ if (props.axis === "x" || props.axis === "xy") {
9831
+ let nextX = prevX + touch.deltaX.value;
9832
+ if (nextX < boundary.value.left)
9833
+ nextX = boundary.value.left;
9834
+ if (nextX > boundary.value.right)
9835
+ nextX = boundary.value.right;
9836
+ state.value.x = nextX;
9837
+ }
9838
+ if (props.axis === "y" || props.axis === "xy") {
9839
+ let nextY = prevY + touch.deltaY.value;
9840
+ if (nextY < boundary.value.top)
9841
+ nextY = boundary.value.top;
9842
+ if (nextY > boundary.value.bottom)
9843
+ nextY = boundary.value.bottom;
9844
+ state.value.y = nextY;
9845
+ }
9846
+ const offset2 = pick(state.value, ["x", "y"]);
9847
+ emit("update:offset", offset2);
9848
+ }
9849
+ };
9850
+ useEventListener("touchmove", onTouchMove, {
9851
+ target: rootRef
9852
+ });
9853
+ const onTouchEnd = () => {
9854
+ dragging.value = false;
9855
+ vue.nextTick(() => {
9856
+ if (props.magnetic === "x") {
9857
+ const nextX = closest([boundary.value.left, boundary.value.right], state.value.x);
9858
+ state.value.x = nextX;
9859
+ }
9860
+ if (props.magnetic === "y") {
9861
+ const nextY = closest([boundary.value.top, boundary.value.bottom], state.value.y);
9862
+ state.value.y = nextY;
9863
+ }
9864
+ if (!touch.isTap.value) {
9865
+ const offset2 = pick(state.value, ["x", "y"]);
9866
+ emit("update:offset", offset2);
9867
+ if (prevX !== offset2.x || prevY !== offset2.y) {
9868
+ emit("offsetChange", offset2);
9869
+ }
9870
+ }
9871
+ });
9872
+ };
9873
+ const onClick = (e2) => {
9874
+ if (touch.isTap.value)
9875
+ emit("click", e2);
9876
+ else
9877
+ e2.stopPropagation();
9878
+ };
9879
+ vue.onMounted(() => {
9880
+ updateState();
9881
+ vue.nextTick(() => {
9882
+ initialized = true;
9883
+ });
9884
+ });
9885
+ vue.watch([windowWidth, windowHeight, () => props.gap, () => props.offset], updateState);
9886
+ const show = vue.ref(true);
9887
+ vue.onActivated(() => {
9888
+ show.value = true;
9889
+ });
9890
+ vue.onDeactivated(() => {
9891
+ if (props.teleport) {
9892
+ show.value = false;
9893
+ }
9894
+ });
9895
+ return () => {
9896
+ const Content = vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9897
+ "class": bem$G(),
9898
+ "ref": rootRef,
9899
+ "onTouchstartPassive": onTouchStart,
9900
+ "onTouchend": onTouchEnd,
9901
+ "onTouchcancel": onTouchEnd,
9902
+ "onClick": onClick,
9903
+ "style": rootStyle.value
9904
+ }, attrs), [slots.default ? slots.default() : vue.createVNode(stdin_default$1N, {
9905
+ "name": props.icon,
9906
+ "class": bem$G("icon")
9907
+ }, null)]), [[vue.vShow, show.value]]);
9908
+ return props.teleport ? vue.createVNode(vue.Teleport, {
9909
+ "to": props.teleport
9910
+ }, {
9911
+ default: () => [Content]
9912
+ }) : Content;
9913
+ };
9914
+ }
9915
+ });
9916
+ const FloatingBubble = withInstall(stdin_default$_);
9733
9917
  const [name$F, bem$F] = createNamespace("form");
9734
9918
  const formProps = {
9735
9919
  colon: Boolean,
@@ -10114,7 +10298,7 @@
10114
10298
  }
10115
10299
  }, [props.breadcrumbTitle]), props.data.map((item, index) => vue.createVNode("div", {
10116
10300
  "class": bem$C("item")
10117
- }, [vue.createVNode(stdin_default$1M, {
10301
+ }, [vue.createVNode(stdin_default$1N, {
10118
10302
  "class": bem$C("icon"),
10119
10303
  "name": "arrow-right",
10120
10304
  "color": "#C6CED9"
@@ -10371,7 +10555,7 @@
10371
10555
  round: true,
10372
10556
  checked: getChecked(item)
10373
10557
  })
10374
- }, [vue.createVNode(stdin_default$1M, {
10558
+ }, [vue.createVNode(stdin_default$1N, {
10375
10559
  "name": "checkbox-select"
10376
10560
  }, null)]);
10377
10561
  }
@@ -10381,14 +10565,14 @@
10381
10565
  checked: true,
10382
10566
  round: true
10383
10567
  })
10384
- }, [vue.createVNode(stdin_default$1M, {
10568
+ }, [vue.createVNode(stdin_default$1N, {
10385
10569
  "name": "checkbox-select"
10386
10570
  }, null)]) : vue.createVNode("span", {
10387
10571
  "class": bem$B("icon", {
10388
10572
  round: true,
10389
10573
  indeterminate
10390
10574
  })
10391
- }, [vue.createVNode(stdin_default$1M, {
10575
+ }, [vue.createVNode(stdin_default$1N, {
10392
10576
  "name": indeterminate ? "minus" : "check-blank-r",
10393
10577
  "class": bem$B("uncheck-icon")
10394
10578
  }, null)]);
@@ -10628,8 +10812,8 @@
10628
10812
  } = touch;
10629
10813
  const deltaTime = Date.now() - touchStartTime;
10630
10814
  const TAP_TIME = 250;
10631
- const TAP_OFFSET = 5;
10632
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
10815
+ const TAP_OFFSET2 = 5;
10816
+ if (offsetX.value < TAP_OFFSET2 && offsetY.value < TAP_OFFSET2) {
10633
10817
  if (deltaTime < TAP_TIME) {
10634
10818
  if (doubleTapTimer) {
10635
10819
  clearTimeout(doubleTapTimer);
@@ -11720,7 +11904,7 @@
11720
11904
  }
11721
11905
  }
11722
11906
  };
11723
- return () => vue.createVNode(stdin_default$1J, {
11907
+ return () => vue.createVNode(stdin_default$1K, {
11724
11908
  "class": bem$v(),
11725
11909
  "show": props.show,
11726
11910
  "position": "bottom",
@@ -13745,10 +13929,10 @@
13745
13929
  message
13746
13930
  } = media;
13747
13931
  if (status === "uploading" || status === "failed") {
13748
- const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1M, {
13932
+ const MaskIcon = status === "failed" ? vue.createVNode(stdin_default$1N, {
13749
13933
  "name": "close",
13750
13934
  "class": bem$u("mask-icon")
13751
- }, null) : vue.createVNode(stdin_default$1H, {
13935
+ }, null) : vue.createVNode(stdin_default$1I, {
13752
13936
  "class": bem$u("loading")
13753
13937
  }, null);
13754
13938
  const showMessage = isDef(message) && message !== "";
@@ -13767,7 +13951,7 @@
13767
13951
  };
13768
13952
  const renderMediaThumbnail = (media) => {
13769
13953
  if (media.showSrc) {
13770
- return vue.createVNode(stdin_default$1D, {
13954
+ return vue.createVNode(stdin_default$1E, {
13771
13955
  "src": media.showSrc,
13772
13956
  "fit": "cover",
13773
13957
  "radius": "4"
@@ -13857,7 +14041,7 @@
13857
14041
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
13858
14042
  "mediaType": mediaTypeToPlay.value,
13859
14043
  "mediaUrl": mediaUrlToPlay.value
13860
- }, null), vue.createVNode(stdin_default$1F, {
14044
+ }, null), vue.createVNode(stdin_default$1G, {
13861
14045
  "show": actionVisible.value,
13862
14046
  "onUpdate:show": ($event) => actionVisible.value = $event,
13863
14047
  "actions": actionOptions.value,
@@ -14060,7 +14244,7 @@
14060
14244
  };
14061
14245
  const genCancel = () => {
14062
14246
  const text = props.cancelButtonText || "取消";
14063
- return vue.createVNode(stdin_default$1A, {
14247
+ return vue.createVNode(stdin_default$1B, {
14064
14248
  "size": "normal",
14065
14249
  "block": true,
14066
14250
  "style": {
@@ -14073,7 +14257,7 @@
14073
14257
  };
14074
14258
  const genConfirm = () => {
14075
14259
  const text = props.confirmButtonText || "确定";
14076
- return vue.createVNode(stdin_default$1A, {
14260
+ return vue.createVNode(stdin_default$1B, {
14077
14261
  "type": "primary",
14078
14262
  "size": "normal",
14079
14263
  "block": true,
@@ -14122,10 +14306,10 @@
14122
14306
  }, [genOptionItems()]);
14123
14307
  const renderMultiplePicker = () => vue.createVNode("div", {
14124
14308
  "class": bem$s()
14125
- }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1H, {
14309
+ }, [genTitle(), props.loading ? vue.createVNode(stdin_default$1I, {
14126
14310
  "class": bem$s("loading")
14127
14311
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
14128
- return () => vue.createVNode(stdin_default$1J, {
14312
+ return () => vue.createVNode(stdin_default$1K, {
14129
14313
  "show": currentShow.value,
14130
14314
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
14131
14315
  "round": true,
@@ -14292,7 +14476,7 @@
14292
14476
  return slots["left-icon"]();
14293
14477
  }
14294
14478
  if (props.leftIcon) {
14295
- return vue.createVNode(stdin_default$1M, {
14479
+ return vue.createVNode(stdin_default$1N, {
14296
14480
  "class": bem$q("left-icon"),
14297
14481
  "name": props.leftIcon
14298
14482
  }, null);
@@ -14318,7 +14502,7 @@
14318
14502
  }
14319
14503
  const name2 = getRightIconName();
14320
14504
  if (name2) {
14321
- return vue.createVNode(stdin_default$1M, {
14505
+ return vue.createVNode(stdin_default$1N, {
14322
14506
  "name": name2,
14323
14507
  "class": bem$q("right-icon"),
14324
14508
  "onClick": onClickRightIcon
@@ -14506,11 +14690,11 @@
14506
14690
  };
14507
14691
  const Notify = withInstall(stdin_default$x);
14508
14692
  const [name$p, bem$o] = createNamespace("key");
14509
- const CollapseIcon = vue.createVNode(stdin_default$1M, {
14693
+ const CollapseIcon = vue.createVNode(stdin_default$1N, {
14510
14694
  "name": "keyboard-shrink",
14511
14695
  "size": "40"
14512
14696
  }, null);
14513
- const DeleteIcon = vue.createVNode(stdin_default$1M, {
14697
+ const DeleteIcon = vue.createVNode(stdin_default$1N, {
14514
14698
  "name": "backspace",
14515
14699
  "size": "40"
14516
14700
  }, null);
@@ -16720,7 +16904,7 @@
16720
16904
  emit("update:modelValue", props.name);
16721
16905
  }
16722
16906
  };
16723
- return () => vue.createVNode(stdin_default$1i, vue.mergeProps({
16907
+ return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
16724
16908
  "bem": bem$i,
16725
16909
  "role": "radio",
16726
16910
  "parent": parent,
@@ -17116,7 +17300,7 @@
17116
17300
  if (slots.searchEmpty) {
17117
17301
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
17118
17302
  }
17119
- return vue.createVNode(stdin_default$$, {
17303
+ return vue.createVNode(stdin_default$10, {
17120
17304
  "class": bem$f("search-empty"),
17121
17305
  "image": "no-search-result"
17122
17306
  }, {
@@ -17507,7 +17691,7 @@
17507
17691
  };
17508
17692
  return () => {
17509
17693
  if (props.popup) {
17510
- return vue.createVNode(stdin_default$1J, {
17694
+ return vue.createVNode(stdin_default$1K, {
17511
17695
  "show": showPicker.value,
17512
17696
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
17513
17697
  "round": true,
@@ -17729,7 +17913,7 @@
17729
17913
  }
17730
17914
  });
17731
17915
  const Rate = withInstall(stdin_default$k);
17732
- const Row = withInstall(stdin_default$1g);
17916
+ const Row = withInstall(stdin_default$1h);
17733
17917
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
17734
17918
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
17735
17919
  const resultStyle = {
@@ -17995,20 +18179,20 @@
17995
18179
  "height": canvasHeight.value
17996
18180
  }, null), [[vue.vShow, isCanvasSupported.value]])]), vue.createVNode("div", {
17997
18181
  "class": bem$d("actions")
17998
- }, [vue.createVNode(stdin_default$1A, {
18182
+ }, [vue.createVNode(stdin_default$1B, {
17999
18183
  "plain": true,
18000
18184
  "type": "warning",
18001
18185
  "onClick": () => clear(),
18002
18186
  "class": bem$d("button-again")
18003
18187
  }, {
18004
18188
  default: () => [vue.createTextVNode("重签")]
18005
- }), vue.createVNode(stdin_default$1A, {
18189
+ }), vue.createVNode(stdin_default$1B, {
18006
18190
  "type": "default",
18007
18191
  "onClick": cancel,
18008
18192
  "class": bem$d("button-cancel")
18009
18193
  }, {
18010
18194
  default: () => [vue.createTextVNode("取消")]
18011
- }), vue.createVNode(stdin_default$1A, {
18195
+ }), vue.createVNode(stdin_default$1B, {
18012
18196
  "block": true,
18013
18197
  "type": "primary",
18014
18198
  "disabled": isCompleteButtonDisabled.value,
@@ -18512,7 +18696,7 @@
18512
18696
  }
18513
18697
  ],
18514
18698
  "aria-disabled": minusDisabled.value || void 0
18515
- }, createListeners("minus")), [vue.createVNode(stdin_default$1M, {
18699
+ }, createListeners("minus")), [vue.createVNode(stdin_default$1N, {
18516
18700
  "name": "minus",
18517
18701
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18518
18702
  }, null)]), [[vue.vShow, props.showMinus]]), vue.withDirectives(vue.createVNode("input", {
@@ -18545,7 +18729,7 @@
18545
18729
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
18546
18730
  ],
18547
18731
  "aria-disabled": plusDisabled.value || void 0
18548
- }, createListeners("plus")), [vue.createVNode(stdin_default$1M, {
18732
+ }, createListeners("plus")), [vue.createVNode(stdin_default$1N, {
18549
18733
  "name": "plus",
18550
18734
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18551
18735
  }, null)]), [[vue.vShow, props.showPlus]])]);
@@ -19264,7 +19448,7 @@
19264
19448
  }, null);
19265
19449
  const LeftIcon = () => {
19266
19450
  if (props.image) {
19267
- return vue.createVNode(stdin_default$1D, {
19451
+ return vue.createVNode(stdin_default$1E, {
19268
19452
  "class": bem$3("image"),
19269
19453
  "src": props.image
19270
19454
  }, null);
@@ -21044,7 +21228,7 @@
21044
21228
  });
21045
21229
  }
21046
21230
  };
21047
- const version = "3.1.11";
21231
+ const version = "3.1.12";
21048
21232
  function install(app) {
21049
21233
  const components = [
21050
21234
  ActionSheet,
@@ -21068,6 +21252,7 @@
21068
21252
  DropdownMenu,
21069
21253
  Empty,
21070
21254
  Field,
21255
+ FloatingBubble,
21071
21256
  Form,
21072
21257
  Grid,
21073
21258
  GridItem,
@@ -21154,6 +21339,7 @@
21154
21339
  exports2.DropdownMenu = DropdownMenu;
21155
21340
  exports2.Empty = Empty;
21156
21341
  exports2.Field = Field;
21342
+ exports2.FloatingBubble = FloatingBubble;
21157
21343
  exports2.Form = Form;
21158
21344
  exports2.Grid = Grid;
21159
21345
  exports2.GridItem = GridItem;
@@ -21221,6 +21407,7 @@
21221
21407
  exports2.dialogProps = dialogProps;
21222
21408
  exports2.dropdownItemProps = dropdownItemProps;
21223
21409
  exports2.dropdownMenuProps = dropdownMenuProps;
21410
+ exports2.floatingBubbleProps = floatingBubbleProps;
21224
21411
  exports2.gridItemProps = gridItemProps;
21225
21412
  exports2.gridProps = gridProps;
21226
21413
  exports2.imagePreviewProps = imagePreviewProps;