zartui 3.1.17 → 3.1.19

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 (96) hide show
  1. package/README.md +23 -0
  2. package/es/calendar/Calendar.mjs +1 -2
  3. package/es/date-time-picker/DateTimePicker.mjs +15 -0
  4. package/es/dialog/index.css +1 -1
  5. package/es/drawer-select/DrawerSelect.d.ts +17 -1
  6. package/es/drawer-select/DrawerSelect.mjs +9 -4
  7. package/es/drawer-select/index.d.ts +11 -0
  8. package/es/dropdown-item/DropdownItem.d.ts +26 -0
  9. package/es/dropdown-item/DropdownItem.mjs +11 -9
  10. package/es/dropdown-item/index.d.ts +18 -0
  11. package/es/dropdown-menu/DropdownMenu.mjs +4 -1
  12. package/es/dropdown-menu/index.css +1 -1
  13. package/es/empty/Empty.mjs +5 -1
  14. package/es/empty/Images.d.ts +14 -11
  15. package/es/empty/Images.mjs +89 -89
  16. package/es/empty/types.d.ts +1 -0
  17. package/es/hierarchy-select/HierarchySelect.d.ts +13 -0
  18. package/es/hierarchy-select/HierarchySelect.mjs +11 -1
  19. package/es/hierarchy-select/index.css +1 -1
  20. package/es/hierarchy-select/index.d.ts +9 -0
  21. package/es/index.d.ts +1 -1
  22. package/es/index.mjs +1 -1
  23. package/es/media-picker/MediaPicker.d.ts +4 -0
  24. package/es/media-picker/MediaPicker.mjs +31 -15
  25. package/es/media-picker/index.d.ts +4 -0
  26. package/es/media-picker/index.mjs +3 -1
  27. package/es/media-picker/type.d.ts +12 -1
  28. package/es/media-picker/type.mjs +12 -0
  29. package/es/media-picker/util/wx-util.d.ts +4 -0
  30. package/es/media-picker/util/wx-util.mjs +67 -0
  31. package/es/popup/index.css +1 -1
  32. package/es/slider/Slider.mjs +15 -16
  33. package/es/slider/index.css +1 -1
  34. package/es/table/Table.d.ts +13 -0
  35. package/es/table/Table.mjs +28 -7
  36. package/es/table/index.css +1 -1
  37. package/es/table/index.d.ts +9 -0
  38. package/es/table/style/index.mjs +6 -0
  39. package/es/tabs/TabsTitle.mjs +1 -0
  40. package/es/tabs/index.css +1 -1
  41. package/es/text-ellipsis/TextEllipsis.d.ts +13 -0
  42. package/es/text-ellipsis/TextEllipsis.mjs +15 -4
  43. package/es/text-ellipsis/index.d.ts +9 -0
  44. package/es/text-ellipsis/style/index.mjs +7 -0
  45. package/es/toast/index.css +1 -1
  46. package/lib/calendar/Calendar.js +1 -2
  47. package/lib/date-time-picker/DateTimePicker.js +15 -0
  48. package/lib/dialog/index.css +1 -1
  49. package/lib/drawer-select/DrawerSelect.d.ts +17 -1
  50. package/lib/drawer-select/DrawerSelect.js +9 -4
  51. package/lib/drawer-select/index.d.ts +11 -0
  52. package/lib/dropdown-item/DropdownItem.d.ts +26 -0
  53. package/lib/dropdown-item/DropdownItem.js +10 -8
  54. package/lib/dropdown-item/index.d.ts +18 -0
  55. package/lib/dropdown-menu/DropdownMenu.js +4 -1
  56. package/lib/dropdown-menu/index.css +1 -1
  57. package/lib/empty/Empty.js +5 -1
  58. package/lib/empty/Images.d.ts +14 -11
  59. package/lib/empty/Images.js +89 -89
  60. package/lib/empty/types.d.ts +1 -0
  61. package/lib/hierarchy-select/HierarchySelect.d.ts +13 -0
  62. package/lib/hierarchy-select/HierarchySelect.js +11 -1
  63. package/lib/hierarchy-select/index.css +1 -1
  64. package/lib/hierarchy-select/index.d.ts +9 -0
  65. package/lib/index.css +1 -1
  66. package/lib/index.d.ts +1 -1
  67. package/lib/index.js +1 -1
  68. package/lib/media-picker/MediaPicker.d.ts +4 -0
  69. package/lib/media-picker/MediaPicker.js +30 -14
  70. package/lib/media-picker/index.d.ts +4 -0
  71. package/lib/media-picker/index.js +3 -1
  72. package/lib/media-picker/type.d.ts +12 -1
  73. package/lib/media-picker/type.js +16 -0
  74. package/lib/media-picker/util/wx-util.d.ts +4 -0
  75. package/lib/media-picker/util/wx-util.js +86 -0
  76. package/lib/popup/index.css +1 -1
  77. package/lib/slider/Slider.js +15 -16
  78. package/lib/slider/index.css +1 -1
  79. package/lib/table/Table.d.ts +13 -0
  80. package/lib/table/Table.js +37 -6
  81. package/lib/table/index.css +1 -1
  82. package/lib/table/index.d.ts +9 -0
  83. package/lib/table/style/index.js +6 -0
  84. package/lib/tabs/TabsTitle.js +1 -0
  85. package/lib/tabs/index.css +1 -1
  86. package/lib/text-ellipsis/TextEllipsis.d.ts +13 -0
  87. package/lib/text-ellipsis/TextEllipsis.js +13 -2
  88. package/lib/text-ellipsis/index.d.ts +9 -0
  89. package/lib/text-ellipsis/style/index.js +7 -0
  90. package/lib/toast/index.css +1 -1
  91. package/lib/web-types.json +1 -1
  92. package/lib/zartui.cjs.js +727 -572
  93. package/lib/zartui.es.js +727 -572
  94. package/lib/zartui.js +727 -572
  95. package/lib/zartui.min.js +1 -1
  96. package/package.json +5 -5
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"
@@ -10992,6 +11020,10 @@ const hierarchySelectProps = {
10992
11020
  type: Boolean,
10993
11021
  default: false
10994
11022
  },
11023
+ showParentChecked: {
11024
+ type: Boolean,
11025
+ default: true
11026
+ },
10995
11027
  multiple: {
10996
11028
  type: Boolean,
10997
11029
  default: false
@@ -11009,7 +11041,7 @@ const hierarchySelectProps = {
11009
11041
  breadcrumbTitle: makeStringProp("全部"),
11010
11042
  autoChangeToChildren: Boolean
11011
11043
  };
11012
- var stdin_default$R = defineComponent({
11044
+ var stdin_default$S = defineComponent({
11013
11045
  name: name$A,
11014
11046
  props: hierarchySelectProps,
11015
11047
  emits: ["asyncGetter", "selected", "change", "update:checkedList"],
@@ -11104,6 +11136,9 @@ var stdin_default$R = defineComponent({
11104
11136
  emitChange && emit("change", checkedList.value);
11105
11137
  };
11106
11138
  const selected = (item) => {
11139
+ if (showSub(item) && !props.showParentChecked) {
11140
+ return;
11141
+ }
11107
11142
  if (isDisabled(item) || item.disabled) {
11108
11143
  return;
11109
11144
  }
@@ -11209,7 +11244,7 @@ var stdin_default$R = defineComponent({
11209
11244
  round: true,
11210
11245
  checked: getChecked(item)
11211
11246
  })
11212
- }, [createVNode(stdin_default$1R, {
11247
+ }, [createVNode(stdin_default$1S, {
11213
11248
  "name": "checkbox-select"
11214
11249
  }, null)]);
11215
11250
  }
@@ -11219,14 +11254,14 @@ var stdin_default$R = defineComponent({
11219
11254
  checked: true,
11220
11255
  round: true
11221
11256
  })
11222
- }, [createVNode(stdin_default$1R, {
11257
+ }, [createVNode(stdin_default$1S, {
11223
11258
  "name": "checkbox-select"
11224
11259
  }, null)]) : createVNode("span", {
11225
11260
  "class": bem$A("icon", {
11226
11261
  round: true,
11227
11262
  indeterminate
11228
11263
  })
11229
- }, [createVNode(stdin_default$1R, {
11264
+ }, [createVNode(stdin_default$1S, {
11230
11265
  "name": indeterminate ? "minus" : "check-blank-r",
11231
11266
  "class": bem$A("uncheck-icon")
11232
11267
  }, null)]);
@@ -11266,13 +11301,16 @@ var stdin_default$R = defineComponent({
11266
11301
  dataList.value = historyLayers.value[index + 1];
11267
11302
  historyLayers.value.splice(index + 1);
11268
11303
  };
11304
+ const showRadio = (item) => {
11305
+ return !showSub(item) || showSub(item) && props.showParentChecked;
11306
+ };
11269
11307
  adapterHierarchTree(props.treeData, false);
11270
11308
  useExpose({
11271
11309
  toNodeLevel
11272
11310
  });
11273
11311
  return () => createVNode("div", {
11274
11312
  "class": bem$A()
11275
- }, [createVNode(stdin_default$S, {
11313
+ }, [createVNode(stdin_default$T, {
11276
11314
  "data": breadcrumbData.value,
11277
11315
  "valueKey": props.valueKey,
11278
11316
  "textKey": props.textKey,
@@ -11280,7 +11318,7 @@ var stdin_default$R = defineComponent({
11280
11318
  "breadcrumbTitle": props.breadcrumbTitle
11281
11319
  }, null), dataList.value.map((item, index) => createVNode("div", {
11282
11320
  "class": [bem$A("score-item"), isDisabled(item) ? bem$A("disable-parent") : "", item.disabled ? bem$A("disable") : ""]
11283
- }, [props.multiple && createVNode("div", {
11321
+ }, [props.multiple && showRadio(item) && createVNode("div", {
11284
11322
  "class": bem$A("multiple-button"),
11285
11323
  "onClick": () => {
11286
11324
  multipleClicked(item);
@@ -11304,10 +11342,10 @@ var stdin_default$R = defineComponent({
11304
11342
  }, [SubIcon(bem$A)]), createVNode("span", null, [createTextVNode("下级")])])])]))]);
11305
11343
  }
11306
11344
  });
11307
- const HierarchySelect = withInstall(stdin_default$R);
11345
+ const HierarchySelect = withInstall(stdin_default$S);
11308
11346
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
11309
11347
  const bem$z = createNamespace("image-preview")[1];
11310
- var stdin_default$Q = defineComponent({
11348
+ var stdin_default$R = defineComponent({
11311
11349
  props: {
11312
11350
  src: String,
11313
11351
  show: Boolean,
@@ -11592,7 +11630,7 @@ const imagePreviewProps = {
11592
11630
  closeIconPosition: makeStringProp("top-right"),
11593
11631
  teleport: [String, Object]
11594
11632
  };
11595
- var stdin_default$P = defineComponent({
11633
+ var stdin_default$Q = defineComponent({
11596
11634
  name: name$z,
11597
11635
  props: imagePreviewProps,
11598
11636
  emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
@@ -11680,7 +11718,7 @@ var stdin_default$P = defineComponent({
11680
11718
  "onDragEnd": onDragEnd,
11681
11719
  "onDragStart": onDragStart
11682
11720
  }, {
11683
- default: () => [props.images.map((image, index) => createVNode(stdin_default$Q, {
11721
+ default: () => [props.images.map((image, index) => createVNode(stdin_default$R, {
11684
11722
  "src": image.url,
11685
11723
  "show": props.show,
11686
11724
  "active": state.active,
@@ -11787,7 +11825,7 @@ function initInstance$1() {
11787
11825
  const onClosed = () => {
11788
11826
  state.images = [];
11789
11827
  };
11790
- return () => createVNode(stdin_default$P, mergeProps(state, {
11828
+ return () => createVNode(stdin_default$Q, mergeProps(state, {
11791
11829
  "onClosed": onClosed,
11792
11830
  "onUpdate:show": toggle
11793
11831
  }), null);
@@ -11820,7 +11858,7 @@ const showImagePreview = (options, startPosition = 0) => {
11820
11858
  instance$1.open(extend({}, defaultConfig, options));
11821
11859
  return instance$1;
11822
11860
  };
11823
- const ImagePreview = withInstall(stdin_default$P);
11861
+ const ImagePreview = withInstall(stdin_default$Q);
11824
11862
  function genAlphabet() {
11825
11863
  const charCodeOfA = "A".charCodeAt(0);
11826
11864
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
@@ -11843,7 +11881,7 @@ const indexBarProps = {
11843
11881
  };
11844
11882
  const INDEX_BAR_KEY = Symbol(name$y);
11845
11883
  const MIN_CONTRACTION_NUM = 2;
11846
- var stdin_default$O = defineComponent({
11884
+ var stdin_default$P = defineComponent({
11847
11885
  name: name$y,
11848
11886
  props: indexBarProps,
11849
11887
  emits: ["select", "change", "anchorClick", "update:activeAnchor"],
@@ -12231,7 +12269,7 @@ const [name$x, bem$w] = createNamespace("index-anchor");
12231
12269
  const indexAnchorProps = {
12232
12270
  index: numericProp
12233
12271
  };
12234
- var stdin_default$N = defineComponent({
12272
+ var stdin_default$O = defineComponent({
12235
12273
  name: name$x,
12236
12274
  props: indexAnchorProps,
12237
12275
  setup(props, {
@@ -12304,8 +12342,8 @@ var stdin_default$N = defineComponent({
12304
12342
  };
12305
12343
  }
12306
12344
  });
12307
- const IndexAnchor = withInstall(stdin_default$N);
12308
- const IndexBar = withInstall(stdin_default$O);
12345
+ const IndexAnchor = withInstall(stdin_default$O);
12346
+ const IndexBar = withInstall(stdin_default$P);
12309
12347
  const [name$w, bem$v, t$3] = createNamespace("list");
12310
12348
  const listProps = {
12311
12349
  error: Boolean,
@@ -12319,7 +12357,7 @@ const listProps = {
12319
12357
  finishedText: String,
12320
12358
  immediateCheck: truthProp
12321
12359
  };
12322
- var stdin_default$M = defineComponent({
12360
+ var stdin_default$N = defineComponent({
12323
12361
  name: name$w,
12324
12362
  props: listProps,
12325
12363
  emits: ["load", "update:error", "update:loading"],
@@ -12443,8 +12481,8 @@ var stdin_default$M = defineComponent({
12443
12481
  };
12444
12482
  }
12445
12483
  });
12446
- const List = withInstall(stdin_default$M);
12447
- var stdin_default$L = defineComponent({
12484
+ const List = withInstall(stdin_default$N);
12485
+ var stdin_default$M = defineComponent({
12448
12486
  name: "DeleteIcon",
12449
12487
  setup() {
12450
12488
  return () => createVNode("svg", {
@@ -12475,7 +12513,7 @@ const mediaPlayerProps = {
12475
12513
  mediaUrl: makeStringProp("")
12476
12514
  };
12477
12515
  const [name$v, bem$u] = createNamespace("media-player");
12478
- var stdin_default$K = defineComponent({
12516
+ var stdin_default$L = defineComponent({
12479
12517
  name: name$v,
12480
12518
  props: mediaPlayerProps,
12481
12519
  emits: ["update:show"],
@@ -12547,7 +12585,7 @@ var stdin_default$K = defineComponent({
12547
12585
  }
12548
12586
  }
12549
12587
  };
12550
- return () => createVNode(stdin_default$1O, {
12588
+ return () => createVNode(stdin_default$1P, {
12551
12589
  "class": bem$u(),
12552
12590
  "show": props.show,
12553
12591
  "position": "bottom",
@@ -12567,9 +12605,9 @@ var stdin_default$K = defineComponent({
12567
12605
  });
12568
12606
  }
12569
12607
  });
12570
- const MediaPlayer = withInstall(stdin_default$K);
12571
- var stdin_default$J = MediaPlayer;
12572
- var stdin_default$I = defineComponent({
12608
+ const MediaPlayer = withInstall(stdin_default$L);
12609
+ var stdin_default$K = MediaPlayer;
12610
+ var stdin_default$J = defineComponent({
12573
12611
  name: "DefaultVideoIcon",
12574
12612
  setup() {
12575
12613
  return () => createVNode("svg", {
@@ -12683,7 +12721,7 @@ var stdin_default$I = defineComponent({
12683
12721
  }, null)])]);
12684
12722
  }
12685
12723
  });
12686
- var stdin_default$H = defineComponent({
12724
+ var stdin_default$I = defineComponent({
12687
12725
  name: "DefaultAudioIcon",
12688
12726
  setup() {
12689
12727
  return () => createVNode("svg", {
@@ -12776,7 +12814,7 @@ var stdin_default$H = defineComponent({
12776
12814
  }, null)])])]);
12777
12815
  }
12778
12816
  });
12779
- var stdin_default$G = defineComponent({
12817
+ var stdin_default$H = defineComponent({
12780
12818
  name: "DefaultFileIcon",
12781
12819
  setup() {
12782
12820
  return () => createVNode("svg", {
@@ -12858,7 +12896,7 @@ var stdin_default$G = defineComponent({
12858
12896
  }, null)])])]);
12859
12897
  }
12860
12898
  });
12861
- var stdin_default$F = defineComponent({
12899
+ var stdin_default$G = defineComponent({
12862
12900
  name: "TakePhotoIcon",
12863
12901
  setup() {
12864
12902
  return () => createVNode("svg", {
@@ -12880,7 +12918,7 @@ var stdin_default$F = defineComponent({
12880
12918
  }, null)])])]);
12881
12919
  }
12882
12920
  });
12883
- var stdin_default$E = defineComponent({
12921
+ var stdin_default$F = defineComponent({
12884
12922
  name: "PickPhotoIcon",
12885
12923
  setup() {
12886
12924
  return () => createVNode("svg", {
@@ -12902,7 +12940,7 @@ var stdin_default$E = defineComponent({
12902
12940
  }, null)])])]);
12903
12941
  }
12904
12942
  });
12905
- var stdin_default$D = defineComponent({
12943
+ var stdin_default$E = defineComponent({
12906
12944
  name: "TakeVideoIcon",
12907
12945
  setup() {
12908
12946
  return () => createVNode("svg", {
@@ -12924,7 +12962,7 @@ var stdin_default$D = defineComponent({
12924
12962
  }, null)])])]);
12925
12963
  }
12926
12964
  });
12927
- var stdin_default$C = defineComponent({
12965
+ var stdin_default$D = defineComponent({
12928
12966
  name: "TakeAudioIcon",
12929
12967
  setup() {
12930
12968
  return () => createVNode("svg", {
@@ -12946,7 +12984,7 @@ var stdin_default$C = defineComponent({
12946
12984
  }, null)])])]);
12947
12985
  }
12948
12986
  });
12949
- var stdin_default$B = defineComponent({
12987
+ var stdin_default$C = defineComponent({
12950
12988
  name: "PickFileIcon",
12951
12989
  setup() {
12952
12990
  return () => createVNode("svg", {
@@ -13984,6 +14022,68 @@ class ImageProcessor {
13984
14022
  );
13985
14023
  }
13986
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
+ };
13987
14087
  const [name$u, bem$t] = createNamespace("media-picker");
13988
14088
  const FILE_SIZE_LIMIT = 100;
13989
14089
  const mediaPickerProps = {
@@ -14033,9 +14133,11 @@ const mediaPickerProps = {
14033
14133
  // 文件读取完成后的回调函数,获取到对应的 media 对象
14034
14134
  afterRead: Function,
14035
14135
  // 文件删除前的回调函数,返回 false 可终止文件读取,支持返回 Promise
14036
- beforeDelete: Function
14136
+ beforeDelete: Function,
14137
+ // 是否强制使用微信
14138
+ useWx: Boolean
14037
14139
  };
14038
- var stdin_default$A = defineComponent({
14140
+ var stdin_default$B = defineComponent({
14039
14141
  name: name$u,
14040
14142
  props: mediaPickerProps,
14041
14143
  emits: ["update:mediaList", "delete"],
@@ -14089,10 +14191,17 @@ var stdin_default$A = defineComponent({
14089
14191
  return;
14090
14192
  }
14091
14193
  if (mediaType === "photo") {
14092
- if (mediaAddType === "take") {
14093
- triggerHiddenInput(cameraInputRef.value);
14094
- } else if (mediaAddType === "pick") {
14095
- triggerHiddenInput(imageInputRef.value);
14194
+ if (props.useWx && isWeixin() && window.wx) {
14195
+ const type = mediaAddType === "take" ? "camera" : "album";
14196
+ wxUploadImage(type).then((newMedias) => {
14197
+ emit("update:mediaList", [...props.mediaList, ...newMedias]);
14198
+ });
14199
+ } else {
14200
+ if (mediaAddType === "take") {
14201
+ triggerHiddenInput(cameraInputRef.value);
14202
+ } else if (mediaAddType === "pick") {
14203
+ triggerHiddenInput(imageInputRef.value);
14204
+ }
14096
14205
  }
14097
14206
  } else if (mediaType === "video") {
14098
14207
  if (mediaAddType === "take") {
@@ -14424,24 +14533,24 @@ var stdin_default$A = defineComponent({
14424
14533
  const renderIcon = (mediaType, mediaAddType) => {
14425
14534
  if (mediaType === "photo") {
14426
14535
  if (mediaAddType === "take") {
14427
- return createVNode(stdin_default$F, {
14536
+ return createVNode(stdin_default$G, {
14428
14537
  "class": bem$t("icon")
14429
14538
  }, null);
14430
14539
  } else if (mediaAddType === "pick") {
14431
- return createVNode(stdin_default$E, {
14540
+ return createVNode(stdin_default$F, {
14432
14541
  "class": bem$t("icon")
14433
14542
  }, null);
14434
14543
  }
14435
14544
  } else if (mediaType === "video") {
14436
- return createVNode(stdin_default$D, {
14545
+ return createVNode(stdin_default$E, {
14437
14546
  "class": bem$t("icon")
14438
14547
  }, null);
14439
14548
  } else if (mediaType === "audio") {
14440
- return createVNode(stdin_default$C, {
14549
+ return createVNode(stdin_default$D, {
14441
14550
  "class": bem$t("icon")
14442
14551
  }, null);
14443
14552
  } else if (mediaType === "file") {
14444
- return createVNode(stdin_default$B, {
14553
+ return createVNode(stdin_default$C, {
14445
14554
  "class": bem$t("icon")
14446
14555
  }, null);
14447
14556
  }
@@ -14507,10 +14616,10 @@ var stdin_default$A = defineComponent({
14507
14616
  message
14508
14617
  } = media;
14509
14618
  if (status === "uploading" || status === "failed") {
14510
- const MaskIcon = status === "failed" ? createVNode(stdin_default$1R, {
14619
+ const MaskIcon = status === "failed" ? createVNode(stdin_default$1S, {
14511
14620
  "name": "close",
14512
14621
  "class": bem$t("mask-icon")
14513
- }, null) : createVNode(stdin_default$1M, {
14622
+ }, null) : createVNode(stdin_default$1N, {
14514
14623
  "class": bem$t("loading")
14515
14624
  }, null);
14516
14625
  const showMessage = isDef(message) && message !== "";
@@ -14528,22 +14637,27 @@ var stdin_default$A = defineComponent({
14528
14637
  emit("delete", media, index);
14529
14638
  };
14530
14639
  const renderMediaThumbnail = (media) => {
14531
- if (media.showSrc) {
14532
- return createVNode(stdin_default$1I, {
14533
- "src": media.showSrc,
14534
- "fit": "cover",
14535
- "radius": "4"
14640
+ if (media.type === "video") {
14641
+ return createVNode(stdin_default$J, {
14642
+ "class": bem$t("thumbnail")
14536
14643
  }, null);
14537
- } else if (media.type === "video") {
14644
+ } else if (media.type === "audio") {
14538
14645
  return createVNode(stdin_default$I, {
14539
14646
  "class": bem$t("thumbnail")
14540
14647
  }, null);
14541
- } else if (media.type === "audio") {
14648
+ } else if (media.type === "file") {
14542
14649
  return createVNode(stdin_default$H, {
14543
14650
  "class": bem$t("thumbnail")
14544
14651
  }, null);
14545
- } else if (media.type === "file") {
14546
- return createVNode(stdin_default$G, {
14652
+ } else if (media.type === "photo") {
14653
+ const thumbnailUrl = media.showSrc || media.url;
14654
+ return createVNode(stdin_default$1J, {
14655
+ "src": thumbnailUrl,
14656
+ "fit": "cover",
14657
+ "radius": "4"
14658
+ }, null);
14659
+ } else {
14660
+ return createVNode(stdin_default$H, {
14547
14661
  "class": bem$t("thumbnail")
14548
14662
  }, null);
14549
14663
  }
@@ -14602,14 +14716,14 @@ var stdin_default$A = defineComponent({
14602
14716
  };
14603
14717
  const renderMediaList = () => props.mediaList.map((media, index) => {
14604
14718
  const showDelete = media.deletable && media.status !== "uploading";
14605
- const deleteIcon = showDelete && createVNode(stdin_default$L, {
14719
+ const deleteIcon = showDelete && createVNode(stdin_default$M, {
14606
14720
  "class": bem$t("delete"),
14607
14721
  "onClick": (event) => {
14608
14722
  event.stopPropagation();
14609
14723
  onDelete(media, index);
14610
14724
  }
14611
14725
  }, null);
14612
- return createVNode(stdin_default$T, {
14726
+ return createVNode(stdin_default$U, {
14613
14727
  "key": media.uniqueCode,
14614
14728
  "onClick": () => previewMedia(index)
14615
14729
  }, {
@@ -14624,14 +14738,15 @@ var stdin_default$A = defineComponent({
14624
14738
  const title = props.showTitle && createVNode("div", {
14625
14739
  "class": bem$t("title")
14626
14740
  }, [props.title]);
14741
+ const showButtons = props.allowTakePhoto || props.allowPickPhoto || props.allowTakeVideo || props.allowPickVideo || props.allowTakeAudio || props.allowPickAudio || props.allowPickFile;
14627
14742
  return createVNode("div", {
14628
14743
  "class": bem$t()
14629
- }, [title, hiddenInput(), createVNode(stdin_default$J, {
14744
+ }, [title, hiddenInput(), createVNode(stdin_default$K, {
14630
14745
  "show": mediaPlayerVisible.value,
14631
14746
  "onUpdate:show": ($event) => mediaPlayerVisible.value = $event,
14632
14747
  "mediaType": mediaTypeToPlay.value,
14633
14748
  "mediaUrl": mediaUrlToPlay.value
14634
- }, null), createVNode(stdin_default$1K, {
14749
+ }, null), createVNode(stdin_default$1L, {
14635
14750
  "show": actionVisible.value,
14636
14751
  "onUpdate:show": ($event) => actionVisible.value = $event,
14637
14752
  "actions": actionOptions.value,
@@ -14639,9 +14754,9 @@ var stdin_default$A = defineComponent({
14639
14754
  "cancel-text": "取消",
14640
14755
  "close-on-click-action": true,
14641
14756
  "onSelect": selectAction
14642
- }, null), createVNode("div", {
14757
+ }, null), withDirectives(createVNode("div", {
14643
14758
  "class": bem$t("line")
14644
- }, [renderButtons()]), withDirectives(createVNode(stdin_default$V, {
14759
+ }, [renderButtons()]), [[vShow, showButtons]]), withDirectives(createVNode(stdin_default$W, {
14645
14760
  "column-num": "3",
14646
14761
  "border": false,
14647
14762
  "square": true,
@@ -14653,7 +14768,16 @@ var stdin_default$A = defineComponent({
14653
14768
  };
14654
14769
  }
14655
14770
  });
14656
- const MediaPicker = withInstall(stdin_default$A);
14771
+ const defaultMedia = {
14772
+ uniqueCode: "",
14773
+ fileSize: 0,
14774
+ fileName: "",
14775
+ originalName: "",
14776
+ originalSize: 0,
14777
+ lastModified: 0,
14778
+ deletable: false
14779
+ };
14780
+ const MediaPicker = withInstall(stdin_default$B);
14657
14781
  const [name$t, bem$s] = createNamespace("multiple-picker-options");
14658
14782
  const multiplePickerOptionsProps = {
14659
14783
  textKey: makeStringProp(""),
@@ -14664,7 +14788,7 @@ const multiplePickerOptionsProps = {
14664
14788
  initialOptions: makeArrayProp([]),
14665
14789
  currentIndexes: makeArrayProp([])
14666
14790
  };
14667
- var stdin_default$z = defineComponent({
14791
+ var stdin_default$A = defineComponent({
14668
14792
  name: name$t,
14669
14793
  props: multiplePickerOptionsProps,
14670
14794
  emits: ["change", "update:currentIndexes"],
@@ -14777,7 +14901,7 @@ const multiplePickerProps = {
14777
14901
  selectedValue: makeArrayProp([]),
14778
14902
  popup: truthProp
14779
14903
  };
14780
- var stdin_default$y = defineComponent({
14904
+ var stdin_default$z = defineComponent({
14781
14905
  name: name$s,
14782
14906
  props: multiplePickerProps,
14783
14907
  emits: ["cancel", "confirm", "change", "update:showPicker", "update:selectedIndex", "update:selectedValue"],
@@ -14856,7 +14980,7 @@ var stdin_default$y = defineComponent({
14856
14980
  };
14857
14981
  const genCancel = () => {
14858
14982
  const text = props.cancelButtonText || "取消";
14859
- return createVNode(stdin_default$1F, {
14983
+ return createVNode(stdin_default$1G, {
14860
14984
  "size": "normal",
14861
14985
  "block": true,
14862
14986
  "style": {
@@ -14869,7 +14993,7 @@ var stdin_default$y = defineComponent({
14869
14993
  };
14870
14994
  const genConfirm = () => {
14871
14995
  const text = props.confirmButtonText || "确定";
14872
- return createVNode(stdin_default$1F, {
14996
+ return createVNode(stdin_default$1G, {
14873
14997
  "type": "primary",
14874
14998
  "size": "normal",
14875
14999
  "block": true,
@@ -14898,7 +15022,7 @@ var stdin_default$y = defineComponent({
14898
15022
  } else {
14899
15023
  formatOptions = props.options;
14900
15024
  }
14901
- return createVNode(stdin_default$z, {
15025
+ return createVNode(stdin_default$A, {
14902
15026
  "ref": pickerOptions,
14903
15027
  "currentIndexes": confirmIndexes.value,
14904
15028
  "onUpdate:currentIndexes": ($event) => confirmIndexes.value = $event,
@@ -14918,12 +15042,12 @@ var stdin_default$y = defineComponent({
14918
15042
  }, [genOptionItems()]);
14919
15043
  const renderMultiplePicker = () => createVNode("div", {
14920
15044
  "class": bem$r()
14921
- }, [genTitle(), props.loading ? createVNode(stdin_default$1M, {
15045
+ }, [genTitle(), props.loading ? createVNode(stdin_default$1N, {
14922
15046
  "class": bem$r("loading")
14923
15047
  }, null) : "", genOptions2(), props.toolbarPosition === "bottom" ? genToolbar() : ""]);
14924
15048
  return () => {
14925
15049
  if (props.popup) {
14926
- return createVNode(stdin_default$1O, {
15050
+ return createVNode(stdin_default$1P, {
14927
15051
  "show": currentShow.value,
14928
15052
  "onUpdate:show": [($event) => currentShow.value = $event, updateShow],
14929
15053
  "round": true,
@@ -14939,7 +15063,7 @@ var stdin_default$y = defineComponent({
14939
15063
  };
14940
15064
  }
14941
15065
  });
14942
- const MultiplePicker = withInstall(stdin_default$y);
15066
+ const MultiplePicker = withInstall(stdin_default$z);
14943
15067
  function usePlaceholder(contentRef, bem2) {
14944
15068
  const height = useHeight(contentRef, true);
14945
15069
  return (renderContent) => createVNode("div", {
@@ -14966,7 +15090,7 @@ const navBarProps = {
14966
15090
  navBarBackground: String,
14967
15091
  leftBtnStyle: Object
14968
15092
  };
14969
- var stdin_default$x = defineComponent({
15093
+ var stdin_default$y = defineComponent({
14970
15094
  name: name$r,
14971
15095
  props: navBarProps,
14972
15096
  emits: ["clickLeft", "clickRight"],
@@ -15055,7 +15179,7 @@ var stdin_default$x = defineComponent({
15055
15179
  };
15056
15180
  }
15057
15181
  });
15058
- const NavBar = withInstall(stdin_default$x);
15182
+ const NavBar = withInstall(stdin_default$y);
15059
15183
  const [name$q, bem$p] = createNamespace("notice-bar");
15060
15184
  const noticeBarProps = {
15061
15185
  text: String,
@@ -15071,7 +15195,7 @@ const noticeBarProps = {
15071
15195
  default: null
15072
15196
  }
15073
15197
  };
15074
- var stdin_default$w = defineComponent({
15198
+ var stdin_default$x = defineComponent({
15075
15199
  name: name$q,
15076
15200
  props: noticeBarProps,
15077
15201
  emits: ["close", "replay"],
@@ -15094,7 +15218,7 @@ var stdin_default$w = defineComponent({
15094
15218
  return slots["left-icon"]();
15095
15219
  }
15096
15220
  if (props.leftIcon) {
15097
- return createVNode(stdin_default$1R, {
15221
+ return createVNode(stdin_default$1S, {
15098
15222
  "class": bem$p("left-icon"),
15099
15223
  "name": props.leftIcon
15100
15224
  }, null);
@@ -15120,7 +15244,7 @@ var stdin_default$w = defineComponent({
15120
15244
  }
15121
15245
  const name2 = getRightIconName();
15122
15246
  if (name2) {
15123
- return createVNode(stdin_default$1R, {
15247
+ return createVNode(stdin_default$1S, {
15124
15248
  "name": name2,
15125
15249
  "class": bem$p("right-icon"),
15126
15250
  "onClick": onClickRightIcon
@@ -15211,7 +15335,7 @@ var stdin_default$w = defineComponent({
15211
15335
  };
15212
15336
  }
15213
15337
  });
15214
- const NoticeBar = withInstall(stdin_default$w);
15338
+ const NoticeBar = withInstall(stdin_default$x);
15215
15339
  const [name$p, bem$o] = createNamespace("notify");
15216
15340
  const notifyProps = extend({}, popupSharedProps, {
15217
15341
  type: makeStringProp("danger"),
@@ -15222,7 +15346,7 @@ const notifyProps = extend({}, popupSharedProps, {
15222
15346
  background: String,
15223
15347
  lockScroll: Boolean
15224
15348
  });
15225
- var stdin_default$v = defineComponent({
15349
+ var stdin_default$w = defineComponent({
15226
15350
  name: name$p,
15227
15351
  props: notifyProps,
15228
15352
  emits: ["update:show"],
@@ -15262,7 +15386,7 @@ function initInstance() {
15262
15386
  state,
15263
15387
  toggle
15264
15388
  } = usePopupState();
15265
- return () => createVNode(stdin_default$v, mergeProps(state, {
15389
+ return () => createVNode(stdin_default$w, mergeProps(state, {
15266
15390
  "onUpdate:show": toggle
15267
15391
  }), null);
15268
15392
  }
@@ -15306,17 +15430,17 @@ const setNotifyDefaultOptions = (options) => extend(currentOptions, options);
15306
15430
  const resetNotifyDefaultOptions = () => {
15307
15431
  currentOptions = getDefaultOptions();
15308
15432
  };
15309
- const Notify = withInstall(stdin_default$v);
15433
+ const Notify = withInstall(stdin_default$w);
15310
15434
  const [name$o, bem$n] = createNamespace("key");
15311
- const CollapseIcon = createVNode(stdin_default$1R, {
15435
+ const CollapseIcon = createVNode(stdin_default$1S, {
15312
15436
  "name": "keyboard-shrink",
15313
15437
  "size": "40"
15314
15438
  }, null);
15315
- const DeleteIcon = createVNode(stdin_default$1R, {
15439
+ const DeleteIcon = createVNode(stdin_default$1S, {
15316
15440
  "name": "backspace",
15317
15441
  "size": "40"
15318
15442
  }, null);
15319
- var stdin_default$u = defineComponent({
15443
+ var stdin_default$v = defineComponent({
15320
15444
  name: name$o,
15321
15445
  props: {
15322
15446
  type: String,
@@ -15419,7 +15543,7 @@ function shuffle(array) {
15419
15543
  }
15420
15544
  return array;
15421
15545
  }
15422
- var stdin_default$t = defineComponent({
15546
+ var stdin_default$u = defineComponent({
15423
15547
  name: name$n,
15424
15548
  props: numberKeyboardProps,
15425
15549
  emits: ["show", "hide", "blur", "input", "close", "delete", "update:modelValue"],
@@ -15531,7 +15655,7 @@ var stdin_default$t = defineComponent({
15531
15655
  if (key.type === "extra") {
15532
15656
  keySlots.default = slots["extra-key"];
15533
15657
  }
15534
- return createVNode(stdin_default$u, {
15658
+ return createVNode(stdin_default$v, {
15535
15659
  "key": key.text,
15536
15660
  "text": key.text,
15537
15661
  "type": key.type,
@@ -15544,14 +15668,14 @@ var stdin_default$t = defineComponent({
15544
15668
  if (props.theme === "custom") {
15545
15669
  return createVNode("div", {
15546
15670
  "class": bem$m("sidebar")
15547
- }, [props.showDeleteKey && createVNode(stdin_default$u, {
15671
+ }, [props.showDeleteKey && createVNode(stdin_default$v, {
15548
15672
  "large": true,
15549
15673
  "text": props.deleteButtonText,
15550
15674
  "type": "delete",
15551
15675
  "onPress": onPress
15552
15676
  }, {
15553
15677
  delete: slots.delete
15554
- }), createVNode(stdin_default$u, {
15678
+ }), createVNode(stdin_default$v, {
15555
15679
  "large": true,
15556
15680
  "text": props.closeButtonText,
15557
15681
  "type": "close",
@@ -15605,7 +15729,7 @@ var stdin_default$t = defineComponent({
15605
15729
  };
15606
15730
  }
15607
15731
  });
15608
- const NumberKeyboard = withInstall(stdin_default$t);
15732
+ const NumberKeyboard = withInstall(stdin_default$u);
15609
15733
  const [name$m, bem$l] = createNamespace("password-input");
15610
15734
  const passwordInputProps = {
15611
15735
  info: String,
@@ -15616,7 +15740,7 @@ const passwordInputProps = {
15616
15740
  focused: Boolean,
15617
15741
  errorInfo: String
15618
15742
  };
15619
- var stdin_default$s = defineComponent({
15743
+ var stdin_default$t = defineComponent({
15620
15744
  name: name$m,
15621
15745
  props: passwordInputProps,
15622
15746
  emits: ["focus"],
@@ -15678,7 +15802,7 @@ var stdin_default$s = defineComponent({
15678
15802
  };
15679
15803
  }
15680
15804
  });
15681
- const PasswordInput = withInstall(stdin_default$s);
15805
+ const PasswordInput = withInstall(stdin_default$t);
15682
15806
  var __async = (__this, __arguments, generator) => {
15683
15807
  return new Promise((resolve, reject) => {
15684
15808
  var fulfilled = (value) => {
@@ -15729,7 +15853,7 @@ const popoverProps = {
15729
15853
  default: false
15730
15854
  }
15731
15855
  };
15732
- var stdin_default$r = defineComponent({
15856
+ var stdin_default$s = defineComponent({
15733
15857
  name: name$l,
15734
15858
  props: popoverProps,
15735
15859
  emits: ["select", "touchstart", "update:show"],
@@ -15950,7 +16074,7 @@ var stdin_default$r = defineComponent({
15950
16074
  };
15951
16075
  }
15952
16076
  });
15953
- const Popover = withInstall(stdin_default$r);
16077
+ const Popover = withInstall(stdin_default$s);
15954
16078
  const [name$k, bem$j, t$2] = createNamespace("pull-refresh");
15955
16079
  const DEFAULT_HEAD_HEIGHT = 50;
15956
16080
  const TEXT_STATUS = ["pulling", "loosing", "success"];
@@ -15967,7 +16091,7 @@ const pullRefreshProps = {
15967
16091
  animationDuration: makeNumericProp(300),
15968
16092
  scrollElement: null
15969
16093
  };
15970
- var stdin_default$q = defineComponent({
16094
+ var stdin_default$r = defineComponent({
15971
16095
  name: name$k,
15972
16096
  props: pullRefreshProps,
15973
16097
  emits: ["change", "refresh", "update:modelValue"],
@@ -16149,7 +16273,7 @@ var stdin_default$q = defineComponent({
16149
16273
  };
16150
16274
  }
16151
16275
  });
16152
- const PullRefresh = withInstall(stdin_default$q);
16276
+ const PullRefresh = withInstall(stdin_default$r);
16153
16277
  const [name$j, bem$i] = createNamespace("radio-group");
16154
16278
  const radioGroupProps = {
16155
16279
  disabled: Boolean,
@@ -16159,7 +16283,7 @@ const radioGroupProps = {
16159
16283
  checkedColor: String
16160
16284
  };
16161
16285
  const RADIO_KEY = Symbol(name$j);
16162
- var stdin_default$p = defineComponent({
16286
+ var stdin_default$q = defineComponent({
16163
16287
  name: name$j,
16164
16288
  props: radioGroupProps,
16165
16289
  emits: ["change", "update:modelValue"],
@@ -16187,7 +16311,7 @@ var stdin_default$p = defineComponent({
16187
16311
  }
16188
16312
  });
16189
16313
  const [name$i, bem$h] = createNamespace("radio");
16190
- var stdin_default$o = defineComponent({
16314
+ var stdin_default$p = defineComponent({
16191
16315
  name: name$i,
16192
16316
  props: checkerProps,
16193
16317
  emits: ["update:modelValue"],
@@ -16209,7 +16333,7 @@ var stdin_default$o = defineComponent({
16209
16333
  emit("update:modelValue", props.name);
16210
16334
  }
16211
16335
  };
16212
- return () => createVNode(stdin_default$1n, mergeProps({
16336
+ return () => createVNode(stdin_default$1o, mergeProps({
16213
16337
  "bem": bem$h,
16214
16338
  "role": "radio",
16215
16339
  "parent": parent,
@@ -16218,8 +16342,8 @@ var stdin_default$o = defineComponent({
16218
16342
  }, props), pick(slots, ["default", "icon"]));
16219
16343
  }
16220
16344
  });
16221
- const Radio = withInstall(stdin_default$o);
16222
- const RadioGroup = withInstall(stdin_default$p);
16345
+ const Radio = withInstall(stdin_default$p);
16346
+ const RadioGroup = withInstall(stdin_default$q);
16223
16347
  const [name$h, bem$g, t$1] = createNamespace("radio-picker");
16224
16348
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
16225
16349
  function getColumnsType(columns, fields) {
@@ -16291,7 +16415,7 @@ const MOMENTUM_TIME = 300;
16291
16415
  const MOMENTUM_DISTANCE = 15;
16292
16416
  const [name$g, bem$f] = createNamespace("radio-picker-column");
16293
16417
  const PICKER_KEY = Symbol(name$g);
16294
- var stdin_default$n = defineComponent({
16418
+ var stdin_default$o = defineComponent({
16295
16419
  name: name$g,
16296
16420
  props: {
16297
16421
  value: numericProp,
@@ -16456,7 +16580,7 @@ var stdin_default$n = defineComponent({
16456
16580
  const childData = {
16457
16581
  [props.allowHtml || isSearchedTrans ? "innerHTML" : "textContent"]: text
16458
16582
  };
16459
- return createVNode(stdin_default$o, data, {
16583
+ return createVNode(stdin_default$p, data, {
16460
16584
  default: () => [slots.option ? slots.option({
16461
16585
  option,
16462
16586
  searchValue: props.autoSearchVal
@@ -16477,7 +16601,7 @@ var stdin_default$n = defineComponent({
16477
16601
  if (slots.searchEmpty) {
16478
16602
  return (_a = slots.searchEmpty) == null ? void 0 : _a.call(slots);
16479
16603
  }
16480
- return createVNode(stdin_default$Z, {
16604
+ return createVNode(stdin_default$_, {
16481
16605
  "class": bem$f("search-empty"),
16482
16606
  "image": "no-search-result"
16483
16607
  }, {
@@ -16502,7 +16626,7 @@ var stdin_default$n = defineComponent({
16502
16626
  },
16503
16627
  "class": bem$f("wrapper"),
16504
16628
  "onTransitionend": stopMomentum
16505
- }, [createVNode(stdin_default$p, {
16629
+ }, [createVNode(stdin_default$q, {
16506
16630
  "modelValue": props.value
16507
16631
  }, {
16508
16632
  default: () => [renderOptions()]
@@ -16516,7 +16640,7 @@ const pickerToolbarProps = {
16516
16640
  };
16517
16641
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
16518
16642
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
16519
- var stdin_default$m = defineComponent({
16643
+ var stdin_default$n = defineComponent({
16520
16644
  name: name$f,
16521
16645
  props: pickerToolbarProps,
16522
16646
  emits: ["confirm", "cancel"],
@@ -16632,7 +16756,7 @@ const radioPickerProps = extend({}, pickerSharedProps, {
16632
16756
  autoSearch: truthProp,
16633
16757
  searchPlaceholder: makeStringProp("请搜索")
16634
16758
  });
16635
- var stdin_default$l = defineComponent({
16759
+ var stdin_default$m = defineComponent({
16636
16760
  name: name$h,
16637
16761
  props: radioPickerProps,
16638
16762
  emits: ["confirm", "cancel", "change", "clickOption", "update:modelValue", "update:showPicker"],
@@ -16734,7 +16858,7 @@ var stdin_default$l = defineComponent({
16734
16858
  emit("cancel", getEventParams());
16735
16859
  };
16736
16860
  const updateShow = (value) => emit("update:showPicker", value);
16737
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$n, {
16861
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => createVNode(stdin_default$o, {
16738
16862
  "value": selectedValues.value[columnIndex],
16739
16863
  "fields": fields.value,
16740
16864
  "options": options,
@@ -16780,7 +16904,7 @@ var stdin_default$l = defineComponent({
16780
16904
  if (props.searchable) {
16781
16905
  return createVNode("div", {
16782
16906
  "class": bem$g("search")
16783
- }, [createVNode(stdin_default$13, {
16907
+ }, [createVNode(stdin_default$14, {
16784
16908
  "show-action": !props.autoSearch,
16785
16909
  "modelValue": searchVal.value,
16786
16910
  "placeholder": props.searchPlaceholder,
@@ -16802,7 +16926,7 @@ var stdin_default$l = defineComponent({
16802
16926
  };
16803
16927
  const renderToolbar = () => {
16804
16928
  if (props.showToolbar) {
16805
- return createVNode(stdin_default$m, mergeProps(pick(props, pickerToolbarPropKeys), {
16929
+ return createVNode(stdin_default$n, mergeProps(pick(props, pickerToolbarPropKeys), {
16806
16930
  "onConfirm": confirm,
16807
16931
  "onCancel": cancel
16808
16932
  }), pick(slots, pickerToolbarSlots));
@@ -16868,7 +16992,7 @@ var stdin_default$l = defineComponent({
16868
16992
  };
16869
16993
  return () => {
16870
16994
  if (props.popup) {
16871
- return createVNode(stdin_default$1O, {
16995
+ return createVNode(stdin_default$1P, {
16872
16996
  "show": showPicker.value,
16873
16997
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
16874
16998
  "round": true,
@@ -16881,7 +17005,7 @@ var stdin_default$l = defineComponent({
16881
17005
  };
16882
17006
  }
16883
17007
  });
16884
- const RadioPicker = withInstall(stdin_default$l);
17008
+ const RadioPicker = withInstall(stdin_default$m);
16885
17009
  const [name$e, bem$e] = createNamespace("rate");
16886
17010
  function getRateStatus(value, index, allowHalf, readonly) {
16887
17011
  if (value >= index) {
@@ -16924,7 +17048,7 @@ const rateProps = {
16924
17048
  modelValue: makeNumberProp(0),
16925
17049
  disabledColor: String
16926
17050
  };
16927
- var stdin_default$k = defineComponent({
17051
+ var stdin_default$l = defineComponent({
16928
17052
  name: name$e,
16929
17053
  props: rateProps,
16930
17054
  emits: ["change", "update:modelValue"],
@@ -17089,8 +17213,8 @@ var stdin_default$k = defineComponent({
17089
17213
  }, [list.value.map(renderStar)]);
17090
17214
  }
17091
17215
  });
17092
- const Rate = withInstall(stdin_default$k);
17093
- const Row = withInstall(stdin_default$1l);
17216
+ const Rate = withInstall(stdin_default$l);
17217
+ const Row = withInstall(stdin_default$1m);
17094
17218
  const isPortrait = () => window.orientation == null || window.orientation === 180 || window.orientation === 0;
17095
17219
  const getForceLandscapeStyle = (offsetLeft, offsetTop, forceLandscape) => {
17096
17220
  const resultStyle = {
@@ -17175,7 +17299,7 @@ const signatureProps = {
17175
17299
  unSupportTpl: makeStringProp("对不起,当前浏览器不支持Canvas,无法使用签名组件"),
17176
17300
  allowPortrait: Boolean
17177
17301
  };
17178
- var stdin_default$j = defineComponent({
17302
+ var stdin_default$k = defineComponent({
17179
17303
  name: name$d,
17180
17304
  props: signatureProps,
17181
17305
  emits: ["clear", "cancel", "confirm"],
@@ -17356,20 +17480,20 @@ var stdin_default$j = defineComponent({
17356
17480
  "height": canvasHeight.value
17357
17481
  }, null), [[vShow, isCanvasSupported.value]])]), createVNode("div", {
17358
17482
  "class": bem$d("actions")
17359
- }, [createVNode(stdin_default$1F, {
17483
+ }, [createVNode(stdin_default$1G, {
17360
17484
  "plain": true,
17361
17485
  "type": "warning",
17362
17486
  "onClick": () => clear(),
17363
17487
  "class": bem$d("button-again")
17364
17488
  }, {
17365
17489
  default: () => [createTextVNode("重签")]
17366
- }), createVNode(stdin_default$1F, {
17490
+ }), createVNode(stdin_default$1G, {
17367
17491
  "type": "default",
17368
17492
  "onClick": cancel,
17369
17493
  "class": bem$d("button-cancel")
17370
17494
  }, {
17371
17495
  default: () => [createTextVNode("取消")]
17372
- }), createVNode(stdin_default$1F, {
17496
+ }), createVNode(stdin_default$1G, {
17373
17497
  "block": true,
17374
17498
  "type": "primary",
17375
17499
  "disabled": isCompleteButtonDisabled.value,
@@ -17381,7 +17505,7 @@ var stdin_default$j = defineComponent({
17381
17505
  });
17382
17506
  }
17383
17507
  });
17384
- const Signature = withInstall(stdin_default$j);
17508
+ const Signature = withInstall(stdin_default$k);
17385
17509
  const [name$c, bem$c] = createNamespace("skeleton");
17386
17510
  const DEFAULT_ROW_WIDTH = "100%";
17387
17511
  const DEFAULT_LAST_ROW_WIDTH = "60%";
@@ -17402,7 +17526,7 @@ const skeletonProps = {
17402
17526
  default: DEFAULT_ROW_WIDTH
17403
17527
  }
17404
17528
  };
17405
- var stdin_default$i = defineComponent({
17529
+ var stdin_default$j = defineComponent({
17406
17530
  name: name$c,
17407
17531
  inheritAttrs: false,
17408
17532
  props: skeletonProps,
@@ -17491,7 +17615,7 @@ var stdin_default$i = defineComponent({
17491
17615
  };
17492
17616
  }
17493
17617
  });
17494
- const Skeleton = withInstall(stdin_default$i);
17618
+ const Skeleton = withInstall(stdin_default$j);
17495
17619
  const [name$b, bem$b] = createNamespace("slider");
17496
17620
  const sliderProps = {
17497
17621
  min: makeNumericProp(0),
@@ -17515,7 +17639,7 @@ const sliderProps = {
17515
17639
  direction: makeStringProp("horizontal"),
17516
17640
  showPercent: truthProp
17517
17641
  };
17518
- var stdin_default$h = defineComponent({
17642
+ var stdin_default$i = defineComponent({
17519
17643
  name: name$b,
17520
17644
  props: sliderProps,
17521
17645
  emits: ["change", "dragEnd", "dragStart", "update:modelValue"],
@@ -17559,6 +17683,12 @@ var stdin_default$h = defineComponent({
17559
17683
  }
17560
17684
  return "0%";
17561
17685
  };
17686
+ const getPositionKey = () => {
17687
+ if (props.vertical) {
17688
+ return props.reverse ? "bottom" : "top";
17689
+ }
17690
+ return props.reverse ? "right" : "left";
17691
+ };
17562
17692
  const barStyle = computed(() => {
17563
17693
  const mainAxis = props.vertical ? "height" : "width";
17564
17694
  const style = {
@@ -17568,12 +17698,6 @@ var stdin_default$h = defineComponent({
17568
17698
  if (dragStatus.value) {
17569
17699
  style.transition = "none";
17570
17700
  }
17571
- const getPositionKey = () => {
17572
- if (props.vertical) {
17573
- return props.reverse ? "bottom" : "top";
17574
- }
17575
- return props.reverse ? "right" : "left";
17576
- };
17577
17701
  style[getPositionKey()] = calcOffset();
17578
17702
  return style;
17579
17703
  });
@@ -17695,13 +17819,6 @@ var stdin_default$h = defineComponent({
17695
17819
  }
17696
17820
  dragStatus.value = "";
17697
17821
  };
17698
- const getButtonClassName = (index) => {
17699
- if (typeof index === "number") {
17700
- const position = ["left", "right"];
17701
- return bem$b(`button-wrapper`, position[index]);
17702
- }
17703
- return bem$b("button-wrapper", props.reverse ? "left" : "right");
17704
- };
17705
17822
  const renderButtonContent = (value, index) => {
17706
17823
  const dragging = dragStatus.value === "dragging";
17707
17824
  if (typeof index === "number") {
@@ -17731,10 +17848,15 @@ var stdin_default$h = defineComponent({
17731
17848
  };
17732
17849
  const renderButton = (index) => {
17733
17850
  const current22 = typeof index === "number" ? props.modelValue[index] : props.modelValue;
17851
+ const left = `${(current22 - Number(props.min)) * 100 / scope.value}%`;
17852
+ const style = {
17853
+ [getPositionKey()]: left,
17854
+ transform: `translate(-${left},-50%)`
17855
+ };
17734
17856
  return createVNode("div", {
17735
17857
  "ref": slider[index != null ? index : 0],
17736
17858
  "role": "slider",
17737
- "class": getButtonClassName(index),
17859
+ "class": bem$b("button-wrapper"),
17738
17860
  "tabindex": props.disabled ? void 0 : 0,
17739
17861
  "aria-valuemin": props.min,
17740
17862
  "aria-valuenow": current22,
@@ -17750,7 +17872,8 @@ var stdin_default$h = defineComponent({
17750
17872
  },
17751
17873
  "onTouchend": onTouchEnd,
17752
17874
  "onTouchcancel": onTouchEnd,
17753
- "onClick": stopPropagation
17875
+ "onClick": stopPropagation,
17876
+ "style": style
17754
17877
  }, [renderButtonContent(current22, index)]);
17755
17878
  };
17756
17879
  const renderTitle = () => {
@@ -17815,10 +17938,10 @@ var stdin_default$h = defineComponent({
17815
17938
  }, [createVNode("div", {
17816
17939
  "class": bem$b("bar"),
17817
17940
  "style": barStyle.value
17818
- }, [renderButtons()])]))]);
17941
+ }, null), renderButtons()]))]);
17819
17942
  }
17820
17943
  });
17821
- const Slider = withInstall(stdin_default$h);
17944
+ const Slider = withInstall(stdin_default$i);
17822
17945
  const [name$a, bem$a] = createNamespace("steps");
17823
17946
  const stepsProps = {
17824
17947
  active: makeNumericProp(0),
@@ -17833,7 +17956,7 @@ const stepsProps = {
17833
17956
  titleInactiveColor: String
17834
17957
  };
17835
17958
  const STEPS_KEY = Symbol(name$a);
17836
- var stdin_default$g = defineComponent({
17959
+ var stdin_default$h = defineComponent({
17837
17960
  name: name$a,
17838
17961
  props: stepsProps,
17839
17962
  emits: ["clickStep"],
@@ -17865,7 +17988,7 @@ const stepProps = {
17865
17988
  activeIcon: String,
17866
17989
  inactiveIcon: String
17867
17990
  };
17868
- var stdin_default$f = defineComponent({
17991
+ var stdin_default$g = defineComponent({
17869
17992
  name: name$9,
17870
17993
  props: stepProps,
17871
17994
  setup(props, {
@@ -17990,7 +18113,7 @@ var stdin_default$f = defineComponent({
17990
18113
  };
17991
18114
  }
17992
18115
  });
17993
- const Step = withInstall(stdin_default$f);
18116
+ const Step = withInstall(stdin_default$g);
17994
18117
  const [name$8, bem$8] = createNamespace("stepper");
17995
18118
  const LONG_PRESS_INTERVAL = 200;
17996
18119
  const isEqual = (value1, value2) => String(value1) === String(value2);
@@ -18018,7 +18141,7 @@ const stepperProps = {
18018
18141
  defaultValue: makeNumericProp(1),
18019
18142
  decimalLength: numericProp
18020
18143
  };
18021
- var stdin_default$e = defineComponent({
18144
+ var stdin_default$f = defineComponent({
18022
18145
  name: name$8,
18023
18146
  props: stepperProps,
18024
18147
  emits: ["plus", "blur", "minus", "focus", "change", "overlimit", "update:modelValue"],
@@ -18203,7 +18326,7 @@ var stdin_default$e = defineComponent({
18203
18326
  }
18204
18327
  ],
18205
18328
  "aria-disabled": minusDisabled.value || void 0
18206
- }, createListeners("minus")), [createVNode(stdin_default$1R, {
18329
+ }, createListeners("minus")), [createVNode(stdin_default$1S, {
18207
18330
  "name": "minus",
18208
18331
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18209
18332
  }, null)]), [[vShow, props.showMinus]]), withDirectives(createVNode("input", {
@@ -18236,14 +18359,14 @@ var stdin_default$e = defineComponent({
18236
18359
  // { [HAPTICS_FEEDBACK]: !plusDisabled.value },
18237
18360
  ],
18238
18361
  "aria-disabled": plusDisabled.value || void 0
18239
- }, createListeners("plus")), [createVNode(stdin_default$1R, {
18362
+ }, createListeners("plus")), [createVNode(stdin_default$1S, {
18240
18363
  "name": "plus",
18241
18364
  "size": (props == null ? void 0 : props.buttonSize) ? props.buttonSize : "32"
18242
18365
  }, null)]), [[vShow, props.showPlus]])]);
18243
18366
  }
18244
18367
  });
18245
- const Stepper = withInstall(stdin_default$e);
18246
- const Steps = withInstall(stdin_default$g);
18368
+ const Stepper = withInstall(stdin_default$f);
18369
+ const Steps = withInstall(stdin_default$h);
18247
18370
  const [name$7, bem$7] = createNamespace("swipe-cell");
18248
18371
  const swipeCellProps = {
18249
18372
  name: makeNumericProp(""),
@@ -18253,7 +18376,7 @@ const swipeCellProps = {
18253
18376
  beforeClose: Function,
18254
18377
  stopPropagation: Boolean
18255
18378
  };
18256
- var stdin_default$d = defineComponent({
18379
+ var stdin_default$e = defineComponent({
18257
18380
  name: name$7,
18258
18381
  props: swipeCellProps,
18259
18382
  emits: ["open", "close", "click"],
@@ -18406,7 +18529,7 @@ var stdin_default$d = defineComponent({
18406
18529
  };
18407
18530
  }
18408
18531
  });
18409
- const SwipeCell = withInstall(stdin_default$d);
18532
+ const SwipeCell = withInstall(stdin_default$e);
18410
18533
  const [name$6, bem$6] = createNamespace("switch");
18411
18534
  const switchProps = {
18412
18535
  size: numericProp,
@@ -18424,7 +18547,7 @@ const switchProps = {
18424
18547
  default: false
18425
18548
  }
18426
18549
  };
18427
- var stdin_default$c = defineComponent({
18550
+ var stdin_default$d = defineComponent({
18428
18551
  name: name$6,
18429
18552
  props: switchProps,
18430
18553
  emits: ["change", "update:modelValue"],
@@ -18484,8 +18607,8 @@ var stdin_default$c = defineComponent({
18484
18607
  };
18485
18608
  }
18486
18609
  });
18487
- const Switch = withInstall(stdin_default$c);
18488
- var stdin_default$b = Switch;
18610
+ const Switch = withInstall(stdin_default$d);
18611
+ var stdin_default$c = Switch;
18489
18612
  const [name$5, bem$5] = createNamespace("tabbar");
18490
18613
  const tabbarProps = {
18491
18614
  route: Boolean,
@@ -18503,7 +18626,7 @@ const tabbarProps = {
18503
18626
  }
18504
18627
  };
18505
18628
  const TABBAR_KEY = Symbol(name$5);
18506
- var stdin_default$a = defineComponent({
18629
+ var stdin_default$b = defineComponent({
18507
18630
  name: name$5,
18508
18631
  props: tabbarProps,
18509
18632
  emits: ["change", "update:modelValue"],
@@ -18561,7 +18684,7 @@ var stdin_default$a = defineComponent({
18561
18684
  };
18562
18685
  }
18563
18686
  });
18564
- const Tabbar = withInstall(stdin_default$a);
18687
+ const Tabbar = withInstall(stdin_default$b);
18565
18688
  const [name$4, bem$4] = createNamespace("tabbar-item");
18566
18689
  const tabbarItemProps = extend({}, routeProps, {
18567
18690
  dot: Boolean,
@@ -18571,7 +18694,7 @@ const tabbarItemProps = extend({}, routeProps, {
18571
18694
  badgeProps: Object,
18572
18695
  iconPrefix: String
18573
18696
  });
18574
- var stdin_default$9 = defineComponent({
18697
+ var stdin_default$a = defineComponent({
18575
18698
  name: name$4,
18576
18699
  props: tabbarItemProps,
18577
18700
  emits: ["click"],
@@ -18673,19 +18796,165 @@ var stdin_default$9 = defineComponent({
18673
18796
  };
18674
18797
  }
18675
18798
  });
18676
- const TabbarItem = withInstall(stdin_default$9);
18799
+ const TabbarItem = withInstall(stdin_default$a);
18677
18800
  var SortOrderEnum = /* @__PURE__ */ ((SortOrderEnum2) => {
18678
18801
  SortOrderEnum2["ASCEND"] = "ascend";
18679
18802
  SortOrderEnum2["DESCEND"] = "descend";
18680
18803
  return SortOrderEnum2;
18681
18804
  })(SortOrderEnum || {});
18682
- const [name$3, bem$3] = createNamespace("table");
18683
- const tableProps = {
18684
- headList: makeArrayProp(),
18685
- dataList: makeArrayProp(),
18686
- striped: truthProp,
18687
- emptyValue: makeStringProp("-"),
18688
- loading: {
18805
+ const [name$3, bem$3] = createNamespace("text-ellipsis");
18806
+ const textEllipsisProps = {
18807
+ rows: makeNumericProp(1),
18808
+ dots: makeStringProp("..."),
18809
+ content: makeStringProp(""),
18810
+ expandText: makeStringProp(""),
18811
+ expandType: makeStringProp("flat"),
18812
+ collapseText: makeStringProp(""),
18813
+ position: makeStringProp("end")
18814
+ };
18815
+ var stdin_default$9 = defineComponent({
18816
+ name: name$3,
18817
+ props: textEllipsisProps,
18818
+ emits: ["clickAction"],
18819
+ setup(props, {
18820
+ emit
18821
+ }) {
18822
+ const text = ref("");
18823
+ const expanded = ref(false);
18824
+ const hasAction = ref(false);
18825
+ const root = ref();
18826
+ const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
18827
+ const pxToNum = (value) => {
18828
+ if (!value)
18829
+ return 0;
18830
+ const match = value.match(/^\d*(\.\d*)?/);
18831
+ return match ? Number(match[0]) : 0;
18832
+ };
18833
+ const calcEllipsised = () => {
18834
+ const cloneContainer = () => {
18835
+ if (!root.value)
18836
+ return;
18837
+ const originStyle = window.getComputedStyle(root.value);
18838
+ const container2 = document.createElement("div");
18839
+ const styleNames = Array.prototype.slice.apply(originStyle);
18840
+ styleNames.forEach((name2) => {
18841
+ container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
18842
+ });
18843
+ container2.style.position = "fixed";
18844
+ container2.style.zIndex = "-9999";
18845
+ container2.style.top = "-9999px";
18846
+ container2.style.height = "auto";
18847
+ container2.style.minHeight = "auto";
18848
+ container2.style.maxHeight = "auto";
18849
+ container2.innerText = props.content;
18850
+ document.body.appendChild(container2);
18851
+ return container2;
18852
+ };
18853
+ const calcEllipsisText = (container2, maxHeight2) => {
18854
+ const {
18855
+ content,
18856
+ position,
18857
+ dots
18858
+ } = props;
18859
+ const end = content.length;
18860
+ const calcEllipse = () => {
18861
+ const tail = (left, right) => {
18862
+ if (right - left <= 1) {
18863
+ if (position === "end") {
18864
+ return content.slice(0, left) + dots;
18865
+ }
18866
+ return dots + content.slice(right, end);
18867
+ }
18868
+ const middle2 = Math.round((left + right) / 2);
18869
+ if (position === "end") {
18870
+ container2.innerText = content.slice(0, middle2) + dots + actionText.value;
18871
+ } else {
18872
+ container2.innerText = dots + content.slice(middle2, end) + actionText.value;
18873
+ }
18874
+ if (container2.offsetHeight > maxHeight2) {
18875
+ if (position === "end") {
18876
+ return tail(left, middle2);
18877
+ }
18878
+ return tail(middle2, right);
18879
+ }
18880
+ if (position === "end") {
18881
+ return tail(middle2, right);
18882
+ }
18883
+ return tail(left, middle2);
18884
+ };
18885
+ container2.innerText = tail(0, end);
18886
+ };
18887
+ const middleTail = (leftPart, rightPart) => {
18888
+ if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
18889
+ return content.slice(0, leftPart[0]) + dots + content.slice(rightPart[1], end);
18890
+ }
18891
+ const leftMiddle = Math.floor((leftPart[0] + leftPart[1]) / 2);
18892
+ const rightMiddle = Math.ceil((rightPart[0] + rightPart[1]) / 2);
18893
+ container2.innerText = props.content.slice(0, leftMiddle) + props.dots + props.content.slice(rightMiddle, end) + props.expandText;
18894
+ if (container2.offsetHeight >= maxHeight2) {
18895
+ return middleTail([leftPart[0], leftMiddle], [rightMiddle, rightPart[1]]);
18896
+ }
18897
+ return middleTail([leftMiddle, leftPart[1]], [rightPart[0], rightMiddle]);
18898
+ };
18899
+ const middle = 0 + end >> 1;
18900
+ props.position === "middle" ? container2.innerText = middleTail([0, middle], [middle, end]) : calcEllipse();
18901
+ return container2.innerText;
18902
+ };
18903
+ const container = cloneContainer();
18904
+ if (!container)
18905
+ return;
18906
+ const {
18907
+ paddingBottom,
18908
+ paddingTop,
18909
+ lineHeight
18910
+ } = container.style;
18911
+ const maxHeight = Math.ceil((Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom));
18912
+ if (maxHeight < container.offsetHeight) {
18913
+ hasAction.value = true;
18914
+ text.value = calcEllipsisText(container, maxHeight);
18915
+ } else {
18916
+ hasAction.value = false;
18917
+ text.value = props.content;
18918
+ }
18919
+ document.body.removeChild(container);
18920
+ };
18921
+ const onClickAction = (event) => {
18922
+ event.stopPropagation();
18923
+ event.preventDefault();
18924
+ expanded.value = !expanded.value;
18925
+ emit("clickAction", event);
18926
+ };
18927
+ const renderAction = () => createVNode("span", {
18928
+ "class": bem$3("action"),
18929
+ "onClick": onClickAction
18930
+ }, [actionText.value]);
18931
+ const onClickEllipsis = () => {
18932
+ if (props.expandType === "dialog" && hasAction.value) {
18933
+ showDialog({
18934
+ message: props.content
18935
+ }).then(() => {
18936
+ });
18937
+ }
18938
+ };
18939
+ onMounted(calcEllipsised);
18940
+ watch(() => [props.content, props.rows, props.position], calcEllipsised);
18941
+ useEventListener("resize", calcEllipsised);
18942
+ return () => createVNode("div", {
18943
+ "ref": root,
18944
+ "class": bem$3(),
18945
+ "onClick": onClickEllipsis
18946
+ }, [expanded.value ? props.content : text.value, props.expandType !== "dialog" && hasAction.value ? renderAction() : null]);
18947
+ }
18948
+ });
18949
+ const TextEllipsis = withInstall(stdin_default$9);
18950
+ var stdin_default$8 = TextEllipsis;
18951
+ const [name$2, bem$2] = createNamespace("table");
18952
+ const tableProps = {
18953
+ headList: makeArrayProp(),
18954
+ dataList: makeArrayProp(),
18955
+ striped: truthProp,
18956
+ emptyValue: makeStringProp("-"),
18957
+ loading: {
18689
18958
  type: Boolean,
18690
18959
  default: false
18691
18960
  },
@@ -18696,14 +18965,19 @@ const tableProps = {
18696
18965
  border: {
18697
18966
  type: Boolean,
18698
18967
  default: false
18968
+ },
18969
+ hideTableHead: {
18970
+ type: Boolean,
18971
+ default: false
18699
18972
  }
18700
18973
  };
18701
- var stdin_default$8 = defineComponent({
18702
- name: name$3,
18974
+ var stdin_default$7 = defineComponent({
18975
+ name: name$2,
18703
18976
  props: tableProps,
18704
18977
  emits: ["sort"],
18705
18978
  setup(props, {
18706
- emit
18979
+ emit,
18980
+ slots
18707
18981
  }) {
18708
18982
  const sortOrder = ref("");
18709
18983
  const sortKey = ref("");
@@ -18781,9 +19055,11 @@ var stdin_default$8 = defineComponent({
18781
19055
  pingedLeft.value = mergedScrollLeft > 0;
18782
19056
  };
18783
19057
  const getHead = (colData) => {
19058
+ const headSlot = slots[`head-${colData.id}`];
19059
+ const headEllipsisType = colData.sorter ? "flat" : "dialog";
18784
19060
  if ((colData == null ? void 0 : colData.colSpan) !== 0) {
18785
19061
  return createVNode("th", {
18786
- "class": bem$3("left", {
19062
+ "class": bem$2("left", {
18787
19063
  fixed: colData.fixed,
18788
19064
  last: colData.lastFixLeft && pingedLeft.value
18789
19065
  }),
@@ -18791,22 +19067,26 @@ var stdin_default$8 = defineComponent({
18791
19067
  left: colData.fixed ? colData.left : ""
18792
19068
  },
18793
19069
  "colspan": (colData == null ? void 0 : colData.colSpan) !== 1 ? colData == null ? void 0 : colData.colSpan : null
18794
- }, [createVNode("div", {
18795
- "class": bem$3("head"),
19070
+ }, [headSlot ? headSlot(colData) : createVNode("div", {
19071
+ "class": bem$2("head"),
18796
19072
  "onClick": () => onHeaderClick(colData)
18797
- }, [createVNode("span", {
18798
- "class": bem$3("head-label")
19073
+ }, [colData.ellipsis ? createVNode(stdin_default$8, {
19074
+ "content": colData.label,
19075
+ "expandType": headEllipsisType,
19076
+ "class": bem$2("head-label-ellipsis")
19077
+ }, null) : createVNode("span", {
19078
+ "class": bem$2("head-label")
18799
19079
  }, [colData.label]), colData.sorter ? createVNode("span", {
18800
- "class": bem$3("head-sort")
19080
+ "class": bem$2("head-sort")
18801
19081
  }, [createVNode(Icon, {
18802
- "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.ASCEND ? bem$3("sort-active") : ""],
19082
+ "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.ASCEND ? bem$2("sort-active") : ""],
18803
19083
  "name": "spinner-shrink",
18804
19084
  "size": "12",
18805
19085
  "style": {
18806
19086
  marginBottom: "-3px"
18807
19087
  }
18808
19088
  }, null), createVNode(Icon, {
18809
- "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.DESCEND ? bem$3("sort-active") : ""],
19089
+ "class": [colData.key === sortKey.value && sortOrder.value === SortOrderEnum.DESCEND ? bem$2("sort-active") : ""],
18810
19090
  "name": "spinner-expand",
18811
19091
  "size": "12",
18812
19092
  "style": {
@@ -18815,6 +19095,15 @@ var stdin_default$8 = defineComponent({
18815
19095
  }, null)]) : ""])]);
18816
19096
  }
18817
19097
  };
19098
+ const getElement = (rowData, colData) => {
19099
+ if (rowData[colData.key] && rowData[colData.key].id && slots[`data-${rowData[colData.key].id}`]) {
19100
+ return slots[`data-${rowData[colData.key].id}`](rowData[colData.key]);
19101
+ }
19102
+ return colData.ellipsis ? createVNode(stdin_default$8, {
19103
+ "content": rowData[colData.key],
19104
+ "expandType": "dialog"
19105
+ }, null) : rowData[colData.key];
19106
+ };
18818
19107
  const getBody = (rowData, rowIndex) => createVNode("tr", null, [formatColumns.value.map((colData) => {
18819
19108
  let additionalCellProps;
18820
19109
  if (colData.customCell) {
@@ -18824,23 +19113,23 @@ var stdin_default$8 = defineComponent({
18824
19113
  style.left = colData.fixed ? colData.left : "";
18825
19114
  return (additionalCellProps == null ? void 0 : additionalCellProps.rowSpan) !== 0 && (additionalCellProps == null ? void 0 : additionalCellProps.colSpan) !== 0 && createVNode("td", {
18826
19115
  "onClick": () => colData.click && colData.click(rowData, rowIndex),
18827
- "class": bem$3("left", {
19116
+ "class": bem$2("left", {
18828
19117
  fixed: colData.fixed,
18829
19118
  last: colData.lastFixLeft && pingedLeft.value
18830
19119
  }),
18831
19120
  "colspan": (additionalCellProps == null ? void 0 : additionalCellProps.colSpan) !== 1 ? additionalCellProps == null ? void 0 : additionalCellProps.colSpan : null,
18832
19121
  "rowspan": (additionalCellProps == null ? void 0 : additionalCellProps.rowSpan) !== 1 ? additionalCellProps == null ? void 0 : additionalCellProps.rowSpan : null,
18833
19122
  "style": style
18834
- }, [rowData[colData.key]]);
19123
+ }, [getElement(rowData, colData)]);
18835
19124
  })]);
18836
19125
  const getCol = () => {
18837
19126
  const cols = [];
18838
19127
  const col = resortHeadList.value.length;
18839
19128
  for (let j = 0; j < col; j++) {
18840
19129
  cols.push(createVNode("div", {
18841
- "class": bem$3("col")
19130
+ "class": bem$2("col")
18842
19131
  }, [createVNode("div", {
18843
- "class": bem$3("col-item")
19132
+ "class": bem$2("col-item")
18844
19133
  }, null)]));
18845
19134
  }
18846
19135
  return cols;
@@ -18849,7 +19138,7 @@ var stdin_default$8 = defineComponent({
18849
19138
  const Rows = [];
18850
19139
  for (let i = 0; i < props.skeletonRow; i++) {
18851
19140
  Rows.push(createVNode("div", {
18852
- "class": bem$3("row", {
19141
+ "class": bem$2("row", {
18853
19142
  head: i === 0
18854
19143
  })
18855
19144
  }, [getCol()]));
@@ -18857,12 +19146,12 @@ var stdin_default$8 = defineComponent({
18857
19146
  return Rows;
18858
19147
  };
18859
19148
  return () => props.loading ? createVNode("div", {
18860
- "class": bem$3({
19149
+ "class": bem$2({
18861
19150
  animate: true,
18862
19151
  skeleton: true
18863
19152
  })
18864
19153
  }, [getLoadingColumn()]) : createVNode("div", {
18865
- "class": bem$3({
19154
+ "class": bem$2({
18866
19155
  fixed: fixedColumn.value.length > 0,
18867
19156
  bordered: props.border,
18868
19157
  striped: props.striped
@@ -18872,149 +19161,14 @@ var stdin_default$8 = defineComponent({
18872
19161
  "style": {
18873
19162
  width: item.width
18874
19163
  }
18875
- }, null))]), createVNode("thead", {
18876
- "class": bem$3("thead")
18877
- }, [createVNode("tr", null, [formatColumns.value.map((colData) => getHead(colData))])]), createVNode("tbody", {
18878
- "class": bem$3("tbody")
19164
+ }, null))]), withDirectives(createVNode("thead", {
19165
+ "class": bem$2("thead")
19166
+ }, [createVNode("tr", null, [formatColumns.value.map((colData) => getHead(colData))])]), [[vShow, !props.hideTableHead]]), createVNode("tbody", {
19167
+ "class": bem$2("tbody")
18879
19168
  }, [props.dataList.map((rowData, rowIndex) => getBody(rowData, rowIndex))])])]);
18880
19169
  }
18881
19170
  });
18882
- const Table = withInstall(stdin_default$8);
18883
- const [name$2, bem$2] = createNamespace("text-ellipsis");
18884
- const textEllipsisProps = {
18885
- rows: makeNumericProp(1),
18886
- dots: makeStringProp("..."),
18887
- content: makeStringProp(""),
18888
- expandText: makeStringProp(""),
18889
- collapseText: makeStringProp(""),
18890
- position: makeStringProp("end")
18891
- };
18892
- var stdin_default$7 = defineComponent({
18893
- name: name$2,
18894
- props: textEllipsisProps,
18895
- emits: ["clickAction"],
18896
- setup(props, {
18897
- emit
18898
- }) {
18899
- const text = ref("");
18900
- const expanded = ref(false);
18901
- const hasAction = ref(false);
18902
- const root = ref();
18903
- const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
18904
- const pxToNum = (value) => {
18905
- if (!value)
18906
- return 0;
18907
- const match = value.match(/^\d*(\.\d*)?/);
18908
- return match ? Number(match[0]) : 0;
18909
- };
18910
- const calcEllipsised = () => {
18911
- const cloneContainer = () => {
18912
- if (!root.value)
18913
- return;
18914
- const originStyle = window.getComputedStyle(root.value);
18915
- const container2 = document.createElement("div");
18916
- const styleNames = Array.prototype.slice.apply(originStyle);
18917
- styleNames.forEach((name2) => {
18918
- container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
18919
- });
18920
- container2.style.position = "fixed";
18921
- container2.style.zIndex = "-9999";
18922
- container2.style.top = "-9999px";
18923
- container2.style.height = "auto";
18924
- container2.style.minHeight = "auto";
18925
- container2.style.maxHeight = "auto";
18926
- container2.innerText = props.content;
18927
- document.body.appendChild(container2);
18928
- return container2;
18929
- };
18930
- const calcEllipsisText = (container2, maxHeight2) => {
18931
- const {
18932
- content,
18933
- position,
18934
- dots
18935
- } = props;
18936
- const end = content.length;
18937
- const calcEllipse = () => {
18938
- const tail = (left, right) => {
18939
- if (right - left <= 1) {
18940
- if (position === "end") {
18941
- return content.slice(0, left) + dots;
18942
- }
18943
- return dots + content.slice(right, end);
18944
- }
18945
- const middle2 = Math.round((left + right) / 2);
18946
- if (position === "end") {
18947
- container2.innerText = content.slice(0, middle2) + dots + actionText.value;
18948
- } else {
18949
- container2.innerText = dots + content.slice(middle2, end) + actionText.value;
18950
- }
18951
- if (container2.offsetHeight > maxHeight2) {
18952
- if (position === "end") {
18953
- return tail(left, middle2);
18954
- }
18955
- return tail(middle2, right);
18956
- }
18957
- if (position === "end") {
18958
- return tail(middle2, right);
18959
- }
18960
- return tail(left, middle2);
18961
- };
18962
- container2.innerText = tail(0, end);
18963
- };
18964
- const middleTail = (leftPart, rightPart) => {
18965
- if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
18966
- return content.slice(0, leftPart[0]) + dots + content.slice(rightPart[1], end);
18967
- }
18968
- const leftMiddle = Math.floor((leftPart[0] + leftPart[1]) / 2);
18969
- const rightMiddle = Math.ceil((rightPart[0] + rightPart[1]) / 2);
18970
- container2.innerText = props.content.slice(0, leftMiddle) + props.dots + props.content.slice(rightMiddle, end) + props.expandText;
18971
- if (container2.offsetHeight >= maxHeight2) {
18972
- return middleTail([leftPart[0], leftMiddle], [rightMiddle, rightPart[1]]);
18973
- }
18974
- return middleTail([leftMiddle, leftPart[1]], [rightPart[0], rightMiddle]);
18975
- };
18976
- const middle = 0 + end >> 1;
18977
- props.position === "middle" ? container2.innerText = middleTail([0, middle], [middle, end]) : calcEllipse();
18978
- return container2.innerText;
18979
- };
18980
- const container = cloneContainer();
18981
- if (!container)
18982
- return;
18983
- const {
18984
- paddingBottom,
18985
- paddingTop,
18986
- lineHeight
18987
- } = container.style;
18988
- const maxHeight = Math.ceil((Number(props.rows) + 0.5) * pxToNum(lineHeight) + pxToNum(paddingTop) + pxToNum(paddingBottom));
18989
- if (maxHeight < container.offsetHeight) {
18990
- hasAction.value = true;
18991
- text.value = calcEllipsisText(container, maxHeight);
18992
- } else {
18993
- hasAction.value = false;
18994
- text.value = props.content;
18995
- }
18996
- document.body.removeChild(container);
18997
- };
18998
- const onClickAction = (event) => {
18999
- event.stopPropagation();
19000
- event.preventDefault();
19001
- expanded.value = !expanded.value;
19002
- emit("clickAction", event);
19003
- };
19004
- const renderAction = () => createVNode("span", {
19005
- "class": bem$2("action"),
19006
- "onClick": onClickAction
19007
- }, [actionText.value]);
19008
- onMounted(calcEllipsised);
19009
- watch(() => [props.content, props.rows, props.position], calcEllipsised);
19010
- useEventListener("resize", calcEllipsised);
19011
- return () => createVNode("div", {
19012
- "ref": root,
19013
- "class": bem$2()
19014
- }, [expanded.value ? props.content : text.value, hasAction.value ? renderAction() : null]);
19015
- }
19016
- });
19017
- const TextEllipsis = withInstall(stdin_default$7);
19171
+ const Table = withInstall(stdin_default$7);
19018
19172
  const [name$1, bem$1] = createNamespace("timeline");
19019
19173
  const timelineProps = {
19020
19174
  title: makeStringProp("办理经过"),
@@ -19058,7 +19212,7 @@ var stdin_default$6 = defineComponent({
19058
19212
  "class": bem$1("top-right")
19059
19213
  }, [createVNode("span", {
19060
19214
  "class": bem$1("fold-text")
19061
- }, [createTextVNode("折叠"), props.title]), createVNode(stdin_default$b, {
19215
+ }, [createTextVNode("折叠"), props.title]), createVNode(stdin_default$c, {
19062
19216
  "modelValue": isFold.value,
19063
19217
  "onUpdate:modelValue": ($event) => isFold.value = $event
19064
19218
  }, null)])]);
@@ -20611,7 +20765,7 @@ const Lazyload = {
20611
20765
  });
20612
20766
  }
20613
20767
  };
20614
- const version = "3.1.16";
20768
+ const version = "3.1.18";
20615
20769
  function install(app) {
20616
20770
  const components = [
20617
20771
  ActionSheet,
@@ -20792,6 +20946,7 @@ export {
20792
20946
  collapseProps,
20793
20947
  dateTimePickerProps,
20794
20948
  stdin_default as default,
20949
+ defaultMedia,
20795
20950
  dialogProps,
20796
20951
  dropdownItemProps,
20797
20952
  dropdownMenuProps,