element-ps 2.0.32 → 2.0.35

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 (326) hide show
  1. package/dist/index.full.js +74 -406
  2. package/dist/index.full.min.js +5 -5
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +5 -5
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +74 -406
  7. package/es/components/alert/index.mjs +2 -2
  8. package/es/components/alert/src/alert.mjs +33 -83
  9. package/es/components/alert/src/alert.mjs.map +1 -1
  10. package/es/components/alert/src/alert2.mjs +83 -33
  11. package/es/components/alert/src/alert2.mjs.map +1 -1
  12. package/es/components/backtop/index.mjs +2 -2
  13. package/es/components/backtop/src/backtop.mjs +59 -18
  14. package/es/components/backtop/src/backtop.mjs.map +1 -1
  15. package/es/components/backtop/src/backtop2.mjs +18 -59
  16. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  17. package/es/components/breadcrumb/index.mjs +2 -2
  18. package/es/components/breadcrumb/src/breadcrumb-item.mjs +46 -11
  19. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  20. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +11 -46
  21. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  22. package/es/components/button/index.mjs +3 -3
  23. package/es/components/button/src/button-group.mjs +30 -5
  24. package/es/components/button/src/button-group.mjs.map +1 -1
  25. package/es/components/button/src/button-group2.mjs +5 -30
  26. package/es/components/button/src/button-group2.mjs.map +1 -1
  27. package/es/components/button/src/button.mjs +96 -48
  28. package/es/components/button/src/button.mjs.map +1 -1
  29. package/es/components/button/src/button2.mjs +48 -96
  30. package/es/components/button/src/button2.mjs.map +1 -1
  31. package/es/components/calendar/index.mjs +2 -2
  32. package/es/components/calendar/src/calendar.mjs +9 -188
  33. package/es/components/calendar/src/calendar.mjs.map +1 -1
  34. package/es/components/calendar/src/calendar2.mjs +188 -9
  35. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  36. package/es/components/cascader/src/index.mjs +1 -1
  37. package/es/components/empty/index.mjs +2 -2
  38. package/es/components/empty/src/empty.mjs +11 -56
  39. package/es/components/empty/src/empty.mjs.map +1 -1
  40. package/es/components/empty/src/empty2.mjs +56 -11
  41. package/es/components/empty/src/empty2.mjs.map +1 -1
  42. package/es/components/form/src/form-item2.mjs +2 -8
  43. package/es/components/form/src/form-item2.mjs.map +1 -1
  44. package/es/components/image/index.mjs +2 -2
  45. package/es/components/image/src/image.mjs +50 -127
  46. package/es/components/image/src/image.mjs.map +1 -1
  47. package/es/components/image/src/image2.mjs +127 -50
  48. package/es/components/image/src/image2.mjs.map +1 -1
  49. package/es/components/image-viewer/index.mjs +2 -2
  50. package/es/components/image-viewer/src/image-viewer.mjs +210 -31
  51. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  52. package/es/components/image-viewer/src/image-viewer2.mjs +31 -210
  53. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  54. package/es/components/index.mjs +24 -24
  55. package/es/components/input/index.mjs +2 -2
  56. package/es/components/input/src/input.mjs +295 -85
  57. package/es/components/input/src/input.mjs.map +1 -1
  58. package/es/components/input/src/input2.mjs +85 -295
  59. package/es/components/input/src/input2.mjs.map +1 -1
  60. package/es/components/link/index.mjs +2 -2
  61. package/es/components/link/src/link.mjs +19 -43
  62. package/es/components/link/src/link.mjs.map +1 -1
  63. package/es/components/link/src/link2.mjs +43 -19
  64. package/es/components/link/src/link2.mjs.map +1 -1
  65. package/es/components/menu/index.d.ts +6 -16
  66. package/es/components/menu/src/menu-item.mjs +8 -35
  67. package/es/components/menu/src/menu-item.mjs.map +1 -1
  68. package/es/components/menu/src/menu-item.vue.d.ts +10 -15
  69. package/es/components/menu/src/menu.mjs +2 -1
  70. package/es/components/menu/src/menu.mjs.map +1 -1
  71. package/es/components/popconfirm/index.mjs +2 -2
  72. package/es/components/popconfirm/src/popconfirm.mjs +20 -53
  73. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  74. package/es/components/popconfirm/src/popconfirm2.mjs +53 -20
  75. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  76. package/es/components/popper/index.mjs +2 -2
  77. package/es/components/popper/src/arrow.mjs +31 -7
  78. package/es/components/popper/src/arrow.mjs.map +1 -1
  79. package/es/components/popper/src/arrow2.mjs +7 -31
  80. package/es/components/popper/src/arrow2.mjs.map +1 -1
  81. package/es/components/radio/index.mjs +6 -6
  82. package/es/components/radio/src/radio-button.mjs +9 -80
  83. package/es/components/radio/src/radio-button.mjs.map +1 -1
  84. package/es/components/radio/src/radio-button2.mjs +80 -9
  85. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  86. package/es/components/radio/src/radio-group.mjs +37 -18
  87. package/es/components/radio/src/radio-group.mjs.map +1 -1
  88. package/es/components/radio/src/radio-group2.mjs +18 -37
  89. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  90. package/es/components/radio/src/radio.mjs +74 -62
  91. package/es/components/radio/src/radio.mjs.map +1 -1
  92. package/es/components/radio/src/radio2.mjs +62 -74
  93. package/es/components/radio/src/radio2.mjs.map +1 -1
  94. package/es/components/rate/index.mjs +2 -2
  95. package/es/components/rate/src/rate.mjs +84 -169
  96. package/es/components/rate/src/rate.mjs.map +1 -1
  97. package/es/components/rate/src/rate2.mjs +169 -84
  98. package/es/components/rate/src/rate2.mjs.map +1 -1
  99. package/es/components/result/index.mjs +2 -2
  100. package/es/components/result/src/result.mjs +73 -28
  101. package/es/components/result/src/result.mjs.map +1 -1
  102. package/es/components/result/src/result2.mjs +28 -73
  103. package/es/components/result/src/result2.mjs.map +1 -1
  104. package/es/components/roving-focus-group/index.mjs +3 -3
  105. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  106. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
  107. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  108. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
  109. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  110. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  111. package/es/components/scrollbar/index.mjs +2 -2
  112. package/es/components/scrollbar/src/bar.mjs +22 -35
  113. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  114. package/es/components/scrollbar/src/bar2.mjs +35 -22
  115. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  116. package/es/components/scrollbar/src/scrollbar.mjs +112 -42
  117. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  118. package/es/components/scrollbar/src/scrollbar2.mjs +42 -112
  119. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  120. package/es/components/select/src/select.mjs +1 -1
  121. package/es/components/skeleton/index.mjs +2 -2
  122. package/es/components/skeleton/src/skeleton.mjs +49 -22
  123. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  124. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  125. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  126. package/es/components/switch/index.mjs +2 -2
  127. package/es/components/switch/src/switch.mjs +81 -176
  128. package/es/components/switch/src/switch.mjs.map +1 -1
  129. package/es/components/switch/src/switch2.mjs +176 -81
  130. package/es/components/switch/src/switch2.mjs.map +1 -1
  131. package/es/components/tabs/index.mjs +2 -2
  132. package/es/components/tabs/src/tab-pane.mjs +61 -15
  133. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  134. package/es/components/tabs/src/tab-pane2.mjs +15 -61
  135. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  136. package/es/components/tag/index.mjs +2 -2
  137. package/es/components/tag/src/tag.mjs +33 -81
  138. package/es/components/tag/src/tag.mjs.map +1 -1
  139. package/es/components/tag/src/tag2.mjs +81 -33
  140. package/es/components/tag/src/tag2.mjs.map +1 -1
  141. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  142. package/es/components/tooltip-v2/index.mjs +5 -5
  143. package/es/components/tooltip-v2/src/content.mjs +113 -50
  144. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  145. package/es/components/tooltip-v2/src/content2.mjs +50 -113
  146. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  147. package/es/components/tooltip-v2/src/root.mjs +17 -81
  148. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  149. package/es/components/tooltip-v2/src/root2.mjs +81 -17
  150. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  151. package/es/components/tooltip-v2/src/tooltip.mjs +21 -74
  152. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  153. package/es/components/tooltip-v2/src/tooltip2.mjs +74 -21
  154. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  155. package/es/components/tooltip-v2/src/trigger.mjs +11 -89
  156. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  157. package/es/components/tooltip-v2/src/trigger2.mjs +89 -11
  158. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  159. package/es/components/upload/index.mjs +1 -1
  160. package/es/components/upload/src/upload-list.mjs +155 -26
  161. package/es/components/upload/src/upload-list.mjs.map +1 -1
  162. package/es/components/upload/src/upload-list2.mjs +26 -155
  163. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  164. package/es/components/upload/src/upload2.mjs +1 -1
  165. package/es/index.mjs +24 -24
  166. package/lib/components/alert/index.js +2 -2
  167. package/lib/components/alert/src/alert.js +33 -82
  168. package/lib/components/alert/src/alert.js.map +1 -1
  169. package/lib/components/alert/src/alert2.js +82 -33
  170. package/lib/components/alert/src/alert2.js.map +1 -1
  171. package/lib/components/backtop/index.js +2 -2
  172. package/lib/components/backtop/src/backtop.js +59 -18
  173. package/lib/components/backtop/src/backtop.js.map +1 -1
  174. package/lib/components/backtop/src/backtop2.js +18 -59
  175. package/lib/components/backtop/src/backtop2.js.map +1 -1
  176. package/lib/components/breadcrumb/index.js +2 -2
  177. package/lib/components/breadcrumb/src/breadcrumb-item.js +46 -11
  178. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  179. package/lib/components/breadcrumb/src/breadcrumb-item2.js +11 -46
  180. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  181. package/lib/components/button/index.js +3 -3
  182. package/lib/components/button/src/button-group.js +30 -5
  183. package/lib/components/button/src/button-group.js.map +1 -1
  184. package/lib/components/button/src/button-group2.js +5 -30
  185. package/lib/components/button/src/button-group2.js.map +1 -1
  186. package/lib/components/button/src/button.js +96 -50
  187. package/lib/components/button/src/button.js.map +1 -1
  188. package/lib/components/button/src/button2.js +50 -96
  189. package/lib/components/button/src/button2.js.map +1 -1
  190. package/lib/components/calendar/index.js +2 -2
  191. package/lib/components/calendar/src/calendar.js +9 -192
  192. package/lib/components/calendar/src/calendar.js.map +1 -1
  193. package/lib/components/calendar/src/calendar2.js +192 -9
  194. package/lib/components/calendar/src/calendar2.js.map +1 -1
  195. package/lib/components/cascader/src/index.js +1 -1
  196. package/lib/components/empty/index.js +2 -2
  197. package/lib/components/empty/src/empty.js +11 -56
  198. package/lib/components/empty/src/empty.js.map +1 -1
  199. package/lib/components/empty/src/empty2.js +56 -11
  200. package/lib/components/empty/src/empty2.js.map +1 -1
  201. package/lib/components/form/src/form-item2.js +1 -7
  202. package/lib/components/form/src/form-item2.js.map +1 -1
  203. package/lib/components/image/index.js +2 -2
  204. package/lib/components/image/src/image.js +50 -127
  205. package/lib/components/image/src/image.js.map +1 -1
  206. package/lib/components/image/src/image2.js +127 -50
  207. package/lib/components/image/src/image2.js.map +1 -1
  208. package/lib/components/image-viewer/index.js +2 -2
  209. package/lib/components/image-viewer/src/image-viewer.js +210 -31
  210. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  211. package/lib/components/image-viewer/src/image-viewer2.js +31 -210
  212. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  213. package/lib/components/index.js +24 -24
  214. package/lib/components/input/index.js +2 -2
  215. package/lib/components/input/src/input.js +294 -84
  216. package/lib/components/input/src/input.js.map +1 -1
  217. package/lib/components/input/src/input2.js +84 -294
  218. package/lib/components/input/src/input2.js.map +1 -1
  219. package/lib/components/link/index.js +2 -2
  220. package/lib/components/link/src/link.js +19 -43
  221. package/lib/components/link/src/link.js.map +1 -1
  222. package/lib/components/link/src/link2.js +43 -19
  223. package/lib/components/link/src/link2.js.map +1 -1
  224. package/lib/components/menu/index.d.ts +6 -16
  225. package/lib/components/menu/src/menu-item.js +6 -33
  226. package/lib/components/menu/src/menu-item.js.map +1 -1
  227. package/lib/components/menu/src/menu-item.vue.d.ts +10 -15
  228. package/lib/components/menu/src/menu.js +2 -1
  229. package/lib/components/menu/src/menu.js.map +1 -1
  230. package/lib/components/popconfirm/index.js +2 -2
  231. package/lib/components/popconfirm/src/popconfirm.js +20 -53
  232. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  233. package/lib/components/popconfirm/src/popconfirm2.js +53 -20
  234. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  235. package/lib/components/popper/index.js +2 -2
  236. package/lib/components/popper/src/arrow.js +31 -7
  237. package/lib/components/popper/src/arrow.js.map +1 -1
  238. package/lib/components/popper/src/arrow2.js +7 -31
  239. package/lib/components/popper/src/arrow2.js.map +1 -1
  240. package/lib/components/radio/index.js +6 -6
  241. package/lib/components/radio/src/radio-button.js +9 -80
  242. package/lib/components/radio/src/radio-button.js.map +1 -1
  243. package/lib/components/radio/src/radio-button2.js +80 -9
  244. package/lib/components/radio/src/radio-button2.js.map +1 -1
  245. package/lib/components/radio/src/radio-group.js +37 -18
  246. package/lib/components/radio/src/radio-group.js.map +1 -1
  247. package/lib/components/radio/src/radio-group2.js +18 -37
  248. package/lib/components/radio/src/radio-group2.js.map +1 -1
  249. package/lib/components/radio/src/radio.js +73 -64
  250. package/lib/components/radio/src/radio.js.map +1 -1
  251. package/lib/components/radio/src/radio2.js +64 -73
  252. package/lib/components/radio/src/radio2.js.map +1 -1
  253. package/lib/components/rate/index.js +2 -2
  254. package/lib/components/rate/src/rate.js +84 -169
  255. package/lib/components/rate/src/rate.js.map +1 -1
  256. package/lib/components/rate/src/rate2.js +169 -84
  257. package/lib/components/rate/src/rate2.js.map +1 -1
  258. package/lib/components/result/index.js +2 -2
  259. package/lib/components/result/src/result.js +73 -30
  260. package/lib/components/result/src/result.js.map +1 -1
  261. package/lib/components/result/src/result2.js +30 -73
  262. package/lib/components/result/src/result2.js.map +1 -1
  263. package/lib/components/roving-focus-group/index.js +2 -2
  264. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  265. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
  266. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  267. package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
  268. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  269. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  270. package/lib/components/scrollbar/index.js +2 -2
  271. package/lib/components/scrollbar/src/bar.js +22 -35
  272. package/lib/components/scrollbar/src/bar.js.map +1 -1
  273. package/lib/components/scrollbar/src/bar2.js +35 -22
  274. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  275. package/lib/components/scrollbar/src/scrollbar.js +112 -42
  276. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  277. package/lib/components/scrollbar/src/scrollbar2.js +42 -112
  278. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  279. package/lib/components/select/src/select.js +1 -1
  280. package/lib/components/skeleton/index.js +2 -2
  281. package/lib/components/skeleton/src/skeleton.js +49 -22
  282. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  283. package/lib/components/skeleton/src/skeleton2.js +22 -49
  284. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  285. package/lib/components/switch/index.js +2 -2
  286. package/lib/components/switch/src/switch.js +81 -176
  287. package/lib/components/switch/src/switch.js.map +1 -1
  288. package/lib/components/switch/src/switch2.js +176 -81
  289. package/lib/components/switch/src/switch2.js.map +1 -1
  290. package/lib/components/tabs/index.js +2 -2
  291. package/lib/components/tabs/src/tab-pane.js +61 -15
  292. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  293. package/lib/components/tabs/src/tab-pane2.js +15 -61
  294. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  295. package/lib/components/tag/index.js +2 -2
  296. package/lib/components/tag/src/tag.js +34 -81
  297. package/lib/components/tag/src/tag.js.map +1 -1
  298. package/lib/components/tag/src/tag2.js +81 -34
  299. package/lib/components/tag/src/tag2.js.map +1 -1
  300. package/lib/components/tooltip/src/tooltip2.js +1 -1
  301. package/lib/components/tooltip-v2/index.js +5 -5
  302. package/lib/components/tooltip-v2/src/content.js +113 -50
  303. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  304. package/lib/components/tooltip-v2/src/content2.js +50 -113
  305. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  306. package/lib/components/tooltip-v2/src/root.js +17 -81
  307. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  308. package/lib/components/tooltip-v2/src/root2.js +81 -17
  309. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  310. package/lib/components/tooltip-v2/src/tooltip.js +21 -74
  311. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  312. package/lib/components/tooltip-v2/src/tooltip2.js +74 -21
  313. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  314. package/lib/components/tooltip-v2/src/trigger.js +11 -89
  315. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  316. package/lib/components/tooltip-v2/src/trigger2.js +89 -11
  317. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  318. package/lib/components/upload/index.js +1 -1
  319. package/lib/components/upload/src/upload-list.js +155 -27
  320. package/lib/components/upload/src/upload-list.js.map +1 -1
  321. package/lib/components/upload/src/upload-list2.js +27 -155
  322. package/lib/components/upload/src/upload-list2.js.map +1 -1
  323. package/lib/components/upload/src/upload2.js +1 -1
  324. package/lib/index.js +24 -24
  325. package/package.json +1 -1
  326. package/web-types.json +1 -1
@@ -2,40 +2,34 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../../utils/index.js');
6
- require('../../collection/index.js');
7
- var props = require('../../../utils/vue/props.js');
8
- var collection = require('../../collection/src/collection.js');
5
+ var vue = require('vue');
6
+ var rovingFocusGroupImpl = require('./roving-focus-group-impl.js');
7
+ var rovingFocusGroup = require('./roving-focus-group2.js');
8
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
9
9
 
10
- const rovingFocusGroupProps = props.buildProps({
11
- style: { type: props.definePropType([String, Array, Object]) },
12
- currentTabId: {
13
- type: props.definePropType(String)
14
- },
15
- defaultCurrentTabId: String,
16
- loop: Boolean,
17
- dir: {
18
- type: String,
19
- values: ["ltr", "rtl"],
20
- default: "ltr"
21
- },
22
- orientation: {
23
- type: props.definePropType(String)
24
- },
25
- onBlur: Function,
26
- onFocus: Function,
27
- onMousedown: Function
10
+ const _sfc_main = vue.defineComponent({
11
+ name: "PsRovingFocusGroup",
12
+ components: {
13
+ PsFocusGroupCollection: rovingFocusGroup.PsCollection,
14
+ PsRovingFocusGroupImpl: rovingFocusGroupImpl["default"]
15
+ }
28
16
  });
29
- const {
30
- PsCollection,
31
- PsCollectionItem,
32
- COLLECTION_INJECTION_KEY,
33
- COLLECTION_ITEM_INJECTION_KEY
34
- } = collection.createCollectionWithScope("RovingFocusGroup");
17
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18
+ const _component_ps_roving_focus_group_impl = vue.resolveComponent("ps-roving-focus-group-impl");
19
+ const _component_ps_focus_group_collection = vue.resolveComponent("ps-focus-group-collection");
20
+ return vue.openBlock(), vue.createBlock(_component_ps_focus_group_collection, null, {
21
+ default: vue.withCtx(() => [
22
+ vue.createVNode(_component_ps_roving_focus_group_impl, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
23
+ default: vue.withCtx(() => [
24
+ vue.renderSlot(_ctx.$slots, "default")
25
+ ]),
26
+ _: 3
27
+ }, 16)
28
+ ]),
29
+ _: 3
30
+ });
31
+ }
32
+ var PsRovingFocusGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);
35
33
 
36
- exports.PsCollection = PsCollection;
37
- exports.PsCollectionItem = PsCollectionItem;
38
- exports.ROVING_FOCUS_COLLECTION_INJECTION_KEY = COLLECTION_INJECTION_KEY;
39
- exports.ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY = COLLECTION_ITEM_INJECTION_KEY;
40
- exports.rovingFocusGroupProps = rovingFocusGroupProps;
34
+ exports["default"] = PsRovingFocusGroup;
41
35
  //# sourceMappingURL=roving-focus-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"roving-focus-group.js","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-ps/utils'\nimport { createCollectionWithScope } from '@element-ps/components/collection'\nimport type { ExtractPropTypes, HTMLAttributes, StyleValue } from 'vue'\n\nexport const rovingFocusGroupProps = buildProps({\n style: { type: definePropType<StyleValue>([String, Array, Object]) },\n currentTabId: {\n type: definePropType<string | null>(String),\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String, // left for direction support\n values: ['ltr', 'rtl'],\n default: 'ltr',\n },\n orientation: {\n // left for orientation support\n type: definePropType<HTMLAttributes['aria-orientation']>(String),\n },\n\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function,\n})\n\nexport type PsRovingFocusGroupProps = ExtractPropTypes<\n typeof rovingFocusGroupProps\n>\n\nconst {\n PsCollection,\n PsCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n} = createCollectionWithScope('RovingFocusGroup')\n\nexport {\n PsCollection,\n PsCollectionItem,\n COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY,\n}\n"],"names":["buildProps","definePropType","createCollectionWithScope"],"mappings":";;;;;;;;;AAEY,MAAC,qBAAqB,GAAGA,gBAAU,CAAC;AAChD,EAAE,KAAK,EAAE,EAAE,IAAI,EAAEC,oBAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE;AAC1D,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAEA,oBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE,MAAM;AAC7B,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;AAC1B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEA,oBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,QAAQ;AACnB,EAAE,WAAW,EAAE,QAAQ;AACvB,CAAC,EAAE;AACE,MAAC;AACN,EAAE,YAAY;AACd,EAAE,gBAAgB;AAClB,EAAE,wBAAwB;AAC1B,EAAE,6BAA6B;AAC/B,CAAC,GAAGC,oCAAyB,CAAC,kBAAkB;;;;;;;;"}
1
+ {"version":3,"file":"roving-focus-group.js","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.vue"],"sourcesContent":["<template>\n <ps-focus-group-collection>\n <ps-roving-focus-group-impl v-bind=\"$attrs\">\n <slot />\n </ps-roving-focus-group-impl>\n </ps-focus-group-collection>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport PsRovingFocusGroupImpl from './roving-focus-group-impl.vue'\nimport { PsCollection as PsFocusGroupCollection } from './roving-focus-group'\n\nexport default defineComponent({\n name: 'PsRovingFocusGroup',\n components: {\n PsFocusGroupCollection,\n PsRovingFocusGroupImpl,\n },\n})\n</script>\n"],"names":["defineComponent","PsFocusGroupCollection","PsRovingFocusGroupImpl","_createBlock","_withCtx","_createVNode","_renderSlot"],"mappings":";;;;;;;;;AAaA,MAAK,YAAaA,mBAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,oBAAA;AAAA,EACN,UAAY,EAAA;AAAA,4BACVC,6BAAA;AAAA,4BACAC,+BAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;0BAlBCC,eAI4B,CAAA,oCAAA,EAAA,IAAA,EAAA;AAAA,IAAA,OAAA,EAAAC,WAAA,CAH1B,MAE6B;AAAA,MAF7BC,eAAA,CAE6B,iFAFO,IAAM,CAAA,MAAA,CAAA,CAAA,EAAA;AAAA,QAAA,OAAA,EAAAD,WAAA,CACxC,MAAQ;AAAA,UAARE,cAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA,CAAA;;;;;;;;;;;"}
@@ -2,34 +2,40 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var rovingFocusGroupImpl = require('./roving-focus-group-impl.js');
7
- var rovingFocusGroup = require('./roving-focus-group.js');
8
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
5
+ require('../../../utils/index.js');
6
+ require('../../collection/index.js');
7
+ var props = require('../../../utils/vue/props.js');
8
+ var collection = require('../../collection/src/collection.js');
9
9
 
10
- const _sfc_main = vue.defineComponent({
11
- name: "PsRovingFocusGroup",
12
- components: {
13
- PsFocusGroupCollection: rovingFocusGroup.PsCollection,
14
- PsRovingFocusGroupImpl: rovingFocusGroupImpl["default"]
15
- }
10
+ const rovingFocusGroupProps = props.buildProps({
11
+ style: { type: props.definePropType([String, Array, Object]) },
12
+ currentTabId: {
13
+ type: props.definePropType(String)
14
+ },
15
+ defaultCurrentTabId: String,
16
+ loop: Boolean,
17
+ dir: {
18
+ type: String,
19
+ values: ["ltr", "rtl"],
20
+ default: "ltr"
21
+ },
22
+ orientation: {
23
+ type: props.definePropType(String)
24
+ },
25
+ onBlur: Function,
26
+ onFocus: Function,
27
+ onMousedown: Function
16
28
  });
17
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18
- const _component_ps_roving_focus_group_impl = vue.resolveComponent("ps-roving-focus-group-impl");
19
- const _component_ps_focus_group_collection = vue.resolveComponent("ps-focus-group-collection");
20
- return vue.openBlock(), vue.createBlock(_component_ps_focus_group_collection, null, {
21
- default: vue.withCtx(() => [
22
- vue.createVNode(_component_ps_roving_focus_group_impl, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
23
- default: vue.withCtx(() => [
24
- vue.renderSlot(_ctx.$slots, "default")
25
- ]),
26
- _: 3
27
- }, 16)
28
- ]),
29
- _: 3
30
- });
31
- }
32
- var PsRovingFocusGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);
29
+ const {
30
+ PsCollection,
31
+ PsCollectionItem,
32
+ COLLECTION_INJECTION_KEY,
33
+ COLLECTION_ITEM_INJECTION_KEY
34
+ } = collection.createCollectionWithScope("RovingFocusGroup");
33
35
 
34
- exports["default"] = PsRovingFocusGroup;
36
+ exports.PsCollection = PsCollection;
37
+ exports.PsCollectionItem = PsCollectionItem;
38
+ exports.ROVING_FOCUS_COLLECTION_INJECTION_KEY = COLLECTION_INJECTION_KEY;
39
+ exports.ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY = COLLECTION_ITEM_INJECTION_KEY;
40
+ exports.rovingFocusGroupProps = rovingFocusGroupProps;
35
41
  //# sourceMappingURL=roving-focus-group2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"roving-focus-group2.js","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.vue"],"sourcesContent":["<template>\n <ps-focus-group-collection>\n <ps-roving-focus-group-impl v-bind=\"$attrs\">\n <slot />\n </ps-roving-focus-group-impl>\n </ps-focus-group-collection>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport PsRovingFocusGroupImpl from './roving-focus-group-impl.vue'\nimport { PsCollection as PsFocusGroupCollection } from './roving-focus-group'\n\nexport default defineComponent({\n name: 'PsRovingFocusGroup',\n components: {\n PsFocusGroupCollection,\n PsRovingFocusGroupImpl,\n },\n})\n</script>\n"],"names":["defineComponent","PsFocusGroupCollection","PsRovingFocusGroupImpl","_createBlock","_withCtx","_createVNode","_renderSlot"],"mappings":";;;;;;;;;AAaA,MAAK,YAAaA,mBAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,oBAAA;AAAA,EACN,UAAY,EAAA;AAAA,4BACVC,6BAAA;AAAA,4BACAC,+BAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;0BAlBCC,eAI4B,CAAA,oCAAA,EAAA,IAAA,EAAA;AAAA,IAAA,OAAA,EAAAC,WAAA,CAH1B,MAE6B;AAAA,MAF7BC,eAAA,CAE6B,iFAFO,IAAM,CAAA,MAAA,CAAA,CAAA,EAAA;AAAA,QAAA,OAAA,EAAAD,WAAA,CACxC,MAAQ;AAAA,UAARE,cAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,SAAA,CAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"roving-focus-group2.js","sources":["../../../../../../packages/components/roving-focus-group/src/roving-focus-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-ps/utils'\nimport { createCollectionWithScope } from '@element-ps/components/collection'\nimport type { ExtractPropTypes, HTMLAttributes, StyleValue } from 'vue'\n\nexport const rovingFocusGroupProps = buildProps({\n style: { type: definePropType<StyleValue>([String, Array, Object]) },\n currentTabId: {\n type: definePropType<string | null>(String),\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String, // left for direction support\n values: ['ltr', 'rtl'],\n default: 'ltr',\n },\n orientation: {\n // left for orientation support\n type: definePropType<HTMLAttributes['aria-orientation']>(String),\n },\n\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function,\n})\n\nexport type PsRovingFocusGroupProps = ExtractPropTypes<\n typeof rovingFocusGroupProps\n>\n\nconst {\n PsCollection,\n PsCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n} = createCollectionWithScope('RovingFocusGroup')\n\nexport {\n PsCollection,\n PsCollectionItem,\n COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY,\n}\n"],"names":["buildProps","definePropType","createCollectionWithScope"],"mappings":";;;;;;;;;AAEY,MAAC,qBAAqB,GAAGA,gBAAU,CAAC;AAChD,EAAE,KAAK,EAAE,EAAE,IAAI,EAAEC,oBAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE;AAC1D,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAEA,oBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE,MAAM;AAC7B,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;AAC1B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEA,oBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,QAAQ;AACnB,EAAE,WAAW,EAAE,QAAQ;AACvB,CAAC,EAAE;AACE,MAAC;AACN,EAAE,YAAY;AACd,EAAE,gBAAgB;AAClB,EAAE,wBAAwB;AAC1B,EAAE,6BAA6B;AAC/B,CAAC,GAAGC,oCAAyB,CAAC,kBAAkB;;;;;;;;"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  require('../../../hooks/index.js');
7
- var rovingFocusGroup = require('./roving-focus-group.js');
7
+ var rovingFocusGroup = require('./roving-focus-group2.js');
8
8
  var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
9
9
  var index = require('../../../hooks/use-id/index.js');
10
10
 
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var scrollbar$1 = require('./src/scrollbar2.js');
6
+ var scrollbar$1 = require('./src/scrollbar.js');
7
7
  var util = require('./src/util.js');
8
- var scrollbar = require('./src/scrollbar.js');
8
+ var scrollbar = require('./src/scrollbar2.js');
9
9
  var thumb = require('./src/thumb.js');
10
10
  var install = require('../../utils/vue/install.js');
11
11
 
@@ -2,44 +2,31 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var thumb = require('./thumb2.js');
7
- var bar = require('./bar2.js');
8
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
5
+ require('../../../utils/index.js');
6
+ var props = require('../../../utils/vue/props.js');
9
7
 
10
- const _sfc_main = vue.defineComponent({
11
- components: {
12
- Thumb: thumb["default"]
8
+ const barProps = props.buildProps({
9
+ always: {
10
+ type: Boolean,
11
+ default: true
13
12
  },
14
- props: bar.barProps,
15
- setup() {
16
- const moveX = vue.ref(0);
17
- const moveY = vue.ref(0);
18
- return {
19
- moveX,
20
- moveY
21
- };
13
+ width: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ height: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ ratioX: {
22
+ type: Number,
23
+ default: 1
24
+ },
25
+ ratioY: {
26
+ type: Number,
27
+ default: 1
22
28
  }
23
29
  });
24
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
25
- const _component_thumb = vue.resolveComponent("thumb");
26
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
27
- vue.createVNode(_component_thumb, {
28
- move: _ctx.moveX,
29
- ratio: _ctx.ratioX,
30
- size: _ctx.width,
31
- always: _ctx.always
32
- }, null, 8, ["move", "ratio", "size", "always"]),
33
- vue.createVNode(_component_thumb, {
34
- move: _ctx.moveY,
35
- ratio: _ctx.ratioY,
36
- size: _ctx.height,
37
- vertical: "",
38
- always: _ctx.always
39
- }, null, 8, ["move", "ratio", "size", "always"])
40
- ], 64);
41
- }
42
- var Bar = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/scrollbar/src/bar.vue"]]);
43
30
 
44
- exports["default"] = Bar;
31
+ exports.barProps = barProps;
45
32
  //# sourceMappingURL=bar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bar.js","sources":["../../../../../../packages/components/scrollbar/src/bar.vue"],"sourcesContent":["<template>\n <thumb :move=\"moveX\" :ratio=\"ratioX\" :size=\"width\" :always=\"always\" />\n <thumb\n :move=\"moveY\"\n :ratio=\"ratioY\"\n :size=\"height\"\n vertical\n :always=\"always\"\n />\n</template>\n<script lang=\"ts\">\nimport { defineComponent, ref } from 'vue'\nimport Thumb from './thumb.vue'\nimport { barProps } from './bar'\n\nexport default defineComponent({\n components: {\n Thumb,\n },\n props: barProps,\n setup() {\n const moveX = ref(0)\n const moveY = ref(0)\n\n return {\n moveX,\n moveY,\n }\n },\n})\n</script>\n"],"names":["defineComponent","Thumb","barProps","ref","_createVNode"],"mappings":";;;;;;;;;AAeA,MAAK,YAAaA,mBAAa,CAAA;AAAA,EAC7B,UAAY,EAAA;AAAA,WACVC,gBAAA;AAAA,GACF;AAAA,EACA,KAAO,EAAAC,YAAA;AAAA,EACP,KAAQ,GAAA;AACN,IAAM,MAAA,KAAA,GAAQC,QAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,KAAA,GAAQA,QAAI,CAAC,CAAA,CAAA;AAEnB,IAAO,OAAA;AAAA,MACL,KAAA;AAAA,MACA,KAAA;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;IA5BCC,eAAsE,CAAA,gBAAA,EAAA;AAAA,MAA9D,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MAAQ,KAAO,EAAA,IAAA,CAAA,MAAA;AAAA,MAAS,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MAAQ,MAAQ,EAAA,IAAA,CAAA,MAAA;AAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,CAAA,CAAA;IAC5DA,eAME,CAAA,gBAAA,EAAA;AAAA,MALC,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MACN,KAAO,EAAA,IAAA,CAAA,MAAA;AAAA,MACP,IAAM,EAAA,IAAA,CAAA,MAAA;AAAA,MACP,QAAA,EAAA,EAAA;AAAA,MACC,MAAQ,EAAA,IAAA,CAAA,MAAA;AAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,CAAA,CAAA;;;;;;;"}
1
+ {"version":3,"file":"bar.js","sources":["../../../../../../packages/components/scrollbar/src/bar.ts"],"sourcesContent":["import { buildProps } from '@element-ps/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const barProps = buildProps({\n always: {\n type: Boolean,\n default: true,\n },\n width: {\n type: String,\n default: '',\n },\n height: {\n type: String,\n default: '',\n },\n ratioX: {\n type: Number,\n default: 1,\n },\n ratioY: {\n type: Number,\n default: 1,\n },\n} as const)\nexport type BarProps = ExtractPropTypes<typeof barProps>\n"],"names":["buildProps"],"mappings":";;;;;;;AACY,MAAC,QAAQ,GAAGA,gBAAU,CAAC;AACnC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,CAAC;;;;"}
@@ -2,31 +2,44 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../../utils/index.js');
6
- var props = require('../../../utils/vue/props.js');
5
+ var vue = require('vue');
6
+ var thumb = require('./thumb2.js');
7
+ var bar = require('./bar.js');
8
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
7
9
 
8
- const barProps = props.buildProps({
9
- always: {
10
- type: Boolean,
11
- default: true
10
+ const _sfc_main = vue.defineComponent({
11
+ components: {
12
+ Thumb: thumb["default"]
12
13
  },
13
- width: {
14
- type: String,
15
- default: ""
16
- },
17
- height: {
18
- type: String,
19
- default: ""
20
- },
21
- ratioX: {
22
- type: Number,
23
- default: 1
24
- },
25
- ratioY: {
26
- type: Number,
27
- default: 1
14
+ props: bar.barProps,
15
+ setup() {
16
+ const moveX = vue.ref(0);
17
+ const moveY = vue.ref(0);
18
+ return {
19
+ moveX,
20
+ moveY
21
+ };
28
22
  }
29
23
  });
24
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
25
+ const _component_thumb = vue.resolveComponent("thumb");
26
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
27
+ vue.createVNode(_component_thumb, {
28
+ move: _ctx.moveX,
29
+ ratio: _ctx.ratioX,
30
+ size: _ctx.width,
31
+ always: _ctx.always
32
+ }, null, 8, ["move", "ratio", "size", "always"]),
33
+ vue.createVNode(_component_thumb, {
34
+ move: _ctx.moveY,
35
+ ratio: _ctx.ratioY,
36
+ size: _ctx.height,
37
+ vertical: "",
38
+ always: _ctx.always
39
+ }, null, 8, ["move", "ratio", "size", "always"])
40
+ ], 64);
41
+ }
42
+ var Bar = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/scrollbar/src/bar.vue"]]);
30
43
 
31
- exports.barProps = barProps;
44
+ exports["default"] = Bar;
32
45
  //# sourceMappingURL=bar2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bar2.js","sources":["../../../../../../packages/components/scrollbar/src/bar.ts"],"sourcesContent":["import { buildProps } from '@element-ps/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const barProps = buildProps({\n always: {\n type: Boolean,\n default: true,\n },\n width: {\n type: String,\n default: '',\n },\n height: {\n type: String,\n default: '',\n },\n ratioX: {\n type: Number,\n default: 1,\n },\n ratioY: {\n type: Number,\n default: 1,\n },\n} as const)\nexport type BarProps = ExtractPropTypes<typeof barProps>\n"],"names":["buildProps"],"mappings":";;;;;;;AACY,MAAC,QAAQ,GAAGA,gBAAU,CAAC;AACnC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"bar2.js","sources":["../../../../../../packages/components/scrollbar/src/bar.vue"],"sourcesContent":["<template>\n <thumb :move=\"moveX\" :ratio=\"ratioX\" :size=\"width\" :always=\"always\" />\n <thumb\n :move=\"moveY\"\n :ratio=\"ratioY\"\n :size=\"height\"\n vertical\n :always=\"always\"\n />\n</template>\n<script lang=\"ts\">\nimport { defineComponent, ref } from 'vue'\nimport Thumb from './thumb.vue'\nimport { barProps } from './bar'\n\nexport default defineComponent({\n components: {\n Thumb,\n },\n props: barProps,\n setup() {\n const moveX = ref(0)\n const moveY = ref(0)\n\n return {\n moveX,\n moveY,\n }\n },\n})\n</script>\n"],"names":["defineComponent","Thumb","barProps","ref","_createVNode"],"mappings":";;;;;;;;;AAeA,MAAK,YAAaA,mBAAa,CAAA;AAAA,EAC7B,UAAY,EAAA;AAAA,WACVC,gBAAA;AAAA,GACF;AAAA,EACA,KAAO,EAAAC,YAAA;AAAA,EACP,KAAQ,GAAA;AACN,IAAM,MAAA,KAAA,GAAQC,QAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,KAAA,GAAQA,QAAI,CAAC,CAAA,CAAA;AAEnB,IAAO,OAAA;AAAA,MACL,KAAA;AAAA,MACA,KAAA;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;IA5BCC,eAAsE,CAAA,gBAAA,EAAA;AAAA,MAA9D,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MAAQ,KAAO,EAAA,IAAA,CAAA,MAAA;AAAA,MAAS,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MAAQ,MAAQ,EAAA,IAAA,CAAA,MAAA;AAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,CAAA,CAAA;IAC5DA,eAME,CAAA,gBAAA,EAAA;AAAA,MALC,IAAM,EAAA,IAAA,CAAA,KAAA;AAAA,MACN,KAAO,EAAA,IAAA,CAAA,MAAA;AAAA,MACP,IAAM,EAAA,IAAA,CAAA,MAAA;AAAA,MACP,QAAA,EAAA,EAAA;AAAA,MACC,MAAQ,EAAA,IAAA,CAAA,MAAA;AAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,CAAA,CAAA;;;;;;;"}
@@ -2,52 +2,122 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var vue = require('vue');
5
6
  require('../../../utils/index.js');
6
- var props = require('../../../utils/vue/props.js');
7
+ require('../../../tokens/index.js');
8
+ require('../../../hooks/index.js');
9
+ var bar = require('./bar2.js');
10
+ var scrollbar = require('./scrollbar2.js');
11
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
12
+ var index = require('../../../hooks/use-namespace/index.js');
13
+ var style = require('../../../utils/dom/style.js');
14
+ var scrollbar$1 = require('../../../tokens/scrollbar.js');
7
15
 
8
- const scrollbarProps = props.buildProps({
9
- height: {
10
- type: [String, Number],
11
- default: ""
16
+ const _sfc_main = vue.defineComponent({
17
+ name: "PsScrollbar",
18
+ components: {
19
+ Bar: bar["default"]
12
20
  },
13
- maxHeight: {
14
- type: [String, Number],
15
- default: ""
16
- },
17
- native: {
18
- type: Boolean,
19
- default: false
20
- },
21
- wrapStyle: {
22
- type: props.definePropType([String, Object, Array]),
23
- default: ""
24
- },
25
- wrapClass: {
26
- type: [String, Array],
27
- default: ""
28
- },
29
- viewClass: {
30
- type: [String, Array],
31
- default: ""
32
- },
33
- viewStyle: {
34
- type: [String, Array, Object],
35
- default: ""
36
- },
37
- noresize: Boolean,
38
- tag: {
39
- type: String,
40
- default: "div"
41
- },
42
- always: {
43
- type: Boolean,
44
- default: false
45
- },
46
- minSize: {
47
- type: Number,
48
- default: 20
21
+ props: scrollbar.scrollbarProps,
22
+ setup(props) {
23
+ const ns = index.useNamespace("scrollbar");
24
+ const scrollbar$ = vue.ref();
25
+ const wrap$ = vue.ref();
26
+ const resize$ = vue.ref();
27
+ const sizeWidth = vue.ref("0");
28
+ const sizeHeight = vue.ref("0");
29
+ const barRef = vue.ref();
30
+ const moveX = vue.ref(0);
31
+ const moveY = vue.ref(0);
32
+ const ratioY = vue.ref(1);
33
+ const ratioX = vue.ref(1);
34
+ const GAP = 4;
35
+ const style$1 = vue.computed(() => {
36
+ const style2 = {};
37
+ if (props.height)
38
+ style2.height = style.addUnit(props.height);
39
+ if (props.maxHeight)
40
+ style2.maxHeight = style.addUnit(props.maxHeight);
41
+ return [props.wrapStyle, style2];
42
+ });
43
+ const update = () => {
44
+ if (!wrap$.value)
45
+ return;
46
+ const offsetHeight = wrap$.value.offsetHeight - GAP;
47
+ const offsetWidth = wrap$.value.offsetWidth - GAP;
48
+ const originalHeight = offsetHeight ** 2 / wrap$.value.scrollHeight;
49
+ const originalWidth = offsetWidth ** 2 / wrap$.value.scrollWidth;
50
+ const height = Math.max(originalHeight, props.minSize);
51
+ const width = Math.max(originalWidth, props.minSize);
52
+ ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));
53
+ ratioX.value = originalWidth / (offsetWidth - originalWidth) / (width / (offsetWidth - width));
54
+ sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : "";
55
+ sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : "";
56
+ };
57
+ vue.provide(scrollbar$1.scrollbarContextKey, vue.reactive({
58
+ scrollbarElement: scrollbar$,
59
+ wrapElement: wrap$
60
+ }));
61
+ vue.onMounted(() => {
62
+ if (!props.native)
63
+ vue.nextTick(() => update());
64
+ });
65
+ vue.onUpdated(() => update());
66
+ return {
67
+ ns,
68
+ scrollbar$,
69
+ wrap$,
70
+ resize$,
71
+ barRef,
72
+ moveX,
73
+ moveY,
74
+ ratioX,
75
+ ratioY,
76
+ sizeWidth,
77
+ sizeHeight,
78
+ style: style$1,
79
+ update
80
+ };
49
81
  }
50
82
  });
83
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
84
+ const _component_bar = vue.resolveComponent("bar");
85
+ return vue.openBlock(), vue.createElementBlock("div", {
86
+ ref: "scrollbar$",
87
+ class: vue.normalizeClass(_ctx.ns.b())
88
+ }, [
89
+ vue.createElementVNode("div", {
90
+ ref: "wrap$",
91
+ class: vue.normalizeClass([
92
+ _ctx.wrapClass,
93
+ _ctx.ns.e("wrap"),
94
+ { [_ctx.ns.em("wrap", "hidden-default")]: !_ctx.native }
95
+ ]),
96
+ style: vue.normalizeStyle(_ctx.style)
97
+ }, [
98
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
99
+ ref: "resize$",
100
+ class: vue.normalizeClass([_ctx.ns.e("view"), _ctx.viewClass]),
101
+ style: vue.normalizeStyle(_ctx.viewStyle)
102
+ }, {
103
+ default: vue.withCtx(() => [
104
+ vue.renderSlot(_ctx.$slots, "default")
105
+ ]),
106
+ _: 3
107
+ }, 8, ["class", "style"]))
108
+ ], 6),
109
+ !_ctx.native ? (vue.openBlock(), vue.createBlock(_component_bar, {
110
+ key: 0,
111
+ ref: "barRef",
112
+ height: _ctx.sizeHeight,
113
+ width: _ctx.sizeWidth,
114
+ always: _ctx.always,
115
+ "ratio-x": _ctx.ratioX,
116
+ "ratio-y": _ctx.ratioY
117
+ }, null, 8, ["height", "width", "always", "ratio-x", "ratio-y"])) : vue.createCommentVNode("v-if", true)
118
+ ], 2);
119
+ }
120
+ var Scrollbar = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-ps/packages/components/scrollbar/src/scrollbar.vue"]]);
51
121
 
52
- exports.scrollbarProps = scrollbarProps;
122
+ exports["default"] = Scrollbar;
53
123
  //# sourceMappingURL=scrollbar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrollbar.js","sources":["../../../../../../packages/components/scrollbar/src/scrollbar.ts"],"sourcesContent":["import { buildProps, definePropType, isNumber } from '@element-ps/utils'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport const scrollbarProps = buildProps({\n height: {\n type: [String, Number],\n default: '',\n },\n maxHeight: {\n type: [String, Number],\n default: '',\n },\n native: {\n type: Boolean,\n default: false,\n },\n wrapStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n default: '',\n },\n wrapClass: {\n type: [String, Array],\n default: '',\n },\n viewClass: {\n type: [String, Array],\n default: '',\n },\n viewStyle: {\n type: [String, Array, Object],\n default: '',\n },\n noresize: Boolean, // 如果 container 尺寸不会发生变化,最好设置它可以优化性能\n tag: {\n type: String,\n default: 'div',\n },\n always: {\n type: Boolean,\n default: false,\n },\n minSize: {\n type: Number,\n default: 20,\n },\n} as const)\n\nexport type ScrollbarProps = ExtractPropTypes<typeof scrollbarProps>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;;AACY,MAAC,cAAc,GAAGA,gBAAU,CAAC;AACzC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,oBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;AACzB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;AACzB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC;AACjC,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"scrollbar.js","sources":["../../../../../../packages/components/scrollbar/src/scrollbar.vue"],"sourcesContent":["<template>\n <div ref=\"scrollbar$\" :class=\"ns.b()\">\n <div\n ref=\"wrap$\"\n :class=\"[\n wrapClass,\n ns.e('wrap'),\n { [ns.em('wrap', 'hidden-default')]: !native },\n ]\"\n :style=\"style\"\n >\n <component\n :is=\"tag\"\n ref=\"resize$\"\n :class=\"[ns.e('view'), viewClass]\"\n :style=\"viewStyle\"\n >\n <slot />\n </component>\n </div>\n <template v-if=\"!native\">\n <bar\n ref=\"barRef\"\n :height=\"sizeHeight\"\n :width=\"sizeWidth\"\n :always=\"always\"\n :ratio-x=\"ratioX\"\n :ratio-y=\"ratioY\"\n />\n </template>\n </div>\n</template>\n<script lang=\"ts\">\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n onUpdated,\n provide,\n reactive,\n ref,\n} from 'vue'\nimport { addUnit } from '@element-ps/utils'\nimport { scrollbarContextKey } from '@element-ps/tokens'\nimport { useNamespace } from '@element-ps/hooks'\nimport Bar from './bar.vue'\n\nimport { scrollbarProps } from './scrollbar'\nimport type { CSSProperties, StyleValue } from 'vue'\n\nexport default defineComponent({\n name: 'PsScrollbar',\n components: {\n Bar,\n },\n props: scrollbarProps,\n\n setup(props) {\n const ns = useNamespace('scrollbar')\n\n const scrollbar$ = ref<HTMLDivElement>()\n const wrap$ = ref<HTMLDivElement>()\n const resize$ = ref<HTMLElement>()\n\n const sizeWidth = ref('0')\n const sizeHeight = ref('0')\n const barRef = ref()\n const moveX = ref(0)\n const moveY = ref(0)\n const ratioY = ref(1)\n const ratioX = ref(1)\n const GAP = 4 // top 2 + bottom 2 of bar instance\n\n const style = computed<StyleValue>(() => {\n const style: CSSProperties = {}\n if (props.height) style.height = addUnit(props.height)\n if (props.maxHeight) style.maxHeight = addUnit(props.maxHeight)\n return [props.wrapStyle, style]\n })\n\n const update = () => {\n if (!wrap$.value) return\n const offsetHeight = wrap$.value.offsetHeight - GAP\n const offsetWidth = wrap$.value.offsetWidth - GAP\n\n const originalHeight = offsetHeight ** 2 / wrap$.value.scrollHeight\n const originalWidth = offsetWidth ** 2 / wrap$.value.scrollWidth\n const height = Math.max(originalHeight, props.minSize)\n const width = Math.max(originalWidth, props.minSize)\n\n ratioY.value =\n originalHeight /\n (offsetHeight - originalHeight) /\n (height / (offsetHeight - height))\n ratioX.value =\n originalWidth /\n (offsetWidth - originalWidth) /\n (width / (offsetWidth - width))\n\n sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : ''\n sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : ''\n }\n\n provide(\n scrollbarContextKey,\n reactive({\n scrollbarElement: scrollbar$,\n wrapElement: wrap$,\n })\n )\n\n onMounted(() => {\n if (!props.native) nextTick(() => update())\n })\n onUpdated(() => update())\n\n return {\n ns,\n scrollbar$,\n wrap$,\n resize$,\n barRef,\n moveX,\n moveY,\n ratioX,\n ratioY,\n sizeWidth,\n sizeHeight,\n style,\n update,\n }\n },\n})\n</script>\n"],"names":["defineComponent","Bar","scrollbarProps","useNamespace","ref","style","computed","addUnit","provide","scrollbarContextKey","reactive","onMounted","nextTick","onUpdated","_createElementBlock","_normalizeClass","_createElementVNode","_normalizeStyle","_openBlock","_createBlock","_resolveDynamicComponent","_renderSlot","_createCommentVNode"],"mappings":"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"}