@astryx-vue/core 0.22.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 (343) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-VD9PadlM.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-C4XGguw0.js → AppShell-Cmu6bMY6.js} +63 -23
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-CAweS1WY.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-DnK7bKAb.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-CM0-eaUF.js → BottomSheet-DyJJtZZU.js} +5 -5
  15. package/dist/{BottomSheet-C4OU3mJT.js → BottomSheet-ZOjuZya0.js} +3 -3
  16. package/dist/Breadcrumbs/index.js +2 -2
  17. package/dist/{Breadcrumbs-DZAgtC9c.js → Breadcrumbs-mlCoLtma.js} +2 -2
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-Blnc0yB3.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-CB4Iap-B.js → Carousel-DsXup1mZ.js} +2 -2
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-DjJPQ9bX.js → Chat-DqYT_S9M.js} +7 -6
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-CGTPmOHs.js → CheckboxInput-BNwTTDHu.js} +3 -3
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxList-CGzHkA95.js → CheckboxList-BLY16jPG.js} +3 -3
  41. package/dist/Citation/index.js +1 -1
  42. package/dist/{Citation-CSgRYxGU.js → Citation-Ijf06x0V.js} +1 -1
  43. package/dist/ClickableCard/index.d.ts +1 -1
  44. package/dist/ClickableCard/index.js +1 -1
  45. package/dist/{ClickableCard-DMX5z-QV.js → ClickableCard-CVQ7XS4L.js} +1 -1
  46. package/dist/Code/index.d.ts +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-CwQCMSKA.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.d.ts +1 -1
  53. package/dist/CommandPalette/index.js +1 -1
  54. package/dist/{CommandPalette-DBOETNGM.js → CommandPalette-B2riNg_7.js} +3 -3
  55. package/dist/ComplexSelector/index.d.ts +1 -1
  56. package/dist/ComplexSelector/index.js +1 -1
  57. package/dist/{ComplexSelector-CNBH2t6W.js → ComplexSelector-CVCIsgAU.js} +4 -4
  58. package/dist/{ComponentIcon-BRXBBKeG.js → ComponentIcon-Dw4xQxg3.js} +3 -3
  59. package/dist/ContextMenu/index.d.ts +1 -1
  60. package/dist/ContextMenu/index.js +2 -2
  61. package/dist/{ContextMenu-CUwAPrVP.js → ContextMenu-DYLdP-Ok.js} +7 -7
  62. package/dist/DateInput/index.d.ts +1 -1
  63. package/dist/DateInput/index.js +1 -1
  64. package/dist/{DateInput-BQ-3bvV5.js → DateInput-D9Jv70H7.js} +1210 -108
  65. package/dist/DateRangeInput/index.d.ts +1 -1
  66. package/dist/DateRangeInput/index.js +1 -1
  67. package/dist/{DateRangeInput-DFXz4vNX.js → DateRangeInput-BsB2kg_q.js} +75 -55
  68. package/dist/DateTimeInput/index.d.ts +1 -1
  69. package/dist/DateTimeInput/index.js +1 -1
  70. package/dist/{DateTimeInput-BHO4nXKW.js → DateTimeInput-BDyKPKGD.js} +26 -13
  71. package/dist/Dialog/index.d.ts +1 -1
  72. package/dist/Dialog/index.js +3 -3
  73. package/dist/{Dialog-Dx6zuttb.js → Dialog-DUlWQH8R.js} +1 -1
  74. package/dist/{Dialog-BCPhWMxL.js → Dialog-JCB5s-T-.js} +4 -4
  75. package/dist/{DialogHeader-C9fp2Rti.js → DialogHeader-C6hZZxdv.js} +3 -3
  76. package/dist/Divider/index.d.ts +1 -1
  77. package/dist/Drawer/index.d.ts +1 -1
  78. package/dist/Drawer/index.js +1 -1
  79. package/dist/{Drawer--2vLSKY_.js → Drawer-BDuiw1-g.js} +2 -2
  80. package/dist/DropdownMenu/index.js +3 -3
  81. package/dist/{DropdownMenu-CskkQAAz.js → DropdownMenu-BVEOMFwc.js} +9 -9
  82. package/dist/{DropdownMenu-BImEVieZ.js → DropdownMenu-PjqSkkQs.js} +6 -6
  83. package/dist/EmptyState/index.js +1 -1
  84. package/dist/{EmptyState-Dq3NWNnG.js → EmptyState-CnFkYtcS.js} +3 -3
  85. package/dist/Field/index.js +3 -3
  86. package/dist/{Field-DsucLkyQ.js → Field-D4UmRHlD.js} +2 -2
  87. package/dist/{FieldIcon-DMtfe1Ne.js → FieldIcon-BU1ZWAuo.js} +1 -1
  88. package/dist/{FieldInfoTip-1zW3QTQG.js → FieldInfoTip-BSqcEcUx.js} +2 -2
  89. package/dist/{FieldLabel-D9uFPtXs.js → FieldLabel-CZbayYFD.js} +2 -2
  90. package/dist/FieldStatus/index.js +1 -1
  91. package/dist/{FieldStatus-DSUCli4W.js → FieldStatus-DmCWPT6U.js} +1 -1
  92. package/dist/FileInput/index.d.ts +1 -1
  93. package/dist/FileInput/index.js +1 -1
  94. package/dist/{FileInput-DLtHinlh.js → FileInput-8oYiJsq_.js} +4 -4
  95. package/dist/Grid/index.d.ts +1 -1
  96. package/dist/Grid/index.js +1 -1
  97. package/dist/{Grid-C0mp7fha.js → Grid-DTnDDT0Q.js} +2 -2
  98. package/dist/Heading/index.d.ts +1 -1
  99. package/dist/Heading/index.js +1 -1
  100. package/dist/{Heading-DBBChghq.js → Heading-COtyAhtB.js} +1 -1
  101. package/dist/HoverCard/index.d.ts +1 -1
  102. package/dist/HoverCard/index.js +1 -1
  103. package/dist/{HoverCard-BW-bOUZI.js → HoverCard-DGlOpk4x.js} +4 -4
  104. package/dist/Icon/index.js +3 -3
  105. package/dist/{Icon-BCHo7W0x.js → Icon-Dk0jccgU.js} +2 -1
  106. package/dist/{Icon-B2aULLnn.js → Icon-M1Rlknd0.js} +2 -1
  107. package/dist/IconButton/index.js +1 -1
  108. package/dist/{IconButton-CIUbkA8_.js → IconButton-CwjHTIBg.js} +1 -1
  109. package/dist/Indicator/index.js +1 -1
  110. package/dist/InfoTip/index.d.ts +1 -1
  111. package/dist/InfoTip/index.js +1 -1
  112. package/dist/{InfoTip-C71T8lv_.js → InfoTip-CNZateDb.js} +2 -2
  113. package/dist/{InputClearButton-h0BxBXu1.js → InputClearButton-CzCP41sx.js} +2 -2
  114. package/dist/InputGroup/index.js +1 -1
  115. package/dist/{InputGroup-DHPTru5v.js → InputGroup-CfUGHDNz.js} +1 -1
  116. package/dist/InternationalizationProvider/index.d.ts +1 -1
  117. package/dist/InternationalizationProvider/index.js +1 -1
  118. package/dist/{InternationalizationProvider-Ddo_-tLK.js → InternationalizationProvider-DaZS5Dch.js} +5 -2
  119. package/dist/{LayerContentBoundary-DxeAFxNJ.js → LayerContentBoundary-LCQLyxBT.js} +1 -1
  120. package/dist/Layout/index.d.ts +1 -1
  121. package/dist/Layout/index.js +2 -2
  122. package/dist/{Layout-DP2vrvTv.js → Layout-DOIeCgs4.js} +2 -2
  123. package/dist/{LayoutPanel-DuroKU_A.js → LayoutPanel-C7Wsid2W.js} +34 -14
  124. package/dist/Lightbox/index.js +1 -1
  125. package/dist/{Lightbox-B3WP06Qt.js → Lightbox-Dzzd2Vqe.js} +4 -4
  126. package/dist/Link/index.d.ts +1 -1
  127. package/dist/Link/index.js +1 -1
  128. package/dist/{Link-CQK9d_Yf.js → Link-B7OJQ0zl.js} +2 -2
  129. package/dist/List/index.d.ts +1 -1
  130. package/dist/Markdown/index.d.ts +1 -1
  131. package/dist/Markdown/index.js +1 -1
  132. package/dist/{Markdown-BVXFWJT0.js → Markdown-Cbj-nqhN.js} +4 -4
  133. package/dist/{MediaTheme-DfcdEWx-.js → MediaTheme-UM8oOqwX.js} +1 -1
  134. package/dist/MobileNav/index.js +1 -1
  135. package/dist/{MobileNavToggle-DGZPwsf9.js → MobileNavToggle-BlcdCg8M.js} +3 -3
  136. package/dist/MoreMenu/index.d.ts +1 -1
  137. package/dist/MoreMenu/index.js +1 -1
  138. package/dist/{MoreMenu-Q_KpDTNB.js → MoreMenu-DAhOiau3.js} +5 -5
  139. package/dist/MultiSelector/index.d.ts +1 -1
  140. package/dist/MultiSelector/index.js +1 -1
  141. package/dist/{MultiSelector-CzGsdjcl.js → MultiSelector-ERv5u6r4.js} +11 -10
  142. package/dist/{NavDisclosure-DIYayUrP.js → NavDisclosure-CqAThYgR.js} +1 -1
  143. package/dist/{NavHeadingSurface-bFcFpeMI.js → NavHeadingSurface-DJ4pWvEi.js} +2 -2
  144. package/dist/NavItem/index.d.ts +1 -1
  145. package/dist/NavMenu/index.js +3 -3
  146. package/dist/{NavMenu-DYvMKPU_.js → NavMenu-BtA_Xbmr.js} +3 -3
  147. package/dist/{NavMenuItem-Ccix-agv.js → NavMenuItem-BxfjAf1T.js} +2 -2
  148. package/dist/NumberInput/index.d.ts +1 -1
  149. package/dist/NumberInput/index.js +1 -1
  150. package/dist/{NumberInput-DTksMfSU.js → NumberInput-Bl5TFhGD.js} +5 -5
  151. package/dist/OverflowList/index.d.ts +1 -1
  152. package/dist/OverflowList/index.js +1 -1
  153. package/dist/{OverflowList-DKM7TeUs.js → OverflowList-CumJl6X_.js} +2 -2
  154. package/dist/Pagination/index.d.ts +1 -1
  155. package/dist/Pagination/index.js +1 -1
  156. package/dist/{Pagination-B-O21ut1.js → Pagination-DuTUReOl.js} +2 -2
  157. package/dist/Popover/index.d.ts +1 -1
  158. package/dist/Popover/index.js +1 -1
  159. package/dist/{Popover-BtfsoxXC.js → Popover-DpR4rwiW.js} +6 -6
  160. package/dist/PowerSearch/index.d.ts +1 -1
  161. package/dist/PowerSearch/index.js +1 -1
  162. package/dist/{PowerSearch-CniqThU7.js → PowerSearch-CewQJzEt.js} +34 -33
  163. package/dist/ProgressBar/index.d.ts +1 -1
  164. package/dist/ProgressBar/index.js +1 -1
  165. package/dist/{ProgressBar-DOusesCL.js → ProgressBar-Dp-0xquN.js} +1 -1
  166. package/dist/Radio/index.d.ts +1 -1
  167. package/dist/Radio/index.js +1 -1
  168. package/dist/{RadioGroup-CRwMwMw4.js → RadioGroup-DrCL5-AN.js} +3 -3
  169. package/dist/RadioList/index.d.ts +1 -1
  170. package/dist/RadioList/index.js +1 -1
  171. package/dist/{RadioList-PUlENMq5.js → RadioList-CRi4E1zq.js} +1 -1
  172. package/dist/Resizable/index.d.ts +1 -1
  173. package/dist/Resizable/index.js +1 -1
  174. package/dist/{ResizeHandle-4-krI-cQ.js → ResizeHandle-BMSbAFdP.js} +43 -27
  175. package/dist/ScrollableArea/index.d.ts +1 -1
  176. package/dist/SegmentedControl/index.d.ts +1 -1
  177. package/dist/SelectableCard/index.d.ts +1 -1
  178. package/dist/SelectableCard/index.js +1 -1
  179. package/dist/{SelectableCard-DUTtyApJ.js → SelectableCard-Dp-LsEcf.js} +1 -1
  180. package/dist/Selector/index.d.ts +1 -1
  181. package/dist/Selector/index.js +1 -1
  182. package/dist/{Selector-Qs1rFiI6.js → Selector-D6yzPO5O.js} +9 -9
  183. package/dist/SideNav/index.d.ts +1 -1
  184. package/dist/SideNav/index.js +1 -1
  185. package/dist/{SideNav-BUfUwE2P.js → SideNav-z_6FwEJy.js} +8 -58
  186. package/dist/Slider/index.js +1 -1
  187. package/dist/{Slider-BbiQbyie.js → Slider-DMHlRq7q.js} +2 -2
  188. package/dist/StatusDot/index.js +1 -1
  189. package/dist/{StatusDot-DhfcDBE7.js → StatusDot-B3oOyRF7.js} +1 -1
  190. package/dist/Stepper/index.d.ts +1 -1
  191. package/dist/Stepper/index.js +1 -1
  192. package/dist/{Stepper-CQd4YlPC.js → Stepper-CgOdL36_.js} +1 -1
  193. package/dist/Switch/index.d.ts +1 -1
  194. package/dist/Switch/index.js +1 -1
  195. package/dist/{Switch-CMK5bICl.js → Switch-OPRkoPLi.js} +2 -2
  196. package/dist/TabList/index.js +1 -1
  197. package/dist/{TabList-Bd3h7Nj3.js → TabList-FkoypUk0.js} +3 -3
  198. package/dist/Table/index.d.ts +1 -1
  199. package/dist/Table/index.js +1 -1
  200. package/dist/{Table-DN9mo-cQ.js → Table-CCjpL_Ku.js} +16 -16
  201. package/dist/Text/index.d.ts +1 -1
  202. package/dist/Text/index.js +1 -1
  203. package/dist/{Text-Dez23ltM.js → Text-v1ep26uD.js} +1 -1
  204. package/dist/TextArea/index.d.ts +1 -1
  205. package/dist/TextArea/index.js +1 -1
  206. package/dist/{TextArea-BsGUOyDg.js → TextArea-BilHnmSs.js} +5 -5
  207. package/dist/TextInput/index.d.ts +1 -1
  208. package/dist/TextInput/index.js +1 -1
  209. package/dist/{TextInput-DZi0EMh-.js → TextInput-D6tHM2sA.js} +4 -4
  210. package/dist/Theme/index.js +3 -2
  211. package/dist/{Theme-1RJVaRgz.js → Theme-BmTbbiAD.js} +6 -22
  212. package/dist/Thumbnail/index.js +1 -1
  213. package/dist/{Thumbnail-CsmF1HTP.js → Thumbnail-llGdnQM8.js} +3 -3
  214. package/dist/{TimeField-DqOPj5s2.js → TimeField-C5rcoaVu.js} +7 -7
  215. package/dist/TimeInput/index.d.ts +1 -1
  216. package/dist/TimeInput/index.js +1 -1
  217. package/dist/{TimeInput-CA3kXBWB.js → TimeInput-D0N8nwrI.js} +2 -2
  218. package/dist/Timer/index.d.ts +1 -1
  219. package/dist/Timer/index.js +1 -1
  220. package/dist/{Timer-vubjQ88x.js → Timer-65PfuoQ7.js} +1 -1
  221. package/dist/Timestamp/index.d.ts +1 -1
  222. package/dist/Timestamp/index.js +2 -2
  223. package/dist/{Timestamp-Cz_0Ofj4.js → Timestamp-rYC8mE3r.js} +20 -12
  224. package/dist/Toast/index.js +1 -1
  225. package/dist/{Toast-DhJNtBjT.js → Toast-BtQ-4Y6Z.js} +3 -3
  226. package/dist/ToggleButton/index.d.ts +1 -1
  227. package/dist/ToggleButton/index.js +1 -1
  228. package/dist/{ToggleButton-BR_qVBEt.js → ToggleButton-DTrNL430.js} +1 -1
  229. package/dist/Tokenizer/index.d.ts +1 -1
  230. package/dist/Tokenizer/index.js +1 -1
  231. package/dist/{Tokenizer-C3pXgLmC.js → Tokenizer-DdddkJb1.js} +6 -5
  232. package/dist/Toolbar/index.d.ts +1 -1
  233. package/dist/Toolbar/index.js +1 -1
  234. package/dist/{Toolbar-B4Vltu-j.js → Toolbar-DSWH8ll4.js} +25 -2
  235. package/dist/Tooltip/index.d.ts +1 -1
  236. package/dist/Tooltip/index.js +2 -2
  237. package/dist/{Tooltip-BUHvOnE1.js → Tooltip-CByjfHBZ.js} +1 -1
  238. package/dist/TopNav/index.d.ts +1 -1
  239. package/dist/TopNav/index.js +1 -1
  240. package/dist/{TopNav-klsRhS-I.js → TopNav-C1wpttKX.js} +6 -6
  241. package/dist/TreeList/index.d.ts +1 -1
  242. package/dist/TreeList/index.js +1 -1
  243. package/dist/{TreeList-DJQvL5tG.js → TreeList-DOAcS3PM.js} +1 -1
  244. package/dist/Typeahead/index.d.ts +1 -1
  245. package/dist/Typeahead/index.js +2 -2
  246. package/dist/{Typeahead-BaPqX3Ey.js → Typeahead-6y_r-VNU.js} +6 -6
  247. package/dist/adaptationTypes-Beao49TN.js +19 -0
  248. package/dist/{assertOptions-DF9pum-3.js → assertOptions-og3t30Fh.js} +2 -1
  249. package/dist/calendar-C7py_wtb.js +351 -0
  250. package/dist/calendarFormat-_CEZIMZG.js +123 -0
  251. package/dist/{componentIcons-CFr2L6o3.js → componentIcons-BBJqmilP.js} +1 -1
  252. package/dist/composables/index.js +11 -11
  253. package/dist/{composables-BDWdSCwe.js → composables-COCeg92e.js} +2 -2
  254. package/dist/context-Cws_tXTr.js +7 -0
  255. package/dist/{context-CjX2RSDn.js → context-D-Hwh-Jf.js} +1 -1
  256. package/dist/{date-input-rUD8YAow.js → date-input-CRdc2H3c.js} +6 -2
  257. package/dist/focusLeaving-Dqm8Yj4T.js +53 -0
  258. package/dist/{focusReturn-CsEp47Wa.js → focusReturn-C1cFL3WM.js} +1 -1
  259. package/dist/{format-mffyPc-L.js → format-6G9QuGy1.js} +12 -4
  260. package/dist/{formatInstant-BDWUIxS7.js → formatInstant-CjCwl6JS.js} +8 -6
  261. package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
  262. package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
  263. package/dist/{index-BmXk_doE.d.ts → index-B3U6GJKl.d.ts} +2 -2
  264. package/dist/{index-CAKT4Kkz.d.ts → index-B5MCvW75.d.ts} +230 -72
  265. package/dist/{index-Qdbssopn.d.ts → index-B6svLvfZ.d.ts} +1 -1
  266. package/dist/{index-C3FgFPrM.d.ts → index-BDJQW9cW.d.ts} +10 -10
  267. package/dist/{index-BvW0tiei.d.ts → index-BJputYk6.d.ts} +4 -4
  268. package/dist/{index-YKCx03zD.d.ts → index-BaFphczL.d.ts} +2 -2
  269. package/dist/{index-BTljzczH.d.ts → index-C-kIxNCq.d.ts} +8 -11
  270. package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
  271. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  272. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  273. package/dist/{index-DDrL_-hJ.d.ts → index-CBOv5j3c.d.ts} +2 -2
  274. package/dist/{index-BOCb89V9.d.ts → index-CP-fJFcJ.d.ts} +3 -3
  275. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  276. package/dist/{index-DofC9Rll.d.ts → index-Cb-rvc1W.d.ts} +1 -1
  277. package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
  278. package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
  279. package/dist/{index-BdZCLUgY.d.ts → index-CnVjgLP5.d.ts} +9 -1
  280. package/dist/{index-CG3fD4hw.d.ts → index-CpLLSVCn.d.ts} +7 -5
  281. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  282. package/dist/{index-B1eCxBCY.d.ts → index-DCyYldjP.d.ts} +7 -1
  283. package/dist/{index-BrMtj1lT.d.ts → index-DGXCnzOL.d.ts} +4 -4
  284. package/dist/{index-BhxqUt3y.d.ts → index-DXHmlFcC.d.ts} +4 -4
  285. package/dist/{index-fd--aE4B.d.ts → index-DbNGGCM0.d.ts} +4 -3
  286. package/dist/{index--CtH4lQr.d.ts → index-Dc6mU3rv.d.ts} +6 -6
  287. package/dist/{index-DYabo8TI.d.ts → index-MvrDMqnQ.d.ts} +1 -1
  288. package/dist/{index-DMN_JVEt.d.ts → index-NOxH5oYj.d.ts} +3 -2
  289. package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
  290. package/dist/{index-BkxWKIV_.d.ts → index-SRA6e30Q.d.ts} +8 -8
  291. package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
  292. package/dist/{index-DIw5D3zj.d.ts → index-ZKBj_1nu.d.ts} +2 -2
  293. package/dist/{index-D0MA9x_i.d.ts → index-ZT45ZWd5.d.ts} +8 -8
  294. package/dist/{index-CQ-sq76o.d.ts → index-_FjbcSgD.d.ts} +8 -2
  295. package/dist/{index-DogWVRJi.d.ts → index-beOIC0Qk.d.ts} +2 -2
  296. package/dist/{index-rzkX36wM.d.ts → index-nk2xIHpr.d.ts} +3 -3
  297. package/dist/index.d.ts +39 -39
  298. package/dist/index.js +117 -116
  299. package/dist/inputPresentation-DES0JwkL.js +203 -0
  300. package/dist/interactionModality-CedLz5PC.js +130 -0
  301. package/dist/{interactionModality-CyU67ucP.js → layerDepth-D3Rh8T5C.js} +1 -130
  302. package/dist/{layerFocusReturn-BeCsk_4F.js → layerFocusReturn-KvH6DMFT.js} +1 -1
  303. package/dist/{loadCatalog-DsEKSY3U.js → loadCatalog-BeQt6Uq-.js} +9 -1
  304. package/dist/{loadCatalog-C4h9SmJs.d.ts → loadCatalog-C8mRnC0E.d.ts} +5 -1
  305. package/dist/locale/index.d.ts +4 -4
  306. package/dist/locale/index.js +4 -4
  307. package/dist/{locale-C-Y-13BP.js → locale-B4FpGKpc.js} +6 -2
  308. package/dist/{dateParser-BKoaawL9.js → plainDate-CaTDErKr.js} +1 -132
  309. package/dist/{power-search-CqcsJT1F.d.ts → power-search-CuMzfLwW.d.ts} +13 -1
  310. package/dist/resizableChannel-LElsNkSY.js +33 -0
  311. package/dist/{stillPointerGate-BX4vr5M-.js → stillPointerGate-1Tgkns0J.js} +1 -1
  312. package/dist/{themeIcons-CqGF0fwW.js → themeIcons-1O7ymucc.js} +1 -7
  313. package/dist/{tooltipFocusRules-BnZ1zwAm.js → tooltipFocusRules-vIH7PZh1.js} +3 -2
  314. package/dist/{tooltipTriggerRules-BLBEkBcK.js → tooltipTriggerRules-DoBAbfGc.js} +1 -1
  315. package/dist/{triggerVariant-BDVvyLtv.js → triggerVariant-DG0VhG-X.js} +1 -1
  316. package/dist/useCalendarGrid-0WvxbeFC.js +179 -0
  317. package/dist/{useCombobox-DcBbaWYj.js → useCombobox-BqkTY3bw.js} +1 -1
  318. package/dist/{useDismiss-C1dyveme.js → useDismiss-CMIsdIOQ.js} +1 -1
  319. package/dist/{useFocusTrap-DAKJJP0Z.js → useFocusTrap-DTz_d7IP.js} +3 -2
  320. package/dist/{useIndicator--9mGGlT2.js → useIndicator-PFDBNOvX.js} +2 -2
  321. package/dist/{useInputStatusIcon-BDWAijXe.js → useInputStatusIcon-CrgeMzrf.js} +2 -2
  322. package/dist/{useMenuDrillIn-RZwY55RM.js → useMenuDrillIn-f3m-59Qb.js} +1 -1
  323. package/dist/{useMenuPress-3203ryBY.js → useMenuPress-wqRDvUMW.js} +2 -2
  324. package/dist/{useResizable-wZU54yCO.js → useResizable-hv4NYIUi.js} +6 -3
  325. package/dist/{useRestoreFocus-v8-FFcQQ.js → useRestoreFocus-BxooFhas.js} +2 -2
  326. package/dist/{useTooltip-0_wOd0e5.js → useTooltip-BwqzEtoF.js} +5 -5
  327. package/dist/{useTouchTriggerInternal-DwzthF8T.js → useTouchTriggerInternal-Bdm_M4aa.js} +2 -1
  328. package/dist/{useTruncationTooltip-BDIe7-ya.js → useTruncationTooltip-CRhoPzeu.js} +4 -4
  329. package/dist/{useTypeahead-BlqvS9x9.js → useTypeahead-BGpvWkzm.js} +1 -1
  330. package/dist/{useTypeaheadMenuConfig-CIf9Ep57.js → useTypeaheadMenuConfig-GvdIymRg.js} +2 -2
  331. package/dist/utils/index.d.ts +1 -1
  332. package/dist/utils/index.js +2 -2
  333. package/package.json +1 -1
  334. package/reset.css +0 -19
  335. package/styles/app-shell.css +88 -7
  336. package/styles/aspect-ratio.css +4 -3
  337. package/styles/collapsible.css +1 -0
  338. package/styles/layout.css +22 -5
  339. package/styles/resize-handle.css +64 -35
  340. package/styles/scrollable-area.css +13 -0
  341. package/styles/toolbar.css +39 -3
  342. package/dist/inputPresentation-BOyHkCDr.js +0 -62
  343. package/dist/resizableChannel-3vivrEcT.js +0 -20
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-VD9PadlM.js";
1
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-DXOTr1D7.js";
2
2
  export { _sfc_main as AlertDialog, useImperativeAlertDialog };
@@ -1,13 +1,13 @@
1
1
  import { a as pressGroupItemProps } from "./useTouchHitArea-BMDBe36j.js";
2
2
  import { t as useActionGroupTracking } from "./useActionGroupTracking-PVBCtLUE.js";
3
- import { t as _sfc_main$1 } from "./Button-Blnc0yB3.js";
3
+ import { t as _sfc_main$1 } from "./Button-TiYG0btL.js";
4
4
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
5
5
  import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
6
- import { t as _sfc_main$2 } from "./Dialog-BCPhWMxL.js";
7
- import { t as _sfc_main$3 } from "./Heading-DBBChghq.js";
6
+ import { t as _sfc_main$2 } from "./Dialog-JCB5s-T-.js";
7
+ import { t as _sfc_main$3 } from "./Heading-COtyAhtB.js";
8
8
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
9
9
  import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
10
- import { t as _sfc_main$5 } from "./Text-Dez23ltM.js";
10
+ import { t as _sfc_main$5 } from "./Text-v1ep26uD.js";
11
11
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
12
12
  import "../styles/alert-dialog.css";
13
13
  //#region src/AlertDialog/context.ts
@@ -1,2 +1,2 @@
1
- import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-B1eCxBCY.js";
1
+ import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-DCyYldjP.js";
2
2
  export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../AppShell-C4XGguw0.js";
1
+ import { t as _sfc_main } from "../AppShell-Cmu6bMY6.js";
2
2
  export { _sfc_main as AppShell };
@@ -1,3 +1,4 @@
1
+ import { n as themeContextKey } from "./context-Cws_tXTr.js";
1
2
  import { n as createAnimatedLayout } from "./handle-CSHfxBie.js";
2
3
  import { g as layoutStartFor } from "./batch-oTkSbtVz.js";
3
4
  import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-DQPBIsl5.js";
@@ -5,12 +6,14 @@ import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } f
5
6
  import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
6
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
8
  import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
9
+ import { a as layoutSlotsKey, i as layoutDividerKey, n as layoutAreaKey, r as layoutContainerKey, t as emptyLayoutSlots } from "./context-D-Hwh-Jf.js";
8
10
  import { n as observeMainOverflow } from "./useScrollRegionProps-DwkPUb-O.js";
9
- import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-DuroKU_A.js";
11
+ import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-C7Wsid2W.js";
10
12
  import { t as layoutMessages } from "./layout-DhX4-SyE.js";
11
13
  import { t as navMessages } from "./nav-DpKQUHqR.js";
12
- import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-DGZPwsf9.js";
13
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, onMounted, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
14
+ import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-BlcdCg8M.js";
15
+ import { t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
16
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
14
17
  import "../styles/app-shell.css";
15
18
  //#region src/SideNav/SideNavRenderMode.vue
16
19
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
@@ -26,6 +29,35 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
26
29
  }
27
30
  });
28
31
  //#endregion
32
+ //#region src/AppShell/useAppShellMainId.ts
33
+ /** 页面上第一个外层 AppShell 的主区域 id,跳转链接和选择器都认这个。 */
34
+ const MAIN_CONTENT_ID = "astryx-app-shell-main";
35
+ /** 在某个 AppShell 的内容里时为 true:嵌套的壳永远不拿固定 id。 */
36
+ const appShellNestingKey = Symbol("astryx-app-shell-nesting");
37
+ /** 已挂载的外层壳按挂载顺序登记在这里,只在浏览器里变化。 */
38
+ const claims = shallowReactive([]);
39
+ function provideAppShellNesting() {
40
+ provide(appShellNestingKey, true);
41
+ }
42
+ /**
43
+ * 一个 AppShell 主区域用的 id。第一个挂载的外层壳保持固定 id;
44
+ * 嵌套的壳,或在别的壳占着固定 id 时挂载的壳,用自己生成的 id,页面上不会有重复 id。
45
+ * 服务端和首次渲染里,外层壳都用固定 id,挂载后其余的壳再换成自己的。
46
+ */
47
+ function useAppShellMainId() {
48
+ const generated = `${MAIN_CONTENT_ID}-${useId()}`;
49
+ const isNested = inject(appShellNestingKey, false);
50
+ const claim = {};
51
+ onMounted(() => {
52
+ if (!isNested) claims.push(claim);
53
+ });
54
+ onBeforeUnmount(() => {
55
+ const index = claims.indexOf(claim);
56
+ if (index >= 0) claims.splice(index, 1);
57
+ });
58
+ return { mainId: computed(() => !isNested && (claims.length === 0 || claims[0] === claim) ? MAIN_CONTENT_ID : generated) };
59
+ }
60
+ //#endregion
29
61
  //#region src/AppShell/useAppShellRail.ts
30
62
  /** 主内容区旁边的那一列:它的祖先里,父元素同时装着轨道的那一个。滑动移动它,轨道的边骑在它上面。 */
31
63
  function columnOf(main, rail) {
@@ -135,7 +167,6 @@ const _hoisted_5 = ["data-variant"];
135
167
  const _hoisted_6 = ["aria-label"];
136
168
  const _hoisted_7 = ["data-elevated"];
137
169
  const _hoisted_8 = ["id"];
138
- const mainId = "astryx-app-shell-main";
139
170
  const _sfc_main = /*@__PURE__*/ defineComponent({
140
171
  name: "AstryxAppShell",
141
172
  inheritAttrs: false,
@@ -166,26 +197,34 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
166
197
  nav: navMessages
167
198
  });
168
199
  const root = useTemplateRef("root");
200
+ const { mainId } = useAppShellMainId();
201
+ provideAppShellNesting();
202
+ provide(layoutAreaKey, computed(() => null));
203
+ provide(layoutSlotsKey, emptyLayoutSlots);
204
+ provide(layoutDividerKey, computed(() => void 0));
205
+ provide(layoutContainerKey, null);
169
206
  const mobileNavId = `astryx-app-shell-${useId()}`;
170
207
  const uncontrolledOpen = useModel(__props, "mobileNavOpen");
171
208
  __expose({ element: root });
172
- const BREAKPOINTS = {
173
- "sm": 640,
174
- "md": 768,
175
- "lg": 1024,
176
- "xl": 1280,
177
- "2xl": 1536
178
- };
179
- const isBelow = ref(false);
180
- /** 脚本读到窗口之前为 false:服务端渲染出来的整条顶栏可能正显示在手机上。 */
209
+ const theme = inject(themeContextKey, null);
210
+ const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
211
+ /** 断点的像素宽度:主题改过宽度点就跟主题走,否则用标准值。`none` 没有断点。 */
212
+ const breakpointWidth = computed(() => {
213
+ if (breakpoint.value === "none") return null;
214
+ return theme?.value.theme.adaptations?.widthBreakpoints[breakpoint.value] ?? DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value];
215
+ });
216
+ const query = computed(() => `(width < ${breakpointWidth.value ?? 0}px)`);
217
+ /** 正在接管服务端 HTML 时,先按服务端给的提示渲染,挂载后再换成读到的窗口宽度,不让内容重新渲染。 */
218
+ const isHydrating = getCurrentInstance()?.vnode.el != null;
219
+ const serverIsMobile = computed(() => breakpointWidth.value != null && typeof props.mobileNav === "object" && props.mobileNav.defaultIsMobile === true);
220
+ const measuredBelow = ref(false);
221
+ const hasReadWindow = ref(!isHydrating && typeof window !== "undefined");
222
+ /** 脚本读到窗口之前为 false:服务端渲染出来的整条顶栏和侧栏可能正显示在手机上。 */
181
223
  const windowRead = ref(false);
224
+ const isBelow = computed(() => hasReadWindow.value ? measuredBelow.value : serverIsMobile.value);
182
225
  onMounted(() => {
183
226
  windowRead.value = true;
184
- });
185
- const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
186
- const query = computed(() => {
187
- if (breakpoint.value === "none") return "(width < 0px)";
188
- return `(width < ${BREAKPOINTS[breakpoint.value]}px)`;
227
+ hasReadWindow.value = true;
189
228
  });
190
229
  const open = computed({
191
230
  get: () => typeof props.mobileNav === "object" && props.mobileNav.isOpen != null ? props.mobileNav.isOpen : uncontrolledOpen.value,
@@ -200,7 +239,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
200
239
  const mobileEnabled = computed(() => props.mobileNav !== false && (hasTopNav.value || hasSideNav.value) && !hasCustomDrawer.value);
201
240
  /** 读到窗口之前,标准断点下的顶栏用 CSS 先把起始和中间内容在手机上藏起来,和读完窗口后的手机条一致。 */
202
241
  const unreadBreakpoint = computed(() => {
203
- if (windowRead.value || !hasTopNav.value || !mobileEnabled.value || breakpoint.value === "none") return void 0;
242
+ if (windowRead.value || !mobileEnabled.value || breakpoint.value === "none" || breakpointWidth.value !== DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value]) return void 0;
204
243
  return breakpoint.value;
205
244
  });
206
245
  const hasAutoToggle = computed(() => (typeof props.mobileNav !== "object" || props.mobileNav.hasToggle !== false) && !hasCustomDrawer.value);
@@ -211,7 +250,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
211
250
  if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
212
251
  const media = window.matchMedia(value);
213
252
  const update = () => {
214
- isBelow.value = media.matches;
253
+ measuredBelow.value = media.matches;
215
254
  };
216
255
  update();
217
256
  media.addEventListener("change", update);
@@ -284,7 +323,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
284
323
  backdrop: computed(() => backdrop.value)
285
324
  }));
286
325
  function focusMain() {
287
- const main = root.value?.ownerDocument.getElementById(mainId);
326
+ const main = root.value?.ownerDocument.getElementById(mainId.value);
288
327
  if (main == null) return;
289
328
  isMainProgrammaticFocus.value = true;
290
329
  main.focus();
@@ -305,7 +344,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
305
344
  }), [
306
345
  createElementVNode("a", {
307
346
  class: "astryx-app-shell__skip",
308
- href: `#${mainId}`,
347
+ href: `#${unref(mainId)}`,
309
348
  onClick: focusMain
310
349
  }, toDisplayString(unref(messages).layout.skipToContent), 9, _hoisted_2),
311
350
  createVNode(_sfc_main$2, {
@@ -321,7 +360,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
321
360
  ref: backdrop,
322
361
  class: "astryx-app-shell__backdrop"
323
362
  }, null, 512)) : createCommentVNode("v-if", true), createVNode(_sfc_main$3, {
324
- id: mainId,
363
+ id: unref(mainId),
325
364
  ref_key: "content",
326
365
  ref: content,
327
366
  class: "astryx-app-shell__content",
@@ -338,6 +377,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
338
377
  default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
339
378
  _: 3
340
379
  }, 8, [
380
+ "id",
341
381
  "tabindex",
342
382
  "data-scroll-region",
343
383
  "data-programmatic-focus",
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-CAweS1WY.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-dMcn3j8Z.js";
2
2
  export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
@@ -4,7 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
5
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
6
6
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
- import { t as _sfc_main$2 } from "./Tooltip-BUHvOnE1.js";
7
+ import { t as _sfc_main$2 } from "./Tooltip-CByjfHBZ.js";
8
8
  import { t as navMessages } from "./nav-DpKQUHqR.js";
9
9
  import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
10
10
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-CAKT4Kkz.js";
1
+ import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-B5MCvW75.js";
2
2
  export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
@@ -1,2 +1,2 @@
1
- import { Co as BannerSlots, So as BannerProps, bo as BannerContainer, wo as BannerStatus, xo as BannerEmits, yo as _default } from "../index-CAKT4Kkz.js";
1
+ import { Ao as BannerContainer, Mo as BannerProps, No as BannerSlots, Po as BannerStatus, jo as BannerEmits, ko as _default } from "../index-B5MCvW75.js";
2
2
  export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Banner-DnK7bKAb.js";
1
+ import { t as _sfc_main } from "../Banner-CTY9qV89.js";
2
2
  export { _sfc_main as Banner };
@@ -1,6 +1,6 @@
1
1
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
2
- import { t as _sfc_main$1 } from "./FieldIcon-DMtfe1Ne.js";
3
- import { t as _sfc_main$2 } from "./IconButton-CIUbkA8_.js";
2
+ import { t as _sfc_main$1 } from "./FieldIcon-BU1ZWAuo.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-CwjHTIBg.js";
4
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
5
5
  import { t as bannerMessages } from "./banner-Bv76b50U.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-BOCb89V9.js";
1
+ import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-CP-fJFcJ.js";
2
2
  export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
@@ -1,3 +1,3 @@
1
- import { n as _sfc_main } from "../BottomSheet-CM0-eaUF.js";
2
- import { t as _sfc_main$1 } from "../BottomSheet-C4OU3mJT.js";
1
+ import { n as _sfc_main } from "../BottomSheet-DyJJtZZU.js";
2
+ import { t as _sfc_main$1 } from "../BottomSheet-ZOjuZya0.js";
3
3
  export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
@@ -1,12 +1,12 @@
1
1
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
- import { c as provideLayerDepth, d as isTopLayer, l as useLayerDepth, m as isImeKeyEvent, p as pushLayer } from "./interactionModality-CyU67ucP.js";
3
- import { t as focusForLastInput } from "./focusReturn-CsEp47Wa.js";
4
- import { t as useFocusTrap } from "./useFocusTrap-DAKJJP0Z.js";
5
- import { t as useRestoreFocus } from "./useRestoreFocus-v8-FFcQQ.js";
2
+ import { i as isTopLayer, n as useLayerDepth, o as pushLayer, s as isImeKeyEvent, t as provideLayerDepth } from "./layerDepth-D3Rh8T5C.js";
3
+ import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
4
+ import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
5
+ import { t as useRestoreFocus } from "./useRestoreFocus-BxooFhas.js";
6
6
  import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
7
7
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
8
8
  import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
9
- import { i as provideLayoutContainer } from "./context-CjX2RSDn.js";
9
+ import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
11
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
12
12
  import "../styles/bottom-sheet.css";
@@ -1,6 +1,6 @@
1
- import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-CM0-eaUF.js";
2
- import { m as isImeKeyEvent } from "./interactionModality-CyU67ucP.js";
3
- import { t as useFocusTrap } from "./useFocusTrap-DAKJJP0Z.js";
1
+ import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-DyJJtZZU.js";
2
+ import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
3
+ import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
4
4
  import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
5
5
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
6
6
  import "../styles/bottom-sheet.css";
@@ -1,3 +1,3 @@
1
- import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-RZwY55RM.js";
2
- import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-DZAgtC9c.js";
1
+ import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-f3m-59Qb.js";
2
+ import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-mlCoLtma.js";
3
3
  export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
@@ -1,9 +1,9 @@
1
1
  import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
2
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
- import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
3
+ import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
5
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
6
- import { t as _sfc_main$3 } from "./DropdownMenu-CskkQAAz.js";
6
+ import { t as _sfc_main$3 } from "./DropdownMenu-BVEOMFwc.js";
7
7
  import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
8
8
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
@@ -1,3 +1,3 @@
1
1
  import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
2
- import { t as _default } from "../index-BhxqUt3y.js";
2
+ import { t as _default } from "../index-DXHmlFcC.js";
3
3
  export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main } from "../Button-Blnc0yB3.js";
1
+ import { t as _sfc_main } from "../Button-TiYG0btL.js";
2
2
  //#region src/Button/index.ts
3
3
  var Button_default = _sfc_main;
4
4
  //#endregion
@@ -2,15 +2,15 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
2
  import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-BMDBe36j.js";
3
3
  import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
4
4
  import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
5
- import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
5
+ import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
6
6
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
7
7
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
8
8
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
9
9
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
10
10
  import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
11
- import { r as isKeyboardModality } from "./interactionModality-CyU67ucP.js";
12
- import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-BLBEkBcK.js";
13
- import { t as _sfc_main$4 } from "./LayerContentBoundary-DxeAFxNJ.js";
11
+ import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DoBAbfGc.js";
12
+ import { t as _sfc_main$4 } from "./LayerContentBoundary-LCQLyxBT.js";
13
+ import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
14
14
  import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
15
15
  import { t as _sfc_main$6 } from "./ButtonTooltip-CNKOQHYR.js";
16
16
  import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Cgkyk-b7.js";
@@ -1,2 +1,2 @@
1
- import { _o as ButtonGroupSlots, go as ButtonGroupProps, ho as _default, vo as ButtonGroupOrientation } from "../index-CAKT4Kkz.js";
1
+ import { Do as ButtonGroupSlots, Eo as ButtonGroupProps, Oo as ButtonGroupOrientation, To as _default } from "../index-B5MCvW75.js";
2
2
  export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
@@ -1,2 +1,2 @@
1
- import { co as _default, do as CalendarHandleRef, fo as CalendarProps, lo as CalendarEmits, mo as CalendarSlots, po as CalendarRangeValue, uo as CalendarHandle } from "../index-CAKT4Kkz.js";
2
- export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
1
+ import { Co as CalendarRangeValue, So as CalendarProps, _o as useCalendarConstraints, bo as CalendarHandle, co as UseCalendarNavigationOptions, do as CalendarDay, fo as UseCalendarDaysOptions, go as UseCalendarConstraintsReturn, ho as UseCalendarConstraintsOptions, lo as UseCalendarNavigationReturn, mo as useCalendarDays, po as UseCalendarDaysReturn, uo as useCalendarNavigation, vo as _default, wo as CalendarSlots, xo as CalendarHandleRef, yo as CalendarEmits } from "../index-B5MCvW75.js";
2
+ export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
@@ -1,2 +1,3 @@
1
- import { t as _sfc_main } from "../Calendar-ydp0vJdO.js";
2
- export { _sfc_main as Calendar };
1
+ import { a as useCalendarConstraints, t as _sfc_main } from "../Calendar-CUMnYIhe.js";
2
+ import { n as useCalendarDays, t as useCalendarNavigation } from "../Calendar-B6TZYEge.js";
3
+ export { _sfc_main as Calendar, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
@@ -0,0 +1,105 @@
1
+ import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
2
+ import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
3
+ import { F as plainDateToday, N as plainDateToISO, b as plainDateFromISO, p as plainDateAddDays } from "./plainDate-CaTDErKr.js";
4
+ import { a as calendarAddMonths, f as calendarMonthOf, g as calendarYearMonthOf, l as calendarMonthFromYearMonth, n as resolveCalendarSystem } from "./calendar-C7py_wtb.js";
5
+ import { i as standaloneShortWeekdayNames } from "./format-6G9QuGy1.js";
6
+ import { i as formatCalendarMonthLabel } from "./calendarFormat-_CEZIMZG.js";
7
+ import { t as buildMonthWeeks } from "./useCalendarGrid-0WvxbeFC.js";
8
+ import { computed, readonly, shallowRef, toValue } from "vue";
9
+ //#region src/Calendar/useCalendarDays.ts
10
+ /**
11
+ * 一个月的日子格子:这个月的每一天,加上补齐首尾两周的前后月日子,按周分好,再给一行按语言写的星期名。
12
+ * 和 `Calendar` 用的是同一套排法。只返回数据,渲染、选择、键盘和无障碍语义由调用方负责。
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const { weeks, dayNames } = useCalendarDays({ year: 2026, month: 12 })
17
+ * // 波斯历 1405 年阿班月,日期仍是公历
18
+ * useCalendarDays({ year: 1405, month: 8, calendar: 'persian' })
19
+ * ```
20
+ */
21
+ function useCalendarDays(options) {
22
+ const locale = useAstryxLocale();
23
+ const weekStart = computed(() => resolveWeekStart(toValue(options).weekStartsOn));
24
+ const weeks = computed(() => {
25
+ const { year, month, hasVariableRowCount = false } = toValue(options);
26
+ const calendar = resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarDays");
27
+ const calendarMonth = calendarMonthFromYearMonth(calendar, {
28
+ year,
29
+ month
30
+ });
31
+ return buildMonthWeeks(calendar, calendarMonth, weekStart.value, hasVariableRowCount).map((week) => week.days.map((day) => ({
32
+ date: {
33
+ year: day.date.year,
34
+ month: day.date.month,
35
+ day: day.date.day
36
+ },
37
+ iso: day.iso,
38
+ isOutside: day.outside,
39
+ dayNumber: day.day
40
+ })));
41
+ });
42
+ const days = computed(() => weeks.value.flat());
43
+ return {
44
+ days,
45
+ weeks,
46
+ dayNames: computed(() => {
47
+ const names = standaloneShortWeekdayNames(locale.value);
48
+ return Array.from({ length: 7 }, (_, index) => names[(index + weekStart.value) % 7]);
49
+ }),
50
+ totalCells: computed(() => days.value.length)
51
+ };
52
+ }
53
+ //#endregion
54
+ //#region src/Calendar/useCalendarNavigation.ts
55
+ /**
56
+ * 日历的月份导航:当前显示哪个月、上一月和下一月、月份标题,以及键盘跨月时下一个要聚焦的日子。
57
+ * 自己拼日历头、翻页按钮或双月选择器时用。
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const nav = useCalendarNavigation({ initialValue: '2026-01-15', calendar: 'persian' })
62
+ * const { weeks } = useCalendarDays(() => ({ ...nav.visibleCalendarMonths.value[0]!, calendar: 'persian' }))
63
+ * nav.navigateMonth(1)
64
+ * ```
65
+ */
66
+ function useCalendarNavigation(options) {
67
+ const locale = useAstryxLocale();
68
+ const initial = toValue(options);
69
+ const internal = shallowRef(plainDateFromISO(initial.focusDate ?? initial.initialValue ?? plainDateToISO(plainDateToday())));
70
+ const pendingFocus = shallowRef(null);
71
+ const calendar = computed(() => resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarNavigation"));
72
+ const isControlled = () => {
73
+ const { focusDate, onFocusDateChange } = toValue(options);
74
+ return focusDate !== void 0 && onFocusDateChange !== void 0;
75
+ };
76
+ const focusIso = computed(() => isControlled() ? toValue(options).focusDate : plainDateToISO(internal.value));
77
+ const shownMonths = computed(() => {
78
+ const first = calendarMonthOf(calendar.value, plainDateFromISO(focusIso.value));
79
+ return Array.from({ length: toValue(options).numberOfMonths ?? 1 }, (_, index) => calendarAddMonths(calendar.value, first, index));
80
+ });
81
+ const visibleMonths = computed(() => shownMonths.value.map((month) => month.start));
82
+ const baseMonth = computed(() => visibleMonths.value[0]);
83
+ const visibleCalendarMonths = computed(() => shownMonths.value.map((month) => calendarYearMonthOf(calendar.value, month)));
84
+ const monthYearLabel = computed(() => shownMonths.value.map((month) => formatCalendarMonthLabel(calendar.value, month, locale.value)).join(" – "));
85
+ function navigateMonth(delta, focusedDate, offset = 7) {
86
+ const next = calendarAddMonths(calendar.value, shownMonths.value[0], delta).start;
87
+ if (focusedDate) pendingFocus.value = plainDateToISO(plainDateAddDays(plainDateFromISO(focusedDate), delta * offset));
88
+ toValue(options).onFocusDateChange?.(plainDateToISO(next));
89
+ if (!isControlled()) internal.value = next;
90
+ }
91
+ function clearPendingFocus() {
92
+ pendingFocus.value = null;
93
+ }
94
+ return {
95
+ baseMonth,
96
+ visibleMonths,
97
+ visibleCalendarMonths,
98
+ monthYearLabel,
99
+ navigateMonth,
100
+ pendingFocus: readonly(pendingFocus),
101
+ clearPendingFocus
102
+ };
103
+ }
104
+ //#endregion
105
+ export { useCalendarDays as n, useCalendarNavigation as t };