element-pe 2.2.96 → 2.2.98

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 (854) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +163 -130
  3. package/dist/index.full.min.js +23 -23
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +23 -23
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +163 -130
  8. package/dist/locale/sw.js +174 -0
  9. package/dist/locale/sw.min.js +2 -0
  10. package/dist/locale/sw.min.js.map +1 -0
  11. package/dist/locale/sw.min.mjs +2 -0
  12. package/dist/locale/sw.min.mjs.map +1 -0
  13. package/dist/locale/sw.mjs +166 -0
  14. package/es/components/affix/index.mjs +2 -2
  15. package/es/components/affix/src/affix.mjs +26 -119
  16. package/es/components/affix/src/affix.mjs.map +1 -1
  17. package/es/components/affix/src/affix2.mjs +119 -26
  18. package/es/components/affix/src/affix2.mjs.map +1 -1
  19. package/es/components/alert/index.d.ts +4 -4
  20. package/es/components/alert/index.mjs +2 -2
  21. package/es/components/alert/src/alert.d.ts +1 -1
  22. package/es/components/alert/src/alert.mjs +103 -38
  23. package/es/components/alert/src/alert.mjs.map +1 -1
  24. package/es/components/alert/src/alert.vue.d.ts +4 -4
  25. package/es/components/alert/src/alert2.mjs +38 -103
  26. package/es/components/alert/src/alert2.mjs.map +1 -1
  27. package/es/components/autocomplete/index.d.ts +65 -65
  28. package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  29. package/es/components/backtop/index.mjs +2 -2
  30. package/es/components/backtop/src/backtop.mjs +23 -61
  31. package/es/components/backtop/src/backtop.mjs.map +1 -1
  32. package/es/components/backtop/src/backtop2.mjs +61 -23
  33. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  34. package/es/components/badge/index.mjs +2 -2
  35. package/es/components/badge/src/badge.mjs +59 -17
  36. package/es/components/badge/src/badge.mjs.map +1 -1
  37. package/es/components/badge/src/badge2.mjs +17 -59
  38. package/es/components/badge/src/badge2.mjs.map +1 -1
  39. package/es/components/button/index.d.ts +5 -5
  40. package/es/components/button/index.mjs +3 -3
  41. package/es/components/button/src/button-group.mjs +30 -6
  42. package/es/components/button/src/button-group.mjs.map +1 -1
  43. package/es/components/button/src/button-group2.mjs +6 -30
  44. package/es/components/button/src/button-group2.mjs.map +1 -1
  45. package/es/components/button/src/button.d.ts +1 -1
  46. package/es/components/button/src/button.mjs +57 -76
  47. package/es/components/button/src/button.mjs.map +1 -1
  48. package/es/components/button/src/button.vue.d.ts +5 -5
  49. package/es/components/button/src/button2.mjs +76 -57
  50. package/es/components/button/src/button2.mjs.map +1 -1
  51. package/es/components/button/src/use-button.d.ts +1 -1
  52. package/es/components/calendar/index.d.ts +5 -5
  53. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  54. package/es/components/carousel/index.d.ts +5 -5
  55. package/es/components/carousel/index.mjs +2 -2
  56. package/es/components/carousel/src/carousel-item.mjs +69 -8
  57. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  58. package/es/components/carousel/src/carousel-item2.mjs +8 -69
  59. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  60. package/es/components/carousel/src/carousel.d.ts +1 -1
  61. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  62. package/es/components/cascader/index.d.ts +128 -128
  63. package/es/components/cascader/src/cascader.mjs +1 -1
  64. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  65. package/es/components/cascader-panel/src/index.mjs +1 -1
  66. package/es/components/cascader-panel/src/menu.mjs +1 -1
  67. package/es/components/cascader-panel/src/node.mjs +116 -209
  68. package/es/components/cascader-panel/src/node.mjs.map +1 -1
  69. package/es/components/cascader-panel/src/node2.mjs +209 -116
  70. package/es/components/cascader-panel/src/node2.mjs.map +1 -1
  71. package/es/components/cascader-panel/src/store.mjs +1 -1
  72. package/es/components/check-tag/index.mjs +2 -2
  73. package/es/components/check-tag/src/check-tag.mjs +31 -12
  74. package/es/components/check-tag/src/check-tag.mjs.map +1 -1
  75. package/es/components/check-tag/src/check-tag2.mjs +12 -31
  76. package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
  77. package/es/components/col/index.mjs +2 -2
  78. package/es/components/col/src/col.mjs +43 -66
  79. package/es/components/col/src/col.mjs.map +1 -1
  80. package/es/components/col/src/col2.mjs +66 -43
  81. package/es/components/col/src/col2.mjs.map +1 -1
  82. package/es/components/collapse/index.mjs +2 -2
  83. package/es/components/collapse/src/collapse-item.mjs +14 -94
  84. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  85. package/es/components/collapse/src/collapse-item2.mjs +94 -14
  86. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  87. package/es/components/collection/index.mjs +1 -1
  88. package/es/components/collection/src/collection.mjs +66 -10
  89. package/es/components/collection/src/collection.mjs.map +1 -1
  90. package/es/components/collection/src/collection2.mjs +10 -66
  91. package/es/components/collection/src/collection2.mjs.map +1 -1
  92. package/es/components/color-picker/index.d.ts +38 -38
  93. package/es/components/color-picker/index.mjs +2 -2
  94. package/es/components/color-picker/src/color-picker.mjs +431 -60
  95. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  96. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  97. package/es/components/color-picker/src/color-picker2.mjs +60 -431
  98. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  99. package/es/components/color-picker/src/components/predefine.mjs +1 -1
  100. package/es/components/countdown/index.mjs +2 -2
  101. package/es/components/countdown/src/countdown.mjs +23 -76
  102. package/es/components/countdown/src/countdown.mjs.map +1 -1
  103. package/es/components/countdown/src/countdown2.mjs +76 -23
  104. package/es/components/countdown/src/countdown2.mjs.map +1 -1
  105. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  106. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  107. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  108. package/es/components/dialog/index.d.ts +1 -1
  109. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  110. package/es/components/dialog/src/use-dialog.mjs +6 -4
  111. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  112. package/es/components/dropdown/index.d.ts +14 -14
  113. package/es/components/dropdown/index.mjs +2 -2
  114. package/es/components/dropdown/src/dropdown-item-impl.mjs +3 -3
  115. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  116. package/es/components/dropdown/src/dropdown-item.mjs +1 -1
  117. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  118. package/es/components/dropdown/src/dropdown-menu.mjs +2 -2
  119. package/es/components/dropdown/src/dropdown.mjs +310 -109
  120. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  121. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  122. package/es/components/dropdown/src/dropdown2.mjs +109 -310
  123. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  124. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  125. package/es/components/form/index.d.ts +12 -12
  126. package/es/components/form/index.mjs +2 -2
  127. package/es/components/form/src/form-item.d.ts +1 -1
  128. package/es/components/form/src/form-item.mjs +46 -328
  129. package/es/components/form/src/form-item.mjs.map +1 -1
  130. package/es/components/form/src/form-item.vue.d.ts +5 -5
  131. package/es/components/form/src/form-item2.mjs +328 -46
  132. package/es/components/form/src/form-item2.mjs.map +1 -1
  133. package/es/components/image/index.d.ts +1 -1
  134. package/es/components/image/index.mjs +2 -2
  135. package/es/components/image/src/image.mjs +229 -64
  136. package/es/components/image/src/image.mjs.map +1 -1
  137. package/es/components/image/src/image.vue.d.ts +1 -1
  138. package/es/components/image/src/image2.mjs +64 -229
  139. package/es/components/image/src/image2.mjs.map +1 -1
  140. package/es/components/image-viewer/index.mjs +2 -2
  141. package/es/components/image-viewer/src/image-viewer.mjs +406 -41
  142. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  143. package/es/components/image-viewer/src/image-viewer2.mjs +41 -406
  144. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  145. package/es/components/index.mjs +41 -41
  146. package/es/components/input/index.d.ts +12 -12
  147. package/es/components/input/src/input.vue.d.ts +12 -12
  148. package/es/components/input-number/index.d.ts +45 -45
  149. package/es/components/input-number/index.mjs +2 -2
  150. package/es/components/input-number/src/input-number.mjs +69 -335
  151. package/es/components/input-number/src/input-number.mjs.map +1 -1
  152. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  153. package/es/components/input-number/src/input-number2.mjs +335 -69
  154. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  155. package/es/components/link/index.mjs +2 -2
  156. package/es/components/link/src/link.mjs +21 -50
  157. package/es/components/link/src/link.mjs.map +1 -1
  158. package/es/components/link/src/link2.mjs +50 -21
  159. package/es/components/link/src/link2.mjs.map +1 -1
  160. package/es/components/menu/index.d.ts +3 -3
  161. package/es/components/menu/index.mjs +4 -4
  162. package/es/components/menu/src/menu-item-group.mjs +4 -35
  163. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  164. package/es/components/menu/src/menu-item-group2.mjs +35 -4
  165. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  166. package/es/components/menu/src/menu-item.mjs +14 -97
  167. package/es/components/menu/src/menu-item.mjs.map +1 -1
  168. package/es/components/menu/src/menu-item2.mjs +97 -14
  169. package/es/components/menu/src/menu-item2.mjs.map +1 -1
  170. package/es/components/menu/src/menu.d.ts +4 -4
  171. package/es/components/message/src/message.d.ts +1 -1
  172. package/es/components/message/src/message.vue.d.ts +4 -4
  173. package/es/components/message-box/src/index.mjs +6 -3
  174. package/es/components/message-box/src/index.mjs.map +1 -1
  175. package/es/components/message-box/src/message-box.type.d.ts +4 -0
  176. package/es/components/notification/index.mjs +1 -1
  177. package/es/components/notification/src/notification.d.ts +1 -1
  178. package/es/components/notification/src/notification.mjs +67 -151
  179. package/es/components/notification/src/notification.mjs.map +1 -1
  180. package/es/components/notification/src/notification.vue.d.ts +4 -4
  181. package/es/components/notification/src/notification2.mjs +151 -67
  182. package/es/components/notification/src/notification2.mjs.map +1 -1
  183. package/es/components/notification/src/notify.mjs +2 -2
  184. package/es/components/pagination/src/components/jumper.mjs +9 -60
  185. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  186. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  187. package/es/components/pagination/src/components/jumper2.mjs +60 -9
  188. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  189. package/es/components/pagination/src/components/next.mjs +38 -19
  190. package/es/components/pagination/src/components/next.mjs.map +1 -1
  191. package/es/components/pagination/src/components/next2.mjs +19 -38
  192. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  193. package/es/components/pagination/src/components/pager.mjs +218 -17
  194. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  195. package/es/components/pagination/src/components/pager2.mjs +17 -218
  196. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  197. package/es/components/pagination/src/components/prev.mjs +38 -18
  198. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  199. package/es/components/pagination/src/components/prev2.mjs +18 -38
  200. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  201. package/es/components/pagination/src/components/sizes.mjs +23 -71
  202. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  203. package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
  204. package/es/components/pagination/src/components/sizes2.mjs +71 -23
  205. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  206. package/es/components/pagination/src/pagination.mjs +5 -5
  207. package/es/components/popconfirm/index.d.ts +23 -23
  208. package/es/components/popconfirm/index.mjs +2 -2
  209. package/es/components/popconfirm/src/popconfirm.mjs +47 -110
  210. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  211. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  212. package/es/components/popconfirm/src/popconfirm2.mjs +110 -47
  213. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  214. package/es/components/popover/index.d.ts +18 -18
  215. package/es/components/popover/index.mjs +2 -2
  216. package/es/components/popover/src/popover.mjs +66 -111
  217. package/es/components/popover/src/popover.mjs.map +1 -1
  218. package/es/components/popover/src/popover.vue.d.ts +18 -18
  219. package/es/components/popover/src/popover2.mjs +111 -66
  220. package/es/components/popover/src/popover2.mjs.map +1 -1
  221. package/es/components/popper/index.mjs +2 -2
  222. package/es/components/popper/src/content.vue.d.ts +6 -6
  223. package/es/components/popper/src/popper.mjs +25 -32
  224. package/es/components/popper/src/popper.mjs.map +1 -1
  225. package/es/components/popper/src/popper2.mjs +32 -25
  226. package/es/components/popper/src/popper2.mjs.map +1 -1
  227. package/es/components/radio/index.mjs +4 -4
  228. package/es/components/radio/src/radio-button.mjs +9 -67
  229. package/es/components/radio/src/radio-button.mjs.map +1 -1
  230. package/es/components/radio/src/radio-button2.mjs +67 -9
  231. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  232. package/es/components/radio/src/radio-group.mjs +1 -1
  233. package/es/components/radio/src/radio.mjs +35 -76
  234. package/es/components/radio/src/radio.mjs.map +1 -1
  235. package/es/components/radio/src/radio2.mjs +76 -35
  236. package/es/components/radio/src/radio2.mjs.map +1 -1
  237. package/es/components/rate/src/rate.mjs +14 -10
  238. package/es/components/rate/src/rate.mjs.map +1 -1
  239. package/es/components/resizable-columns/index.mjs +4 -4
  240. package/es/components/resizable-columns/src/resizable-column.mjs +8 -145
  241. package/es/components/resizable-columns/src/resizable-column.mjs.map +1 -1
  242. package/es/components/resizable-columns/src/resizable-column2.mjs +145 -8
  243. package/es/components/resizable-columns/src/resizable-column2.mjs.map +1 -1
  244. package/es/components/resizable-columns/src/resizable-columns.mjs +264 -21
  245. package/es/components/resizable-columns/src/resizable-columns.mjs.map +1 -1
  246. package/es/components/resizable-columns/src/resizable-columns2.mjs +21 -264
  247. package/es/components/resizable-columns/src/resizable-columns2.mjs.map +1 -1
  248. package/es/components/result/index.d.ts +4 -4
  249. package/es/components/result/src/result.d.ts +1 -1
  250. package/es/components/result/src/result.vue.d.ts +4 -4
  251. package/es/components/roving-focus-group/index.mjs +3 -3
  252. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  253. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
  254. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  255. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
  256. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  257. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  258. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  259. package/es/components/row/index.mjs +2 -2
  260. package/es/components/row/src/row.mjs +29 -45
  261. package/es/components/row/src/row.mjs.map +1 -1
  262. package/es/components/row/src/row2.mjs +45 -29
  263. package/es/components/row/src/row2.mjs.map +1 -1
  264. package/es/components/scrollbar/index.mjs +1 -1
  265. package/es/components/scrollbar/src/bar.mjs +1 -1
  266. package/es/components/scrollbar/src/thumb.mjs +11 -134
  267. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  268. package/es/components/scrollbar/src/thumb2.mjs +134 -11
  269. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  270. package/es/components/select/index.d.ts +26 -26
  271. package/es/components/select/src/select.mjs +1 -1
  272. package/es/components/select/src/select.vue.d.ts +26 -26
  273. package/es/components/select/src/useSelect.d.ts +24 -24
  274. package/es/components/select-v2/index.d.ts +368 -568
  275. package/es/components/select-v2/src/defaults.d.ts +85 -128
  276. package/es/components/select-v2/src/defaults.mjs +26 -22
  277. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  278. package/es/components/select-v2/src/group-item.mjs +2 -3
  279. package/es/components/select-v2/src/group-item.mjs.map +1 -1
  280. package/es/components/select-v2/src/group-item.vue.d.ts +0 -2
  281. package/es/components/select-v2/src/option-item.mjs +8 -3
  282. package/es/components/select-v2/src/option-item.mjs.map +1 -1
  283. package/es/components/select-v2/src/option-item.vue.d.ts +32 -23
  284. package/es/components/select-v2/src/select-dropdown.d.ts +0 -2
  285. package/es/components/select-v2/src/select-dropdown.mjs +13 -10
  286. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  287. package/es/components/select-v2/src/select.mjs +11 -12
  288. package/es/components/select-v2/src/select.mjs.map +1 -1
  289. package/es/components/select-v2/src/select.types.d.ts +5 -11
  290. package/es/components/select-v2/src/select.vue.d.ts +184 -284
  291. package/es/components/select-v2/src/token.d.ts +1 -1
  292. package/es/components/select-v2/src/token.mjs.map +1 -1
  293. package/es/components/select-v2/src/useAllowCreate.mjs +8 -6
  294. package/es/components/select-v2/src/useAllowCreate.mjs.map +1 -1
  295. package/es/components/select-v2/src/useProps.d.ts +21 -0
  296. package/es/components/select-v2/src/useProps.mjs +26 -0
  297. package/es/components/select-v2/src/useProps.mjs.map +1 -0
  298. package/es/components/select-v2/src/useSelect.d.ts +64 -70
  299. package/es/components/select-v2/src/useSelect.mjs +31 -31
  300. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  301. package/es/components/skeleton/index.mjs +2 -2
  302. package/es/components/skeleton/src/skeleton.mjs +22 -49
  303. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  304. package/es/components/skeleton/src/skeleton2.mjs +49 -22
  305. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  306. package/es/components/slider/index.d.ts +75 -75
  307. package/es/components/slider/index.mjs +2 -2
  308. package/es/components/slider/src/button.vue.d.ts +6 -6
  309. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  310. package/es/components/slider/src/slider.mjs +96 -237
  311. package/es/components/slider/src/slider.mjs.map +1 -1
  312. package/es/components/slider/src/slider.vue.d.ts +75 -75
  313. package/es/components/slider/src/slider2.mjs +237 -96
  314. package/es/components/slider/src/slider2.mjs.map +1 -1
  315. package/es/components/steps/index.d.ts +16 -16
  316. package/es/components/steps/src/item.d.ts +1 -1
  317. package/es/components/steps/src/item.vue.d.ts +4 -4
  318. package/es/components/steps/src/steps.d.ts +2 -2
  319. package/es/components/steps/src/steps.vue.d.ts +8 -8
  320. package/es/components/switch/index.mjs +2 -2
  321. package/es/components/switch/src/switch.mjs +103 -268
  322. package/es/components/switch/src/switch.mjs.map +1 -1
  323. package/es/components/switch/src/switch2.mjs +268 -103
  324. package/es/components/switch/src/switch2.mjs.map +1 -1
  325. package/es/components/table/index.d.ts +1 -1
  326. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  327. package/es/components/table/src/table.vue.d.ts +1 -1
  328. package/es/components/tabs/index.mjs +2 -2
  329. package/es/components/tabs/src/tab-pane.mjs +14 -76
  330. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  331. package/es/components/tabs/src/tab-pane2.mjs +76 -14
  332. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  333. package/es/components/tag/index.d.ts +1 -1
  334. package/es/components/tag/index.mjs +2 -2
  335. package/es/components/tag/src/tag.mjs +33 -98
  336. package/es/components/tag/src/tag.mjs.map +1 -1
  337. package/es/components/tag/src/tag.vue.d.ts +1 -1
  338. package/es/components/tag/src/tag2.mjs +98 -33
  339. package/es/components/tag/src/tag2.mjs.map +1 -1
  340. package/es/components/teleport/index.mjs +2 -2
  341. package/es/components/teleport/src/teleport.mjs +44 -18
  342. package/es/components/teleport/src/teleport.mjs.map +1 -1
  343. package/es/components/teleport/src/teleport2.mjs +18 -44
  344. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  345. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  346. package/es/components/time-select/index.d.ts +110 -110
  347. package/es/components/time-select/src/time-select.vue.d.ts +55 -55
  348. package/es/components/tooltip/index.d.ts +6 -6
  349. package/es/components/tooltip/index.mjs +3 -3
  350. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  351. package/es/components/tooltip/src/tooltip.mjs +31 -175
  352. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  353. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  354. package/es/components/tooltip/src/tooltip2.mjs +175 -31
  355. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  356. package/es/components/tooltip/src/trigger.mjs +16 -73
  357. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  358. package/es/components/tooltip/src/trigger2.mjs +73 -16
  359. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  360. package/es/components/tooltip-v2/index.d.ts +4 -4
  361. package/es/components/tooltip-v2/index.mjs +3 -3
  362. package/es/components/tooltip-v2/src/content2.mjs +1 -1
  363. package/es/components/tooltip-v2/src/tooltip.mjs +77 -20
  364. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  365. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  366. package/es/components/tooltip-v2/src/tooltip2.mjs +20 -77
  367. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  368. package/es/components/tooltip-v2/src/trigger.mjs +91 -12
  369. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  370. package/es/components/tooltip-v2/src/trigger2.mjs +12 -91
  371. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  372. package/es/components/transfer/index.d.ts +65 -65
  373. package/es/components/transfer/index.mjs +2 -2
  374. package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
  375. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  376. package/es/components/transfer/src/transfer-panel2.mjs +1 -1
  377. package/es/components/transfer/src/transfer.mjs +162 -69
  378. package/es/components/transfer/src/transfer.mjs.map +1 -1
  379. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  380. package/es/components/transfer/src/transfer2.mjs +69 -162
  381. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  382. package/es/components/tree-select/src/select.d.ts +2 -1
  383. package/es/components/tree-select/src/select.mjs +4 -1
  384. package/es/components/tree-select/src/select.mjs.map +1 -1
  385. package/es/components/tree-v2/index.d.ts +1 -1
  386. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  387. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  388. package/es/components/upload/index.d.ts +5 -5
  389. package/es/components/upload/index.mjs +4 -4
  390. package/es/components/upload/src/upload-content.mjs +1 -1
  391. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  392. package/es/components/upload/src/upload-content2.mjs +2 -2
  393. package/es/components/upload/src/upload-dragger.mjs +11 -72
  394. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  395. package/es/components/upload/src/upload-dragger2.mjs +72 -11
  396. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  397. package/es/components/upload/src/upload-list.mjs +181 -26
  398. package/es/components/upload/src/upload-list.mjs.map +1 -1
  399. package/es/components/upload/src/upload-list2.mjs +26 -181
  400. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  401. package/es/components/upload/src/upload.mjs +102 -116
  402. package/es/components/upload/src/upload.mjs.map +1 -1
  403. package/es/components/upload/src/upload.vue.d.ts +5 -5
  404. package/es/components/upload/src/upload2.mjs +116 -102
  405. package/es/components/upload/src/upload2.mjs.map +1 -1
  406. package/es/components/upload/src/use-handlers.mjs +1 -1
  407. package/es/components/visual-hidden/index.mjs +3 -3
  408. package/es/components/visual-hidden/src/visual-hidden.mjs +7 -35
  409. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  410. package/es/components/visual-hidden/src/visual-hidden2.mjs +35 -7
  411. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  412. package/es/components/watermark/index.d.ts +2 -0
  413. package/es/components/watermark/index.mjs +2 -2
  414. package/es/components/watermark/src/useClips.mjs +11 -3
  415. package/es/components/watermark/src/useClips.mjs.map +1 -1
  416. package/es/components/watermark/src/watermark.d.ts +2 -0
  417. package/es/components/watermark/src/watermark.mjs +28 -197
  418. package/es/components/watermark/src/watermark.mjs.map +1 -1
  419. package/es/components/watermark/src/watermark.vue.d.ts +2 -0
  420. package/es/components/watermark/src/watermark2.mjs +207 -28
  421. package/es/components/watermark/src/watermark2.mjs.map +1 -1
  422. package/es/hooks/use-draggable/index.mjs +3 -1
  423. package/es/hooks/use-draggable/index.mjs.map +1 -1
  424. package/es/index.mjs +41 -41
  425. package/es/locale/lang/sw.d.ts +163 -0
  426. package/es/locale/lang/sw.mjs +165 -0
  427. package/es/locale/lang/sw.mjs.map +1 -0
  428. package/lib/components/affix/index.js +2 -2
  429. package/lib/components/affix/src/affix.js +27 -119
  430. package/lib/components/affix/src/affix.js.map +1 -1
  431. package/lib/components/affix/src/affix2.js +119 -27
  432. package/lib/components/affix/src/affix2.js.map +1 -1
  433. package/lib/components/alert/index.d.ts +4 -4
  434. package/lib/components/alert/index.js +2 -2
  435. package/lib/components/alert/src/alert.d.ts +1 -1
  436. package/lib/components/alert/src/alert.js +102 -39
  437. package/lib/components/alert/src/alert.js.map +1 -1
  438. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  439. package/lib/components/alert/src/alert2.js +39 -102
  440. package/lib/components/alert/src/alert2.js.map +1 -1
  441. package/lib/components/autocomplete/index.d.ts +65 -65
  442. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  443. package/lib/components/backtop/index.js +2 -2
  444. package/lib/components/backtop/src/backtop.js +24 -61
  445. package/lib/components/backtop/src/backtop.js.map +1 -1
  446. package/lib/components/backtop/src/backtop2.js +61 -24
  447. package/lib/components/backtop/src/backtop2.js.map +1 -1
  448. package/lib/components/badge/index.js +2 -2
  449. package/lib/components/badge/src/badge.js +59 -17
  450. package/lib/components/badge/src/badge.js.map +1 -1
  451. package/lib/components/badge/src/badge2.js +17 -59
  452. package/lib/components/badge/src/badge2.js.map +1 -1
  453. package/lib/components/button/index.d.ts +5 -5
  454. package/lib/components/button/index.js +3 -3
  455. package/lib/components/button/src/button-group.js +30 -6
  456. package/lib/components/button/src/button-group.js.map +1 -1
  457. package/lib/components/button/src/button-group2.js +6 -30
  458. package/lib/components/button/src/button-group2.js.map +1 -1
  459. package/lib/components/button/src/button.d.ts +1 -1
  460. package/lib/components/button/src/button.js +60 -76
  461. package/lib/components/button/src/button.js.map +1 -1
  462. package/lib/components/button/src/button.vue.d.ts +5 -5
  463. package/lib/components/button/src/button2.js +76 -60
  464. package/lib/components/button/src/button2.js.map +1 -1
  465. package/lib/components/button/src/use-button.d.ts +1 -1
  466. package/lib/components/calendar/index.d.ts +5 -5
  467. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  468. package/lib/components/carousel/index.d.ts +5 -5
  469. package/lib/components/carousel/index.js +2 -2
  470. package/lib/components/carousel/src/carousel-item.js +69 -8
  471. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  472. package/lib/components/carousel/src/carousel-item2.js +8 -69
  473. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  474. package/lib/components/carousel/src/carousel.d.ts +1 -1
  475. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  476. package/lib/components/cascader/index.d.ts +128 -128
  477. package/lib/components/cascader/src/cascader.js +1 -1
  478. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  479. package/lib/components/cascader-panel/src/index.js +1 -1
  480. package/lib/components/cascader-panel/src/menu.js +1 -1
  481. package/lib/components/cascader-panel/src/node.js +116 -209
  482. package/lib/components/cascader-panel/src/node.js.map +1 -1
  483. package/lib/components/cascader-panel/src/node2.js +209 -116
  484. package/lib/components/cascader-panel/src/node2.js.map +1 -1
  485. package/lib/components/cascader-panel/src/store.js +1 -1
  486. package/lib/components/check-tag/index.js +2 -2
  487. package/lib/components/check-tag/src/check-tag.js +31 -13
  488. package/lib/components/check-tag/src/check-tag.js.map +1 -1
  489. package/lib/components/check-tag/src/check-tag2.js +13 -31
  490. package/lib/components/check-tag/src/check-tag2.js.map +1 -1
  491. package/lib/components/col/index.js +2 -2
  492. package/lib/components/col/src/col.js +43 -66
  493. package/lib/components/col/src/col.js.map +1 -1
  494. package/lib/components/col/src/col2.js +66 -43
  495. package/lib/components/col/src/col2.js.map +1 -1
  496. package/lib/components/collapse/index.js +2 -2
  497. package/lib/components/collapse/src/collapse-item.js +14 -94
  498. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  499. package/lib/components/collapse/src/collapse-item2.js +94 -14
  500. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  501. package/lib/components/collection/index.js +1 -1
  502. package/lib/components/collection/src/collection.js +66 -9
  503. package/lib/components/collection/src/collection.js.map +1 -1
  504. package/lib/components/collection/src/collection2.js +9 -66
  505. package/lib/components/collection/src/collection2.js.map +1 -1
  506. package/lib/components/color-picker/index.d.ts +38 -38
  507. package/lib/components/color-picker/index.js +2 -2
  508. package/lib/components/color-picker/src/color-picker.js +429 -60
  509. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  510. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  511. package/lib/components/color-picker/src/color-picker2.js +60 -429
  512. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  513. package/lib/components/color-picker/src/components/predefine.js +1 -1
  514. package/lib/components/countdown/index.js +2 -2
  515. package/lib/components/countdown/src/countdown.js +24 -76
  516. package/lib/components/countdown/src/countdown.js.map +1 -1
  517. package/lib/components/countdown/src/countdown2.js +76 -24
  518. package/lib/components/countdown/src/countdown2.js.map +1 -1
  519. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  520. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  521. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  522. package/lib/components/dialog/index.d.ts +1 -1
  523. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  524. package/lib/components/dialog/src/use-dialog.js +6 -4
  525. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  526. package/lib/components/dropdown/index.d.ts +14 -14
  527. package/lib/components/dropdown/index.js +2 -2
  528. package/lib/components/dropdown/src/dropdown-item-impl.js +3 -3
  529. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  530. package/lib/components/dropdown/src/dropdown-item.js +1 -1
  531. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  532. package/lib/components/dropdown/src/dropdown-menu.js +2 -2
  533. package/lib/components/dropdown/src/dropdown.js +310 -118
  534. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  535. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  536. package/lib/components/dropdown/src/dropdown2.js +118 -310
  537. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  538. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  539. package/lib/components/form/index.d.ts +12 -12
  540. package/lib/components/form/index.js +2 -2
  541. package/lib/components/form/src/form-item.d.ts +1 -1
  542. package/lib/components/form/src/form-item.js +47 -332
  543. package/lib/components/form/src/form-item.js.map +1 -1
  544. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  545. package/lib/components/form/src/form-item2.js +332 -47
  546. package/lib/components/form/src/form-item2.js.map +1 -1
  547. package/lib/components/image/index.d.ts +1 -1
  548. package/lib/components/image/index.js +2 -2
  549. package/lib/components/image/src/image.js +228 -64
  550. package/lib/components/image/src/image.js.map +1 -1
  551. package/lib/components/image/src/image.vue.d.ts +1 -1
  552. package/lib/components/image/src/image2.js +64 -228
  553. package/lib/components/image/src/image2.js.map +1 -1
  554. package/lib/components/image-viewer/index.js +2 -2
  555. package/lib/components/image-viewer/src/image-viewer.js +406 -42
  556. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  557. package/lib/components/image-viewer/src/image-viewer2.js +42 -406
  558. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  559. package/lib/components/index.js +41 -41
  560. package/lib/components/input/index.d.ts +12 -12
  561. package/lib/components/input/src/input.vue.d.ts +12 -12
  562. package/lib/components/input-number/index.d.ts +45 -45
  563. package/lib/components/input-number/index.js +2 -2
  564. package/lib/components/input-number/src/input-number.js +68 -333
  565. package/lib/components/input-number/src/input-number.js.map +1 -1
  566. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  567. package/lib/components/input-number/src/input-number2.js +333 -68
  568. package/lib/components/input-number/src/input-number2.js.map +1 -1
  569. package/lib/components/link/index.js +2 -2
  570. package/lib/components/link/src/link.js +22 -50
  571. package/lib/components/link/src/link.js.map +1 -1
  572. package/lib/components/link/src/link2.js +50 -22
  573. package/lib/components/link/src/link2.js.map +1 -1
  574. package/lib/components/menu/index.d.ts +3 -3
  575. package/lib/components/menu/index.js +4 -4
  576. package/lib/components/menu/src/menu-item-group.js +4 -35
  577. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  578. package/lib/components/menu/src/menu-item-group2.js +35 -4
  579. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  580. package/lib/components/menu/src/menu-item.js +15 -97
  581. package/lib/components/menu/src/menu-item.js.map +1 -1
  582. package/lib/components/menu/src/menu-item2.js +97 -15
  583. package/lib/components/menu/src/menu-item2.js.map +1 -1
  584. package/lib/components/menu/src/menu.d.ts +4 -4
  585. package/lib/components/message/src/message.d.ts +1 -1
  586. package/lib/components/message/src/message.vue.d.ts +4 -4
  587. package/lib/components/message-box/src/index.js +6 -3
  588. package/lib/components/message-box/src/index.js.map +1 -1
  589. package/lib/components/message-box/src/message-box.type.d.ts +4 -0
  590. package/lib/components/notification/index.js +1 -1
  591. package/lib/components/notification/src/notification.d.ts +1 -1
  592. package/lib/components/notification/src/notification.js +68 -150
  593. package/lib/components/notification/src/notification.js.map +1 -1
  594. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  595. package/lib/components/notification/src/notification2.js +150 -68
  596. package/lib/components/notification/src/notification2.js.map +1 -1
  597. package/lib/components/notification/src/notify.js +2 -2
  598. package/lib/components/pagination/src/components/jumper.js +9 -60
  599. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  600. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  601. package/lib/components/pagination/src/components/jumper2.js +60 -9
  602. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  603. package/lib/components/pagination/src/components/next.js +38 -19
  604. package/lib/components/pagination/src/components/next.js.map +1 -1
  605. package/lib/components/pagination/src/components/next2.js +19 -38
  606. package/lib/components/pagination/src/components/next2.js.map +1 -1
  607. package/lib/components/pagination/src/components/pager.js +218 -17
  608. package/lib/components/pagination/src/components/pager.js.map +1 -1
  609. package/lib/components/pagination/src/components/pager2.js +17 -218
  610. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  611. package/lib/components/pagination/src/components/prev.js +38 -19
  612. package/lib/components/pagination/src/components/prev.js.map +1 -1
  613. package/lib/components/pagination/src/components/prev2.js +19 -38
  614. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  615. package/lib/components/pagination/src/components/sizes.js +23 -71
  616. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  617. package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
  618. package/lib/components/pagination/src/components/sizes2.js +71 -23
  619. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  620. package/lib/components/pagination/src/pagination.js +5 -5
  621. package/lib/components/popconfirm/index.d.ts +23 -23
  622. package/lib/components/popconfirm/index.js +2 -2
  623. package/lib/components/popconfirm/src/popconfirm.js +48 -110
  624. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  625. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  626. package/lib/components/popconfirm/src/popconfirm2.js +110 -48
  627. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  628. package/lib/components/popover/index.d.ts +18 -18
  629. package/lib/components/popover/index.js +2 -2
  630. package/lib/components/popover/src/popover.js +67 -111
  631. package/lib/components/popover/src/popover.js.map +1 -1
  632. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  633. package/lib/components/popover/src/popover2.js +111 -67
  634. package/lib/components/popover/src/popover2.js.map +1 -1
  635. package/lib/components/popper/index.js +2 -2
  636. package/lib/components/popper/src/content.vue.d.ts +6 -6
  637. package/lib/components/popper/src/popper.js +28 -32
  638. package/lib/components/popper/src/popper.js.map +1 -1
  639. package/lib/components/popper/src/popper2.js +32 -28
  640. package/lib/components/popper/src/popper2.js.map +1 -1
  641. package/lib/components/radio/index.js +4 -4
  642. package/lib/components/radio/src/radio-button.js +9 -67
  643. package/lib/components/radio/src/radio-button.js.map +1 -1
  644. package/lib/components/radio/src/radio-button2.js +67 -9
  645. package/lib/components/radio/src/radio-button2.js.map +1 -1
  646. package/lib/components/radio/src/radio-group.js +1 -1
  647. package/lib/components/radio/src/radio.js +37 -76
  648. package/lib/components/radio/src/radio.js.map +1 -1
  649. package/lib/components/radio/src/radio2.js +76 -37
  650. package/lib/components/radio/src/radio2.js.map +1 -1
  651. package/lib/components/rate/src/rate.js +14 -10
  652. package/lib/components/rate/src/rate.js.map +1 -1
  653. package/lib/components/resizable-columns/index.js +4 -4
  654. package/lib/components/resizable-columns/src/resizable-column.js +8 -145
  655. package/lib/components/resizable-columns/src/resizable-column.js.map +1 -1
  656. package/lib/components/resizable-columns/src/resizable-column2.js +145 -8
  657. package/lib/components/resizable-columns/src/resizable-column2.js.map +1 -1
  658. package/lib/components/resizable-columns/src/resizable-columns.js +264 -21
  659. package/lib/components/resizable-columns/src/resizable-columns.js.map +1 -1
  660. package/lib/components/resizable-columns/src/resizable-columns2.js +21 -264
  661. package/lib/components/resizable-columns/src/resizable-columns2.js.map +1 -1
  662. package/lib/components/result/index.d.ts +4 -4
  663. package/lib/components/result/src/result.d.ts +1 -1
  664. package/lib/components/result/src/result.vue.d.ts +4 -4
  665. package/lib/components/roving-focus-group/index.js +2 -2
  666. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  667. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
  668. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  669. package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
  670. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  671. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  672. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  673. package/lib/components/row/index.js +2 -2
  674. package/lib/components/row/src/row.js +31 -45
  675. package/lib/components/row/src/row.js.map +1 -1
  676. package/lib/components/row/src/row2.js +45 -31
  677. package/lib/components/row/src/row2.js.map +1 -1
  678. package/lib/components/scrollbar/index.js +1 -1
  679. package/lib/components/scrollbar/src/bar.js +1 -1
  680. package/lib/components/scrollbar/src/thumb.js +11 -134
  681. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  682. package/lib/components/scrollbar/src/thumb2.js +134 -11
  683. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  684. package/lib/components/select/index.d.ts +26 -26
  685. package/lib/components/select/src/select.js +1 -1
  686. package/lib/components/select/src/select.vue.d.ts +26 -26
  687. package/lib/components/select/src/useSelect.d.ts +24 -24
  688. package/lib/components/select-v2/index.d.ts +368 -568
  689. package/lib/components/select-v2/src/defaults.d.ts +85 -128
  690. package/lib/components/select-v2/src/defaults.js +26 -22
  691. package/lib/components/select-v2/src/defaults.js.map +1 -1
  692. package/lib/components/select-v2/src/group-item.js +2 -3
  693. package/lib/components/select-v2/src/group-item.js.map +1 -1
  694. package/lib/components/select-v2/src/group-item.vue.d.ts +0 -2
  695. package/lib/components/select-v2/src/option-item.js +7 -2
  696. package/lib/components/select-v2/src/option-item.js.map +1 -1
  697. package/lib/components/select-v2/src/option-item.vue.d.ts +32 -23
  698. package/lib/components/select-v2/src/select-dropdown.d.ts +0 -2
  699. package/lib/components/select-v2/src/select-dropdown.js +13 -10
  700. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  701. package/lib/components/select-v2/src/select.js +11 -12
  702. package/lib/components/select-v2/src/select.js.map +1 -1
  703. package/lib/components/select-v2/src/select.types.d.ts +5 -11
  704. package/lib/components/select-v2/src/select.vue.d.ts +184 -284
  705. package/lib/components/select-v2/src/token.d.ts +1 -1
  706. package/lib/components/select-v2/src/token.js.map +1 -1
  707. package/lib/components/select-v2/src/useAllowCreate.js +8 -6
  708. package/lib/components/select-v2/src/useAllowCreate.js.map +1 -1
  709. package/lib/components/select-v2/src/useProps.d.ts +21 -0
  710. package/lib/components/select-v2/src/useProps.js +31 -0
  711. package/lib/components/select-v2/src/useProps.js.map +1 -0
  712. package/lib/components/select-v2/src/useSelect.d.ts +64 -70
  713. package/lib/components/select-v2/src/useSelect.js +31 -31
  714. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  715. package/lib/components/skeleton/index.js +2 -2
  716. package/lib/components/skeleton/src/skeleton.js +22 -49
  717. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  718. package/lib/components/skeleton/src/skeleton2.js +49 -22
  719. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  720. package/lib/components/slider/index.d.ts +75 -75
  721. package/lib/components/slider/index.js +2 -2
  722. package/lib/components/slider/src/button.vue.d.ts +6 -6
  723. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  724. package/lib/components/slider/src/slider.js +97 -237
  725. package/lib/components/slider/src/slider.js.map +1 -1
  726. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  727. package/lib/components/slider/src/slider2.js +237 -97
  728. package/lib/components/slider/src/slider2.js.map +1 -1
  729. package/lib/components/steps/index.d.ts +16 -16
  730. package/lib/components/steps/src/item.d.ts +1 -1
  731. package/lib/components/steps/src/item.vue.d.ts +4 -4
  732. package/lib/components/steps/src/steps.d.ts +2 -2
  733. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  734. package/lib/components/switch/index.js +2 -2
  735. package/lib/components/switch/src/switch.js +103 -267
  736. package/lib/components/switch/src/switch.js.map +1 -1
  737. package/lib/components/switch/src/switch2.js +267 -103
  738. package/lib/components/switch/src/switch2.js.map +1 -1
  739. package/lib/components/table/index.d.ts +1 -1
  740. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  741. package/lib/components/table/src/table.vue.d.ts +1 -1
  742. package/lib/components/tabs/index.js +2 -2
  743. package/lib/components/tabs/src/tab-pane.js +14 -76
  744. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  745. package/lib/components/tabs/src/tab-pane2.js +76 -14
  746. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  747. package/lib/components/tag/index.d.ts +1 -1
  748. package/lib/components/tag/index.js +2 -2
  749. package/lib/components/tag/src/tag.js +34 -98
  750. package/lib/components/tag/src/tag.js.map +1 -1
  751. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  752. package/lib/components/tag/src/tag2.js +98 -34
  753. package/lib/components/tag/src/tag2.js.map +1 -1
  754. package/lib/components/teleport/index.js +2 -2
  755. package/lib/components/teleport/src/teleport.js +44 -18
  756. package/lib/components/teleport/src/teleport.js.map +1 -1
  757. package/lib/components/teleport/src/teleport2.js +18 -44
  758. package/lib/components/teleport/src/teleport2.js.map +1 -1
  759. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  760. package/lib/components/time-select/index.d.ts +110 -110
  761. package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
  762. package/lib/components/tooltip/index.d.ts +6 -6
  763. package/lib/components/tooltip/index.js +3 -3
  764. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  765. package/lib/components/tooltip/src/tooltip.js +34 -174
  766. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  767. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  768. package/lib/components/tooltip/src/tooltip2.js +174 -34
  769. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  770. package/lib/components/tooltip/src/trigger.js +16 -73
  771. package/lib/components/tooltip/src/trigger.js.map +1 -1
  772. package/lib/components/tooltip/src/trigger2.js +73 -16
  773. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  774. package/lib/components/tooltip-v2/index.d.ts +4 -4
  775. package/lib/components/tooltip-v2/index.js +3 -3
  776. package/lib/components/tooltip-v2/src/content2.js +1 -1
  777. package/lib/components/tooltip-v2/src/tooltip.js +77 -20
  778. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  779. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  780. package/lib/components/tooltip-v2/src/tooltip2.js +20 -77
  781. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  782. package/lib/components/tooltip-v2/src/trigger.js +91 -12
  783. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  784. package/lib/components/tooltip-v2/src/trigger2.js +12 -91
  785. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  786. package/lib/components/transfer/index.d.ts +65 -65
  787. package/lib/components/transfer/index.js +2 -2
  788. package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
  789. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  790. package/lib/components/transfer/src/transfer-panel2.js +1 -1
  791. package/lib/components/transfer/src/transfer.js +162 -73
  792. package/lib/components/transfer/src/transfer.js.map +1 -1
  793. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  794. package/lib/components/transfer/src/transfer2.js +73 -162
  795. package/lib/components/transfer/src/transfer2.js.map +1 -1
  796. package/lib/components/tree-select/src/select.d.ts +2 -1
  797. package/lib/components/tree-select/src/select.js +4 -1
  798. package/lib/components/tree-select/src/select.js.map +1 -1
  799. package/lib/components/tree-v2/index.d.ts +1 -1
  800. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  801. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  802. package/lib/components/upload/index.d.ts +5 -5
  803. package/lib/components/upload/index.js +4 -4
  804. package/lib/components/upload/src/upload-content.js +1 -1
  805. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  806. package/lib/components/upload/src/upload-content2.js +2 -2
  807. package/lib/components/upload/src/upload-dragger.js +12 -72
  808. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  809. package/lib/components/upload/src/upload-dragger2.js +72 -12
  810. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  811. package/lib/components/upload/src/upload-list.js +181 -27
  812. package/lib/components/upload/src/upload-list.js.map +1 -1
  813. package/lib/components/upload/src/upload-list2.js +27 -181
  814. package/lib/components/upload/src/upload-list2.js.map +1 -1
  815. package/lib/components/upload/src/upload.js +105 -116
  816. package/lib/components/upload/src/upload.js.map +1 -1
  817. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  818. package/lib/components/upload/src/upload2.js +116 -105
  819. package/lib/components/upload/src/upload2.js.map +1 -1
  820. package/lib/components/upload/src/use-handlers.js +1 -1
  821. package/lib/components/visual-hidden/index.js +2 -2
  822. package/lib/components/visual-hidden/src/visual-hidden.js +7 -35
  823. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  824. package/lib/components/visual-hidden/src/visual-hidden2.js +35 -7
  825. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  826. package/lib/components/watermark/index.d.ts +2 -0
  827. package/lib/components/watermark/index.js +2 -2
  828. package/lib/components/watermark/src/useClips.js +11 -3
  829. package/lib/components/watermark/src/useClips.js.map +1 -1
  830. package/lib/components/watermark/src/watermark.d.ts +2 -0
  831. package/lib/components/watermark/src/watermark.js +28 -197
  832. package/lib/components/watermark/src/watermark.js.map +1 -1
  833. package/lib/components/watermark/src/watermark.vue.d.ts +2 -0
  834. package/lib/components/watermark/src/watermark2.js +207 -28
  835. package/lib/components/watermark/src/watermark2.js.map +1 -1
  836. package/lib/hooks/use-draggable/index.js +3 -1
  837. package/lib/hooks/use-draggable/index.js.map +1 -1
  838. package/lib/index.js +41 -41
  839. package/lib/locale/lang/sw.d.ts +163 -0
  840. package/lib/locale/lang/sw.js +169 -0
  841. package/lib/locale/lang/sw.js.map +1 -0
  842. package/package.json +1 -1
  843. package/theme-chalk/el-form.css +1 -1
  844. package/theme-chalk/el-rate.css +1 -1
  845. package/theme-chalk/index.css +1 -1
  846. package/theme-chalk/src/form.scss +28 -0
  847. package/theme-chalk/src/rate.scss +7 -0
  848. package/web-types.json +1 -1
  849. package/es/components/select-v2/src/util.d.ts +0 -2
  850. package/es/components/select-v2/src/util.mjs +0 -26
  851. package/es/components/select-v2/src/util.mjs.map +0 -1
  852. package/lib/components/select-v2/src/util.d.ts +0 -2
  853. package/lib/components/select-v2/src/util.js +0 -30
  854. package/lib/components/select-v2/src/util.js.map +0 -1
@@ -9,8 +9,8 @@ import '../../../utils/index.mjs';
9
9
  import '../../form/index.mjs';
10
10
  import { ArrowUp } from '@element-plus/icons-vue';
11
11
  import { useAllowCreate } from './useAllowCreate.mjs';
12
- import { flattenOptions } from './util.mjs';
13
12
  import { useInput } from './useInput.mjs';
13
+ import { useProps } from './useProps.mjs';
14
14
  import { TABLE_INJECTION_KEY } from '../../table/src/tokens.mjs';
15
15
  import { useLocale } from '../../../hooks/use-locale/index.mjs';
16
16
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
@@ -35,6 +35,7 @@ const useSelect = (props, emit) => {
35
35
  const nsInput = useNamespace("input");
36
36
  const { form: elForm, formItem: elFormItem } = useFormItem();
37
37
  const table = inject(TABLE_INJECTION_KEY, void 0);
38
+ const { getLabel, getValue, getDisabled, getOptions } = useProps(props);
38
39
  const states = reactive({
39
40
  inputValue: DEFAULT_INPUT_PLACEHOLDER,
40
41
  displayInputValue: DEFAULT_INPUT_PLACEHOLDER,
@@ -109,37 +110,37 @@ const useSelect = (props, emit) => {
109
110
  const isValidOption = (o) => {
110
111
  const query = states.inputValue;
111
112
  const regexp = new RegExp(escapeStringRegexp(query), "i");
112
- const containsQueryString = query ? regexp.test(o[props.labelKey] || "") : true;
113
+ const containsQueryString = query ? regexp.test(getLabel(o) || "") : true;
113
114
  return containsQueryString;
114
115
  };
115
116
  if (props.loading) {
116
117
  return [];
117
118
  }
118
- return flattenOptions((Array.isArray(props.options) && props.options ? props.options : []).concat(states.createdOptions).map((v) => {
119
- if (isArray(v.options)) {
120
- const filtered = v.options.filter(isValidOption);
119
+ return [...props.options, ...states.createdOptions].reduce((all, item) => {
120
+ const options = getOptions(item);
121
+ if (isArray(options)) {
122
+ const filtered = options.filter(isValidOption);
121
123
  if (filtered.length > 0) {
122
- return {
123
- ...v,
124
- options: filtered
125
- };
126
- }
127
- } else {
128
- if (props.remote || isValidOption(v)) {
129
- return v;
124
+ all.push({
125
+ label: getLabel(item),
126
+ isTitle: true,
127
+ type: "Group"
128
+ }, ...filtered, { type: "Group" });
130
129
  }
130
+ } else if (props.remote || isValidOption(item)) {
131
+ all.push(item);
131
132
  }
132
- return null;
133
- }).filter((v) => v !== null));
133
+ return all;
134
+ }, []);
134
135
  });
135
136
  const filteredOptionsValueMap = computed(() => {
136
137
  const valueMap = /* @__PURE__ */ new Map();
137
138
  filteredOptions.value.forEach((option, index) => {
138
- valueMap.set(getValueKey(option.value), { option, index });
139
+ valueMap.set(getValueKey(getValue(option)), { option, index });
139
140
  });
140
141
  return valueMap;
141
142
  });
142
- const optionsAllDisabled = computed(() => filteredOptions.value.every((option) => option.disabled));
143
+ const optionsAllDisabled = computed(() => filteredOptions.value.every((option) => getDisabled(option)));
143
144
  const selectTableInput = computed(() => table && props.tableInput);
144
145
  const selectSize = computed(() => {
145
146
  if (selectTableInput.value) {
@@ -263,7 +264,7 @@ const useSelect = (props, emit) => {
263
264
  const update = (val) => {
264
265
  emit(UPDATE_MODEL_EVENT, val);
265
266
  emitChange(val);
266
- states.previousValue = val == null ? void 0 : val.toString();
267
+ states.previousValue = String(val);
267
268
  };
268
269
  const getValueIndex = (arr = [], value) => {
269
270
  if (!isObject(value)) {
@@ -283,9 +284,6 @@ const useSelect = (props, emit) => {
283
284
  const getValueKey = (item) => {
284
285
  return isObject(item) ? get(item, props.valueKey) : item;
285
286
  };
286
- const getLabel = (item) => {
287
- return isObject(item) ? item[props.labelKey] : item;
288
- };
289
287
  const resetInputHeight = () => {
290
288
  return nextTick(() => {
291
289
  var _a, _b;
@@ -317,7 +315,7 @@ const useSelect = (props, emit) => {
317
315
  var _a, _b;
318
316
  if (props.multiple) {
319
317
  let selectedOptions = props.modelValue.slice();
320
- const index = getValueIndex(selectedOptions, option.value);
318
+ const index = getValueIndex(selectedOptions, getValue(option));
321
319
  if (index > -1) {
322
320
  selectedOptions = [
323
321
  ...selectedOptions.slice(0, index),
@@ -326,7 +324,7 @@ const useSelect = (props, emit) => {
326
324
  states.cachedOptions.splice(index, 1);
327
325
  removeNewOption(option);
328
326
  } else if (props.multipleLimit <= 0 || selectedOptions.length < props.multipleLimit) {
329
- selectedOptions = [...selectedOptions, option.value];
327
+ selectedOptions = [...selectedOptions, getValue(option)];
330
328
  states.cachedOptions.push(option);
331
329
  selectNewOption(option);
332
330
  updateHoveringIndex(idx);
@@ -348,8 +346,8 @@ const useSelect = (props, emit) => {
348
346
  setSoftFocus();
349
347
  } else {
350
348
  selectedIndex.value = idx;
351
- states.selectedLabel = option[props.labelKey];
352
- update(option.value);
349
+ states.selectedLabel = getLabel(option);
350
+ update(getValue(option));
353
351
  expanded.value = false;
354
352
  states.isComposing = false;
355
353
  states.isSilentBlur = byClick;
@@ -362,7 +360,7 @@ const useSelect = (props, emit) => {
362
360
  };
363
361
  const deleteTag = (event, option) => {
364
362
  let selectedOptions = props.modelValue.slice();
365
- const index = getValueIndex(selectedOptions, option.value);
363
+ const index = getValueIndex(selectedOptions, getValue(option));
366
364
  if (index > -1 && !selectDisabled.value && !selectViewMode.value) {
367
365
  selectedOptions = [
368
366
  ...props.modelValue.slice(0, index),
@@ -370,7 +368,7 @@ const useSelect = (props, emit) => {
370
368
  ];
371
369
  states.cachedOptions.splice(index, 1);
372
370
  update(selectedOptions);
373
- emit("remove-tag", option.value);
371
+ emit("remove-tag", getValue(option));
374
372
  states.softFocus = true;
375
373
  removeNewOption(option);
376
374
  return nextTick(focusAndUpdatePopup);
@@ -468,7 +466,7 @@ const useSelect = (props, emit) => {
468
466
  }
469
467
  }
470
468
  const option = options[newIndex];
471
- if (option.disabled || option.type === "Group") {
469
+ if (getDisabled(option) || option.type === "Group") {
472
470
  return onKeyboardNavigate(direction, newIndex);
473
471
  } else {
474
472
  updateHoveringIndex(newIndex);
@@ -553,12 +551,12 @@ const useSelect = (props, emit) => {
553
551
  if (hasModelValue.value) {
554
552
  states.previousValue = props.modelValue;
555
553
  const options = filteredOptions.value;
556
- const selectedItemIndex = options.findIndex((option) => getValueKey(option.value) === getValueKey(props.modelValue));
554
+ const selectedItemIndex = options.findIndex((option) => getValueKey(getValue(option)) === getValueKey(props.modelValue));
557
555
  if (~selectedItemIndex) {
558
- states.selectedLabel = options[selectedItemIndex][props.labelKey];
556
+ states.selectedLabel = getLabel(options[selectedItemIndex]);
559
557
  updateHoveringIndex(selectedItemIndex);
560
558
  } else {
561
- states.selectedLabel = `${props.modelValue}`;
559
+ states.selectedLabel = getValueKey(props.modelValue);
562
560
  }
563
561
  } else {
564
562
  states.selectedLabel = "";
@@ -649,6 +647,8 @@ const useSelect = (props, emit) => {
649
647
  debouncedOnInputChange,
650
648
  deleteTag,
651
649
  getLabel,
650
+ getValue,
651
+ getDisabled,
652
652
  getValueKey,
653
653
  handleBlur,
654
654
  handleClear,
@@ -1 +1 @@
1
- {"version":3,"file":"useSelect.mjs","sources":["../../../../../../packages/components/select-v2/src/useSelect.ts"],"sourcesContent":["// @ts-nocheck\nimport { computed, inject, nextTick, onMounted, reactive, ref } from 'vue'\nimport { watch } from '../../config-provider'\nimport { isArray, isFunction, isObject } from '@vue/shared'\nimport { get, isEqual, isNil, debounce as lodashDebounce } from 'lodash-unified'\nimport { useResizeObserver } from '@vueuse/core'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n ValidateComponentsMap,\n debugWarn,\n escapeStringRegexp,\n} from '@element-plus/utils'\nimport { useFormItem, useFormSize } from '@element-plus/components/form'\n\nimport { ArrowUp } from '@element-plus/icons-vue'\nimport { useAllowCreate } from './useAllowCreate'\n\nimport { flattenOptions } from './util'\n\nimport { useInput } from './useInput'\nimport type ElTooltip from '@element-plus/components/tooltip'\nimport type { SelectProps } from './defaults'\nimport type { CSSProperties, ExtractPropTypes } from 'vue'\nimport type { Option, OptionType } from './select.types'\nimport { TABLE_INJECTION_KEY } from '../../table/src/tokens'\n\nconst DEFAULT_INPUT_PLACEHOLDER = ''\nconst MINIMUM_INPUT_WIDTH = 11\nconst TAG_BASE_WIDTH = {\n larget: 51,\n default: 42,\n small: 33,\n}\n\nconst useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {\n // inject\n const { t } = useLocale()\n const nsSelectV2 = useNamespace('select-v2')\n const nsInput = useNamespace('input')\n const { form: elForm, formItem: elFormItem } = useFormItem()\n const table = inject(TABLE_INJECTION_KEY, undefined)\n\n const states = reactive({\n inputValue: DEFAULT_INPUT_PLACEHOLDER,\n displayInputValue: DEFAULT_INPUT_PLACEHOLDER,\n calculatedWidth: 0,\n cachedPlaceholder: '',\n cachedOptions: [] as Option[],\n createdOptions: [] as Option[],\n createdLabel: '',\n createdSelected: false,\n currentPlaceholder: '',\n hoveringIndex: -1,\n comboBoxHovering: false,\n isOnComposition: false,\n isSilentBlur: false,\n isComposing: false,\n inputLength: 20,\n selectWidth: 200,\n initialInputHeight: 0,\n previousQuery: null,\n previousValue: undefined,\n query: '',\n selectedLabel: '',\n softFocus: false,\n tagInMultiLine: false,\n })\n\n // data refs\n const selectedIndex = ref(-1)\n const popperSize = ref(-1)\n\n // DOM & Component refs\n const controlRef = ref(null)\n const inputRef = ref(null) // el-input ref\n const menuRef = ref(null)\n const popper = ref<InstanceType<typeof ElTooltip> | null>(null)\n const selectRef = ref(null)\n const selectionRef = ref(null) // tags ref\n const calculatorRef = ref<HTMLElement>(null)\n\n // the controller of the expanded popup\n const expanded = ref(false)\n\n const selectDisabled = computed(() => props.disabled || elForm?.disabled)\n const selectViewMode = computed(() => props.viewMode || elForm?.viewMode)\n\n const popupHeight = computed(() => {\n const totalHeight = filteredOptions.value.length * 34\n return totalHeight > props.height ? props.height : totalHeight\n })\n\n const hasModelValue = computed(() => {\n return !isNil(props.modelValue)\n })\n\n const showClearBtn = computed(() => {\n const hasValue = props.multiple\n ? Array.isArray(props.modelValue) && props.modelValue.length > 0\n : hasModelValue.value\n\n const criteria =\n props.clearable &&\n !selectDisabled.value &&\n !selectViewMode.value &&\n states.comboBoxHovering &&\n hasValue\n return criteria\n })\n\n const iconComponent = computed(() =>\n props.remote && props.filterable ? '' : ArrowUp\n )\n\n const iconReverse = computed(\n () => iconComponent.value && nsSelectV2.is('reverse', expanded.value)\n )\n\n const validateState = computed(() => elFormItem?.validateState || '')\n const validateIcon = computed(\n () => ValidateComponentsMap[validateState.value]\n )\n\n const debounce = computed(() => (props.remote ? 300 : 0))\n\n // filteredOptions includes flatten the data into one dimensional array.\n const emptyText = computed(() => {\n const options = filteredOptions.value\n if (props.loading) {\n return props.loadingText || t('el.select.loading')\n } else {\n if (props.remote && states.inputValue === '' && options.length === 0)\n return false\n if (props.filterable && states.inputValue && options.length > 0) {\n return props.noMatchText || t('el.select.noMatch')\n }\n if (options.length === 0) {\n return props.noDataText || t('el.select.noData')\n }\n }\n return null\n })\n\n const filteredOptions = computed(() => {\n const isValidOption = (o: Option): boolean => {\n // fill the conditions here.\n const query = states.inputValue\n // when query was given, we should test on the label see whether the label contains the given query\n const regexp = new RegExp(escapeStringRegexp(query), 'i')\n const containsQueryString = query ? regexp.test(o[props.labelKey] || '') : true\n return containsQueryString\n }\n if (props.loading) {\n return []\n }\n return flattenOptions(\n ((Array.isArray(props.options) && props.options ? props.options : []) as OptionType[])\n .concat(states.createdOptions)\n .map((v) => {\n if (isArray(v.options)) {\n const filtered = v.options.filter(isValidOption)\n if (filtered.length > 0) {\n return {\n ...v,\n options: filtered,\n }\n }\n } else {\n if (props.remote || isValidOption(v as Option)) {\n return v\n }\n }\n return null\n })\n .filter((v) => v !== null)\n )\n })\n\n const filteredOptionsValueMap = computed(() => {\n const valueMap = new Map()\n\n filteredOptions.value.forEach((option, index) => {\n valueMap.set(getValueKey(option.value), { option, index })\n })\n return valueMap\n })\n\n const optionsAllDisabled = computed(() =>\n filteredOptions.value.every((option) => option.disabled)\n )\n\n const selectTableInput = computed(() => table && props.tableInput)\n const selectSize = computed(() => {\n if (selectTableInput.value) {\n return table!.props.size === 'small' ? 'small' : ''\n } else {\n const formSize = useFormSize()\n return formSize.value\n }\n })\n\n const collapseTagSize = computed(() =>\n 'small' === selectSize.value ? 'small' : 'default'\n )\n\n const tagMaxWidth = computed(() => {\n const select = selectionRef.value\n const size = collapseTagSize.value || 'default'\n const paddingLeft = select\n ? Number.parseInt(getComputedStyle(select).paddingLeft)\n : 0\n const paddingRight = select\n ? Number.parseInt(getComputedStyle(select).paddingRight)\n : 0\n return (\n states.selectWidth - paddingRight - paddingLeft - TAG_BASE_WIDTH[size]\n )\n })\n\n const calculatePopperSize = () => {\n popperSize.value = selectRef.value?.offsetWidth || 200\n }\n\n const inputWrapperStyle = computed(() => {\n return {\n width: `${\n states.calculatedWidth === 0\n ? MINIMUM_INPUT_WIDTH\n : Math.ceil(states.calculatedWidth) + MINIMUM_INPUT_WIDTH\n }px`,\n } as CSSProperties\n })\n\n const shouldShowPlaceholder = computed(() => {\n if (isArray(props.modelValue)) {\n return props.modelValue.length === 0 && !states.displayInputValue\n }\n\n // when it's not multiple mode, we only determine this flag based on filterable and expanded\n // when filterable flag is true, which means we have input box on the screen\n return props.filterable ? states.displayInputValue.length === 0 : true\n })\n\n const currentPlaceholder = computed(() => {\n const _placeholder = props.placeholder || t('el.select.placeholder')\n return props.multiple || isNil(props.modelValue)\n ? _placeholder\n : states.selectedLabel\n })\n\n // this obtains the actual popper DOM element.\n const popperRef = computed(() => popper.value?.popperRef?.contentRef)\n\n // the index with current value in options\n const indexRef = computed<number>(() => {\n if (props.multiple) {\n const len = (props.modelValue as []).length\n if (\n (props.modelValue as Array<any>).length > 0 &&\n filteredOptionsValueMap.value.has(props.modelValue[len - 1])\n ) {\n const { index } = filteredOptionsValueMap.value.get(\n props.modelValue[len - 1]\n )\n return index\n }\n } else {\n if (\n props.modelValue &&\n filteredOptionsValueMap.value.has(props.modelValue)\n ) {\n const { index } = filteredOptionsValueMap.value.get(props.modelValue)\n return index\n }\n }\n return -1\n })\n\n const dropdownMenuVisible = computed({\n get() {\n return expanded.value && emptyText.value !== false\n },\n set(val: boolean) {\n expanded.value = val\n },\n })\n\n const showTagList = computed(() =>\n states.cachedOptions.slice(0, props.maxCollapseTags)\n )\n\n const collapseTagList = computed(() =>\n states.cachedOptions.slice(props.maxCollapseTags)\n )\n\n // hooks\n const {\n createNewOption,\n removeNewOption,\n selectNewOption,\n clearAllNewOption,\n } = useAllowCreate(props, states)\n const {\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n } = useInput((e) => onInput(e))\n\n // methods\n const focusAndUpdatePopup = () => {\n inputRef.value?.focus?.()\n popper.value?.updatePopper()\n }\n\n const toggleMenu = () => {\n if (props.automaticDropdown) return\n if (!selectDisabled.value && !selectViewMode.value) {\n if (states.isComposing) states.softFocus = true\n return nextTick(() => {\n expanded.value = !expanded.value\n inputRef.value?.focus?.()\n })\n }\n }\n\n const onInputChange = () => {\n if (props.filterable && states.inputValue !== states.selectedLabel) {\n states.query = states.selectedLabel\n }\n handleQueryChange(states.inputValue)\n return nextTick(() => {\n createNewOption(states.inputValue)\n })\n }\n\n const debouncedOnInputChange = lodashDebounce(onInputChange, debounce.value)\n\n const handleQueryChange = (val: string) => {\n if (states.previousQuery === val) {\n return\n }\n states.previousQuery = val\n if (props.filterable && isFunction(props.filterMethod)) {\n props.filterMethod(val)\n } else if (\n props.filterable &&\n props.remote &&\n isFunction(props.remoteMethod)\n ) {\n props.remoteMethod(val)\n }\n }\n\n const emitChange = (val: any | any[]) => {\n if (!isEqual(props.modelValue, val)) {\n emit(CHANGE_EVENT, val)\n }\n }\n\n const update = (val: any) => {\n emit(UPDATE_MODEL_EVENT, val)\n emitChange(val)\n states.previousValue = val?.toString()\n }\n\n const getValueIndex = (arr = [], value: unknown) => {\n if (!isObject(value)) {\n return arr.indexOf(value)\n }\n const valueKey = props.valueKey\n let index = -1\n arr.some((item, i) => {\n if (get(item, valueKey) === get(value, valueKey)) {\n index = i\n return true\n }\n return false\n })\n return index\n }\n\n const getValueKey = (item: unknown) => {\n return isObject(item) ? get(item, props.valueKey) : item\n }\n\n // if the selected item is item then we get label via indexing\n // otherwise it should be string we simply return the item itself.\n const getLabel = (item: unknown) => {\n return isObject(item) ? item[props.labelKey] : item\n }\n\n const resetInputHeight = () => {\n return nextTick(() => {\n if (!inputRef.value) return\n const selection = selectionRef.value\n\n selectRef.value.height = selection.offsetHeight\n if (expanded.value && emptyText.value !== false) {\n popper.value?.updatePopper?.()\n }\n })\n }\n\n const handleResize = () => {\n resetInputWidth()\n calculatePopperSize()\n popper.value?.updatePopper?.()\n if (props.multiple) {\n return resetInputHeight()\n }\n }\n\n const resetInputWidth = () => {\n const select = selectionRef.value\n if (select) {\n states.selectWidth = select.getBoundingClientRect().width\n }\n }\n\n const onSelect = (option: Option, idx: number, byClick = true) => {\n if (props.multiple) {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, option.value)\n if (index > -1) {\n selectedOptions = [\n ...selectedOptions.slice(0, index),\n ...selectedOptions.slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n removeNewOption(option)\n } else if (\n props.multipleLimit <= 0 ||\n selectedOptions.length < props.multipleLimit\n ) {\n selectedOptions = [...selectedOptions, option.value]\n states.cachedOptions.push(option)\n selectNewOption(option)\n updateHoveringIndex(idx)\n }\n update(selectedOptions)\n if (option.created) {\n states.query = ''\n handleQueryChange('')\n states.inputLength = 20\n }\n if (props.filterable && !props.reserveKeyword) {\n inputRef.value.focus?.()\n onUpdateInputValue('')\n }\n if (props.filterable) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n resetInputHeight()\n setSoftFocus()\n } else {\n selectedIndex.value = idx\n states.selectedLabel = option[props.labelKey]\n update(option.value)\n expanded.value = false\n states.isComposing = false\n states.isSilentBlur = byClick\n selectNewOption(option)\n if (!option.created) {\n clearAllNewOption()\n }\n updateHoveringIndex(idx)\n }\n }\n\n const deleteTag = (event: MouseEvent, option: Option) => {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, option.value)\n\n if (index > -1 && !selectDisabled.value && !selectViewMode.value) {\n selectedOptions = [\n ...(props.modelValue as Array<unknown>).slice(0, index),\n ...(props.modelValue as Array<unknown>).slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n update(selectedOptions)\n emit('remove-tag', option.value)\n states.softFocus = true\n removeNewOption(option)\n return nextTick(focusAndUpdatePopup)\n }\n event.stopPropagation()\n }\n\n const handleFocus = (event: FocusEvent) => {\n const focused = states.isComposing\n states.isComposing = true\n if (!states.softFocus) {\n // If already in the focus state, shouldn't trigger event\n if (!focused) emit('focus', event)\n } else {\n states.softFocus = false\n }\n }\n\n const handleBlur = (event: FocusEvent) => {\n states.softFocus = false\n\n // reset input value when blurred\n // https://github.com/ElemeFE/element/pull/10822\n return nextTick(() => {\n inputRef.value?.blur?.()\n if (calculatorRef.value) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n if (states.isSilentBlur) {\n states.isSilentBlur = false\n } else {\n if (states.isComposing) {\n emit('blur', event)\n }\n }\n states.isComposing = false\n })\n }\n\n // keyboard handlers\n const handleEsc = () => {\n if (states.displayInputValue.length > 0) {\n onUpdateInputValue('')\n } else {\n expanded.value = false\n }\n }\n\n const handleDel = (e: KeyboardEvent) => {\n if (states.displayInputValue.length === 0) {\n e.preventDefault()\n const selected = (props.modelValue as Array<any>).slice()\n selected.pop()\n removeNewOption(states.cachedOptions.pop())\n update(selected)\n }\n }\n\n const handleClear = () => {\n let emptyValue: string | any[]\n if (isArray(props.modelValue)) {\n emptyValue = []\n } else {\n emptyValue = undefined\n }\n\n states.softFocus = true\n if (props.multiple) {\n states.cachedOptions = []\n } else {\n states.selectedLabel = ''\n }\n expanded.value = false\n update(emptyValue)\n emit('clear')\n clearAllNewOption()\n return nextTick(focusAndUpdatePopup)\n }\n\n const onUpdateInputValue = (val: string) => {\n states.displayInputValue = val\n states.inputValue = val\n }\n\n const onKeyboardNavigate = (\n direction: 'forward' | 'backward',\n hoveringIndex: number = undefined\n ) => {\n const options = filteredOptions.value\n if (\n !['forward', 'backward'].includes(direction) ||\n selectDisabled.value ||\n selectViewMode.value ||\n options.length <= 0 ||\n optionsAllDisabled.value\n ) {\n return\n }\n if (!expanded.value) {\n return toggleMenu()\n }\n if (hoveringIndex === undefined) {\n hoveringIndex = states.hoveringIndex\n }\n let newIndex = -1\n if (direction === 'forward') {\n newIndex = hoveringIndex + 1\n if (newIndex >= options.length) {\n // return to the first option\n newIndex = 0\n }\n } else if (direction === 'backward') {\n newIndex = hoveringIndex - 1\n if (newIndex < 0 || newIndex >= options.length) {\n // navigate to the last one\n newIndex = options.length - 1\n }\n }\n const option = options[newIndex]\n if (option.disabled || option.type === 'Group') {\n // prevent dispatching multiple nextTick callbacks.\n return onKeyboardNavigate(direction, newIndex)\n } else {\n updateHoveringIndex(newIndex)\n scrollToItem(newIndex)\n }\n }\n\n const onKeyboardSelect = () => {\n if (!expanded.value) {\n return toggleMenu()\n } else if (\n ~states.hoveringIndex &&\n filteredOptions.value[states.hoveringIndex]\n ) {\n onSelect(\n filteredOptions.value[states.hoveringIndex],\n states.hoveringIndex,\n false\n )\n }\n }\n\n const updateHoveringIndex = (idx: number) => {\n states.hoveringIndex = idx\n }\n\n const resetHoveringIndex = () => {\n states.hoveringIndex = -1\n }\n\n const setSoftFocus = () => {\n const _input = inputRef.value\n if (_input) {\n _input.focus?.()\n }\n }\n\n const onInput = (event) => {\n const value = event.target.value\n onUpdateInputValue(value)\n if (states.displayInputValue.length > 0 && !expanded.value) {\n expanded.value = true\n }\n\n states.calculatedWidth = calculatorRef.value.getBoundingClientRect().width\n if (props.multiple) {\n resetInputHeight()\n }\n if (props.remote) {\n debouncedOnInputChange()\n } else {\n return onInputChange()\n }\n }\n\n const handleClickOutside = () => {\n expanded.value = false\n return handleBlur()\n }\n\n const handleMenuEnter = () => {\n states.inputValue = states.displayInputValue\n return nextTick(() => {\n if (~indexRef.value) {\n updateHoveringIndex(indexRef.value)\n scrollToItem(states.hoveringIndex)\n }\n })\n }\n\n const scrollToItem = (index: number) => {\n menuRef.value.scrollToItem(index)\n }\n\n const initStates = () => {\n resetHoveringIndex()\n if (props.multiple) {\n if ((props.modelValue as Array<any>).length > 0) {\n let initHovering = false\n states.cachedOptions.length = 0\n states.previousValue = props.modelValue.toString()\n\n for (const value of props.modelValue) {\n const selectValue = getValueKey(value)\n\n if (filteredOptionsValueMap.value.has(selectValue)) {\n const { index, option } =\n filteredOptionsValueMap.value.get(selectValue)\n\n states.cachedOptions.push(option)\n if (!initHovering) {\n updateHoveringIndex(index)\n }\n initHovering = true\n }\n }\n } else {\n states.cachedOptions = []\n states.previousValue = undefined\n }\n } else {\n if (hasModelValue.value) {\n states.previousValue = props.modelValue\n const options = filteredOptions.value\n const selectedItemIndex = options.findIndex(\n (option) =>\n getValueKey(option.value) === getValueKey(props.modelValue)\n )\n if (~selectedItemIndex) {\n states.selectedLabel = options[selectedItemIndex][props.labelKey]\n updateHoveringIndex(selectedItemIndex)\n } else {\n states.selectedLabel = `${props.modelValue}`\n }\n } else {\n states.selectedLabel = ''\n states.previousValue = undefined\n }\n }\n clearAllNewOption()\n calculatePopperSize()\n }\n\n // in order to track these individually, we need to turn them into refs instead of watching the entire\n // reactive object which could cause perf penalty when unnecessary field gets changed the watch method will\n // be invoked.\n watch(expanded, (val) => {\n emit('visible-change', val)\n if (val) {\n popper.value.update?.()\n // the purpose of this function is to differ the blur event trigger mechanism\n } else {\n states.displayInputValue = ''\n states.previousQuery = null\n createNewOption('')\n }\n })\n\n watch(\n () => props.modelValue,\n (val, oldVal) => {\n if (!val || val.toString() !== states.previousValue) {\n initStates()\n }\n if (!isEqual(val, oldVal) && props.validateEvent) {\n elFormItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n },\n {\n deep: true,\n }\n )\n\n watch(\n () => props.options,\n () => {\n const input = inputRef.value\n // filter or remote-search scenarios are not initialized\n if (!input || (input && document.activeElement !== input)) {\n initStates()\n }\n },\n {\n deep: true,\n }\n )\n\n // fix the problem that scrollTop is not reset in filterable mode\n watch(filteredOptions, () => {\n return menuRef.value && nextTick(menuRef.value.resetScrollTop)\n })\n\n watch(\n () => dropdownMenuVisible.value,\n (val) => {\n if (!val) {\n resetHoveringIndex()\n }\n }\n )\n\n onMounted(() => {\n initStates()\n })\n useResizeObserver(selectRef, handleResize)\n\n return {\n // data exports\n collapseTagSize,\n currentPlaceholder,\n expanded,\n emptyText,\n popupHeight,\n debounce,\n filteredOptions,\n iconComponent,\n iconReverse,\n inputWrapperStyle,\n popperSize,\n dropdownMenuVisible,\n hasModelValue,\n // readonly,\n shouldShowPlaceholder,\n selectDisabled,\n selectViewMode,\n selectTableInput,\n selectSize,\n showClearBtn,\n states,\n tagMaxWidth,\n nsSelectV2,\n nsInput,\n\n // refs items exports\n calculatorRef,\n controlRef,\n inputRef,\n menuRef,\n popper,\n selectRef,\n selectionRef,\n\n popperRef,\n\n validateState,\n validateIcon,\n showTagList,\n collapseTagList,\n\n // methods exports\n debouncedOnInputChange,\n deleteTag,\n getLabel,\n getValueKey,\n handleBlur,\n handleClear,\n handleClickOutside,\n handleDel,\n handleEsc,\n handleFocus,\n handleMenuEnter,\n handleResize,\n toggleMenu,\n scrollTo: scrollToItem,\n onInput,\n onKeyboardNavigate,\n onKeyboardSelect,\n onSelect,\n onHover: updateHoveringIndex,\n onUpdateInputValue,\n handleCompositionStart,\n handleCompositionEnd,\n handleCompositionUpdate,\n }\n}\n\nexport default useSelect\n"],"names":["debounce","lodashDebounce"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,cAAc,GAAG;AACvB,EAAE,MAAM,EAAE,EAAE;AACZ,EAAE,OAAO,EAAE,EAAE;AACb,EAAE,KAAK,EAAE,EAAE;AACX,CAAC,CAAC;AACG,MAAC,SAAS,GAAG,C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AAe;AACnB,IAAI,sBAAsB;AAC1B,IAAI,SAAS;AACb,IAAI,QAAQ;AACZ,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,WAAW;AACf,IAAI,kBAAkB;AACtB,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,eAAe;AACnB,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,YAAY;AAC1B,IAAI,OAAO;AACX,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,QAAQ;AACZ,IAAI,OAAO,EAAE,mBAAmB;AAChC,IAAI,kBAAkB;AACtB,IAAI,sBAAsB;AAC1B,IAAI,oBAAoB;AACxB,IAAI,uBAAuB;AAC3B,GAAG,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"useSelect.mjs","sources":["../../../../../../packages/components/select-v2/src/useSelect.ts"],"sourcesContent":["// @ts-nocheck\nimport { computed, inject, nextTick, onMounted, reactive, ref } from 'vue'\nimport { watch } from '../../config-provider'\nimport { isArray, isFunction, isObject } from '@vue/shared'\nimport { get, isEqual, isNil, debounce as lodashDebounce } from 'lodash-unified'\nimport { useResizeObserver } from '@vueuse/core'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n ValidateComponentsMap,\n debugWarn,\n escapeStringRegexp,\n} from '@element-plus/utils'\nimport { useFormItem, useFormSize } from '@element-plus/components/form'\n\nimport { ArrowUp } from '@element-plus/icons-vue'\nimport { useAllowCreate } from './useAllowCreate'\nimport { useInput } from './useInput'\nimport { useProps } from './useProps'\n\nimport type { CSSProperties } from 'vue'\nimport type ElTooltip from '@element-plus/components/tooltip'\nimport type { Option, OptionType } from './select.types'\nimport type { ISelectProps } from './token'\nimport { TABLE_INJECTION_KEY } from '../../table/src/tokens'\n\nconst DEFAULT_INPUT_PLACEHOLDER = ''\nconst MINIMUM_INPUT_WIDTH = 11\nconst TAG_BASE_WIDTH = {\n larget: 51,\n default: 42,\n small: 33,\n}\n\nconst useSelect = (props: ISelectProps, emit) => {\n // inject\n const { t } = useLocale()\n const nsSelectV2 = useNamespace('select-v2')\n const nsInput = useNamespace('input')\n const { form: elForm, formItem: elFormItem } = useFormItem()\n const table = inject(TABLE_INJECTION_KEY, undefined)\n const { getLabel, getValue, getDisabled, getOptions } = useProps(props)\n\n const states = reactive({\n inputValue: DEFAULT_INPUT_PLACEHOLDER,\n displayInputValue: DEFAULT_INPUT_PLACEHOLDER,\n calculatedWidth: 0,\n cachedPlaceholder: '',\n cachedOptions: [] as Option[],\n createdOptions: [] as Option[],\n createdLabel: '',\n createdSelected: false,\n currentPlaceholder: '',\n hoveringIndex: -1,\n comboBoxHovering: false,\n isOnComposition: false,\n isSilentBlur: false,\n isComposing: false,\n inputLength: 20,\n selectWidth: 200,\n initialInputHeight: 0,\n previousQuery: null,\n previousValue: undefined,\n query: '',\n selectedLabel: '',\n softFocus: false,\n tagInMultiLine: false,\n })\n\n // data refs\n const selectedIndex = ref(-1)\n const popperSize = ref(-1)\n\n // DOM & Component refs\n const controlRef = ref(null)\n const inputRef = ref(null) // el-input ref\n const menuRef = ref(null)\n const popper = ref<InstanceType<typeof ElTooltip> | null>(null)\n const selectRef = ref(null)\n const selectionRef = ref(null) // tags ref\n const calculatorRef = ref<HTMLElement>(null)\n\n // the controller of the expanded popup\n const expanded = ref(false)\n\n const selectDisabled = computed(() => props.disabled || elForm?.disabled)\n const selectViewMode = computed(() => props.viewMode || elForm?.viewMode)\n\n const popupHeight = computed(() => {\n const totalHeight = filteredOptions.value.length * 34\n return totalHeight > props.height ? props.height : totalHeight\n })\n\n const hasModelValue = computed(() => {\n return !isNil(props.modelValue)\n })\n\n const showClearBtn = computed(() => {\n const hasValue = props.multiple\n ? Array.isArray(props.modelValue) && props.modelValue.length > 0\n : hasModelValue.value\n\n const criteria =\n props.clearable &&\n !selectDisabled.value &&\n !selectViewMode.value &&\n states.comboBoxHovering &&\n hasValue\n return criteria\n })\n\n const iconComponent = computed(() =>\n props.remote && props.filterable ? '' : ArrowUp\n )\n\n const iconReverse = computed(\n () => iconComponent.value && nsSelectV2.is('reverse', expanded.value)\n )\n\n const validateState = computed(() => elFormItem?.validateState || '')\n const validateIcon = computed(\n () => ValidateComponentsMap[validateState.value]\n )\n\n const debounce = computed(() => (props.remote ? 300 : 0))\n\n // filteredOptions includes flatten the data into one dimensional array.\n const emptyText = computed(() => {\n const options = filteredOptions.value\n if (props.loading) {\n return props.loadingText || t('el.select.loading')\n } else {\n if (props.remote && states.inputValue === '' && options.length === 0)\n return false\n if (props.filterable && states.inputValue && options.length > 0) {\n return props.noMatchText || t('el.select.noMatch')\n }\n if (options.length === 0) {\n return props.noDataText || t('el.select.noData')\n }\n }\n return null\n })\n\n const filteredOptions = computed(() => {\n const isValidOption = (o: Option): boolean => {\n // fill the conditions here.\n const query = states.inputValue\n // when query was given, we should test on the label see whether the label contains the given query\n const regexp = new RegExp(escapeStringRegexp(query), 'i')\n const containsQueryString = query ? regexp.test(getLabel(o) || '') : true\n return containsQueryString\n }\n if (props.loading) {\n return []\n }\n\n return [...props.options, ...states.createdOptions].reduce((all, item) => {\n const options = getOptions(item)\n\n if (isArray(options)) {\n const filtered = options.filter(isValidOption)\n\n if (filtered.length > 0) {\n all.push(\n {\n label: getLabel(item),\n isTitle: true,\n type: 'Group',\n },\n ...filtered,\n { type: 'Group' }\n )\n }\n } else if (props.remote || isValidOption(item)) {\n all.push(item)\n }\n\n return all\n }, []) as OptionType[]\n })\n\n const filteredOptionsValueMap = computed(() => {\n const valueMap = new Map()\n\n filteredOptions.value.forEach((option, index) => {\n valueMap.set(getValueKey(getValue(option)), { option, index })\n })\n return valueMap\n })\n\n const optionsAllDisabled = computed(() =>\n filteredOptions.value.every((option) => getDisabled(option))\n )\n\n const selectTableInput = computed(() => table && props.tableInput)\n const selectSize = computed(() => {\n if (selectTableInput.value) {\n return table!.props.size === 'small' ? 'small' : ''\n } else {\n const formSize = useFormSize()\n return formSize.value\n }\n })\n\n const collapseTagSize = computed(() =>\n 'small' === selectSize.value ? 'small' : 'default'\n )\n\n const tagMaxWidth = computed(() => {\n const select = selectionRef.value\n const size = collapseTagSize.value || 'default'\n const paddingLeft = select\n ? Number.parseInt(getComputedStyle(select).paddingLeft)\n : 0\n const paddingRight = select\n ? Number.parseInt(getComputedStyle(select).paddingRight)\n : 0\n return (\n states.selectWidth - paddingRight - paddingLeft - TAG_BASE_WIDTH[size]\n )\n })\n\n const calculatePopperSize = () => {\n popperSize.value = selectRef.value?.offsetWidth || 200\n }\n\n const inputWrapperStyle = computed(() => {\n return {\n width: `${\n states.calculatedWidth === 0\n ? MINIMUM_INPUT_WIDTH\n : Math.ceil(states.calculatedWidth) + MINIMUM_INPUT_WIDTH\n }px`,\n } as CSSProperties\n })\n\n const shouldShowPlaceholder = computed(() => {\n if (isArray(props.modelValue)) {\n return props.modelValue.length === 0 && !states.displayInputValue\n }\n\n // when it's not multiple mode, we only determine this flag based on filterable and expanded\n // when filterable flag is true, which means we have input box on the screen\n return props.filterable ? states.displayInputValue.length === 0 : true\n })\n\n const currentPlaceholder = computed(() => {\n const _placeholder = props.placeholder || t('el.select.placeholder')\n return props.multiple || isNil(props.modelValue)\n ? _placeholder\n : states.selectedLabel\n })\n\n // this obtains the actual popper DOM element.\n const popperRef = computed(() => popper.value?.popperRef?.contentRef)\n\n // the index with current value in options\n const indexRef = computed<number>(() => {\n if (props.multiple) {\n const len = (props.modelValue as []).length\n if (\n (props.modelValue as Array<any>).length > 0 &&\n filteredOptionsValueMap.value.has(props.modelValue[len - 1])\n ) {\n const { index } = filteredOptionsValueMap.value.get(\n props.modelValue[len - 1]\n )\n return index\n }\n } else {\n if (\n props.modelValue &&\n filteredOptionsValueMap.value.has(props.modelValue)\n ) {\n const { index } = filteredOptionsValueMap.value.get(props.modelValue)\n return index\n }\n }\n return -1\n })\n\n const dropdownMenuVisible = computed({\n get() {\n return expanded.value && emptyText.value !== false\n },\n set(val: boolean) {\n expanded.value = val\n },\n })\n\n const showTagList = computed(() =>\n states.cachedOptions.slice(0, props.maxCollapseTags)\n )\n\n const collapseTagList = computed(() =>\n states.cachedOptions.slice(props.maxCollapseTags)\n )\n\n // hooks\n const {\n createNewOption,\n removeNewOption,\n selectNewOption,\n clearAllNewOption,\n } = useAllowCreate(props, states)\n const {\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n } = useInput((e) => onInput(e))\n\n // methods\n const focusAndUpdatePopup = () => {\n inputRef.value?.focus?.()\n popper.value?.updatePopper()\n }\n\n const toggleMenu = () => {\n if (props.automaticDropdown) return\n if (!selectDisabled.value && !selectViewMode.value) {\n if (states.isComposing) states.softFocus = true\n return nextTick(() => {\n expanded.value = !expanded.value\n inputRef.value?.focus?.()\n })\n }\n }\n\n const onInputChange = () => {\n if (props.filterable && states.inputValue !== states.selectedLabel) {\n states.query = states.selectedLabel\n }\n handleQueryChange(states.inputValue)\n return nextTick(() => {\n createNewOption(states.inputValue)\n })\n }\n\n const debouncedOnInputChange = lodashDebounce(onInputChange, debounce.value)\n\n const handleQueryChange = (val: string) => {\n if (states.previousQuery === val) {\n return\n }\n states.previousQuery = val\n if (props.filterable && isFunction(props.filterMethod)) {\n props.filterMethod(val)\n } else if (\n props.filterable &&\n props.remote &&\n isFunction(props.remoteMethod)\n ) {\n props.remoteMethod(val)\n }\n }\n\n const emitChange = (val: any | any[]) => {\n if (!isEqual(props.modelValue, val)) {\n emit(CHANGE_EVENT, val)\n }\n }\n\n const update = (val: any) => {\n emit(UPDATE_MODEL_EVENT, val)\n emitChange(val)\n states.previousValue = String(val)\n }\n\n const getValueIndex = (arr = [], value: unknown) => {\n if (!isObject(value)) {\n return arr.indexOf(value)\n }\n const valueKey = props.valueKey\n let index = -1\n arr.some((item, i) => {\n if (get(item, valueKey) === get(value, valueKey)) {\n index = i\n return true\n }\n return false\n })\n return index\n }\n\n const getValueKey = (item: unknown) => {\n return isObject(item) ? get(item, props.valueKey) : item\n }\n\n const resetInputHeight = () => {\n return nextTick(() => {\n if (!inputRef.value) return\n const selection = selectionRef.value\n\n selectRef.value.height = selection.offsetHeight\n if (expanded.value && emptyText.value !== false) {\n popper.value?.updatePopper?.()\n }\n })\n }\n\n const handleResize = () => {\n resetInputWidth()\n calculatePopperSize()\n popper.value?.updatePopper?.()\n if (props.multiple) {\n return resetInputHeight()\n }\n }\n\n const resetInputWidth = () => {\n const select = selectionRef.value\n if (select) {\n states.selectWidth = select.getBoundingClientRect().width\n }\n }\n\n const onSelect = (option: Option, idx: number, byClick = true) => {\n if (props.multiple) {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, getValue(option))\n if (index > -1) {\n selectedOptions = [\n ...selectedOptions.slice(0, index),\n ...selectedOptions.slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n removeNewOption(option)\n } else if (\n props.multipleLimit <= 0 ||\n selectedOptions.length < props.multipleLimit\n ) {\n selectedOptions = [...selectedOptions, getValue(option)]\n states.cachedOptions.push(option)\n selectNewOption(option)\n updateHoveringIndex(idx)\n }\n update(selectedOptions)\n if (option.created) {\n states.query = ''\n handleQueryChange('')\n states.inputLength = 20\n }\n if (props.filterable && !props.reserveKeyword) {\n inputRef.value.focus?.()\n onUpdateInputValue('')\n }\n if (props.filterable) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n resetInputHeight()\n setSoftFocus()\n } else {\n selectedIndex.value = idx\n states.selectedLabel = getLabel(option)\n update(getValue(option))\n expanded.value = false\n states.isComposing = false\n states.isSilentBlur = byClick\n selectNewOption(option)\n if (!option.created) {\n clearAllNewOption()\n }\n updateHoveringIndex(idx)\n }\n }\n\n const deleteTag = (event: MouseEvent, option: Option) => {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, getValue(option))\n\n if (index > -1 && !selectDisabled.value && !selectViewMode.value) {\n selectedOptions = [\n ...(props.modelValue as Array<unknown>).slice(0, index),\n ...(props.modelValue as Array<unknown>).slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n update(selectedOptions)\n emit('remove-tag', getValue(option))\n states.softFocus = true\n removeNewOption(option)\n return nextTick(focusAndUpdatePopup)\n }\n event.stopPropagation()\n }\n\n const handleFocus = (event: FocusEvent) => {\n const focused = states.isComposing\n states.isComposing = true\n if (!states.softFocus) {\n // If already in the focus state, shouldn't trigger event\n if (!focused) emit('focus', event)\n } else {\n states.softFocus = false\n }\n }\n\n const handleBlur = (event: FocusEvent) => {\n states.softFocus = false\n\n // reset input value when blurred\n // https://github.com/ElemeFE/element/pull/10822\n return nextTick(() => {\n inputRef.value?.blur?.()\n if (calculatorRef.value) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n if (states.isSilentBlur) {\n states.isSilentBlur = false\n } else {\n if (states.isComposing) {\n emit('blur', event)\n }\n }\n states.isComposing = false\n })\n }\n\n // keyboard handlers\n const handleEsc = () => {\n if (states.displayInputValue.length > 0) {\n onUpdateInputValue('')\n } else {\n expanded.value = false\n }\n }\n\n const handleDel = (e: KeyboardEvent) => {\n if (states.displayInputValue.length === 0) {\n e.preventDefault()\n const selected = (props.modelValue as Array<any>).slice()\n selected.pop()\n removeNewOption(states.cachedOptions.pop())\n update(selected)\n }\n }\n\n const handleClear = () => {\n let emptyValue: string | any[]\n if (isArray(props.modelValue)) {\n emptyValue = []\n } else {\n emptyValue = undefined\n }\n\n states.softFocus = true\n if (props.multiple) {\n states.cachedOptions = []\n } else {\n states.selectedLabel = ''\n }\n expanded.value = false\n update(emptyValue)\n emit('clear')\n clearAllNewOption()\n return nextTick(focusAndUpdatePopup)\n }\n\n const onUpdateInputValue = (val: string) => {\n states.displayInputValue = val\n states.inputValue = val\n }\n\n const onKeyboardNavigate = (\n direction: 'forward' | 'backward',\n hoveringIndex: number = undefined\n ) => {\n const options = filteredOptions.value\n if (\n !['forward', 'backward'].includes(direction) ||\n selectDisabled.value ||\n selectViewMode.value ||\n options.length <= 0 ||\n optionsAllDisabled.value\n ) {\n return\n }\n if (!expanded.value) {\n return toggleMenu()\n }\n if (hoveringIndex === undefined) {\n hoveringIndex = states.hoveringIndex\n }\n let newIndex = -1\n if (direction === 'forward') {\n newIndex = hoveringIndex + 1\n if (newIndex >= options.length) {\n // return to the first option\n newIndex = 0\n }\n } else if (direction === 'backward') {\n newIndex = hoveringIndex - 1\n if (newIndex < 0 || newIndex >= options.length) {\n // navigate to the last one\n newIndex = options.length - 1\n }\n }\n const option = options[newIndex]\n if (getDisabled(option) || option.type === 'Group') {\n // prevent dispatching multiple nextTick callbacks.\n return onKeyboardNavigate(direction, newIndex)\n } else {\n updateHoveringIndex(newIndex)\n scrollToItem(newIndex)\n }\n }\n\n const onKeyboardSelect = () => {\n if (!expanded.value) {\n return toggleMenu()\n } else if (\n ~states.hoveringIndex &&\n filteredOptions.value[states.hoveringIndex]\n ) {\n onSelect(\n filteredOptions.value[states.hoveringIndex],\n states.hoveringIndex,\n false\n )\n }\n }\n\n const updateHoveringIndex = (idx: number) => {\n states.hoveringIndex = idx\n }\n\n const resetHoveringIndex = () => {\n states.hoveringIndex = -1\n }\n\n const setSoftFocus = () => {\n const _input = inputRef.value\n if (_input) {\n _input.focus?.()\n }\n }\n\n const onInput = (event) => {\n const value = event.target.value\n onUpdateInputValue(value)\n if (states.displayInputValue.length > 0 && !expanded.value) {\n expanded.value = true\n }\n\n states.calculatedWidth = calculatorRef.value.getBoundingClientRect().width\n if (props.multiple) {\n resetInputHeight()\n }\n if (props.remote) {\n debouncedOnInputChange()\n } else {\n return onInputChange()\n }\n }\n\n const handleClickOutside = () => {\n expanded.value = false\n return handleBlur()\n }\n\n const handleMenuEnter = () => {\n states.inputValue = states.displayInputValue\n return nextTick(() => {\n if (~indexRef.value) {\n updateHoveringIndex(indexRef.value)\n scrollToItem(states.hoveringIndex)\n }\n })\n }\n\n const scrollToItem = (index: number) => {\n menuRef.value.scrollToItem(index)\n }\n\n const initStates = () => {\n resetHoveringIndex()\n if (props.multiple) {\n if ((props.modelValue as Array<any>).length > 0) {\n let initHovering = false\n states.cachedOptions.length = 0\n states.previousValue = props.modelValue.toString()\n\n for (const value of props.modelValue) {\n const selectValue = getValueKey(value)\n\n if (filteredOptionsValueMap.value.has(selectValue)) {\n const { index, option } =\n filteredOptionsValueMap.value.get(selectValue)\n\n states.cachedOptions.push(option)\n if (!initHovering) {\n updateHoveringIndex(index)\n }\n initHovering = true\n }\n }\n } else {\n states.cachedOptions = []\n states.previousValue = undefined\n }\n } else {\n if (hasModelValue.value) {\n states.previousValue = props.modelValue\n const options = filteredOptions.value\n const selectedItemIndex = options.findIndex(\n (option) =>\n getValueKey(getValue(option)) === getValueKey(props.modelValue)\n )\n if (~selectedItemIndex) {\n states.selectedLabel = getLabel(options[selectedItemIndex])\n updateHoveringIndex(selectedItemIndex)\n } else {\n states.selectedLabel = getValueKey(props.modelValue)\n }\n } else {\n states.selectedLabel = ''\n states.previousValue = undefined\n }\n }\n clearAllNewOption()\n calculatePopperSize()\n }\n\n // in order to track these individually, we need to turn them into refs instead of watching the entire\n // reactive object which could cause perf penalty when unnecessary field gets changed the watch method will\n // be invoked.\n\n watch(expanded, (val) => {\n emit('visible-change', val)\n if (val) {\n popper.value.update?.()\n // the purpose of this function is to differ the blur event trigger mechanism\n } else {\n states.displayInputValue = ''\n states.previousQuery = null\n createNewOption('')\n }\n })\n\n watch(\n () => props.modelValue,\n (val, oldVal) => {\n if (!val || val.toString() !== states.previousValue) {\n initStates()\n }\n if (!isEqual(val, oldVal) && props.validateEvent) {\n elFormItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n },\n {\n deep: true,\n }\n )\n\n watch(\n () => props.options,\n () => {\n const input = inputRef.value\n // filter or remote-search scenarios are not initialized\n if (!input || (input && document.activeElement !== input)) {\n initStates()\n }\n },\n {\n deep: true,\n }\n )\n\n // fix the problem that scrollTop is not reset in filterable mode\n watch(filteredOptions, () => {\n return menuRef.value && nextTick(menuRef.value.resetScrollTop)\n })\n\n watch(\n () => dropdownMenuVisible.value,\n (val) => {\n if (!val) {\n resetHoveringIndex()\n }\n }\n )\n\n onMounted(() => {\n initStates()\n })\n useResizeObserver(selectRef, handleResize)\n\n return {\n // data exports\n collapseTagSize,\n currentPlaceholder,\n expanded,\n emptyText,\n popupHeight,\n debounce,\n filteredOptions,\n iconComponent,\n iconReverse,\n inputWrapperStyle,\n popperSize,\n dropdownMenuVisible,\n hasModelValue,\n // readonly,\n shouldShowPlaceholder,\n selectDisabled,\n selectViewMode,\n selectTableInput,\n selectSize,\n showClearBtn,\n states,\n tagMaxWidth,\n nsSelectV2,\n nsInput,\n\n // refs items exports\n calculatorRef,\n controlRef,\n inputRef,\n menuRef,\n popper,\n selectRef,\n selectionRef,\n\n popperRef,\n\n validateState,\n validateIcon,\n showTagList,\n collapseTagList,\n\n // methods exports\n debouncedOnInputChange,\n deleteTag,\n getLabel,\n getValue,\n getDisabled,\n getValueKey,\n handleBlur,\n handleClear,\n handleClickOutside,\n handleDel,\n handleEsc,\n handleFocus,\n handleMenuEnter,\n handleResize,\n toggleMenu,\n scrollTo: scrollToItem,\n onInput,\n onKeyboardNavigate,\n onKeyboardSelect,\n onSelect,\n onHover: updateHoveringIndex,\n onUpdateInputValue,\n handleCompositionStart,\n handleCompositionEnd,\n handleCompositionUpdate,\n }\n}\n\nexport default useSelect\n"],"names":["debounce","lodashDebounce"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,cAAc,GAAG;AACvB,EAAE,MAAM,EAAE,EAAE;AACZ,EAAE,OAAO,EAAE,EAAE;AACb,EAAE,KAAK,EAAE,EAAE;AACX,CAAC,CAAC;AACG,MAAC,SAAS,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AACnC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,CAAC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AW;AACf,IAAI,kBAAkB;AACtB,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,eAAe;AACnB,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,YAAY;AAC1B,IAAI,OAAO;AACX,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,QAAQ;AACZ,IAAI,OAAO,EAAE,mBAAmB;AAChC,IAAI,kBAAkB;AACtB,IAAI,sBAAsB;AAC1B,IAAI,oBAAoB;AACxB,IAAI,uBAAuB;AAC3B,GAAG,CAAC;AACJ;;;;"}
@@ -1,7 +1,7 @@
1
1
  import '../../utils/index.mjs';
2
- import Skeleton from './src/skeleton.mjs';
2
+ import Skeleton from './src/skeleton2.mjs';
3
3
  import SkeletonItem from './src/skeleton-item.mjs';
4
- export { skeletonProps } from './src/skeleton2.mjs';
4
+ export { skeletonProps } from './src/skeleton.mjs';
5
5
  export { skeletonItemProps } from './src/skeleton-item2.mjs';
6
6
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
7
7
 
@@ -1,54 +1,27 @@
1
- import { defineComponent, toRef, unref, openBlock, createElementBlock, mergeProps, Fragment, renderList, renderSlot, createVNode, normalizeClass, createBlock, createCommentVNode, normalizeProps } from 'vue';
2
- import '../../../hooks/index.mjs';
3
- import { skeletonProps } from './skeleton2.mjs';
4
- import SkeletonItem from './skeleton-item.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
- import { useThrottleRender } from '../../../hooks/use-throttle-render/index.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
8
3
 
9
- const __default__ = defineComponent({
10
- name: "ElSkeleton"
11
- });
12
- const _sfc_main = /* @__PURE__ */ defineComponent({
13
- ...__default__,
14
- props: skeletonProps,
15
- setup(__props, { expose }) {
16
- const props = __props;
17
- const ns = useNamespace("skeleton");
18
- const uiLoading = useThrottleRender(toRef(props, "loading"), props.throttle);
19
- expose({
20
- uiLoading
21
- });
22
- return (_ctx, _cache) => {
23
- return unref(uiLoading) ? (openBlock(), createElementBlock("div", mergeProps({
24
- key: 0,
25
- class: [unref(ns).b(), unref(ns).is("animated", _ctx.animated)]
26
- }, _ctx.$attrs), [
27
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (i) => {
28
- return openBlock(), createElementBlock(Fragment, { key: i }, [
29
- _ctx.loading ? renderSlot(_ctx.$slots, "template", { key: i }, () => [
30
- createVNode(SkeletonItem, {
31
- class: normalizeClass(unref(ns).is("first")),
32
- variant: "p"
33
- }, null, 8, ["class"]),
34
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (item) => {
35
- return openBlock(), createBlock(SkeletonItem, {
36
- key: item,
37
- class: normalizeClass([
38
- unref(ns).e("paragraph"),
39
- unref(ns).is("last", item === _ctx.rows && _ctx.rows > 1)
40
- ]),
41
- variant: "p"
42
- }, null, 8, ["class"]);
43
- }), 128))
44
- ]) : createCommentVNode("v-if", true)
45
- ], 64);
46
- }), 128))
47
- ], 16)) : renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)));
48
- };
4
+ const skeletonProps = buildProps({
5
+ animated: {
6
+ type: Boolean,
7
+ default: false
8
+ },
9
+ count: {
10
+ type: Number,
11
+ default: 1
12
+ },
13
+ rows: {
14
+ type: Number,
15
+ default: 3
16
+ },
17
+ loading: {
18
+ type: Boolean,
19
+ default: true
20
+ },
21
+ throttle: {
22
+ type: Number
49
23
  }
50
24
  });
51
- var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\workspace\\element-pe\\packages\\components\\skeleton\\src\\skeleton.vue"]]);
52
25
 
53
- export { Skeleton as default };
26
+ export { skeletonProps };
54
27
  //# sourceMappingURL=skeleton.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.vue"],"sourcesContent":["<template>\n <template v-if=\"uiLoading\">\n <div :class=\"[ns.b(), ns.is('animated', animated)]\" v-bind=\"$attrs\">\n <template v-for=\"i in count\" :key=\"i\">\n <slot v-if=\"loading\" :key=\"i\" name=\"template\">\n <el-skeleton-item :class=\"ns.is('first')\" variant=\"p\" />\n <el-skeleton-item\n v-for=\"item in rows\"\n :key=\"item\"\n :class=\"[\n ns.e('paragraph'),\n ns.is('last', item === rows && rows > 1),\n ]\"\n variant=\"p\"\n />\n </slot>\n </template>\n </div>\n </template>\n <template v-else>\n <slot v-bind=\"$attrs\" />\n </template>\n</template>\n\n<script lang=\"ts\" setup>\nimport { toRef } from 'vue'\nimport { useNamespace, useThrottleRender } from '@element-plus/hooks'\nimport { skeletonProps } from './skeleton'\nimport ElSkeletonItem from './skeleton-item.vue'\n\ndefineOptions({\n name: 'ElSkeleton',\n})\nconst props = defineProps(skeletonProps)\n\nconst ns = useNamespace('skeleton')\nconst uiLoading = useThrottleRender(toRef(props, 'loading'), props.throttle)\n\ndefineExpose({\n /** @description loading state */\n uiLoading,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AAClC,IAAA,MAAM,YAAY,iBAAkB,CAAA,KAAA,CAAM,OAAO,SAAS,CAAA,EAAG,MAAM,QAAQ,CAAA,CAAA;AAE3E,IAAa,MAAA,CAAA;AAAA,MAEX,SAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"skeleton.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type Skeleton from './skeleton.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const skeletonProps = buildProps({\n /**\n * @description whether showing the animation\n */\n animated: {\n type: Boolean,\n default: false,\n },\n /**\n * @description how many fake items to render to the DOM\n */\n count: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether showing the real DOM\n */\n rows: {\n type: Number,\n default: 3,\n },\n /**\n * @description numbers of the row, only useful when no template slot were given\n */\n loading: {\n type: Boolean,\n default: true,\n },\n /**\n * @description rendering delay in milliseconds\n */\n throttle: {\n type: Number,\n },\n} as const)\nexport type SkeletonProps = ExtractPropTypes<typeof skeletonProps>\n\nexport type SkeletonInstance = InstanceType<typeof Skeleton>\n"],"names":[],"mappings":";;;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
@@ -1,27 +1,54 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, toRef, unref, openBlock, createElementBlock, mergeProps, Fragment, renderList, renderSlot, createVNode, normalizeClass, createBlock, createCommentVNode, normalizeProps } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import { skeletonProps } from './skeleton.mjs';
4
+ import SkeletonItem from './skeleton-item.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
+ import { useThrottleRender } from '../../../hooks/use-throttle-render/index.mjs';
3
8
 
4
- const skeletonProps = buildProps({
5
- animated: {
6
- type: Boolean,
7
- default: false
8
- },
9
- count: {
10
- type: Number,
11
- default: 1
12
- },
13
- rows: {
14
- type: Number,
15
- default: 3
16
- },
17
- loading: {
18
- type: Boolean,
19
- default: true
20
- },
21
- throttle: {
22
- type: Number
9
+ const __default__ = defineComponent({
10
+ name: "ElSkeleton"
11
+ });
12
+ const _sfc_main = /* @__PURE__ */ defineComponent({
13
+ ...__default__,
14
+ props: skeletonProps,
15
+ setup(__props, { expose }) {
16
+ const props = __props;
17
+ const ns = useNamespace("skeleton");
18
+ const uiLoading = useThrottleRender(toRef(props, "loading"), props.throttle);
19
+ expose({
20
+ uiLoading
21
+ });
22
+ return (_ctx, _cache) => {
23
+ return unref(uiLoading) ? (openBlock(), createElementBlock("div", mergeProps({
24
+ key: 0,
25
+ class: [unref(ns).b(), unref(ns).is("animated", _ctx.animated)]
26
+ }, _ctx.$attrs), [
27
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (i) => {
28
+ return openBlock(), createElementBlock(Fragment, { key: i }, [
29
+ _ctx.loading ? renderSlot(_ctx.$slots, "template", { key: i }, () => [
30
+ createVNode(SkeletonItem, {
31
+ class: normalizeClass(unref(ns).is("first")),
32
+ variant: "p"
33
+ }, null, 8, ["class"]),
34
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (item) => {
35
+ return openBlock(), createBlock(SkeletonItem, {
36
+ key: item,
37
+ class: normalizeClass([
38
+ unref(ns).e("paragraph"),
39
+ unref(ns).is("last", item === _ctx.rows && _ctx.rows > 1)
40
+ ]),
41
+ variant: "p"
42
+ }, null, 8, ["class"]);
43
+ }), 128))
44
+ ]) : createCommentVNode("v-if", true)
45
+ ], 64);
46
+ }), 128))
47
+ ], 16)) : renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)));
48
+ };
23
49
  }
24
50
  });
51
+ var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\workspace\\element-pe\\packages\\components\\skeleton\\src\\skeleton.vue"]]);
25
52
 
26
- export { skeletonProps };
53
+ export { Skeleton as default };
27
54
  //# sourceMappingURL=skeleton2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton2.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type Skeleton from './skeleton.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const skeletonProps = buildProps({\n /**\n * @description whether showing the animation\n */\n animated: {\n type: Boolean,\n default: false,\n },\n /**\n * @description how many fake items to render to the DOM\n */\n count: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether showing the real DOM\n */\n rows: {\n type: Number,\n default: 3,\n },\n /**\n * @description numbers of the row, only useful when no template slot were given\n */\n loading: {\n type: Boolean,\n default: true,\n },\n /**\n * @description rendering delay in milliseconds\n */\n throttle: {\n type: Number,\n },\n} as const)\nexport type SkeletonProps = ExtractPropTypes<typeof skeletonProps>\n\nexport type SkeletonInstance = InstanceType<typeof Skeleton>\n"],"names":[],"mappings":";;;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"skeleton2.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.vue"],"sourcesContent":["<template>\n <template v-if=\"uiLoading\">\n <div :class=\"[ns.b(), ns.is('animated', animated)]\" v-bind=\"$attrs\">\n <template v-for=\"i in count\" :key=\"i\">\n <slot v-if=\"loading\" :key=\"i\" name=\"template\">\n <el-skeleton-item :class=\"ns.is('first')\" variant=\"p\" />\n <el-skeleton-item\n v-for=\"item in rows\"\n :key=\"item\"\n :class=\"[\n ns.e('paragraph'),\n ns.is('last', item === rows && rows > 1),\n ]\"\n variant=\"p\"\n />\n </slot>\n </template>\n </div>\n </template>\n <template v-else>\n <slot v-bind=\"$attrs\" />\n </template>\n</template>\n\n<script lang=\"ts\" setup>\nimport { toRef } from 'vue'\nimport { useNamespace, useThrottleRender } from '@element-plus/hooks'\nimport { skeletonProps } from './skeleton'\nimport ElSkeletonItem from './skeleton-item.vue'\n\ndefineOptions({\n name: 'ElSkeleton',\n})\nconst props = defineProps(skeletonProps)\n\nconst ns = useNamespace('skeleton')\nconst uiLoading = useThrottleRender(toRef(props, 'loading'), props.throttle)\n\ndefineExpose({\n /** @description loading state */\n uiLoading,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AAClC,IAAA,MAAM,YAAY,iBAAkB,CAAA,KAAA,CAAM,OAAO,SAAS,CAAA,EAAG,MAAM,QAAQ,CAAA,CAAA;AAE3E,IAAa,MAAA,CAAA;AAAA,MAEX,SAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}