yc-design-vue 1.0.9 → 1.1.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 (309) 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.vue2.js +1 -2
  30. package/es/Grid/Grid.vue2.js +1 -2
  31. package/es/Grid/GridCol.vue.js +1 -2
  32. package/es/Grid/GridItem.vue.js +1 -2
  33. package/es/Grid/GridRow.vue2.js +1 -2
  34. package/es/Icon/index.vue2.js +1 -2
  35. package/es/Image/Image.vue2.js +1 -2
  36. package/es/Image/ImagePreview.vue.d.ts +1 -1
  37. package/es/Image/ImagePreviewToolbar.vue2.js +6 -6
  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/InputOperaBtn.vue2.js +1 -1
  44. package/es/InputNumber/index.d.ts +6 -6
  45. package/es/InputTag/index.d.ts +5 -5
  46. package/es/InputTag/index.vue.d.ts +2 -2
  47. package/es/InputTag/index.vue2.js +1 -2
  48. package/es/Layout/LayoutSider.vue2.js +1 -2
  49. package/es/List/List.vue.d.ts +1 -1
  50. package/es/List/List.vue2.js +1 -2
  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.vue2.js +1 -2
  65. package/es/Pagination/Pagination.vue2.js +1 -2
  66. package/es/Progress/ProgressCircle.vue2.js +2 -3
  67. package/es/Progress/ProgressLine.vue2.js +1 -2
  68. package/es/Progress/ProgressSteps.vue.js +1 -2
  69. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  70. package/es/Radio/index.d.ts +3 -3
  71. package/es/Rate/index.vue2.js +1 -2
  72. package/es/ResizeBox/index.vue2.js +1 -2
  73. package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -2
  74. package/es/Select/Select.vue.d.ts +13 -14
  75. package/es/Select/Select.vue.js +1 -1
  76. package/es/Select/Select.vue2.js +1 -3
  77. package/es/Select/index.d.ts +13 -16
  78. package/es/Select/type.d.ts +0 -1
  79. package/es/Skeleton/SkeletonLine.vue.d.ts +1 -1
  80. package/es/Skeleton/SkeletonLine.vue2.js +1 -2
  81. package/es/Skeleton/index.d.ts +1 -1
  82. package/es/Slider/Slider.vue.d.ts +3 -3
  83. package/es/Slider/hooks/useSliderDraggable.js +1 -2
  84. package/es/Slider/index.d.ts +9 -9
  85. package/es/Space/index.d.ts +3 -3
  86. package/es/Space/index.vue.d.ts +1 -1
  87. package/es/Space/index.vue2.js +1 -2
  88. package/es/Spin/index.vue2.js +1 -2
  89. package/es/Split/index.d.ts +3 -3
  90. package/es/Split/index.vue.d.ts +1 -1
  91. package/es/Split/index.vue2.js +1 -2
  92. package/es/Statistic/Countdown.vue.d.ts +1 -1
  93. package/es/Statistic/Countdown.vue.js +1 -2
  94. package/es/Statistic/Statistic.vue.d.ts +1 -1
  95. package/es/Statistic/index.d.ts +6 -6
  96. package/es/Tabs/Tabs.vue2.js +1 -2
  97. package/es/Tabs/TabsNavInk.vue2.js +1 -2
  98. package/es/Tabs/hooks/useTabsScroll.js +1 -2
  99. package/es/Textarea/hooks/useTextareaHeight.js +1 -2
  100. package/es/TimePicker/TimePicker.vue.d.ts +5 -5
  101. package/es/TimePicker/TimePickerPanel.vue2.js +1 -2
  102. package/es/TimePicker/index.d.ts +15 -15
  103. package/es/Tooltip/index.d.ts +3 -3
  104. package/es/Tooltip/index.vue.d.ts +1 -1
  105. package/es/Tooltip/index.vue.js +1 -1
  106. package/es/Transfer/TransferPanel.vue2.js +2 -2
  107. package/es/Trigger/hooks/useContext.js +1 -2
  108. package/es/Trigger/hooks/useTriggerPosition.js +1 -2
  109. package/es/Typography/TypographyBase.vue.d.ts +6 -6
  110. package/es/Typography/TypographyBase.vue.js +1 -1
  111. package/es/Typography/TypographyBase.vue2.js +4 -8
  112. package/es/VerificationCode/index.vue2.js +1 -2
  113. package/es/_shared/components/ExpandTransition.vue3.js +1 -2
  114. package/es/_shared/components/Icon.vue3.js +1 -2
  115. package/es/_shared/components/IconButton.vue3.js +1 -2
  116. package/es/_shared/constants/index.d.ts +8 -0
  117. package/es/_shared/constants/index.js +9 -0
  118. package/es/_shared/icons/IconCopy.vue.js +16 -1
  119. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  120. package/es/_shared/icons/IconDelete.vue.js +1 -16
  121. package/es/_shared/icons/IconDelete.vue2.js +16 -1
  122. package/es/_shared/icons/IconEdit.vue.js +16 -1
  123. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  124. package/es/_shared/icons/IconExclamation.vue.js +27 -1
  125. package/es/_shared/icons/IconExclamation.vue2.js +1 -27
  126. package/es/_shared/icons/IconFullScreen.vue.js +16 -1
  127. package/es/_shared/icons/IconFullScreen.vue2.js +1 -16
  128. package/es/_shared/icons/IconMinus.vue.js +16 -1
  129. package/es/_shared/icons/IconMinus.vue2.js +1 -16
  130. package/es/_shared/icons/IconOriginSize.vue.js +22 -1
  131. package/es/_shared/icons/IconOriginSize.vue2.js +1 -22
  132. package/es/_shared/icons/IconRotateLeft.vue.js +16 -1
  133. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -16
  134. package/es/_shared/icons/IconRotateRight.vue.js +16 -1
  135. package/es/_shared/icons/IconRotateRight.vue2.js +1 -16
  136. package/es/_shared/icons/IconSearch.vue.js +1 -16
  137. package/es/_shared/icons/IconSearch.vue2.js +16 -1
  138. package/es/_shared/icons/IconSeparator.vue.js +1 -16
  139. package/es/_shared/icons/IconSeparator.vue2.js +16 -1
  140. package/es/_shared/icons/IconZoomIn.vue.js +16 -1
  141. package/es/_shared/icons/IconZoomIn.vue2.js +1 -16
  142. package/es/_shared/icons/IconZoomOut.vue.js +16 -1
  143. package/es/_shared/icons/IconZoomOut.vue2.js +1 -16
  144. package/es/_shared/utils/dom.d.ts +7 -18
  145. package/es/_shared/utils/dom.js +80 -13
  146. package/es/_shared/utils/index.d.ts +0 -1
  147. package/es/_shared/utils/time.d.ts +1 -37
  148. package/es/_shared/utils/time.js +2 -2
  149. package/es/_shared/utils/vue-utils.d.ts +4 -4
  150. package/es/_shared/utils/vue-utils.js +6 -6
  151. package/es/index.d.ts +13 -13
  152. package/es/style.css +1 -1
  153. package/lib/Affix/index.vue.js +1 -1
  154. package/lib/Anchor/Anchor.vue2.js +1 -1
  155. package/lib/AutoComplete/index.d.ts +16 -19
  156. package/lib/AutoComplete/index.vue.d.ts +27 -33
  157. package/lib/Avatar/Avatar.vue2.js +1 -1
  158. package/lib/Avatar/AvatarGroup.vue2.js +1 -1
  159. package/lib/Badge/index.vue2.js +1 -1
  160. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  161. package/lib/Button/hooks/useContext.d.ts +1 -1
  162. package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
  163. package/lib/Carousel/hooks/useContext.js +1 -1
  164. package/lib/Cascader/Cascader.vue.d.ts +7 -7
  165. package/lib/Cascader/Cascader.vue2.js +1 -1
  166. package/lib/Cascader/CascaderOption.vue2.js +1 -1
  167. package/lib/Cascader/index.d.ts +6 -6
  168. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  169. package/lib/Checkbox/index.d.ts +3 -3
  170. package/lib/ColorPicker/ColorControl.vue2.js +1 -1
  171. package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
  172. package/lib/ColorPicker/ColorPicker.vue.d.ts +2 -2
  173. package/lib/ColorPicker/index.d.ts +6 -6
  174. package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
  175. package/lib/Descriptions/index.d.ts +3 -3
  176. package/lib/Divider/index.d.ts +3 -3
  177. package/lib/Divider/index.vue.d.ts +1 -1
  178. package/lib/Divider/index.vue2.js +1 -1
  179. package/lib/Drawer/Drawer.vue2.js +1 -1
  180. package/lib/Dropdown/Dropdown.vue.js +1 -1
  181. package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
  182. package/lib/Grid/Grid.vue2.js +1 -1
  183. package/lib/Grid/GridCol.vue.js +1 -1
  184. package/lib/Grid/GridItem.vue.js +1 -1
  185. package/lib/Grid/GridRow.vue2.js +1 -1
  186. package/lib/Icon/index.vue2.js +1 -1
  187. package/lib/Image/Image.vue2.js +1 -1
  188. package/lib/Image/ImagePreview.vue.d.ts +1 -1
  189. package/lib/Image/ImagePreviewToolbar.vue2.js +1 -1
  190. package/lib/Image/index.d.ts +3 -3
  191. package/lib/Input/Input.vue.d.ts +1 -1
  192. package/lib/Input/index.d.ts +3 -3
  193. package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
  194. package/lib/InputNumber/InputNumber.vue2.js +1 -1
  195. package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
  196. package/lib/InputNumber/index.d.ts +6 -6
  197. package/lib/InputTag/index.d.ts +5 -5
  198. package/lib/InputTag/index.vue.d.ts +2 -2
  199. package/lib/InputTag/index.vue2.js +1 -1
  200. package/lib/Layout/LayoutSider.vue2.js +1 -1
  201. package/lib/List/List.vue.d.ts +1 -1
  202. package/lib/List/List.vue2.js +1 -1
  203. package/lib/List/hooks/useScrollReach.js +1 -1
  204. package/lib/List/index.d.ts +3 -3
  205. package/lib/Mention/index.d.ts +16 -19
  206. package/lib/Mention/index.vue.d.ts +32 -38
  207. package/lib/Menu/MenuItem.vue2.js +1 -1
  208. package/lib/Menu/MenuItemGroup.vue2.js +1 -1
  209. package/lib/Menu/hooks/useContext.js +1 -1
  210. package/lib/Message/Message.vue.d.ts +2 -2
  211. package/lib/Message/index.d.ts +6 -6
  212. package/lib/Modal/Modal.vue2.js +1 -1
  213. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  214. package/lib/Notification/Notification.vue.d.ts +2 -2
  215. package/lib/Notification/index.d.ts +6 -6
  216. package/lib/OverflowList/index.vue2.js +1 -1
  217. package/lib/Pagination/Pagination.vue2.js +1 -1
  218. package/lib/Progress/ProgressCircle.vue2.js +1 -1
  219. package/lib/Progress/ProgressLine.vue2.js +1 -1
  220. package/lib/Progress/ProgressSteps.vue.js +1 -1
  221. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  222. package/lib/Radio/index.d.ts +3 -3
  223. package/lib/Rate/index.vue2.js +1 -1
  224. package/lib/ResizeBox/index.vue2.js +1 -1
  225. package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
  226. package/lib/Select/Select.vue.d.ts +13 -14
  227. package/lib/Select/Select.vue.js +1 -1
  228. package/lib/Select/Select.vue2.js +1 -1
  229. package/lib/Select/index.d.ts +13 -16
  230. package/lib/Select/type.d.ts +0 -1
  231. package/lib/Skeleton/SkeletonLine.vue.d.ts +1 -1
  232. package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
  233. package/lib/Skeleton/index.d.ts +1 -1
  234. package/lib/Slider/Slider.vue.d.ts +3 -3
  235. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  236. package/lib/Slider/index.d.ts +9 -9
  237. package/lib/Space/index.d.ts +3 -3
  238. package/lib/Space/index.vue.d.ts +1 -1
  239. package/lib/Space/index.vue2.js +1 -1
  240. package/lib/Spin/index.vue2.js +1 -1
  241. package/lib/Split/index.d.ts +3 -3
  242. package/lib/Split/index.vue.d.ts +1 -1
  243. package/lib/Split/index.vue2.js +1 -1
  244. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  245. package/lib/Statistic/Countdown.vue.js +1 -1
  246. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  247. package/lib/Statistic/index.d.ts +6 -6
  248. package/lib/Tabs/Tabs.vue2.js +1 -1
  249. package/lib/Tabs/TabsNavInk.vue2.js +1 -1
  250. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  251. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  252. package/lib/TimePicker/TimePicker.vue.d.ts +5 -5
  253. package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
  254. package/lib/TimePicker/index.d.ts +15 -15
  255. package/lib/Tooltip/index.d.ts +3 -3
  256. package/lib/Tooltip/index.vue.d.ts +1 -1
  257. package/lib/Tooltip/index.vue.js +1 -1
  258. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  259. package/lib/Trigger/hooks/useContext.js +1 -1
  260. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  261. package/lib/Typography/TypographyBase.vue.d.ts +6 -6
  262. package/lib/Typography/TypographyBase.vue.js +1 -1
  263. package/lib/Typography/TypographyBase.vue2.js +1 -1
  264. package/lib/VerificationCode/index.vue2.js +1 -1
  265. package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
  266. package/lib/_shared/components/Icon.vue3.js +1 -1
  267. package/lib/_shared/components/IconButton.vue3.js +1 -1
  268. package/lib/_shared/constants/index.d.ts +8 -0
  269. package/lib/_shared/constants/index.js +1 -1
  270. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  271. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  272. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  273. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  274. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  275. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  276. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  277. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  278. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  279. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  280. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  281. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  282. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  283. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  284. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  285. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  286. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  287. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  288. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  289. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  290. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  291. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  292. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  293. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  294. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  295. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  296. package/lib/_shared/utils/dom.d.ts +7 -18
  297. package/lib/_shared/utils/dom.js +1 -1
  298. package/lib/_shared/utils/index.d.ts +0 -1
  299. package/lib/_shared/utils/time.d.ts +1 -37
  300. package/lib/_shared/utils/time.js +1 -1
  301. package/lib/_shared/utils/vue-utils.d.ts +4 -4
  302. package/lib/_shared/utils/vue-utils.js +1 -1
  303. package/lib/index.d.ts +13 -13
  304. package/lib/style.css +1 -1
  305. package/package.json +1 -1
  306. package/es/_shared/utils/fn.d.ts +0 -8
  307. package/es/_shared/utils/fn.js +0 -79
  308. package/lib/_shared/utils/fn.d.ts +0 -8
  309. package/lib/_shared/utils/fn.js +0 -1
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),l=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const t=require("../_shared/utils/fn.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js"),r=require("../_shared/utils/control.js"),a=require("./hooks/useScrollReach.js"),s=require("../Spin/index.js"),i=require("../Scrollbar/index.js"),n=require("../Pagination/index.js"),u=require("./ListVirtual.vue.js");;/* empty css */const c=require("./ListItem.vue.js"),d={class:"yc-list-content-wrapper"},v={key:0,class:"yc-list-header"},m={key:2,role:"list",class:"yc-list-content"},f={key:4,class:"yc-list-footer"},p=e.defineComponent({name:"List",__name:"List",props:{data:{default:()=>[]},size:{default:void 0},bordered:{type:Boolean,default:!0},split:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},paginationProps:{default:void 0},maxHeight:{default:void 0},bottomOffset:{default:0},virtualListProps:{default:void 0},scrollbar:{type:Boolean,default:!0}},emits:["scroll","reach-bottom","page-change","page-size-change"],setup(p,{emit:y}){var g,h;e.useSlots();const k=p,B=y,{data:b,paginationProps:S,virtualListProps:x,bottomOffset:q}=e.toRefs(k),{size:_,renderEmpty:j}=o.getGlobalConfig(k),z=e.ref(!1),C=e.ref(),$=e.ref(),L=e.computed(()=>!(!x.value||S.value)&&(x.value.itemHeight&&(!x.value.threshold||x.value.threshold>b.value.length))),P=e.computed(()=>{var e;return L.value?l.unrefElement($):null==(e=C.value)?void 0:e.getScrollRef()});a({scrollRef:P,offset:{bottom:q.value},onScroll:(e,l)=>{z.value=l.bottom,B("scroll",e)},onReachBottom:e=>{B("reach-bottom",e)}});const R=e.computed(()=>{var e;return null==(e=S.value)?void 0:e.current}),V=r(R,(null==(g=S.value)?void 0:g.current)||1,e=>{B("page-change",e)}),E=e.computed(()=>{var e;return null==(e=S.value)?void 0:e.pageSize}),N=r(E,(null==(h=S.value)?void 0:h.defaultPageSize)||10,e=>{V.value=1,B("page-change",e)}),w=e.computed(()=>S.value?b.value.slice((V.value-1)*N.value,V.value*N.value):b.value);return(l,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-list-wrapper",`yc-list-size-${e.unref(_)}`,{"yc-list-bordered":l.bordered,"yc-list-hoverable":l.hoverable,"yc-list-split":l.split}])},[e.createVNode(e.unref(s),{loading:l.loading,class:"yc-list-spin"},{default:e.withCtx(()=>{var r;return[e.createVNode(e.unref(i),{scrollbar:l.scrollbar,style:e.normalizeStyle({maxHeight:L.value?"":e.unref(t.valueToPx)(l.maxHeight)}),class:"yc-list",ref_key:"realListRef",ref:C},{default:e.withCtx(()=>[e.createElementVNode("div",d,[l.$slots.header?(e.openBlock(),e.createElementBlock("div",v,[e.renderSlot(l.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),L.value?(e.openBlock(),e.createBlock(u,{key:1,data:e.unref(b),"virtual-list-props":e.unref(x),style:e.normalizeStyle({maxHeight:e.unref(t.valueToPx)(l.maxHeight)}),ref_key:"virtualListRef",ref:$},e.createSlots({_:2},[l.$slots.item?{name:"item",fn:e.withCtx(t=>[e.renderSlot(l.$slots,"item",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),key:"0"}:void 0]),1032,["data","virtual-list-props","style"])):(e.openBlock(),e.createElementBlock("div",m,[e.renderSlot(l.$slots,"default",{},void 0,!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(t,o)=>e.renderSlot(l.$slots,"item",{key:o,index:o,item:t},void 0,!0)),128))])),l.$slots.default||w.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.$slots.empty||e.unref(j)("List")),{key:3})),l.$slots.footer?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(l.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0),l.$slots["scroll-loading"]&&z.value?(e.openBlock(),e.createBlock(c,{key:5,class:"yc-list-scroll-loading"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"scroll-loading",{},void 0,!0)]),_:3})):e.createCommentVNode("",!0)])]),_:3},8,["scrollbar","style"]),e.unref(S)?(e.openBlock(),e.createBlock(e.unref(n),{key:0,current:e.unref(V),"onUpdate:current":o[0]||(o[0]=l=>e.isRef(V)?V.value=l:null),"page-size":e.unref(N),"onUpdate:pageSize":o[1]||(o[1]=l=>e.isRef(N)?N.value=l:null),total:(null==(r=e.unref(S))?void 0:r.total)||0},null,8,["current","page-size","total"])):e.createCommentVNode("",!0)]}),_:3},8,["loading"])],2))}});module.exports=p;
1
+ "use strict";const e=require("vue"),l=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js"),r=require("../_shared/utils/control.js"),a=require("./hooks/useScrollReach.js"),s=require("../Spin/index.js"),i=require("../Scrollbar/index.js"),n=require("../Pagination/index.js"),u=require("./ListVirtual.vue.js");;/* empty css */const c=require("./ListItem.vue.js"),d={class:"yc-list-content-wrapper"},v={key:0,class:"yc-list-header"},m={key:2,role:"list",class:"yc-list-content"},f={key:4,class:"yc-list-footer"},p=e.defineComponent({name:"List",__name:"List",props:{data:{default:()=>[]},size:{default:void 0},bordered:{type:Boolean,default:!0},split:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},paginationProps:{default:void 0},maxHeight:{default:void 0},bottomOffset:{default:0},virtualListProps:{default:void 0},scrollbar:{type:Boolean,default:!0}},emits:["scroll","reach-bottom","page-change","page-size-change"],setup(p,{emit:y}){var g,h;e.useSlots();const k=p,B=y,{data:b,paginationProps:S,virtualListProps:x,bottomOffset:q}=e.toRefs(k),{size:_,renderEmpty:j}=o.getGlobalConfig(k),z=e.ref(!1),C=e.ref(),$=e.ref(),L=e.computed(()=>!(!x.value||S.value)&&(x.value.itemHeight&&(!x.value.threshold||x.value.threshold>b.value.length))),P=e.computed(()=>{var e;return L.value?l.unrefElement($):null==(e=C.value)?void 0:e.getScrollRef()});a({scrollRef:P,offset:{bottom:q.value},onScroll:(e,l)=>{z.value=l.bottom,B("scroll",e)},onReachBottom:e=>{B("reach-bottom",e)}});const R=e.computed(()=>{var e;return null==(e=S.value)?void 0:e.current}),V=r(R,(null==(g=S.value)?void 0:g.current)||1,e=>{B("page-change",e)}),E=e.computed(()=>{var e;return null==(e=S.value)?void 0:e.pageSize}),N=r(E,(null==(h=S.value)?void 0:h.defaultPageSize)||10,e=>{V.value=1,B("page-change",e)}),w=e.computed(()=>S.value?b.value.slice((V.value-1)*N.value,V.value*N.value):b.value);return(l,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-list-wrapper",`yc-list-size-${e.unref(_)}`,{"yc-list-bordered":l.bordered,"yc-list-hoverable":l.hoverable,"yc-list-split":l.split}])},[e.createVNode(e.unref(s),{loading:l.loading,class:"yc-list-spin"},{default:e.withCtx(()=>{var r;return[e.createVNode(e.unref(i),{scrollbar:l.scrollbar,style:e.normalizeStyle({maxHeight:L.value?"":e.unref(t.valueToPx)(l.maxHeight)}),class:"yc-list",ref_key:"realListRef",ref:C},{default:e.withCtx(()=>[e.createElementVNode("div",d,[l.$slots.header?(e.openBlock(),e.createElementBlock("div",v,[e.renderSlot(l.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),L.value?(e.openBlock(),e.createBlock(u,{key:1,data:e.unref(b),"virtual-list-props":e.unref(x),style:e.normalizeStyle({maxHeight:e.unref(t.valueToPx)(l.maxHeight)}),ref_key:"virtualListRef",ref:$},e.createSlots({_:2},[l.$slots.item?{name:"item",fn:e.withCtx(t=>[e.renderSlot(l.$slots,"item",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),key:"0"}:void 0]),1032,["data","virtual-list-props","style"])):(e.openBlock(),e.createElementBlock("div",m,[e.renderSlot(l.$slots,"default",{},void 0,!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(t,o)=>e.renderSlot(l.$slots,"item",{key:o,index:o,item:t},void 0,!0)),128))])),l.$slots.default||w.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.$slots.empty||e.unref(j)("List")),{key:3})),l.$slots.footer?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(l.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0),l.$slots["scroll-loading"]&&z.value?(e.openBlock(),e.createBlock(c,{key:5,class:"yc-list-scroll-loading"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"scroll-loading",{},void 0,!0)]),_:3})):e.createCommentVNode("",!0)])]),_:3},8,["scrollbar","style"]),e.unref(S)?(e.openBlock(),e.createBlock(e.unref(n),{key:0,current:e.unref(V),"onUpdate:current":o[0]||(o[0]=l=>e.isRef(V)?V.value=l:null),"page-size":e.unref(N),"onUpdate:pageSize":o[1]||(o[1]=l=>e.isRef(N)?N.value=l:null),total:(null==(r=e.unref(S))?void 0:r.total)||0},null,8,["current","page-size","total"])):e.createCommentVNode("",!0)]}),_:3},8,["loading"])],2))}});module.exports=p;
@@ -1 +1 @@
1
- "use strict";const e=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const o=require("../../_shared/utils/fn.js");require("../../_shared/utils/time.js"),require("vue"),require("../../Empty/index.js");/* empty css */module.exports=r=>{const{scrollRef:s,offset:l,onReachBottom:t,onReachLeft:u,onReachRight:n,onReachTop:i,onScroll:c}=r,{arrivedState:d}=e.useScroll(s,{onScroll:o.debounce(e=>{null==c||c(e,d),d.bottom&&(null==t||t(e)),d.left&&(null==u||u(e)),d.right&&(null==n||n(e)),d.top&&(null==i||i(e))},50),offset:l})};
1
+ "use strict";const e=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../../_shared/utils/dom.js");require("../../_shared/utils/time.js"),require("vue"),require("../../Empty/index.js");/* empty css */module.exports=r=>{const{scrollRef:l,offset:s,onReachBottom:t,onReachLeft:n,onReachRight:u,onReachTop:c,onScroll:i}=r,{arrivedState:d}=e.useScroll(l,{onScroll:o.debounce(e=>{null==i||i(e,d),d.bottom&&(null==t||t(e)),d.left&&(null==n||n(e)),d.right&&(null==u||u(e)),d.top&&(null==c||c(e))},50),offset:s})};
@@ -23,9 +23,9 @@ declare const List: {
23
23
  scrollbar: boolean;
24
24
  split: boolean;
25
25
  data: import('../_shared/type').ObjectData[];
26
- maxHeight: number | string;
27
26
  bordered: boolean;
28
27
  virtualListProps: import('..').VirtualListProps;
28
+ maxHeight: number | string;
29
29
  hoverable: boolean;
30
30
  paginationProps: import('..').PaginationProps;
31
31
  bottomOffset: number;
@@ -179,9 +179,9 @@ declare const List: {
179
179
  scrollbar: boolean;
180
180
  split: boolean;
181
181
  data: import('../_shared/type').ObjectData[];
182
- maxHeight: number | string;
183
182
  bordered: boolean;
184
183
  virtualListProps: import('..').VirtualListProps;
184
+ maxHeight: number | string;
185
185
  hoverable: boolean;
186
186
  paginationProps: import('..').PaginationProps;
187
187
  bottomOffset: number;
@@ -205,9 +205,9 @@ declare const List: {
205
205
  scrollbar: boolean;
206
206
  split: boolean;
207
207
  data: import('../_shared/type').ObjectData[];
208
- maxHeight: number | string;
209
208
  bordered: boolean;
210
209
  virtualListProps: import('..').VirtualListProps;
210
+ maxHeight: number | string;
211
211
  hoverable: boolean;
212
212
  paginationProps: import('..').PaginationProps;
213
213
  bottomOffset: number;
@@ -89,7 +89,6 @@ declare const Mention: {
89
89
  readonly maxTagCount?: number | undefined;
90
90
  readonly popupContainer?: import('..').PopupContainer | undefined;
91
91
  readonly bordered?: boolean | undefined;
92
- readonly defaultActivefirstOption?: boolean | undefined;
93
92
  readonly popupVisible?: boolean | undefined;
94
93
  readonly defaultPopupVisible?: boolean | undefined;
95
94
  readonly unmountonClose?: boolean | undefined;
@@ -116,10 +115,10 @@ declare const Mention: {
116
115
  readonly onClear?: (() => any) | undefined;
117
116
  readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
118
117
  readonly onSearch?: ((value: string) => any) | undefined;
119
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
120
118
  readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
121
119
  readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
122
120
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
121
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
123
122
  readonly onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
124
123
  readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
125
124
  readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -393,10 +392,10 @@ declare const Mention: {
393
392
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
394
393
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
395
394
  readonly onInput?: ((value: string) => any) | undefined;
396
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
397
395
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
398
396
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
399
397
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
398
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
400
399
  readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
401
400
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
402
401
  $attrs: {
@@ -414,17 +413,17 @@ declare const Mention: {
414
413
  $root: import('vue').ComponentPublicInstance | null;
415
414
  $parent: import('vue').ComponentPublicInstance | null;
416
415
  $host: Element | null;
417
- $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);
416
+ $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);
418
417
  $el: HTMLDivElement;
419
418
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
420
419
  onFocus?: ((ev: FocusEvent) => any) | undefined;
421
420
  onClear?: ((ev: MouseEvent) => any) | undefined;
422
421
  onBlur?: ((ev: FocusEvent) => any) | undefined;
423
422
  onInput?: ((value: string) => any) | undefined;
424
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
425
423
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
426
424
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
427
425
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
426
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
428
427
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
429
428
  }>, {
430
429
  focus(): void;
@@ -434,10 +433,10 @@ declare const Mention: {
434
433
  clear: (ev: MouseEvent) => any;
435
434
  blur: (ev: FocusEvent) => any;
436
435
  input: (value: string) => any;
437
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
438
436
  "update:modelValue": (value: import('..').InputTagValue) => any;
439
437
  "update:inputValue": (value: string) => any;
440
438
  "input-value-change": (value: string, ev: Event) => any;
439
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
441
440
  "press-enter": (ev: KeyboardEvent) => any;
442
441
  }, string, {
443
442
  size: import('..').Size;
@@ -498,10 +497,10 @@ declare const Mention: {
498
497
  onClear?: ((ev: MouseEvent) => any) | undefined;
499
498
  onBlur?: ((ev: FocusEvent) => any) | undefined;
500
499
  onInput?: ((value: string) => any) | undefined;
501
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
502
500
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
503
501
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
504
502
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
503
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
505
504
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
506
505
  }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
507
506
  focus(): void;
@@ -516,7 +515,7 @@ declare const Mention: {
516
515
  $root: import('vue').ComponentPublicInstance | null;
517
516
  $parent: import('vue').ComponentPublicInstance | null;
518
517
  $host: Element | null;
519
- $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: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => 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('..').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);
520
519
  $el: any;
521
520
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
522
521
  onChange?: ((value: import('..').SelectValue) => any) | undefined;
@@ -525,10 +524,10 @@ declare const Mention: {
525
524
  onClear?: (() => any) | undefined;
526
525
  onSelect?: ((value: import('..').SelectValue) => any) | undefined;
527
526
  onSearch?: ((value: string) => any) | undefined;
528
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
529
527
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
530
528
  "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
531
529
  "onInput-value-change"?: ((value: string) => any) | undefined;
530
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
532
531
  onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
533
532
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
534
533
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
@@ -543,10 +542,10 @@ declare const Mention: {
543
542
  clear: () => any;
544
543
  select: (value: import('..').SelectValue) => any;
545
544
  search: (value: string) => any;
546
- remove: (index: string | number, ev: Event) => any;
547
545
  "update:modelValue": (value: import('..').SelectValue) => any;
548
546
  "update:inputValue": (value: import('..').SelectValue) => any;
549
547
  "input-value-change": (value: string) => any;
548
+ remove: (index: string | number, ev: Event) => any;
550
549
  exceedLimit: (value: import('..').SelectValue, ev?: MouseEvent | undefined) => any;
551
550
  "dropdown-scroll": (ev: Event) => any;
552
551
  "dropdown-reach-bottom": (ev: Event) => any;
@@ -561,7 +560,6 @@ declare const Mention: {
561
560
  scrollbar: boolean;
562
561
  multiple: boolean;
563
562
  placeholder: string;
564
- triggerProps: import('..').TriggerProps;
565
563
  bordered: boolean;
566
564
  modelValue: import('..').SelectValue;
567
565
  defaultValue: import('..').SelectValue;
@@ -577,9 +575,9 @@ declare const Mention: {
577
575
  showEmpty: boolean;
578
576
  allowCreate: boolean;
579
577
  maxTagCount: number;
580
- defaultActivefirstOption: boolean;
581
578
  filterOption: import('..').FilterOption;
582
579
  virtualListProps: import('..').VirtualListProps;
580
+ triggerProps: import('..').TriggerProps;
583
581
  searchDelay: number;
584
582
  showHeaderOnEmpty: boolean;
585
583
  showFooterOnEmpty: boolean;
@@ -615,7 +613,6 @@ declare const Mention: {
615
613
  scrollbar: boolean;
616
614
  multiple: boolean;
617
615
  placeholder: string;
618
- triggerProps: import('..').TriggerProps;
619
616
  bordered: boolean;
620
617
  modelValue: import('..').SelectValue;
621
618
  defaultValue: import('..').SelectValue;
@@ -631,9 +628,9 @@ declare const Mention: {
631
628
  showEmpty: boolean;
632
629
  allowCreate: boolean;
633
630
  maxTagCount: number;
634
- defaultActivefirstOption: boolean;
635
631
  filterOption: import('..').FilterOption;
636
632
  virtualListProps: import('..').VirtualListProps;
633
+ triggerProps: import('..').TriggerProps;
637
634
  searchDelay: number;
638
635
  showHeaderOnEmpty: boolean;
639
636
  showFooterOnEmpty: boolean;
@@ -645,14 +642,14 @@ declare const Mention: {
645
642
  onClear?: (() => any) | undefined;
646
643
  onSelect?: ((value: import('..').SelectValue) => any) | undefined;
647
644
  onSearch?: ((value: string) => any) | undefined;
648
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
649
645
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
650
646
  "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
651
647
  "onInput-value-change"?: ((value: string) => any) | undefined;
648
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
652
649
  onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
653
650
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
654
651
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
655
- }>, "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<{
652
+ }>, "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<{
656
653
  focus(): void;
657
654
  blur(): void;
658
655
  getPopupRef(): import('..').TriggerInstance;
@@ -779,11 +776,11 @@ declare const Mention: {
779
776
  strict: boolean;
780
777
  type: "textarea" | "input";
781
778
  data: import('..').SelectOptions;
782
- triggerProps: import('..').TriggerProps;
783
779
  modelValue: string;
784
780
  defaultValue: string;
785
781
  allowClear: boolean;
786
782
  filterOption: (inputValue: string, option: import('..').SelectOptionData) => boolean;
783
+ triggerProps: import('..').TriggerProps;
787
784
  isSelectSetValue: boolean;
788
785
  isSearch: boolean;
789
786
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -812,11 +809,11 @@ declare const Mention: {
812
809
  strict: boolean;
813
810
  type: "textarea" | "input";
814
811
  data: import('..').SelectOptions;
815
- triggerProps: import('..').TriggerProps;
816
812
  modelValue: string;
817
813
  defaultValue: string;
818
814
  allowClear: boolean;
819
815
  filterOption: (inputValue: string, option: import('..').SelectOptionData) => boolean;
816
+ triggerProps: import('..').TriggerProps;
820
817
  isSelectSetValue: boolean;
821
818
  isSearch: boolean;
822
819
  }> & Omit<Readonly<import('..').AutoCompleteProps> & Readonly<{
@@ -831,7 +828,7 @@ declare const Mention: {
831
828
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
832
829
  "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
833
830
  "onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
834
- }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "triggerProps" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
831
+ }>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
835
832
  focus(): void;
836
833
  blur(): void;
837
834
  getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;