@astryx-vue/core 0.21.0 → 0.23.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 (336) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-0UUojm_Q.js → AlertDialog-DXOTr1D7.js} +4 -4
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-6rvfUu8p.js → AppShell-Cmu6bMY6.js} +76 -21
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-CXpGcula.js → Avatar-dMcn3j8Z.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/Banner/index.d.ts +1 -1
  10. package/dist/Banner/index.js +1 -1
  11. package/dist/{Banner-fmkd6nXw.js → Banner-CTY9qV89.js} +2 -2
  12. package/dist/BottomSheet/index.d.ts +1 -1
  13. package/dist/BottomSheet/index.js +2 -2
  14. package/dist/{BottomSheet-DrKtyVVo.js → BottomSheet-DyJJtZZU.js} +5 -5
  15. package/dist/{BottomSheet-DqAuZBgA.js → BottomSheet-ZOjuZya0.js} +3 -3
  16. package/dist/Breadcrumbs/index.js +2 -2
  17. package/dist/{Breadcrumbs-uaApwhFB.js → Breadcrumbs-mlCoLtma.js} +5 -2
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-CQAjaQa0.js → Button-TiYG0btL.js} +4 -4
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/Calendar/index.d.ts +2 -2
  23. package/dist/Calendar/index.js +3 -2
  24. package/dist/Calendar-B6TZYEge.js +105 -0
  25. package/dist/{Calendar-ydp0vJdO.js → Calendar-CUMnYIhe.js} +182 -257
  26. package/dist/Card/index.d.ts +1 -1
  27. package/dist/Card/index.js +1 -1
  28. package/dist/{Card-BbKFHWuD.js → Card-D_OJxmwD.js} +1 -1
  29. package/dist/Carousel/index.d.ts +1 -1
  30. package/dist/Carousel/index.js +1 -1
  31. package/dist/{Carousel-C3O9Uavl.js → Carousel-DsXup1mZ.js} +2 -2
  32. package/dist/Center/index.d.ts +1 -1
  33. package/dist/Chat/index.d.ts +1 -1
  34. package/dist/Chat/index.js +1 -1
  35. package/dist/{Chat-CmjK6fBy.js → Chat-DqYT_S9M.js} +7 -6
  36. package/dist/CheckboxInput/index.d.ts +1 -1
  37. package/dist/CheckboxInput/index.js +1 -1
  38. package/dist/{CheckboxInput-D6ow4VuS.js → CheckboxInput-BNwTTDHu.js} +3 -3
  39. package/dist/CheckboxList/index.d.ts +1 -1
  40. package/dist/CheckboxList/index.js +1 -1
  41. package/dist/{CheckboxList-CPaRsgRQ.js → CheckboxList-BLY16jPG.js} +3 -3
  42. package/dist/Citation/index.js +1 -1
  43. package/dist/{Citation-CSgRYxGU.js → Citation-Ijf06x0V.js} +1 -1
  44. package/dist/ClickableCard/index.d.ts +1 -1
  45. package/dist/ClickableCard/index.js +1 -1
  46. package/dist/{ClickableCard-DMX5z-QV.js → ClickableCard-CVQ7XS4L.js} +1 -1
  47. package/dist/Code/index.js +2 -2
  48. package/dist/{Code-rmiC0XfO.js → Code-5rZyPwty.js} +1 -1
  49. package/dist/{CodeBlock-DMG9rLQN.js → CodeBlock-5KoJDvWd.js} +3 -3
  50. package/dist/Collapsible/index.js +1 -1
  51. package/dist/{Collapsible-BVoNZijw.js → Collapsible-B1qW6OuL.js} +3 -1
  52. package/dist/CommandPalette/index.js +1 -1
  53. package/dist/{CommandPalette-CmOytlWq.js → CommandPalette-B2riNg_7.js} +3 -3
  54. package/dist/ComplexSelector/index.d.ts +1 -1
  55. package/dist/ComplexSelector/index.js +1 -1
  56. package/dist/{ComplexSelector-mfEoIHtI.js → ComplexSelector-CVCIsgAU.js} +4 -4
  57. package/dist/{ComponentIcon-BRXBBKeG.js → ComponentIcon-Dw4xQxg3.js} +3 -3
  58. package/dist/ContextMenu/index.d.ts +1 -1
  59. package/dist/ContextMenu/index.js +2 -2
  60. package/dist/{ContextMenu-DDvOR25x.js → ContextMenu-DYLdP-Ok.js} +7 -7
  61. package/dist/DateInput/index.d.ts +1 -1
  62. package/dist/DateInput/index.js +1 -1
  63. package/dist/{DateInput-pDh6H44y.js → DateInput-D9Jv70H7.js} +1210 -108
  64. package/dist/DateRangeInput/index.d.ts +1 -1
  65. package/dist/DateRangeInput/index.js +1 -1
  66. package/dist/{DateRangeInput-CQDfoXX5.js → DateRangeInput-BsB2kg_q.js} +75 -55
  67. package/dist/DateTimeInput/index.d.ts +1 -1
  68. package/dist/DateTimeInput/index.js +1 -1
  69. package/dist/{DateTimeInput-CZjere9H.js → DateTimeInput-BDyKPKGD.js} +26 -13
  70. package/dist/Dialog/index.d.ts +1 -1
  71. package/dist/Dialog/index.js +3 -3
  72. package/dist/{Dialog-XIB0KZ-m.js → Dialog-DUlWQH8R.js} +1 -1
  73. package/dist/{Dialog-BRlZ7n83.js → Dialog-JCB5s-T-.js} +4 -4
  74. package/dist/{DialogHeader-DF6jFDq3.js → DialogHeader-C6hZZxdv.js} +3 -3
  75. package/dist/Drawer/index.d.ts +1 -1
  76. package/dist/Drawer/index.js +1 -1
  77. package/dist/{Drawer-BYUELPLs.js → Drawer-BDuiw1-g.js} +2 -2
  78. package/dist/DropdownMenu/index.js +3 -3
  79. package/dist/{DropdownMenu-BBXFl5Mu.js → DropdownMenu-BVEOMFwc.js} +9 -9
  80. package/dist/{DropdownMenu-DY3yFENC.js → DropdownMenu-PjqSkkQs.js} +6 -6
  81. package/dist/EmptyState/index.js +1 -1
  82. package/dist/{EmptyState-cs-L9Ovg.js → EmptyState-CnFkYtcS.js} +3 -3
  83. package/dist/Field/index.js +3 -3
  84. package/dist/{Field-BQ3q-K5D.js → Field-D4UmRHlD.js} +2 -2
  85. package/dist/{FieldIcon-DMtfe1Ne.js → FieldIcon-BU1ZWAuo.js} +1 -1
  86. package/dist/{FieldInfoTip-MgGzYEq0.js → FieldInfoTip-BSqcEcUx.js} +2 -2
  87. package/dist/{FieldLabel-yH6KAVyU.js → FieldLabel-CZbayYFD.js} +2 -2
  88. package/dist/FieldStatus/index.js +1 -1
  89. package/dist/{FieldStatus-DSUCli4W.js → FieldStatus-DmCWPT6U.js} +1 -1
  90. package/dist/FileInput/index.d.ts +1 -1
  91. package/dist/FileInput/index.js +1 -1
  92. package/dist/{FileInput-R8CqJrA5.js → FileInput-8oYiJsq_.js} +4 -4
  93. package/dist/Grid/index.d.ts +1 -1
  94. package/dist/Grid/index.js +1 -1
  95. package/dist/{Grid-C0mp7fha.js → Grid-DTnDDT0Q.js} +2 -2
  96. package/dist/Heading/index.d.ts +1 -1
  97. package/dist/Heading/index.js +1 -1
  98. package/dist/{Heading-DkCkHEG-.js → Heading-COtyAhtB.js} +1 -1
  99. package/dist/HoverCard/index.js +1 -1
  100. package/dist/{HoverCard-D0KqUCXI.js → HoverCard-DGlOpk4x.js} +4 -4
  101. package/dist/Icon/index.js +3 -3
  102. package/dist/{Icon-BCHo7W0x.js → Icon-Dk0jccgU.js} +2 -1
  103. package/dist/{Icon-B2aULLnn.js → Icon-M1Rlknd0.js} +2 -1
  104. package/dist/IconButton/index.js +1 -1
  105. package/dist/{IconButton-DR9_545-.js → IconButton-CwjHTIBg.js} +1 -1
  106. package/dist/Indicator/index.js +1 -1
  107. package/dist/InfoTip/index.d.ts +1 -1
  108. package/dist/InfoTip/index.js +1 -1
  109. package/dist/{InfoTip-BfgtAgck.js → InfoTip-CNZateDb.js} +2 -2
  110. package/dist/{InputClearButton-DaFtlyKR.js → InputClearButton-CzCP41sx.js} +2 -2
  111. package/dist/InputGroup/index.js +1 -1
  112. package/dist/{InputGroup-1CLPKULR.js → InputGroup-CfUGHDNz.js} +1 -1
  113. package/dist/InternationalizationProvider/index.d.ts +1 -1
  114. package/dist/InternationalizationProvider/index.js +1 -1
  115. package/dist/{InternationalizationProvider-Ddo_-tLK.js → InternationalizationProvider-DaZS5Dch.js} +5 -2
  116. package/dist/{LayerContentBoundary-lxUfJk2v.js → LayerContentBoundary-LCQLyxBT.js} +1 -1
  117. package/dist/Layout/index.d.ts +1 -1
  118. package/dist/Layout/index.js +2 -2
  119. package/dist/{Layout-DP2vrvTv.js → Layout-DOIeCgs4.js} +2 -2
  120. package/dist/{LayoutPanel-DuroKU_A.js → LayoutPanel-C7Wsid2W.js} +34 -14
  121. package/dist/Lightbox/index.js +1 -1
  122. package/dist/{Lightbox-DyaSfJix.js → Lightbox-Dzzd2Vqe.js} +4 -4
  123. package/dist/Link/index.d.ts +1 -1
  124. package/dist/Link/index.js +1 -1
  125. package/dist/{Link-JVAfvoxT.js → Link-B7OJQ0zl.js} +2 -2
  126. package/dist/List/index.d.ts +1 -1
  127. package/dist/Markdown/index.js +1 -1
  128. package/dist/{Markdown-DtnPfhP0.js → Markdown-Cbj-nqhN.js} +4 -4
  129. package/dist/{MediaTheme-DfcdEWx-.js → MediaTheme-UM8oOqwX.js} +1 -1
  130. package/dist/MobileNav/index.js +2 -1
  131. package/dist/{MobileNavToggle-CPNsCIFR.js → MobileNavToggle-BlcdCg8M.js} +6 -8
  132. package/dist/MoreMenu/index.d.ts +1 -1
  133. package/dist/MoreMenu/index.js +1 -1
  134. package/dist/{MoreMenu-DQjrchg5.js → MoreMenu-DAhOiau3.js} +5 -5
  135. package/dist/MultiSelector/index.d.ts +1 -1
  136. package/dist/MultiSelector/index.js +1 -1
  137. package/dist/{MultiSelector-sJ-LUrze.js → MultiSelector-ERv5u6r4.js} +11 -10
  138. package/dist/{NavDisclosure-CE79mxpa.js → NavDisclosure-CqAThYgR.js} +13 -4
  139. package/dist/{NavHeadingSurface-EsNdvhx7.js → NavHeadingSurface-DJ4pWvEi.js} +16 -15
  140. package/dist/NavItem/index.d.ts +1 -1
  141. package/dist/NavMenu/index.js +3 -3
  142. package/dist/{NavMenu-_Mo1yWZC.js → NavMenu-BtA_Xbmr.js} +8 -6
  143. package/dist/{NavMenuItem-CDHKFOKi.js → NavMenuItem-BxfjAf1T.js} +7 -4
  144. package/dist/NumberInput/index.d.ts +1 -1
  145. package/dist/NumberInput/index.js +1 -1
  146. package/dist/{NumberInput-Bpc2c39W.js → NumberInput-Bl5TFhGD.js} +5 -5
  147. package/dist/OverflowList/index.d.ts +1 -1
  148. package/dist/OverflowList/index.js +1 -1
  149. package/dist/{OverflowList-Dx_Iw8xd.js → OverflowList-CumJl6X_.js} +2 -2
  150. package/dist/Pagination/index.d.ts +1 -1
  151. package/dist/Pagination/index.js +1 -1
  152. package/dist/{Pagination-D7sbjDKw.js → Pagination-DuTUReOl.js} +271 -135
  153. package/dist/Popover/index.d.ts +1 -1
  154. package/dist/Popover/index.js +1 -1
  155. package/dist/{Popover-Bhi0b1x0.js → Popover-DpR4rwiW.js} +6 -6
  156. package/dist/PowerSearch/index.d.ts +1 -1
  157. package/dist/PowerSearch/index.js +1 -1
  158. package/dist/{PowerSearch-B13bgXSs.js → PowerSearch-CewQJzEt.js} +34 -33
  159. package/dist/ProgressBar/index.js +1 -1
  160. package/dist/{ProgressBar-BtEaKOhz.js → ProgressBar-Dp-0xquN.js} +1 -1
  161. package/dist/Radio/index.d.ts +1 -1
  162. package/dist/Radio/index.js +1 -1
  163. package/dist/{RadioGroup-CFqN0t92.js → RadioGroup-DrCL5-AN.js} +3 -3
  164. package/dist/RadioList/index.d.ts +1 -1
  165. package/dist/RadioList/index.js +1 -1
  166. package/dist/{RadioList-DVNkGcpc.js → RadioList-CRi4E1zq.js} +1 -1
  167. package/dist/Resizable/index.d.ts +1 -1
  168. package/dist/Resizable/index.js +1 -1
  169. package/dist/{ResizeHandle-4-krI-cQ.js → ResizeHandle-BMSbAFdP.js} +43 -27
  170. package/dist/ScrollableArea/index.d.ts +1 -1
  171. package/dist/SelectableCard/index.d.ts +1 -1
  172. package/dist/SelectableCard/index.js +1 -1
  173. package/dist/{SelectableCard-DUTtyApJ.js → SelectableCard-Dp-LsEcf.js} +1 -1
  174. package/dist/Selector/index.d.ts +1 -1
  175. package/dist/Selector/index.js +1 -1
  176. package/dist/{Selector-sGqS3qNy.js → Selector-D6yzPO5O.js} +9 -9
  177. package/dist/SideNav/index.d.ts +1 -1
  178. package/dist/SideNav/index.js +1 -1
  179. package/dist/{SideNav-Dw9MydVe.js → SideNav-z_6FwEJy.js} +13 -58
  180. package/dist/Slider/index.js +1 -1
  181. package/dist/{Slider-BkVTjzrx.js → Slider-DMHlRq7q.js} +2 -2
  182. package/dist/Stack/index.d.ts +1 -1
  183. package/dist/StatusDot/index.js +1 -1
  184. package/dist/{StatusDot-D4S8b-FU.js → StatusDot-B3oOyRF7.js} +1 -1
  185. package/dist/Stepper/index.js +1 -1
  186. package/dist/{Stepper-CQd4YlPC.js → Stepper-CgOdL36_.js} +1 -1
  187. package/dist/Switch/index.d.ts +1 -1
  188. package/dist/Switch/index.js +1 -1
  189. package/dist/{Switch-DU-MRs1W.js → Switch-OPRkoPLi.js} +2 -2
  190. package/dist/TabList/index.d.ts +1 -1
  191. package/dist/TabList/index.js +1 -1
  192. package/dist/{TabList-CmB55DUS.js → TabList-FkoypUk0.js} +62 -23
  193. package/dist/Table/index.d.ts +1 -1
  194. package/dist/Table/index.js +1 -1
  195. package/dist/{Table-BUh0OjeU.js → Table-CCjpL_Ku.js} +16 -16
  196. package/dist/Text/index.d.ts +1 -1
  197. package/dist/Text/index.js +1 -1
  198. package/dist/{Text-BBQUFWb_.js → Text-v1ep26uD.js} +1 -1
  199. package/dist/TextArea/index.d.ts +1 -1
  200. package/dist/TextArea/index.js +1 -1
  201. package/dist/{TextArea-BVppzw5n.js → TextArea-BilHnmSs.js} +5 -5
  202. package/dist/TextInput/index.d.ts +1 -1
  203. package/dist/TextInput/index.js +1 -1
  204. package/dist/{TextInput-CmxKsaUt.js → TextInput-D6tHM2sA.js} +4 -4
  205. package/dist/Theme/index.js +3 -2
  206. package/dist/{Theme-1RJVaRgz.js → Theme-BmTbbiAD.js} +6 -22
  207. package/dist/Thumbnail/index.js +1 -1
  208. package/dist/{Thumbnail-_KR0IRj-.js → Thumbnail-llGdnQM8.js} +3 -3
  209. package/dist/{TimeField-Dbr2MOqX.js → TimeField-C5rcoaVu.js} +7 -7
  210. package/dist/TimeInput/index.d.ts +1 -1
  211. package/dist/TimeInput/index.js +1 -1
  212. package/dist/{TimeInput-hzZ3tuAw.js → TimeInput-D0N8nwrI.js} +2 -2
  213. package/dist/Timer/index.d.ts +1 -1
  214. package/dist/Timer/index.js +1 -1
  215. package/dist/{Timer-UnFtEgGb.js → Timer-65PfuoQ7.js} +1 -1
  216. package/dist/Timestamp/index.d.ts +1 -1
  217. package/dist/Timestamp/index.js +2 -2
  218. package/dist/{Timestamp-DiPZTa4W.js → Timestamp-rYC8mE3r.js} +20 -12
  219. package/dist/Toast/index.js +1 -1
  220. package/dist/{Toast-kV5KuJdD.js → Toast-BtQ-4Y6Z.js} +3 -3
  221. package/dist/ToggleButton/index.d.ts +1 -1
  222. package/dist/ToggleButton/index.js +1 -1
  223. package/dist/{ToggleButton-DZ3n-izd.js → ToggleButton-DTrNL430.js} +1 -1
  224. package/dist/Token/index.d.ts +1 -1
  225. package/dist/Tokenizer/index.js +1 -1
  226. package/dist/{Tokenizer-e8BisAF8.js → Tokenizer-DdddkJb1.js} +6 -5
  227. package/dist/Toolbar/index.d.ts +1 -1
  228. package/dist/Toolbar/index.js +1 -1
  229. package/dist/{Toolbar-B4Vltu-j.js → Toolbar-DSWH8ll4.js} +25 -2
  230. package/dist/Tooltip/index.js +2 -2
  231. package/dist/{Tooltip-CPyoc4cM.js → Tooltip-CByjfHBZ.js} +1 -1
  232. package/dist/TopNav/index.d.ts +1 -1
  233. package/dist/TopNav/index.js +1 -1
  234. package/dist/{TopNav-OOGD2uOp.js → TopNav-C1wpttKX.js} +168 -61
  235. package/dist/TreeList/index.js +1 -1
  236. package/dist/{TreeList-DJQvL5tG.js → TreeList-DOAcS3PM.js} +1 -1
  237. package/dist/Typeahead/index.js +2 -2
  238. package/dist/{Typeahead--CFFYPMl.js → Typeahead-6y_r-VNU.js} +6 -6
  239. package/dist/adaptationTypes-Beao49TN.js +19 -0
  240. package/dist/{assertOptions-DLEhkmM-.js → assertOptions-og3t30Fh.js} +2 -1
  241. package/dist/calendar-C7py_wtb.js +351 -0
  242. package/dist/calendarFormat-_CEZIMZG.js +123 -0
  243. package/dist/closeOnActivate-D1KgKWwm.js +13 -0
  244. package/dist/{componentIcons-CFr2L6o3.js → componentIcons-BBJqmilP.js} +1 -1
  245. package/dist/composables/index.js +11 -11
  246. package/dist/{composables-DSx0MWv0.js → composables-COCeg92e.js} +2 -2
  247. package/dist/context-Cws_tXTr.js +7 -0
  248. package/dist/{context-CjX2RSDn.js → context-D-Hwh-Jf.js} +1 -1
  249. package/dist/context-D8MAZio1.js +7 -0
  250. package/dist/{date-input-rUD8YAow.js → date-input-CRdc2H3c.js} +6 -2
  251. package/dist/focusLeaving-Dqm8Yj4T.js +53 -0
  252. package/dist/{focusReturn-CiSQAp52.js → focusReturn-C1cFL3WM.js} +1 -1
  253. package/dist/{format-mffyPc-L.js → format-6G9QuGy1.js} +12 -4
  254. package/dist/{formatInstant-BDWUIxS7.js → formatInstant-CjCwl6JS.js} +8 -6
  255. package/dist/{index-PffxihMx.d.ts → index-B3U6GJKl.d.ts} +2 -2
  256. package/dist/{index-DSoQE84m.d.ts → index-B5MCvW75.d.ts} +229 -57
  257. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  258. package/dist/{index-C3FgFPrM.d.ts → index-BDJQW9cW.d.ts} +10 -10
  259. package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
  260. package/dist/{index-BTljzczH.d.ts → index-C-kIxNCq.d.ts} +8 -11
  261. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  262. package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
  263. package/dist/{index-FeZXsFO-.d.ts → index-CBOv5j3c.d.ts} +3 -3
  264. package/dist/{index-DFLPv9io.d.ts → index-CP-fJFcJ.d.ts} +1 -1
  265. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  266. package/dist/{index-BdZCLUgY.d.ts → index-CnVjgLP5.d.ts} +9 -1
  267. package/dist/{index-DB1EP38S.d.ts → index-CpLLSVCn.d.ts} +8 -6
  268. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  269. package/dist/{index-B1eCxBCY.d.ts → index-DCyYldjP.d.ts} +7 -1
  270. package/dist/{index-B8K2sDmO.d.ts → index-DXHmlFcC.d.ts} +2 -2
  271. package/dist/{index-fd--aE4B.d.ts → index-DbNGGCM0.d.ts} +4 -3
  272. package/dist/{index-BOzyKBg8.d.ts → index-Dc6mU3rv.d.ts} +3 -3
  273. package/dist/{index-BL4mH8aK.d.ts → index-NOxH5oYj.d.ts} +4 -3
  274. package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
  275. package/dist/{index-CNzSg1OM.d.ts → index-SRA6e30Q.d.ts} +5 -5
  276. package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
  277. package/dist/{index-Dge6tyPE.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  278. package/dist/{index-BZNoML0r.d.ts → index-ZT45ZWd5.d.ts} +7 -7
  279. package/dist/{index-CQ-sq76o.d.ts → index-_FjbcSgD.d.ts} +8 -2
  280. package/dist/{index-fz8XqpNd.d.ts → index-beOIC0Qk.d.ts} +13 -0
  281. package/dist/{index-DFTrqCmp.d.ts → index-nk2xIHpr.d.ts} +1 -1
  282. package/dist/index.d.ts +31 -31
  283. package/dist/index.js +117 -116
  284. package/dist/inputPresentation-DES0JwkL.js +203 -0
  285. package/dist/interactionModality-CedLz5PC.js +130 -0
  286. package/dist/{interactionModality-JFDvbtbb.js → layerDepth-D3Rh8T5C.js} +1 -125
  287. package/dist/{layerFocusReturn-DJ5mlqYj.js → layerFocusReturn-KvH6DMFT.js} +1 -1
  288. package/dist/{loadCatalog-DsEKSY3U.js → loadCatalog-BeQt6Uq-.js} +9 -1
  289. package/dist/{loadCatalog-C4h9SmJs.d.ts → loadCatalog-C8mRnC0E.d.ts} +5 -1
  290. package/dist/locale/index.d.ts +4 -4
  291. package/dist/locale/index.js +4 -4
  292. package/dist/{locale-C-Y-13BP.js → locale-B4FpGKpc.js} +6 -2
  293. package/dist/{dateParser-BKoaawL9.js → plainDate-CaTDErKr.js} +1 -132
  294. package/dist/{power-search-CqcsJT1F.d.ts → power-search-CuMzfLwW.d.ts} +13 -1
  295. package/dist/resizableChannel-LElsNkSY.js +33 -0
  296. package/dist/{stillPointerGate-BTISispN.js → stillPointerGate-1Tgkns0J.js} +1 -1
  297. package/dist/{themeIcons-CqGF0fwW.js → themeIcons-1O7ymucc.js} +1 -7
  298. package/dist/{tooltipFocusRules-DPsyi9L5.js → tooltipFocusRules-vIH7PZh1.js} +3 -2
  299. package/dist/{tooltipTriggerRules-Dazz57_v.js → tooltipTriggerRules-DoBAbfGc.js} +1 -1
  300. package/dist/{triggerVariant-BDVvyLtv.js → triggerVariant-DG0VhG-X.js} +1 -1
  301. package/dist/useCalendarGrid-0WvxbeFC.js +179 -0
  302. package/dist/{useCombobox-DTDT9dRx.js → useCombobox-BqkTY3bw.js} +1 -1
  303. package/dist/{useDismiss-N66C48zd.js → useDismiss-CMIsdIOQ.js} +1 -1
  304. package/dist/{useFocusTrap-DzspshsM.js → useFocusTrap-DTz_d7IP.js} +3 -2
  305. package/dist/{useIndicator--9mGGlT2.js → useIndicator-PFDBNOvX.js} +2 -2
  306. package/dist/{useInputStatusIcon-D1WRYTOZ.js → useInputStatusIcon-CrgeMzrf.js} +2 -2
  307. package/dist/{useMenuDrillIn-RZwY55RM.js → useMenuDrillIn-f3m-59Qb.js} +1 -1
  308. package/dist/{useMenuPress-Cm7LVmHJ.js → useMenuPress-wqRDvUMW.js} +2 -2
  309. package/dist/{useResizable-C9FtmPir.js → useResizable-hv4NYIUi.js} +6 -3
  310. package/dist/{useRestoreFocus-CEbfcwWb.js → useRestoreFocus-BxooFhas.js} +2 -2
  311. package/dist/{useTooltip-BfOruqIL.js → useTooltip-BwqzEtoF.js} +5 -5
  312. package/dist/{useTouchTriggerInternal-TQnpDkL0.js → useTouchTriggerInternal-Bdm_M4aa.js} +2 -1
  313. package/dist/{useTruncationTooltip-CbzoB-1m.js → useTruncationTooltip-CRhoPzeu.js} +4 -4
  314. package/dist/{useTypeahead-BGmDZyPB.js → useTypeahead-BGpvWkzm.js} +1 -1
  315. package/dist/{useTypeaheadMenuConfig-BZaduAP4.js → useTypeaheadMenuConfig-GvdIymRg.js} +2 -2
  316. package/dist/utils/index.d.ts +1 -1
  317. package/dist/utils/index.js +2 -2
  318. package/package.json +1 -1
  319. package/reset.css +0 -19
  320. package/styles/app-shell.css +118 -1
  321. package/styles/aspect-ratio.css +4 -3
  322. package/styles/breadcrumbs.css +1 -0
  323. package/styles/collapsible.css +1 -0
  324. package/styles/layout.css +22 -5
  325. package/styles/nav-item.css +9 -3
  326. package/styles/nav-menu.css +3 -0
  327. package/styles/pagination.css +2 -2
  328. package/styles/resize-handle.css +64 -35
  329. package/styles/scrollable-area.css +13 -0
  330. package/styles/tab-list.css +7 -3
  331. package/styles/tab-menu.css +1 -0
  332. package/styles/toolbar.css +39 -3
  333. package/styles/top-nav.css +141 -11
  334. package/dist/inputPresentation-BOyHkCDr.js +0 -62
  335. package/dist/resizableChannel-3vivrEcT.js +0 -20
  336. package/dist/{index-5FGt4HsB.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,10 +1,14 @@
1
+ import { n as useLinkComponent } from "./context-C_peZbXf.js";
1
2
  import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
3
+ import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
2
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.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-sGqS3qNy.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-D6yzPO5O.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-PffxihMx.js";
2
+ import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-B3U6GJKl.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-Bhi0b1x0.js";
1
+ import { n as usePopover, t as _sfc_main } from "../Popover-DpR4rwiW.js";
2
2
  export { _sfc_main as Popover, usePopover };
@@ -1,14 +1,14 @@
1
- import { t as _sfc_main$1 } from "./Button-CQAjaQa0.js";
1
+ import { t as _sfc_main$1 } from "./Button-TiYG0btL.js";
2
2
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
3
- import { t as useDismiss } from "./useDismiss-N66C48zd.js";
4
- import { n as useLayer } from "./tooltipTriggerRules-Dazz57_v.js";
5
- import { t as _sfc_main$2 } from "./LayerContentBoundary-lxUfJk2v.js";
3
+ import { t as useDismiss } from "./useDismiss-CMIsdIOQ.js";
4
+ import { n as useLayer } from "./tooltipTriggerRules-DoBAbfGc.js";
5
+ import { t as _sfc_main$2 } from "./LayerContentBoundary-LCQLyxBT.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-DzspshsM.js";
8
+ import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.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-DJ5mlqYj.js";
11
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-KvH6DMFT.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-DB1EP38S.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-CpLLSVCn.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-B13bgXSs.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-CewQJzEt.js";
2
2
  export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };