@astryx-vue/core 0.20.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-DYYA2LOe.js → AlertDialog-VD9PadlM.js} +6 -6
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-zEXmJb1h.js → AppShell-C4XGguw0.js} +23 -8
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-D85dSNpq.js → Avatar-CAweS1WY.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-AIu60Urv.js → AvatarGroup-BUXjzekw.js} +2 -2
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-C4ZICVvW.js → Banner-DnK7bKAb.js} +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-DNuzJPfQ.js → BottomSheet-C4OU3mJT.js} +3 -3
  16. package/dist/{BottomSheet-DV7bboru.js → BottomSheet-CM0-eaUF.js} +4 -4
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-C8nA3Ft9.js → Breadcrumbs-DZAgtC9c.js} +4 -1
  19. package/dist/Button/index.d.ts +1 -1
  20. package/dist/Button/index.js +1 -1
  21. package/dist/{Button-DOfigN38.js → Button-Blnc0yB3.js} +5 -5
  22. package/dist/ButtonGroup/index.d.ts +1 -1
  23. package/dist/ButtonGroup/index.js +1 -1
  24. package/dist/{ButtonGroup-BzrDhbMP.js → ButtonGroup-DNN4O9_-.js} +3 -3
  25. package/dist/Calendar/index.d.ts +1 -1
  26. package/dist/Card/index.d.ts +1 -1
  27. package/dist/Carousel/index.d.ts +1 -1
  28. package/dist/Carousel/index.js +1 -1
  29. package/dist/{Carousel-CRaHAUsZ.js → Carousel-CB4Iap-B.js} +1 -1
  30. package/dist/Chat/index.d.ts +1 -1
  31. package/dist/Chat/index.js +1 -1
  32. package/dist/{Chat-DTs843Ta.js → Chat-DjJPQ9bX.js} +5 -5
  33. package/dist/CheckboxInput/index.d.ts +1 -1
  34. package/dist/CheckboxInput/index.js +1 -1
  35. package/dist/{CheckboxInput-Ydl1GSBh.js → CheckboxInput-CGTPmOHs.js} +3 -3
  36. package/dist/CheckboxList/index.d.ts +1 -1
  37. package/dist/CheckboxList/index.js +1 -1
  38. package/dist/{CheckboxList-Sn_ph-Xz.js → CheckboxList-CGzHkA95.js} +5 -5
  39. package/dist/ClickableCard/index.d.ts +1 -1
  40. package/dist/ClickableCard/index.js +1 -1
  41. package/dist/{ClickableCard-DH-zpF7o.js → ClickableCard-DMX5z-QV.js} +1 -1
  42. package/dist/Code/index.d.ts +1 -1
  43. package/dist/Code/index.js +1 -1
  44. package/dist/{CodeBlock-DXBJEZS6.js → CodeBlock-CwQCMSKA.js} +1 -1
  45. package/dist/Collapsible/index.d.ts +1 -1
  46. package/dist/Collapsible/index.js +1 -1
  47. package/dist/{Collapsible-BG-u5nEt.js → Collapsible-BVoNZijw.js} +3 -3
  48. package/dist/CommandPalette/index.js +1 -1
  49. package/dist/{CommandPalette-CV7t0ouM.js → CommandPalette-DBOETNGM.js} +3 -3
  50. package/dist/ComplexSelector/index.d.ts +1 -1
  51. package/dist/ComplexSelector/index.js +1 -1
  52. package/dist/{ComplexSelector-BKjyFdHr.js → ComplexSelector-CNBH2t6W.js} +2 -2
  53. package/dist/ContextMenu/index.d.ts +1 -1
  54. package/dist/ContextMenu/index.js +2 -2
  55. package/dist/{ContextMenu-CwnY6hcJ.js → ContextMenu-CUwAPrVP.js} +6 -7
  56. package/dist/DateInput/index.d.ts +1 -1
  57. package/dist/DateInput/index.js +1 -1
  58. package/dist/{DateInput-BaX40vSs.js → DateInput-BQ-3bvV5.js} +4 -4
  59. package/dist/DateRangeInput/index.d.ts +1 -1
  60. package/dist/DateRangeInput/index.js +1 -1
  61. package/dist/{DateRangeInput-DplhXZqK.js → DateRangeInput-DFXz4vNX.js} +3 -3
  62. package/dist/DateTimeInput/index.d.ts +1 -1
  63. package/dist/DateTimeInput/index.js +1 -1
  64. package/dist/{DateTimeInput-CrD1EEfs.js → DateTimeInput-BHO4nXKW.js} +5 -5
  65. package/dist/Dialog/index.d.ts +1 -1
  66. package/dist/Dialog/index.js +3 -3
  67. package/dist/{Dialog-CztWmbf8.js → Dialog-BCPhWMxL.js} +3 -3
  68. package/dist/{Dialog-B2pOTrnQ.js → Dialog-Dx6zuttb.js} +1 -1
  69. package/dist/{DialogHeader-CjHTNccL.js → DialogHeader-C9fp2Rti.js} +2 -2
  70. package/dist/Drawer/index.d.ts +1 -1
  71. package/dist/Drawer/index.js +1 -1
  72. package/dist/{Drawer-DGIuMLms.js → Drawer--2vLSKY_.js} +2 -2
  73. package/dist/DropdownMenu/index.js +3 -3
  74. package/dist/{DropdownMenu-l9c562oA.js → DropdownMenu-BImEVieZ.js} +7 -7
  75. package/dist/{DropdownMenu-r93pI0mD.js → DropdownMenu-CskkQAAz.js} +9 -10
  76. package/dist/EmptyState/index.js +1 -1
  77. package/dist/{EmptyState-nyV5XxMA.js → EmptyState-Dq3NWNnG.js} +3 -3
  78. package/dist/Field/index.js +3 -3
  79. package/dist/{Field-CIZdFzXr.js → Field-DsucLkyQ.js} +1 -1
  80. package/dist/{FieldInfoTip-eJSORVbp.js → FieldInfoTip-1zW3QTQG.js} +1 -1
  81. package/dist/{FieldLabel-BoMSIOLF.js → FieldLabel-D9uFPtXs.js} +1 -1
  82. package/dist/FileInput/index.d.ts +1 -1
  83. package/dist/FileInput/index.js +1 -1
  84. package/dist/{FileInput-DvGU92Sg.js → FileInput-DLtHinlh.js} +2 -2
  85. package/dist/Heading/index.js +1 -1
  86. package/dist/{Heading-Bo6A69fA.js → Heading-DBBChghq.js} +1 -1
  87. package/dist/HoverCard/index.d.ts +1 -1
  88. package/dist/HoverCard/index.js +1 -1
  89. package/dist/{HoverCard-FHYH3VXg.js → HoverCard-BW-bOUZI.js} +4 -4
  90. package/dist/IconButton/index.js +1 -1
  91. package/dist/{IconButton-oKXLxgYb.js → IconButton-CIUbkA8_.js} +1 -1
  92. package/dist/InfoTip/index.d.ts +1 -1
  93. package/dist/InfoTip/index.js +1 -1
  94. package/dist/{InfoTip-DWC-vnT5.js → InfoTip-C71T8lv_.js} +2 -2
  95. package/dist/{InputClearButton-CAitWZTk.js → InputClearButton-h0BxBXu1.js} +1 -1
  96. package/dist/InputGroup/index.js +1 -1
  97. package/dist/{InputGroup-CeTKqJQn.js → InputGroup-DHPTru5v.js} +1 -1
  98. package/dist/{Item-BSHDEJyh.js → Item-CzKm9wxQ.js} +1 -1
  99. package/dist/{LayerContentBoundary-CpqXMTyU.js → LayerContentBoundary-DxeAFxNJ.js} +1 -1
  100. package/dist/Lightbox/index.js +1 -1
  101. package/dist/{Lightbox-CesmEisI.js → Lightbox-B3WP06Qt.js} +4 -4
  102. package/dist/Link/index.d.ts +1 -1
  103. package/dist/Link/index.js +1 -1
  104. package/dist/{Link-CQ-Ztuo_.js → Link-CQK9d_Yf.js} +2 -2
  105. package/dist/List/index.d.ts +1 -1
  106. package/dist/List/index.js +2 -2
  107. package/dist/{ListItem-v1GFTbba.js → ListItem-Bc4snKv8.js} +1 -1
  108. package/dist/Markdown/index.d.ts +1 -1
  109. package/dist/Markdown/index.js +1 -1
  110. package/dist/{Markdown-CIA5ejYp.js → Markdown-BVXFWJT0.js} +3 -3
  111. package/dist/MobileNav/index.js +2 -1
  112. package/dist/{MobileNavToggle-CKEOroi0.js → MobileNavToggle-DGZPwsf9.js} +6 -8
  113. package/dist/MoreMenu/index.d.ts +1 -1
  114. package/dist/MoreMenu/index.js +1 -1
  115. package/dist/{MoreMenu-DcImQxyp.js → MoreMenu-Q_KpDTNB.js} +5 -5
  116. package/dist/MultiSelector/index.d.ts +1 -1
  117. package/dist/MultiSelector/index.js +1 -1
  118. package/dist/{MultiSelector-DedRF-RL.js → MultiSelector-CzGsdjcl.js} +8 -8
  119. package/dist/{NavDisclosure-Dg6U7pc7.js → NavDisclosure-DIYayUrP.js} +13 -4
  120. package/dist/{NavHeadingSurface-DZPa2px5.js → NavHeadingSurface-bFcFpeMI.js} +15 -14
  121. package/dist/NavItem/index.d.ts +1 -1
  122. package/dist/NavItem/index.js +1 -1
  123. package/dist/{NavItem-CcbOJNnY.js → NavItem-CB3loauj.js} +1 -1
  124. package/dist/NavMenu/index.js +3 -3
  125. package/dist/{NavMenu-CTbvZnO2.js → NavMenu-DYvMKPU_.js} +9 -7
  126. package/dist/{NavMenuItem-BS0oULrz.js → NavMenuItem-Ccix-agv.js} +9 -6
  127. package/dist/NumberInput/index.d.ts +1 -1
  128. package/dist/NumberInput/index.js +1 -1
  129. package/dist/{NumberInput-q9HP5L_V.js → NumberInput-DTksMfSU.js} +3 -3
  130. package/dist/Outline/index.js +1 -1
  131. package/dist/{Outline-eucTzyZu.js → Outline-NuPQMjxw.js} +2 -2
  132. package/dist/OverflowList/index.d.ts +1 -1
  133. package/dist/OverflowList/index.js +1 -1
  134. package/dist/{OverflowList-B6Alf6bi.js → OverflowList-DKM7TeUs.js} +2 -2
  135. package/dist/Overlay/index.d.ts +1 -1
  136. package/dist/Pagination/index.d.ts +1 -1
  137. package/dist/Pagination/index.js +1 -1
  138. package/dist/{Pagination-DfAHckUV.js → Pagination-B-O21ut1.js} +272 -136
  139. package/dist/Popover/index.d.ts +1 -1
  140. package/dist/Popover/index.js +1 -1
  141. package/dist/{Popover-D0jAIXkw.js → Popover-BtfsoxXC.js} +6 -6
  142. package/dist/PowerSearch/index.d.ts +1 -1
  143. package/dist/PowerSearch/index.js +1 -1
  144. package/dist/{PowerSearch-CU_MBQlC.js → PowerSearch-CniqThU7.js} +17 -17
  145. package/dist/ProgressBar/index.d.ts +1 -1
  146. package/dist/ProgressBar/index.js +1 -1
  147. package/dist/{ProgressBar-DgyPRxV0.js → ProgressBar-DOusesCL.js} +1 -1
  148. package/dist/Radio/index.d.ts +1 -1
  149. package/dist/Radio/index.js +1 -1
  150. package/dist/{RadioGroup-Cm2n6M5C.js → RadioGroup-CRwMwMw4.js} +4 -4
  151. package/dist/RadioList/index.d.ts +1 -1
  152. package/dist/RadioList/index.js +1 -1
  153. package/dist/{RadioList-B5MaynOw.js → RadioList-PUlENMq5.js} +1 -1
  154. package/dist/ScrollableArea/index.d.ts +1 -1
  155. package/dist/SegmentedControl/index.d.ts +1 -1
  156. package/dist/SegmentedControl/index.js +1 -1
  157. package/dist/{SegmentedControl-D--5X0eZ.js → SegmentedControl-DFUYTOVH.js} +2 -2
  158. package/dist/SelectableCard/index.d.ts +1 -1
  159. package/dist/SelectableCard/index.js +1 -1
  160. package/dist/{SelectableCard-CLwYtbZl.js → SelectableCard-DUTtyApJ.js} +1 -1
  161. package/dist/Selector/index.d.ts +1 -1
  162. package/dist/Selector/index.js +1 -1
  163. package/dist/{Selector-wcbEB7BC.js → Selector-Qs1rFiI6.js} +6 -6
  164. package/dist/SideNav/index.d.ts +1 -1
  165. package/dist/SideNav/index.js +2 -2
  166. package/dist/{SideNav-CYlAzvrT.js → SideNav-BUfUwE2P.js} +16 -11
  167. package/dist/Slider/index.js +1 -1
  168. package/dist/{Slider-jgmpvIDe.js → Slider-BbiQbyie.js} +3 -3
  169. package/dist/Stack/index.d.ts +1 -1
  170. package/dist/StatusDot/index.js +1 -1
  171. package/dist/{StatusDot-Cxm-uhTD.js → StatusDot-DhfcDBE7.js} +1 -1
  172. package/dist/Stepper/index.d.ts +1 -1
  173. package/dist/Stepper/index.js +1 -1
  174. package/dist/{Stepper-CnNUZDMO.js → Stepper-CQd4YlPC.js} +1 -1
  175. package/dist/Switch/index.d.ts +1 -1
  176. package/dist/Switch/index.js +1 -1
  177. package/dist/{Switch-YNk17Lct.js → Switch-CMK5bICl.js} +2 -2
  178. package/dist/TabList/index.d.ts +1 -1
  179. package/dist/TabList/index.js +1 -1
  180. package/dist/{TabList-D_OvLcD5.js → TabList-Bd3h7Nj3.js} +63 -24
  181. package/dist/Table/index.d.ts +1 -1
  182. package/dist/Table/index.js +1 -1
  183. package/dist/{Table-DcFujAPW.js → Table-DN9mo-cQ.js} +15 -15
  184. package/dist/Text/index.js +2 -2
  185. package/dist/{Text-Bv4urzOW.js → Text-Dez23ltM.js} +1 -1
  186. package/dist/TextArea/index.d.ts +1 -1
  187. package/dist/TextArea/index.js +1 -1
  188. package/dist/{TextArea-CixgkV__.js → TextArea-BsGUOyDg.js} +4 -4
  189. package/dist/TextInput/index.d.ts +1 -1
  190. package/dist/TextInput/index.js +1 -1
  191. package/dist/{TextInput-Bpiq3FcP.js → TextInput-DZi0EMh-.js} +4 -4
  192. package/dist/Thumbnail/index.js +1 -1
  193. package/dist/{Thumbnail-Bktyar_H.js → Thumbnail-CsmF1HTP.js} +3 -3
  194. package/dist/{TimeField-BtiLoHqW.js → TimeField-DqOPj5s2.js} +4 -4
  195. package/dist/TimeInput/index.d.ts +1 -1
  196. package/dist/TimeInput/index.js +1 -1
  197. package/dist/{TimeInput-eyxw3KzD.js → TimeInput-CA3kXBWB.js} +2 -2
  198. package/dist/Timer/index.js +1 -1
  199. package/dist/{Timer-C-N-sElU.js → Timer-vubjQ88x.js} +1 -1
  200. package/dist/Timestamp/index.d.ts +1 -1
  201. package/dist/Timestamp/index.js +1 -1
  202. package/dist/{Timestamp-BTs10ZLD.js → Timestamp-Cz_0Ofj4.js} +3 -3
  203. package/dist/Toast/index.js +1 -1
  204. package/dist/{Toast-DpMqZ72F.js → Toast-DhJNtBjT.js} +1 -1
  205. package/dist/ToggleButton/index.d.ts +1 -1
  206. package/dist/ToggleButton/index.js +1 -1
  207. package/dist/{ToggleButton-W_tpgZ8k.js → ToggleButton-BR_qVBEt.js} +3 -3
  208. package/dist/Token/index.d.ts +1 -1
  209. package/dist/Token/index.js +1 -1
  210. package/dist/{Token-jBbgdevV.js → Token-CPNzkSj3.js} +1 -1
  211. package/dist/Tokenizer/index.d.ts +1 -1
  212. package/dist/Tokenizer/index.js +1 -1
  213. package/dist/{Tokenizer-Bs1VXinx.js → Tokenizer-C3pXgLmC.js} +6 -6
  214. package/dist/Toolbar/index.d.ts +1 -1
  215. package/dist/Toolbar/index.js +1 -1
  216. package/dist/{Toolbar-BH_E0F0G.js → Toolbar-B4Vltu-j.js} +1 -1
  217. package/dist/Tooltip/index.d.ts +1 -1
  218. package/dist/Tooltip/index.js +2 -2
  219. package/dist/{Tooltip-DQipgW1R.js → Tooltip-BUHvOnE1.js} +1 -1
  220. package/dist/TopNav/index.d.ts +1 -1
  221. package/dist/TopNav/index.js +1 -1
  222. package/dist/{TopNav-CSFUTuyI.js → TopNav-klsRhS-I.js} +169 -62
  223. package/dist/TreeList/index.js +1 -1
  224. package/dist/{TreeList-B8p_lI7a.js → TreeList-DJQvL5tG.js} +3 -3
  225. package/dist/Typeahead/index.d.ts +1 -1
  226. package/dist/Typeahead/index.js +2 -2
  227. package/dist/{Typeahead-Bh0nap5Z.js → Typeahead-BaPqX3Ey.js} +6 -6
  228. package/dist/{assertOptions-CK_gJ0d3.js → assertOptions-DF9pum-3.js} +1 -1
  229. package/dist/{batch-BJD6Bt-O.js → batch-oTkSbtVz.js} +3 -1
  230. package/dist/clickGuard-ChKuogmR.js +132 -0
  231. package/dist/closeOnActivate-D1KgKWwm.js +13 -0
  232. package/dist/composables/index.d.ts +2 -2
  233. package/dist/composables/index.js +14 -15
  234. package/dist/composables-BDWdSCwe.js +11917 -0
  235. package/dist/context-D8MAZio1.js +7 -0
  236. package/dist/{context-Cj_zItu2.js → context-DQPBIsl5.js} +2 -2
  237. package/dist/{edge-DIlkB7vS.js → edge-3sC8-cbB.js} +1 -1
  238. package/dist/{edgeRide-D0oC2JEB.js → edgeRide-DOxmVxTM.js} +4 -3
  239. package/dist/{focusReturn-D7Y7Pwwb.js → focusReturn-CsEp47Wa.js} +1 -1
  240. package/dist/handle-CSHfxBie.js +298 -0
  241. package/dist/{index-B63NOJRc.d.ts → index--CtH4lQr.d.ts} +5 -5
  242. package/dist/{index-DBu-H-vB.d.ts → index-0pBqcQXV.d.ts} +164 -7
  243. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  244. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  245. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  246. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  247. package/dist/{index-5Hrxeq2J.d.ts → index-BhxqUt3y.d.ts} +5 -5
  248. package/dist/{index-LaQSu7ST.d.ts → index-BkxWKIV_.d.ts} +6 -6
  249. package/dist/{index-BP2SjZiM.d.ts → index-BmXk_doE.d.ts} +3 -3
  250. package/dist/{index-DGXCnzOL.d.ts → index-BrMtj1lT.d.ts} +4 -4
  251. package/dist/{index-DtZUOyCy.d.ts → index-BvW0tiei.d.ts} +2 -2
  252. package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
  253. package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
  254. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  255. package/dist/{index-mK1ICsVg.d.ts → index-C9uW39Mj.d.ts} +3 -3
  256. package/dist/{index-CaE2cqeG.d.ts → index-CAKT4Kkz.d.ts} +78 -64
  257. package/dist/{index-DmAEpn5E.d.ts → index-CG3fD4hw.d.ts} +1 -1
  258. package/dist/{index-Q1oG9yIT.d.ts → index-CO9GW-ik.d.ts} +1 -1
  259. package/dist/{index-BNtSmuWg.d.ts → index-D0MA9x_i.d.ts} +5 -5
  260. package/dist/{index-CbA8rR_b.d.ts → index-DDrL_-hJ.d.ts} +3 -3
  261. package/dist/{index-QnlWyUxN.d.ts → index-DE1genab.d.ts} +2 -2
  262. package/dist/{index-vCRf5fyK.d.ts → index-DIw5D3zj.d.ts} +2 -2
  263. package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
  264. package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
  265. package/dist/{index-D1JXm7Et.d.ts → index-DogWVRJi.d.ts} +15 -2
  266. package/dist/{index-BaFphczL.d.ts → index-YKCx03zD.d.ts} +2 -2
  267. package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
  268. package/dist/{index-Y-AmNzkO.d.ts → index-rzkX36wM.d.ts} +3 -3
  269. package/dist/index.d.ts +30 -30
  270. package/dist/index.js +106 -107
  271. package/dist/{interactionModality-B5dR7nnb.js → interactionModality-CyU67ucP.js} +9 -3
  272. package/dist/{landing-C7nc9JHm.js → landing-DFC97kl9.js} +2 -2
  273. package/dist/{layerFocusReturn-B8Hp14ZG.js → layerFocusReturn-BeCsk_4F.js} +1 -1
  274. package/dist/{pressFeedback-BajhWhi1.js → pressFeedback-CEUPQWIS.js} +297 -118
  275. package/dist/pressGesture-BzIBmKF2.js +615 -0
  276. package/dist/sharedRealm-H1OrlP0V.js +124 -0
  277. package/dist/{stillPointerGate-0vdn-hSa.js → stillPointerGate-BX4vr5M-.js} +1 -1
  278. package/dist/{tooltipFocusRules-D4cJ08fk.js → tooltipFocusRules-BnZ1zwAm.js} +2 -2
  279. package/dist/{tooltipTriggerRules-PBxqztvn.js → tooltipTriggerRules-BLBEkBcK.js} +1 -1
  280. package/dist/{useActionGroupTracking-fwmxDcU3.js → useActionGroupTracking-PVBCtLUE.js} +5 -4
  281. package/dist/{useCombobox-DIR9yoEu.js → useCombobox-DcBbaWYj.js} +1 -1
  282. package/dist/{useDismiss-Dfb0Ky7T.js → useDismiss-C1dyveme.js} +1 -1
  283. package/dist/{useFocusTrap-DsYtRdmV.js → useFocusTrap-DAKJJP0Z.js} +2 -2
  284. package/dist/{useInputStatusIcon-CVGsNTi_.js → useInputStatusIcon-BDWAijXe.js} +1 -1
  285. package/dist/{useListFocus-CbHkLT-X.js → useListFocus-CkHfsZp0.js} +23 -5
  286. package/dist/{useMenuDrillIn-DaH0nhPa.js → useMenuDrillIn-RZwY55RM.js} +1 -1
  287. package/dist/{useMenuHover-CQYo0XCC.js → useMenuHover-CfQtWMg-.js} +1 -1
  288. package/dist/{useMenuPress-9dOj2hvC.js → useMenuPress-3203ryBY.js} +63 -15
  289. package/dist/{usePressFeedback-2YAzGB6C.js → usePressFeedback-aufF1sCH.js} +1 -1
  290. package/dist/{useResizable-BMlG1oxA.js → useResizable-wZU54yCO.js} +1 -1
  291. package/dist/{useRestoreFocus-Cz_jM_nW.js → useRestoreFocus-v8-FFcQQ.js} +2 -2
  292. package/dist/{useTooltip-C7gHRGEO.js → useTooltip-0_wOd0e5.js} +5 -5
  293. package/dist/{useTouchHitArea-BKZL6tHX.js → useTouchHitArea-BMDBe36j.js} +3 -3
  294. package/dist/{useTouchTriggerInternal-Bs7obOrb.js → useTouchTriggerInternal-DwzthF8T.js} +1 -1
  295. package/dist/{useTruncationTooltip-DeCGRmot.js → useTruncationTooltip-BDIe7-ya.js} +5 -5
  296. package/dist/{useTypeahead-BrWvmOu9.js → useTypeahead-BlqvS9x9.js} +1 -1
  297. package/dist/{useTypeaheadMenuConfig--4f7jR6G.js → useTypeaheadMenuConfig-CIf9Ep57.js} +2 -2
  298. package/dist/utils/index.js +1 -1
  299. package/package.json +1 -1
  300. package/styles/app-shell.css +36 -0
  301. package/styles/breadcrumbs.css +1 -0
  302. package/styles/nav-item.css +9 -3
  303. package/styles/nav-menu.css +3 -0
  304. package/styles/pagination.css +2 -2
  305. package/styles/tab-list.css +7 -3
  306. package/styles/tab-menu.css +1 -0
  307. package/styles/top-nav.css +141 -11
  308. package/dist/composables-CDrwFX0l.js +0 -5420
  309. package/dist/handle-ChN2TMKH.js +0 -458
  310. package/dist/pressGesture-B3z3W3Za.js +0 -78
  311. package/dist/strayClick-_QKRT5aH.js +0 -99
  312. package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
  313. package/dist/{useTruncation-BxYAhQtF.js → useTruncation-D_T-ezdp.js} +1 -1
@@ -1,10 +1,14 @@
1
+ import { n as useLinkComponent } from "./context-C_peZbXf.js";
2
+ import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
3
+ import { t as focusForLastInput } from "./focusReturn-CsEp47Wa.js";
1
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
2
- import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
3
5
  import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
6
+ import { t as useFocusAcrossSwap } from "./focusAcrossSwap-Casww_IY.js";
7
+ import { i as safeNavHref } from "./link-DuuA2eCL.js";
4
8
  import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
5
9
  import { t as paginationMessages } from "./pagination-CxZBYsPu.js";
6
- import { t as _sfc_main$1 } from "./Selector-wcbEB7BC.js";
7
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, watch, withDirectives, withKeys } from "vue";
10
+ import { t as _sfc_main$1 } from "./Selector-Qs1rFiI6.js";
11
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, toValue, unref, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
8
12
  import "../styles/pagination.css";
9
13
  /**
10
14
  * 按容器宽度决定分页怎么排。
@@ -107,6 +111,87 @@ function usePagination(options) {
107
111
  };
108
112
  }
109
113
  //#endregion
114
+ //#region src/Pagination/usePaginationLinks.ts
115
+ /** 点击带修饰键,或链接要在别处打开:这一页在本页没有换。 */
116
+ function opensElsewhere(event) {
117
+ if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return true;
118
+ const target = event.currentTarget?.target;
119
+ return target != null && target !== "" && target.toLowerCase() !== "_self";
120
+ }
121
+ /**
122
+ * 页码、上一页、下一页、首页、末页控件用 `getPageHref` 变成链接。
123
+ * 没有地址的控件(边界上、禁用、地址被导航规则拒绝)仍是按钮。
124
+ */
125
+ function usePaginationLinks(options) {
126
+ const linkComponent = useLinkComponent();
127
+ /** 点击发生时的页码。浏览器跟随链接之前,上一页和下一页的地址不能先跳到下一页。 */
128
+ const heldPage = ref(null);
129
+ function currentPage() {
130
+ return heldPage.value ?? options.page.value;
131
+ }
132
+ function targetOf(kind) {
133
+ const from = currentPage();
134
+ const stride = options.step.value;
135
+ switch (kind) {
136
+ case "first": return 1;
137
+ case "last": return options.totalPages.value;
138
+ case "previous": return Math.max(1, from - stride);
139
+ case "next": {
140
+ const target = from + stride;
141
+ return options.isCursor.value ? target : Math.min(target, options.totalPages.value);
142
+ }
143
+ }
144
+ }
145
+ function hrefOf(page) {
146
+ const getPageHref = options.getPageHref();
147
+ if (getPageHref == null) return void 0;
148
+ return safeNavHref(getPageHref(page, options.pageSize()));
149
+ }
150
+ function controlHref(kind) {
151
+ if (!options.isAvailable(kind)) return void 0;
152
+ return hrefOf(targetOf(kind));
153
+ }
154
+ function pageHref(page, isDisabled) {
155
+ return isDisabled ? void 0 : hrefOf(page);
156
+ }
157
+ const custom = () => options.as() ?? linkComponent.value;
158
+ function root(href) {
159
+ if (href == null) return "button";
160
+ const component = custom();
161
+ return component == null ? "a" : toRaw(component);
162
+ }
163
+ /** 链接用 `href`(路由链接组件另给 `to`),按钮用 `type`。 */
164
+ function attrs(href) {
165
+ if (href == null) return { type: "button" };
166
+ return custom() == null ? { href } : {
167
+ href,
168
+ to: href
169
+ };
170
+ }
171
+ /**
172
+ * 链接被点击:记下点击时的页码,到这次点击结束为止地址都按它算;
173
+ * 点击要在别处打开时本页不换,否则照按钮那样换页,浏览器同时跟随链接。
174
+ */
175
+ function activate(event, href, change) {
176
+ if (href == null) {
177
+ if (options.getPageHref() == null) change();
178
+ return;
179
+ }
180
+ heldPage.value = options.page.value;
181
+ setTimeout(() => {
182
+ heldPage.value = null;
183
+ }, 0);
184
+ if (!opensElsewhere(event)) change();
185
+ }
186
+ return {
187
+ activate,
188
+ attrs,
189
+ controlHref,
190
+ pageHref,
191
+ root
192
+ };
193
+ }
194
+ //#endregion
110
195
  //#region src/Pagination/Pagination.vue
111
196
  const _hoisted_1 = [
112
197
  "data-density",
@@ -119,77 +204,59 @@ const _hoisted_2 = {
119
204
  key: 0,
120
205
  class: "astryx-pagination-total"
121
206
  };
122
- const _hoisted_3 = { class: "astryx-pagination-content" };
123
- const _hoisted_4 = ["disabled", "aria-label"];
124
- const _hoisted_5 = [
125
- "data-first",
126
- "disabled",
127
- "aria-label"
128
- ];
129
- const _hoisted_6 = {
207
+ const _hoisted_3 = ["data-variant", "data-size"];
208
+ const _hoisted_4 = {
130
209
  class: "astryx-pagination-label",
131
210
  "aria-hidden": "true"
132
211
  };
133
- const _hoisted_7 = {
212
+ const _hoisted_5 = {
134
213
  key: 1,
135
214
  class: "astryx-pagination-input"
136
215
  };
137
- const _hoisted_8 = {
216
+ const _hoisted_6 = {
138
217
  class: "astryx-pagination-input-label",
139
218
  "aria-hidden": "true"
140
219
  };
141
- const _hoisted_9 = [
220
+ const _hoisted_7 = [
142
221
  "max",
143
222
  "value",
144
223
  "disabled",
145
224
  "aria-label"
146
225
  ];
147
- const _hoisted_10 = {
226
+ const _hoisted_8 = {
148
227
  key: 0,
149
228
  class: "astryx-pagination-input-total"
150
229
  };
151
- const _hoisted_11 = {
230
+ const _hoisted_9 = {
152
231
  key: 2,
153
232
  class: "astryx-pagination-count"
154
233
  };
155
- const _hoisted_12 = {
234
+ const _hoisted_10 = {
156
235
  key: 3,
157
236
  class: "astryx-pagination-count"
158
237
  };
159
- const _hoisted_13 = ["aria-label"];
160
- const _hoisted_14 = [
238
+ const _hoisted_11 = ["aria-label"];
239
+ const _hoisted_12 = [
161
240
  "data-page",
162
241
  "tabindex",
163
242
  "aria-disabled",
164
- "aria-current",
243
+ "aria-checked",
165
244
  "aria-label"
166
245
  ];
167
- const _hoisted_15 = ["aria-hidden"];
168
- const _hoisted_16 = {
246
+ const _hoisted_13 = ["aria-hidden"];
247
+ const _hoisted_14 = {
169
248
  key: 6,
170
249
  class: "astryx-pagination-pages"
171
250
  };
172
- const _hoisted_17 = [
173
- "disabled",
174
- "aria-label",
175
- "aria-current",
176
- "onClick"
177
- ];
178
- const _hoisted_18 = [
179
- "data-last",
180
- "disabled",
181
- "aria-label"
182
- ];
183
- const _hoisted_19 = {
251
+ const _hoisted_15 = {
184
252
  class: "astryx-pagination-label",
185
253
  "aria-hidden": "true"
186
254
  };
187
- const _hoisted_20 = ["disabled", "aria-label"];
188
- const _hoisted_21 = {
255
+ const _hoisted_16 = {
189
256
  key: 8,
190
257
  class: "astryx-pagination-size-changer"
191
258
  };
192
- const _hoisted_22 = { class: "astryx-pagination-size-label" };
259
+ const _hoisted_17 = { class: "astryx-pagination-size-label" };
193
260
  const _sfc_main = /*@__PURE__*/ defineComponent({
194
261
  name: "AstryxPagination",
195
262
  __name: "Pagination",
@@ -207,6 +274,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
207
274
  type: [Boolean, null],
208
275
  default: null
209
276
  },
277
+ getPageHref: {},
278
+ as: {},
210
279
  changeAction: {},
211
280
  size: { default: "md" },
212
281
  showSizeChanger: {
@@ -310,6 +379,39 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
310
379
  pending.run(1);
311
380
  }
312
381
  });
382
+ const instance = getCurrentInstance();
383
+ function setsPageSize() {
384
+ const given = instance?.vnode.props;
385
+ return given != null && [
386
+ "pageSize",
387
+ "page-size",
388
+ "pageSizeOptions",
389
+ "page-size-options"
390
+ ].some((key) => key in given);
391
+ }
392
+ const links = usePaginationLinks({
393
+ getPageHref: () => props.getPageHref,
394
+ as: () => props.as,
395
+ page: pageRef,
396
+ pageSize: () => setsPageSize() ? pageSizeRef.value : void 0,
397
+ step: stride,
398
+ totalPages: pagination.totalPages,
399
+ isCursor: pagination.isCursor,
400
+ isAvailable: (kind) => {
401
+ if (disabledControl.value) return false;
402
+ if (kind === "first" || kind === "previous") return pagination.canPrevious.value;
403
+ if (kind === "next") return pagination.canNext.value;
404
+ return !pagination.isCursor.value && pagination.canNext.value;
405
+ }
406
+ });
407
+ const firstHref = computed(() => links.controlHref("first"));
408
+ const previousHref = computed(() => links.controlHref("previous"));
409
+ const nextHref = computed(() => links.controlHref("next"));
410
+ const lastHref = computed(() => links.controlHref("last"));
411
+ useFocusAcrossSwap(() => root.value, ".astryx-pagination-first", () => firstHref.value != null);
412
+ useFocusAcrossSwap(() => root.value, ".astryx-pagination-prev", () => previousHref.value != null);
413
+ useFocusAcrossSwap(() => root.value, ".astryx-pagination-next", () => nextHref.value != null);
414
+ useFocusAcrossSwap(() => root.value, ".astryx-pagination-last", () => lastHref.value != null);
313
415
  function syncFromProps() {
314
416
  pageRef.value = props.page;
315
417
  pageSizeRef.value = props.pageSize;
@@ -354,6 +456,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
354
456
  function isEllipsis(page) {
355
457
  return page === -1;
356
458
  }
459
+ function pageLinkHref(page) {
460
+ return isEllipsis(page) ? void 0 : links.pageHref(page, disabledControl.value);
461
+ }
357
462
  function onPageClick(page) {
358
463
  if (!disabledControl.value && !isEllipsis(page)) pagination.goto(page);
359
464
  }
@@ -374,7 +479,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
374
479
  if (Number.isInteger(page) && page > 0 && page !== pageRef.value) onPageClick(page);
375
480
  }
376
481
  function onDotClick(event) {
377
- event.currentTarget.focus();
482
+ focusForLastInput(event.currentTarget);
378
483
  consumeWhileDisabled(event, disabledControl.value);
379
484
  }
380
485
  return (_ctx, _cache) => {
@@ -395,49 +500,60 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
395
500
  total: totalRef.value,
396
501
  from: fromIndex.value,
397
502
  to: toIndex.value
398
- }, () => [createTextVNode(toDisplayString(unref(messages).pagination.total(totalRef.value, fromIndex.value, toIndex.value)), 1)])])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3, [
399
- showFirstLast.value ? (openBlock(), createElementBlock("button", {
400
- key: 0,
401
- type: "button",
402
- class: "astryx-pagination-button astryx-pagination-first",
503
+ }, () => [createTextVNode(toDisplayString(unref(messages).pagination.total(totalRef.value, fromIndex.value, toIndex.value)), 1)])])) : createCommentVNode("v-if", true), createElementVNode("div", {
504
+ class: "astryx-pagination-content astryx-pagination-list",
505
+ "data-variant": variant.value,
506
+ "data-size": props.size
507
+ }, [
508
+ showFirstLast.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(links).root(firstHref.value)), mergeProps({ key: 0 }, unref(links).attrs(firstHref.value), {
509
+ class: "astryx-pagination-button astryx-pagination-item astryx-pagination-first",
403
510
  "data-first": "first",
404
- disabled: disabledControl.value || !unref(pagination).canPrevious.value,
511
+ disabled: firstHref.value ? void 0 : disabledControl.value || !unref(pagination).canPrevious.value,
405
512
  "aria-label": unref(messages).pagination.first,
406
- onClick: _cache[0] || (_cache[0] = (...args) => unref(pagination).first && unref(pagination).first(...args))
407
- }, [..._cache[7] || (_cache[7] = [createElementVNode("svg", {
408
- width: "16",
409
- height: "16",
410
- viewBox: "0 0 16 16",
411
- fill: "none",
412
- "aria-hidden": "true"
413
- }, [createElementVNode("path", {
414
- d: "M11 12L7 8L11 4M7 12L3 8L7 4",
415
- stroke: "currentColor",
416
- "stroke-width": "1.5",
417
- "stroke-linecap": "round",
418
- "stroke-linejoin": "round"
419
- })], -1)])], 8, _hoisted_4)) : createCommentVNode("v-if", true),
420
- createElementVNode("button", {
421
- type: "button",
422
- class: "astryx-pagination-button astryx-pagination-prev",
513
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(links).activate($event, firstHref.value, unref(pagination).first))
514
+ }), {
515
+ default: withCtx(() => [..._cache[8] || (_cache[8] = [createElementVNode("svg", {
516
+ width: "16",
517
+ height: "16",
518
+ viewBox: "0 0 16 16",
519
+ fill: "none",
520
+ "aria-hidden": "true"
521
+ }, [createElementVNode("path", {
522
+ d: "M11 12L7 8L11 4M7 12L3 8L7 4",
523
+ stroke: "currentColor",
524
+ "stroke-width": "1.5",
525
+ "stroke-linecap": "round",
526
+ "stroke-linejoin": "round"
527
+ })], -1)])]),
528
+ _: 1
529
+ }, 16, ["disabled", "aria-label"])) : createCommentVNode("v-if", true),
530
+ (openBlock(), createBlock(resolveDynamicComponent(unref(links).root(previousHref.value)), mergeProps(unref(links).attrs(previousHref.value), {
531
+ class: "astryx-pagination-button astryx-pagination-item astryx-pagination-prev",
423
532
  "data-first": showFirstLast.value ? void 0 : "first",
424
- disabled: disabledControl.value || !unref(pagination).canPrevious.value,
533
+ disabled: previousHref.value ? void 0 : disabledControl.value || !unref(pagination).canPrevious.value,
425
534
  "aria-label": resolvedPrevLabel.value,
426
- onClick: _cache[1] || (_cache[1] = (...args) => unref(pagination).previous && unref(pagination).previous(...args))
427
- }, [_cache[8] || (_cache[8] = createElementVNode("svg", {
428
- width: "16",
429
- height: "16",
430
- viewBox: "0 0 16 16",
431
- fill: "none"
432
- }, [createElementVNode("path", {
433
- d: "M10 12L6 8L10 4",
434
- stroke: "currentColor",
435
- "stroke-width": "1.5",
436
- "stroke-linecap": "round",
437
- "stroke-linejoin": "round"
438
- })], -1)), createElementVNode("span", _hoisted_6, toDisplayString(resolvedPrevLabel.value), 1)], 8, _hoisted_5),
439
- variant.value === "input" ? (openBlock(), createElementBlock("span", _hoisted_7, [
440
- createElementVNode("span", _hoisted_8, toDisplayString(resolvedPageLabel.value), 1),
535
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(links).activate($event, previousHref.value, unref(pagination).previous))
536
+ }), {
537
+ default: withCtx(() => [_cache[9] || (_cache[9] = createElementVNode("svg", {
538
+ width: "16",
539
+ height: "16",
540
+ viewBox: "0 0 16 16",
541
+ fill: "none"
542
+ }, [createElementVNode("path", {
543
+ d: "M10 12L6 8L10 4",
544
+ stroke: "currentColor",
545
+ "stroke-width": "1.5",
546
+ "stroke-linecap": "round",
547
+ "stroke-linejoin": "round"
548
+ })], -1)), createElementVNode("span", _hoisted_4, toDisplayString(resolvedPrevLabel.value), 1)]),
549
+ _: 1
550
+ }, 16, [
551
+ "data-first",
552
+ "disabled",
553
+ "aria-label"
554
+ ])),
555
+ variant.value === "input" ? (openBlock(), createElementBlock("span", _hoisted_5, [
556
+ createElementVNode("span", _hoisted_6, toDisplayString(resolvedPageLabel.value), 1),
441
557
  createElementVNode("input", {
442
558
  class: "astryx-pagination-input-field",
443
559
  type: "number",
@@ -449,101 +565,121 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
449
565
  "aria-label": unref(messages).pagination.goToPage,
450
566
  onChange: onInputCommit,
451
567
  onKeydown: withKeys(onInputCommit, ["enter"])
452
- }, null, 40, _hoisted_9),
453
- !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(unref(messages).pagination.ofTotal(unref(pagination).totalPages.value)), 1)) : createCommentVNode("v-if", true)
454
- ])) : variant.value === "count" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(unref(messages).pagination.total(totalRef.value, fromIndex.value, toIndex.value)), 1)) : variant.value === "compact" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(unref(messages).pagination.pageOf(pageRef.value, unref(pagination).totalPages.value)), 1)) : variant.value === "dots" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("div", {
568
+ }, null, 40, _hoisted_7),
569
+ !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(messages).pagination.ofTotal(unref(pagination).totalPages.value)), 1)) : createCommentVNode("v-if", true)
570
+ ])) : variant.value === "count" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(unref(messages).pagination.total(totalRef.value, fromIndex.value, toIndex.value)), 1)) : variant.value === "compact" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(unref(messages).pagination.pageOf(pageRef.value, unref(pagination).totalPages.value)), 1)) : variant.value === "dots" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("div", {
455
571
  key: 4,
456
572
  ref: setDotsList,
457
573
  class: "astryx-pagination-dots",
458
- role: "group",
574
+ role: "radiogroup",
459
575
  "aria-label": unref(messages).pagination.nav,
460
576
  onFocusin: onDotsFocus,
461
- onKeydown: _cache[3] || (_cache[3] = (...args) => unref(dotsFocus).handleKeyDown && unref(dotsFocus).handleKeyDown(...args))
577
+ onKeydown: _cache[4] || (_cache[4] = (...args) => unref(dotsFocus).handleKeyDown && unref(dotsFocus).handleKeyDown(...args))
462
578
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagination).totalPages.value, (dotPage) => {
463
579
  return openBlock(), createElementBlock("button", {
464
580
  key: dotPage,
465
581
  type: "button",
582
+ role: "radio",
466
583
  class: normalizeClass(["astryx-pagination-dot", { "is-active": dotPage === pageRef.value }]),
467
584
  "data-page": dotPage,
468
585
  tabindex: dotPage === pageRef.value ? 0 : -1,
469
586
  "aria-disabled": disabledControl.value || void 0,
470
- "aria-current": dotPage === pageRef.value ? "page" : void 0,
587
+ "aria-checked": dotPage === pageRef.value,
471
588
  "aria-label": unref(messages).pagination.page(dotPage),
589
+ onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {}, ["prevent"])),
472
590
  onClick: onDotClick,
473
- onKeydown: _cache[2] || (_cache[2] = ($event) => unref(consumeWhileDisabled)($event, disabledControl.value))
474
- }, null, 42, _hoisted_14);
475
- }), 128))], 40, _hoisted_13)) : createCommentVNode("v-if", true),
591
+ onKeydown: _cache[3] || (_cache[3] = ($event) => unref(consumeWhileDisabled)($event, disabledControl.value))
592
+ }, null, 42, _hoisted_12);
593
+ }), 128))], 40, _hoisted_11)) : createCommentVNode("v-if", true),
476
594
  variant.value === "pages" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", {
477
595
  key: 5,
478
596
  class: "astryx-pagination-compact",
479
597
  "aria-hidden": density.value === "minimal" ? void 0 : true
480
- }, toDisplayString(unref(messages).pagination.compact(pageRef.value, unref(pagination).totalPages.value)), 9, _hoisted_15)) : createCommentVNode("v-if", true),
481
- variant.value === "pages" && !unref(pagination).isCursor.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_16, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagination).pageNumbers.value, (page, index) => {
482
- return openBlock(), createElementBlock("button", {
483
- key: index,
484
- type: "button",
485
- class: normalizeClass(["astryx-pagination-page", {
598
+ }, toDisplayString(unref(messages).pagination.compact(pageRef.value, unref(pagination).totalPages.value)), 9, _hoisted_13)) : createCommentVNode("v-if", true),
599
+ variant.value === "pages" && !unref(pagination).isCursor.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_14, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagination).pageNumbers.value, (page, index) => {
600
+ return openBlock(), createBlock(resolveDynamicComponent(unref(links).root(pageLinkHref(page))), mergeProps({ key: index }, { ref_for: true }, unref(links).attrs(pageLinkHref(page)), {
601
+ class: ["astryx-pagination-page", {
486
602
  "is-active": page === pageRef.value,
487
- "is-ellipsis": isEllipsis(page)
488
- }]),
489
- disabled: disabledControl.value || isEllipsis(page),
603
+ "is-ellipsis": isEllipsis(page),
604
+ "astryx-pagination-item": !isEllipsis(page),
605
+ "astryx-pagination-ellipsis": isEllipsis(page)
606
+ }],
607
+ "data-selected": !isEllipsis(page) && page === pageRef.value ? "selected" : void 0,
608
+ disabled: pageLinkHref(page) ? void 0 : disabledControl.value || isEllipsis(page),
490
609
  "aria-label": isEllipsis(page) ? unref(messages).pagination.more : unref(messages).pagination.page(page),
491
610
  "aria-current": page === pageRef.value ? "page" : void 0,
492
- onClick: ($event) => onPageClick(page)
493
- }, toDisplayString(isEllipsis(page) ? "..." : page), 11, _hoisted_17);
611
+ onClick: ($event) => unref(links).activate($event, pageLinkHref(page), () => onPageClick(page))
612
+ }), {
613
+ default: withCtx(() => [createTextVNode(toDisplayString(isEllipsis(page) ? "..." : page), 1)]),
614
+ _: 2
615
+ }, 1040, [
616
+ "class",
617
+ "data-selected",
618
+ "disabled",
619
+ "aria-label",
620
+ "aria-current",
621
+ "onClick"
622
+ ]);
494
623
  }), 128))], 512)), [[vShow, density.value !== "minimal"]]) : createCommentVNode("v-if", true),
495
- createElementVNode("button", {
496
- type: "button",
497
- class: "astryx-pagination-button astryx-pagination-next",
624
+ (openBlock(), createBlock(resolveDynamicComponent(unref(links).root(nextHref.value)), mergeProps(unref(links).attrs(nextHref.value), {
625
+ class: "astryx-pagination-button astryx-pagination-item astryx-pagination-next",
498
626
  "data-last": showFirstLast.value ? void 0 : "last",
499
- disabled: disabledControl.value || !unref(pagination).canNext.value,
627
+ disabled: nextHref.value ? void 0 : disabledControl.value || !unref(pagination).canNext.value,
500
628
  "aria-label": resolvedNextLabel.value,
501
- onClick: _cache[4] || (_cache[4] = (...args) => unref(pagination).next && unref(pagination).next(...args))
502
- }, [createElementVNode("span", _hoisted_19, toDisplayString(resolvedNextLabel.value), 1), _cache[9] || (_cache[9] = createElementVNode("svg", {
503
- width: "16",
504
- height: "16",
505
- viewBox: "0 0 16 16",
506
- fill: "none"
507
- }, [createElementVNode("path", {
508
- d: "M6 4L10 8L6 12",
509
- stroke: "currentColor",
510
- "stroke-width": "1.5",
511
- "stroke-linecap": "round",
512
- "stroke-linejoin": "round"
513
- })], -1))], 8, _hoisted_18),
514
- showFirstLast.value ? (openBlock(), createElementBlock("button", {
515
- key: 7,
516
- type: "button",
517
- class: "astryx-pagination-button astryx-pagination-last",
629
+ onClick: _cache[5] || (_cache[5] = ($event) => unref(links).activate($event, nextHref.value, unref(pagination).next))
630
+ }), {
631
+ default: withCtx(() => [createElementVNode("span", _hoisted_15, toDisplayString(resolvedNextLabel.value), 1), _cache[10] || (_cache[10] = createElementVNode("svg", {
632
+ width: "16",
633
+ height: "16",
634
+ viewBox: "0 0 16 16",
635
+ fill: "none"
636
+ }, [createElementVNode("path", {
637
+ d: "M6 4L10 8L6 12",
638
+ stroke: "currentColor",
639
+ "stroke-width": "1.5",
640
+ "stroke-linecap": "round",
641
+ "stroke-linejoin": "round"
642
+ })], -1))]),
643
+ _: 1
644
+ }, 16, [
645
+ "data-last",
646
+ "disabled",
647
+ "aria-label"
648
+ ])),
649
+ showFirstLast.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(links).root(lastHref.value)), mergeProps({ key: 7 }, unref(links).attrs(lastHref.value), {
650
+ class: "astryx-pagination-button astryx-pagination-item astryx-pagination-last",
518
651
  "data-last": "last",
519
- disabled: disabledControl.value || !unref(pagination).canNext.value,
652
+ disabled: lastHref.value ? void 0 : disabledControl.value || !unref(pagination).canNext.value,
520
653
  "aria-label": unref(messages).pagination.last,
521
- onClick: _cache[5] || (_cache[5] = (...args) => unref(pagination).last && unref(pagination).last(...args))
522
- }, [..._cache[10] || (_cache[10] = [createElementVNode("svg", {
523
- width: "16",
524
- height: "16",
525
- viewBox: "0 0 16 16",
526
- fill: "none",
527
- "aria-hidden": "true"
528
- }, [createElementVNode("path", {
529
- d: "M5 4L9 8L5 12M9 4L13 8L9 12",
530
- stroke: "currentColor",
531
- "stroke-width": "1.5",
532
- "stroke-linecap": "round",
533
- "stroke-linejoin": "round"
534
- })], -1)])], 8, _hoisted_20)) : createCommentVNode("v-if", true),
535
- props.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_21, [createElementVNode("span", _hoisted_22, toDisplayString(resolvedPageSizeLabel.value), 1), createVNode(_sfc_main$1, {
654
+ onClick: _cache[6] || (_cache[6] = ($event) => unref(links).activate($event, lastHref.value, unref(pagination).last))
655
+ }), {
656
+ default: withCtx(() => [..._cache[11] || (_cache[11] = [createElementVNode("svg", {
657
+ width: "16",
658
+ height: "16",
659
+ viewBox: "0 0 16 16",
660
+ fill: "none",
661
+ "aria-hidden": "true"
662
+ }, [createElementVNode("path", {
663
+ d: "M5 4L9 8L5 12M9 4L13 8L9 12",
664
+ stroke: "currentColor",
665
+ "stroke-width": "1.5",
666
+ "stroke-linecap": "round",
667
+ "stroke-linejoin": "round"
668
+ })], -1)])]),
669
+ _: 1
670
+ }, 16, ["disabled", "aria-label"])) : createCommentVNode("v-if", true),
671
+ props.showSizeChanger ? (openBlock(), createElementBlock("div", _hoisted_16, [createElementVNode("span", _hoisted_17, toDisplayString(resolvedPageSizeLabel.value), 1), createVNode(_sfc_main$1, {
536
672
  "model-value": pageSizeRef.value,
537
673
  options: pageSizeOptions.value,
538
674
  disabled: disabledControl.value,
539
675
  size: "sm",
540
- "onUpdate:modelValue": _cache[6] || (_cache[6] = (size) => size && unref(pagination).setPageSize(Number(size)))
676
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = (size) => size && unref(pagination).setPageSize(Number(size)))
541
677
  }, null, 8, [
542
678
  "model-value",
543
679
  "options",
544
680
  "disabled"
545
681
  ])])) : createCommentVNode("v-if", true)
546
- ])], 10, _hoisted_1);
682
+ ], 8, _hoisted_3)], 10, _hoisted_1);
547
683
  };
548
684
  }
549
685
  });
@@ -1,3 +1,3 @@
1
1
  import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-OGMYGejX.js";
2
- import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-BP2SjZiM.js";
2
+ import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-BmXk_doE.js";
3
3
  export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
@@ -1,2 +1,2 @@
1
- import { n as usePopover, t as _sfc_main } from "../Popover-D0jAIXkw.js";
1
+ import { n as usePopover, t as _sfc_main } from "../Popover-BtfsoxXC.js";
2
2
  export { _sfc_main as Popover, usePopover };
@@ -1,14 +1,14 @@
1
- import { t as _sfc_main$1 } from "./Button-DOfigN38.js";
1
+ import { t as _sfc_main$1 } from "./Button-Blnc0yB3.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
4
- import { n as useLayer } from "./tooltipTriggerRules-PBxqztvn.js";
5
- import { t as _sfc_main$2 } from "./LayerContentBoundary-CpqXMTyU.js";
3
+ import { t as useDismiss } from "./useDismiss-C1dyveme.js";
4
+ import { n as useLayer } from "./tooltipTriggerRules-BLBEkBcK.js";
5
+ import { t as _sfc_main$2 } from "./LayerContentBoundary-DxeAFxNJ.js";
6
6
  import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
7
7
  import { a as inDocumentOrder } from "./focusRegion-CmDg7_4b.js";
8
- import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
8
+ import { t as useFocusTrap } from "./useFocusTrap-DAKJJP0Z.js";
9
9
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
11
- import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-B8Hp14ZG.js";
11
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-BeCsk_4F.js";
12
12
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
13
13
  import { n as clampInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
14
14
  import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
@@ -1,2 +1,2 @@
1
- import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-DmAEpn5E.js";
1
+ import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-CG3fD4hw.js";
2
2
  export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
@@ -1,2 +1,2 @@
1
- import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-CU_MBQlC.js";
1
+ import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-CniqThU7.js";
2
2
  export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };