yc-design-vue 1.9.8 → 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 (266) 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 +5 -3
  5. package/es/Avatar/Avatar.vue.js +1 -1
  6. package/es/BackTop/index.css +1 -1
  7. package/es/BackTop/index.vue.js +3 -8
  8. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  9. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  10. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  11. package/es/Button/hooks/useContext.d.ts +2 -2
  12. package/es/Button/hooks/useContext.js +3 -13
  13. package/es/Button/index.css +1 -1
  14. package/es/Calendar/Calendar.vue.js +2 -2
  15. package/es/Carousel/CarouselArrow.vue.js +1 -1
  16. package/es/Cascader/CascaderIcon.vue.js +2 -2
  17. package/es/Cascader/CascaderOption.vue.js +1 -1
  18. package/es/Checkbox/Checkbox.vue.js +2 -2
  19. package/es/Collapse/CollapseItem.vue.js +2 -2
  20. package/es/Drawer/Drawer.vue.js +2 -2
  21. package/es/Dropdown/DropdownButton.vue.js +1 -1
  22. package/es/Dropdown/Dsubmenu.vue.js +1 -1
  23. package/es/Empty/index.vue.js +1 -1
  24. package/es/Image/Image.vue.js +1 -1
  25. package/es/Image/ImagePreview.vue.js +1 -1
  26. package/es/Image/ImagePreviewArrow.vue.js +1 -1
  27. package/es/Image/ImagePreviewToolbar.vue.js +1 -1
  28. package/es/Input/Input.vue.js +2 -2
  29. package/es/Input/InputSuffix.vue.js +2 -2
  30. package/es/InputNumber/InputNumber.vue.d.ts +0 -1
  31. package/es/InputNumber/InputNumber.vue.js +1 -6
  32. package/es/InputNumber/InputOperaBtn.vue.js +2 -2
  33. package/es/InputNumber/index.d.ts +0 -3
  34. package/es/InputNumber/type.d.ts +0 -2
  35. package/es/InputTag/index.vue.js +2 -2
  36. package/es/Layout/LayoutSider.vue.js +1 -1
  37. package/es/Link/index.vue.js +1 -1
  38. package/es/Mention/index.d.ts +27 -27
  39. package/es/Mention/index.vue.d.ts +70 -70
  40. package/es/Mention/type.d.ts +3 -3
  41. package/es/Menu/Menu.vue.js +1 -1
  42. package/es/Menu/MenuEllipsis.vue.js +1 -1
  43. package/es/Menu/SubMenu.vue.js +1 -1
  44. package/es/Message/Message.vue.js +2 -2
  45. package/es/Modal/Modal.vue.js +2 -2
  46. package/es/Notification/Notification.vue.js +2 -2
  47. package/es/PageHeader/index.vue.js +2 -2
  48. package/es/Pagination/PaginationItem.vue.js +1 -1
  49. package/es/Progress/ProgressCircle.vue.js +2 -2
  50. package/es/Radio/Radio.vue.js +2 -2
  51. package/es/Rate/index.vue.js +1 -1
  52. package/es/ResizeBox/index.vue.js +45 -33
  53. package/es/Select/Option.vue.d.ts +1 -1
  54. package/es/Select/Option.vue.js +1 -1
  55. package/es/Select/Select.vue.d.ts +14 -14
  56. package/es/Select/SelectIcon.vue.js +2 -2
  57. package/es/Select/hooks/useContext.d.ts +7 -7
  58. package/es/Select/hooks/useSelectHotkeys.js +3 -1
  59. package/es/Select/hooks/useSelectOptions.d.ts +8 -8
  60. package/es/Select/index.d.ts +21 -21
  61. package/es/Select/type.d.ts +9 -8
  62. package/es/Spin/index.vue.js +1 -1
  63. package/es/Split/index.vue.js +1 -1
  64. package/es/Steps/Step.vue.js +1 -1
  65. package/es/Tabs/TabButton.vue.js +2 -2
  66. package/es/Tabs/Tabs.vue.js +1 -1
  67. package/es/Tag/index.vue.js +2 -2
  68. package/es/Textarea/index.vue.js +2 -2
  69. package/es/TimePicker/TimePicker.vue.js +4 -4
  70. package/es/Transfer/Transfer.vue.js +1 -1
  71. package/es/Transfer/TransferPanel.vue.js +8 -6
  72. package/es/Transfer/type.d.ts +3 -9
  73. package/es/Trigger/hooks/useTriggerPosition.d.ts +0 -1
  74. package/es/Trigger/hooks/useTriggerPosition.js +3 -8
  75. package/es/Trigger/index.vue.js +3 -2
  76. package/es/Typography/TypographyBase.vue.d.ts +0 -4
  77. package/es/Typography/TypographyBase.vue.js +4 -4
  78. package/es/Typography/type.d.ts +0 -5
  79. package/es/VerificationCode/index.vue.js +5 -3
  80. package/es/Watermark/index.d.ts +3 -3
  81. package/es/Watermark/index.vue.d.ts +1 -1
  82. package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
  83. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  84. package/es/_shared/constants/index.d.ts +2 -2
  85. package/es/_shared/constants/index.js +1 -1
  86. package/es/_shared/icons/IconArrowDown.vue.js +1 -1
  87. package/es/_shared/icons/IconArrowRight.vue.js +1 -1
  88. package/es/_shared/icons/IconCheck.vue.js +1 -1
  89. package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  90. package/es/_shared/icons/IconClose.vue.js +1 -1
  91. package/es/_shared/icons/IconCopy.vue.js +23 -1
  92. package/es/_shared/icons/IconCopy.vue2.js +1 -23
  93. package/es/_shared/icons/IconDelete.vue.js +1 -1
  94. package/es/_shared/icons/IconDragDot.vue.js +1 -1
  95. package/es/_shared/icons/IconEdit.vue.js +23 -1
  96. package/es/_shared/icons/IconEdit.vue2.js +1 -23
  97. package/es/_shared/icons/IconEmpty.vue.js +1 -1
  98. package/es/_shared/icons/IconError.vue.js +1 -1
  99. package/es/_shared/icons/IconExclamation.vue.js +34 -1
  100. package/es/_shared/icons/IconExclamation.vue2.js +1 -34
  101. package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
  102. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
  103. package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
  104. package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
  105. package/es/_shared/icons/IconImageClose.vue.js +1 -1
  106. package/es/_shared/icons/IconInfo.vue.js +1 -1
  107. package/es/_shared/icons/IconInfoLine.vue.js +1 -1
  108. package/es/_shared/icons/IconLink.vue.js +1 -1
  109. package/es/_shared/icons/IconLoading.vue.js +1 -1
  110. package/es/_shared/icons/IconMenuFold.vue.js +1 -1
  111. package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
  112. package/es/_shared/icons/IconMinus.vue.js +1 -23
  113. package/es/_shared/icons/IconMinus.vue2.js +23 -1
  114. package/es/_shared/icons/IconMore.vue.js +1 -1
  115. package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
  116. package/es/_shared/icons/IconPlus.vue.js +1 -1
  117. package/es/_shared/icons/IconRight.vue.js +1 -1
  118. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
  119. package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
  120. package/es/_shared/icons/IconSearch.vue.js +1 -1
  121. package/es/_shared/icons/IconSeparator.vue2.js +1 -1
  122. package/es/_shared/icons/IconStar.vue.js +1 -1
  123. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  124. package/es/_shared/icons/IconTime.vue.js +1 -1
  125. package/es/_shared/icons/IconToTop.vue.js +1 -1
  126. package/es/_shared/icons/IconWarning.vue.js +1 -1
  127. package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
  128. package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
  129. package/es/_shared/utils/global-config.d.ts +1 -1
  130. package/es/_shared/utils/global-config.js +1 -1
  131. package/es/index.d.ts +3 -3
  132. package/es/style.css +1 -1
  133. package/lib/Alert/index.vue.js +1 -1
  134. package/lib/AutoComplete/index.d.ts +19 -19
  135. package/lib/AutoComplete/index.vue.d.ts +34 -34
  136. package/lib/AutoComplete/type.d.ts +5 -3
  137. package/lib/Avatar/Avatar.vue.js +1 -1
  138. package/lib/BackTop/index.css +1 -1
  139. package/lib/BackTop/index.vue.js +1 -1
  140. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  141. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  142. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  143. package/lib/Button/hooks/useContext.d.ts +2 -2
  144. package/lib/Button/hooks/useContext.js +1 -1
  145. package/lib/Button/index.css +1 -1
  146. package/lib/Calendar/Calendar.vue.js +1 -1
  147. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  148. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  149. package/lib/Cascader/CascaderOption.vue.js +1 -1
  150. package/lib/Checkbox/Checkbox.vue.js +1 -1
  151. package/lib/Collapse/CollapseItem.vue.js +1 -1
  152. package/lib/Drawer/Drawer.vue.js +1 -1
  153. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  154. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  155. package/lib/Empty/index.vue.js +1 -1
  156. package/lib/Image/Image.vue.js +1 -1
  157. package/lib/Image/ImagePreview.vue.js +1 -1
  158. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  159. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  160. package/lib/Input/Input.vue.js +1 -1
  161. package/lib/Input/InputSuffix.vue.js +1 -1
  162. package/lib/InputNumber/InputNumber.vue.d.ts +0 -1
  163. package/lib/InputNumber/InputNumber.vue.js +1 -1
  164. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  165. package/lib/InputNumber/index.d.ts +0 -3
  166. package/lib/InputNumber/type.d.ts +0 -2
  167. package/lib/InputTag/index.vue.js +1 -1
  168. package/lib/Layout/LayoutSider.vue.js +1 -1
  169. package/lib/Link/index.vue.js +1 -1
  170. package/lib/Mention/index.d.ts +27 -27
  171. package/lib/Mention/index.vue.d.ts +70 -70
  172. package/lib/Mention/type.d.ts +3 -3
  173. package/lib/Menu/Menu.vue.js +1 -1
  174. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  175. package/lib/Menu/SubMenu.vue.js +1 -1
  176. package/lib/Message/Message.vue.js +1 -1
  177. package/lib/Modal/Modal.vue.js +1 -1
  178. package/lib/Notification/Notification.vue.js +1 -1
  179. package/lib/PageHeader/index.vue.js +1 -1
  180. package/lib/Pagination/PaginationItem.vue.js +1 -1
  181. package/lib/Progress/ProgressCircle.vue.js +1 -1
  182. package/lib/Radio/Radio.vue.js +1 -1
  183. package/lib/Rate/index.vue.js +1 -1
  184. package/lib/ResizeBox/index.vue.js +1 -1
  185. package/lib/Select/Option.vue.d.ts +1 -1
  186. package/lib/Select/Option.vue.js +1 -1
  187. package/lib/Select/Select.vue.d.ts +14 -14
  188. package/lib/Select/SelectIcon.vue.js +1 -1
  189. package/lib/Select/hooks/useContext.d.ts +7 -7
  190. package/lib/Select/hooks/useSelectHotkeys.js +1 -1
  191. package/lib/Select/hooks/useSelectOptions.d.ts +8 -8
  192. package/lib/Select/index.d.ts +21 -21
  193. package/lib/Select/type.d.ts +9 -8
  194. package/lib/Spin/index.vue.js +1 -1
  195. package/lib/Split/index.vue.js +1 -1
  196. package/lib/Steps/Step.vue.js +1 -1
  197. package/lib/Tabs/TabButton.vue.js +1 -1
  198. package/lib/Tabs/Tabs.vue.js +1 -1
  199. package/lib/Tag/index.vue.js +1 -1
  200. package/lib/Textarea/index.vue.js +1 -1
  201. package/lib/TimePicker/TimePicker.vue.js +1 -1
  202. package/lib/Transfer/Transfer.vue.js +1 -1
  203. package/lib/Transfer/TransferPanel.vue.js +1 -1
  204. package/lib/Transfer/type.d.ts +3 -9
  205. package/lib/Trigger/hooks/useTriggerPosition.d.ts +0 -1
  206. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  207. package/lib/Trigger/index.vue.js +1 -1
  208. package/lib/Typography/TypographyBase.vue.d.ts +0 -4
  209. package/lib/Typography/TypographyBase.vue.js +1 -1
  210. package/lib/Typography/type.d.ts +0 -5
  211. package/lib/VerificationCode/index.vue.js +1 -1
  212. package/lib/Watermark/index.d.ts +3 -3
  213. package/lib/Watermark/index.vue.d.ts +1 -1
  214. package/lib/_shared/components/IconButton/index.vue.js +1 -0
  215. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  216. package/lib/_shared/constants/index.d.ts +2 -2
  217. package/lib/_shared/constants/index.js +1 -1
  218. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  219. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  220. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  221. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  222. package/lib/_shared/icons/IconClose.vue.js +1 -1
  223. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  224. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  225. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  226. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  227. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  228. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  229. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  230. package/lib/_shared/icons/IconError.vue.js +1 -1
  231. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  232. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  233. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  234. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  235. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  236. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  237. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  238. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  239. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  240. package/lib/_shared/icons/IconLink.vue.js +1 -1
  241. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  242. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  243. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  244. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  245. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  246. package/lib/_shared/icons/IconMore.vue.js +1 -1
  247. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  248. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  249. package/lib/_shared/icons/IconRight.vue.js +1 -1
  250. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  251. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  252. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  253. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  254. package/lib/_shared/icons/IconStar.vue.js +1 -1
  255. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  256. package/lib/_shared/icons/IconTime.vue.js +1 -1
  257. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  258. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  259. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  260. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  261. package/lib/_shared/utils/global-config.d.ts +1 -1
  262. package/lib/_shared/utils/global-config.js +1 -1
  263. package/lib/index.d.ts +3 -3
  264. package/lib/style.css +1 -1
  265. package/package.json +1 -1
  266. package/lib/_shared/components/IconButton/index.vue2.js +0 -1
@@ -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/IconArrowRight.vue.js";
@@ -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";
@@ -4,7 +4,7 @@ import { sleep } from "../_shared/utils/dom.js";
4
4
  import { isFunction } from "../_shared/utils/is.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/IconArrowRight.vue.js";
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.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/IconCheckboxChecked.vue.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
2
2
  import useContext from "./hooks/useContext.js";
3
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
4
+ /* empty css */
5
5
  import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
6
6
  /* empty css */
7
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import { useI18n } from "../_shared/utils/locale.js";
7
7
  import useModalClose from "../Modal/hooks/useModalClose.js";
8
8
  import Button from "../Button/index.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
  const _hoisted_1 = {
@@ -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$3 from "../_shared/icons/IconMore.vue.js";
@@ -6,7 +6,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../_shared/utils/locale.js";
8
8
  import useControlValue from "../_shared/utils/control.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.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 { useI18n } from "../_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/IconEmpty.vue.js";
@@ -4,7 +4,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import { useI18n } from "../_shared/utils/locale.js";
6
6
  import useControlValue from "../_shared/utils/control.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
@@ -5,7 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.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$2 from "../_shared/icons/IconClose.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/IconArrowRight.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 { useI18n } from "../_shared/utils/locale.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import useLimitedInput from "./hooks/useLimitedInput.js";
9
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
10
- /* empty css */
9
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
10
+ /* empty css */
11
11
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
12
12
  /* empty css */
13
13
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
2
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
3
- /* empty css */
2
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
3
+ /* empty css */
4
4
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
5
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
6
6
  import "../_shared/utils/dom.js";
@@ -195,7 +195,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
195
195
  precision: number;
196
196
  step: number;
197
197
  hideButton: boolean;
198
- modelEvent: import('./type').ModelEvent;
199
198
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
200
199
  inputRef: ({
201
200
  $: import('vue').ComponentInternalInstance;
@@ -28,7 +28,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  hideButton: { type: Boolean, default: false },
29
29
  size: { default: void 0 },
30
30
  allowClear: { type: Boolean, default: false },
31
- modelEvent: { default: "change" },
32
31
  formatter: {},
33
32
  parser: {},
34
33
  readonly: { type: Boolean, default: false },
@@ -49,7 +48,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
48
  disabled,
50
49
  hideButton,
51
50
  mode,
52
- modelEvent,
53
51
  precision: _precision
54
52
  } = toRefs(props);
55
53
  const { formatter, parser } = props;
@@ -58,10 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
56
  modelValue,
59
57
  defaultValue.value,
60
58
  (val) => {
61
- emits(
62
- "update:modelValue",
63
- modelEvent.value == "change" ? val : handlePrecision(val, "number")
64
- );
59
+ emits("update:modelValue", val);
65
60
  },
66
61
  (val) => {
67
62
  const value = isString(val) ? val : handlePrecision(val, "string");
@@ -4,10 +4,10 @@ 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
- import _sfc_main$2 from "../_shared/icons/IconMinus.vue.js";
10
+ import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
11
11
  import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
12
12
  import Button from "../Button/index.js";
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -40,7 +40,6 @@ declare const InputNumber: {
40
40
  precision: number;
41
41
  step: number;
42
42
  hideButton: boolean;
43
- modelEvent: import('./type').ModelEvent;
44
43
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
45
44
  inputRef: ({
46
45
  $: import('vue').ComponentInternalInstance;
@@ -228,7 +227,6 @@ declare const InputNumber: {
228
227
  precision: number;
229
228
  step: number;
230
229
  hideButton: boolean;
231
- modelEvent: import('./type').ModelEvent;
232
230
  }>;
233
231
  __isFragment?: never;
234
232
  __isTeleport?: never;
@@ -270,7 +268,6 @@ declare const InputNumber: {
270
268
  precision: number;
271
269
  step: number;
272
270
  hideButton: boolean;
273
- modelEvent: import('./type').ModelEvent;
274
271
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
275
272
  $slots: Readonly<import('./type').InputNumberSlots> & import('./type').InputNumberSlots;
276
273
  }) & {
@@ -14,7 +14,6 @@ export interface InputNumberProps {
14
14
  hideButton?: boolean;
15
15
  size?: Size;
16
16
  allowClear?: boolean;
17
- modelEvent?: ModelEvent;
18
17
  formatter?: InputNumberFormatter;
19
18
  parser?: InputNumberParser;
20
19
  readonly?: boolean;
@@ -45,6 +44,5 @@ export interface InputNumberExpose {
45
44
  }
46
45
  export type InputNumberValue = number | string;
47
46
  export type InputNumberMode = 'embed' | 'button';
48
- export type ModelEvent = 'change' | 'input';
49
47
  export type InputNumberFormatter = (value: string) => string;
50
48
  export type InputNumberParser = (value: string) => string;
@@ -9,8 +9,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
9
9
  import "../_shared/utils/locale.js";
10
10
  import useControlValue from "../_shared/utils/control.js";
11
11
  import Tag from "../Tag/index.js";
12
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
13
- /* empty css */
12
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
13
+ /* empty css */
14
14
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
15
15
  /* empty css */
16
16
  /* empty css */
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import { mediaQueryHandler, valueToPx } from "../_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/IconArrowRight.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/IconLink.vue.js";
@@ -9,7 +9,7 @@ declare const Mention: {
9
9
  onClear?: ((ev: MouseEvent) => any) | undefined;
10
10
  onBlur?: ((ev: FocusEvent) => any) | undefined;
11
11
  onInput?: ((value: string, ev: Event) => any) | undefined;
12
- onSelect?: ((value: import('..').SelectValue) => any) | undefined;
12
+ onSelect?: ((value: import('..').OptionValue) => any) | undefined;
13
13
  onSearch?: ((value: string) => any) | undefined;
14
14
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
15
  }>, {
@@ -21,13 +21,13 @@ declare const Mention: {
21
21
  clear: (ev: MouseEvent) => any;
22
22
  blur: (ev: FocusEvent) => any;
23
23
  input: (value: string, ev: Event) => any;
24
- select: (value: import('..').SelectValue) => any;
24
+ select: (value: import('..').OptionValue) => any;
25
25
  search: (value: string) => any;
26
26
  "update:modelValue": (value: string) => any;
27
27
  }, import('vue').PublicProps, {
28
28
  disabled: boolean;
29
29
  type: "input" | "textarea";
30
- data: import('..').SelectOptions;
30
+ data: import('..').SelectOption[];
31
31
  split: string;
32
32
  modelValue: string;
33
33
  defaultValue: string;
@@ -41,7 +41,7 @@ declare const Mention: {
41
41
  readonly modelValue?: string | undefined;
42
42
  readonly defaultValue?: string | undefined;
43
43
  readonly disabled?: boolean | undefined;
44
- readonly data?: import('..').SelectOptions | undefined;
44
+ readonly data?: import('..').SelectOption[] | undefined;
45
45
  readonly popupContainer?: import('..').PopupContainer | undefined;
46
46
  readonly strict?: boolean | undefined;
47
47
  readonly filterOption?: ((inputValue: string, option: import('..').SelectOptionData) => boolean) | undefined;
@@ -93,7 +93,7 @@ declare const Mention: {
93
93
  readonly defaultPopupVisible?: boolean | undefined;
94
94
  readonly unmountonClose?: boolean | undefined;
95
95
  readonly filterOption?: import('..').FilterOption | undefined;
96
- readonly options?: import('..').SelectOptions | undefined;
96
+ readonly options?: import('..').SelectOption[] | undefined;
97
97
  readonly virtualListProps?: import('..').VirtualListProps | undefined;
98
98
  readonly triggerProps?: import('..').TriggerProps | undefined;
99
99
  readonly formatLabel?: import('..').FormatLabel | undefined;
@@ -113,13 +113,13 @@ declare const Mention: {
113
113
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
114
114
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
115
115
  readonly onClear?: (() => any) | undefined;
116
- readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
116
+ readonly onSelect?: ((value: import('..').OptionValue) => any) | undefined;
117
117
  readonly onSearch?: ((value: string) => any) | undefined;
118
118
  readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
119
- readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
119
+ readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
120
120
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
121
121
  readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
122
- readonly onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
122
+ readonly onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
123
123
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
124
124
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
125
125
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -515,20 +515,20 @@ declare const Mention: {
515
515
  $root: import('vue').ComponentPublicInstance | null;
516
516
  $parent: import('vue').ComponentPublicInstance | null;
517
517
  $host: Element | null;
518
- $emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
518
+ $emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
519
519
  $el: any;
520
520
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
521
521
  onChange?: ((value: import('..').SelectValue) => any) | undefined;
522
522
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
523
523
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
524
524
  onClear?: (() => any) | undefined;
525
- onSelect?: ((value: import('..').SelectValue) => any) | undefined;
525
+ onSelect?: ((value: import('..').OptionValue) => any) | undefined;
526
526
  onSearch?: ((value: string) => any) | undefined;
527
527
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
528
- "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
528
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
529
529
  "onInput-value-change"?: ((value: string) => any) | undefined;
530
530
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
531
- onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
531
+ onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
532
532
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
533
533
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
534
534
  }>, {
@@ -540,13 +540,13 @@ declare const Mention: {
540
540
  "update:popupVisible": (value: boolean) => any;
541
541
  "popup-visible-change": (value: boolean) => any;
542
542
  clear: () => any;
543
- select: (value: import('..').SelectValue) => any;
543
+ select: (value: import('..').OptionValue) => any;
544
544
  search: (value: string) => any;
545
545
  "update:modelValue": (value: import('..').SelectValue) => any;
546
- "update:inputValue": (value: import('..').SelectValue) => any;
546
+ "update:inputValue": (value: string) => any;
547
547
  "input-value-change": (value: string) => any;
548
548
  remove: (index: string | number, ev: Event) => any;
549
- exceedLimit: (value: import('..').SelectValue, ev?: MouseEvent | undefined) => any;
549
+ exceedLimit: (value: import('..').OptionValue, ev?: MouseEvent | undefined) => any;
550
550
  "dropdown-scroll": (ev: Event) => any;
551
551
  "dropdown-reach-bottom": (ev: Event) => any;
552
552
  }, string, {
@@ -565,7 +565,7 @@ declare const Mention: {
565
565
  defaultValue: import('..').SelectValue;
566
566
  allowClear: boolean;
567
567
  showExtraOptions: boolean;
568
- options: import('..').SelectOptions;
568
+ options: import('..').SelectOption[];
569
569
  limit: number;
570
570
  inputValue: string;
571
571
  defaultInputValue: string;
@@ -618,7 +618,7 @@ declare const Mention: {
618
618
  defaultValue: import('..').SelectValue;
619
619
  allowClear: boolean;
620
620
  showExtraOptions: boolean;
621
- options: import('..').SelectOptions;
621
+ options: import('..').SelectOption[];
622
622
  limit: number;
623
623
  inputValue: string;
624
624
  defaultInputValue: string;
@@ -640,13 +640,13 @@ declare const Mention: {
640
640
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
641
641
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
642
642
  onClear?: (() => any) | undefined;
643
- onSelect?: ((value: import('..').SelectValue) => any) | undefined;
643
+ onSelect?: ((value: import('..').OptionValue) => any) | undefined;
644
644
  onSearch?: ((value: string) => any) | undefined;
645
645
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
646
- "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
646
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
647
647
  "onInput-value-change"?: ((value: string) => any) | undefined;
648
648
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
649
- onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
649
+ onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
650
650
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
651
651
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
652
652
  }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
@@ -775,7 +775,7 @@ declare const Mention: {
775
775
  popupContainer: import('..').PopupContainer;
776
776
  strict: boolean;
777
777
  type: "textarea" | "input";
778
- data: import('..').SelectOptions;
778
+ data: import('..').SelectOption[];
779
779
  modelValue: string;
780
780
  defaultValue: string;
781
781
  allowClear: boolean;
@@ -808,7 +808,7 @@ declare const Mention: {
808
808
  popupContainer: import('..').PopupContainer;
809
809
  strict: boolean;
810
810
  type: "textarea" | "input";
811
- data: import('..').SelectOptions;
811
+ data: import('..').SelectOption[];
812
812
  modelValue: string;
813
813
  defaultValue: string;
814
814
  allowClear: boolean;
@@ -850,7 +850,7 @@ declare const Mention: {
850
850
  onClear?: ((ev: MouseEvent) => any) | undefined;
851
851
  onBlur?: ((ev: FocusEvent) => any) | undefined;
852
852
  onInput?: ((value: string, ev: Event) => any) | undefined;
853
- onSelect?: ((value: import('..').SelectValue) => any) | undefined;
853
+ onSelect?: ((value: import('..').OptionValue) => any) | undefined;
854
854
  onSearch?: ((value: string) => any) | undefined;
855
855
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
856
856
  }>, {
@@ -859,7 +859,7 @@ declare const Mention: {
859
859
  }, {}, {}, {}, {
860
860
  disabled: boolean;
861
861
  type: "input" | "textarea";
862
- data: import('..').SelectOptions;
862
+ data: import('..').SelectOption[];
863
863
  split: string;
864
864
  modelValue: string;
865
865
  defaultValue: string;
@@ -875,7 +875,7 @@ declare const Mention: {
875
875
  onClear?: ((ev: MouseEvent) => any) | undefined;
876
876
  onBlur?: ((ev: FocusEvent) => any) | undefined;
877
877
  onInput?: ((value: string, ev: Event) => any) | undefined;
878
- onSelect?: ((value: import('..').SelectValue) => any) | undefined;
878
+ onSelect?: ((value: import('..').OptionValue) => any) | undefined;
879
879
  onSearch?: ((value: string) => any) | undefined;
880
880
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
881
881
  }>, {
@@ -887,13 +887,13 @@ declare const Mention: {
887
887
  clear: (ev: MouseEvent) => any;
888
888
  blur: (ev: FocusEvent) => any;
889
889
  input: (value: string, ev: Event) => any;
890
- select: (value: import('..').SelectValue) => any;
890
+ select: (value: import('..').OptionValue) => any;
891
891
  search: (value: string) => any;
892
892
  "update:modelValue": (value: string) => any;
893
893
  }, string, {
894
894
  disabled: boolean;
895
895
  type: "input" | "textarea";
896
- data: import('..').SelectOptions;
896
+ data: import('..').SelectOption[];
897
897
  split: string;
898
898
  modelValue: string;
899
899
  defaultValue: string;