@astryx-vue/core 0.2.2 → 0.2.4

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 (347) hide show
  1. package/THIRD_PARTY_NOTICES.md +4 -0
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-Cb41gIAj.js → AppShell-CeBmB0Q9.js} +2 -2
  6. package/dist/Avatar/index.d.ts +1 -1
  7. package/dist/Avatar/index.js +1 -1
  8. package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
  9. package/dist/AvatarGroup/index.d.ts +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/BottomSheet/index.d.ts +2 -2
  12. package/dist/BottomSheet/index.js +3 -2
  13. package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
  14. package/dist/BottomSheet-o7xw-TOi.js +153 -0
  15. package/dist/Breadcrumbs/index.d.ts +3 -2
  16. package/dist/Breadcrumbs/index.js +3 -2
  17. package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-D6G7f5WL.js} +13 -8
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/ButtonGroup/index.d.ts +1 -1
  20. package/dist/Calendar/index.d.ts +2 -2
  21. package/dist/Calendar/index.js +1 -1
  22. package/dist/Calendar-DmTeM7PO.js +656 -0
  23. package/dist/Carousel/index.js +1 -1
  24. package/dist/{Carousel-X0cuQkvg.js → Carousel-CIKrcA2r.js} +2 -2
  25. package/dist/Chat/index.d.ts +1 -1
  26. package/dist/Chat/index.js +1 -1
  27. package/dist/{Chat-M0tiGrNT.js → Chat-BFox3u9D.js} +3 -3
  28. package/dist/CheckboxIndicator/index.js +1 -1
  29. package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
  30. package/dist/CheckboxInput/index.d.ts +1 -1
  31. package/dist/CheckboxInput/index.js +1 -1
  32. package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
  33. package/dist/CheckboxList/index.d.ts +1 -1
  34. package/dist/CheckboxList/index.js +1 -1
  35. package/dist/{CheckboxList-BbCPiend.js → CheckboxList-BlPf7vPe.js} +78 -25
  36. package/dist/Citation/index.js +1 -1
  37. package/dist/{Citation-C1veUk5p.js → Citation-BG-vg9ia.js} +2 -2
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/Code/index.d.ts +3 -3
  40. package/dist/Code/index.js +4 -4
  41. package/dist/{Code-yb_KOFtJ.js → Code-XnPuGxey.js} +3 -2
  42. package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-B2pnEOJY.js} +146 -16
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
  45. package/dist/CommandPalette/index.js +1 -1
  46. package/dist/{CommandPalette-BArt97V8.js → CommandPalette-DKgHzmJk.js} +10 -10
  47. package/dist/ComplexSelector/index.d.ts +1 -1
  48. package/dist/ComplexSelector/index.js +1 -1
  49. package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-Dv44FFhN.js} +3 -3
  50. package/dist/ContextMenu/index.d.ts +3 -2
  51. package/dist/ContextMenu/index.js +3 -2
  52. package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-BeJO5HYx.js} +206 -423
  53. package/dist/DateInput/index.d.ts +2 -2
  54. package/dist/DateInput/index.js +1 -1
  55. package/dist/DateInput-D4XFAEMp.js +743 -0
  56. package/dist/DateRangeInput/index.d.ts +1 -1
  57. package/dist/DateRangeInput/index.js +1 -1
  58. package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-Cp6AZfew.js} +54 -19
  59. package/dist/DateTimeInput/index.d.ts +1 -1
  60. package/dist/DateTimeInput/index.js +1 -1
  61. package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-B6MPPp76.js} +54 -15
  62. package/dist/Divider/index.d.ts +1 -1
  63. package/dist/DropdownMenu/index.d.ts +3 -3
  64. package/dist/DropdownMenu/index.js +4 -3
  65. package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu--lnUeJEG.js} +309 -64
  66. package/dist/DropdownMenu-6E9jFdFe.js +325 -0
  67. package/dist/DropdownMenuRadioItem.vue-CXEURBcq.d.ts +564 -0
  68. package/dist/EmptyState/index.js +1 -1
  69. package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
  70. package/dist/FileInput/index.d.ts +1 -1
  71. package/dist/FileInput/index.js +1 -1
  72. package/dist/{FileInput-DLO6V12n.js → FileInput-DuNwdbAo.js} +2 -2
  73. package/dist/Grid/index.d.ts +1 -1
  74. package/dist/Heading/index.d.ts +2 -2
  75. package/dist/Heading/index.js +1 -1
  76. package/dist/Heading-B9C3LZlS.js +94 -0
  77. package/dist/Icon/index.d.ts +4 -3
  78. package/dist/Icon/index.js +2 -2
  79. package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
  80. package/dist/Indicator/index.d.ts +3 -0
  81. package/dist/Indicator/index.js +2 -0
  82. package/dist/InputGroup/index.d.ts +2 -2
  83. package/dist/InputGroup/index.js +3 -2
  84. package/dist/InputGroup-BzR6JRZb.js +129 -0
  85. package/dist/Item-DrYJL1TG.js +590 -0
  86. package/dist/Lightbox/index.js +1 -1
  87. package/dist/{Lightbox-CdFCS_EA.js → Lightbox-Br3o0SyQ.js} +2 -2
  88. package/dist/Link/index.d.ts +3 -2
  89. package/dist/Link/index.js +1 -1
  90. package/dist/Link-DCZ6922-.js +196 -0
  91. package/dist/List/index.d.ts +3 -3
  92. package/dist/List/index.js +2 -2
  93. package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
  94. package/dist/Markdown/index.d.ts +2 -2
  95. package/dist/Markdown/index.js +2 -2
  96. package/dist/{Markdown-BqKloI3w.js → Markdown-Bz0R3kNj.js} +280 -33
  97. package/dist/MetadataList/index.js +1 -1
  98. package/dist/{MetadataList-CvZkmisf.js → MetadataList-CFaocx6j.js} +1 -1
  99. package/dist/MobileNav/index.js +1 -1
  100. package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-Dh3uLivq.js} +1 -1
  101. package/dist/MoreMenu/index.d.ts +1 -1
  102. package/dist/MoreMenu/index.js +1 -1
  103. package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B95nRSe8.js} +3 -3
  104. package/dist/MultiSelector/index.d.ts +2 -2
  105. package/dist/MultiSelector/index.js +1 -1
  106. package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-DuF5TECE.js} +304 -122
  107. package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-C6sPZ89n.js} +5 -2
  108. package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
  109. package/dist/NavMenu/index.d.ts +2 -2
  110. package/dist/NavMenu/index.js +4 -3
  111. package/dist/NavMenu-ClIgMaxE.js +176 -0
  112. package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-E7S8gBh-.js} +1 -1
  113. package/dist/NumberInput/index.d.ts +1 -1
  114. package/dist/NumberInput/index.js +1 -1
  115. package/dist/{NumberInput-DjetVB8O.js → NumberInput-B4IL3s_8.js} +1 -1
  116. package/dist/Outline/index.js +1 -1
  117. package/dist/{Outline-Bz9c-u5y.js → Outline-DBUuchi9.js} +1 -1
  118. package/dist/OverflowList/index.d.ts +1 -1
  119. package/dist/OverflowList/index.js +1 -1
  120. package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-aDd_oem0.js} +3 -3
  121. package/dist/Pagination/index.d.ts +1 -1
  122. package/dist/Pagination/index.js +1 -1
  123. package/dist/{Pagination-Cb66HMEf.js → Pagination-CNe9F6Fl.js} +181 -45
  124. package/dist/Popover/index.js +1 -1
  125. package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
  126. package/dist/PowerSearch/index.d.ts +1 -1
  127. package/dist/PowerSearch/index.js +1 -1
  128. package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-C6U8Sq1Y.js} +16 -16
  129. package/dist/ProgressBar/index.d.ts +2 -2
  130. package/dist/ProgressBar/index.js +1 -1
  131. package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
  132. package/dist/Radio/index.d.ts +1 -1
  133. package/dist/Radio/index.js +1 -1
  134. package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
  135. package/dist/RadioList/index.d.ts +1 -1
  136. package/dist/RadioList/index.js +1 -1
  137. package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
  138. package/dist/Resizable/index.js +1 -1
  139. package/dist/{Resizable-D-TBCg0Y.js → ResizeHandle-DYy0e3v9.js} +1 -1
  140. package/dist/ScrollableArea/index.d.ts +1 -1
  141. package/dist/SelectableCard/index.d.ts +1 -1
  142. package/dist/Selector/index.d.ts +2 -2
  143. package/dist/Selector/index.js +1 -1
  144. package/dist/Selector-5N-hq2nF.js +618 -0
  145. package/dist/SideNav/index.d.ts +2 -2
  146. package/dist/SideNav/index.js +1 -1
  147. package/dist/{SideNav-DonEfiAx.js → SideNav-CT9lfspi.js} +226 -230
  148. package/dist/Stepper/index.js +1 -1
  149. package/dist/{Stepper-D2ZIcUNx.js → Stepper-BqhVCgC-.js} +1 -1
  150. package/dist/Switch/index.d.ts +1 -1
  151. package/dist/TabList/index.js +1 -1
  152. package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
  153. package/dist/Table/index.js +1 -1
  154. package/dist/{Table-CrP2Uffq.js → Table-CsdH8fCB.js} +7 -7
  155. package/dist/Text/index.d.ts +3 -3
  156. package/dist/Text/index.js +1 -1
  157. package/dist/Text-DIzZw6FA.js +86 -0
  158. package/dist/TextArea/index.d.ts +1 -1
  159. package/dist/TextInput/index.d.ts +1 -1
  160. package/dist/Theme/index.d.ts +3 -2
  161. package/dist/Theme/index.js +2 -2
  162. package/dist/Theme-CtaUWo4g.js +1246 -0
  163. package/dist/Thumbnail/index.js +1 -1
  164. package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-BnQwX1cQ.js} +3 -3
  165. package/dist/{TimeField-DpHFrNv0.js → TimeField-Biiuv0hB.js} +2 -2
  166. package/dist/TimeInput/index.d.ts +1 -1
  167. package/dist/TimeInput/index.js +1 -1
  168. package/dist/{TimeInput-DJLV0_4z.js → TimeInput-C9gptCOK.js} +1 -1
  169. package/dist/Timer/index.d.ts +1 -1
  170. package/dist/Timer/index.js +1 -1
  171. package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
  172. package/dist/Timestamp/index.d.ts +1 -1
  173. package/dist/Timestamp/index.js +1 -1
  174. package/dist/{Timestamp-GKNjjt5g.js → Timestamp-D7bd_nF3.js} +3 -3
  175. package/dist/ToggleButton/index.d.ts +1 -1
  176. package/dist/Token/index.d.ts +1 -1
  177. package/dist/Token/index.js +1 -1
  178. package/dist/{Token-Chu_eCVs.js → Token-D2GsI_Ei.js} +2 -2
  179. package/dist/Tokenizer/index.d.ts +1 -1
  180. package/dist/Tokenizer/index.js +1 -1
  181. package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-rwzamZg4.js} +4 -4
  182. package/dist/Toolbar/index.d.ts +1 -1
  183. package/dist/Tooltip/index.d.ts +1 -1
  184. package/dist/Tooltip/index.js +1 -1
  185. package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
  186. package/dist/TopNav/index.d.ts +1 -1
  187. package/dist/TopNav/index.js +1 -1
  188. package/dist/{TopNav-CEyWddtA.js → TopNav-arWFLTBM.js} +113 -43
  189. package/dist/TreeList/index.js +1 -1
  190. package/dist/{TreeList-COS8US8e.js → TreeList-C9xvMpJZ.js} +2 -2
  191. package/dist/Typeahead/index.d.ts +2 -2
  192. package/dist/Typeahead/index.js +3 -2
  193. package/dist/Typeahead-_V11btpv.js +499 -0
  194. package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
  195. package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
  196. package/dist/composables/index.d.ts +2 -2
  197. package/dist/composables/index.js +12 -7
  198. package/dist/composables-CWw6t-RJ.js +520 -0
  199. package/dist/{context-CiKncNSH.js → context-CPh7kE-a.js} +140 -18
  200. package/dist/context-Cws_tXTr.js +7 -0
  201. package/dist/context-D5-MwxnN.js +4 -0
  202. package/dist/{index-CJlBAXwj.d.ts → index-12QYAbiz.d.ts} +41 -4
  203. package/dist/{index-Cs5pcwY3.d.ts → index-6yB8BtEu.d.ts} +3 -3
  204. package/dist/{index-C7mxUcDR.d.ts → index-B4OOtNP8.d.ts} +2 -2
  205. package/dist/index-BBtJt5_A.d.ts +26 -0
  206. package/dist/{index-CRizexSC.d.ts → index-BH9PzQ1F.d.ts} +13 -73
  207. package/dist/index-BPwD6aBv.d.ts +83 -0
  208. package/dist/{index-DOUEn7V0.d.ts → index-BcZI402h.d.ts} +64 -5
  209. package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
  210. package/dist/{index-DimuSES0.d.ts → index-BlOIC_AM.d.ts} +3 -1
  211. package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
  212. package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
  213. package/dist/{index-kVhSuA9t.d.ts → index-BxhJqiZ7.d.ts} +6 -6
  214. package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
  215. package/dist/{index-qiZtHnGK.d.ts → index-C3GaPqvJ.d.ts} +123 -8
  216. package/dist/{index-D4I_obqR.d.ts → index-CFIXnk5D.d.ts} +1 -1
  217. package/dist/{index-cGagYM1g.d.ts → index-CI9kyg74.d.ts} +11 -1
  218. package/dist/{index-D-ZuubCK.d.ts → index-CUCcYKxl.d.ts} +1 -1
  219. package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
  220. package/dist/{index-DGXviOlp.d.ts → index-D-ezcKaY.d.ts} +30 -4
  221. package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
  222. package/dist/index-DxR1FChm.d.ts +158 -0
  223. package/dist/{index-DNRBbwp_.d.ts → index-EtZgovdH.d.ts} +842 -107
  224. package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
  225. package/dist/index-XuAAcYiP.d.ts +77 -0
  226. package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
  227. package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
  228. package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
  229. package/dist/{index-c_TaW8mM.d.ts → index-cL3q7O4R.d.ts} +31 -2
  230. package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
  231. package/dist/{index-DsyKhauk.d.ts → index-hCpxKePE.d.ts} +48 -2
  232. package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
  233. package/dist/{index-B1TG2GPS.d.ts → index-vizlhXVs.d.ts} +246 -45
  234. package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
  235. package/dist/index.d.ts +82 -80
  236. package/dist/index.js +127 -116
  237. package/dist/locale/index.d.ts +2 -2
  238. package/dist/locale/index.js +3 -3
  239. package/dist/locale-sLw5Caia.js +917 -0
  240. package/dist/searchResultMessage-CCnq-_ce.js +94 -0
  241. package/dist/semantic-CKH9XVqa.d.ts +54 -0
  242. package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
  243. package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
  244. package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
  245. package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
  246. package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
  247. package/dist/types-D_J66aPN.d.ts +85 -0
  248. package/dist/types-gKsEkk2g.d.ts +320 -0
  249. package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
  250. package/dist/useDatePresentation-C07PnOCw.js +21 -0
  251. package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
  252. package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
  253. package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
  254. package/dist/useFieldControlState-voICDrys.js +18 -0
  255. package/dist/useHandleRef-6cdKugm8.js +17 -0
  256. package/dist/useIndicator-i1NORM7W.js +147 -0
  257. package/dist/useMenuDrillIn-BgjJcY3K.js +520 -0
  258. package/dist/useMenuPress-DUmEy4TB.js +425 -0
  259. package/dist/useMonthGrid-fGHSSrFc.js +43 -0
  260. package/dist/usePendingChange-ib-h8FZK.js +25 -0
  261. package/dist/{composables-CVfjp9h4.js → useResizable-B3ahKLoZ.js} +74 -152
  262. package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
  263. package/dist/useTruncation-B5qXQzAP.js +53 -0
  264. package/locales/SOURCE.json +37 -0
  265. package/locales/af-ZA.json +1482 -0
  266. package/locales/ar-SA.json +1482 -0
  267. package/locales/ca-ES.json +1482 -0
  268. package/locales/cs-CZ.json +1482 -0
  269. package/locales/da-DK.json +1482 -0
  270. package/locales/de-DE.json +1482 -0
  271. package/locales/el-GR.json +1482 -0
  272. package/locales/en.json +1646 -0
  273. package/locales/es-ES.json +1482 -0
  274. package/locales/fi-FI.json +1482 -0
  275. package/locales/fr-FR.json +1482 -0
  276. package/locales/he-IL.json +1482 -0
  277. package/locales/hu-HU.json +1482 -0
  278. package/locales/it-IT.json +1482 -0
  279. package/locales/ja-JP.json +1482 -0
  280. package/locales/ko-KR.json +1482 -0
  281. package/locales/nl-NL.json +1482 -0
  282. package/locales/no-NO.json +1482 -0
  283. package/locales/pl-PL.json +1482 -0
  284. package/locales/pt-BR.json +1482 -0
  285. package/locales/pt-PT.json +1482 -0
  286. package/locales/ro-RO.json +1482 -0
  287. package/locales/ru-RU.json +1482 -0
  288. package/locales/sr-SP.json +1482 -0
  289. package/locales/sv-SE.json +1482 -0
  290. package/locales/tr-TR.json +1482 -0
  291. package/locales/uk-UA.json +1482 -0
  292. package/locales/vi-VN.json +1482 -0
  293. package/locales/zh-CN.json +1482 -0
  294. package/locales/zh-TW.json +1482 -0
  295. package/package.json +7 -1
  296. package/styles/bottom-sheet.css +27 -0
  297. package/styles/calendar.css +38 -3
  298. package/styles/check-indicator.css +17 -0
  299. package/styles/checkbox-indicator.css +29 -10
  300. package/styles/checkbox-input.css +0 -11
  301. package/styles/code.css +62 -0
  302. package/styles/container-reveal.css +104 -0
  303. package/styles/date-input.css +48 -0
  304. package/styles/dropdown-menu.css +163 -0
  305. package/styles/field.css +48 -0
  306. package/styles/heading.css +47 -0
  307. package/styles/icon.css +51 -3
  308. package/styles/input-group.css +32 -3
  309. package/styles/keyboard-hint.css +28 -0
  310. package/styles/link.css +34 -0
  311. package/styles/list.css +88 -1
  312. package/styles/markdown.css +12 -0
  313. package/styles/multi-selector.css +26 -0
  314. package/styles/pagination.css +30 -0
  315. package/styles/progress-bar.css +49 -0
  316. package/styles/radio-indicator.css +90 -0
  317. package/styles/radio.css +9 -42
  318. package/styles/selector.css +112 -14
  319. package/styles/side-nav.css +36 -1
  320. package/styles/text.css +18 -0
  321. package/styles/top-nav.css +145 -6
  322. package/styles/typeahead.css +24 -0
  323. package/styles.css +4 -0
  324. package/dist/Calendar-BFaI5AMv.js +0 -352
  325. package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
  326. package/dist/DateInput-BLocxqC3.js +0 -376
  327. package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
  328. package/dist/Heading-Dugosn6j.js +0 -43
  329. package/dist/InputGroup-ChrFVxzV.js +0 -42
  330. package/dist/Item-C1z6gXn8.js +0 -289
  331. package/dist/Link-DqdQZ37C.js +0 -141
  332. package/dist/Selector-DE2IEFML.js +0 -468
  333. package/dist/Text-BHVghsWo.js +0 -53
  334. package/dist/Theme-BuUiiJNr.js +0 -429
  335. package/dist/Typeahead-P7cCqtaQ.js +0 -375
  336. package/dist/index-Bgv4ZmBl.d.ts +0 -72
  337. package/dist/index-DN7MXPHM.d.ts +0 -398
  338. package/dist/index-Dg3ZmwEg.d.ts +0 -75
  339. package/dist/index-IbUN4M8V.d.ts +0 -40
  340. package/dist/index-jdjcb3Js.d.ts +0 -80
  341. package/dist/locale-Cpk_nrLA.js +0 -18
  342. package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
  343. package/dist/types-DDAAT1Xd.d.ts +0 -285
  344. package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
  345. package/dist/useHotkeys-dABSK1o9.js +0 -80
  346. package/dist/useLongPress-Cyxwa73s.js +0 -60
  347. package/dist/{index-BUXNRekN.d.ts → index-IdK2g5B4.d.ts} +2 -2
@@ -3,66 +3,67 @@ import "./index-CGEC2zgy.js";
3
3
  import { n as SpacingStep } from "./types-D7QNSqoN.js";
4
4
  import "./index-By2mSzUA.js";
5
5
  import "./index-COqjznX0.js";
6
- import { o as AvatarShape, s as AvatarSize } from "./index-Bu3oXIIS.js";
6
+ import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from "./types-D9nP_X-c.js";
7
+ import { o as AvatarShape, s as AvatarSize } from "./index-BmmdzwT9.js";
7
8
  import "./index-B9WzWqzk.js";
8
9
  import "./index-CFfXQMkd.js";
9
- import "./index-C8wDPDcP.js";
10
+ import "./index-Bi49IrAJ.js";
10
11
  import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
11
- import { u as ListDensity } from "./types-CAZY4Xua.js";
12
- import "./index-DimuSES0.js";
13
- import "./index-C7mxUcDR.js";
14
- import "./index-Bgv4ZmBl.js";
12
+ import { m as ListDensity } from "./types-DGYHIu4I.js";
13
+ import { N as DropdownMenuSubMenuPresentation } from "./DropdownMenuRadioItem.vue-CXEURBcq.js";
14
+ import "./index-BlOIC_AM.js";
15
+ import "./index-B4OOtNP8.js";
16
+ import { At as DatePresentation, Cn as ISODateRange, It as NativePicker, Pt as HourFormat, Rt as TimePresentation, Tn as WeekStartsOn, f as ScrollAxis, g as ScrollStickyContainment, h as ScrollRole, lt as HandleRef, m as ScrollOverscroll } from "./index-vizlhXVs.js";
15
17
  import { n as CardElevation, o as CardVariant, r as CardProps } from "./index-D_nYxnNv.js";
16
18
  import "./index-CsVS37na.js";
17
19
  import "./index-CEB7Ywvw.js";
18
- import "./index-kVhSuA9t.js";
20
+ import "./index-BxhJqiZ7.js";
19
21
  import { i as CheckboxSize } from "./index-DEiLb6hI.js";
20
22
  import { c as FieldStatusType, l as FieldStatusVariant, n as FieldLabelSlots, o as FieldStatusInput, t as FieldLabelProps } from "./types-3eXh_5os.js";
21
23
  import "./index-iHf0OCyv.js";
22
- import "./index-DsyKhauk.js";
24
+ import "./index-hCpxKePE.js";
23
25
  import "./index-DA52oIdw.js";
24
26
  import "./index-Be1czg3M.js";
25
- import "./index-DWH_HzXi.js";
26
- import { D as ScrollRole, E as ScrollOverscroll, O as ScrollStickyContainment, c as TimePresentation, i as HourFormat, o as NativePicker, w as ScrollAxis, xt as WeekStartsOn, yt as ISODateRange } from "./index-B1TG2GPS.js";
27
- import "./index-DN7MXPHM.js";
27
+ import "./index-ChWlKHjc.js";
28
+ import { u as MenuDrillIn } from "./index-12QYAbiz.js";
28
29
  import "./index-CZeoAr0a.js";
29
- import "./index-HV6W3xCx.js";
30
- import "./index-CJlBAXwj.js";
30
+ import "./index-Byar3h1e.js";
31
31
  import "./index--Xrukl7L.js";
32
32
  import "./index-iBLzInje.js";
33
33
  import "./index-Da7Jm8Ht.js";
34
34
  import "./index-BrJzFA5X.js";
35
- import "./index-CDDMDHJM.js";
36
- import "./index-CGZ2xi3r.js";
35
+ import "./index-c67ca7eJ.js";
36
+ import "./index-eshFLli0.js";
37
37
  import "./index-kaKBOZSU.js";
38
- import "./index-u5ozu0G7.js";
38
+ import "./index-vP0EtrJJ.js";
39
39
  import "./index-Yl4kJKpq.js";
40
- import "./index-IbUN4M8V.js";
40
+ import "./index-XuAAcYiP.js";
41
+ import "./index-BPwD6aBv.js";
41
42
  import "./index-BtrAhmSP.js";
42
43
  import "./index-CDdRQQF3.js";
43
44
  import { n as SizeValue, t as PaddingInput } from "./size-BuTzpgnR.js";
44
45
  import "./index-1AZ4KZhg.js";
45
- import "./index-Dg3ZmwEg.js";
46
- import "./index-D-ZuubCK.js";
47
- import { l as AstryxLocale } from "./index-qiZtHnGK.js";
48
- import "./index-DfgHJE7H.js";
46
+ import "./index-BBtJt5_A.js";
47
+ import "./index-CUCcYKxl.js";
48
+ import "./index-C3GaPqvJ.js";
49
+ import "./index-z3uLM1O6.js";
49
50
  import "./index-utZGF4GR.js";
50
51
  import "./index-BeR-1LgF.js";
51
- import "./index-DOUEn7V0.js";
52
+ import "./index-BcZI402h.js";
52
53
  import { a as NavItemSize, s as NavLinkComponent } from "./types-BG23kC3S.js";
53
54
  import "./index-fa72tWIU.js";
54
- import "./index-D0TlUOtG.js";
55
- import "./index-D4I_obqR.js";
55
+ import { h as NavMenuFocusRequest } from "./index-YmSe1ujk.js";
56
+ import "./index-CFIXnk5D.js";
56
57
  import "./index-Cn-sSds-.js";
57
58
  import "./index-BDZCJ9ri.js";
58
- import "./index-c_TaW8mM.js";
59
+ import "./index-cL3q7O4R.js";
59
60
  import "./index-Bu0Zd1uw.js";
60
- import "./index-Cs5pcwY3.js";
61
- import "./index-cGagYM1g.js";
61
+ import "./index-6yB8BtEu.js";
62
+ import "./index-CI9kyg74.js";
62
63
  import "./index-nCEmW6wa.js";
63
64
  import "./index-nKlTsNfV.js";
64
65
  import "./index-gW0HW02U.js";
65
- import "./index-DGXviOlp.js";
66
+ import "./index-D-ezcKaY.js";
66
67
  import "./index-Dt_9IR_M.js";
67
68
  import "./index-BIPc1v82.js";
68
69
  import "./index-yaS9_EpM.js";
@@ -71,19 +72,19 @@ import "./index-BmAxqw1G.js";
71
72
  import "./index-CVn0GBdB.js";
72
73
  import "./index-CngORuiq.js";
73
74
  import "./index-CNjbOgty.js";
74
- import { a as TextSize, n as TextColor, o as TextType, s as TextWeight } from "./types-Bt-lSgYX.js";
75
- import "./index-Cm_TiLXU.js";
76
- import "./index-CRizexSC.js";
75
+ import "./index-Dgg0bHVM.js";
76
+ import "./index-BH9PzQ1F.js";
77
77
  import "./index-CtlkhQ55.js";
78
- import "./index-BMrggCw-.js";
78
+ import "./index-bvr3WHvs.js";
79
79
  import "./index-Bt7ewoz2.js";
80
- import "./index-BUXNRekN.js";
81
- import "./index-BHqRH7QW.js";
82
- import "./index-C5p2NeCr.js";
80
+ import "./index-IdK2g5B4.js";
81
+ import "./index-FEy8qFSD.js";
82
+ import "./index-Blm197N_.js";
83
83
  import "./index-C_2Z65Rp.js";
84
- import "./index-jdjcb3Js.js";
84
+ import "./index-DxR1FChm.js";
85
85
  import "./index-DGV6SCWO.js";
86
86
  import { Component, ComputedRef, InjectionKey, Ref, VNode, VNodeChild } from "vue";
87
+ import { CalendarDate } from "@internationalized/date";
87
88
  //#region src/Banner/types.d.ts
88
89
  type BannerStatus = 'info' | 'warning' | 'error' | 'success';
89
90
  type BannerContainer = 'card' | 'section';
@@ -114,18 +115,18 @@ interface BannerSlots {
114
115
  }
115
116
  //#endregion
116
117
  //#region src/Banner/Banner.vue.d.ts
117
- type __VLS_Props$15 = Omit<BannerProps, 'isOpen'>;
118
- type __VLS_Slots$31 = BannerSlots;
119
- type __VLS_ModelProps$15 = {
118
+ type __VLS_Props$16 = Omit<BannerProps, 'isOpen'>;
119
+ type __VLS_Slots$36 = BannerSlots;
120
+ type __VLS_ModelProps$16 = {
120
121
  'isOpen'?: boolean | undefined;
121
122
  };
122
- type __VLS_PublicProps$15 = __VLS_Props$15 & __VLS_ModelProps$15;
123
- declare const __VLS_base$31: import("vue").DefineComponent<__VLS_PublicProps$15, {
123
+ type __VLS_PublicProps$16 = __VLS_Props$16 & __VLS_ModelProps$16;
124
+ declare const __VLS_base$36: import("vue").DefineComponent<__VLS_PublicProps$16, {
124
125
  element: import("vue").ComputedRef<HTMLDivElement | null>;
125
126
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
126
127
  "update:isOpen": (value: boolean | undefined) => any;
127
128
  dismiss: () => any;
128
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$15> & Readonly<{
129
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$16> & Readonly<{
129
130
  "onUpdate:isOpen"?: ((value: boolean | undefined) => any) | undefined;
130
131
  onDismiss?: (() => any) | undefined;
131
132
  }>, {
@@ -136,9 +137,9 @@ declare const __VLS_base$31: import("vue").DefineComponent<__VLS_PublicProps$15,
136
137
  collapsible: boolean;
137
138
  defaultIsOpen: boolean;
138
139
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
139
- declare const __VLS_export$39: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
140
- declare const _default$39: typeof __VLS_export$39;
141
- type __VLS_WithSlots$31<T, S> = T & {
140
+ declare const __VLS_export$45: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
141
+ declare const _default$45: typeof __VLS_export$45;
142
+ type __VLS_WithSlots$36<T, S> = T & {
142
143
  new (): {
143
144
  $slots: S;
144
145
  };
@@ -165,18 +166,126 @@ interface ButtonGroupSlots {
165
166
  }
166
167
  //#endregion
167
168
  //#region src/ButtonGroup/ButtonGroup.vue.d.ts
168
- type __VLS_Slots$30 = ButtonGroupSlots;
169
- declare const __VLS_base$30: import("vue").DefineComponent<ButtonGroupProps, {
169
+ type __VLS_Slots$35 = ButtonGroupSlots;
170
+ declare const __VLS_base$35: import("vue").DefineComponent<ButtonGroupProps, {
170
171
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
171
172
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
173
+ orientation: ButtonGroupOrientation;
172
174
  size: ButtonSize;
173
- elevation: ButtonElevation;
174
175
  isDisabled: boolean;
175
- orientation: ButtonGroupOrientation;
176
+ elevation: ButtonElevation;
176
177
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
177
- declare const __VLS_export$38: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
178
- declare const _default$38: typeof __VLS_export$38;
179
- type __VLS_WithSlots$30<T, S> = T & {
178
+ declare const __VLS_export$44: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
179
+ declare const _default$44: typeof __VLS_export$44;
180
+ type __VLS_WithSlots$35<T, S> = T & {
181
+ new (): {
182
+ $slots: S;
183
+ };
184
+ };
185
+ //#endregion
186
+ //#region src/Calendar/types.d.ts
187
+ interface CalendarRangeValue {
188
+ start: Date | null;
189
+ end: Date | null;
190
+ }
191
+ interface CalendarHandle {
192
+ /** 把可见月份移到这一天,并把键盘焦点放到这一天。 */
193
+ navigateTo: (date: Date) => void;
194
+ }
195
+ type CalendarHandleRef = Ref<CalendarHandle | null> | ((handle: CalendarHandle | null) => void);
196
+ interface CalendarProps {
197
+ /** 当前选中的日期。`mode="range"` 时改用 `range`。 */
198
+ modelValue?: Date | null;
199
+ /** 选一天,或选一段起止日期。 */
200
+ mode?: 'single' | 'range';
201
+ /** 范围模式下的起止日期,用 `v-model:range` 绑定。 */
202
+ range?: CalendarRangeValue | null;
203
+ /** 并排显示的月份数。 */
204
+ numberOfMonths?: 1 | 2;
205
+ /**
206
+ * 先显示这一天所在的月份。
207
+ * 配合 `v-model:focus-date` 时,翻月会把新月份交还给外面。
208
+ */
209
+ focusDate?: Date;
210
+ /** 最小可选日期 */
211
+ min?: Date;
212
+ /** 最大可选日期 */
213
+ max?: Date;
214
+ /** 返回 true 时禁用这一天。和 `dateConstraints` 一起生效。 */
215
+ isDateDisabled?: (date: Date) => boolean;
216
+ /** 任一函数返回 false 时禁用这一天。 */
217
+ dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
218
+ /**
219
+ * 范围最短天数,含两端。2 表示不能只选同一天。
220
+ * 起点已经选中后,比这个更近的日期不可选;再点一次起点会取消这次选择。
221
+ */
222
+ minRangeSpan?: number;
223
+ /**
224
+ * 范围最长天数,含两端。7 表示从起点起最多七天。
225
+ * 起点还没选中时,这个限制不生效。
226
+ */
227
+ maxRangeSpan?: number;
228
+ /** 显示相邻月份的日期。这些日期只用来补齐格子,不能选。 */
229
+ hasOutsideDays?: boolean;
230
+ /** 在每一行左侧显示 ISO 周数。 */
231
+ hasWeekNumbers?: boolean;
232
+ /** 按当月收缩行数。关闭时固定六行,高度不变。 */
233
+ hasVariableRowCount?: boolean;
234
+ /** 一周的第一天。0 是周日,也可以写 sun、mon 这样的缩写。 */
235
+ weekStartsOn?: WeekStartsOn;
236
+ /** 命令式翻月。`navigateTo` 会显示那一天所在的月份并聚焦它。 */
237
+ handleRef?: CalendarHandleRef;
238
+ /** 日历标签 */
239
+ label?: string;
240
+ /** 是否禁用 */
241
+ disabled?: boolean;
242
+ }
243
+ interface CalendarEmits {
244
+ (event: 'update:modelValue', value: Date | null): void;
245
+ (event: 'update:range', value: CalendarRangeValue): void;
246
+ (event: 'update:focusDate', value: Date): void;
247
+ (event: 'change', value: Date | null): void;
248
+ }
249
+ interface CalendarSlots {
250
+ /** 自定义日期单元格 */
251
+ day?: (props: {
252
+ date: CalendarDate;
253
+ isSelected: boolean;
254
+ isDisabled: boolean;
255
+ isToday: boolean;
256
+ isInMonth: boolean;
257
+ }) => any;
258
+ /** 自定义头部 */
259
+ header?: () => any;
260
+ }
261
+ //#endregion
262
+ //#region src/Calendar/Calendar.vue.d.ts
263
+ type __VLS_Slots$34 = CalendarSlots;
264
+ declare const __VLS_base$34: import("vue").DefineComponent<CalendarProps, CalendarHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
265
+ change: (value: Date | null) => any;
266
+ "update:modelValue": (value: Date | null) => any;
267
+ "update:range": (value: CalendarRangeValue) => any;
268
+ "update:focusDate": (value: Date) => any;
269
+ }, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
270
+ onChange?: ((value: Date | null) => any) | undefined;
271
+ "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
272
+ "onUpdate:range"?: ((value: CalendarRangeValue) => any) | undefined;
273
+ "onUpdate:focusDate"?: ((value: Date) => any) | undefined;
274
+ }>, {
275
+ modelValue: Date | null;
276
+ mode: "single" | "range";
277
+ disabled: boolean;
278
+ numberOfMonths: 1 | 2;
279
+ minRangeSpan: number;
280
+ weekStartsOn: WeekStartsOn;
281
+ range: CalendarRangeValue | null;
282
+ hasOutsideDays: boolean;
283
+ hasWeekNumbers: boolean;
284
+ hasVariableRowCount: boolean;
285
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
286
+ declare const __VLS_export$43: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
287
+ declare const _default$43: typeof __VLS_export$43;
288
+ type __VLS_WithSlots$34<T, S> = T & {
180
289
  new (): {
181
290
  $slots: S;
182
291
  };
@@ -210,15 +319,15 @@ interface CheckboxInputEmits {
210
319
  interface CheckboxInputSlots extends FieldLabelSlots {}
211
320
  //#endregion
212
321
  //#region src/CheckboxInput/CheckboxInput.vue.d.ts
213
- type __VLS_Props$14 = Omit<CheckboxInputProps, 'modelValue'>;
214
- type __VLS_Slots$29 = CheckboxInputSlots;
322
+ type __VLS_Props$15 = Omit<CheckboxInputProps, 'modelValue'>;
323
+ type __VLS_Slots$33 = CheckboxInputSlots;
215
324
  declare function focus$5(options?: FocusOptions): void;
216
325
  declare function blur$5(): void;
217
- type __VLS_ModelProps$14 = {
326
+ type __VLS_ModelProps$15 = {
218
327
  modelValue: CheckboxValue;
219
328
  };
220
- type __VLS_PublicProps$14 = __VLS_Props$14 & __VLS_ModelProps$14;
221
- declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$14, {
329
+ type __VLS_PublicProps$15 = __VLS_Props$15 & __VLS_ModelProps$15;
330
+ declare const __VLS_base$33: import("vue").DefineComponent<__VLS_PublicProps$15, {
222
331
  element: import("vue").ComputedRef<HTMLInputElement | null>;
223
332
  focus: typeof focus$5;
224
333
  blur: typeof blur$5;
@@ -226,7 +335,7 @@ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$14,
226
335
  change: (value: boolean, event: CheckboxInputChangeEvent) => any;
227
336
  "update:modelValue": (value: CheckboxValue) => any;
228
337
  actionError: (error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any;
229
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$14> & Readonly<{
338
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$15> & Readonly<{
230
339
  onChange?: ((value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
231
340
  "onUpdate:modelValue"?: ((value: CheckboxValue) => any) | undefined;
232
341
  onActionError?: ((error: unknown, value: boolean, event: CheckboxInputChangeEvent) => any) | undefined;
@@ -234,9 +343,9 @@ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$14,
234
343
  size: CheckboxSize;
235
344
  loadingLabel: string;
236
345
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
237
- declare const __VLS_export$37: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
238
- declare const _default$37: typeof __VLS_export$37;
239
- type __VLS_WithSlots$29<T, S> = T & {
346
+ declare const __VLS_export$42: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
347
+ declare const _default$42: typeof __VLS_export$42;
348
+ type __VLS_WithSlots$33<T, S> = T & {
240
349
  new (): {
241
350
  $slots: S;
242
351
  };
@@ -251,6 +360,20 @@ interface CheckboxListProps {
251
360
  density?: ListDensity;
252
361
  hasDividers?: boolean;
253
362
  isDisabled?: boolean;
363
+ /**
364
+ * 整组被禁用的原因。和 isDisabled 一起用时,每一行仍可聚焦,悬停或键盘聚焦能看到原因。
365
+ * 单独禁用某一行时不用这句。
366
+ */
367
+ disabledReason?: string;
368
+ /**
369
+ * 整组只读。勾选状态还在,也不会变暗,但不能改。
370
+ * 和 isDisabled 同时设置时按禁用处理。
371
+ */
372
+ isReadOnly?: boolean;
373
+ /**
374
+ * 勾选变化之后执行。进行中的那一行会显示加载,并且不能再点。
375
+ */
376
+ changeAction?: (values: string[]) => void | Promise<void>;
254
377
  isRequired?: boolean;
255
378
  isOptional?: boolean;
256
379
  isLabelHidden?: boolean;
@@ -267,6 +390,8 @@ interface CheckboxListItemProps {
267
390
  value?: string;
268
391
  description?: string;
269
392
  isDisabled?: boolean;
393
+ /** 这一行自己的加载。复选框里显示旋转指示,并且不能切换。 */
394
+ isLoading?: boolean;
270
395
  isChecked?: CheckboxValue;
271
396
  }
272
397
  interface CheckboxListItemEmits {
@@ -277,19 +402,19 @@ interface CheckboxListItemSlots {
277
402
  }
278
403
  //#endregion
279
404
  //#region src/CheckboxList/CheckboxList.vue.d.ts
280
- type __VLS_Props$13 = Omit<CheckboxListProps, 'modelValue'>;
281
- type __VLS_ModelProps$13 = {
405
+ type __VLS_Props$14 = Omit<CheckboxListProps, 'modelValue'>;
406
+ type __VLS_ModelProps$14 = {
282
407
  modelValue?: string[];
283
408
  };
284
- type __VLS_PublicProps$13 = __VLS_Props$13 & __VLS_ModelProps$13;
285
- declare var __VLS_14: {};
286
- type __VLS_Slots$28 = {} & {
287
- default?: (props: typeof __VLS_14) => any;
409
+ type __VLS_PublicProps$14 = __VLS_Props$14 & __VLS_ModelProps$14;
410
+ declare var __VLS_20: {};
411
+ type __VLS_Slots$32 = {} & {
412
+ default?: (props: typeof __VLS_20) => any;
288
413
  };
289
- declare const __VLS_base$28: import("vue").DefineComponent<__VLS_PublicProps$13, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
414
+ declare const __VLS_base$32: import("vue").DefineComponent<__VLS_PublicProps$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
290
415
  change: (value: string[]) => any;
291
416
  "update:modelValue": (...args: unknown[]) => any;
292
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$13> & Readonly<{
417
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$14> & Readonly<{
293
418
  onChange?: ((value: string[]) => any) | undefined;
294
419
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
295
420
  }>, {
@@ -297,24 +422,24 @@ declare const __VLS_base$28: import("vue").DefineComponent<__VLS_PublicProps$13,
297
422
  statusVariant: "tooltip" | FieldStatusVariant;
298
423
  hasDividers: boolean;
299
424
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
300
- declare const __VLS_export$36: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
301
- declare const _default$36: typeof __VLS_export$36;
302
- type __VLS_WithSlots$28<T, S> = T & {
425
+ declare const __VLS_export$41: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
426
+ declare const _default$41: typeof __VLS_export$41;
427
+ type __VLS_WithSlots$32<T, S> = T & {
303
428
  new (): {
304
429
  $slots: S;
305
430
  };
306
431
  };
307
432
  //#endregion
308
433
  //#region src/CheckboxList/CheckboxListItem.vue.d.ts
309
- type __VLS_Slots$27 = CheckboxListItemSlots;
310
- declare const __VLS_base$27: import("vue").DefineComponent<CheckboxListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
434
+ type __VLS_Slots$31 = CheckboxListItemSlots;
435
+ declare const __VLS_base$31: import("vue").DefineComponent<CheckboxListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
311
436
  check: (checked: boolean) => any;
312
437
  }, string, import("vue").PublicProps, Readonly<CheckboxListItemProps> & Readonly<{
313
438
  onCheck?: ((checked: boolean) => any) | undefined;
314
439
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
315
- declare const __VLS_export$35: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
316
- declare const _default$35: typeof __VLS_export$35;
317
- type __VLS_WithSlots$27<T, S> = T & {
440
+ declare const __VLS_export$40: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
441
+ declare const _default$40: typeof __VLS_export$40;
442
+ type __VLS_WithSlots$31<T, S> = T & {
318
443
  new (): {
319
444
  $slots: S;
320
445
  };
@@ -362,16 +487,480 @@ interface ClickableCardSlots {
362
487
  }
363
488
  //#endregion
364
489
  //#region src/ClickableCard/ClickableCard.vue.d.ts
365
- type __VLS_Slots$26 = ClickableCardSlots;
366
- declare const __VLS_base$26: import("vue").DefineComponent<ClickableCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
490
+ type __VLS_Slots$30 = ClickableCardSlots;
491
+ declare const __VLS_base$30: import("vue").DefineComponent<ClickableCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
367
492
  click: (event: MouseEvent) => any;
368
493
  }, string, import("vue").PublicProps, Readonly<ClickableCardProps> & Readonly<{
369
494
  onClick?: ((event: MouseEvent) => any) | undefined;
370
495
  }>, {
371
- elevation: CardElevation;
372
496
  isDisabled: boolean;
497
+ elevation: CardElevation;
373
498
  variant: CardVariant;
374
499
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
500
+ declare const __VLS_export$39: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
501
+ declare const _default$39: typeof __VLS_export$39;
502
+ type __VLS_WithSlots$30<T, S> = T & {
503
+ new (): {
504
+ $slots: S;
505
+ };
506
+ };
507
+ //#endregion
508
+ //#region src/ContextMenu/types.d.ts
509
+ /**
510
+ * Density of the menu rows, from the tightest to the most spacious.
511
+ *
512
+ * The size only changes the rows' block padding; the panel, the radius, and
513
+ * the type stay the same in every size.
514
+ */
515
+ type ContextMenuSize = 'sm' | 'md' | 'lg';
516
+ /**
517
+ * The element the trigger area renders as.
518
+ *
519
+ * `div` is a block that hugs its content; `span` is an inline wrapper, so a
520
+ * reference inside running prose can own a context menu without breaking the
521
+ * text flow.
522
+ */
523
+ type ContextMenuTriggerElement = 'div' | 'span';
524
+ /**
525
+ * How the actions are presented.
526
+ *
527
+ * `popover` anchors a menu to the pointer, `bottom-sheet` presents a
528
+ * thumb-reachable sheet, and `adaptive` uses the sheet at 768px and below
529
+ * when the primary pointer is coarse.
530
+ */
531
+ type ContextMenuPresentation = 'popover' | 'bottom-sheet' | 'adaptive';
532
+ /** A menu width as a number of pixels or any CSS length. */
533
+ type ContextMenuWidth = number | string;
534
+ /**
535
+ * Visual variant of a row. `destructive` paints the label, the description,
536
+ * and the icon in the error color for an action that cannot be undone.
537
+ */
538
+ type ContextMenuVariant = 'default' | 'destructive';
539
+ /** Where a link row navigates. */
540
+ type ContextMenuItemTarget = '_blank' | '_self';
541
+ /**
542
+ * The artwork of a row: a CSS icon class, or a Vue component that draws the
543
+ * SVG. astryx-vue ships no icons of its own.
544
+ */
545
+ type ContextMenuItemIcon = string | Component;
546
+ /**
547
+ * One action row in the `items` data API.
548
+ *
549
+ * Every field is also a `ContextMenuItem` prop, so the data API and the
550
+ * compound API describe the same row and cannot drift.
551
+ */
552
+ interface ContextMenuItemData {
553
+ /**
554
+ * Discriminant of the data API. An action row leaves it unset; a divider or
555
+ * a section sets it.
556
+ */
557
+ type?: undefined;
558
+ /**
559
+ * Stable identity for the row. Rows are keyed by position when it is
560
+ * omitted, which is correct for a fixed menu; set it when `items` can
561
+ * reorder or filter so a row keeps its DOM node, and its focus, as the
562
+ * array changes around it.
563
+ */
564
+ id?: string;
565
+ /** Primary label of the row. */
566
+ label: string;
567
+ /** Icon rendered before the label. */
568
+ icon?: ContextMenuItemIcon;
569
+ /** Secondary text rendered below the label. */
570
+ description?: string;
571
+ /**
572
+ * Plain text rendered after the label area. Rich trailing content needs the
573
+ * compound `ContextMenuItem` and its `endContent` slot.
574
+ */
575
+ endContent?: string | number;
576
+ /** Called when the row is activated, with the click that activated it. */
577
+ onClick?: (event: MouseEvent) => void;
578
+ /** Whether the row is disabled. @default false */
579
+ isDisabled?: boolean;
580
+ /** Visual variant of the row. @default 'default' */
581
+ variant?: ContextMenuVariant;
582
+ /**
583
+ * Whether activating the row closes the menu. Set it to `false` for an
584
+ * action that reports its result on the row itself.
585
+ * @default true
586
+ */
587
+ hasCloseOnSelect?: boolean;
588
+ /** Address the row navigates to; the row then renders as an anchor. */
589
+ href?: string;
590
+ /** Link target of a link row. */
591
+ target?: ContextMenuItemTarget;
592
+ /** Link relationship of a link row. */
593
+ rel?: string;
594
+ /**
595
+ * Nested entries. When present, the row becomes a submenu that reveals
596
+ * these entries in a flyout beside it instead of acting itself.
597
+ */
598
+ items?: ContextMenuOption[];
599
+ }
600
+ /** A checkbox row of the `items` data API. The checked state is controlled. */
601
+ interface ContextMenuCheckboxData {
602
+ type: 'checkbox';
603
+ id?: string;
604
+ label: string;
605
+ icon?: ContextMenuItemIcon;
606
+ description?: string;
607
+ /** Whether the row is checked. */
608
+ checked: boolean;
609
+ /** @default false */
610
+ isDisabled?: boolean;
611
+ /**
612
+ * Whether toggling closes the menu. Checkbox rows stay open.
613
+ * @default false
614
+ */
615
+ hasCloseOnSelect?: boolean;
616
+ /** Called with the next checked state. */
617
+ onChange?: (checked: boolean) => void;
618
+ }
619
+ /** One option inside a radio group of the `items` data API. */
620
+ interface ContextMenuRadioOptionData {
621
+ id?: string;
622
+ value: string;
623
+ label: string;
624
+ icon?: ContextMenuItemIcon;
625
+ description?: string;
626
+ /** @default false */
627
+ isDisabled?: boolean;
628
+ }
629
+ /**
630
+ * A single-select radio group of the `items` data API.
631
+ * Choosing a value closes the menu unless `hasCloseOnSelect` is false.
632
+ */
633
+ interface ContextMenuRadioData {
634
+ type: 'radio';
635
+ id?: string;
636
+ /** Accessible name of the group. */
637
+ label: string;
638
+ /** Selected value. Unset when nothing is selected. */
639
+ value?: string;
640
+ /** @default true */
641
+ hasCloseOnSelect?: boolean;
642
+ items: ContextMenuRadioOptionData[];
643
+ onChange?: (value: string) => void;
644
+ }
645
+ /** A row the data API can place inside a section or at the top level. */
646
+ type ContextMenuEntry = ContextMenuItemData | ContextMenuCheckboxData | ContextMenuRadioData;
647
+ /** A horizontal rule between groups of rows. */
648
+ interface ContextMenuDividerData {
649
+ type: 'divider';
650
+ }
651
+ /** A titled group of rows. */
652
+ interface ContextMenuSection {
653
+ type: 'section';
654
+ /** Stable identity for the group. */
655
+ id?: string;
656
+ /** Heading shown above the group's rows and used as the group's name. */
657
+ title?: string;
658
+ /** The actions of the group. */
659
+ items: ContextMenuEntry[];
660
+ }
661
+ /** One entry of the `items` data API. */
662
+ type ContextMenuOption = ContextMenuEntry | ContextMenuDividerData | ContextMenuSection;
663
+ interface ContextMenuProps {
664
+ /**
665
+ * The menu entries. Each entry is an action row, a divider, or a section;
666
+ * a row with nested `items` becomes a submenu. Omit it and use the
667
+ * `content` slot for a menu the caller composes itself.
668
+ */
669
+ items?: ContextMenuOption[];
670
+ /**
671
+ * Width of the menu panel. Numbers are interpreted as pixels. The panel is
672
+ * still capped to the viewport, so a width wider than the screen shrinks
673
+ * instead of overflowing.
674
+ * @default undefined (the panel is at least 160px wide and sizes to its rows)
675
+ */
676
+ menuWidth?: ContextMenuWidth;
677
+ /**
678
+ * Density of the menu rows.
679
+ * @default 'md'
680
+ */
681
+ size?: ContextMenuSize;
682
+ /**
683
+ * Accessible name of the menu panel, announced when it opens.
684
+ * @default 'Context menu'
685
+ */
686
+ label?: string;
687
+ /**
688
+ * When true, the native browser context menu is left untouched and the
689
+ * menu never opens.
690
+ * @default false
691
+ */
692
+ isDisabled?: boolean;
693
+ /**
694
+ * The element the trigger area renders as.
695
+ * @default 'div'
696
+ */
697
+ triggerAs?: ContextMenuTriggerElement;
698
+ /**
699
+ * How the menu is presented.
700
+ * @default 'popover'
701
+ */
702
+ presentation?: ContextMenuPresentation;
703
+ /**
704
+ * Open state of the menu. Bind it with `v-model:is-open` to control the
705
+ * menu from the outside; leave it unbound and the menu manages its own
706
+ * state, opening on right-click, the context-menu key, or a long press.
707
+ * @default undefined
708
+ */
709
+ isOpen?: boolean;
710
+ }
711
+ interface ContextMenuEmits {
712
+ /** Fired when the menu opens or closes. */
713
+ 'openChange': [isOpen: boolean];
714
+ /** Fired when a row of the `items` data API is activated. */
715
+ 'select': [item: ContextMenuItemData, event: MouseEvent];
716
+ /** Fired by `v-model:isOpen`. */
717
+ 'update:isOpen': [isOpen: boolean];
718
+ }
719
+ interface ContextMenuSlots {
720
+ /** The trigger area: right-click on this content to open the menu. */
721
+ default?: () => VNodeChild;
722
+ /**
723
+ * Custom panel in place of `items`. Compose it from the menu rows, including
724
+ * checkbox and radio rows, when the menu has to stay open across several
725
+ * toggles or the rows depend on state. Keyboard handling still belongs to
726
+ * the menu.
727
+ */
728
+ content?: () => VNodeChild;
729
+ }
730
+ interface ContextMenuItemProps {
731
+ /** Icon rendered before the label. */
732
+ icon?: ContextMenuItemIcon;
733
+ /** Primary label of the row. */
734
+ label?: string | number;
735
+ /** Secondary text rendered below the label. */
736
+ description?: string;
737
+ /**
738
+ * Plain text rendered after the label area. Use the `endContent` slot for
739
+ * rich trailing content such as a badge.
740
+ */
741
+ endContent?: string | number;
742
+ /** Address the row navigates to; the row then renders as an anchor. */
743
+ href?: string;
744
+ /** Link target, only used with `href`. */
745
+ target?: ContextMenuItemTarget;
746
+ /** Link relationship, only used with `href`. */
747
+ rel?: string;
748
+ /**
749
+ * Whether the row is disabled. A disabled row is dimmed, skipped by arrow
750
+ * keys and typeahead, and cannot be activated.
751
+ * @default false
752
+ */
753
+ isDisabled?: boolean;
754
+ /**
755
+ * Whether activating the row closes the menu.
756
+ * @default true
757
+ */
758
+ hasCloseOnSelect?: boolean;
759
+ /**
760
+ * Visual variant of the row.
761
+ * @default 'default'
762
+ */
763
+ variant?: ContextMenuVariant;
764
+ }
765
+ interface ContextMenuItemEmits {
766
+ /** Fired when the row is activated, with the click that activated it. */
767
+ click: [event: MouseEvent];
768
+ }
769
+ interface ContextMenuItemSlots {
770
+ /** Rich content replacing the `label` prop. */
771
+ label?: () => VNodeChild;
772
+ /** Leading content replacing the `icon` prop. */
773
+ icon?: () => VNodeChild;
774
+ /** Rich content replacing the `description` prop. */
775
+ description?: () => VNodeChild;
776
+ /** Trailing content after the label area. */
777
+ endContent?: () => VNodeChild;
778
+ }
779
+ interface ContextMenuDividerProps {
780
+ /**
781
+ * The divider's weight. `subtle` is the hairline drawn between menu rows.
782
+ * @default 'subtle'
783
+ */
784
+ variant?: 'subtle' | 'strong';
785
+ }
786
+ interface ContextMenuGroupProps {
787
+ /**
788
+ * Heading shown above the group's rows and used as the group's accessible
789
+ * name. Omit it for an unnamed group.
790
+ */
791
+ title?: string;
792
+ }
793
+ interface ContextMenuGroupSlots {
794
+ /** The group's rows: menu items, dividers, submenus. */
795
+ default?: () => VNodeChild;
796
+ }
797
+ interface ContextMenuSubMenuProps {
798
+ /** Icon rendered before the label. */
799
+ icon?: ContextMenuItemIcon;
800
+ /** Primary label of the row. */
801
+ label?: string | number;
802
+ /** Secondary text rendered below the label. */
803
+ description?: string;
804
+ /**
805
+ * Whether the row is disabled and can neither be opened nor activated.
806
+ * @default false
807
+ */
808
+ isDisabled?: boolean;
809
+ /** The entries revealed in the flyout. */
810
+ items?: ContextMenuOption[];
811
+ /**
812
+ * Show a spinner in place of the caret while the flyout's rows are loading.
813
+ * @default false
814
+ */
815
+ hasSpinner?: boolean;
816
+ /**
817
+ * Minimum width of the flyout. Capped to the viewport. Defaults to the
818
+ * flyout's content, at least 160px.
819
+ */
820
+ menuWidth?: number | string;
821
+ /**
822
+ * `flyout` opens beside the row. `drill-in` replaces the menu's rows and
823
+ * adds a Back row. `adaptive` drills in on a compact touch surface.
824
+ * @default 'adaptive'
825
+ */
826
+ presentation?: DropdownMenuSubMenuPresentation;
827
+ }
828
+ interface ContextMenuSubMenuEmits {
829
+ /** Fired when the flyout opens or closes. */
830
+ openChange: [isOpen: boolean];
831
+ /** Fired when a row inside the flyout is activated, re-emitted upward. */
832
+ select: [item: ContextMenuItemData, event: MouseEvent];
833
+ }
834
+ interface ContextMenuSubMenuSlots {
835
+ /** Rich content replacing the `label` prop. */
836
+ label?: () => VNodeChild;
837
+ /** Leading content replacing the `icon` prop. */
838
+ icon?: () => VNodeChild;
839
+ /** Rich content replacing the `description` prop. */
840
+ description?: () => VNodeChild;
841
+ /** Trailing content replacing the chevron. */
842
+ endContent?: () => VNodeChild;
843
+ /** The flyout's rows, replacing the `items` prop. */
844
+ default?: () => VNodeChild;
845
+ }
846
+ //#endregion
847
+ //#region src/ContextMenu/context.d.ts
848
+ /**
849
+ * What a `ContextMenu` tells the rows and submenus inside it.
850
+ *
851
+ * Every member is a ref or a computed, so a row that reads the context keeps
852
+ * following the menu's own props after mount instead of freezing at the
853
+ * values present when the menu was created. `closeMenu` reads the menu's live
854
+ * open state each time it runs, so it stays correct as well.
855
+ */
856
+ interface ContextMenuContextValue {
857
+ /**
858
+ * Close the menu. `restoreFocus` puts focus back on the element that was
859
+ * focused before the menu opened; keyboard dismissal asks for it, a
860
+ * pointer-driven dismissal does not.
861
+ */
862
+ closeMenu: (options?: {
863
+ restoreFocus?: boolean;
864
+ }) => void;
865
+ /** Whether the menu is currently open. */
866
+ isOpen: ComputedRef<boolean>;
867
+ /** The menu's accessible name, used by a submenu flyout's rows. */
868
+ menuLabel: ComputedRef<string>;
869
+ /** Density of the rows inside this menu. */
870
+ menuSize: ComputedRef<ContextMenuSize>;
871
+ /** View stack for submenus that replace the rows in place. */
872
+ drillIn: ComputedRef<MenuDrillIn>;
873
+ }
874
+ /** The surrounding menu, or `undefined` when the row stands alone. */
875
+ declare function useContextMenu(): ContextMenuContextValue | undefined;
876
+ /** The row density of the surrounding menu, or the menu default. */
877
+ declare function useContextMenuSize(): ComputedRef<ContextMenuSize>;
878
+ //#endregion
879
+ //#region src/ContextMenu/ContextMenu.vue.d.ts
880
+ type __VLS_Props$13 = ContextMenuProps;
881
+ type __VLS_Slots$29 = ContextMenuSlots;
882
+ type __VLS_ModelProps$13 = {
883
+ 'isOpen'?: boolean | undefined;
884
+ };
885
+ type __VLS_PublicProps$13 = __VLS_Props$13 & __VLS_ModelProps$13;
886
+ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$13, {
887
+ blur: () => void | undefined;
888
+ close: () => void;
889
+ element: import("vue").ComputedRef<HTMLElement | null>;
890
+ focus: () => void | undefined;
891
+ open: () => void;
892
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
893
+ openChange: (isOpen: boolean) => any;
894
+ select: (item: ContextMenuItemData, event: MouseEvent) => any;
895
+ "update:isOpen": (...args: unknown[]) => any;
896
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$13> & Readonly<{
897
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
898
+ onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
899
+ "onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
900
+ }>, {
901
+ label: string;
902
+ size: ContextMenuSize;
903
+ isDisabled: boolean;
904
+ presentation: ContextMenuPresentation;
905
+ triggerAs: ContextMenuTriggerElement;
906
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
907
+ declare const __VLS_export$38: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
908
+ declare const _default$38: typeof __VLS_export$38;
909
+ type __VLS_WithSlots$29<T, S> = T & {
910
+ new (): {
911
+ $slots: S;
912
+ };
913
+ };
914
+ //#endregion
915
+ //#region src/ContextMenu/ContextMenuDivider.vue.d.ts
916
+ declare const __VLS_export$37: import("vue").DefineComponent<ContextMenuDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuDividerProps> & Readonly<{}>, {
917
+ variant: "subtle" | "strong";
918
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
919
+ declare const _default$37: typeof __VLS_export$37;
920
+ //#endregion
921
+ //#region src/ContextMenu/ContextMenuGroup.vue.d.ts
922
+ type __VLS_Slots$28 = ContextMenuGroupSlots;
923
+ declare const __VLS_base$28: import("vue").DefineComponent<ContextMenuGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
924
+ declare const __VLS_export$36: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
925
+ declare const _default$36: typeof __VLS_export$36;
926
+ type __VLS_WithSlots$28<T, S> = T & {
927
+ new (): {
928
+ $slots: S;
929
+ };
930
+ };
931
+ //#endregion
932
+ //#region src/ContextMenu/ContextMenuItem.vue.d.ts
933
+ type __VLS_Slots$27 = ContextMenuItemSlots;
934
+ declare const __VLS_base$27: import("vue").DefineComponent<ContextMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
935
+ click: (event: MouseEvent) => any;
936
+ }, string, import("vue").PublicProps, Readonly<ContextMenuItemProps> & Readonly<{
937
+ onClick?: ((event: MouseEvent) => any) | undefined;
938
+ }>, {
939
+ isDisabled: boolean;
940
+ variant: ContextMenuVariant;
941
+ hasCloseOnSelect: boolean;
942
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
943
+ declare const __VLS_export$35: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
944
+ declare const _default$35: typeof __VLS_export$35;
945
+ type __VLS_WithSlots$27<T, S> = T & {
946
+ new (): {
947
+ $slots: S;
948
+ };
949
+ };
950
+ //#endregion
951
+ //#region src/ContextMenu/ContextMenuSubMenu.vue.d.ts
952
+ type __VLS_Slots$26 = ContextMenuSubMenuSlots;
953
+ declare const __VLS_base$26: import("vue").DefineComponent<ContextMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
954
+ openChange: (isOpen: boolean) => any;
955
+ select: (item: ContextMenuItemData, event: MouseEvent) => any;
956
+ }, string, import("vue").PublicProps, Readonly<ContextMenuSubMenuProps> & Readonly<{
957
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
958
+ onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
959
+ }>, {
960
+ isDisabled: boolean;
961
+ presentation: DropdownMenuSubMenuPresentation;
962
+ hasSpinner: boolean;
963
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
375
964
  declare const __VLS_export$34: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
376
965
  declare const _default$34: typeof __VLS_export$34;
377
966
  type __VLS_WithSlots$26<T, S> = T & {
@@ -393,10 +982,18 @@ type DateInputFormat = DateInputFormatName | ((iso: string) => string);
393
982
  * Which surface opens for the calendar.
394
983
  *
395
984
  * `popover` is the desktop calendar. `bottom-sheet` always uses a bottom sheet.
396
- * `adaptive-bottom-sheet` uses a bottom sheet for a coarse pointer and the
397
- * popover otherwise, matching the original `(pointer: coarse)` check.
985
+ * `native` always uses the system date control. `adaptive-bottom-sheet` uses a
986
+ * bottom sheet for a coarse pointer. `adaptive-native` uses the system control
987
+ * for a coarse pointer and the popover otherwise. When neither this nor
988
+ * `nativePicker` is set, the field follows `adaptive-native`.
989
+ */
990
+ type DateInputPresentation = DatePresentation;
991
+ /**
992
+ * Older name for the picker surface.
993
+ * `touch` follows the pointer, `always` uses the system control, `never` keeps the calendar.
994
+ * `presentation` wins when both are set.
398
995
  */
399
- type DateInputPresentation = 'popover' | 'bottom-sheet' | 'adaptive-bottom-sheet';
996
+ type DateInputNativePicker = NativePicker;
400
997
  /** Legacy string status. Prefer `{ type, message }` so the message is visible. */
401
998
  type DateInputStatusType = 'default' | FieldStatusType;
402
999
  type DateInputStatus = DateInputStatusType | FieldStatusInput;
@@ -415,6 +1012,8 @@ interface DateInputProps {
415
1012
  max?: Date;
416
1013
  /** 禁用的日期判断函数 */
417
1014
  isDateDisabled?: (date: Date) => boolean;
1015
+ /** 任一函数返回 false 时禁用这一天。 */
1016
+ dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
418
1017
  /** 表单字段名 */
419
1018
  name?: string;
420
1019
  /** 输入框标签。传入后会显示在字段上方。 */
@@ -423,10 +1022,22 @@ interface DateInputProps {
423
1022
  description?: string;
424
1023
  /** 只把标签留给读屏,不显示出来。 */
425
1024
  isLabelHidden?: boolean;
1025
+ /** 在标签旁标成可选。 */
1026
+ isOptional?: boolean;
1027
+ /** 把字段标成必填。 */
1028
+ isRequired?: boolean;
1029
+ /** 标签末尾信息图标里的说明。 */
1030
+ labelTooltip?: string;
426
1031
  /** 是否禁用 */
427
1032
  disabled?: boolean;
428
1033
  /** 禁用原因 */
429
1034
  disabledReason?: string;
1035
+ /** 正在提交。字段不可改,并显示加载指示。 */
1036
+ isLoading?: boolean;
1037
+ /**
1038
+ * 值已经提交之后再跑。返回 Promise 时,字段保持加载直到它结束。
1039
+ */
1040
+ changeAction?: (value: Date | null) => void | Promise<void>;
430
1041
  /** 是否可清除 */
431
1042
  clearable?: boolean;
432
1043
  /** 清除按钮标签 */
@@ -445,8 +1056,16 @@ interface DateInputProps {
445
1056
  * 函数参数是 `YYYY-MM-DD`,只作用于已提交的值,不作用于正在输入的文本。
446
1057
  */
447
1058
  format?: DateInputFormat;
448
- /** 日历的打开方式。默认 `popover`。 */
1059
+ /** 日历的打开方式。不传时,鼠标用弹出层,触摸设备用系统日期控件。 */
449
1060
  presentation?: DateInputPresentation;
1061
+ /** 旧的打开方式。同时传了 `presentation` 时以 `presentation` 为准。 */
1062
+ nativePicker?: DateInputNativePicker;
1063
+ /** 弹出日历并排的月份数。系统日期控件表达不了这项。 */
1064
+ numberOfMonths?: 1 | 2;
1065
+ /** 弹出日历从哪一天开始一周。系统日期控件表达不了这项。 */
1066
+ weekStartsOn?: WeekStartsOn;
1067
+ /** 整段字段的宽度。数字按像素算。 */
1068
+ width?: number | string;
450
1069
  }
451
1070
  interface DateInputEmits {
452
1071
  (event: 'update:modelValue', value: Date | null): void;
@@ -461,19 +1080,29 @@ interface DateInputSlots {
461
1080
  //#endregion
462
1081
  //#region src/DateInput/DateInput.vue.d.ts
463
1082
  type __VLS_Slots$25 = DateInputSlots;
464
- declare const __VLS_base$25: import("vue").DefineComponent<DateInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
1083
+ declare function parseDate(str: string): Date | null;
1084
+ declare function onCalendarChange(date: Date | null): void;
1085
+ declare function onClear(event: Event): void;
1086
+ declare const __VLS_base$25: import("vue").DefineComponent<DateInputProps, {
1087
+ inputValue: import("vue").Ref<string, string>;
1088
+ isOpen: import("vue").Ref<boolean, boolean>;
1089
+ onCalendarChange: typeof onCalendarChange;
1090
+ onClear: typeof onClear;
1091
+ parseDate: typeof parseDate;
1092
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
465
1093
  change: (value: Date | null) => any;
466
1094
  "update:modelValue": (value: Date | null) => any;
467
1095
  }, string, import("vue").PublicProps, Readonly<DateInputProps> & Readonly<{
468
1096
  onChange?: ((value: Date | null) => any) | undefined;
469
1097
  "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
470
1098
  }>, {
471
- size: "sm" | "md" | "lg";
1099
+ size: "md" | "sm" | "lg";
1100
+ isLoading: boolean;
472
1101
  modelValue: Date | null;
473
1102
  statusVariant: "tooltip" | FieldStatusVariant;
474
1103
  disabled: boolean;
475
1104
  clearable: boolean;
476
- presentation: DateInputPresentation;
1105
+ numberOfMonths: 1 | 2;
477
1106
  format: DateInputFormat;
478
1107
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
479
1108
  declare const __VLS_export$33: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
@@ -498,8 +1127,12 @@ interface DateRangeInputProps {
498
1127
  placeholder?: string;
499
1128
  presets?: readonly DateRangePreset[];
500
1129
  monthCount?: number;
1130
+ /** 并排月份数。传了这项时优先于 monthCount。 */
1131
+ numberOfMonths?: 1 | 2;
501
1132
  min?: string;
502
1133
  max?: string;
1134
+ /** 任一函数返回 false 时禁用这一天。 */
1135
+ dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
503
1136
  minRangeSpan?: number;
504
1137
  maxRangeSpan?: number;
505
1138
  weekStartsOn?: WeekStartsOn;
@@ -507,9 +1140,13 @@ interface DateRangeInputProps {
507
1140
  clearLabel?: string;
508
1141
  size?: 'sm' | 'md' | 'lg';
509
1142
  isDisabled?: boolean;
1143
+ isLoading?: boolean;
1144
+ /** 值提交之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
1145
+ changeAction?: (value: DateRange | null) => void | Promise<void>;
510
1146
  isRequired?: boolean;
511
1147
  isOptional?: boolean;
512
1148
  isLabelHidden?: boolean;
1149
+ labelTooltip?: string;
513
1150
  status?: FieldStatusInput;
514
1151
  statusVariant?: FieldStatusVariant | 'tooltip';
515
1152
  width?: number | string;
@@ -532,7 +1169,8 @@ declare const __VLS_export$32: import("vue").DefineComponent<__VLS_PublicProps$1
532
1169
  onChange?: ((value: ISODateRange | null) => any) | undefined;
533
1170
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
534
1171
  }>, {
535
- size: "sm" | "md" | "lg";
1172
+ size: "md" | "sm" | "lg";
1173
+ isLoading: boolean;
536
1174
  modelValue: ISODateRange | null;
537
1175
  statusVariant: "tooltip" | FieldStatusVariant;
538
1176
  hasClear: boolean;
@@ -557,11 +1195,19 @@ interface DateTimeInputProps {
557
1195
  size?: DateTimeInputSize;
558
1196
  min?: string;
559
1197
  max?: string;
1198
+ /** 任一函数返回 false 时,日期那一半禁用这一天。 */
1199
+ dateConstraints?: ReadonlyArray<(date: Date) => boolean>;
1200
+ numberOfMonths?: 1 | 2;
1201
+ weekStartsOn?: WeekStartsOn;
560
1202
  isDisabled?: boolean;
1203
+ isLoading?: boolean;
1204
+ /** 日期和时间都齐了之后再跑。返回 Promise 时,字段保持加载直到它结束。 */
1205
+ changeAction?: (value: string | null) => void | Promise<void>;
561
1206
  isReadOnly?: boolean;
562
1207
  isRequired?: boolean;
563
1208
  isOptional?: boolean;
564
1209
  isLabelHidden?: boolean;
1210
+ labelTooltip?: string;
565
1211
  status?: FieldStatusInput;
566
1212
  statusVariant?: FieldStatusVariant | 'tooltip';
567
1213
  width?: number | string;
@@ -585,10 +1231,11 @@ declare const __VLS_export$31: import("vue").DefineComponent<__VLS_PublicProps$1
585
1231
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
586
1232
  }>, {
587
1233
  size: DateTimeInputSize;
1234
+ isLoading: boolean;
588
1235
  modelValue: string | null;
589
1236
  statusVariant: "tooltip" | FieldStatusVariant;
590
- hourFormat: HourFormat;
591
1237
  hasClear: boolean;
1238
+ hourFormat: HourFormat;
592
1239
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
593
1240
  declare const _default$31: typeof __VLS_export$31;
594
1241
  //#endregion
@@ -1022,8 +1669,8 @@ declare const __VLS_base$20: import("vue").DefineComponent<__VLS_PublicProps$7,
1022
1669
  onChange?: ((value: RadioValue, event: RadioChangeEvent) => any) | undefined;
1023
1670
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
1024
1671
  }>, {
1025
- size: RadioSize;
1026
1672
  orientation: RadioOrientation;
1673
+ size: RadioSize;
1027
1674
  statusVariant: "tooltip" | FieldStatusVariant;
1028
1675
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1029
1676
  declare const __VLS_export$25: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
@@ -1147,8 +1794,8 @@ declare const __VLS_base$17: import("vue").DefineComponent<__VLS_PublicProps$6,
1147
1794
  onChange?: ((isSelected: boolean) => any) | undefined;
1148
1795
  "onUpdate:isSelected"?: ((value: boolean) => any) | undefined;
1149
1796
  }>, {
1150
- elevation: CardElevation;
1151
1797
  isDisabled: boolean;
1798
+ elevation: CardElevation;
1152
1799
  variant: CardVariant;
1153
1800
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1154
1801
  declare const __VLS_export$22: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
@@ -1188,6 +1835,27 @@ interface SideNavItemCollapsible {
1188
1835
  defaultIsCollapsed?: boolean;
1189
1836
  isCollapsed?: boolean;
1190
1837
  }
1838
+ interface SideNavResizable {
1839
+ /** 初始宽度,像素。 @default 260 */
1840
+ defaultWidth?: number;
1841
+ /** 最小宽度,像素。 @default 180 */
1842
+ minWidth?: number;
1843
+ /** 最大宽度,像素。 @default 480 */
1844
+ maxWidth?: number;
1845
+ /** 把宽度和收起状态记在 localStorage,键名以 `astryx-resizable:` 开头。 */
1846
+ autoSaveId?: string;
1847
+ onWidthChange?: (width: number) => void;
1848
+ /** 由拖拽配置拥有收起状态。和 `collapsible` 同时写时,以这里为准。 */
1849
+ defaultIsCollapsed?: boolean;
1850
+ isCollapsed?: boolean;
1851
+ onCollapseChange?: (isCollapsed: boolean) => void;
1852
+ }
1853
+ interface SideNavHandle {
1854
+ readonly isCollapsed: boolean;
1855
+ toggle: () => void;
1856
+ collapse: () => void;
1857
+ expand: () => void;
1858
+ }
1191
1859
  interface SideNavProps {
1192
1860
  /** 导航地标的无障碍名称。默认走当前语言的「侧边导航」。 */
1193
1861
  label?: string;
@@ -1199,10 +1867,22 @@ interface SideNavProps {
1199
1867
  collapsible?: boolean | SideNavCollapsible;
1200
1868
  /** 受控收起状态,配合 `v-model:isCollapsed`。 */
1201
1869
  isCollapsed?: boolean;
1870
+ /**
1871
+ * 在结束边拖宽度。`true` 使用 260px 初始、180–480px 范围。
1872
+ * 收起后把手隐藏。拖到 160px 以下会收起(需要同时可收起)。
1873
+ * @default false
1874
+ */
1875
+ resizable?: boolean | SideNavResizable;
1876
+ /**
1877
+ * 侧栏外面的收起按钮可以拿这个句柄。
1878
+ * 和根元素的模板 ref 分开。更常见的做法是两边共用 `v-model:is-collapsed`。
1879
+ */
1880
+ handleRef?: HandleRef<SideNavHandle>;
1202
1881
  }
1203
1882
  interface SideNavEmits {
1204
1883
  'update:isCollapsed': [isCollapsed: boolean];
1205
1884
  'collapsedChange': [isCollapsed: boolean];
1885
+ 'widthChange': [width: number];
1206
1886
  }
1207
1887
  interface SideNavSlots {
1208
1888
  default?: () => unknown;
@@ -1223,6 +1903,10 @@ interface SideNavSectionSlots {
1223
1903
  default?: () => unknown;
1224
1904
  end?: () => unknown;
1225
1905
  }
1906
+ interface SideNavHeadingMenuScope {
1907
+ close: () => void;
1908
+ focusRequest: NavMenuFocusRequest;
1909
+ }
1226
1910
  interface SideNavHeadingProps {
1227
1911
  /** 产品或应用名称。 */
1228
1912
  heading: string;
@@ -1231,11 +1915,16 @@ interface SideNavHeadingProps {
1231
1915
  superheadingHref?: string;
1232
1916
  subheading?: string;
1233
1917
  subheadingHref?: string;
1918
+ /**
1919
+ * 标志单独成链接、旁边没有可读文字时的无障碍名称。
1920
+ * 不传则用 `heading`。
1921
+ */
1922
+ logoLabel?: string;
1234
1923
  as?: NavLinkComponent;
1235
1924
  }
1236
1925
  interface SideNavHeadingSlots {
1237
1926
  icon?: () => unknown;
1238
- menu?: () => unknown;
1927
+ menu?: (props: SideNavHeadingMenuScope) => unknown;
1239
1928
  end?: () => unknown;
1240
1929
  }
1241
1930
  interface SideNavItemProps {
@@ -1279,10 +1968,13 @@ type __VLS_Slots$16 = SideNavSlots;
1279
1968
  declare const __VLS_base$16: import("vue").DefineComponent<SideNavProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1280
1969
  "update:isCollapsed": (isCollapsed: boolean) => any;
1281
1970
  collapsedChange: (isCollapsed: boolean) => any;
1971
+ widthChange: (width: number) => any;
1282
1972
  }, string, import("vue").PublicProps, Readonly<SideNavProps> & Readonly<{
1283
1973
  "onUpdate:isCollapsed"?: ((isCollapsed: boolean) => any) | undefined;
1284
1974
  onCollapsedChange?: ((isCollapsed: boolean) => any) | undefined;
1975
+ onWidthChange?: ((width: number) => any) | undefined;
1285
1976
  }>, {
1977
+ resizable: boolean | SideNavResizable;
1286
1978
  collapsible: boolean | SideNavCollapsible;
1287
1979
  isCollapsed: boolean;
1288
1980
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1482,15 +2174,15 @@ declare const __VLS_base$11: import("vue").DefineComponent<__VLS_PublicProps$4,
1482
2174
  blur: typeof blur$2;
1483
2175
  select: typeof select$1;
1484
2176
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1485
- clear: (event: MouseEvent) => any;
1486
2177
  change: (value: string, event: TextAreaChangeEvent) => any;
2178
+ clear: (event: MouseEvent) => any;
1487
2179
  "update:modelValue": (value: string) => any;
1488
2180
  enter: (event: KeyboardEvent) => any;
1489
2181
  keydown: (event: KeyboardEvent) => any;
1490
2182
  actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
1491
2183
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
1492
- onClear?: ((event: MouseEvent) => any) | undefined;
1493
2184
  onChange?: ((value: string, event: TextAreaChangeEvent) => any) | undefined;
2185
+ onClear?: ((event: MouseEvent) => any) | undefined;
1494
2186
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1495
2187
  onEnter?: ((event: KeyboardEvent) => any) | undefined;
1496
2188
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
@@ -1569,22 +2261,22 @@ declare const __VLS_base$10: import("vue").DefineComponent<__VLS_PublicProps$3,
1569
2261
  blur: typeof blur$1;
1570
2262
  select: typeof select;
1571
2263
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1572
- clear: (event: MouseEvent) => any;
1573
2264
  change: (value: string, event: TextInputChangeEvent) => any;
2265
+ clear: (event: MouseEvent) => any;
1574
2266
  "update:modelValue": (value: string) => any;
1575
2267
  enter: (event: KeyboardEvent) => any;
1576
2268
  keydown: (event: KeyboardEvent) => any;
1577
2269
  actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
1578
2270
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
1579
- onClear?: ((event: MouseEvent) => any) | undefined;
1580
2271
  onChange?: ((value: string, event: TextInputChangeEvent) => any) | undefined;
2272
+ onClear?: ((event: MouseEvent) => any) | undefined;
1581
2273
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1582
2274
  onEnter?: ((event: KeyboardEvent) => any) | undefined;
1583
2275
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
1584
2276
  onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
1585
2277
  }>, {
1586
- size: TextInputSize;
1587
2278
  type: TextInputType;
2279
+ size: TextInputSize;
1588
2280
  loadingLabel: string;
1589
2281
  statusVariant: "tooltip" | FieldStatusVariant;
1590
2282
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1644,10 +2336,10 @@ declare const __VLS_export$13: import("vue").DefineComponent<__VLS_PublicProps$2
1644
2336
  size: TimeInputSize;
1645
2337
  modelValue: string | null;
1646
2338
  statusVariant: "tooltip" | FieldStatusVariant;
2339
+ hasClear: boolean;
1647
2340
  hourFormat: HourFormat;
1648
2341
  hasSeconds: boolean;
1649
2342
  increment: number;
1650
- hasClear: boolean;
1651
2343
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1652
2344
  declare const _default$13: typeof __VLS_export$13;
1653
2345
  //#endregion
@@ -1658,11 +2350,11 @@ interface FormatInstantOptions {
1658
2350
  isTimezoneShown?: boolean;
1659
2351
  timeZoneNameStyle?: 'short' | 'long';
1660
2352
  }
1661
- declare function formatInstant(date: Date, format: InstantFormat, locale: AstryxLocale, { timeZone, isTimezoneShown, timeZoneNameStyle }?: FormatInstantOptions): string;
2353
+ declare function formatInstant(date: Date, format: InstantFormat, locale: string, { timeZone, isTimezoneShown, timeZoneNameStyle }?: FormatInstantOptions): string;
1662
2354
  //#endregion
1663
2355
  //#region src/Timestamp/formatRelativeTime.d.ts
1664
2356
  type RelativeTimeStyle = 'long' | 'narrow';
1665
- declare function formatRelativeTime(date: Date, now: Date, locale: AstryxLocale, style: RelativeTimeStyle): string;
2357
+ declare function formatRelativeTime(date: Date, now: Date, locale: string, style: RelativeTimeStyle): string;
1666
2358
  //#endregion
1667
2359
  //#region src/Timestamp/tooltipEntries.d.ts
1668
2360
  type TimestampTooltipFormat = InstantFormat;
@@ -1677,7 +2369,7 @@ interface TimestampTooltipLine {
1677
2369
  value: string;
1678
2370
  isCopyable: boolean;
1679
2371
  }
1680
- declare function formatTooltipLines(date: Date, entries: readonly TimestampTooltipEntry[], locale: AstryxLocale): TimestampTooltipLine[];
2372
+ declare function formatTooltipLines(date: Date, entries: readonly TimestampTooltipEntry[], locale: string): TimestampTooltipLine[];
1681
2373
  //#endregion
1682
2374
  //#region src/Timestamp/types.d.ts
1683
2375
  type TimestampFormat = 'relative' | 'relative_short' | 'auto' | 'date' | 'date_long' | 'date_weekday' | 'date_time' | 'time' | 'system_date' | 'system_date_time' | 'system_time' | 'unix_seconds';
@@ -1925,8 +2617,8 @@ declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps$1, {
1925
2617
  "onUpdate:isPressed"?: ((value: boolean) => any) | undefined;
1926
2618
  onPressedChange?: ((isPressed: boolean, event: MouseEvent) => any) | undefined;
1927
2619
  }>, {
1928
- elevation: ButtonElevation;
1929
2620
  isDisabled: boolean;
2621
+ elevation: ButtonElevation;
1930
2622
  isLoading: boolean;
1931
2623
  isIconOnly: boolean;
1932
2624
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1952,10 +2644,10 @@ declare const __VLS_base$8: import("vue").DefineComponent<__VLS_PublicProps, {},
1952
2644
  "onUpdate:value"?: ((value: ToggleButtonGroupValue) => any) | undefined;
1953
2645
  onChange?: ((value: ToggleButtonGroupValue) => any) | undefined;
1954
2646
  }>, {
1955
- size: ButtonSize;
1956
- isDisabled: boolean;
1957
2647
  type: ToggleButtonGroupType;
1958
2648
  orientation: ToggleButtonGroupOrientation;
2649
+ size: ButtonSize;
2650
+ isDisabled: boolean;
1959
2651
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1960
2652
  declare const __VLS_export$10: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
1961
2653
  declare const _default$10: typeof __VLS_export$10;
@@ -1993,9 +2685,9 @@ interface ToolbarSlots {
1993
2685
  //#region src/Toolbar/Toolbar.vue.d.ts
1994
2686
  type __VLS_Slots$7 = ToolbarSlots;
1995
2687
  declare const __VLS_base$7: import("vue").DefineComponent<ToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarProps> & Readonly<{}>, {
2688
+ orientation: ToolbarOrientation;
1996
2689
  size: ToolbarSize;
1997
2690
  variant: ToolbarVariant;
1998
- orientation: ToolbarOrientation;
1999
2691
  gap: SpacingStep;
2000
2692
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2001
2693
  declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
@@ -2024,12 +2716,41 @@ interface TopNavSlots {
2024
2716
  end?: () => unknown;
2025
2717
  }
2026
2718
  interface TopNavHeadingProps {
2027
- heading: string;
2719
+ /** 产品或应用名称。只有标志、没有文字时可以不传。 */
2720
+ heading?: string;
2721
+ /**
2722
+ * 主标题的链接。只有这一处有链接、且没有菜单时,整段标题是一个链接。
2723
+ * `headingHref` 优先。
2724
+ */
2028
2725
  href?: string;
2726
+ /** 和 `href` 相同,写出来是为了和侧栏标题对齐。 */
2727
+ headingHref?: string;
2728
+ /** 标题上方的小字,例如套件名。 */
2729
+ superheading?: string;
2730
+ superheadingHref?: string;
2731
+ /** 标题下方的小字,例如当前账户。 */
2732
+ subheading?: string;
2733
+ subheadingHref?: string;
2734
+ /**
2735
+ * 标志单独成链接、旁边没有可读文字时的无障碍名称。
2736
+ * 不传则用 `heading`。标志不是链接时忽略。
2737
+ */
2738
+ logoLabel?: string;
2739
+ /** 链接根组件。只在有地址时使用。 */
2029
2740
  as?: NavLinkComponent;
2030
2741
  }
2742
+ interface TopNavHeadingMenuScope {
2743
+ close: () => void;
2744
+ focusRequest: NavMenuFocusRequest;
2745
+ }
2031
2746
  interface TopNavHeadingSlots {
2747
+ /** 标题前的标志。和 `icon` 是同一个位置,`logo` 优先。 */
2748
+ logo?: () => unknown;
2032
2749
  icon?: () => unknown;
2750
+ /** 标题行末尾,例如徽章。 */
2751
+ end?: () => unknown;
2752
+ /** 弹出菜单。没有链接时整段标题打开它;有链接时只有箭头打开它。 */
2753
+ menu?: (props: TopNavHeadingMenuScope) => unknown;
2033
2754
  }
2034
2755
  interface TopNavItemProps {
2035
2756
  label: string;
@@ -2090,7 +2811,21 @@ interface TopNavMegaMenuItemSlots {
2090
2811
  interface TopNavMegaMenuFeaturedCardProps {
2091
2812
  title: string;
2092
2813
  description?: string;
2814
+ /**
2815
+ * 整张卡片的链接。同时写了 `linkLabel` 时,链接改到卡片底部的行动文字上。
2816
+ */
2093
2817
  href?: string;
2818
+ /** 正文上方的图片地址。 */
2819
+ image?: string;
2820
+ /**
2821
+ * 图片的替代文本。不传时图片是装饰,读屏会跳过。
2822
+ * 卡片已经有标题,通常不用写。
2823
+ */
2824
+ imageAlt?: string;
2825
+ /** 卡片底部的行动文字。和 `linkHref` 或 `href` 一起出现。 */
2826
+ linkLabel?: string;
2827
+ /** 行动文字的地址。不传则用 `href`。 */
2828
+ linkHref?: string;
2094
2829
  as?: NavLinkComponent;
2095
2830
  }
2096
2831
  interface TopNavMegaMenuFeaturedCardSlots {
@@ -2251,4 +2986,4 @@ type __VLS_WithSlots<T, S> = T & {
2251
2986
  declare const __VLS_export: import("vue").DefineComponent<AvatarGroupOverflowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupOverflowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2252
2987
  declare const _default: typeof __VLS_export;
2253
2988
  //#endregion
2254
- export { formatRelativeTime as $, DateRangeInputEmits as $n, SelectableCardEmits as $t, ToggleButtonElevation as A, MoreMenuIcon as An, ButtonGroupSlots as Ar, SwitchChangeEvent as At, ToggleButtonGroupValue as B, _default$30 as Bn, _default$20 as Bt, _default$9 as C, _default$28 as Cn, CheckboxInputChangeEvent as Cr, TextAreaSize as Ct, _default$10 as D, _default$29 as Dn, CheckboxValue as Dr, TextAreaWrap as Dt, ToolbarSize as E, OverflowListProps as En, CheckboxInputSlots as Er, TextAreaStatusType as Et, ToggleButtonGroupOrientation as F, MoreMenuPresentation as Fn, BannerProps as Fr, SwitchStatus as Ft, _default$12 as G, FileInputStatus as Gn, SideNavHeadingProps as Gt, ToggleButtonProps as H, FileInputMode as Hn, SideNavCollapseButtonProps as Ht, ToggleButtonGroupProps as I, MoreMenuProps as In, BannerSlots as Ir, SwitchStatusType as It, TimestampProps as J, DateTimeInputEmits as Jn, SideNavProps as Jt, TimestampColor as K, FileInputValue as Kn, SideNavItemEmits as Kt, ToggleButtonGroupSingleProps as L, MoreMenuResolvedPresentation as Ln, BannerStatus as Lr, _default$17 as Lt, ToggleButtonGroupBaseProps as M, MoreMenuItem as Mn, _default$39 as Mr, SwitchProps as Mt, ToggleButtonGroupEmits as N, MoreMenuItemVariant as Nn, BannerContainer as Nr, SwitchSize as Nt, _default$11 as O, MoreMenuDivider as On, _default$38 as Or, _default$16 as Ot, ToggleButtonGroupMultipleProps as P, MoreMenuOption as Pn, BannerEmits as Pr, SwitchSlots as Pt, formatTooltipLines as Q, DateRange as Qn, _default$22 as Qt, ToggleButtonGroupSlots as R, MoreMenuSection as Rn, _default$18 as Rt, TopNavProps as S, RadioValue as Sn, CheckboxInputChangeAction as Sr, TextAreaResize as St, ToolbarProps as T, OverflowListItem as Tn, CheckboxInputProps as Tr, TextAreaStatus as Tt, ToggleButtonSize as U, FileInputProps as Un, SideNavCollapsible as Ut, ToggleButtonPressedChangeHandler as V, FileInputEmits as Vn, _default$21 as Vt, ToggleButtonSlots as W, FileInputSize as Wn, SideNavEmits as Wt, TimestampTooltipFormat as X, DateTimeInputSize as Xn, SideNavCollapseContext as Xt, TimestampTooltipEntry as Y, DateTimeInputProps as Yn, SideNavSectionProps as Yt, TimestampTooltipLine as Z, _default$32 as Zn, useSideNavCollapse as Zt, TopNavMegaMenuItemProps as _, RadioProps as _n, CheckboxListEmits as _r, _default$15 as _t, _default$2 as a, _default$24 as an, DateInputFormatName as ar, TimeInputProps as at, TopNavMenuItem as b, RadioStatus as bn, CheckboxListProps as br, TextAreaEmits as bt, _default$5 as c, _default$26 as cn, DateInputSlots as cr, TextInputChangeAction as ct, _default$8 as d, RadioGroupEmits as dn, _default$34 as dr, TextInputProps as dt, SelectableCardProps as en, DateRangeInputProps as er, FormatInstantOptions as et, TopNavHeadingProps as f, RadioGroupProps as fn, ClickableCardEmits as fr, TextInputSize as ft, TopNavMegaMenuFeaturedCardProps as g, RadioOrientation as gn, _default$36 as gr, TextInputType as gt, TopNavMegaMenuEmits as h, RadioOption as hn, _default$35 as hr, TextInputStatusType as ht, AvatarGroupProps as i, ScrollableAreaSlots as in, DateInputFormat as ir, TimeInputEmits as it, ToggleButtonEmits as j, MoreMenuInitialFocus as jn, ButtonGroupOrientation as jr, SwitchEmits as jt, ToggleButtonChangeAction as k, MoreMenuEmits as kn, ButtonGroupProps as kr, SwitchChangeAction as kt, _default$6 as l, _default$27 as ln, DateInputStatus as lr, TextInputChangeEvent as lt, TopNavItemProps as m, RadioListProps as mn, ClickableCardSlots as mr, TextInputStatus as mt, _default$1 as n, _default$23 as nn, _default$33 as nr, formatInstant as nt, _default$3 as o, RadioListItemProps as on, DateInputPresentation as or, TimeInputSize as ot, TopNavItemEmits as p, RadioGroupSlots as pn, ClickableCardProps as pr, TextInputSlots as pt, TimestampFormat as q, _default$31 as qn, SideNavItemProps as qt, AvatarGroupOverflowProps as r, ScrollableAreaProps as rn, DateInputEmits as rr, _default$13 as rt, _default$4 as s, _default$25 as sn, DateInputProps as sr, _default$14 as st, _default as t, SelectableCardSlots as tn, DateRangePreset as tr, InstantFormat as tt, _default$7 as u, RadioChangeEvent as un, DateInputStatusType as ur, TextInputEmits as ut, TopNavMegaMenuProps as v, RadioSize as vn, CheckboxListItemEmits as vr, TextAreaChangeAction as vt, ToolbarOrientation as w, OverflowListEmits as wn, CheckboxInputEmits as wr, TextAreaSlots as wt, TopNavMenuProps as x, RadioStatusType as xn, _default$37 as xr, TextAreaProps as xt, TopNavMenuEmits as y, RadioSlots as yn, CheckboxListItemProps as yr, TextAreaChangeEvent as yt, ToggleButtonGroupType as z, MoreMenuSlots as zn, _default$19 as zt };
2989
+ export { formatRelativeTime as $, _default$32 as $n, _default$41 as $r, useSideNavCollapse as $t, ToggleButtonElevation as A, MoreMenuDivider as An, ContextMenuItemIcon as Ar, SwitchChangeEvent as At, ToggleButtonGroupValue as B, MoreMenuSection as Bn, ContextMenuSize as Br, _default$20 as Bt, _default$9 as C, BannerContainer as Ci, RadioStatusType as Cn, ContextMenuDividerProps as Cr, TextAreaSize as Ct, _default$10 as D, BannerStatus as Di, OverflowListItem as Dn, ContextMenuGroupSlots as Dr, TextAreaWrap as Dt, ToolbarSize as E, BannerSlots as Ei, OverflowListEmits as En, ContextMenuGroupProps as Er, TextAreaStatusType as Et, ToggleButtonGroupOrientation as F, MoreMenuItemVariant as Fn, ContextMenuPresentation as Fr, SwitchStatus as Ft, _default$12 as G, FileInputProps as Gn, ContextMenuTriggerElement as Gr, SideNavHandle as Gt, ToggleButtonProps as H, _default$30 as Hn, ContextMenuSubMenuEmits as Hr, SideNavCollapseButtonProps as Ht, ToggleButtonGroupProps as I, MoreMenuOption as In, ContextMenuProps as Ir, SwitchStatusType as It, TimestampProps as J, FileInputValue as Jn, _default$39 as Jr, SideNavItemProps as Jt, TimestampColor as K, FileInputSize as Kn, ContextMenuVariant as Kr, SideNavHeadingProps as Kt, ToggleButtonGroupSingleProps as L, MoreMenuPresentation as Ln, ContextMenuRadioData as Lr, _default$17 as Lt, ToggleButtonGroupBaseProps as M, MoreMenuIcon as Mn, ContextMenuItemSlots as Mr, SwitchProps as Mt, ToggleButtonGroupEmits as N, MoreMenuInitialFocus as Nn, ContextMenuItemTarget as Nr, SwitchSize as Nt, _default$11 as O, OverflowListProps as On, ContextMenuItemData as Or, _default$16 as Ot, ToggleButtonGroupMultipleProps as P, MoreMenuItem as Pn, ContextMenuOption as Pr, SwitchSlots as Pt, formatTooltipLines as Q, DateTimeInputSize as Qn, _default$40 as Qr, SideNavCollapseContext as Qt, ToggleButtonGroupSlots as R, MoreMenuProps as Rn, ContextMenuRadioOptionData as Rr, _default$18 as Rt, TopNavProps as S, _default$45 as Si, RadioStatus as Sn, ContextMenuDividerData as Sr, TextAreaResize as St, ToolbarProps as T, BannerProps as Ti, _default$28 as Tn, ContextMenuEntry as Tr, TextAreaStatus as Tt, ToggleButtonSize as U, FileInputEmits as Un, ContextMenuSubMenuProps as Ur, SideNavCollapsible as Ut, ToggleButtonPressedChangeHandler as V, MoreMenuSlots as Vn, ContextMenuSlots as Vr, _default$21 as Vt, ToggleButtonSlots as W, FileInputMode as Wn, ContextMenuSubMenuSlots as Wr, SideNavEmits as Wt, TimestampTooltipFormat as X, DateTimeInputEmits as Xn, ClickableCardProps as Xr, SideNavResizable as Xt, TimestampTooltipEntry as Y, _default$31 as Yn, ClickableCardEmits as Yr, SideNavProps as Yt, TimestampTooltipLine as Z, DateTimeInputProps as Zn, ClickableCardSlots as Zr, SideNavSectionProps as Zt, TopNavMegaMenuItemProps as _, CalendarSlots as _i, RadioOption as _n, _default$37 as _r, _default$15 as _t, _default$2 as a, CheckboxInputChangeAction as ai, ScrollableAreaProps as an, DateInputEmits as ar, TimeInputProps as at, TopNavMenuItem as b, ButtonGroupSlots as bi, RadioSize as bn, useContextMenuSize as br, TextAreaEmits as bt, _default$5 as c, CheckboxInputProps as ci, RadioListItemProps as cn, DateInputNativePicker as cr, TextInputChangeAction as ct, _default$8 as d, _default$43 as di, _default$27 as dn, DateInputSlots as dr, TextInputProps as dt, CheckboxListEmits as ei, _default$22 as en, DateRange as er, FormatInstantOptions as et, TopNavHeadingProps as f, CalendarEmits as fi, RadioChangeEvent as fn, DateInputStatus as fr, TextInputSize as ft, TopNavMegaMenuFeaturedCardProps as g, CalendarRangeValue as gi, RadioListProps as gn, _default$36 as gr, TextInputType as gt, TopNavMegaMenuEmits as h, CalendarProps as hi, RadioGroupSlots as hn, _default$35 as hr, TextInputStatusType as ht, AvatarGroupProps as i, _default$42 as ii, _default$23 as in, _default$33 as ir, TimeInputEmits as it, ToggleButtonEmits as j, MoreMenuEmits as jn, ContextMenuItemProps as jr, SwitchEmits as jt, ToggleButtonChangeAction as k, _default$29 as kn, ContextMenuItemEmits as kr, SwitchChangeAction as kt, _default$6 as l, CheckboxInputSlots as li, _default$25 as ln, DateInputPresentation as lr, TextInputChangeEvent as lt, TopNavItemProps as m, CalendarHandleRef as mi, RadioGroupProps as mn, _default$34 as mr, TextInputStatus as mt, _default$1 as n, CheckboxListItemProps as ni, SelectableCardProps as nn, DateRangeInputProps as nr, formatInstant as nt, _default$3 as o, CheckboxInputChangeEvent as oi, ScrollableAreaSlots as on, DateInputFormat as or, TimeInputSize as ot, TopNavItemEmits as p, CalendarHandle as pi, RadioGroupEmits as pn, DateInputStatusType as pr, TextInputSlots as pt, TimestampFormat as q, FileInputStatus as qn, ContextMenuWidth as qr, SideNavItemEmits as qt, AvatarGroupOverflowProps as r, CheckboxListProps as ri, SelectableCardSlots as rn, DateRangePreset as rr, _default$13 as rt, _default$4 as s, CheckboxInputEmits as si, _default$24 as sn, DateInputFormatName as sr, _default$14 as st, _default as t, CheckboxListItemEmits as ti, SelectableCardEmits as tn, DateRangeInputEmits as tr, InstantFormat as tt, _default$7 as u, CheckboxValue as ui, _default$26 as un, DateInputProps as ur, TextInputEmits as ut, TopNavMegaMenuProps as v, _default$44 as vi, RadioOrientation as vn, _default$38 as vr, TextAreaChangeAction as vt, ToolbarOrientation as w, BannerEmits as wi, RadioValue as wn, ContextMenuEmits as wr, TextAreaSlots as wt, TopNavMenuProps as x, ButtonGroupOrientation as xi, RadioSlots as xn, ContextMenuCheckboxData as xr, TextAreaProps as xt, TopNavMenuEmits as y, ButtonGroupProps as yi, RadioProps as yn, useContextMenu as yr, TextAreaChangeEvent as yt, ToggleButtonGroupType as z, MoreMenuResolvedPresentation as zn, ContextMenuSection as zr, _default$19 as zt };