element-pe 2.2.94 → 2.2.96

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 (812) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +1632 -1086
  3. package/dist/index.full.min.js +26 -26
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +26 -26
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +1631 -1087
  8. package/es/component.mjs +3 -1
  9. package/es/component.mjs.map +1 -1
  10. package/es/components/autocomplete/index.d.ts +28 -1
  11. package/es/components/autocomplete/index.mjs +2 -2
  12. package/es/components/autocomplete/src/autocomplete.mjs +379 -99
  13. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  14. package/es/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
  15. package/es/components/autocomplete/src/autocomplete2.mjs +99 -379
  16. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  17. package/es/components/backtop/index.mjs +2 -2
  18. package/es/components/backtop/src/backtop.mjs +61 -23
  19. package/es/components/backtop/src/backtop.mjs.map +1 -1
  20. package/es/components/backtop/src/backtop2.mjs +23 -61
  21. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  22. package/es/components/breadcrumb/index.mjs +2 -2
  23. package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -56
  24. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  25. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +56 -11
  26. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  27. package/es/components/button/index.mjs +2 -2
  28. package/es/components/button/src/button-group.mjs +1 -1
  29. package/es/components/button/src/button.mjs +76 -57
  30. package/es/components/button/src/button.mjs.map +1 -1
  31. package/es/components/button/src/button2.mjs +57 -76
  32. package/es/components/button/src/button2.mjs.map +1 -1
  33. package/es/components/calendar/index.mjs +2 -2
  34. package/es/components/calendar/src/calendar.mjs +131 -18
  35. package/es/components/calendar/src/calendar.mjs.map +1 -1
  36. package/es/components/calendar/src/calendar2.mjs +18 -131
  37. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  38. package/es/components/calendar/src/date-table.mjs +87 -33
  39. package/es/components/calendar/src/date-table.mjs.map +1 -1
  40. package/es/components/calendar/src/date-table2.mjs +33 -87
  41. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  42. package/es/components/calendar/src/use-date-table.mjs +1 -1
  43. package/es/components/carousel/index.d.ts +5 -0
  44. package/es/components/carousel/src/carousel.vue.d.ts +6 -1
  45. package/es/components/carousel/src/carousel2.mjs +7 -2
  46. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  47. package/es/components/carousel/src/use-carousel.d.ts +6 -0
  48. package/es/components/carousel/src/use-carousel.mjs +41 -6
  49. package/es/components/carousel/src/use-carousel.mjs.map +1 -1
  50. package/es/components/cascader/index.d.ts +150 -6
  51. package/es/components/cascader/index.mjs +2 -2
  52. package/es/components/cascader/src/cascader.mjs +86 -647
  53. package/es/components/cascader/src/cascader.mjs.map +1 -1
  54. package/es/components/cascader/src/cascader.vue.d.ts +75 -3
  55. package/es/components/cascader/src/cascader2.mjs +647 -86
  56. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  57. package/es/components/check-tag/index.mjs +2 -2
  58. package/es/components/check-tag/src/check-tag.mjs +12 -31
  59. package/es/components/check-tag/src/check-tag.mjs.map +1 -1
  60. package/es/components/check-tag/src/check-tag2.mjs +31 -12
  61. package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
  62. package/es/components/checkbox/index.d.ts +12 -0
  63. package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  64. package/es/components/checkbox/src/checkbox.d.ts +1 -0
  65. package/es/components/checkbox/src/checkbox.mjs +8 -12
  66. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  67. package/es/components/checkbox/src/checkbox.vue.d.ts +4 -0
  68. package/es/components/checkbox/src/checkbox2.mjs +2 -1
  69. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  70. package/es/components/checkbox/src/composables/use-checkbox-status.mjs +2 -2
  71. package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
  72. package/es/components/col/index.mjs +2 -2
  73. package/es/components/col/src/col.mjs +66 -43
  74. package/es/components/col/src/col.mjs.map +1 -1
  75. package/es/components/col/src/col2.mjs +43 -66
  76. package/es/components/col/src/col2.mjs.map +1 -1
  77. package/es/components/collapse/index.mjs +2 -2
  78. package/es/components/collapse/src/collapse-item.mjs +1 -0
  79. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  80. package/es/components/collapse/src/collapse.mjs +17 -28
  81. package/es/components/collapse/src/collapse.mjs.map +1 -1
  82. package/es/components/collapse/src/collapse2.mjs +28 -17
  83. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  84. package/es/components/color-picker/index.d.ts +19 -2
  85. package/es/components/color-picker/index.mjs +2 -2
  86. package/es/components/color-picker/src/color-picker.d.ts +2 -0
  87. package/es/components/color-picker/src/color-picker.mjs +60 -354
  88. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  89. package/es/components/color-picker/src/color-picker.vue.d.ts +19 -2
  90. package/es/components/color-picker/src/color-picker2.mjs +431 -58
  91. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  92. package/es/components/color-picker/src/components/predefine.mjs +1 -1
  93. package/es/components/date-picker/index.d.ts +8 -0
  94. package/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs +1 -1
  95. package/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs.map +1 -1
  96. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -2
  97. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  98. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
  99. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +2 -2
  100. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  101. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
  102. package/es/components/date-picker/src/date-picker.d.ts +4 -0
  103. package/es/components/date-picker/src/panel-utils.d.ts +538 -22
  104. package/es/components/date-picker/src/props/date-picker.d.ts +2 -0
  105. package/es/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
  106. package/es/components/date-picker/src/props/panel-date-range.d.ts +2 -0
  107. package/es/components/date-picker/src/props/shared.d.ts +2 -0
  108. package/es/components/date-picker/src/props/shared.mjs +3 -1
  109. package/es/components/date-picker/src/props/shared.mjs.map +1 -1
  110. package/es/components/descriptions/index.d.ts +64 -144
  111. package/es/components/descriptions/index.mjs +5 -5
  112. package/es/components/descriptions/index.mjs.map +1 -1
  113. package/es/components/descriptions/src/description-item.d.ts +54 -72
  114. package/es/components/descriptions/src/description-item.mjs +42 -39
  115. package/es/components/descriptions/src/description-item.mjs.map +1 -1
  116. package/es/components/descriptions/src/description.mjs +121 -27
  117. package/es/components/descriptions/src/description.mjs.map +1 -1
  118. package/es/components/descriptions/src/description.vue.d.ts +16 -10
  119. package/es/components/descriptions/src/description2.mjs +27 -120
  120. package/es/components/descriptions/src/description2.mjs.map +1 -1
  121. package/es/components/descriptions/src/descriptions-cell.d.ts +9 -3
  122. package/es/components/descriptions/src/descriptions-cell.mjs +16 -11
  123. package/es/components/descriptions/src/descriptions-cell.mjs.map +1 -1
  124. package/es/components/descriptions/src/descriptions-row.d.ts +2 -1
  125. package/es/components/descriptions/src/descriptions-row.mjs +2 -2
  126. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  127. package/es/components/descriptions/src/descriptions-row.vue.d.ts +10 -6
  128. package/es/components/descriptions/src/descriptions-row2.mjs +6 -6
  129. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  130. package/es/components/dialog/index.mjs +2 -2
  131. package/es/components/dialog/src/dialog.mjs +68 -175
  132. package/es/components/dialog/src/dialog.mjs.map +1 -1
  133. package/es/components/dialog/src/dialog2.mjs +175 -68
  134. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  135. package/es/components/drawer/index.mjs +2 -2
  136. package/es/components/drawer/src/drawer.mjs +187 -29
  137. package/es/components/drawer/src/drawer.mjs.map +1 -1
  138. package/es/components/drawer/src/drawer2.mjs +29 -187
  139. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  140. package/es/components/empty/index.mjs +2 -2
  141. package/es/components/empty/src/empty.mjs +55 -11
  142. package/es/components/empty/src/empty.mjs.map +1 -1
  143. package/es/components/empty/src/empty2.mjs +11 -55
  144. package/es/components/empty/src/empty2.mjs.map +1 -1
  145. package/es/components/form/src/form-item.mjs +1 -1
  146. package/es/components/form/src/form-item.mjs.map +1 -1
  147. package/es/components/image/index.d.ts +16 -0
  148. package/es/components/image/src/image.d.ts +2 -0
  149. package/es/components/image/src/image.mjs +8 -0
  150. package/es/components/image/src/image.mjs.map +1 -1
  151. package/es/components/image/src/image.vue.d.ts +16 -0
  152. package/es/components/image/src/image2.mjs +3 -1
  153. package/es/components/image/src/image2.mjs.map +1 -1
  154. package/es/components/image-viewer/index.d.ts +8 -0
  155. package/es/components/image-viewer/index.mjs +2 -2
  156. package/es/components/image-viewer/src/image-viewer.d.ts +2 -0
  157. package/es/components/image-viewer/src/image-viewer.mjs +41 -405
  158. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  159. package/es/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  160. package/es/components/image-viewer/src/image-viewer2.mjs +406 -33
  161. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  162. package/es/components/index.d.ts +1 -0
  163. package/es/components/index.mjs +34 -32
  164. package/es/components/index.mjs.map +1 -1
  165. package/es/components/link/index.mjs +2 -2
  166. package/es/components/link/src/link.mjs +50 -21
  167. package/es/components/link/src/link.mjs.map +1 -1
  168. package/es/components/link/src/link2.mjs +21 -50
  169. package/es/components/link/src/link2.mjs.map +1 -1
  170. package/es/components/menu/index.d.ts +1 -0
  171. package/es/components/menu/index.mjs +3 -2
  172. package/es/components/menu/index.mjs.map +1 -1
  173. package/es/components/menu/src/instance.d.ts +12 -0
  174. package/es/components/menu/src/instance.mjs +2 -0
  175. package/es/components/menu/src/instance.mjs.map +1 -0
  176. package/es/components/menu/src/menu-item.mjs +97 -14
  177. package/es/components/menu/src/menu-item.mjs.map +1 -1
  178. package/es/components/menu/src/menu-item2.mjs +14 -97
  179. package/es/components/menu/src/menu-item2.mjs.map +1 -1
  180. package/es/components/menu/src/sub-menu.mjs +0 -22
  181. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  182. package/es/components/pagination/src/components/jumper.mjs +60 -9
  183. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  184. package/es/components/pagination/src/components/jumper2.mjs +9 -60
  185. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  186. package/es/components/pagination/src/components/prev.mjs +18 -38
  187. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  188. package/es/components/pagination/src/components/prev2.mjs +38 -18
  189. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  190. package/es/components/pagination/src/components/sizes.mjs +71 -23
  191. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  192. package/es/components/pagination/src/components/sizes.vue.d.ts +4 -0
  193. package/es/components/pagination/src/components/sizes2.mjs +23 -71
  194. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  195. package/es/components/pagination/src/pagination.mjs +3 -3
  196. package/es/components/popconfirm/src/popconfirm2.mjs +1 -1
  197. package/es/components/popover/index.mjs +2 -2
  198. package/es/components/popover/src/popover.mjs +111 -66
  199. package/es/components/popover/src/popover.mjs.map +1 -1
  200. package/es/components/popover/src/popover2.mjs +66 -111
  201. package/es/components/popover/src/popover2.mjs.map +1 -1
  202. package/es/components/popper/index.mjs +6 -6
  203. package/es/components/popper/src/arrow.mjs +39 -8
  204. package/es/components/popper/src/arrow.mjs.map +1 -1
  205. package/es/components/popper/src/arrow2.mjs +8 -39
  206. package/es/components/popper/src/arrow2.mjs.map +1 -1
  207. package/es/components/popper/src/composables/use-content-dom.mjs +4 -2
  208. package/es/components/popper/src/composables/use-content-dom.mjs.map +1 -1
  209. package/es/components/popper/src/popper.mjs +32 -25
  210. package/es/components/popper/src/popper.mjs.map +1 -1
  211. package/es/components/popper/src/popper2.mjs +25 -32
  212. package/es/components/popper/src/popper2.mjs.map +1 -1
  213. package/es/components/popper/src/trigger.mjs +31 -121
  214. package/es/components/popper/src/trigger.mjs.map +1 -1
  215. package/es/components/popper/src/trigger2.mjs +121 -31
  216. package/es/components/popper/src/trigger2.mjs.map +1 -1
  217. package/es/components/progress/index.mjs +2 -2
  218. package/es/components/progress/src/progress.mjs +205 -59
  219. package/es/components/progress/src/progress.mjs.map +1 -1
  220. package/es/components/progress/src/progress2.mjs +59 -205
  221. package/es/components/progress/src/progress2.mjs.map +1 -1
  222. package/es/components/radio/index.mjs +2 -2
  223. package/es/components/radio/src/radio-button2.mjs +1 -1
  224. package/es/components/radio/src/radio-group.mjs +1 -1
  225. package/es/components/radio/src/radio.mjs +76 -35
  226. package/es/components/radio/src/radio.mjs.map +1 -1
  227. package/es/components/radio/src/radio2.mjs +35 -76
  228. package/es/components/radio/src/radio2.mjs.map +1 -1
  229. package/es/components/resizable-columns/index.mjs +2 -2
  230. package/es/components/resizable-columns/src/resizable-column.mjs +145 -8
  231. package/es/components/resizable-columns/src/resizable-column.mjs.map +1 -1
  232. package/es/components/resizable-columns/src/resizable-column2.mjs +8 -145
  233. package/es/components/resizable-columns/src/resizable-column2.mjs.map +1 -1
  234. package/es/components/scrollbar/index.d.ts +28 -1
  235. package/es/components/scrollbar/index.mjs +2 -2
  236. package/es/components/scrollbar/src/bar.mjs +42 -17
  237. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  238. package/es/components/scrollbar/src/bar2.mjs +17 -42
  239. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  240. package/es/components/scrollbar/src/scrollbar.d.ts +9 -0
  241. package/es/components/scrollbar/src/scrollbar.mjs +53 -176
  242. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  243. package/es/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  244. package/es/components/scrollbar/src/scrollbar2.mjs +180 -46
  245. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  246. package/es/components/select/index.d.ts +4 -0
  247. package/es/components/select/src/option.mjs +9 -1
  248. package/es/components/select/src/option.mjs.map +1 -1
  249. package/es/components/select/src/option.vue.d.ts +1 -0
  250. package/es/components/select/src/select.mjs +255 -232
  251. package/es/components/select/src/select.mjs.map +1 -1
  252. package/es/components/select/src/select.vue.d.ts +1597 -596
  253. package/es/components/select/src/useOption.mjs +6 -7
  254. package/es/components/select/src/useOption.mjs.map +1 -1
  255. package/es/components/select/src/useSelect.d.ts +1 -0
  256. package/es/components/select/src/useSelect.mjs +4 -2
  257. package/es/components/select/src/useSelect.mjs.map +1 -1
  258. package/es/components/select-v2/index.d.ts +2 -2
  259. package/es/components/select-v2/src/select-dropdown.mjs +4 -7
  260. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  261. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  262. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  263. package/es/components/select-v2/src/useSelect.mjs +16 -15
  264. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  265. package/es/components/skeleton/index.mjs +2 -2
  266. package/es/components/skeleton/src/skeleton.mjs +49 -22
  267. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  268. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  269. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  270. package/es/components/slider/src/button.mjs +21 -94
  271. package/es/components/slider/src/button.mjs.map +1 -1
  272. package/es/components/slider/src/button2.mjs +94 -21
  273. package/es/components/slider/src/button2.mjs.map +1 -1
  274. package/es/components/slider/src/slider.mjs +1 -1
  275. package/es/components/space/src/use-space.mjs +1 -3
  276. package/es/components/space/src/use-space.mjs.map +1 -1
  277. package/es/components/switch/index.d.ts +4 -0
  278. package/es/components/switch/src/switch.d.ts +1 -0
  279. package/es/components/switch/src/switch.mjs +2 -1
  280. package/es/components/switch/src/switch.mjs.map +1 -1
  281. package/es/components/switch/src/switch.vue.d.ts +4 -0
  282. package/es/components/switch/src/switch2.mjs +4 -0
  283. package/es/components/switch/src/switch2.mjs.map +1 -1
  284. package/es/components/table/src/table-footer/index.mjs +15 -33
  285. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  286. package/es/components/table/src/table-header/index.mjs.map +1 -1
  287. package/es/components/table/src/table.mjs +33 -12
  288. package/es/components/table/src/table.mjs.map +1 -1
  289. package/es/components/tabs/index.mjs +2 -2
  290. package/es/components/tabs/src/tab-nav.d.ts +4 -1
  291. package/es/components/tabs/src/tab-nav.mjs.map +1 -1
  292. package/es/components/tabs/src/tab-pane.mjs +76 -14
  293. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  294. package/es/components/tabs/src/tab-pane2.mjs +14 -76
  295. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  296. package/es/components/tabs/src/tabs.d.ts +16 -30
  297. package/es/components/tabs/src/tabs.mjs +10 -10
  298. package/es/components/tabs/src/tabs.mjs.map +1 -1
  299. package/es/components/text/index.d.ts +18 -0
  300. package/es/components/text/src/text.d.ts +6 -2
  301. package/es/components/text/src/text.mjs +3 -0
  302. package/es/components/text/src/text.mjs.map +1 -1
  303. package/es/components/text/src/text.vue.d.ts +32 -14
  304. package/es/components/text/src/text2.mjs +8 -4
  305. package/es/components/text/src/text2.mjs.map +1 -1
  306. package/es/components/time-picker/index.d.ts +8 -0
  307. package/es/components/time-picker/src/common/picker.mjs +2 -0
  308. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  309. package/es/components/time-picker/src/common/picker.vue.d.ts +6 -0
  310. package/es/components/time-picker/src/common/props.d.ts +32 -10
  311. package/es/components/time-picker/src/common/props.mjs +2 -0
  312. package/es/components/time-picker/src/common/props.mjs.map +1 -1
  313. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  314. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  315. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  316. package/es/components/time-picker/src/time-picker.d.ts +4 -0
  317. package/es/components/time-select/index.d.ts +16 -0
  318. package/es/components/time-select/src/time-select.vue.d.ts +8 -0
  319. package/es/components/time-select/src/time-select2.mjs +3 -1
  320. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  321. package/es/components/timeline/index.mjs +2 -2
  322. package/es/components/timeline/src/timeline-item.mjs +42 -72
  323. package/es/components/timeline/src/timeline-item.mjs.map +1 -1
  324. package/es/components/timeline/src/timeline-item2.mjs +72 -42
  325. package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
  326. package/es/components/tooltip/index.mjs +2 -2
  327. package/es/components/tooltip/src/tooltip.mjs +175 -31
  328. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  329. package/es/components/tooltip/src/tooltip2.mjs +31 -175
  330. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  331. package/es/components/tooltip/src/trigger.mjs +1 -1
  332. package/es/components/tooltip/src/trigger2.mjs +1 -1
  333. package/es/components/tooltip-v2/index.mjs +1 -1
  334. package/es/components/tooltip-v2/src/content2.mjs +1 -1
  335. package/es/components/tooltip-v2/src/root.mjs +17 -82
  336. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  337. package/es/components/tooltip-v2/src/root2.mjs +82 -17
  338. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  339. package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
  340. package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
  341. package/es/components/transfer/index.d.ts +40 -0
  342. package/es/components/transfer/src/composables/use-check.mjs +1 -1
  343. package/es/components/transfer/src/transfer-panel.mjs +128 -19
  344. package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
  345. package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  346. package/es/components/transfer/src/transfer-panel2.mjs +19 -128
  347. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  348. package/es/components/transfer/src/transfer.vue.d.ts +40 -0
  349. package/es/components/transfer/src/transfer2.mjs +1 -1
  350. package/es/components/tree-select/src/tree-select-option.d.ts +6 -0
  351. package/es/components/tree-v2/index.d.ts +8 -0
  352. package/es/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  353. package/es/components/tree-v2/src/tree.vue.d.ts +8 -0
  354. package/es/components/upload/index.d.ts +18 -16
  355. package/es/components/upload/index.mjs +1 -1
  356. package/es/components/upload/src/upload-content.d.ts +0 -1
  357. package/es/components/upload/src/upload-content.vue.d.ts +0 -4
  358. package/es/components/upload/src/upload-content2.mjs +1 -1
  359. package/es/components/upload/src/upload-dragger.mjs +72 -11
  360. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  361. package/es/components/upload/src/upload-dragger2.mjs +11 -72
  362. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  363. package/es/components/upload/src/upload-list.vue.d.ts +17 -0
  364. package/es/components/upload/src/upload-list2.mjs +8 -6
  365. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  366. package/es/components/upload/src/upload.d.ts +0 -2
  367. package/es/components/upload/src/upload.vue.d.ts +19 -17
  368. package/es/components/upload/src/upload2.mjs +0 -4
  369. package/es/components/upload/src/upload2.mjs.map +1 -1
  370. package/es/components/visual-hidden/index.mjs +3 -3
  371. package/es/components/visual-hidden/src/visual-hidden.mjs +35 -7
  372. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  373. package/es/components/visual-hidden/src/visual-hidden2.mjs +7 -35
  374. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  375. package/es/components/watermark/index.d.ts +94 -0
  376. package/es/components/watermark/index.mjs +9 -0
  377. package/es/components/watermark/index.mjs.map +1 -0
  378. package/es/components/watermark/src/useClips.d.ts +7 -0
  379. package/es/components/watermark/src/useClips.mjs +82 -0
  380. package/es/components/watermark/src/useClips.mjs.map +1 -0
  381. package/es/components/watermark/src/utils.d.ts +8 -0
  382. package/es/components/watermark/src/utils.mjs +22 -0
  383. package/es/components/watermark/src/utils.mjs.map +1 -0
  384. package/es/components/watermark/src/watermark.d.ts +32 -0
  385. package/es/components/watermark/src/watermark.mjs +202 -0
  386. package/es/components/watermark/src/watermark.mjs.map +1 -0
  387. package/es/components/watermark/src/watermark.vue.d.ts +94 -0
  388. package/es/components/watermark/src/watermark2.mjs +33 -0
  389. package/es/components/watermark/src/watermark2.mjs.map +1 -0
  390. package/es/components/watermark/style/css.d.ts +0 -0
  391. package/es/components/watermark/style/css.mjs +2 -0
  392. package/es/components/watermark/style/css.mjs.map +1 -0
  393. package/es/components/watermark/style/index.d.ts +0 -0
  394. package/es/components/watermark/style/index.mjs +2 -0
  395. package/es/components/watermark/style/index.mjs.map +1 -0
  396. package/es/hooks/use-focus-controller/index.d.ts +6 -1
  397. package/es/hooks/use-focus-controller/index.mjs +5 -2
  398. package/es/hooks/use-focus-controller/index.mjs.map +1 -1
  399. package/es/index.mjs +34 -32
  400. package/es/index.mjs.map +1 -1
  401. package/global.d.ts +1 -0
  402. package/lib/component.js +3 -1
  403. package/lib/component.js.map +1 -1
  404. package/lib/components/autocomplete/index.d.ts +28 -1
  405. package/lib/components/autocomplete/index.js +2 -2
  406. package/lib/components/autocomplete/src/autocomplete.js +378 -99
  407. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  408. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
  409. package/lib/components/autocomplete/src/autocomplete2.js +99 -378
  410. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  411. package/lib/components/backtop/index.js +2 -2
  412. package/lib/components/backtop/src/backtop.js +61 -24
  413. package/lib/components/backtop/src/backtop.js.map +1 -1
  414. package/lib/components/backtop/src/backtop2.js +24 -61
  415. package/lib/components/backtop/src/backtop2.js.map +1 -1
  416. package/lib/components/breadcrumb/index.js +2 -2
  417. package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -56
  418. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  419. package/lib/components/breadcrumb/src/breadcrumb-item2.js +56 -11
  420. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  421. package/lib/components/button/index.js +2 -2
  422. package/lib/components/button/src/button-group.js +1 -1
  423. package/lib/components/button/src/button.js +76 -60
  424. package/lib/components/button/src/button.js.map +1 -1
  425. package/lib/components/button/src/button2.js +60 -76
  426. package/lib/components/button/src/button2.js.map +1 -1
  427. package/lib/components/calendar/index.js +2 -2
  428. package/lib/components/calendar/src/calendar.js +131 -19
  429. package/lib/components/calendar/src/calendar.js.map +1 -1
  430. package/lib/components/calendar/src/calendar2.js +19 -131
  431. package/lib/components/calendar/src/calendar2.js.map +1 -1
  432. package/lib/components/calendar/src/date-table.js +87 -37
  433. package/lib/components/calendar/src/date-table.js.map +1 -1
  434. package/lib/components/calendar/src/date-table2.js +37 -87
  435. package/lib/components/calendar/src/date-table2.js.map +1 -1
  436. package/lib/components/calendar/src/use-date-table.js +1 -1
  437. package/lib/components/carousel/index.d.ts +5 -0
  438. package/lib/components/carousel/src/carousel.vue.d.ts +6 -1
  439. package/lib/components/carousel/src/carousel2.js +7 -2
  440. package/lib/components/carousel/src/carousel2.js.map +1 -1
  441. package/lib/components/carousel/src/use-carousel.d.ts +6 -0
  442. package/lib/components/carousel/src/use-carousel.js +40 -5
  443. package/lib/components/carousel/src/use-carousel.js.map +1 -1
  444. package/lib/components/cascader/index.d.ts +150 -6
  445. package/lib/components/cascader/index.js +2 -2
  446. package/lib/components/cascader/src/cascader.js +87 -647
  447. package/lib/components/cascader/src/cascader.js.map +1 -1
  448. package/lib/components/cascader/src/cascader.vue.d.ts +75 -3
  449. package/lib/components/cascader/src/cascader2.js +647 -87
  450. package/lib/components/cascader/src/cascader2.js.map +1 -1
  451. package/lib/components/check-tag/index.js +2 -2
  452. package/lib/components/check-tag/src/check-tag.js +13 -31
  453. package/lib/components/check-tag/src/check-tag.js.map +1 -1
  454. package/lib/components/check-tag/src/check-tag2.js +31 -13
  455. package/lib/components/check-tag/src/check-tag2.js.map +1 -1
  456. package/lib/components/checkbox/index.d.ts +12 -0
  457. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  458. package/lib/components/checkbox/src/checkbox.d.ts +1 -0
  459. package/lib/components/checkbox/src/checkbox.js +8 -12
  460. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  461. package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -0
  462. package/lib/components/checkbox/src/checkbox2.js +2 -1
  463. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  464. package/lib/components/checkbox/src/composables/use-checkbox-status.js +1 -1
  465. package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
  466. package/lib/components/col/index.js +2 -2
  467. package/lib/components/col/src/col.js +66 -43
  468. package/lib/components/col/src/col.js.map +1 -1
  469. package/lib/components/col/src/col2.js +43 -66
  470. package/lib/components/col/src/col2.js.map +1 -1
  471. package/lib/components/collapse/index.js +2 -2
  472. package/lib/components/collapse/src/collapse-item.js +1 -0
  473. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  474. package/lib/components/collapse/src/collapse.js +19 -28
  475. package/lib/components/collapse/src/collapse.js.map +1 -1
  476. package/lib/components/collapse/src/collapse2.js +28 -19
  477. package/lib/components/collapse/src/collapse2.js.map +1 -1
  478. package/lib/components/color-picker/index.d.ts +19 -2
  479. package/lib/components/color-picker/index.js +2 -2
  480. package/lib/components/color-picker/src/color-picker.d.ts +2 -0
  481. package/lib/components/color-picker/src/color-picker.js +60 -352
  482. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  483. package/lib/components/color-picker/src/color-picker.vue.d.ts +19 -2
  484. package/lib/components/color-picker/src/color-picker2.js +429 -58
  485. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  486. package/lib/components/color-picker/src/components/predefine.js +1 -1
  487. package/lib/components/date-picker/index.d.ts +8 -0
  488. package/lib/components/date-picker/src/date-picker-com/basic-cell-render.js +1 -1
  489. package/lib/components/date-picker/src/date-picker-com/basic-cell-render.js.map +1 -1
  490. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -2
  491. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
  492. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
  493. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +2 -2
  494. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  495. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
  496. package/lib/components/date-picker/src/date-picker.d.ts +4 -0
  497. package/lib/components/date-picker/src/panel-utils.d.ts +538 -22
  498. package/lib/components/date-picker/src/props/date-picker.d.ts +2 -0
  499. package/lib/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
  500. package/lib/components/date-picker/src/props/panel-date-range.d.ts +2 -0
  501. package/lib/components/date-picker/src/props/shared.d.ts +2 -0
  502. package/lib/components/date-picker/src/props/shared.js +3 -1
  503. package/lib/components/date-picker/src/props/shared.js.map +1 -1
  504. package/lib/components/descriptions/index.d.ts +64 -144
  505. package/lib/components/descriptions/index.js +2 -2
  506. package/lib/components/descriptions/src/description-item.d.ts +54 -72
  507. package/lib/components/descriptions/src/description-item.js +42 -39
  508. package/lib/components/descriptions/src/description-item.js.map +1 -1
  509. package/lib/components/descriptions/src/description.js +121 -27
  510. package/lib/components/descriptions/src/description.js.map +1 -1
  511. package/lib/components/descriptions/src/description.vue.d.ts +16 -10
  512. package/lib/components/descriptions/src/description2.js +27 -120
  513. package/lib/components/descriptions/src/description2.js.map +1 -1
  514. package/lib/components/descriptions/src/descriptions-cell.d.ts +9 -3
  515. package/lib/components/descriptions/src/descriptions-cell.js +15 -10
  516. package/lib/components/descriptions/src/descriptions-cell.js.map +1 -1
  517. package/lib/components/descriptions/src/descriptions-row.d.ts +2 -1
  518. package/lib/components/descriptions/src/descriptions-row.js +1 -1
  519. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  520. package/lib/components/descriptions/src/descriptions-row.vue.d.ts +10 -6
  521. package/lib/components/descriptions/src/descriptions-row2.js +6 -6
  522. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  523. package/lib/components/dialog/index.js +2 -2
  524. package/lib/components/dialog/src/dialog.js +69 -175
  525. package/lib/components/dialog/src/dialog.js.map +1 -1
  526. package/lib/components/dialog/src/dialog2.js +175 -69
  527. package/lib/components/dialog/src/dialog2.js.map +1 -1
  528. package/lib/components/drawer/index.js +2 -2
  529. package/lib/components/drawer/src/drawer.js +187 -30
  530. package/lib/components/drawer/src/drawer.js.map +1 -1
  531. package/lib/components/drawer/src/drawer2.js +30 -187
  532. package/lib/components/drawer/src/drawer2.js.map +1 -1
  533. package/lib/components/empty/index.js +2 -2
  534. package/lib/components/empty/src/empty.js +55 -11
  535. package/lib/components/empty/src/empty.js.map +1 -1
  536. package/lib/components/empty/src/empty2.js +11 -55
  537. package/lib/components/empty/src/empty2.js.map +1 -1
  538. package/lib/components/form/src/form-item.js +1 -1
  539. package/lib/components/form/src/form-item.js.map +1 -1
  540. package/lib/components/image/index.d.ts +16 -0
  541. package/lib/components/image/src/image.d.ts +2 -0
  542. package/lib/components/image/src/image.js +8 -0
  543. package/lib/components/image/src/image.js.map +1 -1
  544. package/lib/components/image/src/image.vue.d.ts +16 -0
  545. package/lib/components/image/src/image2.js +3 -1
  546. package/lib/components/image/src/image2.js.map +1 -1
  547. package/lib/components/image-viewer/index.d.ts +8 -0
  548. package/lib/components/image-viewer/index.js +2 -2
  549. package/lib/components/image-viewer/src/image-viewer.d.ts +2 -0
  550. package/lib/components/image-viewer/src/image-viewer.js +42 -405
  551. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  552. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  553. package/lib/components/image-viewer/src/image-viewer2.js +406 -34
  554. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  555. package/lib/components/index.d.ts +1 -0
  556. package/lib/components/index.js +52 -48
  557. package/lib/components/index.js.map +1 -1
  558. package/lib/components/link/index.js +2 -2
  559. package/lib/components/link/src/link.js +50 -22
  560. package/lib/components/link/src/link.js.map +1 -1
  561. package/lib/components/link/src/link2.js +22 -50
  562. package/lib/components/link/src/link2.js.map +1 -1
  563. package/lib/components/menu/index.d.ts +1 -0
  564. package/lib/components/menu/index.js +3 -2
  565. package/lib/components/menu/index.js.map +1 -1
  566. package/lib/components/menu/src/instance.d.ts +12 -0
  567. package/lib/components/menu/src/instance.js +3 -0
  568. package/lib/components/menu/src/instance.js.map +1 -0
  569. package/lib/components/menu/src/menu-item.js +97 -15
  570. package/lib/components/menu/src/menu-item.js.map +1 -1
  571. package/lib/components/menu/src/menu-item2.js +15 -97
  572. package/lib/components/menu/src/menu-item2.js.map +1 -1
  573. package/lib/components/menu/src/sub-menu.js +0 -22
  574. package/lib/components/menu/src/sub-menu.js.map +1 -1
  575. package/lib/components/pagination/src/components/jumper.js +60 -9
  576. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  577. package/lib/components/pagination/src/components/jumper2.js +9 -60
  578. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  579. package/lib/components/pagination/src/components/prev.js +19 -38
  580. package/lib/components/pagination/src/components/prev.js.map +1 -1
  581. package/lib/components/pagination/src/components/prev2.js +38 -19
  582. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  583. package/lib/components/pagination/src/components/sizes.js +71 -23
  584. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  585. package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -0
  586. package/lib/components/pagination/src/components/sizes2.js +23 -71
  587. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  588. package/lib/components/pagination/src/pagination.js +3 -3
  589. package/lib/components/popconfirm/src/popconfirm2.js +1 -1
  590. package/lib/components/popover/index.js +2 -2
  591. package/lib/components/popover/src/popover.js +111 -67
  592. package/lib/components/popover/src/popover.js.map +1 -1
  593. package/lib/components/popover/src/popover2.js +67 -111
  594. package/lib/components/popover/src/popover2.js.map +1 -1
  595. package/lib/components/popper/index.js +6 -6
  596. package/lib/components/popper/src/arrow.js +39 -9
  597. package/lib/components/popper/src/arrow.js.map +1 -1
  598. package/lib/components/popper/src/arrow2.js +9 -39
  599. package/lib/components/popper/src/arrow2.js.map +1 -1
  600. package/lib/components/popper/src/composables/use-content-dom.js +4 -2
  601. package/lib/components/popper/src/composables/use-content-dom.js.map +1 -1
  602. package/lib/components/popper/src/popper.js +32 -28
  603. package/lib/components/popper/src/popper.js.map +1 -1
  604. package/lib/components/popper/src/popper2.js +28 -32
  605. package/lib/components/popper/src/popper2.js.map +1 -1
  606. package/lib/components/popper/src/trigger.js +32 -121
  607. package/lib/components/popper/src/trigger.js.map +1 -1
  608. package/lib/components/popper/src/trigger2.js +121 -32
  609. package/lib/components/popper/src/trigger2.js.map +1 -1
  610. package/lib/components/progress/index.js +2 -2
  611. package/lib/components/progress/src/progress.js +205 -59
  612. package/lib/components/progress/src/progress.js.map +1 -1
  613. package/lib/components/progress/src/progress2.js +59 -205
  614. package/lib/components/progress/src/progress2.js.map +1 -1
  615. package/lib/components/radio/index.js +2 -2
  616. package/lib/components/radio/src/radio-button2.js +1 -1
  617. package/lib/components/radio/src/radio-group.js +1 -1
  618. package/lib/components/radio/src/radio.js +76 -37
  619. package/lib/components/radio/src/radio.js.map +1 -1
  620. package/lib/components/radio/src/radio2.js +37 -76
  621. package/lib/components/radio/src/radio2.js.map +1 -1
  622. package/lib/components/resizable-columns/index.js +2 -2
  623. package/lib/components/resizable-columns/src/resizable-column.js +145 -8
  624. package/lib/components/resizable-columns/src/resizable-column.js.map +1 -1
  625. package/lib/components/resizable-columns/src/resizable-column2.js +8 -145
  626. package/lib/components/resizable-columns/src/resizable-column2.js.map +1 -1
  627. package/lib/components/scrollbar/index.d.ts +28 -1
  628. package/lib/components/scrollbar/index.js +2 -2
  629. package/lib/components/scrollbar/src/bar.js +42 -17
  630. package/lib/components/scrollbar/src/bar.js.map +1 -1
  631. package/lib/components/scrollbar/src/bar2.js +17 -42
  632. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  633. package/lib/components/scrollbar/src/scrollbar.d.ts +9 -0
  634. package/lib/components/scrollbar/src/scrollbar.js +54 -176
  635. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  636. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  637. package/lib/components/scrollbar/src/scrollbar2.js +180 -47
  638. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  639. package/lib/components/select/index.d.ts +4 -0
  640. package/lib/components/select/src/option.js +9 -1
  641. package/lib/components/select/src/option.js.map +1 -1
  642. package/lib/components/select/src/option.vue.d.ts +1 -0
  643. package/lib/components/select/src/select.js +255 -232
  644. package/lib/components/select/src/select.js.map +1 -1
  645. package/lib/components/select/src/select.vue.d.ts +1597 -596
  646. package/lib/components/select/src/useOption.js +3 -4
  647. package/lib/components/select/src/useOption.js.map +1 -1
  648. package/lib/components/select/src/useSelect.d.ts +1 -0
  649. package/lib/components/select/src/useSelect.js +4 -2
  650. package/lib/components/select/src/useSelect.js.map +1 -1
  651. package/lib/components/select-v2/index.d.ts +2 -2
  652. package/lib/components/select-v2/src/select-dropdown.js +3 -6
  653. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  654. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  655. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  656. package/lib/components/select-v2/src/useSelect.js +16 -15
  657. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  658. package/lib/components/skeleton/index.js +2 -2
  659. package/lib/components/skeleton/src/skeleton.js +49 -22
  660. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  661. package/lib/components/skeleton/src/skeleton2.js +22 -49
  662. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  663. package/lib/components/slider/src/button.js +22 -94
  664. package/lib/components/slider/src/button.js.map +1 -1
  665. package/lib/components/slider/src/button2.js +94 -22
  666. package/lib/components/slider/src/button2.js.map +1 -1
  667. package/lib/components/slider/src/slider.js +1 -1
  668. package/lib/components/space/src/use-space.js +1 -3
  669. package/lib/components/space/src/use-space.js.map +1 -1
  670. package/lib/components/switch/index.d.ts +4 -0
  671. package/lib/components/switch/src/switch.d.ts +1 -0
  672. package/lib/components/switch/src/switch.js +2 -1
  673. package/lib/components/switch/src/switch.js.map +1 -1
  674. package/lib/components/switch/src/switch.vue.d.ts +4 -0
  675. package/lib/components/switch/src/switch2.js +4 -0
  676. package/lib/components/switch/src/switch2.js.map +1 -1
  677. package/lib/components/table/src/table-footer/index.js +15 -33
  678. package/lib/components/table/src/table-footer/index.js.map +1 -1
  679. package/lib/components/table/src/table-header/index.js.map +1 -1
  680. package/lib/components/table/src/table.js +33 -12
  681. package/lib/components/table/src/table.js.map +1 -1
  682. package/lib/components/tabs/index.js +2 -2
  683. package/lib/components/tabs/src/tab-nav.d.ts +4 -1
  684. package/lib/components/tabs/src/tab-nav.js.map +1 -1
  685. package/lib/components/tabs/src/tab-pane.js +76 -14
  686. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  687. package/lib/components/tabs/src/tab-pane2.js +14 -76
  688. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  689. package/lib/components/tabs/src/tabs.d.ts +16 -30
  690. package/lib/components/tabs/src/tabs.js +10 -10
  691. package/lib/components/tabs/src/tabs.js.map +1 -1
  692. package/lib/components/text/index.d.ts +18 -0
  693. package/lib/components/text/src/text.d.ts +6 -2
  694. package/lib/components/text/src/text.js +3 -0
  695. package/lib/components/text/src/text.js.map +1 -1
  696. package/lib/components/text/src/text.vue.d.ts +32 -14
  697. package/lib/components/text/src/text2.js +7 -3
  698. package/lib/components/text/src/text2.js.map +1 -1
  699. package/lib/components/time-picker/index.d.ts +8 -0
  700. package/lib/components/time-picker/src/common/picker.js +2 -0
  701. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  702. package/lib/components/time-picker/src/common/picker.vue.d.ts +6 -0
  703. package/lib/components/time-picker/src/common/props.d.ts +32 -10
  704. package/lib/components/time-picker/src/common/props.js +2 -0
  705. package/lib/components/time-picker/src/common/props.js.map +1 -1
  706. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  707. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  708. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  709. package/lib/components/time-picker/src/time-picker.d.ts +4 -0
  710. package/lib/components/time-select/index.d.ts +16 -0
  711. package/lib/components/time-select/src/time-select.vue.d.ts +8 -0
  712. package/lib/components/time-select/src/time-select2.js +5 -3
  713. package/lib/components/time-select/src/time-select2.js.map +1 -1
  714. package/lib/components/timeline/index.js +2 -2
  715. package/lib/components/timeline/src/timeline-item.js +42 -72
  716. package/lib/components/timeline/src/timeline-item.js.map +1 -1
  717. package/lib/components/timeline/src/timeline-item2.js +72 -42
  718. package/lib/components/timeline/src/timeline-item2.js.map +1 -1
  719. package/lib/components/tooltip/index.js +2 -2
  720. package/lib/components/tooltip/src/tooltip.js +174 -34
  721. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  722. package/lib/components/tooltip/src/tooltip2.js +34 -174
  723. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  724. package/lib/components/tooltip/src/trigger.js +1 -1
  725. package/lib/components/tooltip/src/trigger2.js +1 -1
  726. package/lib/components/tooltip-v2/index.js +1 -1
  727. package/lib/components/tooltip-v2/src/content2.js +1 -1
  728. package/lib/components/tooltip-v2/src/root.js +17 -82
  729. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  730. package/lib/components/tooltip-v2/src/root2.js +82 -17
  731. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  732. package/lib/components/tooltip-v2/src/tooltip.js +1 -1
  733. package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
  734. package/lib/components/transfer/index.d.ts +40 -0
  735. package/lib/components/transfer/src/composables/use-check.js +1 -1
  736. package/lib/components/transfer/src/transfer-panel.js +128 -21
  737. package/lib/components/transfer/src/transfer-panel.js.map +1 -1
  738. package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  739. package/lib/components/transfer/src/transfer-panel2.js +21 -128
  740. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  741. package/lib/components/transfer/src/transfer.vue.d.ts +40 -0
  742. package/lib/components/transfer/src/transfer2.js +1 -1
  743. package/lib/components/tree-select/src/tree-select-option.d.ts +6 -0
  744. package/lib/components/tree-v2/index.d.ts +8 -0
  745. package/lib/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  746. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -0
  747. package/lib/components/upload/index.d.ts +18 -16
  748. package/lib/components/upload/index.js +1 -1
  749. package/lib/components/upload/src/upload-content.d.ts +0 -1
  750. package/lib/components/upload/src/upload-content.vue.d.ts +0 -4
  751. package/lib/components/upload/src/upload-content2.js +1 -1
  752. package/lib/components/upload/src/upload-dragger.js +72 -12
  753. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  754. package/lib/components/upload/src/upload-dragger2.js +12 -72
  755. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  756. package/lib/components/upload/src/upload-list.vue.d.ts +17 -0
  757. package/lib/components/upload/src/upload-list2.js +7 -5
  758. package/lib/components/upload/src/upload-list2.js.map +1 -1
  759. package/lib/components/upload/src/upload.d.ts +0 -2
  760. package/lib/components/upload/src/upload.vue.d.ts +19 -17
  761. package/lib/components/upload/src/upload2.js +0 -4
  762. package/lib/components/upload/src/upload2.js.map +1 -1
  763. package/lib/components/visual-hidden/index.js +2 -2
  764. package/lib/components/visual-hidden/src/visual-hidden.js +35 -7
  765. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  766. package/lib/components/visual-hidden/src/visual-hidden2.js +7 -35
  767. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  768. package/lib/components/watermark/index.d.ts +94 -0
  769. package/lib/components/watermark/index.js +15 -0
  770. package/lib/components/watermark/index.js.map +1 -0
  771. package/lib/components/watermark/src/useClips.d.ts +7 -0
  772. package/lib/components/watermark/src/useClips.js +87 -0
  773. package/lib/components/watermark/src/useClips.js.map +1 -0
  774. package/lib/components/watermark/src/utils.d.ts +8 -0
  775. package/lib/components/watermark/src/utils.js +29 -0
  776. package/lib/components/watermark/src/utils.js.map +1 -0
  777. package/lib/components/watermark/src/watermark.d.ts +32 -0
  778. package/lib/components/watermark/src/watermark.js +206 -0
  779. package/lib/components/watermark/src/watermark.js.map +1 -0
  780. package/lib/components/watermark/src/watermark.vue.d.ts +94 -0
  781. package/lib/components/watermark/src/watermark2.js +37 -0
  782. package/lib/components/watermark/src/watermark2.js.map +1 -0
  783. package/lib/components/watermark/style/css.d.ts +0 -0
  784. package/lib/components/watermark/style/css.js +3 -0
  785. package/lib/components/watermark/style/css.js.map +1 -0
  786. package/lib/components/watermark/style/index.d.ts +0 -0
  787. package/lib/components/watermark/style/index.js +3 -0
  788. package/lib/components/watermark/style/index.js.map +1 -0
  789. package/lib/hooks/use-focus-controller/index.d.ts +6 -1
  790. package/lib/hooks/use-focus-controller/index.js +5 -2
  791. package/lib/hooks/use-focus-controller/index.js.map +1 -1
  792. package/lib/index.js +143 -139
  793. package/lib/index.js.map +1 -1
  794. package/package.json +4 -1
  795. package/theme-chalk/el-button.css +1 -1
  796. package/theme-chalk/el-color-picker.css +1 -1
  797. package/theme-chalk/el-menu.css +1 -1
  798. package/theme-chalk/el-message-box.css +1 -1
  799. package/theme-chalk/el-table-v2.css +1 -1
  800. package/theme-chalk/el-table.css +1 -1
  801. package/theme-chalk/el-text.css +1 -1
  802. package/theme-chalk/el-upload.css +1 -1
  803. package/theme-chalk/index.css +1 -1
  804. package/theme-chalk/src/button.scss +1 -0
  805. package/theme-chalk/src/color-picker.scss +8 -2
  806. package/theme-chalk/src/common/var.scss +3 -1
  807. package/theme-chalk/src/menu.scss +14 -4
  808. package/theme-chalk/src/message-box.scss +0 -12
  809. package/theme-chalk/src/table.scss +38 -15
  810. package/theme-chalk/src/text.scss +6 -0
  811. package/theme-chalk/src/upload.scss +1 -1
  812. package/web-types.json +1 -1
@@ -135,7 +135,7 @@ const useSelect = (props, emit) => {
135
135
  const filteredOptionsValueMap = computed(() => {
136
136
  const valueMap = /* @__PURE__ */ new Map();
137
137
  filteredOptions.value.forEach((option, index) => {
138
- valueMap.set(getValueKey(option), { option, index });
138
+ valueMap.set(getValueKey(option.value), { option, index });
139
139
  });
140
140
  return valueMap;
141
141
  });
@@ -317,7 +317,7 @@ const useSelect = (props, emit) => {
317
317
  var _a, _b;
318
318
  if (props.multiple) {
319
319
  let selectedOptions = props.modelValue.slice();
320
- const index = getValueIndex(selectedOptions, getValueKey(option));
320
+ const index = getValueIndex(selectedOptions, option.value);
321
321
  if (index > -1) {
322
322
  selectedOptions = [
323
323
  ...selectedOptions.slice(0, index),
@@ -326,7 +326,7 @@ const useSelect = (props, emit) => {
326
326
  states.cachedOptions.splice(index, 1);
327
327
  removeNewOption(option);
328
328
  } else if (props.multipleLimit <= 0 || selectedOptions.length < props.multipleLimit) {
329
- selectedOptions = [...selectedOptions, getValueKey(option)];
329
+ selectedOptions = [...selectedOptions, option.value];
330
330
  states.cachedOptions.push(option);
331
331
  selectNewOption(option);
332
332
  updateHoveringIndex(idx);
@@ -349,7 +349,7 @@ const useSelect = (props, emit) => {
349
349
  } else {
350
350
  selectedIndex.value = idx;
351
351
  states.selectedLabel = option[props.labelKey];
352
- update(getValueKey(option));
352
+ update(option.value);
353
353
  expanded.value = false;
354
354
  states.isComposing = false;
355
355
  states.isSilentBlur = byClick;
@@ -360,19 +360,19 @@ const useSelect = (props, emit) => {
360
360
  updateHoveringIndex(idx);
361
361
  }
362
362
  };
363
- const deleteTag = (event, tag) => {
364
- const { valueKey } = props;
365
- const index = props.modelValue.indexOf(get(tag, valueKey));
363
+ const deleteTag = (event, option) => {
364
+ let selectedOptions = props.modelValue.slice();
365
+ const index = getValueIndex(selectedOptions, option.value);
366
366
  if (index > -1 && !selectDisabled.value && !selectViewMode.value) {
367
- const value = [
367
+ selectedOptions = [
368
368
  ...props.modelValue.slice(0, index),
369
369
  ...props.modelValue.slice(index + 1)
370
370
  ];
371
371
  states.cachedOptions.splice(index, 1);
372
- update(value);
373
- emit("remove-tag", get(tag, valueKey));
372
+ update(selectedOptions);
373
+ emit("remove-tag", option.value);
374
374
  states.softFocus = true;
375
- removeNewOption(tag);
375
+ removeNewOption(option);
376
376
  return nextTick(focusAndUpdatePopup);
377
377
  }
378
378
  event.stopPropagation();
@@ -535,8 +535,9 @@ const useSelect = (props, emit) => {
535
535
  states.cachedOptions.length = 0;
536
536
  states.previousValue = props.modelValue.toString();
537
537
  for (const value of props.modelValue) {
538
- if (filteredOptionsValueMap.value.has(value)) {
539
- const { index, option } = filteredOptionsValueMap.value.get(value);
538
+ const selectValue = getValueKey(value);
539
+ if (filteredOptionsValueMap.value.has(selectValue)) {
540
+ const { index, option } = filteredOptionsValueMap.value.get(selectValue);
540
541
  states.cachedOptions.push(option);
541
542
  if (!initHovering) {
542
543
  updateHoveringIndex(index);
@@ -552,7 +553,7 @@ const useSelect = (props, emit) => {
552
553
  if (hasModelValue.value) {
553
554
  states.previousValue = props.modelValue;
554
555
  const options = filteredOptions.value;
555
- const selectedItemIndex = options.findIndex((option) => getValueKey(option) === getValueKey(props.modelValue));
556
+ const selectedItemIndex = options.findIndex((option) => getValueKey(option.value) === getValueKey(props.modelValue));
556
557
  if (~selectedItemIndex) {
557
558
  states.selectedLabel = options[selectedItemIndex][props.labelKey];
558
559
  updateHoveringIndex(selectedItemIndex);
@@ -598,7 +599,7 @@ const useSelect = (props, emit) => {
598
599
  deep: true
599
600
  });
600
601
  watch(filteredOptions, () => {
601
- return nextTick(menuRef.value.resetScrollTop);
602
+ return menuRef.value && nextTick(menuRef.value.resetScrollTop);
602
603
  });
603
604
  watch(() => dropdownMenuVisible.value, (val) => {
604
605
  if (!val) {
@@ -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), { 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, getValueKey(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, getValueKey(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 = option[props.labelKey]\n update(getValueKey(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, tag: Option) => {\n const { valueKey } = props\n const index = (props.modelValue as Array<any>).indexOf(get(tag, valueKey))\n\n if (index > -1 && !selectDisabled.value && !selectViewMode.value) {\n const value = [\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(value)\n emit('remove-tag', get(tag, valueKey))\n states.softFocus = true\n removeNewOption(tag)\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 if (filteredOptionsValueMap.value.has(value)) {\n const { index, option } = filteredOptionsValueMap.value.get(value)\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) => getValueKey(option) === 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 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,CAAC,KAAK,EAAE,IAAI,KAAK;AACnC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,CAAC;AAC5B,EAAE,MAAM,UAAU,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;AAC/C,EAAE,MAAM,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AACxC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,CAAC;AAC/D,EAAE,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAC;AACpD,EAAE,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC1B,IAAI,UAAU,EAAE,yBAAyB;AACzC,IAAI,iBAAiB,EAAE,yBAAyB;AAChD,IAAI,eAAe,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AY,CAAC,CAAC;AAC7C,EAAE,OAAO;AACT,IAAI,eAAe;AACnB,IAAI,kBAAkB;AACtB,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,WAAW;AACf,cAAIA,UAAQ;AACZ,IAAI,eAAe;AACnB,IAAI,aAAa;AACjB,IAAI,WAAW;AACf,IAAI,iBAAiB;AACrB,IAAI,UAAU;AACd,IAAI,mBAAmB;AACvB,IAAI,aAAa;AACjB,IAAI,qBAAqB;AACzB,IAAI,cAAc;AAClB,IAAI,cAAc;AAClB,IAAI,gBAAgB;AACpB,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,MAAM;AACV,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,OAAO;AACX,IAAI,aAAa;AACjB,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,MAAM;AACV,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,IAAI,WAAW;AACf,IAAI,eAAe;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'\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,CAAC,KAAK,EAAE,IAAI,KAAK;AACnC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,SAAS,EAAE,CAAC;AAC5B,EAAE,MAAM,UAAU,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;AAC/C,EAAE,MAAM,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AACxC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,CAAC;AAC/D,EAAE,MAAM,KAAK,GAAG,MAAM,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAC;AACpD,EAAE,MAAM,MAAM,GAAG,QAAQ,CAAC;AAC1B,IAAI,UAAU,EAAE,yBAAyB;AACzC,IAAI,iBAAiB,EAAE,yBAAyB;AAChD,IAAI,eAAe,EAAE,CAAC;AACtB,IAAI,iBAAiB,EAAE,EAAE;AACzB,IAAI,aAAa,EAAE,EAAE;AACrB,IAAI,cAAc,EA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I,eAAe;AACnB,IAAI,kBAAkB;AACtB,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,WAAW;AACf,cAAIA,UAAQ;AACZ,IAAI,eAAe;AACnB,IAAI,aAAa;AACjB,IAAI,WAAW;AACf,IAAI,iBAAiB;AACrB,IAAI,UAAU;AACd,IAAI,mBAAmB;AACvB,IAAI,aAAa;AACjB,IAAI,qBAAqB;AACzB,IAAI,cAAc;AAClB,IAAI,cAAc;AAClB,IAAI,gBAAgB;AACpB,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,MAAM;AACV,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,OAAO;AACX,IAAI,aAAa;AACjB,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,MAAM;AACV,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,IAAI,WAAW;AACf,IAAI,eAAe;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,7 +1,7 @@
1
1
  import '../../utils/index.mjs';
2
- import Skeleton from './src/skeleton2.mjs';
2
+ import Skeleton from './src/skeleton.mjs';
3
3
  import SkeletonItem from './src/skeleton-item.mjs';
4
- export { skeletonProps } from './src/skeleton.mjs';
4
+ export { skeletonProps } from './src/skeleton2.mjs';
5
5
  export { skeletonItemProps } from './src/skeleton-item2.mjs';
6
6
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
7
7
 
@@ -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 './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';
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=skeleton.mjs.map
@@ -1 +1 @@
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
+ {"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,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 './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';
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=skeleton2.mjs.map
@@ -1 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
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;;;;"}