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
@@ -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;
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue';
2
2
  import { MentionProps, MentionSlots } from './type';
3
- import { SelectValue } from '../Select';
3
+ import { OptionValue } from '../Select';
4
4
  declare function __VLS_template(): {
5
5
  attrs: Partial<{}>;
6
6
  slots: Readonly<MentionSlots> & MentionSlots;
@@ -12,7 +12,7 @@ declare function __VLS_template(): {
12
12
  readonly modelValue?: string | undefined;
13
13
  readonly defaultValue?: string | undefined;
14
14
  readonly disabled?: boolean | undefined;
15
- readonly data?: import('../Select').SelectOptions | undefined;
15
+ readonly data?: import('../Select').SelectOption[] | undefined;
16
16
  readonly popupContainer?: import('../_shared/type').PopupContainer | undefined;
17
17
  readonly strict?: boolean | undefined;
18
18
  readonly filterOption?: ((inputValue: string, option: import('../Select').SelectOptionData) => boolean) | undefined;
@@ -45,8 +45,8 @@ declare function __VLS_template(): {
45
45
  $data: {};
46
46
  $props: {
47
47
  readonly multiple?: boolean | undefined;
48
- readonly modelValue?: SelectValue | undefined;
49
- readonly defaultValue?: SelectValue | undefined;
48
+ readonly modelValue?: import('../Select').SelectValue | undefined;
49
+ readonly defaultValue?: import('../Select').SelectValue | undefined;
50
50
  readonly inputValue?: string | undefined;
51
51
  readonly defaultInputValue?: string | undefined;
52
52
  readonly size?: import('../_shared/type').Size | undefined;
@@ -64,7 +64,7 @@ declare function __VLS_template(): {
64
64
  readonly defaultPopupVisible?: boolean | undefined;
65
65
  readonly unmountonClose?: boolean | undefined;
66
66
  readonly filterOption?: import('../Select').FilterOption | undefined;
67
- readonly options?: import('../Select').SelectOptions | undefined;
67
+ readonly options?: import('../Select').SelectOption[] | undefined;
68
68
  readonly virtualListProps?: import('../Select').VirtualListProps | undefined;
69
69
  readonly triggerProps?: import('..').TriggerProps | undefined;
70
70
  readonly formatLabel?: import('../Select').FormatLabel | undefined;
@@ -80,17 +80,17 @@ declare function __VLS_template(): {
80
80
  readonly tagNowrap?: boolean | undefined;
81
81
  readonly hotkeys?: boolean | undefined;
82
82
  readonly showEmpty?: boolean | undefined;
83
- readonly onChange?: ((value: SelectValue) => any) | undefined;
83
+ readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
84
84
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
85
85
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
86
86
  readonly onClear?: (() => any) | undefined;
87
- readonly onSelect?: ((value: SelectValue) => any) | undefined;
87
+ readonly onSelect?: ((value: OptionValue) => any) | undefined;
88
88
  readonly onSearch?: ((value: string) => any) | undefined;
89
- readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
90
- readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
89
+ readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
90
+ readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
91
91
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
92
92
  readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
93
- readonly onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
93
+ readonly onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
94
94
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
95
95
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
96
96
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -486,20 +486,20 @@ declare function __VLS_template(): {
486
486
  $root: import('vue').ComponentPublicInstance | null;
487
487
  $parent: import('vue').ComponentPublicInstance | null;
488
488
  $host: Element | null;
489
- $emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
489
+ $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').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: OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
490
490
  $el: any;
491
491
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
492
- onChange?: ((value: SelectValue) => any) | undefined;
492
+ onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
493
493
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
494
494
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
495
495
  onClear?: (() => any) | undefined;
496
- onSelect?: ((value: SelectValue) => any) | undefined;
496
+ onSelect?: ((value: OptionValue) => any) | undefined;
497
497
  onSearch?: ((value: string) => any) | undefined;
498
- "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
499
- "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
498
+ "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
499
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
500
500
  "onInput-value-change"?: ((value: string) => any) | undefined;
501
501
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
502
- onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
502
+ onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
503
503
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
504
504
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
505
505
  }>, {
@@ -507,17 +507,17 @@ declare function __VLS_template(): {
507
507
  blur(): void;
508
508
  getPopupRef(): import('..').TriggerInstance;
509
509
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
510
- change: (value: SelectValue) => any;
510
+ change: (value: import('../Select').SelectValue) => any;
511
511
  "update:popupVisible": (value: boolean) => any;
512
512
  "popup-visible-change": (value: boolean) => any;
513
513
  clear: () => any;
514
- select: (value: SelectValue) => any;
514
+ select: (value: OptionValue) => any;
515
515
  search: (value: string) => any;
516
- "update:modelValue": (value: SelectValue) => any;
517
- "update:inputValue": (value: SelectValue) => any;
516
+ "update:modelValue": (value: import('../Select').SelectValue) => any;
517
+ "update:inputValue": (value: string) => any;
518
518
  "input-value-change": (value: string) => any;
519
519
  remove: (index: string | number, ev: Event) => any;
520
- exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
520
+ exceedLimit: (value: OptionValue, ev?: MouseEvent | undefined) => any;
521
521
  "dropdown-scroll": (ev: Event) => any;
522
522
  "dropdown-reach-bottom": (ev: Event) => any;
523
523
  }, string, {
@@ -532,11 +532,11 @@ declare function __VLS_template(): {
532
532
  placeholder: string;
533
533
  loading: boolean;
534
534
  bordered: boolean;
535
- modelValue: SelectValue;
536
- defaultValue: SelectValue;
535
+ modelValue: import('../Select').SelectValue;
536
+ defaultValue: import('../Select').SelectValue;
537
537
  allowClear: boolean;
538
538
  showExtraOptions: boolean;
539
- options: import('../Select').SelectOptions;
539
+ options: import('../Select').SelectOption[];
540
540
  limit: number;
541
541
  inputValue: string;
542
542
  defaultInputValue: string;
@@ -585,11 +585,11 @@ declare function __VLS_template(): {
585
585
  placeholder: string;
586
586
  loading: boolean;
587
587
  bordered: boolean;
588
- modelValue: SelectValue;
589
- defaultValue: SelectValue;
588
+ modelValue: import('../Select').SelectValue;
589
+ defaultValue: import('../Select').SelectValue;
590
590
  allowClear: boolean;
591
591
  showExtraOptions: boolean;
592
- options: import('../Select').SelectOptions;
592
+ options: import('../Select').SelectOption[];
593
593
  limit: number;
594
594
  inputValue: string;
595
595
  defaultInputValue: string;
@@ -607,17 +607,17 @@ declare function __VLS_template(): {
607
607
  showFooterOnEmpty: boolean;
608
608
  tagNowrap: boolean;
609
609
  }> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
610
- onChange?: ((value: SelectValue) => any) | undefined;
610
+ onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
611
611
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
612
612
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
613
613
  onClear?: (() => any) | undefined;
614
- onSelect?: ((value: SelectValue) => any) | undefined;
614
+ onSelect?: ((value: OptionValue) => any) | undefined;
615
615
  onSearch?: ((value: string) => any) | undefined;
616
- "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
617
- "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
616
+ "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
617
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
618
618
  "onInput-value-change"?: ((value: string) => any) | undefined;
619
619
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
620
- onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
620
+ onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
621
621
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
622
622
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
623
623
  }>, "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<{
@@ -746,7 +746,7 @@ declare function __VLS_template(): {
746
746
  popupContainer: import('../_shared/type').PopupContainer;
747
747
  strict: boolean;
748
748
  type: "textarea" | "input";
749
- data: import('../Select').SelectOptions;
749
+ data: import('../Select').SelectOption[];
750
750
  modelValue: string;
751
751
  defaultValue: string;
752
752
  allowClear: boolean;
@@ -779,7 +779,7 @@ declare function __VLS_template(): {
779
779
  popupContainer: import('../_shared/type').PopupContainer;
780
780
  strict: boolean;
781
781
  type: "textarea" | "input";
782
- data: import('../Select').SelectOptions;
782
+ data: import('../Select').SelectOption[];
783
783
  modelValue: string;
784
784
  defaultValue: string;
785
785
  allowClear: boolean;
@@ -821,7 +821,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
821
821
  clear: (ev: MouseEvent) => any;
822
822
  blur: (ev: FocusEvent) => any;
823
823
  input: (value: string, ev: Event) => any;
824
- select: (value: SelectValue) => any;
824
+ select: (value: OptionValue) => any;
825
825
  search: (value: string) => any;
826
826
  "update:modelValue": (value: string) => any;
827
827
  }, string, import('vue').PublicProps, Readonly<MentionProps> & Readonly<{
@@ -830,13 +830,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
830
830
  onClear?: ((ev: MouseEvent) => any) | undefined;
831
831
  onBlur?: ((ev: FocusEvent) => any) | undefined;
832
832
  onInput?: ((value: string, ev: Event) => any) | undefined;
833
- onSelect?: ((value: SelectValue) => any) | undefined;
833
+ onSelect?: ((value: OptionValue) => any) | undefined;
834
834
  onSearch?: ((value: string) => any) | undefined;
835
835
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
836
836
  }>, {
837
837
  disabled: boolean;
838
838
  type: "input" | "textarea";
839
- data: import('../Select').SelectOptions;
839
+ data: import('../Select').SelectOption[];
840
840
  split: string;
841
841
  modelValue: string;
842
842
  defaultValue: string;
@@ -850,7 +850,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
850
850
  readonly modelValue?: string | undefined;
851
851
  readonly defaultValue?: string | undefined;
852
852
  readonly disabled?: boolean | undefined;
853
- readonly data?: import('../Select').SelectOptions | undefined;
853
+ readonly data?: import('../Select').SelectOption[] | undefined;
854
854
  readonly popupContainer?: import('../_shared/type').PopupContainer | undefined;
855
855
  readonly strict?: boolean | undefined;
856
856
  readonly filterOption?: ((inputValue: string, option: import('../Select').SelectOptionData) => boolean) | undefined;
@@ -883,8 +883,8 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
883
883
  $data: {};
884
884
  $props: {
885
885
  readonly multiple?: boolean | undefined;
886
- readonly modelValue?: SelectValue | undefined;
887
- readonly defaultValue?: SelectValue | undefined;
886
+ readonly modelValue?: import('../Select').SelectValue | undefined;
887
+ readonly defaultValue?: import('../Select').SelectValue | undefined;
888
888
  readonly inputValue?: string | undefined;
889
889
  readonly defaultInputValue?: string | undefined;
890
890
  readonly size?: import('../_shared/type').Size | undefined;
@@ -902,7 +902,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
902
902
  readonly defaultPopupVisible?: boolean | undefined;
903
903
  readonly unmountonClose?: boolean | undefined;
904
904
  readonly filterOption?: import('../Select').FilterOption | undefined;
905
- readonly options?: import('../Select').SelectOptions | undefined;
905
+ readonly options?: import('../Select').SelectOption[] | undefined;
906
906
  readonly virtualListProps?: import('../Select').VirtualListProps | undefined;
907
907
  readonly triggerProps?: import('..').TriggerProps | undefined;
908
908
  readonly formatLabel?: import('../Select').FormatLabel | undefined;
@@ -918,17 +918,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
918
918
  readonly tagNowrap?: boolean | undefined;
919
919
  readonly hotkeys?: boolean | undefined;
920
920
  readonly showEmpty?: boolean | undefined;
921
- readonly onChange?: ((value: SelectValue) => any) | undefined;
921
+ readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
922
922
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
923
923
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
924
924
  readonly onClear?: (() => any) | undefined;
925
- readonly onSelect?: ((value: SelectValue) => any) | undefined;
925
+ readonly onSelect?: ((value: OptionValue) => any) | undefined;
926
926
  readonly onSearch?: ((value: string) => any) | undefined;
927
- readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
928
- readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
927
+ readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
928
+ readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
929
929
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
930
930
  readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
931
- readonly onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
931
+ readonly onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
932
932
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
933
933
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
934
934
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -1324,20 +1324,20 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1324
1324
  $root: import('vue').ComponentPublicInstance | null;
1325
1325
  $parent: import('vue').ComponentPublicInstance | null;
1326
1326
  $host: Element | null;
1327
- $emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
1327
+ $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').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: OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
1328
1328
  $el: any;
1329
1329
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
1330
- onChange?: ((value: SelectValue) => any) | undefined;
1330
+ onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
1331
1331
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1332
1332
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1333
1333
  onClear?: (() => any) | undefined;
1334
- onSelect?: ((value: SelectValue) => any) | undefined;
1334
+ onSelect?: ((value: OptionValue) => any) | undefined;
1335
1335
  onSearch?: ((value: string) => any) | undefined;
1336
- "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
1337
- "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
1336
+ "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1337
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1338
1338
  "onInput-value-change"?: ((value: string) => any) | undefined;
1339
1339
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1340
- onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
1340
+ onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
1341
1341
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1342
1342
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
1343
1343
  }>, {
@@ -1345,17 +1345,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1345
1345
  blur(): void;
1346
1346
  getPopupRef(): import('..').TriggerInstance;
1347
1347
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1348
- change: (value: SelectValue) => any;
1348
+ change: (value: import('../Select').SelectValue) => any;
1349
1349
  "update:popupVisible": (value: boolean) => any;
1350
1350
  "popup-visible-change": (value: boolean) => any;
1351
1351
  clear: () => any;
1352
- select: (value: SelectValue) => any;
1352
+ select: (value: OptionValue) => any;
1353
1353
  search: (value: string) => any;
1354
- "update:modelValue": (value: SelectValue) => any;
1355
- "update:inputValue": (value: SelectValue) => any;
1354
+ "update:modelValue": (value: import('../Select').SelectValue) => any;
1355
+ "update:inputValue": (value: string) => any;
1356
1356
  "input-value-change": (value: string) => any;
1357
1357
  remove: (index: string | number, ev: Event) => any;
1358
- exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
1358
+ exceedLimit: (value: OptionValue, ev?: MouseEvent | undefined) => any;
1359
1359
  "dropdown-scroll": (ev: Event) => any;
1360
1360
  "dropdown-reach-bottom": (ev: Event) => any;
1361
1361
  }, string, {
@@ -1370,11 +1370,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1370
1370
  placeholder: string;
1371
1371
  loading: boolean;
1372
1372
  bordered: boolean;
1373
- modelValue: SelectValue;
1374
- defaultValue: SelectValue;
1373
+ modelValue: import('../Select').SelectValue;
1374
+ defaultValue: import('../Select').SelectValue;
1375
1375
  allowClear: boolean;
1376
1376
  showExtraOptions: boolean;
1377
- options: import('../Select').SelectOptions;
1377
+ options: import('../Select').SelectOption[];
1378
1378
  limit: number;
1379
1379
  inputValue: string;
1380
1380
  defaultInputValue: string;
@@ -1423,11 +1423,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1423
1423
  placeholder: string;
1424
1424
  loading: boolean;
1425
1425
  bordered: boolean;
1426
- modelValue: SelectValue;
1427
- defaultValue: SelectValue;
1426
+ modelValue: import('../Select').SelectValue;
1427
+ defaultValue: import('../Select').SelectValue;
1428
1428
  allowClear: boolean;
1429
1429
  showExtraOptions: boolean;
1430
- options: import('../Select').SelectOptions;
1430
+ options: import('../Select').SelectOption[];
1431
1431
  limit: number;
1432
1432
  inputValue: string;
1433
1433
  defaultInputValue: string;
@@ -1445,17 +1445,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1445
1445
  showFooterOnEmpty: boolean;
1446
1446
  tagNowrap: boolean;
1447
1447
  }> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
1448
- onChange?: ((value: SelectValue) => any) | undefined;
1448
+ onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
1449
1449
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1450
1450
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1451
1451
  onClear?: (() => any) | undefined;
1452
- onSelect?: ((value: SelectValue) => any) | undefined;
1452
+ onSelect?: ((value: OptionValue) => any) | undefined;
1453
1453
  onSearch?: ((value: string) => any) | undefined;
1454
- "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
1455
- "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
1454
+ "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1455
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1456
1456
  "onInput-value-change"?: ((value: string) => any) | undefined;
1457
1457
  onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1458
- onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
1458
+ onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
1459
1459
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1460
1460
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
1461
1461
  }>, "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<{
@@ -1584,7 +1584,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1584
1584
  popupContainer: import('../_shared/type').PopupContainer;
1585
1585
  strict: boolean;
1586
1586
  type: "textarea" | "input";
1587
- data: import('../Select').SelectOptions;
1587
+ data: import('../Select').SelectOption[];
1588
1588
  modelValue: string;
1589
1589
  defaultValue: string;
1590
1590
  allowClear: boolean;
@@ -1617,7 +1617,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1617
1617
  popupContainer: import('../_shared/type').PopupContainer;
1618
1618
  strict: boolean;
1619
1619
  type: "textarea" | "input";
1620
- data: import('../Select').SelectOptions;
1620
+ data: import('../Select').SelectOption[];
1621
1621
  modelValue: string;
1622
1622
  defaultValue: string;
1623
1623
  allowClear: boolean;
@@ -1,10 +1,10 @@
1
- import { SelectOptions, SelectValue } from '../Select';
1
+ import { SelectOption, OptionValue } from '../Select';
2
2
  import { ObjectData } from '../_shared/type';
3
3
  import { VNode } from 'vue';
4
4
  export interface MentionProps {
5
5
  modelValue?: string;
6
6
  defaultValue?: string;
7
- data?: SelectOptions;
7
+ data?: SelectOption[];
8
8
  prefix?: string | string[];
9
9
  split?: string;
10
10
  type?: 'input' | 'textarea';
@@ -15,7 +15,7 @@ export interface MentionEmits {
15
15
  (e: 'update:modelValue', value: string): void;
16
16
  (e: 'change', value: string): void;
17
17
  (e: 'search', value: string): void;
18
- (e: 'select', value: SelectValue): void;
18
+ (e: 'select', value: OptionValue): void;
19
19
  (e: 'focus', ev: FocusEvent): void;
20
20
  (e: 'blur', ev: FocusEvent): void;
21
21
  (e: 'clear', ev: MouseEvent): void;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const t=require("../_shared/icons/IconMenuFold.vue.js"),l=require("../_shared/icons/IconMenuUnfold.vue.js"),n=require("./hooks/useContext.js"),u=require("./MenuEllipsis.vue.js");;/* empty css */const a=e.defineComponent({name:"Menu",inheritAttrs:!1,__name:"Menu",props:{theme:{default:void 0},mode:{default:"vertical"},levelIndent:{default:20},autoOpen:{type:Boolean,default:!1},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1},collapsedWidth:{default:48},accordion:{type:Boolean,default:!1},showCollapseButton:{type:Boolean,default:!1},selectedKeys:{default:void 0},defaultSelectedKeys:{default:""},openKeys:{default:void 0},defaultOpenKeys:{default:()=>[]},breakpoint:{default:void 0},triggerProps:{default:()=>({})},tooltipProps:{default:()=>({})},autoOpenSelected:{type:Boolean,default:!1},autoScrollIntoView:{type:Boolean,default:!1},scrollConfig:{},popupMaxHeight:{type:[Boolean,Number],default:167}},emits:["update:selectedKeys","update:openKeys","update:collapsed","collapse","menu-item-click","sub-menu-click"],setup(a,{emit:r}){const s=a,d=r,c=e.ref(),{computedCollapsed:i,collapsedWidth:p,breakpoint:m,menuTree:f,max:y,theme:v}=n.default().provide(s,d,c),h=()=>{const e=!i.value;i.value=e,d("collapse",e,"clickTrigger")};return o.mediaQueryHandler((e,o,t)=>{if(!m.value)return;const l=t<=o[m.value];i.value=l,d("collapse",l,"responsive")}),(o,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-menu",`yc-menu-mode-${o.mode}`,`yc-menu-${e.unref(v)}`,o.$attrs.class,{"yc-menu-collapsed":e.unref(i)&&"horizontal"!=o.mode}]),style:e.normalizeStyle({...o.$attrs.style||{},width:e.unref(i)?e.unref(p):null==(a=o.$attrs.style)?void 0:a.width})},[e.createElementVNode("div",{class:"yc-menu-inner",ref_key:"menuRef",ref:c},[e.renderSlot(o.$slots,"default"),"horizontal"==o.mode&&e.unref(y)<e.unref(f).length?(e.openBlock(),e.createBlock(u,{key:0})):e.createCommentVNode("",!0)],512),o.showCollapseButton&&"horizontal"!=o.mode?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-menu-collapse-button",onClick:h},[e.unref(i)?(e.openBlock(),e.createBlock(e.unref(l),{key:1})):(e.openBlock(),e.createBlock(e.unref(t),{key:0}))])):e.createCommentVNode("",!0)],6)}}});module.exports=a;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const t=require("../_shared/icons/IconMenuFold.vue.js"),l=require("../_shared/icons/IconMenuUnfold.vue.js"),n=require("./hooks/useContext.js"),u=require("./MenuEllipsis.vue.js");;/* empty css */const a=e.defineComponent({name:"Menu",inheritAttrs:!1,__name:"Menu",props:{theme:{default:void 0},mode:{default:"vertical"},levelIndent:{default:20},autoOpen:{type:Boolean,default:!1},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1},collapsedWidth:{default:48},accordion:{type:Boolean,default:!1},showCollapseButton:{type:Boolean,default:!1},selectedKeys:{default:void 0},defaultSelectedKeys:{default:""},openKeys:{default:void 0},defaultOpenKeys:{default:()=>[]},breakpoint:{default:void 0},triggerProps:{default:()=>({})},tooltipProps:{default:()=>({})},autoOpenSelected:{type:Boolean,default:!1},autoScrollIntoView:{type:Boolean,default:!1},scrollConfig:{},popupMaxHeight:{type:[Boolean,Number],default:167}},emits:["update:selectedKeys","update:openKeys","update:collapsed","collapse","menu-item-click","sub-menu-click"],setup(a,{emit:r}){const s=a,d=r,c=e.ref(),{computedCollapsed:i,collapsedWidth:p,breakpoint:m,menuTree:f,max:y,theme:v}=n.default().provide(s,d,c),h=()=>{const e=!i.value;i.value=e,d("collapse",e,"clickTrigger")};return o.mediaQueryHandler((e,o,t)=>{if(!m.value)return;const l=t<=o[m.value];i.value=l,d("collapse",l,"responsive")}),(o,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-menu",`yc-menu-mode-${o.mode}`,`yc-menu-${e.unref(v)}`,o.$attrs.class,{"yc-menu-collapsed":e.unref(i)&&"horizontal"!=o.mode}]),style:e.normalizeStyle({...o.$attrs.style||{},width:e.unref(i)?e.unref(p):null==(a=o.$attrs.style)?void 0:a.width})},[e.createElementVNode("div",{class:"yc-menu-inner",ref_key:"menuRef",ref:c},[e.renderSlot(o.$slots,"default"),"horizontal"==o.mode&&e.unref(y)<e.unref(f).length?(e.openBlock(),e.createBlock(u,{key:0})):e.createCommentVNode("",!0)],512),o.showCollapseButton&&"horizontal"!=o.mode?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-menu-collapse-button",onClick:h},[e.unref(i)?(e.openBlock(),e.createBlock(e.unref(l),{key:1})):(e.openBlock(),e.createBlock(e.unref(t),{key:0}))])):e.createCommentVNode("",!0)],6)}}});module.exports=a;