yc-design-vue 1.9.9 → 2.0.0

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 (244) hide show
  1. package/es/Alert/index.vue.js +2 -2
  2. package/es/AutoComplete/index.d.ts +19 -19
  3. package/es/AutoComplete/index.vue.d.ts +34 -34
  4. package/es/AutoComplete/type.d.ts +2 -2
  5. package/es/Avatar/Avatar.vue.js +1 -1
  6. package/es/BackTop/index.vue.js +1 -1
  7. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  8. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  9. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  10. package/es/Button/index.css +1 -1
  11. package/es/Calendar/Calendar.vue.js +2 -2
  12. package/es/Carousel/CarouselArrow.vue.js +1 -1
  13. package/es/Cascader/CascaderIcon.vue.js +2 -2
  14. package/es/Cascader/CascaderOption.vue.js +1 -1
  15. package/es/Checkbox/Checkbox.vue.js +2 -2
  16. package/es/Collapse/CollapseItem.vue.js +2 -2
  17. package/es/Drawer/Drawer.vue.js +2 -2
  18. package/es/Dropdown/DropdownButton.vue.js +1 -1
  19. package/es/Dropdown/Dsubmenu.vue.js +1 -1
  20. package/es/Empty/index.vue.js +1 -1
  21. package/es/Image/Image.vue.js +1 -1
  22. package/es/Image/ImagePreview.vue.js +1 -1
  23. package/es/Image/ImagePreviewArrow.vue.js +1 -1
  24. package/es/Image/ImagePreviewToolbar.vue.js +7 -7
  25. package/es/Input/Input.vue.js +2 -2
  26. package/es/Input/InputSuffix.vue.js +2 -2
  27. package/es/InputNumber/InputOperaBtn.vue.js +1 -1
  28. package/es/InputTag/index.vue.js +2 -2
  29. package/es/Layout/LayoutSider.vue.js +1 -1
  30. package/es/Link/index.vue.js +1 -1
  31. package/es/Mention/index.d.ts +27 -27
  32. package/es/Mention/index.vue.d.ts +70 -70
  33. package/es/Mention/type.d.ts +3 -3
  34. package/es/Menu/Menu.vue.js +1 -1
  35. package/es/Menu/MenuEllipsis.vue.js +1 -1
  36. package/es/Menu/SubMenu.vue.js +1 -1
  37. package/es/Message/Message.vue.js +2 -2
  38. package/es/Modal/Modal.vue.js +2 -2
  39. package/es/Notification/Notification.vue.js +2 -2
  40. package/es/PageHeader/index.vue.js +2 -2
  41. package/es/Pagination/PaginationItem.vue.js +1 -1
  42. package/es/Progress/ProgressCircle.vue.js +2 -2
  43. package/es/Radio/Radio.vue.js +2 -2
  44. package/es/Rate/index.vue.js +1 -1
  45. package/es/ResizeBox/index.vue.js +45 -33
  46. package/es/Select/Option.vue.d.ts +1 -1
  47. package/es/Select/Option.vue.js +1 -1
  48. package/es/Select/Select.vue.d.ts +14 -14
  49. package/es/Select/SelectIcon.vue.js +2 -2
  50. package/es/Select/hooks/useContext.d.ts +7 -7
  51. package/es/Select/hooks/useSelectOptions.d.ts +8 -8
  52. package/es/Select/index.d.ts +21 -21
  53. package/es/Select/type.d.ts +9 -8
  54. package/es/Spin/index.vue.js +1 -1
  55. package/es/Split/index.vue.js +1 -1
  56. package/es/Steps/Step.vue.js +1 -1
  57. package/es/Tabs/TabButton.vue.js +2 -2
  58. package/es/Tabs/Tabs.vue.js +1 -1
  59. package/es/Tag/index.vue.js +2 -2
  60. package/es/Textarea/index.vue.js +2 -2
  61. package/es/TimePicker/TimePicker.vue.js +2 -2
  62. package/es/Transfer/Transfer.vue.js +1 -1
  63. package/es/Transfer/TransferPanel.vue.js +4 -4
  64. package/es/Trigger/index.vue.js +1 -1
  65. package/es/Typography/TypographyBase.vue.d.ts +0 -4
  66. package/es/Typography/TypographyBase.vue.js +2 -2
  67. package/es/Typography/type.d.ts +0 -5
  68. package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
  69. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  70. package/es/_shared/constants/index.d.ts +2 -2
  71. package/es/_shared/constants/index.js +1 -1
  72. package/es/_shared/icons/IconArrowDown.vue.js +1 -1
  73. package/es/_shared/icons/IconArrowRight.vue.js +1 -1
  74. package/es/_shared/icons/IconCheck.vue.js +1 -1
  75. package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  76. package/es/_shared/icons/IconClose.vue.js +1 -1
  77. package/es/_shared/icons/IconCopy.vue.js +1 -1
  78. package/es/_shared/icons/IconDelete.vue.js +23 -1
  79. package/es/_shared/icons/IconDelete.vue2.js +1 -23
  80. package/es/_shared/icons/IconDragDot.vue.js +1 -1
  81. package/es/_shared/icons/IconEdit.vue.js +1 -1
  82. package/es/_shared/icons/IconEmpty.vue.js +1 -1
  83. package/es/_shared/icons/IconError.vue.js +1 -1
  84. package/es/_shared/icons/IconExclamation.vue.js +34 -1
  85. package/es/_shared/icons/IconExclamation.vue2.js +1 -34
  86. package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
  87. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
  88. package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
  89. package/es/_shared/icons/IconFullScreen.vue.js +1 -23
  90. package/es/_shared/icons/IconFullScreen.vue2.js +23 -1
  91. package/es/_shared/icons/IconImageClose.vue.js +1 -1
  92. package/es/_shared/icons/IconInfo.vue.js +1 -1
  93. package/es/_shared/icons/IconInfoLine.vue.js +1 -1
  94. package/es/_shared/icons/IconLink.vue.js +1 -1
  95. package/es/_shared/icons/IconLoading.vue.js +1 -1
  96. package/es/_shared/icons/IconMenuFold.vue.js +1 -1
  97. package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
  98. package/es/_shared/icons/IconMinus.vue2.js +1 -1
  99. package/es/_shared/icons/IconMore.vue.js +1 -1
  100. package/es/_shared/icons/IconOriginSize.vue.js +1 -29
  101. package/es/_shared/icons/IconOriginSize.vue2.js +29 -1
  102. package/es/_shared/icons/IconPlus.vue.js +1 -1
  103. package/es/_shared/icons/IconRight.vue.js +1 -1
  104. package/es/_shared/icons/IconRotateLeft.vue.js +1 -23
  105. package/es/_shared/icons/IconRotateLeft.vue2.js +23 -1
  106. package/es/_shared/icons/IconRotateRight.vue.js +1 -23
  107. package/es/_shared/icons/IconRotateRight.vue2.js +23 -1
  108. package/es/_shared/icons/IconSearch.vue.js +23 -1
  109. package/es/_shared/icons/IconSearch.vue2.js +1 -23
  110. package/es/_shared/icons/IconSeparator.vue2.js +1 -1
  111. package/es/_shared/icons/IconStar.vue.js +1 -1
  112. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  113. package/es/_shared/icons/IconTime.vue.js +1 -1
  114. package/es/_shared/icons/IconToTop.vue.js +1 -1
  115. package/es/_shared/icons/IconWarning.vue.js +1 -1
  116. package/es/_shared/icons/IconZoomIn.vue.js +1 -23
  117. package/es/_shared/icons/IconZoomIn.vue2.js +23 -1
  118. package/es/_shared/icons/IconZoomOut.vue.js +1 -23
  119. package/es/_shared/icons/IconZoomOut.vue2.js +23 -1
  120. package/es/index.d.ts +3 -3
  121. package/es/style.css +1 -1
  122. package/lib/Alert/index.vue.js +1 -1
  123. package/lib/AutoComplete/index.d.ts +19 -19
  124. package/lib/AutoComplete/index.vue.d.ts +34 -34
  125. package/lib/AutoComplete/type.d.ts +2 -2
  126. package/lib/Avatar/Avatar.vue.js +1 -1
  127. package/lib/BackTop/index.vue.js +1 -1
  128. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  129. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  130. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  131. package/lib/Button/index.css +1 -1
  132. package/lib/Calendar/Calendar.vue.js +1 -1
  133. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  134. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  135. package/lib/Cascader/CascaderOption.vue.js +1 -1
  136. package/lib/Checkbox/Checkbox.vue.js +1 -1
  137. package/lib/Collapse/CollapseItem.vue.js +1 -1
  138. package/lib/Drawer/Drawer.vue.js +1 -1
  139. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  140. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  141. package/lib/Empty/index.vue.js +1 -1
  142. package/lib/Image/Image.vue.js +1 -1
  143. package/lib/Image/ImagePreview.vue.js +1 -1
  144. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  145. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  146. package/lib/Input/Input.vue.js +1 -1
  147. package/lib/Input/InputSuffix.vue.js +1 -1
  148. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  149. package/lib/InputTag/index.vue.js +1 -1
  150. package/lib/Layout/LayoutSider.vue.js +1 -1
  151. package/lib/Link/index.vue.js +1 -1
  152. package/lib/Mention/index.d.ts +27 -27
  153. package/lib/Mention/index.vue.d.ts +70 -70
  154. package/lib/Mention/type.d.ts +3 -3
  155. package/lib/Menu/Menu.vue.js +1 -1
  156. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  157. package/lib/Menu/SubMenu.vue.js +1 -1
  158. package/lib/Message/Message.vue.js +1 -1
  159. package/lib/Modal/Modal.vue.js +1 -1
  160. package/lib/Notification/Notification.vue.js +1 -1
  161. package/lib/PageHeader/index.vue.js +1 -1
  162. package/lib/Pagination/PaginationItem.vue.js +1 -1
  163. package/lib/Progress/ProgressCircle.vue.js +1 -1
  164. package/lib/Radio/Radio.vue.js +1 -1
  165. package/lib/Rate/index.vue.js +1 -1
  166. package/lib/ResizeBox/index.vue.js +1 -1
  167. package/lib/Select/Option.vue.d.ts +1 -1
  168. package/lib/Select/Option.vue.js +1 -1
  169. package/lib/Select/Select.vue.d.ts +14 -14
  170. package/lib/Select/SelectIcon.vue.js +1 -1
  171. package/lib/Select/hooks/useContext.d.ts +7 -7
  172. package/lib/Select/hooks/useSelectOptions.d.ts +8 -8
  173. package/lib/Select/index.d.ts +21 -21
  174. package/lib/Select/type.d.ts +9 -8
  175. package/lib/Spin/index.vue.js +1 -1
  176. package/lib/Split/index.vue.js +1 -1
  177. package/lib/Steps/Step.vue.js +1 -1
  178. package/lib/Tabs/TabButton.vue.js +1 -1
  179. package/lib/Tabs/Tabs.vue.js +1 -1
  180. package/lib/Tag/index.vue.js +1 -1
  181. package/lib/Textarea/index.vue.js +1 -1
  182. package/lib/TimePicker/TimePicker.vue.js +1 -1
  183. package/lib/Transfer/Transfer.vue.js +1 -1
  184. package/lib/Transfer/TransferPanel.vue.js +1 -1
  185. package/lib/Trigger/index.vue.js +1 -1
  186. package/lib/Typography/TypographyBase.vue.d.ts +0 -4
  187. package/lib/Typography/TypographyBase.vue.js +1 -1
  188. package/lib/Typography/type.d.ts +0 -5
  189. package/lib/_shared/components/IconButton/index.vue.js +1 -0
  190. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  191. package/lib/_shared/constants/index.d.ts +2 -2
  192. package/lib/_shared/constants/index.js +1 -1
  193. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  194. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  195. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  196. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  197. package/lib/_shared/icons/IconClose.vue.js +1 -1
  198. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  199. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  200. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  201. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  202. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  203. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  204. package/lib/_shared/icons/IconError.vue.js +1 -1
  205. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  206. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  207. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  208. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  209. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  210. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  211. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  212. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  213. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  214. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  215. package/lib/_shared/icons/IconLink.vue.js +1 -1
  216. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  217. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  218. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  219. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  220. package/lib/_shared/icons/IconMore.vue.js +1 -1
  221. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  222. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  223. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  224. package/lib/_shared/icons/IconRight.vue.js +1 -1
  225. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  226. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  227. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  228. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  229. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  230. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  231. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  232. package/lib/_shared/icons/IconStar.vue.js +1 -1
  233. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  234. package/lib/_shared/icons/IconTime.vue.js +1 -1
  235. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  236. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  237. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  238. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  239. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  240. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  241. package/lib/index.d.ts +3 -3
  242. package/lib/style.css +1 -1
  243. package/package.json +1 -1
  244. package/lib/_shared/components/IconButton/index.vue2.js +0 -1
@@ -1,11 +1,11 @@
1
- import { defineComponent, useSlots, toRefs, reactive, ref, createBlock, openBlock, resolveDynamicComponent, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, unref } from "vue";
1
+ import { defineComponent, useSlots, toRefs, reactive, ref, watch, nextTick, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, unref, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode } from "vue";
2
2
  import { useEventListener, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
3
3
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import { valueToPx } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
@@ -27,11 +27,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  useSlots();
28
28
  const props = __props;
29
29
  const emits = __emit;
30
- const { width, height } = toRefs(props);
31
- const computedWidth = useControlValue(width, 0, (val) => {
30
+ const { width: _width, height: _height } = toRefs(props);
31
+ const computedWidth = useControlValue(_width, 0, (val) => {
32
32
  emits("update:width", val);
33
33
  });
34
- const computedHeight = useControlValue(height, 0, (val) => {
34
+ const computedHeight = useControlValue(_height, 0, (val) => {
35
35
  emits("update:height", val);
36
36
  });
37
37
  const triggeDoms = reactive([]);
@@ -43,18 +43,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  });
44
44
  const boxRef = ref();
45
45
  const dragDirection = ref(null);
46
- const x = ref(0);
47
- const y = ref(0);
46
+ let x = 0;
47
+ let y = 0;
48
48
  let cursor;
49
- const handleMovingStart = (dir, e) => {
49
+ const handleMovingStart = async (dir, e) => {
50
50
  e.preventDefault();
51
51
  dragDirection.value = dir;
52
- const { width: width2, height: height2 } = boxRef.value.getBoundingClientRect();
52
+ const { width, height } = boxRef.value.getBoundingClientRect();
53
+ computedWidth.value = width;
54
+ computedHeight.value = height;
53
55
  const { clientX, clientY } = e;
54
- computedWidth.value = width2;
55
- computedHeight.value = height2;
56
- x.value = clientX;
57
- y.value = clientY;
56
+ x = clientX;
57
+ y = clientY;
58
58
  cursor = getComputedStyle(document.body).cursor;
59
59
  document.body.style.cursor = ["left", "right"].includes(dir) ? "col-resize" : "row-resize";
60
60
  emits("moving-start", e);
@@ -64,33 +64,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
64
  return;
65
65
  }
66
66
  const { clientX, clientY } = e;
67
- const movementX = dragDirection.value == "left" ? x.value - clientX : clientX - x.value;
68
- const movementY = dragDirection.value == "top" ? y.value - clientY : clientY - y.value;
69
- const minWidth = triggerSize.left + triggerSize.right;
70
- const minHeight = triggerSize.top + triggerSize.bottom;
71
- x.value = clientX;
72
- y.value = clientY;
67
+ const movementX = dragDirection.value == "left" ? x - clientX : clientX - x;
68
+ const movementY = dragDirection.value == "top" ? y - clientY : clientY - y;
69
+ x = clientX;
70
+ y = clientY;
73
71
  if (["left", "right"].includes(dragDirection.value)) {
74
72
  computedWidth.value += movementX;
75
- computedWidth.value <= minWidth && (computedWidth.value = minWidth);
76
- boxRef.value.style.width = valueToPx(computedWidth.value);
73
+ boxRef.value.style.width = `${valueToPx(computedWidth.value)}`;
77
74
  } else {
78
75
  computedHeight.value += movementY;
79
- computedHeight.value <= minHeight && (computedHeight.value = minHeight);
80
- boxRef.value.style.height = valueToPx(computedHeight.value);
76
+ boxRef.value.style.height = `${valueToPx(computedHeight.value)}`;
81
77
  }
82
- const { width: width2, height: height2 } = boxRef.value.getBoundingClientRect();
83
- if (computedWidth.value != width2) {
84
- computedWidth.value = width2;
78
+ const { width, height } = boxRef.value.getBoundingClientRect();
79
+ if (width != computedWidth.value) {
80
+ computedWidth.value = width;
85
81
  }
86
- if (height2 != computedHeight.value) {
87
- computedHeight.value = height2;
82
+ if (height != computedHeight.value) {
83
+ computedHeight.value = width;
88
84
  }
89
85
  emits(
90
86
  "moving",
91
87
  {
92
- width: width2,
93
- height: height2
88
+ width,
89
+ height
94
90
  },
95
91
  e
96
92
  );
@@ -111,17 +107,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
107
  entries.forEach((item) => {
112
108
  const direction = item.target.getAttribute("dir");
113
109
  const {
114
- contentRect: { width: width2, height: height2 }
110
+ contentRect: { width, height }
115
111
  } = item;
116
- triggerSize[direction] = ["right", "left"].includes(direction) ? width2 : height2;
112
+ triggerSize[direction] = ["right", "left"].includes(direction) ? width : height;
117
113
  });
118
114
  },
119
115
  {
120
116
  box: "border-box"
121
117
  }
122
118
  );
119
+ watch(
120
+ [computedWidth, computedHeight],
121
+ async () => {
122
+ if (dragDirection.value) return;
123
+ await nextTick();
124
+ boxRef.value.style.width = `${valueToPx(computedWidth.value)}`;
125
+ boxRef.value.style.height = `${valueToPx(computedHeight.value)}`;
126
+ },
127
+ {
128
+ immediate: true
129
+ }
130
+ );
123
131
  return (_ctx, _cache) => {
124
132
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.component), {
133
+ style: normalizeStyle({
134
+ minWidth: unref(valueToPx)(triggerSize.left + triggerSize.right),
135
+ minHeight: unref(valueToPx)(triggerSize.top + triggerSize.bottom)
136
+ }),
125
137
  class: "yc-resizebox",
126
138
  ref_key: "boxRef",
127
139
  ref: boxRef
@@ -154,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
154
166
  }), 128))
155
167
  ]),
156
168
  _: 3
157
- }, 512);
169
+ }, 8, ["style"]);
158
170
  };
159
171
  }
160
172
  });
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<OptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OptionProps> & Readonly<{}>, {
12
12
  disabled: boolean;
13
- value: import('./type').SelectValue;
13
+ value: import('./type').OptionValue;
14
14
  label: string;
15
15
  isFallbackOption: boolean;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  __name: "Option",
22
22
  props: {
23
23
  label: { default: "" },
24
- value: { type: [String, Number, Boolean, Object, Array], default: "" },
24
+ value: { type: [String, Number, Boolean, Object], default: "" },
25
25
  disabled: { type: Boolean, default: false },
26
26
  tagProps: {},
27
27
  id: {},
@@ -1,4 +1,4 @@
1
- import { SelectProps, SelectSlots, SelectValue } from './type';
1
+ import { SelectProps, SelectSlots, OptionValue } from './type';
2
2
  import { InputTagValue } from '../InputTag';
3
3
  import { TriggerInstance } from '../Trigger';
4
4
  declare function __VLS_template(): {
@@ -393,31 +393,31 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
393
393
  blur(): void;
394
394
  getPopupRef(): TriggerInstance;
395
395
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
396
- change: (value: SelectValue) => any;
396
+ change: (value: import('./type').SelectValue) => any;
397
397
  "update:popupVisible": (value: boolean) => any;
398
398
  "popup-visible-change": (value: boolean) => any;
399
399
  clear: () => any;
400
- select: (value: SelectValue) => any;
400
+ select: (value: OptionValue) => any;
401
401
  search: (value: string) => any;
402
- "update:modelValue": (value: SelectValue) => any;
403
- "update:inputValue": (value: SelectValue) => any;
402
+ "update:modelValue": (value: import('./type').SelectValue) => any;
403
+ "update:inputValue": (value: string) => any;
404
404
  "input-value-change": (value: string) => any;
405
405
  remove: (index: string | number, ev: Event) => any;
406
- exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
406
+ exceedLimit: (value: OptionValue, ev?: MouseEvent | undefined) => any;
407
407
  "dropdown-scroll": (ev: Event) => any;
408
408
  "dropdown-reach-bottom": (ev: Event) => any;
409
409
  }, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
410
- onChange?: ((value: SelectValue) => any) | undefined;
410
+ onChange?: ((value: import('./type').SelectValue) => any) | undefined;
411
411
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
412
412
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
413
413
  onClear?: (() => any) | undefined;
414
- onSelect?: ((value: SelectValue) => any) | undefined;
414
+ onSelect?: ((value: OptionValue) => any) | undefined;
415
415
  onSearch?: ((value: string) => any) | undefined;
416
- "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
417
- "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
416
+ "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
417
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
418
418
  "onInput-value-change"?: ((value: string) => any) | undefined;
419
419
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
420
- onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
420
+ onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
421
421
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
422
422
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
423
423
  }>, {
@@ -432,11 +432,11 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
432
432
  placeholder: string;
433
433
  loading: boolean;
434
434
  bordered: boolean;
435
- modelValue: SelectValue;
436
- defaultValue: SelectValue;
435
+ modelValue: import('./type').SelectValue;
436
+ defaultValue: import('./type').SelectValue;
437
437
  allowClear: boolean;
438
438
  showExtraOptions: boolean;
439
- options: import('./type').SelectOptions;
439
+ options: import('./type').SelectOption[];
440
440
  limit: number;
441
441
  inputValue: string;
442
442
  defaultInputValue: string;
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
2
2
  import useContext from "./hooks/useContext.js";
3
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
4
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
5
- /* empty css */
4
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
5
+ /* empty css */
6
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
7
7
  import "../_shared/utils/dom.js";
8
8
  import "../_shared/utils/time.js";
@@ -1,9 +1,9 @@
1
1
  import { Ref, Slots } from 'vue';
2
- import { SelectValue, SelectOptionData, SelectEmits } from '../type';
2
+ import { SelectValue, SelectOptionData, SelectEmits, OptionValue } from '../type';
3
3
  import { InputInstance } from '../../Input';
4
4
  import { ObjectData, Props } from '../../_shared/type';
5
5
  type SelectContext = {
6
- computedValue: Ref<SelectValue | SelectValue[] | undefined>;
6
+ computedValue: Ref<SelectValue | undefined>;
7
7
  computedInputValue: Ref<string>;
8
8
  multiple: Ref<boolean>;
9
9
  limit: Ref<number>;
@@ -15,7 +15,7 @@ type SelectContext = {
15
15
  slots: Slots;
16
16
  blur: () => void;
17
17
  filterOption: (option: SelectOptionData) => boolean;
18
- getValue: (value: SelectValue | ObjectData) => SelectValue;
18
+ getValue: (value: OptionValue | ObjectData) => OptionValue;
19
19
  collectOption: (props: Props, optionLabel: Ref<string>) => void;
20
20
  emits: SelectEmits;
21
21
  };
@@ -26,9 +26,9 @@ declare const _default: () => {
26
26
  computedInputValue: import('vue').WritableComputedRef<string, string>;
27
27
  selectOptions: import('vue').ComputedRef<{
28
28
  id: string;
29
- label: SelectValue | undefined;
29
+ label: OptionValue | undefined;
30
30
  render?: import('../../_shared/type').RenderContent;
31
- value?: SelectValue;
31
+ value?: OptionValue;
32
32
  disabled?: boolean;
33
33
  tagProps?: import('../..').TagProps;
34
34
  isFallbackOption?: boolean;
@@ -36,7 +36,7 @@ declare const _default: () => {
36
36
  createOptions: Ref<{
37
37
  render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
38
38
  label?: string | undefined;
39
- value?: string | number | boolean | ObjectData | (string | number | boolean | ObjectData)[] | undefined;
39
+ value?: OptionValue | undefined;
40
40
  disabled?: boolean | undefined;
41
41
  tagProps?: {
42
42
  color?: string | undefined;
@@ -56,7 +56,7 @@ declare const _default: () => {
56
56
  }[], SelectOptionData[] | {
57
57
  render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
58
58
  label?: string | undefined;
59
- value?: string | number | boolean | ObjectData | (string | number | boolean | ObjectData)[] | undefined;
59
+ value?: OptionValue | undefined;
60
60
  disabled?: boolean | undefined;
61
61
  tagProps?: {
62
62
  color?: string | undefined;
@@ -1,12 +1,12 @@
1
1
  import { Ref } from 'vue';
2
2
  import { ObjectData, Props } from '../../_shared/type';
3
- import { SelectValue, SelectOptions, FallbackOption, FormatLabel, SelectOptionData } from '../index';
3
+ import { SelectValue, SelectOption, FallbackOption, FormatLabel, SelectOptionData, OptionValue } from '../index';
4
4
  declare const _default: (params: {
5
5
  multiple: Ref<boolean>;
6
6
  computedValue: Ref<SelectValue>;
7
- provideOptions: Ref<SelectOptions>;
7
+ provideOptions: Ref<SelectOption[]>;
8
8
  showExtraOptions: Ref<boolean>;
9
- getValue: (value: string | ObjectData) => SelectValue;
9
+ getValue: (value: OptionValue) => OptionValue;
10
10
  fallbackOption?: FallbackOption;
11
11
  formatLabel?: FormatLabel;
12
12
  }) => {
@@ -14,7 +14,7 @@ declare const _default: (params: {
14
14
  createOptions: Ref<{
15
15
  render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
16
16
  label?: string | undefined;
17
- value?: string | number | boolean | ObjectData | (string | number | boolean | ObjectData)[] | undefined;
17
+ value?: OptionValue | undefined;
18
18
  disabled?: boolean | undefined;
19
19
  tagProps?: {
20
20
  color?: string | undefined;
@@ -34,7 +34,7 @@ declare const _default: (params: {
34
34
  }[], SelectOptionData[] | {
35
35
  render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
36
36
  label?: string | undefined;
37
- value?: string | number | boolean | ObjectData | (string | number | boolean | ObjectData)[] | undefined;
37
+ value?: OptionValue | undefined;
38
38
  disabled?: boolean | undefined;
39
39
  tagProps?: {
40
40
  color?: string | undefined;
@@ -52,12 +52,12 @@ declare const _default: (params: {
52
52
  id?: string | undefined;
53
53
  isFallbackOption?: boolean | undefined;
54
54
  }[]>;
55
- renderOptions: import('vue').ComputedRef<SelectOptions>;
55
+ renderOptions: import('vue').ComputedRef<SelectOption[]>;
56
56
  selectOptions: import('vue').ComputedRef<{
57
57
  id: string;
58
- label: SelectValue | undefined;
58
+ label: OptionValue | undefined;
59
59
  render?: import('../../_shared/type').RenderContent;
60
- value?: SelectValue;
60
+ value?: OptionValue;
61
61
  disabled?: boolean;
62
62
  tagProps?: import('../..').TagProps;
63
63
  isFallbackOption?: boolean;
@@ -12,13 +12,13 @@ declare const Select: {
12
12
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
13
13
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
14
14
  onClear?: (() => any) | undefined;
15
- onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
15
+ onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
16
16
  onSearch?: ((value: string) => any) | undefined;
17
17
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
18
- "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
18
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
19
19
  "onInput-value-change"?: ((value: string) => any) | undefined;
20
20
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
21
- onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
21
+ onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
22
22
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
23
23
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
24
24
  }>, {
@@ -30,13 +30,13 @@ declare const Select: {
30
30
  "update:popupVisible": (value: boolean) => any;
31
31
  "popup-visible-change": (value: boolean) => any;
32
32
  clear: () => any;
33
- select: (value: import('./type').SelectValue) => any;
33
+ select: (value: import('./type').OptionValue) => any;
34
34
  search: (value: string) => any;
35
35
  "update:modelValue": (value: import('./type').SelectValue) => any;
36
- "update:inputValue": (value: import('./type').SelectValue) => any;
36
+ "update:inputValue": (value: string) => any;
37
37
  "input-value-change": (value: string) => any;
38
38
  remove: (index: string | number, ev: Event) => any;
39
- exceedLimit: (value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any;
39
+ exceedLimit: (value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any;
40
40
  "dropdown-scroll": (ev: Event) => any;
41
41
  "dropdown-reach-bottom": (ev: Event) => any;
42
42
  }, import('vue').PublicProps, {
@@ -55,7 +55,7 @@ declare const Select: {
55
55
  defaultValue: import('./type').SelectValue;
56
56
  allowClear: boolean;
57
57
  showExtraOptions: boolean;
58
- options: import('./type').SelectOptions;
58
+ options: import('./type').SelectOption[];
59
59
  limit: number;
60
60
  inputValue: string;
61
61
  defaultInputValue: string;
@@ -464,13 +464,13 @@ declare const Select: {
464
464
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
465
465
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
466
466
  onClear?: (() => any) | undefined;
467
- onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
467
+ onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
468
468
  onSearch?: ((value: string) => any) | undefined;
469
469
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
470
- "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
470
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
471
471
  "onInput-value-change"?: ((value: string) => any) | undefined;
472
472
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
473
- onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
473
+ onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
474
474
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
475
475
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
476
476
  }>, {
@@ -493,7 +493,7 @@ declare const Select: {
493
493
  defaultValue: import('./type').SelectValue;
494
494
  allowClear: boolean;
495
495
  showExtraOptions: boolean;
496
- options: import('./type').SelectOptions;
496
+ options: import('./type').SelectOption[];
497
497
  limit: number;
498
498
  inputValue: string;
499
499
  defaultInputValue: string;
@@ -519,13 +519,13 @@ declare const Select: {
519
519
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
520
520
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
521
521
  onClear?: (() => any) | undefined;
522
- onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
522
+ onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
523
523
  onSearch?: ((value: string) => any) | undefined;
524
524
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
525
- "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
525
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
526
526
  "onInput-value-change"?: ((value: string) => any) | undefined;
527
527
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
528
- onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
528
+ onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
529
529
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
530
530
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
531
531
  }>, {
@@ -537,13 +537,13 @@ declare const Select: {
537
537
  "update:popupVisible": (value: boolean) => any;
538
538
  "popup-visible-change": (value: boolean) => any;
539
539
  clear: () => any;
540
- select: (value: import('./type').SelectValue) => any;
540
+ select: (value: import('./type').OptionValue) => any;
541
541
  search: (value: string) => any;
542
542
  "update:modelValue": (value: import('./type').SelectValue) => any;
543
- "update:inputValue": (value: import('./type').SelectValue) => any;
543
+ "update:inputValue": (value: string) => any;
544
544
  "input-value-change": (value: string) => any;
545
545
  remove: (index: string | number, ev: Event) => any;
546
- exceedLimit: (value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any;
546
+ exceedLimit: (value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any;
547
547
  "dropdown-scroll": (ev: Event) => any;
548
548
  "dropdown-reach-bottom": (ev: Event) => any;
549
549
  }, string, {
@@ -562,7 +562,7 @@ declare const Select: {
562
562
  defaultValue: import('./type').SelectValue;
563
563
  allowClear: boolean;
564
564
  showExtraOptions: boolean;
565
- options: import('./type').SelectOptions;
565
+ options: import('./type').SelectOption[];
566
566
  limit: number;
567
567
  inputValue: string;
568
568
  defaultInputValue: string;
@@ -585,7 +585,7 @@ declare const Select: {
585
585
  option: {
586
586
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
587
587
  disabled: boolean;
588
- value: import('./type').SelectValue;
588
+ value: import('./type').OptionValue;
589
589
  label: string;
590
590
  isFallbackOption: boolean;
591
591
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -599,7 +599,7 @@ declare const Select: {
599
599
  Defaults: {};
600
600
  }, Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, {
601
601
  disabled: boolean;
602
- value: import('./type').SelectValue;
602
+ value: import('./type').OptionValue;
603
603
  label: string;
604
604
  isFallbackOption: boolean;
605
605
  }>;
@@ -608,7 +608,7 @@ declare const Select: {
608
608
  __isSuspense?: never;
609
609
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
610
610
  disabled: boolean;
611
- value: import('./type').SelectValue;
611
+ value: import('./type').OptionValue;
612
612
  label: string;
613
613
  isFallbackOption: boolean;
614
614
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -23,7 +23,7 @@ export interface SelectProps {
23
23
  defaultPopupVisible?: boolean;
24
24
  unmountonClose?: boolean;
25
25
  filterOption?: FilterOption;
26
- options?: SelectOptions;
26
+ options?: SelectOption[];
27
27
  virtualListProps?: VirtualListProps;
28
28
  triggerProps?: TriggerProps;
29
29
  formatLabel?: FormatLabel;
@@ -42,18 +42,18 @@ export interface SelectProps {
42
42
  }
43
43
  export interface SelectEmits {
44
44
  (e: 'update:modelValue', value: SelectValue): void;
45
- (e: 'update:inputValue', value: SelectValue): void;
45
+ (e: 'update:inputValue', value: string): void;
46
46
  (e: 'update:popupVisible', value: boolean): void;
47
47
  (e: 'change', value: SelectValue): void;
48
48
  (e: 'input-value-change', value: string): void;
49
49
  (e: 'clear'): void;
50
50
  (e: 'remove', index: number | string, ev: Event): void;
51
51
  (e: 'search', value: string): void;
52
- (e: 'exceedLimit', value: SelectValue, ev?: MouseEvent): void;
52
+ (e: 'exceedLimit', value: OptionValue, ev?: MouseEvent): void;
53
53
  (e: 'popup-visible-change', value: boolean): void;
54
54
  (e: 'dropdown-scroll', ev: Event): void;
55
55
  (e: 'dropdown-reach-bottom', ev: Event): void;
56
- (e: 'select', value: SelectValue): void;
56
+ (e: 'select', value: OptionValue): void;
57
57
  }
58
58
  export interface SelectSlots {
59
59
  default?: () => VNode[];
@@ -79,7 +79,7 @@ export interface SelectExpose {
79
79
  }
80
80
  export interface OptionProps {
81
81
  label?: string;
82
- value?: SelectValue;
82
+ value?: OptionValue;
83
83
  disabled?: boolean;
84
84
  tagProps?: TagProps;
85
85
  id?: string;
@@ -97,7 +97,8 @@ export interface OptgroupSlots {
97
97
  default?: () => VNode[];
98
98
  label?: () => VNode[];
99
99
  }
100
- export type SelectValue = (string | number | boolean | ObjectData) | (string | number | boolean | ObjectData)[];
100
+ export type OptionValue = string | number | boolean | ObjectData;
101
+ export type SelectValue = OptionValue | OptionValue[];
101
102
  export type SelectOptionData = {
102
103
  render?: RenderContent;
103
104
  } & OptionProps;
@@ -107,9 +108,9 @@ export type SelectOptionGroup = {
107
108
  isGroup?: true;
108
109
  options?: SelectOptionData[];
109
110
  };
110
- export type SelectOptions = (SelectValue | SelectOptionData | SelectOptionGroup | ObjectData)[];
111
+ export type SelectOption = OptionValue | SelectOptionData | SelectOptionGroup | ObjectData;
111
112
  export type FilterOption = boolean | ((inputValue: string, option: SelectOptionData) => boolean);
112
- export type FallbackOption = (value: SelectValue) => SelectOptionData;
113
+ export type FallbackOption = (value: OptionValue) => SelectOptionData;
113
114
  export type FormatLabel = (data: SelectOptionData) => string;
114
115
  export type VirtualListProps = {
115
116
  itemHeight?: number;
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import { valueToPx } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
@@ -5,7 +5,7 @@ import { isNumber } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../_shared/utils/locale.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
3
- /* empty css */
2
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
3
+ /* empty css */
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
@@ -6,7 +6,7 @@ import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useContext from "./hooks/useContext.js";
8
8
  import useTabsScroll from "./hooks/useTabsScroll.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
@@ -7,8 +7,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import "../_shared/utils/locale.js";
8
8
  import useControlValue from "../_shared/utils/control.js";
9
9
  import Spin from "../Spin/index.js";
10
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
11
- /* empty css */
10
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
11
+ /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  const _hoisted_1 = {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
2
2
  import useTextareaHeight from "./hooks/useTextareaHeight.js";
3
3
  import useLimitedInput from "../Input/hooks/useLimitedInput.js";
4
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
5
- /* empty css */
4
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
5
+ /* empty css */
6
6
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
7
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
8
8
  import "../_shared/utils/dom.js";
@@ -6,8 +6,8 @@ import { isValidTimeRange } from "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import "../_shared/utils/locale.js";
8
8
  import useContext from "./hooks/useContext.js";
9
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";