yc-design-vue 1.0.9 → 1.1.1

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 (277) hide show
  1. package/es/Affix/index.vue.js +1 -2
  2. package/es/Anchor/Anchor.vue2.js +1 -2
  3. package/es/AutoComplete/index.d.ts +16 -19
  4. package/es/AutoComplete/index.vue.d.ts +27 -33
  5. package/es/Avatar/Avatar.vue2.js +1 -2
  6. package/es/Avatar/AvatarGroup.vue2.js +1 -2
  7. package/es/Badge/index.vue2.js +1 -2
  8. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  9. package/es/Button/hooks/useContext.d.ts +1 -1
  10. package/es/Carousel/CarouselIndicator.vue2.js +1 -2
  11. package/es/Carousel/hooks/useContext.js +1 -2
  12. package/es/Cascader/Cascader.vue.d.ts +7 -7
  13. package/es/Cascader/Cascader.vue2.js +1 -2
  14. package/es/Cascader/CascaderOption.vue2.js +1 -2
  15. package/es/Cascader/index.d.ts +6 -6
  16. package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  17. package/es/Checkbox/index.d.ts +3 -3
  18. package/es/ColorPicker/ColorControl.vue2.js +1 -2
  19. package/es/ColorPicker/ColorPalette.vue2.js +1 -2
  20. package/es/ColorPicker/ColorPicker.vue.d.ts +2 -2
  21. package/es/ColorPicker/index.d.ts +6 -6
  22. package/es/Descriptions/Descriptions.vue.d.ts +1 -1
  23. package/es/Descriptions/index.d.ts +3 -3
  24. package/es/Divider/index.d.ts +3 -3
  25. package/es/Divider/index.vue.d.ts +1 -1
  26. package/es/Divider/index.vue2.js +1 -2
  27. package/es/Drawer/Drawer.vue2.js +1 -2
  28. package/es/Dropdown/Dropdown.vue.js +1 -2
  29. package/es/Dropdown/Dsubmenu.vue.js +1 -1
  30. package/es/Dropdown/Dsubmenu.vue2.js +2 -3
  31. package/es/Grid/Grid.vue2.js +1 -2
  32. package/es/Grid/GridCol.vue.js +1 -2
  33. package/es/Grid/GridItem.vue.js +1 -2
  34. package/es/Grid/GridRow.vue2.js +1 -2
  35. package/es/Icon/index.vue2.js +1 -2
  36. package/es/Image/Image.vue2.js +1 -2
  37. package/es/Image/ImagePreview.vue.d.ts +1 -1
  38. package/es/Image/index.d.ts +3 -3
  39. package/es/Input/Input.vue.d.ts +1 -1
  40. package/es/Input/index.d.ts +3 -3
  41. package/es/InputNumber/InputNumber.vue.d.ts +7 -7
  42. package/es/InputNumber/InputNumber.vue2.js +1 -2
  43. package/es/InputNumber/index.d.ts +6 -6
  44. package/es/InputTag/index.d.ts +5 -5
  45. package/es/InputTag/index.vue.d.ts +2 -2
  46. package/es/InputTag/index.vue2.js +1 -2
  47. package/es/Layout/LayoutSider.vue2.js +1 -2
  48. package/es/List/List.vue.d.ts +1 -1
  49. package/es/List/List.vue.js +1 -1
  50. package/es/List/List.vue2.js +2 -3
  51. package/es/List/hooks/useScrollReach.js +1 -2
  52. package/es/List/index.d.ts +3 -3
  53. package/es/Mention/index.d.ts +16 -19
  54. package/es/Mention/index.vue.d.ts +32 -38
  55. package/es/Menu/MenuItem.vue2.js +1 -2
  56. package/es/Menu/MenuItemGroup.vue2.js +1 -2
  57. package/es/Menu/hooks/useContext.js +1 -2
  58. package/es/Message/Message.vue.d.ts +2 -2
  59. package/es/Message/index.d.ts +6 -6
  60. package/es/Modal/Modal.vue2.js +1 -2
  61. package/es/Modal/hooks/useModalDraggable.js +1 -2
  62. package/es/Notification/Notification.vue.d.ts +2 -2
  63. package/es/Notification/index.d.ts +6 -6
  64. package/es/OverflowList/index.vue.js +1 -1
  65. package/es/OverflowList/index.vue2.js +3 -4
  66. package/es/Pagination/Pagination.vue2.js +1 -2
  67. package/es/Progress/ProgressCircle.vue2.js +1 -2
  68. package/es/Progress/ProgressLine.vue2.js +1 -2
  69. package/es/Progress/ProgressSteps.vue.js +1 -2
  70. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  71. package/es/Radio/index.d.ts +3 -3
  72. package/es/Rate/index.vue2.js +1 -2
  73. package/es/ResizeBox/index.vue2.js +1 -2
  74. package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -2
  75. package/es/Select/Select.vue.d.ts +13 -14
  76. package/es/Select/Select.vue.js +1 -1
  77. package/es/Select/Select.vue2.js +1 -3
  78. package/es/Select/SelectView.vue.js +1 -1
  79. package/es/Select/SelectView.vue2.js +1 -1
  80. package/es/Select/index.d.ts +13 -16
  81. package/es/Select/type.d.ts +0 -1
  82. package/es/Skeleton/SkeletonLine.vue.d.ts +1 -1
  83. package/es/Skeleton/SkeletonLine.vue2.js +1 -2
  84. package/es/Skeleton/index.d.ts +1 -1
  85. package/es/Slider/Slider.vue.d.ts +3 -3
  86. package/es/Slider/hooks/useSliderDraggable.js +1 -2
  87. package/es/Slider/index.d.ts +9 -9
  88. package/es/Space/index.d.ts +3 -3
  89. package/es/Space/index.vue.d.ts +1 -1
  90. package/es/Space/index.vue2.js +1 -2
  91. package/es/Spin/index.vue2.js +1 -2
  92. package/es/Split/index.d.ts +3 -3
  93. package/es/Split/index.vue.d.ts +1 -1
  94. package/es/Split/index.vue2.js +1 -2
  95. package/es/Statistic/Countdown.vue.d.ts +1 -1
  96. package/es/Statistic/Countdown.vue.js +1 -2
  97. package/es/Statistic/Statistic.vue.d.ts +1 -1
  98. package/es/Statistic/index.d.ts +6 -6
  99. package/es/Tabs/Tabs.vue2.js +1 -2
  100. package/es/Tabs/TabsNavInk.vue2.js +1 -2
  101. package/es/Tabs/hooks/useTabsScroll.js +1 -2
  102. package/es/Textarea/hooks/useTextareaHeight.js +1 -2
  103. package/es/TimePicker/TimePicker.vue.d.ts +5 -5
  104. package/es/TimePicker/TimePickerPanel.vue2.js +1 -2
  105. package/es/TimePicker/index.d.ts +15 -15
  106. package/es/Tooltip/index.d.ts +3 -3
  107. package/es/Tooltip/index.vue.d.ts +1 -1
  108. package/es/Tooltip/index.vue.js +1 -1
  109. package/es/Transfer/TransferPanel.vue2.js +2 -2
  110. package/es/Trigger/hooks/useContext.js +2 -3
  111. package/es/Trigger/hooks/useTriggerPosition.js +3 -3
  112. package/es/Trigger/hooks/useTriggerVisible.js +2 -1
  113. package/es/Typography/TypographyBase.vue.d.ts +6 -6
  114. package/es/Typography/TypographyBase.vue.js +1 -1
  115. package/es/Typography/TypographyBase.vue2.js +2 -6
  116. package/es/VerificationCode/index.vue2.js +1 -2
  117. package/es/_shared/components/ExpandTransition.vue3.js +1 -2
  118. package/es/_shared/components/Icon.vue3.js +1 -2
  119. package/es/_shared/components/IconButton.vue3.js +1 -2
  120. package/es/_shared/constants/index.d.ts +8 -0
  121. package/es/_shared/constants/index.js +9 -0
  122. package/es/_shared/icons/IconDelete.vue.js +1 -16
  123. package/es/_shared/icons/IconDelete.vue2.js +16 -1
  124. package/es/_shared/icons/IconSearch.vue.js +1 -16
  125. package/es/_shared/icons/IconSearch.vue2.js +16 -1
  126. package/es/_shared/icons/IconSeparator.vue.js +1 -16
  127. package/es/_shared/icons/IconSeparator.vue2.js +16 -1
  128. package/es/_shared/utils/dom.d.ts +7 -18
  129. package/es/_shared/utils/dom.js +82 -14
  130. package/es/_shared/utils/index.d.ts +0 -1
  131. package/es/_shared/utils/time.d.ts +1 -37
  132. package/es/_shared/utils/time.js +2 -2
  133. package/es/_shared/utils/vue-utils.d.ts +11 -5
  134. package/es/_shared/utils/vue-utils.js +12 -7
  135. package/es/index.d.ts +13 -13
  136. package/es/style.css +1 -1
  137. package/lib/Affix/index.vue.js +1 -1
  138. package/lib/Anchor/Anchor.vue2.js +1 -1
  139. package/lib/AutoComplete/index.d.ts +16 -19
  140. package/lib/AutoComplete/index.vue.d.ts +27 -33
  141. package/lib/Avatar/Avatar.vue2.js +1 -1
  142. package/lib/Avatar/AvatarGroup.vue2.js +1 -1
  143. package/lib/Badge/index.vue2.js +1 -1
  144. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  145. package/lib/Button/hooks/useContext.d.ts +1 -1
  146. package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
  147. package/lib/Carousel/hooks/useContext.js +1 -1
  148. package/lib/Cascader/Cascader.vue.d.ts +7 -7
  149. package/lib/Cascader/Cascader.vue2.js +1 -1
  150. package/lib/Cascader/CascaderOption.vue2.js +1 -1
  151. package/lib/Cascader/index.d.ts +6 -6
  152. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  153. package/lib/Checkbox/index.d.ts +3 -3
  154. package/lib/ColorPicker/ColorControl.vue2.js +1 -1
  155. package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
  156. package/lib/ColorPicker/ColorPicker.vue.d.ts +2 -2
  157. package/lib/ColorPicker/index.d.ts +6 -6
  158. package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
  159. package/lib/Descriptions/index.d.ts +3 -3
  160. package/lib/Divider/index.d.ts +3 -3
  161. package/lib/Divider/index.vue.d.ts +1 -1
  162. package/lib/Divider/index.vue2.js +1 -1
  163. package/lib/Drawer/Drawer.vue2.js +1 -1
  164. package/lib/Dropdown/Dropdown.vue.js +1 -1
  165. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  166. package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
  167. package/lib/Grid/Grid.vue2.js +1 -1
  168. package/lib/Grid/GridCol.vue.js +1 -1
  169. package/lib/Grid/GridItem.vue.js +1 -1
  170. package/lib/Grid/GridRow.vue2.js +1 -1
  171. package/lib/Icon/index.vue2.js +1 -1
  172. package/lib/Image/Image.vue2.js +1 -1
  173. package/lib/Image/ImagePreview.vue.d.ts +1 -1
  174. package/lib/Image/index.d.ts +3 -3
  175. package/lib/Input/Input.vue.d.ts +1 -1
  176. package/lib/Input/index.d.ts +3 -3
  177. package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
  178. package/lib/InputNumber/InputNumber.vue2.js +1 -1
  179. package/lib/InputNumber/index.d.ts +6 -6
  180. package/lib/InputTag/index.d.ts +5 -5
  181. package/lib/InputTag/index.vue.d.ts +2 -2
  182. package/lib/InputTag/index.vue2.js +1 -1
  183. package/lib/Layout/LayoutSider.vue2.js +1 -1
  184. package/lib/List/List.vue.d.ts +1 -1
  185. package/lib/List/List.vue.js +1 -1
  186. package/lib/List/List.vue2.js +1 -1
  187. package/lib/List/hooks/useScrollReach.js +1 -1
  188. package/lib/List/index.d.ts +3 -3
  189. package/lib/Mention/index.d.ts +16 -19
  190. package/lib/Mention/index.vue.d.ts +32 -38
  191. package/lib/Menu/MenuItem.vue2.js +1 -1
  192. package/lib/Menu/MenuItemGroup.vue2.js +1 -1
  193. package/lib/Menu/hooks/useContext.js +1 -1
  194. package/lib/Message/Message.vue.d.ts +2 -2
  195. package/lib/Message/index.d.ts +6 -6
  196. package/lib/Modal/Modal.vue2.js +1 -1
  197. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  198. package/lib/Notification/Notification.vue.d.ts +2 -2
  199. package/lib/Notification/index.d.ts +6 -6
  200. package/lib/OverflowList/index.vue.js +1 -1
  201. package/lib/OverflowList/index.vue2.js +1 -1
  202. package/lib/Pagination/Pagination.vue2.js +1 -1
  203. package/lib/Progress/ProgressCircle.vue2.js +1 -1
  204. package/lib/Progress/ProgressLine.vue2.js +1 -1
  205. package/lib/Progress/ProgressSteps.vue.js +1 -1
  206. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  207. package/lib/Radio/index.d.ts +3 -3
  208. package/lib/Rate/index.vue2.js +1 -1
  209. package/lib/ResizeBox/index.vue2.js +1 -1
  210. package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
  211. package/lib/Select/Select.vue.d.ts +13 -14
  212. package/lib/Select/Select.vue.js +1 -1
  213. package/lib/Select/Select.vue2.js +1 -1
  214. package/lib/Select/SelectView.vue.js +1 -1
  215. package/lib/Select/SelectView.vue2.js +1 -1
  216. package/lib/Select/index.d.ts +13 -16
  217. package/lib/Select/type.d.ts +0 -1
  218. package/lib/Skeleton/SkeletonLine.vue.d.ts +1 -1
  219. package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
  220. package/lib/Skeleton/index.d.ts +1 -1
  221. package/lib/Slider/Slider.vue.d.ts +3 -3
  222. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  223. package/lib/Slider/index.d.ts +9 -9
  224. package/lib/Space/index.d.ts +3 -3
  225. package/lib/Space/index.vue.d.ts +1 -1
  226. package/lib/Space/index.vue2.js +1 -1
  227. package/lib/Spin/index.vue2.js +1 -1
  228. package/lib/Split/index.d.ts +3 -3
  229. package/lib/Split/index.vue.d.ts +1 -1
  230. package/lib/Split/index.vue2.js +1 -1
  231. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  232. package/lib/Statistic/Countdown.vue.js +1 -1
  233. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  234. package/lib/Statistic/index.d.ts +6 -6
  235. package/lib/Tabs/Tabs.vue2.js +1 -1
  236. package/lib/Tabs/TabsNavInk.vue2.js +1 -1
  237. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  238. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  239. package/lib/TimePicker/TimePicker.vue.d.ts +5 -5
  240. package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
  241. package/lib/TimePicker/index.d.ts +15 -15
  242. package/lib/Tooltip/index.d.ts +3 -3
  243. package/lib/Tooltip/index.vue.d.ts +1 -1
  244. package/lib/Tooltip/index.vue.js +1 -1
  245. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  246. package/lib/Trigger/hooks/useContext.js +1 -1
  247. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  248. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  249. package/lib/Typography/TypographyBase.vue.d.ts +6 -6
  250. package/lib/Typography/TypographyBase.vue.js +1 -1
  251. package/lib/Typography/TypographyBase.vue2.js +1 -1
  252. package/lib/VerificationCode/index.vue2.js +1 -1
  253. package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
  254. package/lib/_shared/components/Icon.vue3.js +1 -1
  255. package/lib/_shared/components/IconButton.vue3.js +1 -1
  256. package/lib/_shared/constants/index.d.ts +8 -0
  257. package/lib/_shared/constants/index.js +1 -1
  258. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  259. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  260. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  261. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  262. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  263. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  264. package/lib/_shared/utils/dom.d.ts +7 -18
  265. package/lib/_shared/utils/dom.js +1 -1
  266. package/lib/_shared/utils/index.d.ts +0 -1
  267. package/lib/_shared/utils/time.d.ts +1 -37
  268. package/lib/_shared/utils/time.js +1 -1
  269. package/lib/_shared/utils/vue-utils.d.ts +11 -5
  270. package/lib/_shared/utils/vue-utils.js +1 -1
  271. package/lib/index.d.ts +13 -13
  272. package/lib/style.css +1 -1
  273. package/package.json +1 -1
  274. package/es/_shared/utils/fn.d.ts +0 -8
  275. package/es/_shared/utils/fn.js +0 -79
  276. package/lib/_shared/utils/fn.d.ts +0 -8
  277. package/lib/_shared/utils/fn.js +0 -1
@@ -60,7 +60,6 @@ declare function __VLS_template(): {
60
60
  readonly maxTagCount?: number | undefined;
61
61
  readonly popupContainer?: import('../_shared/type').PopupContainer | undefined;
62
62
  readonly bordered?: boolean | undefined;
63
- readonly defaultActivefirstOption?: boolean | undefined;
64
63
  readonly popupVisible?: boolean | undefined;
65
64
  readonly defaultPopupVisible?: boolean | undefined;
66
65
  readonly unmountonClose?: boolean | undefined;
@@ -87,10 +86,10 @@ declare function __VLS_template(): {
87
86
  readonly onClear?: (() => any) | undefined;
88
87
  readonly onSelect?: ((value: SelectValue) => any) | undefined;
89
88
  readonly onSearch?: ((value: string) => any) | undefined;
90
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
91
89
  readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
92
90
  readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
93
91
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
92
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
94
93
  readonly onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
95
94
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
96
95
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -364,10 +363,10 @@ declare function __VLS_template(): {
364
363
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
365
364
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
366
365
  readonly onInput?: ((value: string) => any) | undefined;
367
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
368
366
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
369
367
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
370
368
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
369
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
371
370
  readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
372
371
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
373
372
  $attrs: {
@@ -385,17 +384,17 @@ declare function __VLS_template(): {
385
384
  $root: import('vue').ComponentPublicInstance | null;
386
385
  $parent: import('vue').ComponentPublicInstance | null;
387
386
  $host: Element | null;
388
- $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
387
+ $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
389
388
  $el: HTMLDivElement;
390
389
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
391
390
  onFocus?: ((ev: FocusEvent) => any) | undefined;
392
391
  onClear?: ((ev: MouseEvent) => any) | undefined;
393
392
  onBlur?: ((ev: FocusEvent) => any) | undefined;
394
393
  onInput?: ((value: string) => any) | undefined;
395
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
396
394
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
397
395
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
398
396
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
397
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
399
398
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
400
399
  }>, {
401
400
  focus(): void;
@@ -405,10 +404,10 @@ declare function __VLS_template(): {
405
404
  clear: (ev: MouseEvent) => any;
406
405
  blur: (ev: FocusEvent) => any;
407
406
  input: (value: string) => any;
408
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
409
407
  "update:modelValue": (value: import('..').InputTagValue) => any;
410
408
  "update:inputValue": (value: string) => any;
411
409
  "input-value-change": (value: string, ev: Event) => any;
410
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
412
411
  "press-enter": (ev: KeyboardEvent) => any;
413
412
  }, string, {
414
413
  size: import('../_shared/type').Size;
@@ -469,10 +468,10 @@ declare function __VLS_template(): {
469
468
  onClear?: ((ev: MouseEvent) => any) | undefined;
470
469
  onBlur?: ((ev: FocusEvent) => any) | undefined;
471
470
  onInput?: ((value: string) => any) | undefined;
472
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
473
471
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
474
472
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
475
473
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
474
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
476
475
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
477
476
  }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
478
477
  focus(): void;
@@ -487,7 +486,7 @@ declare function __VLS_template(): {
487
486
  $root: import('vue').ComponentPublicInstance | null;
488
487
  $parent: import('vue').ComponentPublicInstance | null;
489
488
  $host: Element | null;
490
- $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: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => 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: 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);
491
490
  $el: any;
492
491
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
493
492
  onChange?: ((value: SelectValue) => any) | undefined;
@@ -496,10 +495,10 @@ declare function __VLS_template(): {
496
495
  onClear?: (() => any) | undefined;
497
496
  onSelect?: ((value: SelectValue) => any) | undefined;
498
497
  onSearch?: ((value: string) => any) | undefined;
499
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
500
498
  "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
501
499
  "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
502
500
  "onInput-value-change"?: ((value: string) => any) | undefined;
501
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
503
502
  onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
504
503
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
505
504
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -514,10 +513,10 @@ declare function __VLS_template(): {
514
513
  clear: () => any;
515
514
  select: (value: SelectValue) => any;
516
515
  search: (value: string) => any;
517
- remove: (index: string | number, ev: Event) => any;
518
516
  "update:modelValue": (value: SelectValue) => any;
519
517
  "update:inputValue": (value: SelectValue) => any;
520
518
  "input-value-change": (value: string) => any;
519
+ remove: (index: string | number, ev: Event) => any;
521
520
  exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
522
521
  "dropdown-scroll": (ev: Event) => any;
523
522
  "dropdown-reach-bottom": (ev: Event) => any;
@@ -532,7 +531,6 @@ declare function __VLS_template(): {
532
531
  scrollbar: boolean;
533
532
  multiple: boolean;
534
533
  placeholder: string;
535
- triggerProps: import('..').TriggerProps;
536
534
  bordered: boolean;
537
535
  modelValue: SelectValue;
538
536
  defaultValue: SelectValue;
@@ -548,9 +546,9 @@ declare function __VLS_template(): {
548
546
  showEmpty: boolean;
549
547
  allowCreate: boolean;
550
548
  maxTagCount: number;
551
- defaultActivefirstOption: boolean;
552
549
  filterOption: import('../Select').FilterOption;
553
550
  virtualListProps: import('../Select').VirtualListProps;
551
+ triggerProps: import('..').TriggerProps;
554
552
  searchDelay: number;
555
553
  showHeaderOnEmpty: boolean;
556
554
  showFooterOnEmpty: boolean;
@@ -586,7 +584,6 @@ declare function __VLS_template(): {
586
584
  scrollbar: boolean;
587
585
  multiple: boolean;
588
586
  placeholder: string;
589
- triggerProps: import('..').TriggerProps;
590
587
  bordered: boolean;
591
588
  modelValue: SelectValue;
592
589
  defaultValue: SelectValue;
@@ -602,9 +599,9 @@ declare function __VLS_template(): {
602
599
  showEmpty: boolean;
603
600
  allowCreate: boolean;
604
601
  maxTagCount: number;
605
- defaultActivefirstOption: boolean;
606
602
  filterOption: import('../Select').FilterOption;
607
603
  virtualListProps: import('../Select').VirtualListProps;
604
+ triggerProps: import('..').TriggerProps;
608
605
  searchDelay: number;
609
606
  showHeaderOnEmpty: boolean;
610
607
  showFooterOnEmpty: boolean;
@@ -616,14 +613,14 @@ declare function __VLS_template(): {
616
613
  onClear?: (() => any) | undefined;
617
614
  onSelect?: ((value: SelectValue) => any) | undefined;
618
615
  onSearch?: ((value: string) => any) | undefined;
619
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
620
616
  "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
621
617
  "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
622
618
  "onInput-value-change"?: ((value: string) => any) | undefined;
619
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
623
620
  onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
624
621
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
625
622
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
626
- }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "triggerProps" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "defaultActivefirstOption" | "filterOption" | "virtualListProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
623
+ }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "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<{
627
624
  focus(): void;
628
625
  blur(): void;
629
626
  getPopupRef(): import('..').TriggerInstance;
@@ -750,11 +747,11 @@ declare function __VLS_template(): {
750
747
  strict: boolean;
751
748
  type: "textarea" | "input";
752
749
  data: import('../Select').SelectOptions;
753
- triggerProps: import('..').TriggerProps;
754
750
  modelValue: string;
755
751
  defaultValue: string;
756
752
  allowClear: boolean;
757
753
  filterOption: (inputValue: string, option: import('../Select').SelectOptionData) => boolean;
754
+ triggerProps: import('..').TriggerProps;
758
755
  isSelectSetValue: boolean;
759
756
  isSearch: boolean;
760
757
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -783,11 +780,11 @@ declare function __VLS_template(): {
783
780
  strict: boolean;
784
781
  type: "textarea" | "input";
785
782
  data: import('../Select').SelectOptions;
786
- triggerProps: import('..').TriggerProps;
787
783
  modelValue: string;
788
784
  defaultValue: string;
789
785
  allowClear: boolean;
790
786
  filterOption: (inputValue: string, option: import('../Select').SelectOptionData) => boolean;
787
+ triggerProps: import('..').TriggerProps;
791
788
  isSelectSetValue: boolean;
792
789
  isSearch: boolean;
793
790
  }> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
@@ -802,7 +799,7 @@ declare function __VLS_template(): {
802
799
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
803
800
  "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
804
801
  "onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
805
- }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "triggerProps" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
802
+ }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
806
803
  focus(): void;
807
804
  blur(): void;
808
805
  getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -901,7 +898,6 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
901
898
  readonly maxTagCount?: number | undefined;
902
899
  readonly popupContainer?: import('../_shared/type').PopupContainer | undefined;
903
900
  readonly bordered?: boolean | undefined;
904
- readonly defaultActivefirstOption?: boolean | undefined;
905
901
  readonly popupVisible?: boolean | undefined;
906
902
  readonly defaultPopupVisible?: boolean | undefined;
907
903
  readonly unmountonClose?: boolean | undefined;
@@ -928,10 +924,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
928
924
  readonly onClear?: (() => any) | undefined;
929
925
  readonly onSelect?: ((value: SelectValue) => any) | undefined;
930
926
  readonly onSearch?: ((value: string) => any) | undefined;
931
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
932
927
  readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
933
928
  readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
934
929
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
930
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
935
931
  readonly onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
936
932
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
937
933
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -1205,10 +1201,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1205
1201
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
1206
1202
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
1207
1203
  readonly onInput?: ((value: string) => any) | undefined;
1208
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1209
1204
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1210
1205
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1211
1206
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
1207
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1212
1208
  readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
1213
1209
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
1214
1210
  $attrs: {
@@ -1226,17 +1222,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1226
1222
  $root: import('vue').ComponentPublicInstance | null;
1227
1223
  $parent: import('vue').ComponentPublicInstance | null;
1228
1224
  $host: Element | null;
1229
- $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
1225
+ $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
1230
1226
  $el: HTMLDivElement;
1231
1227
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
1232
1228
  onFocus?: ((ev: FocusEvent) => any) | undefined;
1233
1229
  onClear?: ((ev: MouseEvent) => any) | undefined;
1234
1230
  onBlur?: ((ev: FocusEvent) => any) | undefined;
1235
1231
  onInput?: ((value: string) => any) | undefined;
1236
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1237
1232
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1238
1233
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1239
1234
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
1235
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1240
1236
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
1241
1237
  }>, {
1242
1238
  focus(): void;
@@ -1246,10 +1242,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1246
1242
  clear: (ev: MouseEvent) => any;
1247
1243
  blur: (ev: FocusEvent) => any;
1248
1244
  input: (value: string) => any;
1249
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
1250
1245
  "update:modelValue": (value: import('..').InputTagValue) => any;
1251
1246
  "update:inputValue": (value: string) => any;
1252
1247
  "input-value-change": (value: string, ev: Event) => any;
1248
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
1253
1249
  "press-enter": (ev: KeyboardEvent) => any;
1254
1250
  }, string, {
1255
1251
  size: import('../_shared/type').Size;
@@ -1310,10 +1306,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1310
1306
  onClear?: ((ev: MouseEvent) => any) | undefined;
1311
1307
  onBlur?: ((ev: FocusEvent) => any) | undefined;
1312
1308
  onInput?: ((value: string) => any) | undefined;
1313
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1314
1309
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1315
1310
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1316
1311
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
1312
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1317
1313
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
1318
1314
  }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
1319
1315
  focus(): void;
@@ -1328,7 +1324,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1328
1324
  $root: import('vue').ComponentPublicInstance | null;
1329
1325
  $parent: import('vue').ComponentPublicInstance | null;
1330
1326
  $host: Element | null;
1331
- $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: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => 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: 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);
1332
1328
  $el: any;
1333
1329
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
1334
1330
  onChange?: ((value: SelectValue) => any) | undefined;
@@ -1337,10 +1333,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1337
1333
  onClear?: (() => any) | undefined;
1338
1334
  onSelect?: ((value: SelectValue) => any) | undefined;
1339
1335
  onSearch?: ((value: string) => any) | undefined;
1340
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1341
1336
  "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
1342
1337
  "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
1343
1338
  "onInput-value-change"?: ((value: string) => any) | undefined;
1339
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1344
1340
  onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
1345
1341
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1346
1342
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -1355,10 +1351,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1355
1351
  clear: () => any;
1356
1352
  select: (value: SelectValue) => any;
1357
1353
  search: (value: string) => any;
1358
- remove: (index: string | number, ev: Event) => any;
1359
1354
  "update:modelValue": (value: SelectValue) => any;
1360
1355
  "update:inputValue": (value: SelectValue) => any;
1361
1356
  "input-value-change": (value: string) => any;
1357
+ remove: (index: string | number, ev: Event) => any;
1362
1358
  exceedLimit: (value: SelectValue, ev?: MouseEvent | undefined) => any;
1363
1359
  "dropdown-scroll": (ev: Event) => any;
1364
1360
  "dropdown-reach-bottom": (ev: Event) => any;
@@ -1373,7 +1369,6 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1373
1369
  scrollbar: boolean;
1374
1370
  multiple: boolean;
1375
1371
  placeholder: string;
1376
- triggerProps: import('..').TriggerProps;
1377
1372
  bordered: boolean;
1378
1373
  modelValue: SelectValue;
1379
1374
  defaultValue: SelectValue;
@@ -1389,9 +1384,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1389
1384
  showEmpty: boolean;
1390
1385
  allowCreate: boolean;
1391
1386
  maxTagCount: number;
1392
- defaultActivefirstOption: boolean;
1393
1387
  filterOption: import('../Select').FilterOption;
1394
1388
  virtualListProps: import('../Select').VirtualListProps;
1389
+ triggerProps: import('..').TriggerProps;
1395
1390
  searchDelay: number;
1396
1391
  showHeaderOnEmpty: boolean;
1397
1392
  showFooterOnEmpty: boolean;
@@ -1427,7 +1422,6 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1427
1422
  scrollbar: boolean;
1428
1423
  multiple: boolean;
1429
1424
  placeholder: string;
1430
- triggerProps: import('..').TriggerProps;
1431
1425
  bordered: boolean;
1432
1426
  modelValue: SelectValue;
1433
1427
  defaultValue: SelectValue;
@@ -1443,9 +1437,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1443
1437
  showEmpty: boolean;
1444
1438
  allowCreate: boolean;
1445
1439
  maxTagCount: number;
1446
- defaultActivefirstOption: boolean;
1447
1440
  filterOption: import('../Select').FilterOption;
1448
1441
  virtualListProps: import('../Select').VirtualListProps;
1442
+ triggerProps: import('..').TriggerProps;
1449
1443
  searchDelay: number;
1450
1444
  showHeaderOnEmpty: boolean;
1451
1445
  showFooterOnEmpty: boolean;
@@ -1457,14 +1451,14 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1457
1451
  onClear?: (() => any) | undefined;
1458
1452
  onSelect?: ((value: SelectValue) => any) | undefined;
1459
1453
  onSearch?: ((value: string) => any) | undefined;
1460
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1461
1454
  "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
1462
1455
  "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
1463
1456
  "onInput-value-change"?: ((value: string) => any) | undefined;
1457
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1464
1458
  onExceedLimit?: ((value: SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
1465
1459
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1466
1460
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
1467
- }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "triggerProps" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "defaultActivefirstOption" | "filterOption" | "virtualListProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
1461
+ }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "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<{
1468
1462
  focus(): void;
1469
1463
  blur(): void;
1470
1464
  getPopupRef(): import('..').TriggerInstance;
@@ -1591,11 +1585,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1591
1585
  strict: boolean;
1592
1586
  type: "textarea" | "input";
1593
1587
  data: import('../Select').SelectOptions;
1594
- triggerProps: import('..').TriggerProps;
1595
1588
  modelValue: string;
1596
1589
  defaultValue: string;
1597
1590
  allowClear: boolean;
1598
1591
  filterOption: (inputValue: string, option: import('../Select').SelectOptionData) => boolean;
1592
+ triggerProps: import('..').TriggerProps;
1599
1593
  isSelectSetValue: boolean;
1600
1594
  isSearch: boolean;
1601
1595
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -1624,11 +1618,11 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1624
1618
  strict: boolean;
1625
1619
  type: "textarea" | "input";
1626
1620
  data: import('../Select').SelectOptions;
1627
- triggerProps: import('..').TriggerProps;
1628
1621
  modelValue: string;
1629
1622
  defaultValue: string;
1630
1623
  allowClear: boolean;
1631
1624
  filterOption: (inputValue: string, option: import('../Select').SelectOptionData) => boolean;
1625
+ triggerProps: import('..').TriggerProps;
1632
1626
  isSelectSetValue: boolean;
1633
1627
  isSearch: boolean;
1634
1628
  }> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
@@ -1643,7 +1637,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1643
1637
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1644
1638
  "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
1645
1639
  "onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
1646
- }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "triggerProps" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
1640
+ }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
1647
1641
  focus(): void;
1648
1642
  blur(): void;
1649
1643
  getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const u=require("../_shared/utils/fn.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("./hooks/useContext.js"),n=require("./MenuPopOption.vue.js"),r=require("../Dropdown/index.js"),a=require("../Tooltip/index.js"),i={key:1,class:"yc-menu-icon"},s={key:2,class:"yc-menu-icon-suffix"},c=e.defineComponent({name:"MenuItem",__name:"MenuItem",props:{path:{default:""},disabled:{type:Boolean,default:!1}},setup(c){const m=c,{path:p,disabled:d}=e.toRefs(m),{reuse:v,define:f}=t.createReusableTemplate(),h=e.useAttrs(),{computedSelectedKeys:k,computedOpenKeys:y,computedCollapsed:g,levelIndent:x,mode:B,theme:w,autoOpen:C,autoOpenSelected:j,accordion:q,triggerProps:_,tooltipProps:N,autoScrollIntoView:V,scrollConfig:z,popupMaxHeight:I,menuTreeNodes:S,menuTree:M,max:E,menuItemWidths:P,emits:b}=o.default().inject(),$=e.computed(()=>S.value.find(e=>e.path==p.value)||{type:"menuitem",level:0}),O=e.computed(()=>M.value.findIndex(e=>e.path==p.value)),T=e.computed(()=>{var e;return(null==(e=M.value[O.value])?void 0:e.children)||[]}),A=e.computed(()=>"submenu"==$.value.type),D=e.computed(()=>0===$.value.level),H=e.computed(()=>o.isMenuItemActive(M.value,p.value,k.value)),F=e.computed(()=>l.isUndefined(h.popupMaxHeight)?I.value:o.getPopupMaxHeight(h.popupMaxHeight)),R=e.ref(),K=e=>{k.value!=e&&(k.value=e,b("menu-item-click",e))},W=()=>{if(!("vertical"!=B.value&&A.value||g.value)){if(!A.value&&!d.value&&k.value!=p.value)return k.value=p.value,b("menu-item-click",p.value);y.value.includes(p.value)?y.value=y.value.filter(e=>e!=p.value):y.value=q.value?[p.value]:[...y.value,p.value],b("sub-menu-click",p.value,y.value)}};return e.onMounted(()=>{var e;D.value&&(P.value[O.value]=R.value.offsetWidth),V.value&&k.value==p.value&&(null==(e=R.value)||e.scrollIntoView(z.value)),A.value&&C.value&&j.value&&H.value&&y.value.push(p.value)}),(t,l)=>O.value<e.unref(E)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-menu-item-wrapper",{"yc-menu-item-mode-horizontal":"horizontal"==e.unref(B)}])},[e.createVNode(e.unref(f),null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-menu-item",`yc-menu-item-theme-${e.unref(w)}`,{"yc-menu-item-selected":H.value,"yc-menu-item-disabled":e.unref(d),"yc-menu-item-collapsed":e.unref(g)}]),ref_key:"menuItemRef",ref:R,onClick:W},[D.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-menu-indent",style:e.normalizeStyle({width:e.unref(u.valueToPx)(e.unref(x)*$.value.level),height:e.unref(u.valueToPx)(e.unref(x))})},null,4)),t.$slots.icon?(e.openBlock(),e.createElementBlock("div",i,[e.renderSlot(t.$slots,"icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["yc-menu-item-title",{"text-ellipsis":"horizontal"!=e.unref(B)}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2),[[e.vShow,!e.unref(g)]]),t.$slots.suffix?e.withDirectives((e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(t.$slots,"suffix",{},void 0,!0)],512)),[[e.vShow,!e.unref(g)]]):e.createCommentVNode("",!0)],2)]),_:3}),A.value&&D.value&&("vertical"!=e.unref(B)||e.unref(g))?(e.openBlock(),e.createBlock(e.unref(r.default),{key:0,"popup-max-height":F.value,theme:e.unref(w),"trigger-props":{autoFitPosition:!1,position:"horizontal"==e.unref(B)?"bl":"rt",animationName:"horizontal"==e.unref(B)?"slide-dynamic-origin":"zoom-in-fade-out",popupOffset:"vertical"==e.unref(B)?14:20,showArrow:!0,...e.unref(_)},onSelect:K},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,t=>(e.openBlock(),e.createBlock(n,{key:t.path,"tree-node":t,"popup-max-height":F.value,"trigger-props":e.unref(_),"computed-selected-keys":e.unref(k)},null,8,["tree-node","popup-max-height","trigger-props","computed-selected-keys"]))),128))]),default:e.withCtx(()=>[e.createVNode(e.unref(v))]),_:1},8,["popup-max-height","theme","trigger-props"])):!A.value&&D.value&&e.unref(g)?(e.openBlock(),e.createBlock(e.unref(a),{key:1,position:"rt","trigger-props":{autoFitPosition:!1,popupOffset:"vertical"==e.unref(B)?14:18,showArrow:!0,...e.unref(N),...e.unref(_)}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.$slots.default)))]),default:e.withCtx(()=>[e.createVNode(e.unref(v))]),_:1},8,["trigger-props"])):(e.openBlock(),e.createBlock(e.unref(v),{key:2}))],2)):e.createCommentVNode("",!0)}});module.exports=c;
1
+ "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const u=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("./hooks/useContext.js"),n=require("./MenuPopOption.vue.js"),r=require("../Dropdown/index.js"),a=require("../Tooltip/index.js"),i={key:1,class:"yc-menu-icon"},s={key:2,class:"yc-menu-icon-suffix"},c=e.defineComponent({name:"MenuItem",__name:"MenuItem",props:{path:{default:""},disabled:{type:Boolean,default:!1}},setup(c){const m=c,{path:p,disabled:d}=e.toRefs(m),{reuse:v,define:f}=t.createReusableTemplate(),h=e.useAttrs(),{computedSelectedKeys:k,computedOpenKeys:y,computedCollapsed:g,levelIndent:x,mode:B,theme:w,autoOpen:C,autoOpenSelected:j,accordion:q,triggerProps:_,tooltipProps:N,autoScrollIntoView:V,scrollConfig:z,popupMaxHeight:I,menuTreeNodes:S,menuTree:M,max:E,menuItemWidths:P,emits:b}=o.default().inject(),$=e.computed(()=>S.value.find(e=>e.path==p.value)||{type:"menuitem",level:0}),O=e.computed(()=>M.value.findIndex(e=>e.path==p.value)),T=e.computed(()=>{var e;return(null==(e=M.value[O.value])?void 0:e.children)||[]}),A=e.computed(()=>"submenu"==$.value.type),D=e.computed(()=>0===$.value.level),H=e.computed(()=>o.isMenuItemActive(M.value,p.value,k.value)),F=e.computed(()=>l.isUndefined(h.popupMaxHeight)?I.value:o.getPopupMaxHeight(h.popupMaxHeight)),R=e.ref(),K=e=>{k.value!=e&&(k.value=e,b("menu-item-click",e))},W=()=>{if(!("vertical"!=B.value&&A.value||g.value)){if(!A.value&&!d.value&&k.value!=p.value)return k.value=p.value,b("menu-item-click",p.value);y.value.includes(p.value)?y.value=y.value.filter(e=>e!=p.value):y.value=q.value?[p.value]:[...y.value,p.value],b("sub-menu-click",p.value,y.value)}};return e.onMounted(()=>{var e;D.value&&(P.value[O.value]=R.value.offsetWidth),V.value&&k.value==p.value&&(null==(e=R.value)||e.scrollIntoView(z.value)),A.value&&C.value&&j.value&&H.value&&y.value.push(p.value)}),(t,l)=>O.value<e.unref(E)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-menu-item-wrapper",{"yc-menu-item-mode-horizontal":"horizontal"==e.unref(B)}])},[e.createVNode(e.unref(f),null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-menu-item",`yc-menu-item-theme-${e.unref(w)}`,{"yc-menu-item-selected":H.value,"yc-menu-item-disabled":e.unref(d),"yc-menu-item-collapsed":e.unref(g)}]),ref_key:"menuItemRef",ref:R,onClick:W},[D.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-menu-indent",style:e.normalizeStyle({width:e.unref(u.valueToPx)(e.unref(x)*$.value.level),height:e.unref(u.valueToPx)(e.unref(x))})},null,4)),t.$slots.icon?(e.openBlock(),e.createElementBlock("div",i,[e.renderSlot(t.$slots,"icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["yc-menu-item-title",{"text-ellipsis":"horizontal"!=e.unref(B)}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2),[[e.vShow,!e.unref(g)]]),t.$slots.suffix?e.withDirectives((e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(t.$slots,"suffix",{},void 0,!0)],512)),[[e.vShow,!e.unref(g)]]):e.createCommentVNode("",!0)],2)]),_:3}),A.value&&D.value&&("vertical"!=e.unref(B)||e.unref(g))?(e.openBlock(),e.createBlock(e.unref(r.default),{key:0,"popup-max-height":F.value,theme:e.unref(w),"trigger-props":{autoFitPosition:!1,position:"horizontal"==e.unref(B)?"bl":"rt",animationName:"horizontal"==e.unref(B)?"slide-dynamic-origin":"zoom-in-fade-out",popupOffset:"vertical"==e.unref(B)?14:20,showArrow:!0,...e.unref(_)},onSelect:K},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,t=>(e.openBlock(),e.createBlock(n,{key:t.path,"tree-node":t,"popup-max-height":F.value,"trigger-props":e.unref(_),"computed-selected-keys":e.unref(k)},null,8,["tree-node","popup-max-height","trigger-props","computed-selected-keys"]))),128))]),default:e.withCtx(()=>[e.createVNode(e.unref(v))]),_:1},8,["popup-max-height","theme","trigger-props"])):!A.value&&D.value&&e.unref(g)?(e.openBlock(),e.createBlock(e.unref(a),{key:1,position:"rt","trigger-props":{autoFitPosition:!1,popupOffset:"vertical"==e.unref(B)?14:18,showArrow:!0,...e.unref(N),...e.unref(_)}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.$slots.default)))]),default:e.withCtx(()=>[e.createVNode(e.unref(v))]),_:1},8,["trigger-props"])):(e.openBlock(),e.createBlock(e.unref(v),{key:2}))],2)):e.createCommentVNode("",!0)}});module.exports=c;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const t=require("../_shared/utils/fn.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("./hooks/useContext.js"),o={class:"yc-menu-group"},s={class:"yc-menu-group-title text-ellipsis"},n=e.defineComponent({name:"MenuItemGroup",__name:"MenuItemGroup",props:{title:{default:""}},setup(n){const{levelIndent:l}=r.default().inject();return(r,n)=>(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",s,[e.renderSlot(r.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(r.title),1)],!0)]),e.createElementVNode("div",{class:"yc-menu-group-content",style:e.normalizeStyle({paddingLeft:e.unref(t.valueToPx)(e.unref(l))})},[e.renderSlot(r.$slots,"default",{},void 0,!0)],4)]))}});module.exports=n;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("./hooks/useContext.js"),r={class:"yc-menu-group"},n={class:"yc-menu-group-title text-ellipsis"},s=e.defineComponent({name:"MenuItemGroup",__name:"MenuItemGroup",props:{title:{default:""}},setup(s){const{levelIndent:l}=o.default().inject();return(o,s)=>(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",n,[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)]),e.createElementVNode("div",{class:"yc-menu-group-content",style:e.normalizeStyle({paddingLeft:e.unref(t.valueToPx)(e.unref(l))})},[e.renderSlot(o.$slots,"default",{},void 0,!0)],4)]))}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const t=require("../../_shared/utils/fn.js"),r=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js");/* empty css */const o=require("../../_shared/utils/control.js");require("../index.js");const n=require("../../node_modules/nanoid/index.browser.js"),l=require("../../node_modules/@vueuse/core/index.js"),u=require("../SubMenu.vue.js"),s=require("../MenuItem.vue.js"),i="menu-context";function d(t,o){const l=[],s=(t,i=null,d=0)=>{var a,c,p;if(!t)return;const f=Array.isArray(t)?t:[t];for(const m of f){if(!e.isVNode(m))continue;const t=n.nanoid(8),f=null==(a=m.type)?void 0:a.name,h=f===u.name,v=m.props,y=m.children,g=null==(c=m.component)?void 0:c.subTree,x=h?t:i,j=h?d+1:d;if(o.includes(f)&&l.push({id:t,type:h?"submenu":"menuitem",label:()=>{var e,t;return h?(null==(e=y.title)?void 0:e.call(y))||v.title:null==(t=y.default)?void 0:t.call(y)},path:v.path,parentId:i,level:d}),g)s(g);else if(Array.isArray(y))s(y,x,j);else if(r.isObject(y))for(const e of Object.keys(y))r.isFunction(y[e])&&s((null==(p=y[e])?void 0:p.call(y))||[],x,j)}};return s(t),l}function a(e){const t=new Map,r=[];return e.forEach(e=>{t.set(e.id,{...e,children:[]})}),t.forEach(e=>{if(null===e.parentId)r.push(e);else{const r=t.get(e.parentId);r&&r.children.push(e)}}),r}const c=e=>r.isUndefined(e)||r.isBoolean(e)&&e?167:r.isNumber(e)?e:void 0;exports.FlattenMenuTree=d,exports.buildMenuTree=a,exports.default=()=>({provide:(r,n,p)=>{const{selectedKeys:f,defaultSelectedKeys:m,openKeys:h,defaultOpenKeys:v,levelIndent:y,collapsed:g,defaultCollapsed:x,breakpoint:j,accordion:b,autoOpen:q,triggerProps:I,tooltipProps:O,autoOpenSelected:S,mode:M,theme:_,autoScrollIntoView:K,scrollConfig:T,collapsedWidth:P,popupMaxHeight:C}=e.toRefs(r),w=o(f,m.value,e=>{n("update:selectedKeys",e)}),A=o(g,x.value,e=>{W.value=[],n("update:collapsed",e)}),W=o(h,v.value,e=>{n("update:openKeys",e)}),k=e.computed(()=>c(C.value)),H=e.useSlots(),N=e.computed(()=>{var e;return d((null==(e=H.default)?void 0:e.call(H))||[],[u.name,s.name])}),V=e.ref([]),E=e.computed(()=>a(N.value)),z=e.ref(1e6);return"horizontal"==M.value&&l.useResizeObserver(p,t.throttle(()=>{const e=p.value.offsetWidth-52;let t=0,r=0;for(let o=0;o<E.value.length;o++){const n=r+(o>0?4:0)+V.value[o];if(n>e)break;r=n,t++}z.value=t},200)),e.provide(i,{computedSelectedKeys:w,computedOpenKeys:W,computedCollapsed:A,levelIndent:y,accordion:b,autoOpen:q,triggerProps:I,tooltipProps:O,mode:M,autoOpenSelected:S,popupMaxHeight:k,autoScrollIntoView:K,scrollConfig:T,theme:_,menuTreeNodes:N,menuTree:E,max:z,menuItemWidths:V,emits:n}),{computedCollapsed:A,breakpoint:j,collapsedWidth:e.computed(()=>t.valueToPx(P.value)),menuTree:E,max:z}},inject:()=>e.inject(i,{computedSelectedKeys:e.ref(""),computedOpenKeys:e.ref([]),levelIndent:e.ref(20),computedCollapsed:e.ref(!1),accordion:e.ref(!1),autoOpen:e.ref(!1),tooltipProps:e.ref({}),triggerProps:e.ref({}),autoOpenSelected:e.ref(!1),mode:e.ref("vertical"),theme:e.ref("light"),popupMaxHeight:e.ref(),autoScrollIntoView:e.ref(!1),scrollConfig:e.ref({}),menuTreeNodes:e.ref([]),menuTree:e.ref([]),max:e.ref(1e4),menuItemWidths:e.ref([]),emits:()=>{}})}),exports.getPopupMaxHeight=c,exports.isMenuItemActive=function(e,t,r){if(t===r)return!0;const o=(e,t)=>{for(const r of e){if(r.path===t)return r;if(r.children&&r.children.length>0){const e=o(r.children,t);if(e)return e}}return null},n=o(e,t);if(!n)return!1;const l=(e,t)=>e.path===t||!!e.children&&e.children.some(e=>l(e,t));return l(n,r)};
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../../_shared/utils/dom.js"),r=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js");/* empty css */const o=require("../../_shared/utils/control.js");require("../index.js");const n=require("../../node_modules/nanoid/index.browser.js"),l=require("../../node_modules/@vueuse/core/index.js"),u=require("../SubMenu.vue.js"),s=require("../MenuItem.vue.js"),i="menu-context";function d(t,o){const l=[],s=(t,i=null,d=0)=>{var a,c,p;if(!t)return;const f=Array.isArray(t)?t:[t];for(const m of f){if(!e.isVNode(m))continue;const t=n.nanoid(8),f=null==(a=m.type)?void 0:a.name,h=f===u.name,v=m.props,y=m.children,g=null==(c=m.component)?void 0:c.subTree,x=h?t:i,j=h?d+1:d;if(o.includes(f)&&l.push({id:t,type:h?"submenu":"menuitem",label:()=>{var e,t;return h?(null==(e=y.title)?void 0:e.call(y))||v.title:null==(t=y.default)?void 0:t.call(y)},path:v.path,parentId:i,level:d}),g)s(g);else if(Array.isArray(y))s(y,x,j);else if(r.isObject(y))for(const e of Object.keys(y))r.isFunction(y[e])&&s((null==(p=y[e])?void 0:p.call(y))||[],x,j)}};return s(t),l}function a(e){const t=new Map,r=[];return e.forEach(e=>{t.set(e.id,{...e,children:[]})}),t.forEach(e=>{if(null===e.parentId)r.push(e);else{const r=t.get(e.parentId);r&&r.children.push(e)}}),r}const c=e=>r.isUndefined(e)||r.isBoolean(e)&&e?167:r.isNumber(e)?e:void 0;exports.FlattenMenuTree=d,exports.buildMenuTree=a,exports.default=()=>({provide:(r,n,p)=>{const{selectedKeys:f,defaultSelectedKeys:m,openKeys:h,defaultOpenKeys:v,levelIndent:y,collapsed:g,defaultCollapsed:x,breakpoint:j,accordion:b,autoOpen:I,triggerProps:q,tooltipProps:O,autoOpenSelected:S,mode:M,theme:K,autoScrollIntoView:T,scrollConfig:_,collapsedWidth:P,popupMaxHeight:C}=e.toRefs(r),w=o(f,m.value,e=>{n("update:selectedKeys",e)}),A=o(g,x.value,e=>{W.value=[],n("update:collapsed",e)}),W=o(h,v.value,e=>{n("update:openKeys",e)}),k=e.computed(()=>c(C.value)),H=e.useSlots(),N=e.computed(()=>{var e;return d((null==(e=H.default)?void 0:e.call(H))||[],[u.name,s.name])}),V=e.ref([]),E=e.computed(()=>a(N.value)),z=e.ref(1e6);return"horizontal"==M.value&&l.useResizeObserver(p,t.throttle(()=>{const e=p.value.offsetWidth-52;let t=0,r=0;for(let o=0;o<E.value.length;o++){const n=r+(o>0?4:0)+V.value[o];if(n>e)break;r=n,t++}z.value=t},200)),e.provide(i,{computedSelectedKeys:w,computedOpenKeys:W,computedCollapsed:A,levelIndent:y,accordion:b,autoOpen:I,triggerProps:q,tooltipProps:O,mode:M,autoOpenSelected:S,popupMaxHeight:k,autoScrollIntoView:T,scrollConfig:_,theme:K,menuTreeNodes:N,menuTree:E,max:z,menuItemWidths:V,emits:n}),{computedCollapsed:A,breakpoint:j,collapsedWidth:e.computed(()=>t.valueToPx(P.value)),menuTree:E,max:z}},inject:()=>e.inject(i,{computedSelectedKeys:e.ref(""),computedOpenKeys:e.ref([]),levelIndent:e.ref(20),computedCollapsed:e.ref(!1),accordion:e.ref(!1),autoOpen:e.ref(!1),tooltipProps:e.ref({}),triggerProps:e.ref({}),autoOpenSelected:e.ref(!1),mode:e.ref("vertical"),theme:e.ref("light"),popupMaxHeight:e.ref(),autoScrollIntoView:e.ref(!1),scrollConfig:e.ref({}),menuTreeNodes:e.ref([]),menuTree:e.ref([]),max:e.ref(1e4),menuItemWidths:e.ref([]),emits:()=>{}})}),exports.getPopupMaxHeight=c,exports.isMenuItemActive=function(e,t,r){if(t===r)return!0;const o=(e,t)=>{for(const r of e){if(r.path===t)return r;if(r.children&&r.children.length>0){const e=o(r.children,t);if(e)return e}}return null},n=o(e,t);if(!n)return!1;const l=(e,t)=>e.path===t||!!e.children&&e.children.some(e=>l(e,t));return l(n,r)};
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {},
4
4
  content: import('../_shared/type').RenderContent;
5
5
  icon: import('vue').RenderFunction;
6
6
  type: import('./type').MessageType;
7
- id: string;
8
- onClose: (id: string | number) => void;
9
7
  closable: boolean;
8
+ onClose: (id: string | number) => void;
9
+ id: string;
10
10
  showIcon: boolean;
11
11
  isReset: boolean;
12
12
  onDestory: (id: string | number) => void;
@@ -9,9 +9,9 @@ declare const Message: {
9
9
  content: import('../_shared/type').RenderContent;
10
10
  icon: import('vue').RenderFunction;
11
11
  type: MessageType;
12
- id: string;
13
- onClose: (id: string | number) => void;
14
12
  closable: boolean;
13
+ onClose: (id: string | number) => void;
14
+ id: string;
15
15
  showIcon: boolean;
16
16
  isReset: boolean;
17
17
  onDestory: (id: string | number) => void;
@@ -28,9 +28,9 @@ declare const Message: {
28
28
  content: import('../_shared/type').RenderContent;
29
29
  icon: import('vue').RenderFunction;
30
30
  type: MessageType;
31
- id: string;
32
- onClose: (id: string | number) => void;
33
31
  closable: boolean;
32
+ onClose: (id: string | number) => void;
33
+ id: string;
34
34
  showIcon: boolean;
35
35
  isReset: boolean;
36
36
  onDestory: (id: string | number) => void;
@@ -44,9 +44,9 @@ declare const Message: {
44
44
  content: import('../_shared/type').RenderContent;
45
45
  icon: import('vue').RenderFunction;
46
46
  type: MessageType;
47
- id: string;
48
- onClose: (id: string | number) => void;
49
47
  closable: boolean;
48
+ onClose: (id: string | number) => void;
49
+ id: string;
50
50
  showIcon: boolean;
51
51
  isReset: boolean;
52
52
  onDestory: (id: string | number) => void;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const o=require("../_shared/utils/fn.js");require("../_shared/utils/time.js");const l=require("../_shared/utils/global-config.js"),t=require("./hooks/useModalClose.js"),a=require("./hooks/useModalDraggable.js"),n=require("../Button/index.js"),r=require("../_shared/components/IconButton.vue.js");,/* empty css */;/* empty css */const s={key:0,class:"yc-modal-footer"},i=e.defineComponent({name:"Modal",inheritAttrs:!1,__name:"Modal",props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},width:{default:400},top:{default:100},mask:{type:Boolean,default:!0},title:{default:""},titleAlign:{default:"center"},alignCenter:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},hideCancel:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},okText:{default:"确认"},cancelText:{default:"取消"},okLoading:{type:Boolean,default:!1},okButtonProps:{default:()=>({})},cancelButtonProps:{default:()=>({})},footer:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},popupContainer:{default:void 0},maskStyle:{default:()=>({})},modalClass:{default:""},modalStyle:{default:()=>({})},escToClose:{type:Boolean,default:!0},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},maskAnimationName:{default:"fade"},modalAnimationName:{default:"zoom-modal"},bodyClass:{default:""},bodyStyle:{default:()=>({})},hideTitle:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},onBeforeCancel:{type:Function,default:()=>!0},onBeforeOk:{type:Function,default:()=>!0}},emits:["update:visible","ok","cancel","open","before-open","close","before-close"],setup(i,{emit:d}){const u=i,c=d,{visible:f,defaultVisible:m,width:y,top:p,alignCenter:k,maskClosable:B,escToClose:C,modalStyle:v,fullscreen:b,draggable:g,renderToBody:h}=e.toRefs(u),{onBeforeOk:S,onBeforeCancel:V}=u,{popupContainer:N,zIndex:T}=l.getGlobalConfig(u),{outerVisible:x,innerVisible:_,asyncLoading:w,handleClose:q,handleAfterLeave:j}=t({visible:f,defaultVisible:m,escToClose:C,maskClosable:B,onBeforeOk:S,onBeforeCancel:V,emits:c}),z=e.ref(),A=e.ref(),{dragStyle:E,isDraggable:$}=a({visible:_,draggable:g,fullscreen:b,alignCenter:k,top:p,triggerRef:z,modalRef:A}),D=e.computed(()=>({width:b.value?"100%":"auto"==y.value?"fit-content":o.valueToPx(y.value),...E.value,...v.value}));return(o,l)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(N),disabled:!e.unref(h)},[!o.unmountOnClose||e.unref(x)?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-modal-container",o.$attrs.class,{"yc-modal-simple":o.simple,"yc-modal-position-absolute":e.unref(N)||!e.unref(h)}]),style:e.normalizeStyle({zIndex:e.unref(T),...o.$attrs.style??{}})},[e.createVNode(e.Transition,{name:o.maskAnimationName},{default:e.withCtx(()=>[o.mask?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-modal-mask",style:e.normalizeStyle(o.maskStyle)},null,4)),[[e.vShow,e.unref(_)]]):e.createCommentVNode("",!0)]),_:1},8,["name"]),e.createElementVNode("div",{class:"yc-modal-wrapper",onClick:l[6]||(l[6]=e.withModifiers(o=>e.unref(q)("mask",o),["self"]))},[e.createVNode(e.Transition,{name:o.modalAnimationName,onBeforeEnter:l[3]||(l[3]=e=>o.$emit("before-open")),onBeforeLeave:l[4]||(l[4]=e=>o.$emit("before-close")),onAfterEnter:l[5]||(l[5]=e=>o.$emit("open")),onAfterLeave:e.unref(j)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["yc-modal",o.modalClass,{"yc-modal-draggable":e.unref($),"yc-modal-fullscreen":e.unref(b)}]),style:e.normalizeStyle(D.value),ref_key:"modalRef",ref:A},[e.renderSlot(o.$slots,"header",{},()=>[e.createElementVNode("div",{class:"yc-modal-header",ref_key:"headerRef",ref:z},[o.hideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-modal-title","text-ellipsis",{"title-align-center":"center"==o.titleAlign}])},[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)],2)),o.closable&&!o.simple?(e.openBlock(),e.createBlock(e.unref(r),{key:1,class:"yc-modal-close-button",onClick:l[0]||(l[0]=o=>e.unref(q)("closeBtn",o))})):e.createCommentVNode("",!0)],512)],!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-modal-body",o.bodyClass]),style:e.normalizeStyle(o.bodyStyle)},[e.renderSlot(o.$slots,"default",{},void 0,!0)],6),o.footer?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"footer",{},()=>[o.hideCancel?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(n.default),e.mergeProps({key:0},o.cancelButtonProps,{onClick:l[1]||(l[1]=o=>e.unref(q)("cancelBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelText),1)]),_:1},16)),e.createVNode(e.unref(n.default),e.mergeProps({type:"primary",loading:o.okLoading||e.unref(w)},o.okButtonProps,{onClick:l[2]||(l[2]=o=>e.unref(q)("confirmBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.okText),1)]),_:1},16,["loading"])],!0)])):e.createCommentVNode("",!0)],6),[[e.vShow,e.unref(_)]])]),_:3},8,["name","onAfterLeave"])])],6)),[[e.vShow,e.unref(x)]]):e.createCommentVNode("",!0)],8,["to","disabled"]))}});module.exports=i;
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");const l=require("../_shared/utils/global-config.js"),t=require("./hooks/useModalClose.js"),a=require("./hooks/useModalDraggable.js"),n=require("../Button/index.js"),r=require("../_shared/components/IconButton.vue.js");,/* empty css */;/* empty css */const s={key:0,class:"yc-modal-footer"},i=e.defineComponent({name:"Modal",inheritAttrs:!1,__name:"Modal",props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},width:{default:400},top:{default:100},mask:{type:Boolean,default:!0},title:{default:""},titleAlign:{default:"center"},alignCenter:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},hideCancel:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},okText:{default:"确认"},cancelText:{default:"取消"},okLoading:{type:Boolean,default:!1},okButtonProps:{default:()=>({})},cancelButtonProps:{default:()=>({})},footer:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},popupContainer:{default:void 0},maskStyle:{default:()=>({})},modalClass:{default:""},modalStyle:{default:()=>({})},escToClose:{type:Boolean,default:!0},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},maskAnimationName:{default:"fade"},modalAnimationName:{default:"zoom-modal"},bodyClass:{default:""},bodyStyle:{default:()=>({})},hideTitle:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},onBeforeCancel:{type:Function,default:()=>!0},onBeforeOk:{type:Function,default:()=>!0}},emits:["update:visible","ok","cancel","open","before-open","close","before-close"],setup(i,{emit:d}){const c=i,u=d,{visible:f,defaultVisible:m,width:y,top:p,alignCenter:k,maskClosable:B,escToClose:C,modalStyle:v,fullscreen:b,draggable:g,renderToBody:h}=e.toRefs(c),{onBeforeOk:S,onBeforeCancel:V}=c,{popupContainer:N,zIndex:T}=l.getGlobalConfig(c),{outerVisible:x,innerVisible:w,asyncLoading:_,handleClose:q,handleAfterLeave:z}=t({visible:f,defaultVisible:m,escToClose:C,maskClosable:B,onBeforeOk:S,onBeforeCancel:V,emits:u}),A=e.ref(),E=e.ref(),{dragStyle:j,isDraggable:$}=a({visible:w,draggable:g,fullscreen:b,alignCenter:k,top:p,triggerRef:A,modalRef:E}),D=e.computed(()=>({width:b.value?"100%":"auto"==y.value?"fit-content":o.valueToPx(y.value),...j.value,...v.value}));return(o,l)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(N),disabled:!e.unref(h)},[!o.unmountOnClose||e.unref(x)?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-modal-container",o.$attrs.class,{"yc-modal-simple":o.simple,"yc-modal-position-absolute":e.unref(N)||!e.unref(h)}]),style:e.normalizeStyle({zIndex:e.unref(T),...o.$attrs.style??{}})},[e.createVNode(e.Transition,{name:o.maskAnimationName},{default:e.withCtx(()=>[o.mask?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-modal-mask",style:e.normalizeStyle(o.maskStyle)},null,4)),[[e.vShow,e.unref(w)]]):e.createCommentVNode("",!0)]),_:1},8,["name"]),e.createElementVNode("div",{class:"yc-modal-wrapper",onClick:l[6]||(l[6]=e.withModifiers(o=>e.unref(q)("mask",o),["self"]))},[e.createVNode(e.Transition,{name:o.modalAnimationName,onBeforeEnter:l[3]||(l[3]=e=>o.$emit("before-open")),onBeforeLeave:l[4]||(l[4]=e=>o.$emit("before-close")),onAfterEnter:l[5]||(l[5]=e=>o.$emit("open")),onAfterLeave:e.unref(z)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["yc-modal",o.modalClass,{"yc-modal-draggable":e.unref($),"yc-modal-fullscreen":e.unref(b)}]),style:e.normalizeStyle(D.value),ref_key:"modalRef",ref:E},[e.renderSlot(o.$slots,"header",{},()=>[e.createElementVNode("div",{class:"yc-modal-header",ref_key:"headerRef",ref:A},[o.hideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-modal-title","text-ellipsis",{"title-align-center":"center"==o.titleAlign}])},[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)],2)),o.closable&&!o.simple?(e.openBlock(),e.createBlock(e.unref(r),{key:1,class:"yc-modal-close-button",onClick:l[0]||(l[0]=o=>e.unref(q)("closeBtn",o))})):e.createCommentVNode("",!0)],512)],!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-modal-body",o.bodyClass]),style:e.normalizeStyle(o.bodyStyle)},[e.renderSlot(o.$slots,"default",{},void 0,!0)],6),o.footer?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"footer",{},()=>[o.hideCancel?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(n.default),e.mergeProps({key:0},o.cancelButtonProps,{onClick:l[1]||(l[1]=o=>e.unref(q)("cancelBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelText),1)]),_:1},16)),e.createVNode(e.unref(n.default),e.mergeProps({type:"primary",loading:o.okLoading||e.unref(_)},o.okButtonProps,{onClick:l[2]||(l[2]=o=>e.unref(q)("confirmBtn",o))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.okText),1)]),_:1},16,["loading"])],!0)])):e.createCommentVNode("",!0)],6),[[e.vShow,e.unref(w)]])]),_:3},8,["name","onAfterLeave"])])],6)),[[e.vShow,e.unref(x)]]):e.createCommentVNode("",!0)],8,["to","disabled"]))}});module.exports=i;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),u=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const a=require("../../_shared/utils/fn.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js");/* empty css */module.exports=l=>{const{visible:r,triggerRef:v,modalRef:t,draggable:i,fullscreen:o,alignCenter:s,top:n}=l,d=e.ref(0),f=e.ref(0),{x:c,y:g}=u.useDraggable(v,{onMove(){if(!m.value)return;const e=window.innerWidth-t.value.offsetWidth,u=window.innerHeight-t.value.offsetHeight;c.value=c.value>=e?e:c.value,c.value=c.value<=0?0:c.value,g.value=g.value>=u?u:g.value,g.value=g.value<=0?0:g.value}}),m=e.computed(()=>i.value&&!o.value),h=e.computed(()=>!m.value||c.value==d.value&&g.value==f.value?{left:a.valueToPx(d.value),top:a.valueToPx(f.value)}:{transform:`translate(${a.valueToPx(c.value)},${a.valueToPx(g.value)})`});return e.watch(()=>r.value,async e=>{if(!e)return;await a.sleep(0);const u=(window.innerWidth-t.value.offsetWidth)/2,l=(window.innerHeight-t.value.offsetHeight)/2,r=u<=0?0:u,v=l<=0?0:l;d.value=r,f.value=s.value?v:n.value,c.value=d.value,g.value=f.value},{immediate:!0}),{dragStyle:h,isDraggable:m}};
1
+ "use strict";const e=require("vue"),u=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js");const a=require("../../_shared/utils/dom.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js");/* empty css */module.exports=l=>{const{visible:v,triggerRef:r,modalRef:t,draggable:i,fullscreen:o,alignCenter:n,top:s}=l,d=e.ref(0),f=e.ref(0),{x:c,y:g}=u.useDraggable(r,{onMove(){if(!m.value)return;const e=window.innerWidth-t.value.offsetWidth,u=window.innerHeight-t.value.offsetHeight;c.value=c.value>=e?e:c.value,c.value=c.value<=0?0:c.value,g.value=g.value>=u?u:g.value,g.value=g.value<=0?0:g.value}}),m=e.computed(()=>i.value&&!o.value),h=e.computed(()=>!m.value||c.value==d.value&&g.value==f.value?{left:a.valueToPx(d.value),top:a.valueToPx(f.value)}:{transform:`translate(${a.valueToPx(c.value)},${a.valueToPx(g.value)})`});return e.watch(()=>v.value,async e=>{if(!e)return;await a.sleep(0);const u=(window.innerWidth-t.value.offsetWidth)/2,l=(window.innerHeight-t.value.offsetHeight)/2,v=u<=0?0:u,r=l<=0?0:l;d.value=v,f.value=n.value?r:s.value,c.value=d.value,g.value=f.value},{immediate:!0}),{dragStyle:h,isDraggable:m}};
@@ -8,9 +8,9 @@ declare const _default: import('vue').DefineComponent<NotificationProps, {}, {},
8
8
  footer: import('vue').RenderFunction;
9
9
  title: import('../_shared/type').RenderContent;
10
10
  class: import('../_shared/type').ClassName;
11
- id: string;
12
- onClose: (id: string | number) => void;
13
11
  closable: boolean;
12
+ onClose: (id: string | number) => void;
13
+ id: string;
14
14
  showIcon: boolean;
15
15
  isReset: boolean;
16
16
  closeIcon: import('vue').RenderFunction;
@@ -13,9 +13,9 @@ declare const Notification: {
13
13
  footer: import('vue').RenderFunction;
14
14
  title: import('../_shared/type').RenderContent;
15
15
  class: import('../_shared/type').ClassName;
16
- id: string;
17
- onClose: (id: string | number) => void;
18
16
  closable: boolean;
17
+ onClose: (id: string | number) => void;
18
+ id: string;
19
19
  showIcon: boolean;
20
20
  isReset: boolean;
21
21
  closeIcon: import('vue').RenderFunction;
@@ -36,9 +36,9 @@ declare const Notification: {
36
36
  footer: import('vue').RenderFunction;
37
37
  title: import('../_shared/type').RenderContent;
38
38
  class: import('../_shared/type').ClassName;
39
- id: string;
40
- onClose: (id: string | number) => void;
41
39
  closable: boolean;
40
+ onClose: (id: string | number) => void;
41
+ id: string;
42
42
  showIcon: boolean;
43
43
  isReset: boolean;
44
44
  closeIcon: import('vue').RenderFunction;
@@ -56,9 +56,9 @@ declare const Notification: {
56
56
  footer: import('vue').RenderFunction;
57
57
  title: import('../_shared/type').RenderContent;
58
58
  class: import('../_shared/type').ClassName;
59
- id: string;
60
- onClose: (id: string | number) => void;
61
59
  closable: boolean;
60
+ onClose: (id: string | number) => void;
61
+ id: string;
62
62
  showIcon: boolean;
63
63
  isReset: boolean;
64
64
  closeIcon: import('vue').RenderFunction;