zartui 3.1.18 → 3.1.20

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 (85) hide show
  1. package/es/calendar/Calendar.mjs +1 -2
  2. package/es/date-time-picker/DateTimePicker.mjs +15 -0
  3. package/es/dialog/index.css +1 -1
  4. package/es/drawer-select/DrawerSelect.d.ts +17 -1
  5. package/es/drawer-select/DrawerSelect.mjs +9 -4
  6. package/es/drawer-select/index.d.ts +11 -0
  7. package/es/dropdown-item/DropdownItem.d.ts +26 -0
  8. package/es/dropdown-item/DropdownItem.mjs +11 -9
  9. package/es/dropdown-item/index.d.ts +18 -0
  10. package/es/dropdown-menu/DropdownMenu.mjs +4 -1
  11. package/es/dropdown-menu/index.css +1 -1
  12. package/es/empty/Empty.mjs +5 -1
  13. package/es/empty/Images.d.ts +14 -11
  14. package/es/empty/Images.mjs +89 -89
  15. package/es/empty/types.d.ts +1 -0
  16. package/es/hierarchy-select/index.css +1 -1
  17. package/es/index.d.ts +1 -1
  18. package/es/index.mjs +1 -1
  19. package/es/media-picker/MediaPicker.d.ts +18 -1
  20. package/es/media-picker/MediaPicker.mjs +71 -15
  21. package/es/media-picker/index.d.ts +13 -1
  22. package/es/media-picker/type.d.ts +3 -0
  23. package/es/media-picker/util/wx-util.d.ts +4 -0
  24. package/es/media-picker/util/wx-util.mjs +67 -0
  25. package/es/popup/index.css +1 -1
  26. package/es/slider/Slider.mjs +15 -16
  27. package/es/slider/index.css +1 -1
  28. package/es/table/Table.d.ts +13 -0
  29. package/es/table/Table.mjs +28 -7
  30. package/es/table/index.css +1 -1
  31. package/es/table/index.d.ts +9 -0
  32. package/es/table/style/index.mjs +6 -0
  33. package/es/tabs/TabsTitle.mjs +1 -0
  34. package/es/tabs/index.css +1 -1
  35. package/es/text-ellipsis/TextEllipsis.d.ts +13 -0
  36. package/es/text-ellipsis/TextEllipsis.mjs +15 -4
  37. package/es/text-ellipsis/index.d.ts +9 -0
  38. package/es/text-ellipsis/style/index.mjs +7 -0
  39. package/es/toast/index.css +1 -1
  40. package/lib/calendar/Calendar.js +1 -2
  41. package/lib/date-time-picker/DateTimePicker.js +15 -0
  42. package/lib/dialog/index.css +1 -1
  43. package/lib/drawer-select/DrawerSelect.d.ts +17 -1
  44. package/lib/drawer-select/DrawerSelect.js +9 -4
  45. package/lib/drawer-select/index.d.ts +11 -0
  46. package/lib/dropdown-item/DropdownItem.d.ts +26 -0
  47. package/lib/dropdown-item/DropdownItem.js +10 -8
  48. package/lib/dropdown-item/index.d.ts +18 -0
  49. package/lib/dropdown-menu/DropdownMenu.js +4 -1
  50. package/lib/dropdown-menu/index.css +1 -1
  51. package/lib/empty/Empty.js +5 -1
  52. package/lib/empty/Images.d.ts +14 -11
  53. package/lib/empty/Images.js +89 -89
  54. package/lib/empty/types.d.ts +1 -0
  55. package/lib/hierarchy-select/index.css +1 -1
  56. package/lib/index.css +1 -1
  57. package/lib/index.d.ts +1 -1
  58. package/lib/index.js +1 -1
  59. package/lib/media-picker/MediaPicker.d.ts +18 -1
  60. package/lib/media-picker/MediaPicker.js +70 -14
  61. package/lib/media-picker/index.d.ts +13 -1
  62. package/lib/media-picker/type.d.ts +3 -0
  63. package/lib/media-picker/util/wx-util.d.ts +4 -0
  64. package/lib/media-picker/util/wx-util.js +86 -0
  65. package/lib/popup/index.css +1 -1
  66. package/lib/slider/Slider.js +15 -16
  67. package/lib/slider/index.css +1 -1
  68. package/lib/table/Table.d.ts +13 -0
  69. package/lib/table/Table.js +37 -6
  70. package/lib/table/index.css +1 -1
  71. package/lib/table/index.d.ts +9 -0
  72. package/lib/table/style/index.js +6 -0
  73. package/lib/tabs/TabsTitle.js +1 -0
  74. package/lib/tabs/index.css +1 -1
  75. package/lib/text-ellipsis/TextEllipsis.d.ts +13 -0
  76. package/lib/text-ellipsis/TextEllipsis.js +13 -2
  77. package/lib/text-ellipsis/index.d.ts +9 -0
  78. package/lib/text-ellipsis/style/index.js +7 -0
  79. package/lib/toast/index.css +1 -1
  80. package/lib/web-types.json +1 -1
  81. package/lib/zartui.cjs.js +741 -566
  82. package/lib/zartui.es.js +741 -566
  83. package/lib/zartui.js +741 -566
  84. package/lib/zartui.min.js +1 -1
  85. package/package.json +6 -6
package/lib/zartui.es.js CHANGED
@@ -270,7 +270,7 @@ function deepAssign(to, from) {
270
270
  });
271
271
  return to;
272
272
  }
273
- var stdin_default$1W = {
273
+ var stdin_default$1X = {
274
274
  name: "姓名",
275
275
  tel: "电话",
276
276
  save: "保存",
@@ -317,7 +317,7 @@ var stdin_default$1W = {
317
317
  };
318
318
  const lang = ref("zh-CN");
319
319
  const messages = reactive({
320
- "zh-CN": stdin_default$1W
320
+ "zh-CN": stdin_default$1X
321
321
  });
322
322
  const Locale = {
323
323
  messages() {
@@ -331,11 +331,11 @@ const Locale = {
331
331
  deepAssign(messages, newMessages);
332
332
  }
333
333
  };
334
- var stdin_default$1V = Locale;
334
+ var stdin_default$1W = Locale;
335
335
  function createTranslate(name2) {
336
336
  const prefix = camelize(name2) + ".";
337
337
  return (path, ...args) => {
338
- const messages2 = stdin_default$1V.messages();
338
+ const messages2 = stdin_default$1W.messages();
339
339
  const message = get(messages2, prefix + path) || get(messages2, path);
340
340
  return isFunction(message) ? message(...args) : message;
341
341
  };
@@ -440,7 +440,7 @@ const badgeProps = {
440
440
  badgeClass: String,
441
441
  position: makeStringProp("top-right")
442
442
  };
443
- var stdin_default$1U = defineComponent({
443
+ var stdin_default$1V = defineComponent({
444
444
  name: name$1p,
445
445
  props: badgeProps,
446
446
  setup(props, {
@@ -523,7 +523,7 @@ var stdin_default$1U = defineComponent({
523
523
  };
524
524
  }
525
525
  });
526
- const Badge = withInstall(stdin_default$1U);
526
+ const Badge = withInstall(stdin_default$1V);
527
527
  let globalZIndex = 2e3;
528
528
  const useGlobalZIndex = () => ++globalZIndex;
529
529
  const setGlobalZIndex = (val) => {
@@ -564,7 +564,7 @@ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
564
564
  }
565
565
  });
566
566
  }
567
- var stdin_default$1T = defineComponent({
567
+ var stdin_default$1U = defineComponent({
568
568
  name: name$1o,
569
569
  props: configProviderProps,
570
570
  setup(props, {
@@ -635,7 +635,7 @@ const iconProps = {
635
635
  badgeProps: Object,
636
636
  classPrefix: String
637
637
  };
638
- var stdin_default$1S = defineComponent({
638
+ var stdin_default$1T = defineComponent({
639
639
  name: name$1n,
640
640
  props: iconProps,
641
641
  setup(props, {
@@ -674,8 +674,8 @@ var stdin_default$1S = defineComponent({
674
674
  };
675
675
  }
676
676
  });
677
- const Icon = withInstall(stdin_default$1S);
678
- var stdin_default$1R = Icon;
677
+ const Icon = withInstall(stdin_default$1T);
678
+ var stdin_default$1S = Icon;
679
679
  const popupSharedProps = {
680
680
  // whether to show popup
681
681
  show: Boolean,
@@ -862,7 +862,7 @@ const overlayProps = {
862
862
  lazyRender: truthProp,
863
863
  customStyle: Object
864
864
  };
865
- var stdin_default$1Q = defineComponent({
865
+ var stdin_default$1R = defineComponent({
866
866
  name: name$1m,
867
867
  props: overlayProps,
868
868
  setup(props, {
@@ -892,7 +892,7 @@ var stdin_default$1Q = defineComponent({
892
892
  });
893
893
  }
894
894
  });
895
- const Overlay = withInstall(stdin_default$1Q);
895
+ const Overlay = withInstall(stdin_default$1R);
896
896
  const popupProps$2 = extend({}, popupSharedProps, {
897
897
  round: Boolean,
898
898
  position: makeStringProp("center"),
@@ -911,7 +911,7 @@ const popupProps$2 = extend({}, popupSharedProps, {
911
911
  slideable: Boolean
912
912
  });
913
913
  const [name$1l, bem$1h] = createNamespace("popup");
914
- var stdin_default$1P = defineComponent({
914
+ var stdin_default$1Q = defineComponent({
915
915
  name: name$1l,
916
916
  inheritAttrs: false,
917
917
  props: popupProps$2,
@@ -1166,8 +1166,8 @@ var stdin_default$1P = defineComponent({
1166
1166
  };
1167
1167
  }
1168
1168
  });
1169
- const Popup = withInstall(stdin_default$1P);
1170
- var stdin_default$1O = Popup;
1169
+ const Popup = withInstall(stdin_default$1Q);
1170
+ var stdin_default$1P = Popup;
1171
1171
  const [name$1k, bem$1g] = createNamespace("loading");
1172
1172
  const loadingProps = {
1173
1173
  size: numericProp,
@@ -1237,7 +1237,7 @@ const LoadingIcon = (props) => {
1237
1237
  "d": "M 9 100 A 91 91 0 0 1 9 100"
1238
1238
  }, null)])]);
1239
1239
  };
1240
- var stdin_default$1N = defineComponent({
1240
+ var stdin_default$1O = defineComponent({
1241
1241
  name: name$1k,
1242
1242
  props: loadingProps,
1243
1243
  setup(props, {
@@ -1276,8 +1276,8 @@ var stdin_default$1N = defineComponent({
1276
1276
  };
1277
1277
  }
1278
1278
  });
1279
- const Loading = withInstall(stdin_default$1N);
1280
- var stdin_default$1M = Loading;
1279
+ const Loading = withInstall(stdin_default$1O);
1280
+ var stdin_default$1N = Loading;
1281
1281
  const [name$1j, bem$1f] = createNamespace("action-sheet");
1282
1282
  const actionSheetProps = extend({}, popupSharedProps, {
1283
1283
  title: String,
@@ -1292,7 +1292,7 @@ const actionSheetProps = extend({}, popupSharedProps, {
1292
1292
  safeAreaInsetBottom: truthProp
1293
1293
  });
1294
1294
  const popupInheritKeys$1 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1295
- var stdin_default$1L = defineComponent({
1295
+ var stdin_default$1M = defineComponent({
1296
1296
  name: name$1j,
1297
1297
  props: actionSheetProps,
1298
1298
  emits: ["select", "cancel", "update:show"],
@@ -1409,8 +1409,8 @@ var stdin_default$1L = defineComponent({
1409
1409
  });
1410
1410
  }
1411
1411
  });
1412
- const ActionSheet = withInstall(stdin_default$1L);
1413
- var stdin_default$1K = ActionSheet;
1412
+ const ActionSheet = withInstall(stdin_default$1M);
1413
+ var stdin_default$1L = ActionSheet;
1414
1414
  const [name$1i, bem$1e] = createNamespace("image");
1415
1415
  const imageProps = {
1416
1416
  src: String,
@@ -1430,7 +1430,7 @@ const imageProps = {
1430
1430
  showLoading: truthProp,
1431
1431
  loadingIcon: makeStringProp("photo-default")
1432
1432
  };
1433
- var stdin_default$1J = defineComponent({
1433
+ var stdin_default$1K = defineComponent({
1434
1434
  name: name$1i,
1435
1435
  props: imageProps,
1436
1436
  emits: ["load", "error"],
@@ -1555,8 +1555,8 @@ var stdin_default$1J = defineComponent({
1555
1555
  };
1556
1556
  }
1557
1557
  });
1558
- const Image$1 = withInstall(stdin_default$1J);
1559
- var stdin_default$1I = Image$1;
1558
+ const Image$1 = withInstall(stdin_default$1K);
1559
+ var stdin_default$1J = Image$1;
1560
1560
  const [name$1h, bem$1d] = createNamespace("avatar");
1561
1561
  const avatarProps = {
1562
1562
  src: makeStringProp(""),
@@ -1566,7 +1566,7 @@ const avatarProps = {
1566
1566
  textBgColor: String,
1567
1567
  border: Boolean
1568
1568
  };
1569
- var stdin_default$1H = defineComponent({
1569
+ var stdin_default$1I = defineComponent({
1570
1570
  name: name$1h,
1571
1571
  props: avatarProps,
1572
1572
  setup(props) {
@@ -1607,7 +1607,7 @@ var stdin_default$1H = defineComponent({
1607
1607
  if (!props.src) {
1608
1608
  return renderText();
1609
1609
  }
1610
- return createVNode(stdin_default$1I, {
1610
+ return createVNode(stdin_default$1J, {
1611
1611
  "round": props.shape === "round",
1612
1612
  "class": bem$1d("img", [classArr.value, {
1613
1613
  border: props.border
@@ -1620,7 +1620,7 @@ var stdin_default$1H = defineComponent({
1620
1620
  };
1621
1621
  }
1622
1622
  });
1623
- const Avatar = withInstall(stdin_default$1H);
1623
+ const Avatar = withInstall(stdin_default$1I);
1624
1624
  const routeProps = {
1625
1625
  to: [String, Object],
1626
1626
  url: String,
@@ -1669,7 +1669,7 @@ const buttonProps = extend({}, routeProps, {
1669
1669
  loadingType: String,
1670
1670
  iconPosition: makeStringProp("left")
1671
1671
  });
1672
- var stdin_default$1G = defineComponent({
1672
+ var stdin_default$1H = defineComponent({
1673
1673
  name: name$1g,
1674
1674
  props: buttonProps,
1675
1675
  emits: ["click"],
@@ -1801,8 +1801,8 @@ var stdin_default$1G = defineComponent({
1801
1801
  };
1802
1802
  }
1803
1803
  });
1804
- const Button = withInstall(stdin_default$1G);
1805
- var stdin_default$1F = Button;
1804
+ const Button = withInstall(stdin_default$1H);
1805
+ var stdin_default$1G = Button;
1806
1806
  const monthsOfYear = 12;
1807
1807
  const [name$1f, bem$1b, t$7] = createNamespace("calendar");
1808
1808
  const formatMonthTitle = (date) => t$7("ztCalendar.monthTitle", date.getFullYear(), date.getMonth() + 1);
@@ -1913,7 +1913,7 @@ const toastProps = {
1913
1913
  closeOnClick: Boolean,
1914
1914
  closeOnClickOverlay: Boolean
1915
1915
  };
1916
- var stdin_default$1E = defineComponent({
1916
+ var stdin_default$1F = defineComponent({
1917
1917
  name: name$1e,
1918
1918
  props: toastProps,
1919
1919
  emits: ["update:show"],
@@ -2089,7 +2089,7 @@ function createInstance() {
2089
2089
  onClosed,
2090
2090
  "onUpdate:show": toggle
2091
2091
  };
2092
- return createVNode(stdin_default$1E, mergeProps(state, attrs), null);
2092
+ return createVNode(stdin_default$1F, mergeProps(state, attrs), null);
2093
2093
  };
2094
2094
  watch(message, (val) => {
2095
2095
  state.message = val;
@@ -2159,7 +2159,7 @@ const resetToastDefaultOptions = (type) => {
2159
2159
  const allowMultipleToast = (value = true) => {
2160
2160
  allowMultiple = value;
2161
2161
  };
2162
- const Toast = withInstall(stdin_default$1E);
2162
+ const Toast = withInstall(stdin_default$1F);
2163
2163
  const useHeight = (element, withSafeArea) => {
2164
2164
  const height = ref();
2165
2165
  const setHeight = () => {
@@ -2176,7 +2176,7 @@ const useHeight = (element, withSafeArea) => {
2176
2176
  return height;
2177
2177
  };
2178
2178
  const [name$1d] = createNamespace("calendar-day");
2179
- var stdin_default$1D = defineComponent({
2179
+ var stdin_default$1E = defineComponent({
2180
2180
  name: name$1d,
2181
2181
  props: {
2182
2182
  item: makeRequiredProp(Object),
@@ -2302,7 +2302,7 @@ const calendarMonthProps = {
2302
2302
  firstDayOfWeek: Number,
2303
2303
  disabledDate: Function
2304
2304
  };
2305
- var stdin_default$1C = defineComponent({
2305
+ var stdin_default$1D = defineComponent({
2306
2306
  name: name$1c,
2307
2307
  props: calendarMonthProps,
2308
2308
  emits: ["click"],
@@ -2487,7 +2487,7 @@ var stdin_default$1C = defineComponent({
2487
2487
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - useRect(body).top);
2488
2488
  }
2489
2489
  };
2490
- const renderDay = (item, index) => createVNode(stdin_default$1D, {
2490
+ const renderDay = (item, index) => createVNode(stdin_default$1E, {
2491
2491
  "item": item,
2492
2492
  "index": index,
2493
2493
  "color": props.color,
@@ -2515,7 +2515,7 @@ var stdin_default$1C = defineComponent({
2515
2515
  }
2516
2516
  });
2517
2517
  const [name$1b] = createNamespace("calendar-header");
2518
- var stdin_default$1B = defineComponent({
2518
+ var stdin_default$1C = defineComponent({
2519
2519
  name: name$1b,
2520
2520
  props: {
2521
2521
  title: String,
@@ -2710,7 +2710,7 @@ const calendarProps = {
2710
2710
  },
2711
2711
  disabledDate: Function
2712
2712
  };
2713
- var stdin_default$1A = defineComponent({
2713
+ var stdin_default$1B = defineComponent({
2714
2714
  name: name$1f,
2715
2715
  props: calendarProps,
2716
2716
  emits: ["select", "confirm", "cancel", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
@@ -3063,7 +3063,7 @@ var stdin_default$1A = defineComponent({
3063
3063
  const updateShow = (value) => emit("update:show", value);
3064
3064
  const renderMonth = (date, index) => {
3065
3065
  const showMonthTitle = index !== 0 || !props.showSubtitle;
3066
- return createVNode(stdin_default$1C, mergeProps({
3066
+ return createVNode(stdin_default$1D, mergeProps({
3067
3067
  "ref": setMonthRefs(index),
3068
3068
  "date": date,
3069
3069
  "currentDate": currentDate.value,
@@ -3113,7 +3113,7 @@ var stdin_default$1A = defineComponent({
3113
3113
  }, [renderFooterButton()]);
3114
3114
  const renderCalendar = () => createVNode("div", {
3115
3115
  "class": bem$1b()
3116
- }, [createVNode(stdin_default$1B, {
3116
+ }, [createVNode(stdin_default$1C, {
3117
3117
  "title": props.title,
3118
3118
  "subtitle": subtitle.value,
3119
3119
  "showTitle": props.showTitle,
@@ -3135,8 +3135,7 @@ var stdin_default$1A = defineComponent({
3135
3135
  watch(() => props.show, init);
3136
3136
  watch(() => [props.type, props.minDate, props.maxDate], () => reset(getInitialDate(currentDate.value)));
3137
3137
  watch(() => props.defaultDate, (value = null) => {
3138
- currentDate.value = value;
3139
- scrollToCurrentDate();
3138
+ reset(value);
3140
3139
  });
3141
3140
  watch(titleDate, (newValue) => {
3142
3141
  if (props.showType === "inline" && newValue) {
@@ -3169,7 +3168,7 @@ var stdin_default$1A = defineComponent({
3169
3168
  };
3170
3169
  }
3171
3170
  });
3172
- const Calendar = withInstall(stdin_default$1A);
3171
+ const Calendar = withInstall(stdin_default$1B);
3173
3172
  function scrollLeftTo(scroller, to, duration) {
3174
3173
  let count = 0;
3175
3174
  const from = scroller.scrollLeft;
@@ -3242,7 +3241,7 @@ const stickyProps = {
3242
3241
  offsetTop: makeNumericProp(0),
3243
3242
  offsetBottom: makeNumericProp(0)
3244
3243
  };
3245
- var stdin_default$1z = defineComponent({
3244
+ var stdin_default$1A = defineComponent({
3246
3245
  name: name$1a,
3247
3246
  props: stickyProps,
3248
3247
  emits: ["scroll", "change"],
@@ -3348,9 +3347,9 @@ var stdin_default$1z = defineComponent({
3348
3347
  };
3349
3348
  }
3350
3349
  });
3351
- const Sticky = withInstall(stdin_default$1z);
3350
+ const Sticky = withInstall(stdin_default$1A);
3352
3351
  const [name$19, bem$18] = createNamespace("tab");
3353
- var stdin_default$1y = defineComponent({
3352
+ var stdin_default$1z = defineComponent({
3354
3353
  name: name$19,
3355
3354
  props: {
3356
3355
  id: String,
@@ -3444,6 +3443,7 @@ var stdin_default$1y = defineComponent({
3444
3443
  "aria-disabled": props.disabled || void 0,
3445
3444
  "aria-controls": props.controls
3446
3445
  }, [slots.prefix ? slots.prefix() : null, createVNode("div", {
3446
+ "class": bem$18("title"),
3447
3447
  "style": style.value
3448
3448
  }, [renderText()]), slots.suffix ? slots.suffix() : null]);
3449
3449
  }
@@ -3465,7 +3465,7 @@ const swipeProps = {
3465
3465
  title: Array
3466
3466
  };
3467
3467
  const SWIPE_KEY = Symbol(name$18);
3468
- var stdin_default$1x = defineComponent({
3468
+ var stdin_default$1y = defineComponent({
3469
3469
  name: name$18,
3470
3470
  props: swipeProps,
3471
3471
  emits: ["change", "dragStart", "dragEnd"],
@@ -3824,9 +3824,9 @@ var stdin_default$1x = defineComponent({
3824
3824
  };
3825
3825
  }
3826
3826
  });
3827
- const Swipe = withInstall(stdin_default$1x);
3827
+ const Swipe = withInstall(stdin_default$1y);
3828
3828
  const [name$17, bem$16] = createNamespace("tabs");
3829
- var stdin_default$1w = defineComponent({
3829
+ var stdin_default$1x = defineComponent({
3830
3830
  name: name$17,
3831
3831
  props: {
3832
3832
  count: makeRequiredProp(Number),
@@ -3906,7 +3906,7 @@ const tabsProps = {
3906
3906
  titleInactiveColor: String
3907
3907
  };
3908
3908
  const TABS_KEY = Symbol(name$16);
3909
- var stdin_default$1v = defineComponent({
3909
+ var stdin_default$1w = defineComponent({
3910
3910
  name: name$16,
3911
3911
  props: tabsProps,
3912
3912
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
@@ -4102,7 +4102,7 @@ var stdin_default$1v = defineComponent({
4102
4102
  state.showLeftOverlay = Math.floor(target.scrollLeft) > 0;
4103
4103
  state.showRightOverlay = hasScrollToEnd(target);
4104
4104
  };
4105
- const renderNav = () => children.map((item, index) => createVNode(stdin_default$1y, mergeProps({
4105
+ const renderNav = () => children.map((item, index) => createVNode(stdin_default$1z, mergeProps({
4106
4106
  "key": item.id,
4107
4107
  "id": `${id}-${index}`,
4108
4108
  "ref": setTitleRefs(index),
@@ -4240,7 +4240,7 @@ var stdin_default$1v = defineComponent({
4240
4240
  "ref": navTopRef
4241
4241
  }, [(_a2 = slots["nav-top"]) == null ? void 0 : _a2.call(slots)]) : null, renderHeader(), (_b2 = slots["nav-bottom"]) == null ? void 0 : _b2.call(slots)];
4242
4242
  }
4243
- }) : [(_a = slots["nav-top"]) == null ? void 0 : _a.call(slots), renderHeader(), (_b = slots["nav-bottom"]) == null ? void 0 : _b.call(slots)], createVNode(stdin_default$1w, {
4243
+ }) : [(_a = slots["nav-top"]) == null ? void 0 : _a.call(slots), renderHeader(), (_b = slots["nav-bottom"]) == null ? void 0 : _b.call(slots)], createVNode(stdin_default$1x, {
4244
4244
  "count": children.length,
4245
4245
  "inited": state.inited,
4246
4246
  "animated": props.animated,
@@ -4261,7 +4261,7 @@ var stdin_default$1v = defineComponent({
4261
4261
  const TAB_STATUS_KEY = Symbol();
4262
4262
  const useTabStatus = () => inject(TAB_STATUS_KEY, null);
4263
4263
  const [name$15, bem$14] = createNamespace("swipe-item");
4264
- var stdin_default$1u = defineComponent({
4264
+ var stdin_default$1v = defineComponent({
4265
4265
  name: name$15,
4266
4266
  setup(props, {
4267
4267
  slots
@@ -4333,7 +4333,7 @@ var stdin_default$1u = defineComponent({
4333
4333
  };
4334
4334
  }
4335
4335
  });
4336
- const SwipeItem = withInstall(stdin_default$1u);
4336
+ const SwipeItem = withInstall(stdin_default$1v);
4337
4337
  const [name$14, bem$13] = createNamespace("tab");
4338
4338
  const tabProps = extend({}, routeProps, {
4339
4339
  dot: Boolean,
@@ -4345,7 +4345,7 @@ const tabProps = extend({}, routeProps, {
4345
4345
  titleStyle: [String, Object],
4346
4346
  showZeroBadge: truthProp
4347
4347
  });
4348
- var stdin_default$1t = defineComponent({
4348
+ var stdin_default$1u = defineComponent({
4349
4349
  name: name$14,
4350
4350
  props: tabProps,
4351
4351
  setup(props, {
@@ -4434,15 +4434,15 @@ var stdin_default$1t = defineComponent({
4434
4434
  };
4435
4435
  }
4436
4436
  });
4437
- const Tab = withInstall(stdin_default$1t);
4438
- const Tabs = withInstall(stdin_default$1v);
4437
+ const Tab = withInstall(stdin_default$1u);
4438
+ const Tabs = withInstall(stdin_default$1w);
4439
4439
  const [name$13, bem$12] = createNamespace("divider");
4440
4440
  const dividerProps = {
4441
4441
  dashed: Boolean,
4442
4442
  hairline: truthProp,
4443
4443
  contentPosition: makeStringProp("center")
4444
4444
  };
4445
- var stdin_default$1s = defineComponent({
4445
+ var stdin_default$1t = defineComponent({
4446
4446
  name: name$13,
4447
4447
  props: dividerProps,
4448
4448
  setup(props, {
@@ -4461,7 +4461,7 @@ var stdin_default$1s = defineComponent({
4461
4461
  };
4462
4462
  }
4463
4463
  });
4464
- const Divider = withInstall(stdin_default$1s);
4464
+ const Divider = withInstall(stdin_default$1t);
4465
4465
  const [name$12, bem$11, t$6] = createNamespace("cascader");
4466
4466
  const cascaderProps = {
4467
4467
  title: String,
@@ -4482,7 +4482,7 @@ const cascaderProps = {
4482
4482
  safeAreaInsetTop: Boolean,
4483
4483
  closeOnClickOverlay: truthProp
4484
4484
  };
4485
- var stdin_default$1r = defineComponent({
4485
+ var stdin_default$1s = defineComponent({
4486
4486
  name: name$12,
4487
4487
  props: cascaderProps,
4488
4488
  emits: ["change", "finish", "clickTab", "update:modelValue", "update:show", "cancel"],
@@ -4672,7 +4672,7 @@ var stdin_default$1r = defineComponent({
4672
4672
  }, {
4673
4673
  default: () => [tabs.value.map(renderTab)]
4674
4674
  });
4675
- const renderMenu = () => createVNode(stdin_default$1G, {
4675
+ const renderMenu = () => createVNode(stdin_default$1H, {
4676
4676
  "class": bem$11("cancel"),
4677
4677
  "onClick": onCancel
4678
4678
  }, {
@@ -4731,7 +4731,7 @@ var stdin_default$1r = defineComponent({
4731
4731
  };
4732
4732
  }
4733
4733
  });
4734
- const Cascader = withInstall(stdin_default$1r);
4734
+ const Cascader = withInstall(stdin_default$1s);
4735
4735
  function isEmptyValue(value) {
4736
4736
  if (Array.isArray(value)) {
4737
4737
  return !value.length;
@@ -4851,7 +4851,7 @@ const cellSharedProps = {
4851
4851
  description: makeStringProp("")
4852
4852
  };
4853
4853
  const cellProps = extend({}, cellSharedProps, routeProps);
4854
- var stdin_default$1q = defineComponent({
4854
+ var stdin_default$1r = defineComponent({
4855
4855
  name: name$11,
4856
4856
  props: cellProps,
4857
4857
  emits: ["click", "clear"],
@@ -5059,14 +5059,14 @@ var stdin_default$1q = defineComponent({
5059
5059
  };
5060
5060
  }
5061
5061
  });
5062
- const Cell = withInstall(stdin_default$1q);
5062
+ const Cell = withInstall(stdin_default$1r);
5063
5063
  const [name$10, bem$$] = createNamespace("cell-group");
5064
5064
  const cellGroupProps = {
5065
5065
  title: String,
5066
5066
  inset: Boolean,
5067
5067
  border: truthProp
5068
5068
  };
5069
- var stdin_default$1p = defineComponent({
5069
+ var stdin_default$1q = defineComponent({
5070
5070
  name: name$10,
5071
5071
  inheritAttrs: false,
5072
5072
  props: cellGroupProps,
@@ -5097,7 +5097,7 @@ var stdin_default$1p = defineComponent({
5097
5097
  };
5098
5098
  }
5099
5099
  });
5100
- const CellGroup = withInstall(stdin_default$1p);
5100
+ const CellGroup = withInstall(stdin_default$1q);
5101
5101
  const [name$$, bem$_] = createNamespace("checkbox-group");
5102
5102
  const checkboxGroupProps = {
5103
5103
  max: numericProp,
@@ -5108,7 +5108,7 @@ const checkboxGroupProps = {
5108
5108
  checkedColor: String
5109
5109
  };
5110
5110
  const CHECKBOX_GROUP_KEY = Symbol(name$$);
5111
- var stdin_default$1o = defineComponent({
5111
+ var stdin_default$1p = defineComponent({
5112
5112
  name: name$$,
5113
5113
  props: checkboxGroupProps,
5114
5114
  emits: ["change", "update:modelValue"],
@@ -5170,7 +5170,7 @@ const checkerProps = {
5170
5170
  labelPosition: String,
5171
5171
  labelDisabled: Boolean
5172
5172
  };
5173
- var stdin_default$1n = defineComponent({
5173
+ var stdin_default$1o = defineComponent({
5174
5174
  props: extend({}, checkerProps, {
5175
5175
  bem: makeRequiredProp(Function),
5176
5176
  role: String,
@@ -5279,7 +5279,7 @@ const checkboxProps = extend({}, checkerProps, {
5279
5279
  default: null
5280
5280
  }
5281
5281
  });
5282
- var stdin_default$1m = defineComponent({
5282
+ var stdin_default$1n = defineComponent({
5283
5283
  name: name$_,
5284
5284
  props: checkboxProps,
5285
5285
  emits: ["change", "update:modelValue"],
@@ -5344,7 +5344,7 @@ var stdin_default$1m = defineComponent({
5344
5344
  checked
5345
5345
  });
5346
5346
  useCustomFieldValue(() => props.modelValue);
5347
- return () => createVNode(stdin_default$1n, mergeProps({
5347
+ return () => createVNode(stdin_default$1o, mergeProps({
5348
5348
  "bem": bem$Z,
5349
5349
  "role": "checkbox",
5350
5350
  "parent": parent,
@@ -5353,8 +5353,8 @@ var stdin_default$1m = defineComponent({
5353
5353
  }, props), pick(slots, ["default", "icon"]));
5354
5354
  }
5355
5355
  });
5356
- const Checkbox = withInstall(stdin_default$1m);
5357
- const CheckboxGroup = withInstall(stdin_default$1o);
5356
+ const Checkbox = withInstall(stdin_default$1n);
5357
+ const CheckboxGroup = withInstall(stdin_default$1p);
5358
5358
  const [name$Z, bem$Y] = createNamespace("row");
5359
5359
  const ROW_KEY = Symbol(name$Z);
5360
5360
  const rowProps = {
@@ -5364,7 +5364,7 @@ const rowProps = {
5364
5364
  gutter: makeNumericProp(0),
5365
5365
  justify: String
5366
5366
  };
5367
- var stdin_default$1l = defineComponent({
5367
+ var stdin_default$1m = defineComponent({
5368
5368
  name: name$Z,
5369
5369
  props: rowProps,
5370
5370
  setup(props, {
@@ -5444,7 +5444,7 @@ const colProps = {
5444
5444
  span: makeNumericProp(0),
5445
5445
  offset: numericProp
5446
5446
  };
5447
- var stdin_default$1k = defineComponent({
5447
+ var stdin_default$1l = defineComponent({
5448
5448
  name: name$Y,
5449
5449
  props: colProps,
5450
5450
  setup(props, {
@@ -5493,7 +5493,7 @@ var stdin_default$1k = defineComponent({
5493
5493
  };
5494
5494
  }
5495
5495
  });
5496
- const Col = withInstall(stdin_default$1k);
5496
+ const Col = withInstall(stdin_default$1l);
5497
5497
  const [name$X, bem$W] = createNamespace("collapse");
5498
5498
  const COLLAPSE_KEY = Symbol(name$X);
5499
5499
  const collapseProps = {
@@ -5515,7 +5515,7 @@ function validateModelValue(modelValue, accordion) {
5515
5515
  }
5516
5516
  return true;
5517
5517
  }
5518
- var stdin_default$1j = defineComponent({
5518
+ var stdin_default$1k = defineComponent({
5519
5519
  name: name$X,
5520
5520
  props: collapseProps,
5521
5521
  emits: ["change", "update:modelValue"],
@@ -5593,7 +5593,7 @@ var stdin_default$1j = defineComponent({
5593
5593
  };
5594
5594
  }
5595
5595
  });
5596
- const Collapse = withInstall(stdin_default$1j);
5596
+ const Collapse = withInstall(stdin_default$1k);
5597
5597
  const [name$W, bem$V] = createNamespace("collapse-item");
5598
5598
  const collapseItemProps = extend({}, {
5599
5599
  name: numericProp,
@@ -5604,7 +5604,7 @@ const collapseItemProps = extend({}, {
5604
5604
  titleBackground: String,
5605
5605
  color: String
5606
5606
  });
5607
- var stdin_default$1i = defineComponent({
5607
+ var stdin_default$1j = defineComponent({
5608
5608
  name: name$W,
5609
5609
  props: collapseItemProps,
5610
5610
  setup(props, {
@@ -5690,7 +5690,7 @@ var stdin_default$1i = defineComponent({
5690
5690
  "class": bem$V("text", {
5691
5691
  custom: titleBackground
5692
5692
  })
5693
- }, [props.title]), createVNode(stdin_default$1S, {
5693
+ }, [props.title]), createVNode(stdin_default$1T, {
5694
5694
  "name": "keyboard-arrow-down",
5695
5695
  "style": color ? `color:${color};` : "",
5696
5696
  "class": bem$V("icon", {
@@ -5720,8 +5720,8 @@ var stdin_default$1i = defineComponent({
5720
5720
  }, [renderTitle(), renderContent()]);
5721
5721
  }
5722
5722
  });
5723
- const CollapseItem = withInstall(stdin_default$1i);
5724
- const ConfigProvider = withInstall(stdin_default$1T);
5723
+ const CollapseItem = withInstall(stdin_default$1j);
5724
+ const ConfigProvider = withInstall(stdin_default$1U);
5725
5725
  const [name$V, bem$U, t$5] = createNamespace("picker");
5726
5726
  const getFirstEnabledOption$1 = (options) => options.find((option) => !option.disabled) || options[0];
5727
5727
  function getColumnsType$1(columns, fields) {
@@ -5793,7 +5793,7 @@ const MOMENTUM_TIME$2 = 300;
5793
5793
  const MOMENTUM_DISTANCE$2 = 15;
5794
5794
  const [name$U, bem$T] = createNamespace("picker-column");
5795
5795
  const PICKER_KEY$1 = Symbol(name$U);
5796
- var stdin_default$1h = defineComponent({
5796
+ var stdin_default$1i = defineComponent({
5797
5797
  name: name$U,
5798
5798
  props: {
5799
5799
  value: numericProp,
@@ -5997,7 +5997,7 @@ const pickerToolbarProps$1 = {
5997
5997
  };
5998
5998
  const pickerToolbarSlots$1 = ["cancel", "confirm", "title", "toolbar"];
5999
5999
  const pickerToolbarPropKeys$1 = Object.keys(pickerToolbarProps$1);
6000
- var stdin_default$1g = defineComponent({
6000
+ var stdin_default$1h = defineComponent({
6001
6001
  name: name$T,
6002
6002
  props: pickerToolbarProps$1,
6003
6003
  emits: ["confirm", "cancel"],
@@ -6043,7 +6043,7 @@ const pickerOptionsProps = {
6043
6043
  columnCounts: makeNumberProp(3),
6044
6044
  options: makeArrayProp()
6045
6045
  };
6046
- var stdin_default$1f = defineComponent({
6046
+ var stdin_default$1g = defineComponent({
6047
6047
  name: name$S,
6048
6048
  props: pickerOptionsProps,
6049
6049
  emits: ["change", "clickOption"],
@@ -6142,7 +6142,7 @@ const pickerProps = extend({}, pickerSharedProps$1, {
6142
6142
  showType: makeStringProp("default"),
6143
6143
  columnCounts: makeNumberProp(3)
6144
6144
  });
6145
- var stdin_default$1e = defineComponent({
6145
+ var stdin_default$1f = defineComponent({
6146
6146
  name: name$V,
6147
6147
  props: pickerProps,
6148
6148
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
@@ -6235,7 +6235,7 @@ var stdin_default$1e = defineComponent({
6235
6235
  };
6236
6236
  const updateShow = (value) => emit("update:showPicker", value);
6237
6237
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6238
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1h, {
6238
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$1i, {
6239
6239
  "value": selectedValues.value[columnIndex],
6240
6240
  "fields": fields.value,
6241
6241
  "options": options,
@@ -6280,7 +6280,7 @@ var stdin_default$1e = defineComponent({
6280
6280
  };
6281
6281
  const renderToolbar = () => {
6282
6282
  if (props.showToolbar) {
6283
- return createVNode(stdin_default$1g, mergeProps(pick(props, pickerToolbarPropKeys$1), {
6283
+ return createVNode(stdin_default$1h, mergeProps(pick(props, pickerToolbarPropKeys$1), {
6284
6284
  "onConfirm": confirm,
6285
6285
  "onCancel": cancel
6286
6286
  }), pick(slots, pickerToolbarSlots$1));
@@ -6347,7 +6347,7 @@ var stdin_default$1e = defineComponent({
6347
6347
  };
6348
6348
  const renderOptionItems = () => {
6349
6349
  return currentColumns.value.map((options, columnIndex) => {
6350
- return createVNode(stdin_default$1f, {
6350
+ return createVNode(stdin_default$1g, {
6351
6351
  "ref": pickerOptions,
6352
6352
  "value": selectedValues.value[columnIndex],
6353
6353
  "columnCounts": props.columnCounts,
@@ -6377,7 +6377,7 @@ var stdin_default$1e = defineComponent({
6377
6377
  return () => {
6378
6378
  if (isButtonPicker.value) {
6379
6379
  if (props.popup) {
6380
- return createVNode(stdin_default$1O, {
6380
+ return createVNode(stdin_default$1P, {
6381
6381
  "show": showPicker.value,
6382
6382
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6383
6383
  "round": true,
@@ -6389,7 +6389,7 @@ var stdin_default$1e = defineComponent({
6389
6389
  return renderTiledPicker();
6390
6390
  } else {
6391
6391
  if (props.popup) {
6392
- return createVNode(stdin_default$1O, {
6392
+ return createVNode(stdin_default$1P, {
6393
6393
  "show": showPicker.value,
6394
6394
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
6395
6395
  "round": true,
@@ -6445,9 +6445,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6445
6445
  }
6446
6446
  return value;
6447
6447
  });
6448
- const Picker = withInstall(stdin_default$1e);
6449
- var stdin_default$1d = Picker;
6450
- var stdin_default$1c = defineComponent({
6448
+ const Picker = withInstall(stdin_default$1f);
6449
+ var stdin_default$1e = Picker;
6450
+ var stdin_default$1d = defineComponent({
6451
6451
  name: "Arrow",
6452
6452
  emits: ["click"],
6453
6453
  setup(_, {
@@ -6474,7 +6474,7 @@ const TIME_PICKER_KEY = Symbol(name$R);
6474
6474
  const MOMENTUM_TIME$1 = 300;
6475
6475
  const MOMENTUM_DISTANCE$1 = 15;
6476
6476
  const DEFAULT_DURATION$1 = 200;
6477
- var stdin_default$1b = defineComponent({
6477
+ var stdin_default$1c = defineComponent({
6478
6478
  name: name$R,
6479
6479
  props: {
6480
6480
  value: numericProp,
@@ -6649,10 +6649,10 @@ var stdin_default$1b = defineComponent({
6649
6649
  currentDuration.value = DEFAULT_DURATION$1;
6650
6650
  updateValueByIndex(isUp ? index - 1 : index + 1);
6651
6651
  };
6652
- const renderArrow = () => [createVNode(stdin_default$1c, {
6652
+ const renderArrow = () => [createVNode(stdin_default$1d, {
6653
6653
  "class": bem$R("arrow-top"),
6654
6654
  "onClick": () => onArrowClick(true)
6655
- }, null), createVNode(stdin_default$1c, {
6655
+ }, null), createVNode(stdin_default$1d, {
6656
6656
  "class": bem$R("arrow-bottom"),
6657
6657
  "onClick": () => onArrowClick(false)
6658
6658
  }, null)];
@@ -6707,7 +6707,7 @@ const timePickerProps = extend({}, sharedProps, {
6707
6707
  default: () => ["hour", "minute"]
6708
6708
  }
6709
6709
  });
6710
- var stdin_default$1a = defineComponent({
6710
+ var stdin_default$1b = defineComponent({
6711
6711
  name: name$Q,
6712
6712
  props: timePickerProps,
6713
6713
  emits: ["clickOption", "change", "update:modelValue"],
@@ -6782,7 +6782,7 @@ var stdin_default$1a = defineComponent({
6782
6782
  currentOption
6783
6783
  }, getEventParams()));
6784
6784
  const hasUnit = props.columnsUnit.length === currentColumns.value.length;
6785
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(Fragment, null, [createVNode(stdin_default$1b, {
6785
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(Fragment, null, [createVNode(stdin_default$1c, {
6786
6786
  "value": selectedValues.value[columnIndex],
6787
6787
  "fields": fields.value,
6788
6788
  "options": options,
@@ -6851,8 +6851,8 @@ var stdin_default$1a = defineComponent({
6851
6851
  }, [renderColumns()]);
6852
6852
  }
6853
6853
  });
6854
- const TimePicker = withInstall(stdin_default$1a);
6855
- var stdin_default$19 = TimePicker;
6854
+ const TimePicker = withInstall(stdin_default$1b);
6855
+ var stdin_default$1a = TimePicker;
6856
6856
  const [name$P, bem$P] = createNamespace("date-time-picker-wrapper");
6857
6857
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
6858
6858
  const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
@@ -6876,7 +6876,7 @@ const dateTimePickerProps = extend({}, sharedProps, popupSharedProps, {
6876
6876
  startValue: makeArrayProp(),
6877
6877
  endValue: makeArrayProp()
6878
6878
  });
6879
- var stdin_default$18 = defineComponent({
6879
+ var stdin_default$19 = defineComponent({
6880
6880
  name: name$P,
6881
6881
  props: dateTimePickerProps,
6882
6882
  emits: ["change", "update:modelValue"],
@@ -7071,7 +7071,7 @@ var stdin_default$18 = defineComponent({
7071
7071
  });
7072
7072
  const hasDateColumn = props.columnsType.includes("year") || props.columnsType.includes("month") || props.columnsType.includes("day");
7073
7073
  const hasTimeColumn = props.columnsType.includes("hour") || props.columnsType.includes("minute") || props.columnsType.includes("second");
7074
- const renderTimePicker = () => createVNode(stdin_default$19, {
7074
+ const renderTimePicker = () => createVNode(stdin_default$1a, {
7075
7075
  "modelValue": timeValuesRef.value,
7076
7076
  "onUpdate:modelValue": ($event) => timeValuesRef.value = $event,
7077
7077
  "columnsUnit": timeUnits.value,
@@ -7082,7 +7082,7 @@ var stdin_default$18 = defineComponent({
7082
7082
  "class": bem$P()
7083
7083
  }, [hasDateColumn ? createVNode(Divider, {
7084
7084
  "style": "margin: 0"
7085
- }, null) : null, hasDateColumn ? createVNode(stdin_default$1d, mergeProps({
7085
+ }, null) : null, hasDateColumn ? createVNode(stdin_default$1e, mergeProps({
7086
7086
  "popup": false,
7087
7087
  "columnsUnit": dateUnits.value,
7088
7088
  "modelValue": dateValuesRef.value,
@@ -7097,7 +7097,7 @@ var stdin_default$18 = defineComponent({
7097
7097
  }
7098
7098
  });
7099
7099
  const [name$O, bem$O] = createNamespace("date-time-picker");
7100
- var stdin_default$17 = defineComponent({
7100
+ var stdin_default$18 = defineComponent({
7101
7101
  name: name$O,
7102
7102
  props: dateTimePickerProps,
7103
7103
  emits: ["confirm", "cancel", "change", "startChange", "endChange", "update:show", "update:modelValue", "update:startValue", "update:endValue"],
@@ -7235,6 +7235,21 @@ var stdin_default$17 = defineComponent({
7235
7235
  }
7236
7236
  }
7237
7237
  };
7238
+ watch(() => props.modelValue, onOpen, {
7239
+ deep: true
7240
+ });
7241
+ watch(() => props.startValue, () => {
7242
+ currentStartValue.value = props.startValue;
7243
+ currentStartText.value = genOriginValueText(props.startValue);
7244
+ }, {
7245
+ deep: true
7246
+ });
7247
+ watch(() => props.endValue, () => {
7248
+ currentEndValue.value = props.endValue;
7249
+ currentEndText.value = genOriginValueText(props.endValue);
7250
+ }, {
7251
+ deep: true
7252
+ });
7238
7253
  const renderTitle = () => {
7239
7254
  if (!props.range) {
7240
7255
  return createVNode("div", {
@@ -7283,7 +7298,7 @@ var stdin_default$17 = defineComponent({
7283
7298
  };
7284
7299
  const renderPicker = () => {
7285
7300
  if (!props.range) {
7286
- return createVNode(stdin_default$18, mergeProps({
7301
+ return createVNode(stdin_default$19, mergeProps({
7287
7302
  "ref": currentPickerRef,
7288
7303
  "modelValue": props.modelValue,
7289
7304
  "onUpdate:modelValue": ($event) => props.modelValue = $event,
@@ -7295,7 +7310,7 @@ var stdin_default$17 = defineComponent({
7295
7310
  showTitle: false
7296
7311
  })), null);
7297
7312
  }
7298
- return [withDirectives(createVNode(stdin_default$18, mergeProps({
7313
+ return [withDirectives(createVNode(stdin_default$19, mergeProps({
7299
7314
  "ref": currentStartPickerRef,
7300
7315
  "modelValue": props.startValue,
7301
7316
  "onUpdate:modelValue": ($event) => props.startValue = $event,
@@ -7305,7 +7320,7 @@ var stdin_default$17 = defineComponent({
7305
7320
  "minDate": props.minDate
7306
7321
  }, extend(pick(props, pickerInheritKeys), {
7307
7322
  showTitle: false
7308
- })), null), [[vShow, rangeSelectedIndex.value === 0]]), withDirectives(createVNode(stdin_default$18, mergeProps({
7323
+ })), null), [[vShow, rangeSelectedIndex.value === 0]]), withDirectives(createVNode(stdin_default$19, mergeProps({
7309
7324
  "ref": currentEndPickerRef,
7310
7325
  "modelValue": props.endValue,
7311
7326
  "onUpdate:modelValue": ($event) => props.endValue = $event,
@@ -7319,15 +7334,15 @@ var stdin_default$17 = defineComponent({
7319
7334
  };
7320
7335
  const renderToolbar = () => {
7321
7336
  if (props.showToolbar) {
7322
- return [createVNode(stdin_default$1s, {
7337
+ return [createVNode(stdin_default$1t, {
7323
7338
  "style": "margin: 0"
7324
- }, null), createVNode(stdin_default$1g, mergeProps(pick(props, pickerToolbarPropKeys$1), {
7339
+ }, null), createVNode(stdin_default$1h, mergeProps(pick(props, pickerToolbarPropKeys$1), {
7325
7340
  "onConfirm": onConfirm,
7326
7341
  "onCancel": onCancel
7327
7342
  }), pick(slots, pickerToolbarSlots$1))];
7328
7343
  }
7329
7344
  };
7330
- return () => createVNode(stdin_default$1P, {
7345
+ return () => createVNode(stdin_default$1Q, {
7331
7346
  "round": true,
7332
7347
  "position": "bottom",
7333
7348
  "onOpen": onOpen,
@@ -7338,7 +7353,7 @@ var stdin_default$17 = defineComponent({
7338
7353
  });
7339
7354
  }
7340
7355
  });
7341
- const DateTimePicker = withInstall(stdin_default$17);
7356
+ const DateTimePicker = withInstall(stdin_default$18);
7342
7357
  const [name$N, bem$N, t$4] = createNamespace("dialog");
7343
7358
  const dialogProps = extend({}, popupSharedProps, {
7344
7359
  title: String,
@@ -7363,7 +7378,7 @@ const dialogProps = extend({}, popupSharedProps, {
7363
7378
  closeOnClickOverlay: Boolean
7364
7379
  });
7365
7380
  const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
7366
- var stdin_default$16 = defineComponent({
7381
+ var stdin_default$17 = defineComponent({
7367
7382
  name: name$N,
7368
7383
  props: dialogProps,
7369
7384
  emits: ["confirm", "cancel", "keydown", "update:show"],
@@ -7577,7 +7592,7 @@ function initInstance$2() {
7577
7592
  state,
7578
7593
  toggle
7579
7594
  } = usePopupState();
7580
- return () => createVNode(stdin_default$16, mergeProps(state, {
7595
+ return () => createVNode(stdin_default$17, mergeProps(state, {
7581
7596
  "onUpdate:show": toggle
7582
7597
  }), null);
7583
7598
  }
@@ -7615,7 +7630,7 @@ const closeDialog = () => {
7615
7630
  instance$2.toggle(false);
7616
7631
  }
7617
7632
  };
7618
- const Dialog = withInstall(stdin_default$16);
7633
+ const Dialog = withInstall(stdin_default$17);
7619
7634
  const [name$M, bem$M] = createNamespace("field");
7620
7635
  const fieldSharedProps = {
7621
7636
  id: String,
@@ -7666,7 +7681,7 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
7666
7681
  default: null
7667
7682
  }
7668
7683
  });
7669
- var stdin_default$15 = defineComponent({
7684
+ var stdin_default$16 = defineComponent({
7670
7685
  name: name$M,
7671
7686
  props: fieldProps,
7672
7687
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
@@ -8123,7 +8138,7 @@ var stdin_default$15 = defineComponent({
8123
8138
  };
8124
8139
  }
8125
8140
  });
8126
- const Field = withInstall(stdin_default$15);
8141
+ const Field = withInstall(stdin_default$16);
8127
8142
  const [name$L, bem$L] = createNamespace("search");
8128
8143
  const searchProps = extend({}, fieldSharedProps, {
8129
8144
  shape: makeStringProp("round"),
@@ -8137,7 +8152,7 @@ const searchProps = extend({}, fieldSharedProps, {
8137
8152
  actionText: String,
8138
8153
  showAction: Boolean
8139
8154
  });
8140
- var stdin_default$14 = defineComponent({
8155
+ var stdin_default$15 = defineComponent({
8141
8156
  name: name$L,
8142
8157
  props: searchProps,
8143
8158
  emits: [
@@ -8250,8 +8265,8 @@ var stdin_default$14 = defineComponent({
8250
8265
  };
8251
8266
  }
8252
8267
  });
8253
- const Search = withInstall(stdin_default$14);
8254
- var stdin_default$13 = Search;
8268
+ const Search = withInstall(stdin_default$15);
8269
+ var stdin_default$14 = Search;
8255
8270
  const parseNumber = (obj, defaultValue = 0) => {
8256
8271
  let result = parseInt(obj, 10);
8257
8272
  if (isNaN(result)) {
@@ -8287,7 +8302,7 @@ const tagProps = {
8287
8302
  stamp: Boolean,
8288
8303
  stampDiameter: makeNumberProp(60)
8289
8304
  };
8290
- var stdin_default$12 = defineComponent({
8305
+ var stdin_default$13 = defineComponent({
8291
8306
  name: name$K,
8292
8307
  props: tagProps,
8293
8308
  emits: ["close"],
@@ -8344,7 +8359,7 @@ var stdin_default$12 = defineComponent({
8344
8359
  }, null);
8345
8360
  const LeftIcon = () => {
8346
8361
  if (props.image) {
8347
- return createVNode(stdin_default$1I, {
8362
+ return createVNode(stdin_default$1J, {
8348
8363
  "class": bem$K("image"),
8349
8364
  "src": props.image
8350
8365
  }, null);
@@ -8411,8 +8426,8 @@ var stdin_default$12 = defineComponent({
8411
8426
  });
8412
8427
  }
8413
8428
  });
8414
- const Tag = withInstall(stdin_default$12);
8415
- var stdin_default$11 = Tag;
8429
+ const Tag = withInstall(stdin_default$13);
8430
+ var stdin_default$12 = Tag;
8416
8431
  function deepClone(obj) {
8417
8432
  if (!isDef(obj)) {
8418
8433
  return obj;
@@ -8438,9 +8453,11 @@ const drawerSelectProps = {
8438
8453
  expandAll: {
8439
8454
  type: Boolean,
8440
8455
  default: false
8441
- }
8456
+ },
8457
+ defaultSelectNode: Object,
8458
+ activeClassName: makeStringProp("")
8442
8459
  };
8443
- var stdin_default$10 = defineComponent({
8460
+ var stdin_default$11 = defineComponent({
8444
8461
  name: name$J,
8445
8462
  props: drawerSelectProps,
8446
8463
  emits: ["change", "select"],
@@ -8449,7 +8466,7 @@ var stdin_default$10 = defineComponent({
8449
8466
  }) {
8450
8467
  const keyword = ref("");
8451
8468
  const expandNode = ref();
8452
- const selectNode = ref();
8469
+ const selectNode = ref(props.defaultSelectNode);
8453
8470
  const flatArray = ref([]);
8454
8471
  const show = ref(false);
8455
8472
  const searchRef = ref();
@@ -8627,7 +8644,7 @@ var stdin_default$10 = defineComponent({
8627
8644
  "onClick": () => item.expand = !item.expand
8628
8645
  }, [createVNode("span", {
8629
8646
  "class": [bem$J("label--placeholder")]
8630
- }, [children2.length > 0 && createVNode(stdin_default$1R, {
8647
+ }, [children2.length > 0 && createVNode(stdin_default$1S, {
8631
8648
  "name": "play-small",
8632
8649
  "class": [bem$J("label--icon", {
8633
8650
  active: item.expand
@@ -8648,6 +8665,7 @@ var stdin_default$10 = defineComponent({
8648
8665
  const renderItem = (item) => {
8649
8666
  var _a, _b;
8650
8667
  const empty = isEmpty(item);
8668
+ const active = empty && ((_a = selectNode.value) == null ? void 0 : _a.value) == item[fields.value.value];
8651
8669
  return createVNode("div", {
8652
8670
  "onClick": (e) => {
8653
8671
  e.stopPropagation();
@@ -8658,7 +8676,7 @@ var stdin_default$10 = defineComponent({
8658
8676
  "class": [bem$J("item--header")]
8659
8677
  }, [createVNode("span", {
8660
8678
  "class": [bem$J("item--placeholder")]
8661
- }, [!empty && createVNode(stdin_default$1R, {
8679
+ }, [!empty && createVNode(stdin_default$1S, {
8662
8680
  "name": "play-small",
8663
8681
  "class": [bem$J("item--icon", {
8664
8682
  active: item.checked
@@ -8666,8 +8684,10 @@ var stdin_default$10 = defineComponent({
8666
8684
  "size": "20"
8667
8685
  }, null)]), createVNode("div", {
8668
8686
  "class": [bem$J("item--label", {
8669
- active: empty && ((_a = selectNode.value) == null ? void 0 : _a.value) == item[fields.value.value]
8670
- }), "zt-hairline--top"]
8687
+ active
8688
+ }), "zt-hairline--top", {
8689
+ [props.activeClassName]: active
8690
+ }]
8671
8691
  }, [item[fields.value.text]])]), createVNode("div", {
8672
8692
  "class": [bem$J("item--child")]
8673
8693
  }, [!empty && item.checked && ((_b = item[fields.value.children]) == null ? void 0 : _b.map(renderItem))])]);
@@ -8694,7 +8714,7 @@ var stdin_default$10 = defineComponent({
8694
8714
  }, [createVNode("div", {
8695
8715
  "class": [bem$J("search")],
8696
8716
  "ref": searchRef
8697
- }, [createVNode(stdin_default$13, {
8717
+ }, [createVNode(stdin_default$14, {
8698
8718
  "modelValue": keyword.value,
8699
8719
  "onUpdate:modelValue": [($event) => keyword.value = $event, onSearch],
8700
8720
  "placeholder": props.placeholder,
@@ -8708,7 +8728,7 @@ var stdin_default$10 = defineComponent({
8708
8728
  "style": {
8709
8729
  top: `${offset2.value}px`
8710
8730
  }
8711
- }, [createVNode(stdin_default$1O, {
8731
+ }, [createVNode(stdin_default$1P, {
8712
8732
  "class": [bem$J("popup")],
8713
8733
  "position": "top",
8714
8734
  "show": show.value,
@@ -8734,7 +8754,7 @@ var stdin_default$10 = defineComponent({
8734
8754
  "class": [bem$J("history--title"), "zt-hairline--bottom"]
8735
8755
  }, [createTextVNode("搜索历史")]), createVNode("div", {
8736
8756
  "class": [bem$J("history--content")]
8737
- }, [historyList.value.map((item) => createVNode(stdin_default$11, {
8757
+ }, [historyList.value.map((item) => createVNode(stdin_default$12, {
8738
8758
  "onClick": () => onHistoryClick(item),
8739
8759
  "round": true,
8740
8760
  "text-color": "var(--zt-gray-a8)",
@@ -8744,7 +8764,7 @@ var stdin_default$10 = defineComponent({
8744
8764
  }))]), createVNode("div", {
8745
8765
  "class": [bem$J("history--clear")],
8746
8766
  "onClick": onClearHistory
8747
- }, [createVNode(stdin_default$1R, {
8767
+ }, [createVNode(stdin_default$1S, {
8748
8768
  "name": "delete",
8749
8769
  "size": "20"
8750
8770
  }, null), createTextVNode("清空搜索历史")])]), historyList.value.length === 0 && createVNode("div", {
@@ -8775,7 +8795,7 @@ var stdin_default$10 = defineComponent({
8775
8795
  };
8776
8796
  }
8777
8797
  });
8778
- const DrawerSelect = withInstall(stdin_default$10);
8798
+ const DrawerSelect = withInstall(stdin_default$11);
8779
8799
  const [name$I, bem$I] = createNamespace("dropdown-menu");
8780
8800
  const dropdownMenuProps = {
8781
8801
  overlay: truthProp,
@@ -8787,7 +8807,7 @@ const dropdownMenuProps = {
8787
8807
  closeOnClickOverlay: truthProp
8788
8808
  };
8789
8809
  const DROPDOWN_KEY = Symbol(name$I);
8790
- var stdin_default$$ = defineComponent({
8810
+ var stdin_default$10 = defineComponent({
8791
8811
  name: name$I,
8792
8812
  props: dropdownMenuProps,
8793
8813
  setup(props, {
@@ -8854,6 +8874,7 @@ var stdin_default$$ = defineComponent({
8854
8874
  if (item.$slots.header) {
8855
8875
  return item.$slots.header(item);
8856
8876
  }
8877
+ const itemTitle = item.renderTitle();
8857
8878
  return createVNode("div", {
8858
8879
  "id": `${id}-${index}`,
8859
8880
  "role": "button",
@@ -8879,7 +8900,9 @@ var stdin_default$$ = defineComponent({
8879
8900
  }, [createVNode("div", {
8880
8901
  "class": "zt-ellipsis",
8881
8902
  "style": "padding-right: 18px"
8882
- }, [slots.title || item.renderTitle(), slots.icon || createVNode(stdin_default$1R, {
8903
+ }, [slots.title || (itemTitle ? itemTitle : createVNode("div", {
8904
+ "class": [bem$I("placeholder")]
8905
+ }, [item.placeholder])), slots.icon || createVNode(stdin_default$1S, {
8883
8906
  "class": bem$I("icon"),
8884
8907
  "name": "spinner-expand"
8885
8908
  }, null)])])]);
@@ -8922,9 +8945,11 @@ const dropdownItemProps = {
8922
8945
  modelValueArray: makeArrayProp(),
8923
8946
  titleClass: unknownProp,
8924
8947
  multiSelect: Boolean,
8925
- itemLabel: String
8948
+ itemLabel: String,
8949
+ placeholder: makeStringProp("未选择"),
8950
+ resetDefaultValue: makeArrayProp()
8926
8951
  };
8927
- var stdin_default$_ = defineComponent({
8952
+ var stdin_default$$ = defineComponent({
8928
8953
  name: name$H,
8929
8954
  inheritAttrs: false,
8930
8955
  props: dropdownItemProps,
@@ -8979,10 +9004,9 @@ var stdin_default$_ = defineComponent({
8979
9004
  }
8980
9005
  };
8981
9006
  const onClickReset = () => {
8982
- props.options.forEach((item) => {
8983
- item.selected = false;
8984
- });
9007
+ var _a;
8985
9008
  modelArray.splice(0);
9009
+ modelArray.push(...(_a = props.resetDefaultValue) != null ? _a : []);
8986
9010
  state.showPopup = false;
8987
9011
  emit("reset");
8988
9012
  };
@@ -9018,7 +9042,7 @@ var stdin_default$_ = defineComponent({
9018
9042
  if (title.length > 0) {
9019
9043
  title = title.substring(0, title.length - 1);
9020
9044
  }
9021
- return title || "未选择";
9045
+ return title;
9022
9046
  }
9023
9047
  const match = props.options.find((option) => option[fields.value.value] === props.modelValue);
9024
9048
  return match ? match[fields.value.text] : "";
@@ -9031,8 +9055,11 @@ var stdin_default$_ = defineComponent({
9031
9055
  const text = option[fields.value.text];
9032
9056
  let active = false;
9033
9057
  if (props.multiSelect) {
9034
- if (option.selected) {
9058
+ if (modelArray == null ? void 0 : modelArray.includes(value)) {
9035
9059
  active = true;
9060
+ option.selected = true;
9061
+ } else {
9062
+ option.selected = false;
9036
9063
  }
9037
9064
  } else {
9038
9065
  active = value === props.modelValue;
@@ -9040,12 +9067,10 @@ var stdin_default$_ = defineComponent({
9040
9067
  const onClick = () => {
9041
9068
  if (props.multiSelect) {
9042
9069
  if (option.selected) {
9043
- option.selected = false;
9044
9070
  modelArray.splice(modelArray.indexOf(value), 1);
9045
9071
  emit("update:modelValue", -value);
9046
9072
  emit("change", -value);
9047
9073
  } else {
9048
- option.selected = true;
9049
9074
  modelArray.push(value);
9050
9075
  emit("update:modelValue", value);
9051
9076
  emit("change", value);
@@ -9215,9 +9240,9 @@ var stdin_default$_ = defineComponent({
9215
9240
  };
9216
9241
  }
9217
9242
  });
9218
- const DropdownItem = withInstall(stdin_default$_);
9219
- const DropdownMenu = withInstall(stdin_default$$);
9220
- const renderNotFound = (bem2) => createVNode("svg", {
9243
+ const DropdownItem = withInstall(stdin_default$$);
9244
+ const DropdownMenu = withInstall(stdin_default$10);
9245
+ const renderNotFound = (bem2, getId, getUrlById) => createVNode("svg", {
9221
9246
  "xmlns": "http://www.w3.org/2000/svg",
9222
9247
  "viewBox": "0 0 160 160",
9223
9248
  "class": "design-iconfont"
@@ -9226,7 +9251,7 @@ const renderNotFound = (bem2) => createVNode("svg", {
9226
9251
  "y1": "100%",
9227
9252
  "x2": "50%",
9228
9253
  "y2": "0%",
9229
- "id": "iwtsazmcp__0l3luddeua"
9254
+ "id": getId(1)
9230
9255
  }, [createVNode("stop", {
9231
9256
  "class": bem2("svg-defs-stop-color-gradient"),
9232
9257
  "stop-opacity": ".1",
@@ -9240,7 +9265,7 @@ const renderNotFound = (bem2) => createVNode("svg", {
9240
9265
  "y1": "100%",
9241
9266
  "x2": "50%",
9242
9267
  "y2": "0%",
9243
- "id": "iwtsazmcp__fsa5v33ucb"
9268
+ "id": getId(2)
9244
9269
  }, [createVNode("stop", {
9245
9270
  "class": bem2("svg-defs-stop-color"),
9246
9271
  "stop-opacity": "0",
@@ -9254,7 +9279,7 @@ const renderNotFound = (bem2) => createVNode("svg", {
9254
9279
  "y1": "100%",
9255
9280
  "x2": "50%",
9256
9281
  "y2": "0%",
9257
- "id": "iwtsazmcp__zyelz8r8tc"
9282
+ "id": getId(3)
9258
9283
  }, [createVNode("stop", {
9259
9284
  "class": bem2("svg-defs-stop-color"),
9260
9285
  "offset": "0%"
@@ -9317,14 +9342,14 @@ const renderNotFound = (bem2) => createVNode("svg", {
9317
9342
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9318
9343
  }, null), createVNode("path", {
9319
9344
  "d": "M120,68 C124.418278,68 128,71.581722 128,76 L128,124 C128,128.418278 124.418278,132 120,132 L88,132 C84.2724501,132 81.1403373,129.450631 80.2521271,126.000358 L99,126 C107.836556,126 115,118.836556 115,110 L114.999127,68 L120,68 Z",
9320
- "fill": "url(#iwtsazmcp__0l3luddeua)"
9345
+ "fill": getUrlById(1)
9321
9346
  }, null), createVNode("path", {
9322
9347
  "d": "M16,4 L56,4 C62.627417,4 68,9.372583 68,16 L68,80 C68,86.627417 62.627417,92 56,92 L16,92 C9.372583,92 4,86.627417 4,80 L4,16 C4,9.372583 9.372583,4 16,4 Z",
9323
- "fill": "url(#iwtsazmcp__fsa5v33ucb)",
9348
+ "fill": getUrlById(2),
9324
9349
  "transform": "translate(43 30)"
9325
9350
  }, null), createVNode("path", {
9326
9351
  "d": "M56,0 C64.836556,0 72,7.163444 72,16 L72,80 C72,88.836556 64.836556,96 56,96 L16,96 C7.163444,96 0,88.836556 0,80 L0,16 C0,7.163444 7.163444,0 16,0 L56,0 Z M48,12 C48,14.209139 46.209139,16 44,16 L28,16 C25.790861,16 24,14.209139 24,12 L24,8 L16,8 C11.581722,8 8,11.581722 8,16 L8,80 C8,84.418278 11.581722,88 16,88 L56,88 C60.418278,88 64,84.418278 64,80 L64,16 C64,11.581722 60.418278,8 56,8 L48,8 L48,12 Z",
9327
- "fill": "url(#iwtsazmcp__zyelz8r8tc)",
9352
+ "fill": getUrlById(3),
9328
9353
  "transform": "translate(43 30)"
9329
9354
  }, null), createVNode("g", {
9330
9355
  "transform": "translate(43 30)"
@@ -9345,7 +9370,7 @@ const renderNotFound = (bem2) => createVNode("svg", {
9345
9370
  "fill": "#FFF",
9346
9371
  "xlink:href": "#iwtsazmcp__qni97e1yqg"
9347
9372
  }, null)])])]);
9348
- const renderServerError = (bem2) => createVNode("svg", {
9373
+ const renderServerError = (bem2, getId, getUrlById) => createVNode("svg", {
9349
9374
  "xmlns": "http://www.w3.org/2000/svg",
9350
9375
  "viewBox": "0 0 160 160",
9351
9376
  "class": "design-iconfont"
@@ -9354,7 +9379,7 @@ const renderServerError = (bem2) => createVNode("svg", {
9354
9379
  "y1": "100%",
9355
9380
  "x2": "50%",
9356
9381
  "y2": "0%",
9357
- "id": "7kkq7j5p7__15jshfc70a"
9382
+ "id": getId(1)
9358
9383
  }, [createVNode("stop", {
9359
9384
  "class": bem2("svg-defs-stop-color-gradient"),
9360
9385
  "stop-opacity": ".1",
@@ -9368,7 +9393,7 @@ const renderServerError = (bem2) => createVNode("svg", {
9368
9393
  "y1": "100%",
9369
9394
  "x2": "50%",
9370
9395
  "y2": "0%",
9371
- "id": "7kkq7j5p7__99j8u0oreb"
9396
+ "id": getId(2)
9372
9397
  }, [createVNode("stop", {
9373
9398
  "class": bem2("svg-defs-stop-color"),
9374
9399
  "stop-opacity": "0",
@@ -9382,7 +9407,7 @@ const renderServerError = (bem2) => createVNode("svg", {
9382
9407
  "y1": "100%",
9383
9408
  "x2": "50%",
9384
9409
  "y2": "0%",
9385
- "id": "7kkq7j5p7__6mkfsut7ac"
9410
+ "id": getId(3)
9386
9411
  }, [createVNode("stop", {
9387
9412
  "class": bem2("svg-defs-stop-color"),
9388
9413
  "offset": "0%"
@@ -9444,13 +9469,13 @@ const renderServerError = (bem2) => createVNode("svg", {
9444
9469
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9445
9470
  }, null), createVNode("path", {
9446
9471
  "d": "M118,68 C122.418278,68 126,71.581722 126,76 L126,124 C126,128.418278 122.418278,132 118,132 L86,132 C82.2724501,132 79.1403373,129.450631 78.2521271,126.000358 L97,126 C105.836556,126 113,118.836556 113,110 L112.999127,68 L118,68 Z",
9447
- "fill": "url(#7kkq7j5p7__15jshfc70a)"
9472
+ "fill": getUrlById(1)
9448
9473
  }, null), createVNode("path", {
9449
9474
  "d": "M57,34 L97,34 C103.627417,34 109,39.372583 109,46 L109,110 C109,116.627417 103.627417,122 97,122 L57,122 C50.372583,122 45,116.627417 45,110 L45,46 C45,39.372583 50.372583,34 57,34 Z",
9450
- "fill": "url(#7kkq7j5p7__99j8u0oreb)"
9475
+ "fill": getUrlById(2)
9451
9476
  }, null), createVNode("path", {
9452
9477
  "d": "M97,30 C105.836556,30 113,37.163444 113,46 L113,110 C113,118.836556 105.836556,126 97,126 L57,126 C48.163444,126 41,118.836556 41,110 L41,46 C41,37.163444 48.163444,30 57,30 L97,30 Z M89,42 C89,44.209139 87.209139,46 85,46 L69,46 C66.790861,46 65,44.209139 65,42 L65,38 L57,38 C52.581722,38 49,41.581722 49,46 L49,110 C49,114.418278 52.581722,118 57,118 L97,118 C101.418278,118 105,114.418278 105,110 L105,46 C105,41.581722 101.418278,38 97,38 L89,38 L89,42 Z",
9453
- "fill": "url(#7kkq7j5p7__6mkfsut7ac)"
9478
+ "fill": getUrlById(3)
9454
9479
  }, null), createVNode("g", {
9455
9480
  "transform": "translate(53.42222 65.5)"
9456
9481
  }, [createVNode("use", {
@@ -9470,7 +9495,7 @@ const renderServerError = (bem2) => createVNode("svg", {
9470
9495
  "fill": "#FFF",
9471
9496
  "xlink:href": "#7kkq7j5p7__45z80jbylg"
9472
9497
  }, null)])])]);
9473
- const renderAccessRestricted = (bem2) => createVNode("svg", {
9498
+ const renderAccessRestricted = (bem2, getId, getUrlById) => createVNode("svg", {
9474
9499
  "xmlns": "http://www.w3.org/2000/svg",
9475
9500
  "viewBox": "0 0 160 160",
9476
9501
  "class": "design-iconfont"
@@ -9479,7 +9504,7 @@ const renderAccessRestricted = (bem2) => createVNode("svg", {
9479
9504
  "y1": "100%",
9480
9505
  "x2": "50%",
9481
9506
  "y2": "0%",
9482
- "id": "osn32hg6k__gjst0w01ba"
9507
+ "id": getId(1)
9483
9508
  }, [createVNode("stop", {
9484
9509
  "class": bem2("svg-defs-stop-color"),
9485
9510
  "stop-opacity": ".1",
@@ -9493,7 +9518,7 @@ const renderAccessRestricted = (bem2) => createVNode("svg", {
9493
9518
  "y1": "100%",
9494
9519
  "x2": "50%",
9495
9520
  "y2": "0%",
9496
- "id": "osn32hg6k__1f6krzwf2b"
9521
+ "id": getId(2)
9497
9522
  }, [createVNode("stop", {
9498
9523
  "class": bem2("svg-defs-stop-color"),
9499
9524
  "stop-opacity": "0",
@@ -9507,7 +9532,7 @@ const renderAccessRestricted = (bem2) => createVNode("svg", {
9507
9532
  "y1": "100%",
9508
9533
  "x2": "50%",
9509
9534
  "y2": "0%",
9510
- "id": "osn32hg6k__gdmvw9w4yc"
9535
+ "id": getId(3)
9511
9536
  }, [createVNode("stop", {
9512
9537
  "class": bem2("svg-defs-stop-color"),
9513
9538
  "offset": "0%"
@@ -9544,13 +9569,13 @@ const renderAccessRestricted = (bem2) => createVNode("svg", {
9544
9569
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9545
9570
  }, null), createVNode("path", {
9546
9571
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
9547
- "fill": "url(#osn32hg6k__gjst0w01ba)"
9572
+ "fill": getUrlById(1)
9548
9573
  }, null), createVNode("path", {
9549
9574
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
9550
- "fill": "url(#osn32hg6k__1f6krzwf2b)"
9575
+ "fill": getUrlById(2)
9551
9576
  }, null), createVNode("path", {
9552
9577
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
9553
- "fill": "url(#osn32hg6k__gdmvw9w4yc)"
9578
+ "fill": getUrlById(3)
9554
9579
  }, null), createVNode("g", null, [createVNode("use", {
9555
9580
  "class": bem2("svg-defs-path-fill"),
9556
9581
  "filter": "url(#osn32hg6k__96p18i5xad)",
@@ -9559,7 +9584,7 @@ const renderAccessRestricted = (bem2) => createVNode("svg", {
9559
9584
  "fill": "#FFF",
9560
9585
  "xlink:href": "#osn32hg6k__2vtr6xgyge"
9561
9586
  }, null)])])]);
9562
- const renderDeveloping = (bem2) => createVNode("svg", {
9587
+ const renderDeveloping = (bem2, getId, getUrlById) => createVNode("svg", {
9563
9588
  "xmlns": "http://www.w3.org/2000/svg",
9564
9589
  "viewBox": "0 0 160 160",
9565
9590
  "class": "design-iconfont"
@@ -9568,7 +9593,7 @@ const renderDeveloping = (bem2) => createVNode("svg", {
9568
9593
  "y1": "100%",
9569
9594
  "x2": "50%",
9570
9595
  "y2": "0%",
9571
- "id": "0rplvus3a__oscf81e1aa"
9596
+ "id": getId(1)
9572
9597
  }, [createVNode("stop", {
9573
9598
  "class": bem2("svg-defs-stop-color"),
9574
9599
  "stop-opacity": ".1",
@@ -9582,7 +9607,7 @@ const renderDeveloping = (bem2) => createVNode("svg", {
9582
9607
  "y1": "100%",
9583
9608
  "x2": "50%",
9584
9609
  "y2": "0%",
9585
- "id": "0rplvus3a__azrppckntb"
9610
+ "id": getId(2)
9586
9611
  }, [createVNode("stop", {
9587
9612
  "class": bem2("svg-defs-stop-color"),
9588
9613
  "offset": "0%"
@@ -9594,7 +9619,7 @@ const renderDeveloping = (bem2) => createVNode("svg", {
9594
9619
  "y1": "100%",
9595
9620
  "x2": "50%",
9596
9621
  "y2": "0%",
9597
- "id": "0rplvus3a__9ocf4qkfyc"
9622
+ "id": getId(3)
9598
9623
  }, [createVNode("stop", {
9599
9624
  "class": bem2("svg-defs-stop-color"),
9600
9625
  "stop-opacity": "0",
@@ -9633,15 +9658,15 @@ const renderDeveloping = (bem2) => createVNode("svg", {
9633
9658
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9634
9659
  }, null), createVNode("path", {
9635
9660
  "d": "M30.9499998,77 L57.0500002,77 C59.7838096,77 62,79.2161904 62,81.9499998 L62,82.0500002 C62,84.7838096 59.7838096,87 57.0500002,87 L30.9499998,87 C28.2161904,87 26,84.7838096 26,82.0500002 L26,81.9499998 C26,79.2161904 28.2161904,77 30.9499998,77 Z",
9636
- "fill": "url(#0rplvus3a__oscf81e1aa)",
9661
+ "fill": getUrlById(1),
9637
9662
  "transform": "translate(36 37)"
9638
9663
  }, null), createVNode("path", {
9639
9664
  "d": "M79,1.42108547e-14 C83.8011292,1.42108547e-14 88,4.20251975 88,9 L88,54 C88,62.9808979 80.9869924,70 72,70 L16,70 C7.01300757,70 0,62.9808979 0,54 L0,9 C0,4.20251975 4.19887078,1.42108547e-14 9,1.42108547e-14 L79,1.42108547e-14 Z M79,18 L9,18 C8.62504067,18 8,18.62538 8,19 L8,54 C8,58.5604098 11.4377237,62 16,62 L72,62 C76.5622763,62 80,58.5604098 80,54 L80,19 C80,18.62538 79.3749593,18 79,18 Z",
9640
- "fill": "url(#0rplvus3a__azrppckntb)",
9665
+ "fill": getUrlById(2),
9641
9666
  "transform": "translate(36 37)"
9642
9667
  }, null), createVNode("path", {
9643
9668
  "d": "M78.5842697,18 L9.41573034,18 C8.63384406,18 8,18.62538 8,19.3968254 L8,54.3174603 C8,58.5604098 11.4861423,62 15.7865169,62 L72.2134831,62 C76.5138577,62 80,58.5604098 80,54.3174603 L80,19.3968254 C80,18.62538 79.3661559,18 78.5842697,18 Z",
9644
- "fill": "url(#0rplvus3a__9ocf4qkfyc)",
9669
+ "fill": getUrlById(3),
9645
9670
  "transform": "translate(36 37)"
9646
9671
  }, null), createVNode("path", {
9647
9672
  "d": "M11,12 C12.6568542,12 14,10.6568542 14,9 C14,7.34314575 12.6568542,6 11,6 C9.34314575,6 8,7.34314575 8,9 C8,10.6568542 9.34314575,12 11,12 Z M20,12 C21.6568542,12 23,10.6568542 23,9 C23,7.34314575 21.6568542,6 20,6 C18.3431458,6 17,7.34314575 17,9 C17,10.6568542 18.3431458,12 20,12 Z M29,12 C30.6568542,12 32,10.6568542 32,9 C32,7.34314575 30.6568542,6 29,6 C27.3431458,6 26,7.34314575 26,9 C26,10.6568542 27.3431458,12 29,12 Z",
@@ -9657,7 +9682,7 @@ const renderDeveloping = (bem2) => createVNode("svg", {
9657
9682
  "fill": "#FFF",
9658
9683
  "xlink:href": "#0rplvus3a__7t0ftckj4e"
9659
9684
  }, null)])])]);
9660
- const renderNetworkError = (bem2) => createVNode("svg", {
9685
+ const renderNetworkError = (bem2, getId, getUrlById) => createVNode("svg", {
9661
9686
  "xmlns": "http://www.w3.org/2000/svg",
9662
9687
  "viewBox": "0 0 160 160",
9663
9688
  "class": "design-iconfont"
@@ -9666,7 +9691,7 @@ const renderNetworkError = (bem2) => createVNode("svg", {
9666
9691
  "y1": "100%",
9667
9692
  "x2": "50%",
9668
9693
  "y2": "0%",
9669
- "id": "xg345q5xi__5lbyx15b5b"
9694
+ "id": getId(1)
9670
9695
  }, [createVNode("stop", {
9671
9696
  "class": bem2("svg-defs-stop-color-gradient"),
9672
9697
  "stop-opacity": "0",
@@ -9680,7 +9705,7 @@ const renderNetworkError = (bem2) => createVNode("svg", {
9680
9705
  "y1": "0%",
9681
9706
  "x2": "50%",
9682
9707
  "y2": "100%",
9683
- "id": "xg345q5xi__ty8l0w0aga"
9708
+ "id": getId(2)
9684
9709
  }, [createVNode("stop", {
9685
9710
  "class": bem2("svg-defs-stop-color-gradient"),
9686
9711
  "offset": "0%"
@@ -9721,9 +9746,9 @@ const renderNetworkError = (bem2) => createVNode("svg", {
9721
9746
  "opacity": ".24220203"
9722
9747
  }, null), createVNode("path", {
9723
9748
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
9724
- "stroke": "url(#xg345q5xi__ty8l0w0aga)",
9749
+ "stroke": getUrlById(2),
9725
9750
  "stroke-width": "8",
9726
- "fill": "url(#xg345q5xi__5lbyx15b5b)"
9751
+ "fill": getUrlById(1)
9727
9752
  }, null), createVNode("use", {
9728
9753
  "class": bem2("svg-defs-path-fill"),
9729
9754
  "filter": "url(#xg345q5xi__ky1vat27oc)",
@@ -9746,7 +9771,7 @@ const renderNetworkError = (bem2) => createVNode("svg", {
9746
9771
  "height": "16",
9747
9772
  "rx": "4"
9748
9773
  }, null)])]);
9749
- const renderEmptyResult = (bem2) => createVNode("svg", {
9774
+ const renderEmptyResult = (bem2, getId, getUrlById) => createVNode("svg", {
9750
9775
  "xmlns": "http://www.w3.org/2000/svg",
9751
9776
  "viewBox": "0 0 160 160",
9752
9777
  "class": "design-iconfont"
@@ -9755,7 +9780,7 @@ const renderEmptyResult = (bem2) => createVNode("svg", {
9755
9780
  "y1": "100%",
9756
9781
  "x2": "50%",
9757
9782
  "y2": "0%",
9758
- "id": "cgogdnfso__fj6f5739ra"
9783
+ "id": getId(1)
9759
9784
  }, [createVNode("stop", {
9760
9785
  "class": bem2("svg-defs-stop-color"),
9761
9786
  "stop-opacity": ".1",
@@ -9769,7 +9794,7 @@ const renderEmptyResult = (bem2) => createVNode("svg", {
9769
9794
  "y1": "100%",
9770
9795
  "x2": "50%",
9771
9796
  "y2": "0%",
9772
- "id": "cgogdnfso__u8bce9jl0b"
9797
+ "id": getId(2)
9773
9798
  }, [createVNode("stop", {
9774
9799
  "class": bem2("svg-defs-stop-color"),
9775
9800
  "stop-opacity": "0",
@@ -9783,7 +9808,7 @@ const renderEmptyResult = (bem2) => createVNode("svg", {
9783
9808
  "y1": "100%",
9784
9809
  "x2": "50%",
9785
9810
  "y2": "0%",
9786
- "id": "cgogdnfso__1yqn57bztc"
9811
+ "id": getId(3)
9787
9812
  }, [createVNode("stop", {
9788
9813
  "class": bem2("svg-defs-stop-color"),
9789
9814
  "offset": "0%"
@@ -9820,13 +9845,13 @@ const renderEmptyResult = (bem2) => createVNode("svg", {
9820
9845
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9821
9846
  }, null), createVNode("path", {
9822
9847
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
9823
- "fill": "url(#cgogdnfso__fj6f5739ra)"
9848
+ "fill": getUrlById(1)
9824
9849
  }, null), createVNode("path", {
9825
9850
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
9826
- "fill": "url(#cgogdnfso__u8bce9jl0b)"
9851
+ "fill": getUrlById(2)
9827
9852
  }, null), createVNode("path", {
9828
9853
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
9829
- "fill": "url(#cgogdnfso__1yqn57bztc)"
9854
+ "fill": getUrlById(3)
9830
9855
  }, null), createVNode("g", null, [createVNode("use", {
9831
9856
  "class": bem2("svg-defs-path-fill"),
9832
9857
  "filter": "url(#cgogdnfso__7fi3sy00cd)",
@@ -9835,7 +9860,7 @@ const renderEmptyResult = (bem2) => createVNode("svg", {
9835
9860
  "fill": "#FFF",
9836
9861
  "xlink:href": "#cgogdnfso__sffqrzc91e"
9837
9862
  }, null)])])]);
9838
- const renderFindNull = (bem2) => createVNode("svg", {
9863
+ const renderFindNull = (bem2, getId, getUrlById) => createVNode("svg", {
9839
9864
  "xmlns": "http://www.w3.org/2000/svg",
9840
9865
  "viewBox": "0 0 160 160",
9841
9866
  "class": "design-iconfont"
@@ -9844,7 +9869,7 @@ const renderFindNull = (bem2) => createVNode("svg", {
9844
9869
  "y1": "100%",
9845
9870
  "x2": "50%",
9846
9871
  "y2": "0%",
9847
- "id": "cgogdnfso__fj6f5739ra"
9872
+ "id": getId(1)
9848
9873
  }, [createVNode("stop", {
9849
9874
  "class": bem2("svg-defs-stop-color"),
9850
9875
  "stop-opacity": ".1",
@@ -9858,7 +9883,7 @@ const renderFindNull = (bem2) => createVNode("svg", {
9858
9883
  "y1": "100%",
9859
9884
  "x2": "50%",
9860
9885
  "y2": "0%",
9861
- "id": "cgogdnfso__u8bce9jl0b"
9886
+ "id": getId(2)
9862
9887
  }, [createVNode("stop", {
9863
9888
  "class": bem2("svg-defs-stop-color"),
9864
9889
  "stop-opacity": "0",
@@ -9872,7 +9897,7 @@ const renderFindNull = (bem2) => createVNode("svg", {
9872
9897
  "y1": "100%",
9873
9898
  "x2": "50%",
9874
9899
  "y2": "0%",
9875
- "id": "cgogdnfso__1yqn57bztc"
9900
+ "id": getId(3)
9876
9901
  }, [createVNode("stop", {
9877
9902
  "class": bem2("svg-defs-stop-color"),
9878
9903
  "offset": "0%"
@@ -9885,7 +9910,7 @@ const renderFindNull = (bem2) => createVNode("svg", {
9885
9910
  "width": "181.2%",
9886
9911
  "height": "183.9%",
9887
9912
  "filterUnits": "objectBoundingBox",
9888
- "id": "cgogdnfso__7fi3sy00cd"
9913
+ "id": getId(4)
9889
9914
  }, [createVNode("feOffset", {
9890
9915
  "dy": "2",
9891
9916
  "in": "SourceGraphic",
@@ -9909,22 +9934,22 @@ const renderFindNull = (bem2) => createVNode("svg", {
9909
9934
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9910
9935
  }, null), createVNode("path", {
9911
9936
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
9912
- "fill": "url(#cgogdnfso__fj6f5739ra)"
9937
+ "fill": getUrlById(1)
9913
9938
  }, null), createVNode("path", {
9914
9939
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
9915
- "fill": "url(#cgogdnfso__u8bce9jl0b)"
9940
+ "fill": getUrlById(2)
9916
9941
  }, null), createVNode("path", {
9917
9942
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
9918
- "fill": "url(#cgogdnfso__1yqn57bztc)"
9943
+ "fill": getUrlById(3)
9919
9944
  }, null), createVNode("g", null, [createVNode("use", {
9920
9945
  "class": bem2("svg-defs-path-fill"),
9921
- "filter": "url(#cgogdnfso__7fi3sy00cd)",
9946
+ "filter": getUrlById(4),
9922
9947
  "xlink:href": "#cgogdnfso__sffqrzc91e"
9923
9948
  }, null), createVNode("use", {
9924
9949
  "fill": "#FFF",
9925
9950
  "xlink:href": "#cgogdnfso__sffqrzc91e"
9926
9951
  }, null)])])]);
9927
- const renderEmptyInterface = (bem2) => createVNode("svg", {
9952
+ const renderEmptyInterface = (bem2, getId, getUrlById) => createVNode("svg", {
9928
9953
  "xmlns": "http://www.w3.org/2000/svg",
9929
9954
  "viewBox": "0 0 160 160",
9930
9955
  "class": "design-iconfont"
@@ -9933,7 +9958,7 @@ const renderEmptyInterface = (bem2) => createVNode("svg", {
9933
9958
  "y1": "100%",
9934
9959
  "x2": "50%",
9935
9960
  "y2": "0%",
9936
- "id": "6t7l7j7ds__wirruftrqa"
9961
+ "id": getId(1)
9937
9962
  }, [createVNode("stop", {
9938
9963
  "class": bem2("svg-defs-stop-color"),
9939
9964
  "stop-opacity": ".1",
@@ -9947,7 +9972,7 @@ const renderEmptyInterface = (bem2) => createVNode("svg", {
9947
9972
  "y1": "100%",
9948
9973
  "x2": "50%",
9949
9974
  "y2": "0%",
9950
- "id": "6t7l7j7ds__j7hvusgxab"
9975
+ "id": getId(2)
9951
9976
  }, [createVNode("stop", {
9952
9977
  "class": bem2("svg-defs-stop-color"),
9953
9978
  "stop-opacity": "0",
@@ -9961,7 +9986,7 @@ const renderEmptyInterface = (bem2) => createVNode("svg", {
9961
9986
  "y1": "100%",
9962
9987
  "x2": "50%",
9963
9988
  "y2": "0%",
9964
- "id": "6t7l7j7ds__joal40yxdc"
9989
+ "id": getId(3)
9965
9990
  }, [createVNode("stop", {
9966
9991
  "class": bem2("svg-defs-stop-color"),
9967
9992
  "offset": "0%"
@@ -9974,7 +9999,7 @@ const renderEmptyInterface = (bem2) => createVNode("svg", {
9974
9999
  "width": "172.2%",
9975
10000
  "height": "425%",
9976
10001
  "filterUnits": "objectBoundingBox",
9977
- "id": "6t7l7j7ds__39x4ds797d"
10002
+ "id": getId(4)
9978
10003
  }, [createVNode("feOffset", {
9979
10004
  "dy": "2",
9980
10005
  "in": "SourceGraphic",
@@ -9998,22 +10023,22 @@ const renderEmptyInterface = (bem2) => createVNode("svg", {
9998
10023
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
9999
10024
  }, null), createVNode("path", {
10000
10025
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
10001
- "fill": "url(#6t7l7j7ds__wirruftrqa)"
10026
+ "fill": getUrlById(1)
10002
10027
  }, null), createVNode("path", {
10003
10028
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
10004
- "fill": "url(#6t7l7j7ds__j7hvusgxab)"
10029
+ "fill": getUrlById(2)
10005
10030
  }, null), createVNode("path", {
10006
10031
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
10007
- "fill": "url(#6t7l7j7ds__joal40yxdc)"
10032
+ "fill": getUrlById(3)
10008
10033
  }, null), createVNode("g", null, [createVNode("use", {
10009
10034
  "class": bem2("svg-defs-path-fill"),
10010
- "filter": "url(#6t7l7j7ds__39x4ds797d)",
10035
+ "filter": getUrlById(4),
10011
10036
  "xlink:href": "#6t7l7j7ds__41nn7lg6ve"
10012
10037
  }, null), createVNode("use", {
10013
10038
  "fill": "#FFF",
10014
10039
  "xlink:href": "#6t7l7j7ds__41nn7lg6ve"
10015
10040
  }, null)])])]);
10016
- const renderReportSuccess = (bem2) => createVNode("svg", {
10041
+ const renderReportSuccess = (bem2, getId, getUrlById) => createVNode("svg", {
10017
10042
  "xmlns": "http://www.w3.org/2000/svg",
10018
10043
  "viewBox": "0 0 160 160",
10019
10044
  "class": "design-iconfont"
@@ -10022,7 +10047,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10022
10047
  "y1": "100%",
10023
10048
  "x2": "50%",
10024
10049
  "y2": "0%",
10025
- "id": "h3r8rva5d__eew5rymana"
10050
+ "id": getId(1)
10026
10051
  }, [createVNode("stop", {
10027
10052
  "class": bem2("svg-defs-stop-color"),
10028
10053
  "stop-opacity": ".1",
@@ -10036,7 +10061,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10036
10061
  "y1": "100%",
10037
10062
  "x2": "50%",
10038
10063
  "y2": "0%",
10039
- "id": "h3r8rva5d__92vm2xo10b"
10064
+ "id": getId(2)
10040
10065
  }, [createVNode("stop", {
10041
10066
  "class": bem2("svg-defs-stop-color"),
10042
10067
  "stop-opacity": "0",
@@ -10050,7 +10075,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10050
10075
  "y1": "100%",
10051
10076
  "x2": "50%",
10052
10077
  "y2": "0%",
10053
- "id": "h3r8rva5d__hy0jyvrkqc"
10078
+ "id": getId(3)
10054
10079
  }, [createVNode("stop", {
10055
10080
  "class": bem2("svg-defs-stop-color"),
10056
10081
  "offset": "0%"
@@ -10063,7 +10088,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10063
10088
  "width": "169.6%",
10064
10089
  "height": "168.4%",
10065
10090
  "filterUnits": "objectBoundingBox",
10066
- "id": "h3r8rva5d__z54fmdxnmd"
10091
+ "id": getId(4)
10067
10092
  }, [createVNode("feOffset", {
10068
10093
  "dy": "2",
10069
10094
  "in": "SourceGraphic",
@@ -10081,7 +10106,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10081
10106
  "width": "220%",
10082
10107
  "height": "220%",
10083
10108
  "filterUnits": "objectBoundingBox",
10084
- "id": "h3r8rva5d__zhi8u4oqbf"
10109
+ "id": getId(5)
10085
10110
  }, [createVNode("feOffset", {
10086
10111
  "dy": "3",
10087
10112
  "in": "SourceGraphic",
@@ -10108,16 +10133,16 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10108
10133
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
10109
10134
  }, null), createVNode("path", {
10110
10135
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
10111
- "fill": "url(#h3r8rva5d__eew5rymana)"
10136
+ "fill": getUrlById(1)
10112
10137
  }, null), createVNode("path", {
10113
10138
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
10114
- "fill": "url(#h3r8rva5d__92vm2xo10b)"
10139
+ "fill": getUrlById(2)
10115
10140
  }, null), createVNode("path", {
10116
10141
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
10117
- "fill": "url(#h3r8rva5d__hy0jyvrkqc)"
10142
+ "fill": getUrlById(3)
10118
10143
  }, null), createVNode("g", null, [createVNode("use", {
10119
10144
  "class": bem2("svg-defs-path-fill"),
10120
- "filter": "url(#h3r8rva5d__z54fmdxnmd)",
10145
+ "filter": getUrlById(4),
10121
10146
  "xlink:href": "#h3r8rva5d__d7rd04hahe"
10122
10147
  }, null), createVNode("use", {
10123
10148
  "fill": "#FFF",
@@ -10126,7 +10151,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10126
10151
  "transform": "translate(78 77)"
10127
10152
  }, [createVNode("use", {
10128
10153
  "class": bem2("svg-defs-path-fill"),
10129
- "filter": "url(#h3r8rva5d__zhi8u4oqbf)",
10154
+ "filter": getUrlById(5),
10130
10155
  "xlink:href": "#h3r8rva5d__jk95ntyavg"
10131
10156
  }, null), createVNode("use", {
10132
10157
  "fill": "#28CD78",
@@ -10137,7 +10162,7 @@ const renderReportSuccess = (bem2) => createVNode("svg", {
10137
10162
  "fill-rule": "nonzero",
10138
10163
  "transform": "translate(78 77)"
10139
10164
  }, null)])]);
10140
- const renderReportError = (bem2) => createVNode("svg", {
10165
+ const renderReportError = (bem2, getId, getUrlById) => createVNode("svg", {
10141
10166
  "xmlns": "http://www.w3.org/2000/svg",
10142
10167
  "viewBox": "0 0 160 160",
10143
10168
  "class": "design-iconfont"
@@ -10146,7 +10171,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10146
10171
  "y1": "100%",
10147
10172
  "x2": "50%",
10148
10173
  "y2": "0%",
10149
- "id": "hjjrs2jmp__jc920q6pda"
10174
+ "id": getId(1)
10150
10175
  }, [createVNode("stop", {
10151
10176
  "class": bem2("svg-defs-stop-color"),
10152
10177
  "stop-opacity": ".1",
@@ -10160,7 +10185,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10160
10185
  "y1": "100%",
10161
10186
  "x2": "50%",
10162
10187
  "y2": "0%",
10163
- "id": "hjjrs2jmp__sst8kz92tb"
10188
+ "id": getId(2)
10164
10189
  }, [createVNode("stop", {
10165
10190
  "class": bem2("svg-defs-stop-color"),
10166
10191
  "stop-opacity": "0",
@@ -10174,7 +10199,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10174
10199
  "y1": "100%",
10175
10200
  "x2": "50%",
10176
10201
  "y2": "0%",
10177
- "id": "hjjrs2jmp__z0qr0ea01c"
10202
+ "id": getId(3)
10178
10203
  }, [createVNode("stop", {
10179
10204
  "class": bem2("svg-defs-stop-color"),
10180
10205
  "offset": "0%"
@@ -10187,7 +10212,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10187
10212
  "width": "169.6%",
10188
10213
  "height": "168.4%",
10189
10214
  "filterUnits": "objectBoundingBox",
10190
- "id": "hjjrs2jmp__mlg5ragdid"
10215
+ "id": getId(4)
10191
10216
  }, [createVNode("feOffset", {
10192
10217
  "dy": "2",
10193
10218
  "in": "SourceGraphic",
@@ -10205,7 +10230,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10205
10230
  "width": "170%",
10206
10231
  "height": "170%",
10207
10232
  "filterUnits": "objectBoundingBox",
10208
- "id": "hjjrs2jmp__6snr8pwn9f"
10233
+ "id": getId(5)
10209
10234
  }, [createVNode("feOffset", {
10210
10235
  "dy": "2",
10211
10236
  "in": "SourceGraphic",
@@ -10232,16 +10257,16 @@ const renderReportError = (bem2) => createVNode("svg", {
10232
10257
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
10233
10258
  }, null), createVNode("path", {
10234
10259
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
10235
- "fill": "url(#hjjrs2jmp__jc920q6pda)"
10260
+ "fill": getUrlById(1)
10236
10261
  }, null), createVNode("path", {
10237
10262
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
10238
- "fill": "url(#hjjrs2jmp__sst8kz92tb)"
10263
+ "fill": getUrlById(2)
10239
10264
  }, null), createVNode("path", {
10240
10265
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
10241
- "fill": "url(#hjjrs2jmp__z0qr0ea01c)"
10266
+ "fill": getUrlById(3)
10242
10267
  }, null), createVNode("g", null, [createVNode("use", {
10243
10268
  "class": bem2("svg-defs-path-fill"),
10244
- "filter": "url(#hjjrs2jmp__mlg5ragdid)",
10269
+ "filter": getUrlById(4),
10245
10270
  "xlink:href": "#hjjrs2jmp__inq21tde9e"
10246
10271
  }, null), createVNode("use", {
10247
10272
  "fill": "#FFF",
@@ -10250,7 +10275,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10250
10275
  "transform": "translate(78 77)"
10251
10276
  }, [createVNode("use", {
10252
10277
  "class": bem2("svg-defs-path-fill"),
10253
- "filter": "url(#hjjrs2jmp__6snr8pwn9f)",
10278
+ "filter": getUrlById(5),
10254
10279
  "xlink:href": "#hjjrs2jmp__l8g1n1l71g"
10255
10280
  }, null), createVNode("use", {
10256
10281
  "fill": "#FF5023",
@@ -10261,7 +10286,7 @@ const renderReportError = (bem2) => createVNode("svg", {
10261
10286
  "fill-rule": "nonzero",
10262
10287
  "transform": "translate(78 77)"
10263
10288
  }, null)])]);
10264
- const renderNoCollect = (bem2) => createVNode("svg", {
10289
+ const renderNoCollect = (bem2, getId, getUrlById) => createVNode("svg", {
10265
10290
  "xmlns": "http://www.w3.org/2000/svg",
10266
10291
  "viewBox": "0 0 160 160",
10267
10292
  "class": "design-iconfont"
@@ -10270,7 +10295,7 @@ const renderNoCollect = (bem2) => createVNode("svg", {
10270
10295
  "y1": "100%",
10271
10296
  "x2": "50%",
10272
10297
  "y2": "0%",
10273
- "id": "4roobwtpf__prfnix21ja"
10298
+ "id": getId(1)
10274
10299
  }, [createVNode("stop", {
10275
10300
  "class": bem2("svg-defs-stop-color"),
10276
10301
  "stop-opacity": ".1",
@@ -10284,7 +10309,7 @@ const renderNoCollect = (bem2) => createVNode("svg", {
10284
10309
  "y1": "100%",
10285
10310
  "x2": "50%",
10286
10311
  "y2": "0%",
10287
- "id": "4roobwtpf__8kugdsm5kb"
10312
+ "id": getId(2)
10288
10313
  }, [createVNode("stop", {
10289
10314
  "class": bem2("svg-defs-stop-color"),
10290
10315
  "stop-opacity": "0",
@@ -10298,7 +10323,7 @@ const renderNoCollect = (bem2) => createVNode("svg", {
10298
10323
  "y1": "100%",
10299
10324
  "x2": "50%",
10300
10325
  "y2": "0%",
10301
- "id": "4roobwtpf__j168jpsc5c"
10326
+ "id": getId(3)
10302
10327
  }, [createVNode("stop", {
10303
10328
  "class": bem2("svg-defs-stop-color"),
10304
10329
  "offset": "0%"
@@ -10311,7 +10336,7 @@ const renderNoCollect = (bem2) => createVNode("svg", {
10311
10336
  "width": "182.1%",
10312
10337
  "height": "186.4%",
10313
10338
  "filterUnits": "objectBoundingBox",
10314
- "id": "4roobwtpf__ydijz0bb9d"
10339
+ "id": getId(4)
10315
10340
  }, [createVNode("feOffset", {
10316
10341
  "dy": "2",
10317
10342
  "in": "SourceGraphic",
@@ -10335,16 +10360,16 @@ const renderNoCollect = (bem2) => createVNode("svg", {
10335
10360
  "d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
10336
10361
  }, null), createVNode("path", {
10337
10362
  "d": "M114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C84.1855747,128 80.9946648,125.330413 80.1937019,121.757672 C98.1007036,119.680283 112,104.463319 112,86 L112,80 L114,80 Z",
10338
- "fill": "url(#4roobwtpf__prfnix21ja)"
10363
+ "fill": getUrlById(1)
10339
10364
  }, null), createVNode("path", {
10340
10365
  "d": "M56,44 L96,44 C102.627417,44 108,49.372583 108,56 L108,86 C108,103.673112 93.673112,118 76,118 L56,118 C49.372583,118 44,112.627417 44,106 L44,56 C44,49.372583 49.372583,44 56,44 Z",
10341
- "fill": "url(#4roobwtpf__8kugdsm5kb)"
10366
+ "fill": getUrlById(2)
10342
10367
  }, null), createVNode("path", {
10343
10368
  "d": "M90,31 C92.209139,31 94,32.790861 94,35 L94,40 L96,40 C104.836556,40 112,47.163444 112,56 L112,86 C112,105.882251 95.882251,122 76,122 L56,122 C47.163444,122 40,114.836556 40,106 L40,56 C40,47.163444 47.163444,40 56,40 L58,40 L58,35 C58,32.790861 59.790861,31 62,31 C64.209139,31 66,32.790861 66,35 L66,40 L86,40 L86,35 C86,32.790861 87.790861,31 90,31 Z M96,48 L56,48 C51.581722,48 48,51.581722 48,56 L48,106 C48,110.418278 51.581722,114 56,114 L76,114 C91.463973,114 104,101.463973 104,86 L104,56 C104,51.581722 100.418278,48 96,48 Z",
10344
- "fill": "url(#4roobwtpf__j168jpsc5c)"
10369
+ "fill": getUrlById(3)
10345
10370
  }, null), createVNode("g", null, [createVNode("use", {
10346
10371
  "class": bem2("svg-defs-path-fill"),
10347
- "filter": "url(#4roobwtpf__ydijz0bb9d)",
10372
+ "filter": getUrlById(4),
10348
10373
  "xlink:href": "#4roobwtpf__8hxpuw7vce"
10349
10374
  }, null), createVNode("use", {
10350
10375
  "fill": "#FFF",
@@ -10370,18 +10395,21 @@ const emptyProps = {
10370
10395
  imageSize: [Number, String, Array],
10371
10396
  description: String
10372
10397
  };
10373
- var stdin_default$Z = defineComponent({
10398
+ var stdin_default$_ = defineComponent({
10374
10399
  name: name$G,
10375
10400
  props: emptyProps,
10376
10401
  setup(props, {
10377
10402
  slots
10378
10403
  }) {
10404
+ const baseId = useId();
10405
+ const getId = (num) => `${baseId}-${num}`;
10406
+ const getUrlById = (num) => `url(#${getId(num)})`;
10379
10407
  const renderImage = () => {
10380
10408
  var _a;
10381
10409
  if (slots.image) {
10382
10410
  return slots.image();
10383
10411
  }
10384
- return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$G)) || createVNode("img", {
10412
+ return ((_a = PRESET_IMAGES[props.image]) == null ? void 0 : _a.call(PRESET_IMAGES, bem$G, getId, getUrlById)) || createVNode("img", {
10385
10413
  "src": props.image
10386
10414
  }, null);
10387
10415
  };
@@ -10408,7 +10436,7 @@ var stdin_default$Z = defineComponent({
10408
10436
  }, [renderImage()]), renderDescription(), renderBottom()]);
10409
10437
  }
10410
10438
  });
10411
- const Empty = withInstall(stdin_default$Z);
10439
+ const Empty = withInstall(stdin_default$_);
10412
10440
  const floatingBubbleProps = {
10413
10441
  gap: makeNumberProp(24),
10414
10442
  icon: String,
@@ -10427,7 +10455,7 @@ const floatingBubbleProps = {
10427
10455
  }
10428
10456
  };
10429
10457
  const [name$F, bem$F] = createNamespace("floating-bubble");
10430
- var stdin_default$Y = defineComponent({
10458
+ var stdin_default$Z = defineComponent({
10431
10459
  name: name$F,
10432
10460
  inheritAttrs: false,
10433
10461
  props: floatingBubbleProps,
@@ -10568,7 +10596,7 @@ var stdin_default$Y = defineComponent({
10568
10596
  "onTouchcancel": onTouchEnd,
10569
10597
  "onClick": onClick,
10570
10598
  "style": rootStyle.value
10571
- }, attrs), [slots.default ? slots.default() : createVNode(stdin_default$1R, {
10599
+ }, attrs), [slots.default ? slots.default() : createVNode(stdin_default$1S, {
10572
10600
  "name": props.icon,
10573
10601
  "class": bem$F("icon")
10574
10602
  }, null)]), [[vShow, show.value]]);
@@ -10580,7 +10608,7 @@ var stdin_default$Y = defineComponent({
10580
10608
  };
10581
10609
  }
10582
10610
  });
10583
- const FloatingBubble = withInstall(stdin_default$Y);
10611
+ const FloatingBubble = withInstall(stdin_default$Z);
10584
10612
  const [name$E, bem$E] = createNamespace("form");
10585
10613
  const formProps = {
10586
10614
  colon: Boolean,
@@ -10600,7 +10628,7 @@ const formProps = {
10600
10628
  default: "onBlur"
10601
10629
  }
10602
10630
  };
10603
- var stdin_default$X = defineComponent({
10631
+ var stdin_default$Y = defineComponent({
10604
10632
  name: name$E,
10605
10633
  props: formProps,
10606
10634
  emits: ["submit", "failed"],
@@ -10731,7 +10759,7 @@ var stdin_default$X = defineComponent({
10731
10759
  };
10732
10760
  }
10733
10761
  });
10734
- const Form = withInstall(stdin_default$X);
10762
+ const Form = withInstall(stdin_default$Y);
10735
10763
  const [name$D, bem$D] = createNamespace("grid");
10736
10764
  const gridProps = {
10737
10765
  square: Boolean,
@@ -10745,7 +10773,7 @@ const gridProps = {
10745
10773
  columnNum: makeNumericProp(4)
10746
10774
  };
10747
10775
  const GRID_KEY = Symbol(name$D);
10748
- var stdin_default$W = defineComponent({
10776
+ var stdin_default$X = defineComponent({
10749
10777
  name: name$D,
10750
10778
  props: gridProps,
10751
10779
  setup(props, {
@@ -10770,8 +10798,8 @@ var stdin_default$W = defineComponent({
10770
10798
  };
10771
10799
  }
10772
10800
  });
10773
- const Grid = withInstall(stdin_default$W);
10774
- var stdin_default$V = Grid;
10801
+ const Grid = withInstall(stdin_default$X);
10802
+ var stdin_default$W = Grid;
10775
10803
  const [name$C, bem$C] = createNamespace("grid-item");
10776
10804
  const gridItemProps = extend({}, routeProps, {
10777
10805
  dot: Boolean,
@@ -10782,7 +10810,7 @@ const gridItemProps = extend({}, routeProps, {
10782
10810
  iconPrefix: String,
10783
10811
  badgeProps: Object
10784
10812
  });
10785
- var stdin_default$U = defineComponent({
10813
+ var stdin_default$V = defineComponent({
10786
10814
  name: name$C,
10787
10815
  props: gridItemProps,
10788
10816
  setup(props, {
@@ -10906,8 +10934,8 @@ var stdin_default$U = defineComponent({
10906
10934
  };
10907
10935
  }
10908
10936
  });
10909
- const GridItem = withInstall(stdin_default$U);
10910
- var stdin_default$T = GridItem;
10937
+ const GridItem = withInstall(stdin_default$V);
10938
+ var stdin_default$U = GridItem;
10911
10939
  const SubIcon = (bem2) => createVNode("svg", {
10912
10940
  "class": bem2("svg-sub-icon"),
10913
10941
  "xmlns": "http://www.w3.org/2000/svg",
@@ -10928,7 +10956,7 @@ const BreadcrumbProps = {
10928
10956
  textKey: makeStringProp("name"),
10929
10957
  breadcrumbTitle: makeStringProp("全部")
10930
10958
  };
10931
- var stdin_default$S = defineComponent({
10959
+ var stdin_default$T = defineComponent({
10932
10960
  name: name$B,
10933
10961
  props: BreadcrumbProps,
10934
10962
  emits: ["chooseSenior"],
@@ -10952,7 +10980,7 @@ var stdin_default$S = defineComponent({
10952
10980
  }
10953
10981
  }, [props.breadcrumbTitle]), props.data.map((item, index) => createVNode("div", {
10954
10982
  "class": bem$B("item")
10955
- }, [createVNode(stdin_default$1R, {
10983
+ }, [createVNode(stdin_default$1S, {
10956
10984
  "class": bem$B("icon"),
10957
10985
  "name": "arrow-right",
10958
10986
  "color": "#C6CED9"
@@ -11013,7 +11041,7 @@ const hierarchySelectProps = {
11013
11041
  breadcrumbTitle: makeStringProp("全部"),
11014
11042
  autoChangeToChildren: Boolean
11015
11043
  };
11016
- var stdin_default$R = defineComponent({
11044
+ var stdin_default$S = defineComponent({
11017
11045
  name: name$A,
11018
11046
  props: hierarchySelectProps,
11019
11047
  emits: ["asyncGetter", "selected", "change", "update:checkedList"],
@@ -11216,7 +11244,7 @@ var stdin_default$R = defineComponent({
11216
11244
  round: true,
11217
11245
  checked: getChecked(item)
11218
11246
  })
11219
- }, [createVNode(stdin_default$1R, {
11247
+ }, [createVNode(stdin_default$1S, {
11220
11248
  "name": "checkbox-select"
11221
11249
  }, null)]);
11222
11250
  }
@@ -11226,14 +11254,14 @@ var stdin_default$R = defineComponent({
11226
11254
  checked: true,
11227
11255
  round: true
11228
11256
  })
11229
- }, [createVNode(stdin_default$1R, {
11257
+ }, [createVNode(stdin_default$1S, {
11230
11258
  "name": "checkbox-select"
11231
11259
  }, null)]) : createVNode("span", {
11232
11260
  "class": bem$A("icon", {
11233
11261
  round: true,
11234
11262
  indeterminate
11235
11263
  })
11236
- }, [createVNode(stdin_default$1R, {
11264
+ }, [createVNode(stdin_default$1S, {
11237
11265
  "name": indeterminate ? "minus" : "check-blank-r",
11238
11266
  "class": bem$A("uncheck-icon")
11239
11267
  }, null)]);
@@ -11282,7 +11310,7 @@ var stdin_default$R = defineComponent({
11282
11310
  });
11283
11311
  return () => createVNode("div", {
11284
11312
  "class": bem$A()
11285
- }, [createVNode(stdin_default$S, {
11313
+ }, [createVNode(stdin_default$T, {
11286
11314
  "data": breadcrumbData.value,
11287
11315
  "valueKey": props.valueKey,
11288
11316
  "textKey": props.textKey,
@@ -11314,10 +11342,10 @@ var stdin_default$R = defineComponent({
11314
11342
  }, [SubIcon(bem$A)]), createVNode("span", null, [createTextVNode("下级")])])])]))]);
11315
11343
  }
11316
11344
  });
11317
- const HierarchySelect = withInstall(stdin_default$R);
11345
+ const HierarchySelect = withInstall(stdin_default$S);
11318
11346
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
11319
11347
  const bem$z = createNamespace("image-preview")[1];
11320
- var stdin_default$Q = defineComponent({
11348
+ var stdin_default$R = defineComponent({
11321
11349
  props: {
11322
11350
  src: String,
11323
11351
  show: Boolean,
@@ -11602,7 +11630,7 @@ const imagePreviewProps = {
11602
11630
  closeIconPosition: makeStringProp("top-right"),
11603
11631
  teleport: [String, Object]
11604
11632
  };
11605
- var stdin_default$P = defineComponent({
11633
+ var stdin_default$Q = defineComponent({
11606
11634
  name: name$z,
11607
11635
  props: imagePreviewProps,
11608
11636
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
@@ -11690,7 +11718,7 @@ var stdin_default$P = defineComponent({
11690
11718
  "onDragEnd": onDragEnd,
11691
11719
  "onDragStart": onDragStart
11692
11720
  }, {
11693
- default: () => [props.images.map((image, index) => createVNode(stdin_default$Q, {
11721
+ default: () => [props.images.map((image, index) => createVNode(stdin_default$R, {
11694
11722
  "src": image.url,
11695
11723
  "show": props.show,
11696
11724
  "active": state.active,
@@ -11797,7 +11825,7 @@ function initInstance$1() {
11797
11825
  const onClosed = () => {
11798
11826
  state.images = [];
11799
11827
  };
11800
- return () => createVNode(stdin_default$P, mergeProps(state, {
11828
+ return () => createVNode(stdin_default$Q, mergeProps(state, {
11801
11829
  "onClosed": onClosed,
11802
11830
  "onUpdate:show": toggle
11803
11831
  }), null);
@@ -11830,7 +11858,7 @@ const showImagePreview = (options, startPosition = 0) => {
11830
11858
  instance$1.open(extend({}, defaultConfig, options));
11831
11859
  return instance$1;
11832
11860
  };
11833
- const ImagePreview = withInstall(stdin_default$P);
11861
+ const ImagePreview = withInstall(stdin_default$Q);
11834
11862
  function genAlphabet() {
11835
11863
  const charCodeOfA = "A".charCodeAt(0);
11836
11864
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
@@ -11853,7 +11881,7 @@ const indexBarProps = {
11853
11881
  };
11854
11882
  const INDEX_BAR_KEY = Symbol(name$y);
11855
11883
  const MIN_CONTRACTION_NUM = 2;
11856
- var stdin_default$O = defineComponent({
11884
+ var stdin_default$P = defineComponent({
11857
11885
  name: name$y,
11858
11886
  props: indexBarProps,
11859
11887
  emits: ["select", "change", "anchorClick", "update:activeAnchor"],
@@ -12241,7 +12269,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
12241
12269
  const indexAnchorProps = {
12242
12270
  index: numericProp
12243
12271
  };
12244
- var stdin_default$N = defineComponent({
12272
+ var stdin_default$O = defineComponent({
12245
12273
  name: name$x,
12246
12274
  props: indexAnchorProps,
12247
12275
  setup(props, {
@@ -12314,8 +12342,8 @@ var stdin_default$N = defineComponent({
12314
12342
  };
12315
12343
  }
12316
12344
  });
12317
- const IndexAnchor = withInstall(stdin_default$N);
12318
- const IndexBar = withInstall(stdin_default$O);
12345
+ const IndexAnchor = withInstall(stdin_default$O);
12346
+ const IndexBar = withInstall(stdin_default$P);
12319
12347
  const [name$w, bem$v, t$3] = createNamespace("list");
12320
12348
  const listProps = {
12321
12349
  error: Boolean,
@@ -12329,7 +12357,7 @@ const listProps = {
12329
12357
  finishedText: String,
12330
12358
  immediateCheck: truthProp
12331
12359
  };
12332
- var stdin_default$M = defineComponent({
12360
+ var stdin_default$N = defineComponent({
12333
12361
  name: name$w,
12334
12362
  props: listProps,
12335
12363
  emits: ["load", "update:error", "update:loading"],
@@ -12453,8 +12481,8 @@ var stdin_default$M = defineComponent({
12453
12481
  };
12454
12482
  }
12455
12483
  });
12456
- const List = withInstall(stdin_default$M);
12457
- var stdin_default$L = defineComponent({
12484
+ const List = withInstall(stdin_default$N);
12485
+ var stdin_default$M = defineComponent({
12458
12486
  name: "DeleteIcon",
12459
12487
  setup() {
12460
12488
  return () => createVNode("svg", {
@@ -12485,7 +12513,7 @@ const mediaPlayerProps = {
12485
12513
  mediaUrl: makeStringProp("")
12486
12514
  };
12487
12515
  const [name$v, bem$u] = createNamespace("media-player");
12488
- var stdin_default$K = defineComponent({
12516
+ var stdin_default$L = defineComponent({
12489
12517
  name: name$v,
12490
12518
  props: mediaPlayerProps,
12491
12519
  emits: ["update:show"],
@@ -12557,7 +12585,7 @@ var stdin_default$K = defineComponent({
12557
12585
  }
12558
12586
  }
12559
12587
  };
12560
- return () => createVNode(stdin_default$1O, {
12588
+ return () => createVNode(stdin_default$1P, {
12561
12589
  "class": bem$u(),
12562
12590
  "show": props.show,
12563
12591
  "position": "bottom",
@@ -12577,9 +12605,9 @@ var stdin_default$K = defineComponent({
12577
12605
  });
12578
12606
  }
12579
12607
  });
12580
- const MediaPlayer = withInstall(stdin_default$K);
12581
- var stdin_default$J = MediaPlayer;
12582
- var stdin_default$I = defineComponent({
12608
+ const MediaPlayer = withInstall(stdin_default$L);
12609
+ var stdin_default$K = MediaPlayer;
12610
+ var stdin_default$J = defineComponent({
12583
12611
  name: "DefaultVideoIcon",
12584
12612
  setup() {
12585
12613
  return () => createVNode("svg", {
@@ -12693,7 +12721,7 @@ var stdin_default$I = defineComponent({
12693
12721
  }, null)])]);
12694
12722
  }
12695
12723
  });
12696
- var stdin_default$H = defineComponent({
12724
+ var stdin_default$I = defineComponent({
12697
12725
  name: "DefaultAudioIcon",
12698
12726
  setup() {
12699
12727
  return () => createVNode("svg", {
@@ -12786,7 +12814,7 @@ var stdin_default$H = defineComponent({
12786
12814
  }, null)])])]);
12787
12815
  }
12788
12816
  });
12789
- var stdin_default$G = defineComponent({
12817
+ var stdin_default$H = defineComponent({
12790
12818
  name: "DefaultFileIcon",
12791
12819
  setup() {
12792
12820
  return () => createVNode("svg", {
@@ -12868,7 +12896,7 @@ var stdin_default$G = defineComponent({
12868
12896
  }, null)])])]);
12869
12897
  }
12870
12898
  });
12871
- var stdin_default$F = defineComponent({
12899
+ var stdin_default$G = defineComponent({
12872
12900
  name: "TakePhotoIcon",
12873
12901
  setup() {
12874
12902
  return () => createVNode("svg", {
@@ -12890,7 +12918,7 @@ var stdin_default$F = defineComponent({
12890
12918
  }, null)])])]);
12891
12919
  }
12892
12920
  });
12893
- var stdin_default$E = defineComponent({
12921
+ var stdin_default$F = defineComponent({
12894
12922
  name: "PickPhotoIcon",
12895
12923
  setup() {
12896
12924
  return () => createVNode("svg", {
@@ -12912,7 +12940,7 @@ var stdin_default$E = defineComponent({
12912
12940
  }, null)])])]);
12913
12941
  }
12914
12942
  });
12915
- var stdin_default$D = defineComponent({
12943
+ var stdin_default$E = defineComponent({
12916
12944
  name: "TakeVideoIcon",
12917
12945
  setup() {
12918
12946
  return () => createVNode("svg", {
@@ -12934,7 +12962,7 @@ var stdin_default$D = defineComponent({
12934
12962
  }, null)])])]);
12935
12963
  }
12936
12964
  });
12937
- var stdin_default$C = defineComponent({
12965
+ var stdin_default$D = defineComponent({
12938
12966
  name: "TakeAudioIcon",
12939
12967
  setup() {
12940
12968
  return () => createVNode("svg", {
@@ -12956,7 +12984,7 @@ var stdin_default$C = defineComponent({
12956
12984
  }, null)])])]);
12957
12985
  }
12958
12986
  });
12959
- var stdin_default$B = defineComponent({
12987
+ var stdin_default$C = defineComponent({
12960
12988
  name: "PickFileIcon",
12961
12989
  setup() {
12962
12990
  return () => createVNode("svg", {
@@ -13994,6 +14022,68 @@ class ImageProcessor {
13994
14022
  );
13995
14023
  }
13996
14024
  }
14025
+ const chooseImage = (type) => {
14026
+ return new Promise((resolve, reject) => {
14027
+ window.wx.chooseImage({
14028
+ count: 1,
14029
+ sizeType: ["original", "compressed"],
14030
+ // 可以指定是原图还是压缩图,默认二者都有
14031
+ sourceType: [type],
14032
+ // 可以指定来源是相册还是相机,默认二者都有
14033
+ success: function({ localIds }) {
14034
+ resolve(localIds);
14035
+ },
14036
+ fail: function(res) {
14037
+ reject(res);
14038
+ }
14039
+ });
14040
+ });
14041
+ };
14042
+ const uploadImage = (localId) => {
14043
+ return new Promise((resolve, reject) => {
14044
+ window.wx.uploadImage({
14045
+ localId,
14046
+ // 需要上传的图片的本地ID,由chooseImage接口获得
14047
+ isShowProgressTips: 1,
14048
+ // 默认为1,显示进度提示
14049
+ success: function({ serverId }) {
14050
+ resolve(serverId);
14051
+ },
14052
+ fail: function(res) {
14053
+ reject(res);
14054
+ }
14055
+ });
14056
+ });
14057
+ };
14058
+ const wxUploadImage = (type) => {
14059
+ return new Promise((resolve) => {
14060
+ const newMedias = [];
14061
+ chooseImage(type).then((localIds) => {
14062
+ const time = (/* @__PURE__ */ new Date()).getTime().toString();
14063
+ const media = {
14064
+ type: "photo",
14065
+ uniqueCode: time,
14066
+ fileSize: 0,
14067
+ fileName: time,
14068
+ originalName: time,
14069
+ originalSize: 0,
14070
+ lastModified: 0,
14071
+ deletable: true
14072
+ };
14073
+ localIds.forEach((localId) => {
14074
+ media.showSrc = localId;
14075
+ media.url = localId;
14076
+ uploadImage(localId).then((serverId) => {
14077
+ media.wxServerId = serverId;
14078
+ newMedias.push(media);
14079
+ if (newMedias.length === localIds.length) {
14080
+ resolve(newMedias);
14081
+ }
14082
+ });
14083
+ });
14084
+ });
14085
+ });
14086
+ };
13997
14087
  const [name$u, bem$t] = createNamespace("media-picker");
13998
14088
  const FILE_SIZE_LIMIT = 100;
13999
14089
  const mediaPickerProps = {
@@ -14043,9 +14133,12 @@ const mediaPickerProps = {
14043
14133
  // 文件读取完成后的回调函数,获取到对应的 media 对象
14044
14134
  afterRead: Function,
14045
14135
  // 文件删除前的回调函数,返回 false 可终止文件读取,支持返回 Promise
14046
- beforeDelete: Function
14136
+ beforeDelete: Function,
14137
+ // 是否强制使用微信
14138
+ useWx: Boolean,
14139
+ imageSizeType: makeStringProp("compressed")
14047
14140
  };
14048
- var stdin_default$A = defineComponent({
14141
+ var stdin_default$B = defineComponent({
14049
14142
  name: name$u,
14050
14143
  props: mediaPickerProps,
14051
14144
  emits: ["update:mediaList", "delete"],
@@ -14099,10 +14192,17 @@ var stdin_default$A = defineComponent({
14099
14192
  return;
14100
14193
  }
14101
14194
  if (mediaType === "photo") {
14102
- if (mediaAddType === "take") {
14103
- triggerHiddenInput(cameraInputRef.value);
14104
- } else if (mediaAddType === "pick") {
14105
- triggerHiddenInput(imageInputRef.value);
14195
+ if (props.useWx && isWeixin() && window.wx) {
14196
+ const type = mediaAddType === "take" ? "camera" : "album";
14197
+ wxUploadImage(type).then((newMedias) => {
14198
+ emit("update:mediaList", [...props.mediaList, ...newMedias]);
14199
+ });
14200
+ } else {
14201
+ if (mediaAddType === "take") {
14202
+ triggerHiddenInput(cameraInputRef.value);
14203
+ } else if (mediaAddType === "pick") {
14204
+ triggerHiddenInput(imageInputRef.value);
14205
+ }
14106
14206
  }
14107
14207
  } else if (mediaType === "video") {
14108
14208
  if (mediaAddType === "take") {
@@ -14244,6 +14344,47 @@ var stdin_default$A = defineComponent({
14244
14344
  message: ""
14245
14345
  };
14246
14346
  };
14347
+ const transformImageFilesWithoutCompress = (files) => {
14348
+ const mediaList = files.map((file) => {
14349
+ return file2DataURL(file).then((base64) => {
14350
+ const media = {
14351
+ showSrc: base64,
14352
+ type: "photo",
14353
+ file,
14354
+ // 需要以原始file的信息作为唯一标识
14355
+ uniqueCode: getFileUniqueCode(file),
14356
+ lastModified: file.lastModified,
14357
+ fileSize: file.size,
14358
+ // 修改后大小,水印,压缩等
14359
+ fileName: file.name,
14360
+ // 修改后名称
14361
+ deletable: true,
14362
+ message: "",
14363
+ originalName: file.name,
14364
+ // 原始名称
14365
+ originalSize: file.size
14366
+ // 原始大小
14367
+ };
14368
+ return media;
14369
+ });
14370
+ });
14371
+ showLoadingToast({
14372
+ message: "处理中...",
14373
+ forbidClick: true,
14374
+ duration: 0
14375
+ });
14376
+ return Promise.all(mediaList).then((medias) => {
14377
+ const _medias = [];
14378
+ medias.forEach((media) => {
14379
+ if (isDef(media)) {
14380
+ _medias.push(media);
14381
+ }
14382
+ });
14383
+ return _medias;
14384
+ }).finally(() => {
14385
+ closeToast();
14386
+ });
14387
+ };
14247
14388
  const transformImageFiles = (files) => {
14248
14389
  const promisesTodo = [];
14249
14390
  const resizeOptions = new ResizeOptions(props.maxImageSideLength);
@@ -14328,7 +14469,7 @@ var stdin_default$A = defineComponent({
14328
14469
  if (imageFiles.length === 0) {
14329
14470
  promise = Promise.resolve([]);
14330
14471
  } else {
14331
- promise = transformImageFiles(imageFiles);
14472
+ promise = props.imageSizeType === "original" ? transformImageFilesWithoutCompress(imageFiles) : transformImageFiles(imageFiles);
14332
14473
  }
14333
14474
  promise.then((medias) => {
14334
14475
  if (medias && medias.length > 0) {
@@ -14434,24 +14575,24 @@ var stdin_default$A = defineComponent({
14434
14575
  const renderIcon = (mediaType, mediaAddType) => {
14435
14576
  if (mediaType === "photo") {
14436
14577
  if (mediaAddType === "take") {
14437
- return createVNode(stdin_default$F, {
14578
+ return createVNode(stdin_default$G, {
14438
14579
  "class": bem$t("icon")
14439
14580
  }, null);
14440
14581
  } else if (mediaAddType === "pick") {
14441
- return createVNode(stdin_default$E, {
14582
+ return createVNode(stdin_default$F, {
14442
14583
  "class": bem$t("icon")
14443
14584
  }, null);
14444
14585
  }
14445
14586
  } else if (mediaType === "video") {
14446
- return createVNode(stdin_default$D, {
14587
+ return createVNode(stdin_default$E, {
14447
14588
  "class": bem$t("icon")
14448
14589
  }, null);
14449
14590
  } else if (mediaType === "audio") {
14450
- return createVNode(stdin_default$C, {
14591
+ return createVNode(stdin_default$D, {
14451
14592
  "class": bem$t("icon")
14452
14593
  }, null);
14453
14594
  } else if (mediaType === "file") {
14454
- return createVNode(stdin_default$B, {
14595
+ return createVNode(stdin_default$C, {
14455
14596
  "class": bem$t("icon")
14456
14597
  }, null);
14457
14598
  }
@@ -14517,10 +14658,10 @@ var stdin_default$A = defineComponent({
14517
14658
  message
14518
14659
  } = media;
14519
14660
  if (status === "uploading" || status === "failed") {
14520
- const MaskIcon = status === "failed" ? createVNode(stdin_default$1R, {
14661
+ const MaskIcon = status === "failed" ? createVNode(stdin_default$1S, {
14521
14662
  "name": "close",
14522
14663
  "class": bem$t("mask-icon")
14523
- }, null) : createVNode(stdin_default$1M, {
14664
+ }, null) : createVNode(stdin_default$1N, {
14524
14665
  "class": bem$t("loading")
14525
14666
  }, null);
14526
14667
  const showMessage = isDef(message) && message !== "";
@@ -14538,23 +14679,27 @@ var stdin_default$A = defineComponent({
14538
14679
  emit("delete", media, index);
14539
14680
  };
14540
14681
  const renderMediaThumbnail = (media) => {
14541
- const thumbnailUrl = media.showSrc || media.url;
14542
- if (thumbnailUrl) {
14543
- return createVNode(stdin_default$1I, {
14544
- "src": thumbnailUrl,
14545
- "fit": "cover",
14546
- "radius": "4"
14682
+ if (media.type === "video") {
14683
+ return createVNode(stdin_default$J, {
14684
+ "class": bem$t("thumbnail")
14547
14685
  }, null);
14548
- } else if (media.type === "video") {
14686
+ } else if (media.type === "audio") {
14549
14687
  return createVNode(stdin_default$I, {
14550
14688
  "class": bem$t("thumbnail")
14551
14689
  }, null);
14552
- } else if (media.type === "audio") {
14690
+ } else if (media.type === "file") {
14553
14691
  return createVNode(stdin_default$H, {
14554
14692
  "class": bem$t("thumbnail")
14555
14693
  }, null);
14556
- } else if (media.type === "file") {
14557
- return createVNode(stdin_default$G, {
14694
+ } else if (media.type === "photo") {
14695
+ const thumbnailUrl = media.showSrc || media.url;
14696
+ return createVNode(stdin_default$1J, {
14697
+ "src": thumbnailUrl,
14698
+ "fit": "cover",
14699
+ "radius": "4"
14700
+ }, null);
14701
+ } else {
14702
+ return createVNode(stdin_default$H, {
14558
14703
  "class": bem$t("thumbnail")
14559
14704
  }, null);
14560
14705
  }
@@ -14613,14 +14758,14 @@ var stdin_default$A = defineComponent({
14613
14758
  };
14614
14759
  const renderMediaList = () => props.mediaList.map((media, index) => {
14615
14760
  const showDelete = media.deletable && media.status !== "uploading";
14616
- const deleteIcon = showDelete && createVNode(stdin_default$L, {
14761
+ const deleteIcon = showDelete && createVNode(stdin_default$M, {
14617
14762
  "class": bem$t("delete"),
14618
14763
  "onClick": (event) => {
14619
14764
  event.stopPropagation();
14620
14765
  onDelete(media, index);
14621
14766
  }
14622
14767
  }, null);
14623
- return createVNode(stdin_default$T, {
14768
+ return createVNode(stdin_default$U, {
14624
14769
  "key": media.uniqueCode,
14625
14770
  "onClick": () => previewMedia(index)
14626
14771
  }, {
@@ -14638,12 +14783,12 @@ var stdin_default$A = defineComponent({
14638
14783
  const showButtons = props.allowTakePhoto || props.allowPickPhoto || props.allowTakeVideo || props.allowPickVideo || props.allowTakeAudio || props.allowPickAudio || props.allowPickFile;
14639
14784
  return createVNode("div", {
14640
14785
  "class": bem$t()
14641
- }, [title, hiddenInput(), createVNode(stdin_default$J, {
14786
+ }, [title, hiddenInput(), createVNode(stdin_default$K, {
14642
14787
  "show": mediaPlayerVisible.value,
14643
14788
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
14644
14789
  "mediaType": mediaTypeToPlay.value,
14645
14790
  "mediaUrl": mediaUrlToPlay.value
14646
- }, null), createVNode(stdin_default$1K, {
14791
+ }, null), createVNode(stdin_default$1L, {
14647
14792
  "show": actionVisible.value,
14648
14793
  "onUpdate:show": ($event) => actionVisible.value = $event,
14649
14794
  "actions": actionOptions.value,
@@ -14653,7 +14798,7 @@ var stdin_default$A = defineComponent({
14653
14798
  "onSelect": selectAction
14654
14799
  }, null), withDirectives(createVNode("div", {
14655
14800
  "class": bem$t("line")
14656
- }, [renderButtons()]), [[vShow, showButtons]]), withDirectives(createVNode(stdin_default$V, {
14801
+ }, [renderButtons()]), [[vShow, showButtons]]), withDirectives(createVNode(stdin_default$W, {
14657
14802
  "column-num": "3",
14658
14803
  "border": false,
14659
14804
  "square": true,
@@ -14674,7 +14819,7 @@ const defaultMedia = {
14674
14819
  lastModified: 0,
14675
14820
  deletable: false
14676
14821
  };
14677
- const MediaPicker = withInstall(stdin_default$A);
14822
+ const MediaPicker = withInstall(stdin_default$B);
14678
14823
  const [name$t, bem$s] = createNamespace("multiple-picker-options");
14679
14824
  const multiplePickerOptionsProps = {
14680
14825
  textKey: makeStringProp(""),
@@ -14685,7 +14830,7 @@ const multiplePickerOptionsProps = {
14685
14830
  initialOptions: makeArrayProp([]),
14686
14831
  currentIndexes: makeArrayProp([])
14687
14832
  };
14688
- var stdin_default$z = defineComponent({
14833
+ var stdin_default$A = defineComponent({
14689
14834
  name: name$t,
14690
14835
  props: multiplePickerOptionsProps,
14691
14836
  emits: ["change", "update:currentIndexes"],
@@ -14798,7 +14943,7 @@ const multiplePickerProps = {
14798
14943
  selectedValue: makeArrayProp([]),
14799
14944
  popup: truthProp
14800
14945
  };
14801
- var stdin_default$y = defineComponent({
14946
+ var stdin_default$z = defineComponent({
14802
14947
  name: name$s,
14803
14948
  props: multiplePickerProps,
14804
14949
  emits: ["cancel", "confirm", "change", "update:showPicker", "update:selectedIndex", "update:selectedValue"],
@@ -14877,7 +15022,7 @@ var stdin_default$y = defineComponent({
14877
15022
  };
14878
15023
  const genCancel = () => {
14879
15024
  const text = props.cancelButtonText || "取消";
14880
- return createVNode(stdin_default$1F, {
15025
+ return createVNode(stdin_default$1G, {
14881
15026
  "size": "normal",
14882
15027
  "block": true,
14883
15028
  "style": {
@@ -14890,7 +15035,7 @@ var stdin_default$y = defineComponent({
14890
15035
  };
14891
15036
  const genConfirm = () => {
14892
15037
  const text = props.confirmButtonText || "确定";
14893
- return createVNode(stdin_default$1F, {
15038
+ return createVNode(stdin_default$1G, {
14894
15039
  "type": "primary",
14895
15040
  "size": "normal",
14896
15041
  "block": true,
@@ -14919,7 +15064,7 @@ var stdin_default$y = defineComponent({
14919
15064
  } else {
14920
15065
  formatOptions = props.options;
14921
15066
  }
14922
- return createVNode(stdin_default$z, {
15067
+ return createVNode(stdin_default$A, {
14923
15068
  "ref": pickerOptions,
14924
15069
  "currentIndexes": confirmIndexes.value,
14925
15070
  "onUpdate:currentIndexes": ($event) => confirmIndexes.value = $event,
@@ -14939,12 +15084,12 @@ var stdin_default$y = defineComponent({
14939
15084
  }, [genOptionItems()]);
14940
15085
  const renderMultiplePicker = () => createVNode("div", {
14941
15086
  "class": bem$r()
14942
- }, [genTitle(), props.loading ? createVNode(stdin_default$1M, {
15087
+ }, [genTitle(), props.loading ? createVNode(stdin_default$1N, {
14943
15088
  "class": bem$r("loading")
14944
15089
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
14945
15090
  return () => {
14946
15091
  if (props.popup) {
14947
- return createVNode(stdin_default$1O, {
15092
+ return createVNode(stdin_default$1P, {
14948
15093
  "show": currentShow.value,
14949
15094
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
14950
15095
  "round": true,
@@ -14960,7 +15105,7 @@ var stdin_default$y = defineComponent({
14960
15105
  };
14961
15106
  }
14962
15107
  });
14963
- const MultiplePicker = withInstall(stdin_default$y);
15108
+ const MultiplePicker = withInstall(stdin_default$z);
14964
15109
  function usePlaceholder(contentRef, bem2) {
14965
15110
  const height = useHeight(contentRef, true);
14966
15111
  return (renderContent) => createVNode("div", {
@@ -14987,7 +15132,7 @@ const navBarProps = {
14987
15132
  navBarBackground: String,
14988
15133
  leftBtnStyle: Object
14989
15134
  };
14990
- var stdin_default$x = defineComponent({
15135
+ var stdin_default$y = defineComponent({
14991
15136
  name: name$r,
14992
15137
  props: navBarProps,
14993
15138
  emits: ["clickLeft", "clickRight"],
@@ -15076,7 +15221,7 @@ var stdin_default$x = defineComponent({
15076
15221
  };
15077
15222
  }
15078
15223
  });
15079
- const NavBar = withInstall(stdin_default$x);
15224
+ const NavBar = withInstall(stdin_default$y);
15080
15225
  const [name$q, bem$p] = createNamespace("notice-bar");
15081
15226
  const noticeBarProps = {
15082
15227
  text: String,
@@ -15092,7 +15237,7 @@ const noticeBarProps = {
15092
15237
  default: null
15093
15238
  }
15094
15239
  };
15095
- var stdin_default$w = defineComponent({
15240
+ var stdin_default$x = defineComponent({
15096
15241
  name: name$q,
15097
15242
  props: noticeBarProps,
15098
15243
  emits: ["close", "replay"],
@@ -15115,7 +15260,7 @@ var stdin_default$w = defineComponent({
15115
15260
  return slots["left-icon"]();
15116
15261
  }
15117
15262
  if (props.leftIcon) {
15118
- return createVNode(stdin_default$1R, {
15263
+ return createVNode(stdin_default$1S, {
15119
15264
  "class": bem$p("left-icon"),
15120
15265
  "name": props.leftIcon
15121
15266
  }, null);
@@ -15141,7 +15286,7 @@ var stdin_default$w = defineComponent({
15141
15286
  }
15142
15287
  const name2 = getRightIconName();
15143
15288
  if (name2) {
15144
- return createVNode(stdin_default$1R, {
15289
+ return createVNode(stdin_default$1S, {
15145
15290
  "name": name2,
15146
15291
  "class": bem$p("right-icon"),
15147
15292
  "onClick": onClickRightIcon
@@ -15232,7 +15377,7 @@ var stdin_default$w = defineComponent({
15232
15377
  };
15233
15378
  }
15234
15379
  });
15235
- const NoticeBar = withInstall(stdin_default$w);
15380
+ const NoticeBar = withInstall(stdin_default$x);
15236
15381
  const [name$p, bem$o] = createNamespace("notify");
15237
15382
  const notifyProps = extend({}, popupSharedProps, {
15238
15383
  type: makeStringProp("danger"),
@@ -15243,7 +15388,7 @@ const notifyProps = extend({}, popupSharedProps, {
15243
15388
  background: String,
15244
15389
  lockScroll: Boolean
15245
15390
  });
15246
- var stdin_default$v = defineComponent({
15391
+ var stdin_default$w = defineComponent({
15247
15392
  name: name$p,
15248
15393
  props: notifyProps,
15249
15394
  emits: ["update:show"],
@@ -15283,7 +15428,7 @@ function initInstance() {
15283
15428
  state,
15284
15429
  toggle
15285
15430
  } = usePopupState();
15286
- return () => createVNode(stdin_default$v, mergeProps(state, {
15431
+ return () => createVNode(stdin_default$w, mergeProps(state, {
15287
15432
  "onUpdate:show": toggle
15288
15433
  }), null);
15289
15434
  }
@@ -15327,17 +15472,17 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
15327
15472
  const resetNotifyDefaultOptions = () => {
15328
15473
  currentOptions = getDefaultOptions();
15329
15474
  };
15330
- const Notify = withInstall(stdin_default$v);
15475
+ const Notify = withInstall(stdin_default$w);
15331
15476
  const [name$o, bem$n] = createNamespace("key");
15332
- const CollapseIcon = createVNode(stdin_default$1R, {
15477
+ const CollapseIcon = createVNode(stdin_default$1S, {
15333
15478
  "name": "keyboard-shrink",
15334
15479
  "size": "40"
15335
15480
  }, null);
15336
- const DeleteIcon = createVNode(stdin_default$1R, {
15481
+ const DeleteIcon = createVNode(stdin_default$1S, {
15337
15482
  "name": "backspace",
15338
15483
  "size": "40"
15339
15484
  }, null);
15340
- var stdin_default$u = defineComponent({
15485
+ var stdin_default$v = defineComponent({
15341
15486
  name: name$o,
15342
15487
  props: {
15343
15488
  type: String,
@@ -15440,7 +15585,7 @@ function shuffle(array) {
15440
15585
  }
15441
15586
  return array;
15442
15587
  }
15443
- var stdin_default$t = defineComponent({
15588
+ var stdin_default$u = defineComponent({
15444
15589
  name: name$n,
15445
15590
  props: numberKeyboardProps,
15446
15591
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
@@ -15552,7 +15697,7 @@ var stdin_default$t = defineComponent({
15552
15697
  if (key.type === "extra") {
15553
15698
  keySlots.default = slots["extra-key"];
15554
15699
  }
15555
- return createVNode(stdin_default$u, {
15700
+ return createVNode(stdin_default$v, {
15556
15701
  "key": key.text,
15557
15702
  "text": key.text,
15558
15703
  "type": key.type,
@@ -15565,14 +15710,14 @@ var stdin_default$t = defineComponent({
15565
15710
  if (props.theme === "custom") {
15566
15711
  return createVNode("div", {
15567
15712
  "class": bem$m("sidebar")
15568
- }, [props.showDeleteKey && createVNode(stdin_default$u, {
15713
+ }, [props.showDeleteKey && createVNode(stdin_default$v, {
15569
15714
  "large": true,
15570
15715
  "text": props.deleteButtonText,
15571
15716
  "type": "delete",
15572
15717
  "onPress": onPress
15573
15718
  }, {
15574
15719
  delete: slots.delete
15575
- }), createVNode(stdin_default$u, {
15720
+ }), createVNode(stdin_default$v, {
15576
15721
  "large": true,
15577
15722
  "text": props.closeButtonText,
15578
15723
  "type": "close",
@@ -15626,7 +15771,7 @@ var stdin_default$t = defineComponent({
15626
15771
  };
15627
15772
  }
15628
15773
  });
15629
- const NumberKeyboard = withInstall(stdin_default$t);
15774
+ const NumberKeyboard = withInstall(stdin_default$u);
15630
15775
  const [name$m, bem$l] = createNamespace("password-input");
15631
15776
  const passwordInputProps = {
15632
15777
  info: String,
@@ -15637,7 +15782,7 @@ const passwordInputProps = {
15637
15782
  focused: Boolean,
15638
15783
  errorInfo: String
15639
15784
  };
15640
- var stdin_default$s = defineComponent({
15785
+ var stdin_default$t = defineComponent({
15641
15786
  name: name$m,
15642
15787
  props: passwordInputProps,
15643
15788
  emits: ["focus"],
@@ -15699,7 +15844,7 @@ var stdin_default$s = defineComponent({
15699
15844
  };
15700
15845
  }
15701
15846
  });
15702
- const PasswordInput = withInstall(stdin_default$s);
15847
+ const PasswordInput = withInstall(stdin_default$t);
15703
15848
  var __async = (__this, __arguments, generator) => {
15704
15849
  return new Promise((resolve, reject) => {
15705
15850
  var fulfilled = (value) => {
@@ -15750,7 +15895,7 @@ const popoverProps = {
15750
15895
  default: false
15751
15896
  }
15752
15897
  };
15753
- var stdin_default$r = defineComponent({
15898
+ var stdin_default$s = defineComponent({
15754
15899
  name: name$l,
15755
15900
  props: popoverProps,
15756
15901
  emits: ["select", "touchstart", "update:show"],
@@ -15971,7 +16116,7 @@ var stdin_default$r = defineComponent({
15971
16116
  };
15972
16117
  }
15973
16118
  });
15974
- const Popover = withInstall(stdin_default$r);
16119
+ const Popover = withInstall(stdin_default$s);
15975
16120
  const [name$k, bem$j, t$2] = createNamespace("pull-refresh");
15976
16121
  const DEFAULT_HEAD_HEIGHT = 50;
15977
16122
  const TEXT_STATUS = ["pulling", "loosing", "success"];
@@ -15988,7 +16133,7 @@ const pullRefreshProps = {
15988
16133
  animationDuration: makeNumericProp(300),
15989
16134
  scrollElement: null
15990
16135
  };
15991
- var stdin_default$q = defineComponent({
16136
+ var stdin_default$r = defineComponent({
15992
16137
  name: name$k,
15993
16138
  props: pullRefreshProps,
15994
16139
  emits: ["change", "refresh", "update:modelValue"],
@@ -16170,7 +16315,7 @@ var stdin_default$q = defineComponent({
16170
16315
  };
16171
16316
  }
16172
16317
  });
16173
- const PullRefresh = withInstall(stdin_default$q);
16318
+ const PullRefresh = withInstall(stdin_default$r);
16174
16319
  const [name$j, bem$i] = createNamespace("radio-group");
16175
16320
  const radioGroupProps = {
16176
16321
  disabled: Boolean,
@@ -16180,7 +16325,7 @@ const radioGroupProps = {
16180
16325
  checkedColor: String
16181
16326
  };
16182
16327
  const RADIO_KEY = Symbol(name$j);
16183
- var stdin_default$p = defineComponent({
16328
+ var stdin_default$q = defineComponent({
16184
16329
  name: name$j,
16185
16330
  props: radioGroupProps,
16186
16331
  emits: ["change", "update:modelValue"],
@@ -16208,7 +16353,7 @@ var stdin_default$p = defineComponent({
16208
16353
  }
16209
16354
  });
16210
16355
  const [name$i, bem$h] = createNamespace("radio");
16211
- var stdin_default$o = defineComponent({
16356
+ var stdin_default$p = defineComponent({
16212
16357
  name: name$i,
16213
16358
  props: checkerProps,
16214
16359
  emits: ["update:modelValue"],
@@ -16230,7 +16375,7 @@ var stdin_default$o = defineComponent({
16230
16375
  emit("update:modelValue", props.name);
16231
16376
  }
16232
16377
  };
16233
- return () => createVNode(stdin_default$1n, mergeProps({
16378
+ return () => createVNode(stdin_default$1o, mergeProps({
16234
16379
  "bem": bem$h,
16235
16380
  "role": "radio",
16236
16381
  "parent": parent,
@@ -16239,8 +16384,8 @@ var stdin_default$o = defineComponent({
16239
16384
  }, props), pick(slots, ["default", "icon"]));
16240
16385
  }
16241
16386
  });
16242
- const Radio = withInstall(stdin_default$o);
16243
- const RadioGroup = withInstall(stdin_default$p);
16387
+ const Radio = withInstall(stdin_default$p);
16388
+ const RadioGroup = withInstall(stdin_default$q);
16244
16389
  const [name$h, bem$g, t$1] = createNamespace("radio-picker");
16245
16390
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
16246
16391
  function getColumnsType(columns, fields) {
@@ -16312,7 +16457,7 @@ const MOMENTUM_TIME = 300;
16312
16457
  const MOMENTUM_DISTANCE = 15;
16313
16458
  const [name$g, bem$f] = createNamespace("radio-picker-column");
16314
16459
  const PICKER_KEY = Symbol(name$g);
16315
- var stdin_default$n = defineComponent({
16460
+ var stdin_default$o = defineComponent({
16316
16461
  name: name$g,
16317
16462
  props: {
16318
16463
  value: numericProp,
@@ -16477,7 +16622,7 @@ var stdin_default$n = defineComponent({
16477
16622
  const childData = {
16478
16623
  [props.allowHtml || isSearchedTrans ? "innerHTML" : "textContent"]: text
16479
16624
  };
16480
- return createVNode(stdin_default$o, data, {
16625
+ return createVNode(stdin_default$p, data, {
16481
16626
  default: () => [slots.option ? slots.option({
16482
16627
  option,
16483
16628
  searchValue: props.autoSearchVal
@@ -16498,7 +16643,7 @@ var stdin_default$n = defineComponent({
16498
16643
  if (slots.searchEmpty) {
16499
16644
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
16500
16645
  }
16501
- return createVNode(stdin_default$Z, {
16646
+ return createVNode(stdin_default$_, {
16502
16647
  "class": bem$f("search-empty"),
16503
16648
  "image": "no-search-result"
16504
16649
  }, {
@@ -16523,7 +16668,7 @@ var stdin_default$n = defineComponent({
16523
16668
  },
16524
16669
  "class": bem$f("wrapper"),
16525
16670
  "onTransitionend": stopMomentum
16526
- }, [createVNode(stdin_default$p, {
16671
+ }, [createVNode(stdin_default$q, {
16527
16672
  "modelValue": props.value
16528
16673
  }, {
16529
16674
  default: () => [renderOptions()]
@@ -16537,7 +16682,7 @@ const pickerToolbarProps = {
16537
16682
  };
16538
16683
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
16539
16684
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
16540
- var stdin_default$m = defineComponent({
16685
+ var stdin_default$n = defineComponent({
16541
16686
  name: name$f,
16542
16687
  props: pickerToolbarProps,
16543
16688
  emits: ["confirm", "cancel"],
@@ -16653,7 +16798,7 @@ const radioPickerProps = extend({}, pickerSharedProps, {
16653
16798
  autoSearch: truthProp,
16654
16799
  searchPlaceholder: makeStringProp("请搜索")
16655
16800
  });
16656
- var stdin_default$l = defineComponent({
16801
+ var stdin_default$m = defineComponent({
16657
16802
  name: name$h,
16658
16803
  props: radioPickerProps,
16659
16804
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
@@ -16755,7 +16900,7 @@ var stdin_default$l = defineComponent({
16755
16900
  emit("cancel", getEventParams());
16756
16901
  };
16757
16902
  const updateShow = (value) => emit("update:showPicker", value);
16758
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$n, {
16903
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$o, {
16759
16904
  "value": selectedValues.value[columnIndex],
16760
16905
  "fields": fields.value,
16761
16906
  "options": options,
@@ -16801,7 +16946,7 @@ var stdin_default$l = defineComponent({
16801
16946
  if (props.searchable) {
16802
16947
  return createVNode("div", {
16803
16948
  "class": bem$g("search")
16804
- }, [createVNode(stdin_default$13, {
16949
+ }, [createVNode(stdin_default$14, {
16805
16950
  "show-action": !props.autoSearch,
16806
16951
  "modelValue": searchVal.value,
16807
16952
  "placeholder": props.searchPlaceholder,
@@ -16823,7 +16968,7 @@ var stdin_default$l = defineComponent({
16823
16968
  };
16824
16969
  const renderToolbar = () => {
16825
16970
  if (props.showToolbar) {
16826
- return createVNode(stdin_default$m, mergeProps(pick(props, pickerToolbarPropKeys), {
16971
+ return createVNode(stdin_default$n, mergeProps(pick(props, pickerToolbarPropKeys), {
16827
16972
  "onConfirm": confirm,
16828
16973
  "onCancel": cancel
16829
16974
  }), pick(slots, pickerToolbarSlots));
@@ -16889,7 +17034,7 @@ var stdin_default$l = defineComponent({
16889
17034
  };
16890
17035
  return () => {
16891
17036
  if (props.popup) {
16892
- return createVNode(stdin_default$1O, {
17037
+ return createVNode(stdin_default$1P, {
16893
17038
  "show": showPicker.value,
16894
17039
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
16895
17040
  "round": true,
@@ -16902,7 +17047,7 @@ var stdin_default$l = defineComponent({
16902
17047
  };
16903
17048
  }
16904
17049
  });
16905
- const RadioPicker = withInstall(stdin_default$l);
17050
+ const RadioPicker = withInstall(stdin_default$m);
16906
17051
  const [name$e, bem$e] = createNamespace("rate");
16907
17052
  function getRateStatus(value, index, allowHalf, readonly) {
16908
17053
  if (value >= index) {
@@ -16945,7 +17090,7 @@ const rateProps = {
16945
17090
  modelValue: makeNumberProp(0),
16946
17091
  disabledColor: String
16947
17092
  };
16948
- var stdin_default$k = defineComponent({
17093
+ var stdin_default$l = defineComponent({
16949
17094
  name: name$e,
16950
17095
  props: rateProps,
16951
17096
  emits: ["change", "update:modelValue"],
@@ -17110,8 +17255,8 @@ var stdin_default$k = defineComponent({
17110
17255
  }, [list.value.map(renderStar)]);
17111
17256
  }
17112
17257
  });
17113
- const Rate = withInstall(stdin_default$k);
17114
- const Row = withInstall(stdin_default$1l);
17258
+ const Rate = withInstall(stdin_default$l);
17259
+ const Row = withInstall(stdin_default$1m);
17115
17260
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
17116
17261
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
17117
17262
  const resultStyle = {
@@ -17196,7 +17341,7 @@ const signatureProps = {
17196
17341
  unSupportTpl: makeStringProp("对不起,当前浏览器不支持Canvas,无法使用签名组件"),
17197
17342
  allowPortrait: Boolean
17198
17343
  };
17199
- var stdin_default$j = defineComponent({
17344
+ var stdin_default$k = defineComponent({
17200
17345
  name: name$d,
17201
17346
  props: signatureProps,
17202
17347
  emits: ["clear", "cancel", "confirm"],
@@ -17377,20 +17522,20 @@ var stdin_default$j = defineComponent({
17377
17522
  "height": canvasHeight.value
17378
17523
  }, null), [[vShow, isCanvasSupported.value]])]), createVNode("div", {
17379
17524
  "class": bem$d("actions")
17380
- }, [createVNode(stdin_default$1F, {
17525
+ }, [createVNode(stdin_default$1G, {
17381
17526
  "plain": true,
17382
17527
  "type": "warning",
17383
17528
  "onClick": () => clear(),
17384
17529
  "class": bem$d("button-again")
17385
17530
  }, {
17386
17531
  default: () => [createTextVNode("重签")]
17387
- }), createVNode(stdin_default$1F, {
17532
+ }), createVNode(stdin_default$1G, {
17388
17533
  "type": "default",
17389
17534
  "onClick": cancel,
17390
17535
  "class": bem$d("button-cancel")
17391
17536
  }, {
17392
17537
  default: () => [createTextVNode("取消")]
17393
- }), createVNode(stdin_default$1F, {
17538
+ }), createVNode(stdin_default$1G, {
17394
17539
  "block": true,
17395
17540
  "type": "primary",
17396
17541
  "disabled": isCompleteButtonDisabled.value,
@@ -17402,7 +17547,7 @@ var stdin_default$j = defineComponent({
17402
17547
  });
17403
17548
  }
17404
17549
  });
17405
- const Signature = withInstall(stdin_default$j);
17550
+ const Signature = withInstall(stdin_default$k);
17406
17551
  const [name$c, bem$c] = createNamespace("skeleton");
17407
17552
  const DEFAULT_ROW_WIDTH = "100%";
17408
17553
  const DEFAULT_LAST_ROW_WIDTH = "60%";
@@ -17423,7 +17568,7 @@ const skeletonProps = {
17423
17568
  default: DEFAULT_ROW_WIDTH
17424
17569
  }
17425
17570
  };
17426
- var stdin_default$i = defineComponent({
17571
+ var stdin_default$j = defineComponent({
17427
17572
  name: name$c,
17428
17573
  inheritAttrs: false,
17429
17574
  props: skeletonProps,
@@ -17512,7 +17657,7 @@ var stdin_default$i = defineComponent({
17512
17657
  };
17513
17658
  }
17514
17659
  });
17515
- const Skeleton = withInstall(stdin_default$i);
17660
+ const Skeleton = withInstall(stdin_default$j);
17516
17661
  const [name$b, bem$b] = createNamespace("slider");
17517
17662
  const sliderProps = {
17518
17663
  min: makeNumericProp(0),
@@ -17536,7 +17681,7 @@ const sliderProps = {
17536
17681
  direction: makeStringProp("horizontal"),
17537
17682
  showPercent: truthProp
17538
17683
  };
17539
- var stdin_default$h = defineComponent({
17684
+ var stdin_default$i = defineComponent({
17540
17685
  name: name$b,
17541
17686
  props: sliderProps,
17542
17687
  emits: ["change", "dragEnd", "dragStart", "update:modelValue"],
@@ -17580,6 +17725,12 @@ var stdin_default$h = defineComponent({
17580
17725
  }
17581
17726
  return "0%";
17582
17727
  };
17728
+ const getPositionKey = () => {
17729
+ if (props.vertical) {
17730
+ return props.reverse ? "bottom" : "top";
17731
+ }
17732
+ return props.reverse ? "right" : "left";
17733
+ };
17583
17734
  const barStyle = computed(() => {
17584
17735
  const mainAxis = props.vertical ? "height" : "width";
17585
17736
  const style = {
@@ -17589,12 +17740,6 @@ var stdin_default$h = defineComponent({
17589
17740
  if (dragStatus.value) {
17590
17741
  style.transition = "none";
17591
17742
  }
17592
- const getPositionKey = () => {
17593
- if (props.vertical) {
17594
- return props.reverse ? "bottom" : "top";
17595
- }
17596
- return props.reverse ? "right" : "left";
17597
- };
17598
17743
  style[getPositionKey()] = calcOffset();
17599
17744
  return style;
17600
17745
  });
@@ -17716,13 +17861,6 @@ var stdin_default$h = defineComponent({
17716
17861
  }
17717
17862
  dragStatus.value = "";
17718
17863
  };
17719
- const getButtonClassName = (index) => {
17720
- if (typeof index === "number") {
17721
- const position = ["left", "right"];
17722
- return bem$b(`button-wrapper`, position[index]);
17723
- }
17724
- return bem$b("button-wrapper", props.reverse ? "left" : "right");
17725
- };
17726
17864
  const renderButtonContent = (value, index) => {
17727
17865
  const dragging = dragStatus.value === "dragging";
17728
17866
  if (typeof index === "number") {
@@ -17752,10 +17890,15 @@ var stdin_default$h = defineComponent({
17752
17890
  };
17753
17891
  const renderButton = (index) => {
17754
17892
  const current22 = typeof index === "number" ? props.modelValue[index] : props.modelValue;
17893
+ const left = `${(current22 - Number(props.min)) * 100 / scope.value}%`;
17894
+ const style = {
17895
+ [getPositionKey()]: left,
17896
+ transform: `translate(-${left},-50%)`
17897
+ };
17755
17898
  return createVNode("div", {
17756
17899
  "ref": slider[index != null ? index : 0],
17757
17900
  "role": "slider",
17758
- "class": getButtonClassName(index),
17901
+ "class": bem$b("button-wrapper"),
17759
17902
  "tabindex": props.disabled ? void 0 : 0,
17760
17903
  "aria-valuemin": props.min,
17761
17904
  "aria-valuenow": current22,
@@ -17771,7 +17914,8 @@ var stdin_default$h = defineComponent({
17771
17914
  },
17772
17915
  "onTouchend": onTouchEnd,
17773
17916
  "onTouchcancel": onTouchEnd,
17774
- "onClick": stopPropagation
17917
+ "onClick": stopPropagation,
17918
+ "style": style
17775
17919
  }, [renderButtonContent(current22, index)]);
17776
17920
  };
17777
17921
  const renderTitle = () => {
@@ -17836,10 +17980,10 @@ var stdin_default$h = defineComponent({
17836
17980
  }, [createVNode("div", {
17837
17981
  "class": bem$b("bar"),
17838
17982
  "style": barStyle.value
17839
- }, [renderButtons()])]))]);
17983
+ }, null), renderButtons()]))]);
17840
17984
  }
17841
17985
  });
17842
- const Slider = withInstall(stdin_default$h);
17986
+ const Slider = withInstall(stdin_default$i);
17843
17987
  const [name$a, bem$a] = createNamespace("steps");
17844
17988
  const stepsProps = {
17845
17989
  active: makeNumericProp(0),
@@ -17854,7 +17998,7 @@ const stepsProps = {
17854
17998
  titleInactiveColor: String
17855
17999
  };
17856
18000
  const STEPS_KEY = Symbol(name$a);
17857
- var stdin_default$g = defineComponent({
18001
+ var stdin_default$h = defineComponent({
17858
18002
  name: name$a,
17859
18003
  props: stepsProps,
17860
18004
  emits: ["clickStep"],
@@ -17886,7 +18030,7 @@ const stepProps = {
17886
18030
  activeIcon: String,
17887
18031
  inactiveIcon: String
17888
18032
  };
17889
- var stdin_default$f = defineComponent({
18033
+ var stdin_default$g = defineComponent({
17890
18034
  name: name$9,
17891
18035
  props: stepProps,
17892
18036
  setup(props, {
@@ -18011,7 +18155,7 @@ var stdin_default$f = defineComponent({
18011
18155
  };
18012
18156
  }
18013
18157
  });
18014
- const Step = withInstall(stdin_default$f);
18158
+ const Step = withInstall(stdin_default$g);
18015
18159
  const [name$8, bem$8] = createNamespace("stepper");
18016
18160
  const LONG_PRESS_INTERVAL = 200;
18017
18161
  const isEqual = (value1, value2) => String(value1) === String(value2);
@@ -18039,7 +18183,7 @@ const stepperProps = {
18039
18183
  defaultValue: makeNumericProp(1),
18040
18184
  decimalLength: numericProp
18041
18185
  };
18042
- var stdin_default$e = defineComponent({
18186
+ var stdin_default$f = defineComponent({
18043
18187
  name: name$8,
18044
18188
  props: stepperProps,
18045
18189
  emits: ["plus", "blur", "minus", "focus", "change", "overlimit", "update:modelValue"],
@@ -18224,7 +18368,7 @@ var stdin_default$e = defineComponent({
18224
18368
  }
18225
18369
  ],
18226
18370
  "aria-disabled": minusDisabled.value || void 0
18227
- }, createListeners("minus")), [createVNode(stdin_default$1R, {
18371
+ }, createListeners("minus")), [createVNode(stdin_default$1S, {
18228
18372
  "name": "minus",
18229
18373
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18230
18374
  }, null)]), [[vShow, props.showMinus]]), withDirectives(createVNode("input", {
@@ -18257,14 +18401,14 @@ var stdin_default$e = defineComponent({
18257
18401
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
18258
18402
  ],
18259
18403
  "aria-disabled": plusDisabled.value || void 0
18260
- }, createListeners("plus")), [createVNode(stdin_default$1R, {
18404
+ }, createListeners("plus")), [createVNode(stdin_default$1S, {
18261
18405
  "name": "plus",
18262
18406
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18263
18407
  }, null)]), [[vShow, props.showPlus]])]);
18264
18408
  }
18265
18409
  });
18266
- const Stepper = withInstall(stdin_default$e);
18267
- const Steps = withInstall(stdin_default$g);
18410
+ const Stepper = withInstall(stdin_default$f);
18411
+ const Steps = withInstall(stdin_default$h);
18268
18412
  const [name$7, bem$7] = createNamespace("swipe-cell");
18269
18413
  const swipeCellProps = {
18270
18414
  name: makeNumericProp(""),
@@ -18274,7 +18418,7 @@ const swipeCellProps = {
18274
18418
  beforeClose: Function,
18275
18419
  stopPropagation: Boolean
18276
18420
  };
18277
- var stdin_default$d = defineComponent({
18421
+ var stdin_default$e = defineComponent({
18278
18422
  name: name$7,
18279
18423
  props: swipeCellProps,
18280
18424
  emits: ["open", "close", "click"],
@@ -18427,7 +18571,7 @@ var stdin_default$d = defineComponent({
18427
18571
  };
18428
18572
  }
18429
18573
  });
18430
- const SwipeCell = withInstall(stdin_default$d);
18574
+ const SwipeCell = withInstall(stdin_default$e);
18431
18575
  const [name$6, bem$6] = createNamespace("switch");
18432
18576
  const switchProps = {
18433
18577
  size: numericProp,
@@ -18445,7 +18589,7 @@ const switchProps = {
18445
18589
  default: false
18446
18590
  }
18447
18591
  };
18448
- var stdin_default$c = defineComponent({
18592
+ var stdin_default$d = defineComponent({
18449
18593
  name: name$6,
18450
18594
  props: switchProps,
18451
18595
  emits: ["change", "update:modelValue"],
@@ -18505,8 +18649,8 @@ var stdin_default$c = defineComponent({
18505
18649
  };
18506
18650
  }
18507
18651
  });
18508
- const Switch = withInstall(stdin_default$c);
18509
- var stdin_default$b = Switch;
18652
+ const Switch = withInstall(stdin_default$d);
18653
+ var stdin_default$c = Switch;
18510
18654
  const [name$5, bem$5] = createNamespace("tabbar");
18511
18655
  const tabbarProps = {
18512
18656
  route: Boolean,
@@ -18524,7 +18668,7 @@ const tabbarProps = {
18524
18668
  }
18525
18669
  };
18526
18670
  const TABBAR_KEY = Symbol(name$5);
18527
- var stdin_default$a = defineComponent({
18671
+ var stdin_default$b = defineComponent({
18528
18672
  name: name$5,
18529
18673
  props: tabbarProps,
18530
18674
  emits: ["change", "update:modelValue"],
@@ -18582,7 +18726,7 @@ var stdin_default$a = defineComponent({
18582
18726
  };
18583
18727
  }
18584
18728
  });
18585
- const Tabbar = withInstall(stdin_default$a);
18729
+ const Tabbar = withInstall(stdin_default$b);
18586
18730
  const [name$4, bem$4] = createNamespace("tabbar-item");
18587
18731
  const tabbarItemProps = extend({}, routeProps, {
18588
18732
  dot: Boolean,
@@ -18592,7 +18736,7 @@ const tabbarItemProps = extend({}, routeProps, {
18592
18736
  badgeProps: Object,
18593
18737
  iconPrefix: String
18594
18738
  });
18595
- var stdin_default$9 = defineComponent({
18739
+ var stdin_default$a = defineComponent({
18596
18740
  name: name$4,
18597
18741
  props: tabbarItemProps,
18598
18742
  emits: ["click"],
@@ -18694,13 +18838,159 @@ var stdin_default$9 = defineComponent({
18694
18838
  };
18695
18839
  }
18696
18840
  });
18697
- const TabbarItem = withInstall(stdin_default$9);
18841
+ const TabbarItem = withInstall(stdin_default$a);
18698
18842
  var SortOrderEnum = /* @__PURE__ */ ((SortOrderEnum2) => {
18699
18843
  SortOrderEnum2["ASCEND"] = "ascend";
18700
18844
  SortOrderEnum2["DESCEND"] = "descend";
18701
18845
  return SortOrderEnum2;
18702
18846
  })(SortOrderEnum || {});
18703
- const [name$3, bem$3] = createNamespace("table");
18847
+ const [name$3, bem$3] = createNamespace("text-ellipsis");
18848
+ const textEllipsisProps = {
18849
+ rows: makeNumericProp(1),
18850
+ dots: makeStringProp("..."),
18851
+ content: makeStringProp(""),
18852
+ expandText: makeStringProp(""),
18853
+ expandType: makeStringProp("flat"),
18854
+ collapseText: makeStringProp(""),
18855
+ position: makeStringProp("end")
18856
+ };
18857
+ var stdin_default$9 = defineComponent({
18858
+ name: name$3,
18859
+ props: textEllipsisProps,
18860
+ emits: ["clickAction"],
18861
+ setup(props, {
18862
+ emit
18863
+ }) {
18864
+ const text = ref("");
18865
+ const expanded = ref(false);
18866
+ const hasAction = ref(false);
18867
+ const root = ref();
18868
+ const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
18869
+ const pxToNum = (value) => {
18870
+ if (!value)
18871
+ return 0;
18872
+ const match = value.match(/^\d*(\.\d*)?/);
18873
+ return match ? Number(match[0]) : 0;
18874
+ };
18875
+ const calcEllipsised = () => {
18876
+ const cloneContainer = () => {
18877
+ if (!root.value)
18878
+ return;
18879
+ const originStyle = window.getComputedStyle(root.value);
18880
+ const container2 = document.createElement("div");
18881
+ const styleNames = Array.prototype.slice.apply(originStyle);
18882
+ styleNames.forEach((name2) => {
18883
+ container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
18884
+ });
18885
+ container2.style.position = "fixed";
18886
+ container2.style.zIndex = "-9999";
18887
+ container2.style.top = "-9999px";
18888
+ container2.style.height = "auto";
18889
+ container2.style.minHeight = "auto";
18890
+ container2.style.maxHeight = "auto";
18891
+ container2.innerText = props.content;
18892
+ document.body.appendChild(container2);
18893
+ return container2;
18894
+ };
18895
+ const calcEllipsisText = (container2, maxHeight2) => {
18896
+ const {
18897
+ content,
18898
+ position,
18899
+ dots
18900
+ } = props;
18901
+ const end = content.length;
18902
+ const calcEllipse = () => {
18903
+ const tail = (left, right) => {
18904
+ if (right - left <= 1) {
18905
+ if (position === "end") {
18906
+ return content.slice(0, left) + dots;
18907
+ }
18908
+ return dots + content.slice(right, end);
18909
+ }
18910
+ const middle2 = Math.round((left + right) / 2);
18911
+ if (position === "end") {
18912
+ container2.innerText = content.slice(0, middle2) + dots + actionText.value;
18913
+ } else {
18914
+ container2.innerText = dots + content.slice(middle2, end) + actionText.value;
18915
+ }
18916
+ if (container2.offsetHeight > maxHeight2) {
18917
+ if (position === "end") {
18918
+ return tail(left, middle2);
18919
+ }
18920
+ return tail(middle2, right);
18921
+ }
18922
+ if (position === "end") {
18923
+ return tail(middle2, right);
18924
+ }
18925
+ return tail(left, middle2);
18926
+ };
18927
+ container2.innerText = tail(0, end);
18928
+ };
18929
+ const middleTail = (leftPart, rightPart) => {
18930
+ if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
18931
+ return content.slice(0, leftPart[0]) + dots + content.slice(rightPart[1], end);
18932
+ }
18933
+ const leftMiddle = Math.floor((leftPart[0] + leftPart[1]) / 2);
18934
+ const rightMiddle = Math.ceil((rightPart[0] + rightPart[1]) / 2);
18935
+ container2.innerText = props.content.slice(0, leftMiddle) + props.dots + props.content.slice(rightMiddle, end) + props.expandText;
18936
+ if (container2.offsetHeight >= maxHeight2) {
18937
+ return middleTail([leftPart[0], leftMiddle], [rightMiddle, rightPart[1]]);
18938
+ }
18939
+ return middleTail([leftMiddle, leftPart[1]], [rightPart[0], rightMiddle]);
18940
+ };
18941
+ const middle = 0 + end >> 1;
18942
+ props.position === "middle" ? container2.innerText = middleTail([0, middle], [middle, end]) : calcEllipse();
18943
+ return container2.innerText;
18944
+ };
18945
+ const container = cloneContainer();
18946
+ if (!container)
18947
+ return;
18948
+ const {
18949
+ paddingBottom,
18950
+ paddingTop,
18951
+ lineHeight
18952
+ } = container.style;
18953
+ const maxHeight = Math.ceil((Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom));
18954
+ if (maxHeight < container.offsetHeight) {
18955
+ hasAction.value = true;
18956
+ text.value = calcEllipsisText(container, maxHeight);
18957
+ } else {
18958
+ hasAction.value = false;
18959
+ text.value = props.content;
18960
+ }
18961
+ document.body.removeChild(container);
18962
+ };
18963
+ const onClickAction = (event) => {
18964
+ event.stopPropagation();
18965
+ event.preventDefault();
18966
+ expanded.value = !expanded.value;
18967
+ emit("clickAction", event);
18968
+ };
18969
+ const renderAction = () => createVNode("span", {
18970
+ "class": bem$3("action"),
18971
+ "onClick": onClickAction
18972
+ }, [actionText.value]);
18973
+ const onClickEllipsis = () => {
18974
+ if (props.expandType === "dialog" && hasAction.value) {
18975
+ showDialog({
18976
+ message: props.content
18977
+ }).then(() => {
18978
+ });
18979
+ }
18980
+ };
18981
+ onMounted(calcEllipsised);
18982
+ watch(() => [props.content, props.rows, props.position], calcEllipsised);
18983
+ useEventListener("resize", calcEllipsised);
18984
+ return () => createVNode("div", {
18985
+ "ref": root,
18986
+ "class": bem$3(),
18987
+ "onClick": onClickEllipsis
18988
+ }, [expanded.value ? props.content : text.value, props.expandType !== "dialog" && hasAction.value ? renderAction() : null]);
18989
+ }
18990
+ });
18991
+ const TextEllipsis = withInstall(stdin_default$9);
18992
+ var stdin_default$8 = TextEllipsis;
18993
+ const [name$2, bem$2] = createNamespace("table");
18704
18994
  const tableProps = {
18705
18995
  headList: makeArrayProp(),
18706
18996
  dataList: makeArrayProp(),
@@ -18717,14 +19007,19 @@ const tableProps = {
18717
19007
  border: {
18718
19008
  type: Boolean,
18719
19009
  default: false
19010
+ },
19011
+ hideTableHead: {
19012
+ type: Boolean,
19013
+ default: false
18720
19014
  }
18721
19015
  };
18722
- var stdin_default$8 = defineComponent({
18723
- name: name$3,
19016
+ var stdin_default$7 = defineComponent({
19017
+ name: name$2,
18724
19018
  props: tableProps,
18725
19019
  emits: ["sort"],
18726
19020
  setup(props, {
18727
- emit
19021
+ emit,
19022
+ slots
18728
19023
  }) {
18729
19024
  const sortOrder = ref("");
18730
19025
  const sortKey = ref("");
@@ -18802,9 +19097,11 @@ var stdin_default$8 = defineComponent({
18802
19097
  pingedLeft.value = mergedScrollLeft > 0;
18803
19098
  };
18804
19099
  const getHead = (colData) => {
19100
+ const headSlot = slots[`head-${colData.id}`];
19101
+ const headEllipsisType = colData.sorter ? "flat" : "dialog";
18805
19102
  if ((colData == null ? void 0 : colData.colSpan) !== 0) {
18806
19103
  return createVNode("th", {
18807
- "class": bem$3("left", {
19104
+ "class": bem$2("left", {
18808
19105
  fixed: colData.fixed,
18809
19106
  last: colData.lastFixLeft && pingedLeft.value
18810
19107
  }),
@@ -18812,22 +19109,26 @@ var stdin_default$8 = defineComponent({
18812
19109
  left: colData.fixed ? colData.left : ""
18813
19110
  },
18814
19111
  "colspan": (colData == null ? void 0 : colData.colSpan) !== 1 ? colData == null ? void 0 : colData.colSpan : null
18815
- }, [createVNode("div", {
18816
- "class": bem$3("head"),
19112
+ }, [headSlot ? headSlot(colData) : createVNode("div", {
19113
+ "class": bem$2("head"),
18817
19114
  "onClick": () => onHeaderClick(colData)
18818
- }, [createVNode("span", {
18819
- "class": bem$3("head-label")
19115
+ }, [colData.ellipsis ? createVNode(stdin_default$8, {
19116
+ "content": colData.label,
19117
+ "expandType": headEllipsisType,
19118
+ "class": bem$2("head-label-ellipsis")
19119
+ }, null) : createVNode("span", {
19120
+ "class": bem$2("head-label")
18820
19121
  }, [colData.label]), colData.sorter ? createVNode("span", {
18821
- "class": bem$3("head-sort")
19122
+ "class": bem$2("head-sort")
18822
19123
  }, [createVNode(Icon, {
18823
- "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.ASCEND ? bem$3("sort-active") : ""],
19124
+ "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.ASCEND ? bem$2("sort-active") : ""],
18824
19125
  "name": "spinner-shrink",
18825
19126
  "size": "12",
18826
19127
  "style": {
18827
19128
  marginBottom: "-3px"
18828
19129
  }
18829
19130
  }, null), createVNode(Icon, {
18830
- "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.DESCEND ? bem$3("sort-active") : ""],
19131
+ "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.DESCEND ? bem$2("sort-active") : ""],
18831
19132
  "name": "spinner-expand",
18832
19133
  "size": "12",
18833
19134
  "style": {
@@ -18836,6 +19137,15 @@ var stdin_default$8 = defineComponent({
18836
19137
  }, null)]) : ""])]);
18837
19138
  }
18838
19139
  };
19140
+ const getElement = (rowData, colData) => {
19141
+ if (rowData[colData.key] && rowData[colData.key].id && slots[`data-${rowData[colData.key].id}`]) {
19142
+ return slots[`data-${rowData[colData.key].id}`](rowData[colData.key]);
19143
+ }
19144
+ return colData.ellipsis ? createVNode(stdin_default$8, {
19145
+ "content": rowData[colData.key],
19146
+ "expandType": "dialog"
19147
+ }, null) : rowData[colData.key];
19148
+ };
18839
19149
  const getBody = (rowData, rowIndex) => createVNode("tr", null, [formatColumns.value.map((colData) => {
18840
19150
  let additionalCellProps;
18841
19151
  if (colData.customCell) {
@@ -18845,23 +19155,23 @@ var stdin_default$8 = defineComponent({
18845
19155
  style.left = colData.fixed ? colData.left : "";
18846
19156
  return (additionalCellProps == null ? void 0 : additionalCellProps.rowSpan) !== 0 && (additionalCellProps == null ? void 0 : additionalCellProps.colSpan) !== 0 && createVNode("td", {
18847
19157
  "onClick": () => colData.click && colData.click(rowData, rowIndex),
18848
- "class": bem$3("left", {
19158
+ "class": bem$2("left", {
18849
19159
  fixed: colData.fixed,
18850
19160
  last: colData.lastFixLeft && pingedLeft.value
18851
19161
  }),
18852
19162
  "colspan": (additionalCellProps == null ? void 0 : additionalCellProps.colSpan) !== 1 ? additionalCellProps == null ? void 0 : additionalCellProps.colSpan : null,
18853
19163
  "rowspan": (additionalCellProps == null ? void 0 : additionalCellProps.rowSpan) !== 1 ? additionalCellProps == null ? void 0 : additionalCellProps.rowSpan : null,
18854
19164
  "style": style
18855
- }, [rowData[colData.key]]);
19165
+ }, [getElement(rowData, colData)]);
18856
19166
  })]);
18857
19167
  const getCol = () => {
18858
19168
  const cols = [];
18859
19169
  const col = resortHeadList.value.length;
18860
19170
  for (let j = 0; j < col; j++) {
18861
19171
  cols.push(createVNode("div", {
18862
- "class": bem$3("col")
19172
+ "class": bem$2("col")
18863
19173
  }, [createVNode("div", {
18864
- "class": bem$3("col-item")
19174
+ "class": bem$2("col-item")
18865
19175
  }, null)]));
18866
19176
  }
18867
19177
  return cols;
@@ -18870,7 +19180,7 @@ var stdin_default$8 = defineComponent({
18870
19180
  const Rows = [];
18871
19181
  for (let i = 0; i < props.skeletonRow; i++) {
18872
19182
  Rows.push(createVNode("div", {
18873
- "class": bem$3("row", {
19183
+ "class": bem$2("row", {
18874
19184
  head: i === 0
18875
19185
  })
18876
19186
  }, [getCol()]));
@@ -18878,12 +19188,12 @@ var stdin_default$8 = defineComponent({
18878
19188
  return Rows;
18879
19189
  };
18880
19190
  return () => props.loading ? createVNode("div", {
18881
- "class": bem$3({
19191
+ "class": bem$2({
18882
19192
  animate: true,
18883
19193
  skeleton: true
18884
19194
  })
18885
19195
  }, [getLoadingColumn()]) : createVNode("div", {
18886
- "class": bem$3({
19196
+ "class": bem$2({
18887
19197
  fixed: fixedColumn.value.length > 0,
18888
19198
  bordered: props.border,
18889
19199
  striped: props.striped
@@ -18893,149 +19203,14 @@ var stdin_default$8 = defineComponent({
18893
19203
  "style": {
18894
19204
  width: item.width
18895
19205
  }
18896
- }, null))]), createVNode("thead", {
18897
- "class": bem$3("thead")
18898
- }, [createVNode("tr", null, [formatColumns.value.map((colData) => getHead(colData))])]), createVNode("tbody", {
18899
- "class": bem$3("tbody")
19206
+ }, null))]), withDirectives(createVNode("thead", {
19207
+ "class": bem$2("thead")
19208
+ }, [createVNode("tr", null, [formatColumns.value.map((colData) => getHead(colData))])]), [[vShow, !props.hideTableHead]]), createVNode("tbody", {
19209
+ "class": bem$2("tbody")
18900
19210
  }, [props.dataList.map((rowData, rowIndex) => getBody(rowData, rowIndex))])])]);
18901
19211
  }
18902
19212
  });
18903
- const Table = withInstall(stdin_default$8);
18904
- const [name$2, bem$2] = createNamespace("text-ellipsis");
18905
- const textEllipsisProps = {
18906
- rows: makeNumericProp(1),
18907
- dots: makeStringProp("..."),
18908
- content: makeStringProp(""),
18909
- expandText: makeStringProp(""),
18910
- collapseText: makeStringProp(""),
18911
- position: makeStringProp("end")
18912
- };
18913
- var stdin_default$7 = defineComponent({
18914
- name: name$2,
18915
- props: textEllipsisProps,
18916
- emits: ["clickAction"],
18917
- setup(props, {
18918
- emit
18919
- }) {
18920
- const text = ref("");
18921
- const expanded = ref(false);
18922
- const hasAction = ref(false);
18923
- const root = ref();
18924
- const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
18925
- const pxToNum = (value) => {
18926
- if (!value)
18927
- return 0;
18928
- const match = value.match(/^\d*(\.\d*)?/);
18929
- return match ? Number(match[0]) : 0;
18930
- };
18931
- const calcEllipsised = () => {
18932
- const cloneContainer = () => {
18933
- if (!root.value)
18934
- return;
18935
- const originStyle = window.getComputedStyle(root.value);
18936
- const container2 = document.createElement("div");
18937
- const styleNames = Array.prototype.slice.apply(originStyle);
18938
- styleNames.forEach((name2) => {
18939
- container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
18940
- });
18941
- container2.style.position = "fixed";
18942
- container2.style.zIndex = "-9999";
18943
- container2.style.top = "-9999px";
18944
- container2.style.height = "auto";
18945
- container2.style.minHeight = "auto";
18946
- container2.style.maxHeight = "auto";
18947
- container2.innerText = props.content;
18948
- document.body.appendChild(container2);
18949
- return container2;
18950
- };
18951
- const calcEllipsisText = (container2, maxHeight2) => {
18952
- const {
18953
- content,
18954
- position,
18955
- dots
18956
- } = props;
18957
- const end = content.length;
18958
- const calcEllipse = () => {
18959
- const tail = (left, right) => {
18960
- if (right - left <= 1) {
18961
- if (position === "end") {
18962
- return content.slice(0, left) + dots;
18963
- }
18964
- return dots + content.slice(right, end);
18965
- }
18966
- const middle2 = Math.round((left + right) / 2);
18967
- if (position === "end") {
18968
- container2.innerText = content.slice(0, middle2) + dots + actionText.value;
18969
- } else {
18970
- container2.innerText = dots + content.slice(middle2, end) + actionText.value;
18971
- }
18972
- if (container2.offsetHeight > maxHeight2) {
18973
- if (position === "end") {
18974
- return tail(left, middle2);
18975
- }
18976
- return tail(middle2, right);
18977
- }
18978
- if (position === "end") {
18979
- return tail(middle2, right);
18980
- }
18981
- return tail(left, middle2);
18982
- };
18983
- container2.innerText = tail(0, end);
18984
- };
18985
- const middleTail = (leftPart, rightPart) => {
18986
- if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
18987
- return content.slice(0, leftPart[0]) + dots + content.slice(rightPart[1], end);
18988
- }
18989
- const leftMiddle = Math.floor((leftPart[0] + leftPart[1]) / 2);
18990
- const rightMiddle = Math.ceil((rightPart[0] + rightPart[1]) / 2);
18991
- container2.innerText = props.content.slice(0, leftMiddle) + props.dots + props.content.slice(rightMiddle, end) + props.expandText;
18992
- if (container2.offsetHeight >= maxHeight2) {
18993
- return middleTail([leftPart[0], leftMiddle], [rightMiddle, rightPart[1]]);
18994
- }
18995
- return middleTail([leftMiddle, leftPart[1]], [rightPart[0], rightMiddle]);
18996
- };
18997
- const middle = 0 + end >> 1;
18998
- props.position === "middle" ? container2.innerText = middleTail([0, middle], [middle, end]) : calcEllipse();
18999
- return container2.innerText;
19000
- };
19001
- const container = cloneContainer();
19002
- if (!container)
19003
- return;
19004
- const {
19005
- paddingBottom,
19006
- paddingTop,
19007
- lineHeight
19008
- } = container.style;
19009
- const maxHeight = Math.ceil((Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom));
19010
- if (maxHeight < container.offsetHeight) {
19011
- hasAction.value = true;
19012
- text.value = calcEllipsisText(container, maxHeight);
19013
- } else {
19014
- hasAction.value = false;
19015
- text.value = props.content;
19016
- }
19017
- document.body.removeChild(container);
19018
- };
19019
- const onClickAction = (event) => {
19020
- event.stopPropagation();
19021
- event.preventDefault();
19022
- expanded.value = !expanded.value;
19023
- emit("clickAction", event);
19024
- };
19025
- const renderAction = () => createVNode("span", {
19026
- "class": bem$2("action"),
19027
- "onClick": onClickAction
19028
- }, [actionText.value]);
19029
- onMounted(calcEllipsised);
19030
- watch(() => [props.content, props.rows, props.position], calcEllipsised);
19031
- useEventListener("resize", calcEllipsised);
19032
- return () => createVNode("div", {
19033
- "ref": root,
19034
- "class": bem$2()
19035
- }, [expanded.value ? props.content : text.value, hasAction.value ? renderAction() : null]);
19036
- }
19037
- });
19038
- const TextEllipsis = withInstall(stdin_default$7);
19213
+ const Table = withInstall(stdin_default$7);
19039
19214
  const [name$1, bem$1] = createNamespace("timeline");
19040
19215
  const timelineProps = {
19041
19216
  title: makeStringProp("办理经过"),
@@ -19079,7 +19254,7 @@ var stdin_default$6 = defineComponent({
19079
19254
  "class": bem$1("top-right")
19080
19255
  }, [createVNode("span", {
19081
19256
  "class": bem$1("fold-text")
19082
- }, [createTextVNode("折叠"), props.title]), createVNode(stdin_default$b, {
19257
+ }, [createTextVNode("折叠"), props.title]), createVNode(stdin_default$c, {
19083
19258
  "modelValue": isFold.value,
19084
19259
  "onUpdate:modelValue": ($event) => isFold.value = $event
19085
19260
  }, null)])]);
@@ -20632,7 +20807,7 @@ const Lazyload = {
20632
20807
  });
20633
20808
  }
20634
20809
  };
20635
- const version = "3.1.18";
20810
+ const version = "3.1.20";
20636
20811
  function install(app) {
20637
20812
  const components = [
20638
20813
  ActionSheet,