@astryx-vue/core 0.7.25 → 0.7.27

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 (380) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog--9IcMdY3.js → AlertDialog-DZpJzvOC.js} +30 -15
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-CqPpL59Q.js → Avatar-D_C9RBJb.js} +6 -5
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-lmO-a3Eq.js → AvatarGroup-CFvNDgU-.js} +3 -3
  11. package/dist/Badge/index.js +1 -1
  12. package/dist/{Badge-DByZSDmu.js → Badge-BbPS_49c.js} +7 -3
  13. package/dist/Banner/index.d.ts +1 -1
  14. package/dist/Banner/index.js +1 -1
  15. package/dist/{Banner-BpiQjQvG.js → Banner-C1B7DsHS.js} +3 -3
  16. package/dist/BottomSheet/index.js +2 -2
  17. package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
  18. package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
  19. package/dist/Breadcrumbs/index.js +2 -2
  20. package/dist/{Breadcrumbs-CH-rcc_-.js → Breadcrumbs-BgiZY7un.js} +8 -7
  21. package/dist/Button/index.d.ts +1 -1
  22. package/dist/Button/index.js +1 -1
  23. package/dist/{Button-7W3G5gok.js → Button-DsjdehLZ.js} +179 -17
  24. package/dist/ButtonGroup/index.d.ts +1 -1
  25. package/dist/ButtonGroup/index.js +1 -1
  26. package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
  27. package/dist/Calendar/index.d.ts +1 -1
  28. package/dist/Calendar/index.js +1 -1
  29. package/dist/{Calendar-DjhwshS8.js → Calendar-Bzgi-XyF.js} +12 -3
  30. package/dist/Card/index.d.ts +1 -1
  31. package/dist/Card/index.js +1 -1
  32. package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
  33. package/dist/Carousel/index.js +1 -1
  34. package/dist/{Carousel-RN3BV6qj.js → Carousel--VycM-Sa.js} +3 -3
  35. package/dist/Chat/index.d.ts +1 -1
  36. package/dist/Chat/index.js +1 -1
  37. package/dist/{Chat-D5cXLYlh.js → Chat-C1DlnlCQ.js} +30 -28
  38. package/dist/CheckboxInput/index.d.ts +1 -1
  39. package/dist/CheckboxInput/index.js +1 -1
  40. package/dist/{CheckboxInput-GFjf15n3.js → CheckboxInput-uk8nuCEf.js} +4 -4
  41. package/dist/CheckboxList/index.d.ts +1 -1
  42. package/dist/CheckboxList/index.js +1 -1
  43. package/dist/{CheckboxList-CJzRo5vd.js → CheckboxList-Dr4kQ-BC.js} +6 -6
  44. package/dist/Citation/index.js +1 -1
  45. package/dist/{Citation-C_XMPOpv.js → Citation-BAFsn6N1.js} +2 -2
  46. package/dist/ClickableCard/index.d.ts +1 -1
  47. package/dist/ClickableCard/index.js +1 -1
  48. package/dist/{ClickableCard-qeVRS9dw.js → ClickableCard-CvxSKkXh.js} +3 -2
  49. package/dist/Code/index.d.ts +1 -1
  50. package/dist/Code/index.js +1 -1
  51. package/dist/{CodeBlock-9NMYGL48.js → CodeBlock-PSnUWX57.js} +5 -3
  52. package/dist/Collapsible/index.d.ts +1 -1
  53. package/dist/Collapsible/index.js +1 -1
  54. package/dist/{Collapsible-CifnTLlc.js → Collapsible-C_tl5-L0.js} +2 -2
  55. package/dist/CommandPalette/index.js +1 -1
  56. package/dist/{CommandPalette-BbGFrwAI.js → CommandPalette-lewtyQrO.js} +7 -7
  57. package/dist/ComplexSelector/index.d.ts +1 -1
  58. package/dist/ComplexSelector/index.js +1 -1
  59. package/dist/{ComplexSelector-DMnzBMY1.js → ComplexSelector-BUnqjeW5.js} +14 -6
  60. package/dist/{ComponentIcon-hPmWTSXE.js → ComponentIcon-BRXBBKeG.js} +1 -1
  61. package/dist/ContextMenu/index.d.ts +1 -1
  62. package/dist/ContextMenu/index.js +2 -2
  63. package/dist/{ContextMenu-BD3pObnQ.js → ContextMenu-IDkvorRp.js} +10 -9
  64. package/dist/DateInput/index.d.ts +1 -1
  65. package/dist/DateInput/index.js +1 -1
  66. package/dist/{DateInput-CYFPGd__.js → DateInput-DTxxFz9-.js} +10 -10
  67. package/dist/DateRangeInput/index.d.ts +1 -1
  68. package/dist/DateRangeInput/index.js +1 -1
  69. package/dist/{DateRangeInput-BOdKqQUw.js → DateRangeInput-D4Us58KW.js} +8 -8
  70. package/dist/DateTimeInput/index.d.ts +1 -1
  71. package/dist/DateTimeInput/index.js +1 -1
  72. package/dist/{DateTimeInput-Bs4T8KWb.js → DateTimeInput-CliLnI7P.js} +9 -9
  73. package/dist/Dialog/index.d.ts +1 -1
  74. package/dist/Dialog/index.js +3 -3
  75. package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
  76. package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
  77. package/dist/{DialogHeader-Dii5B7vE.js → DialogHeader-Hk419KW1.js} +4 -4
  78. package/dist/Drawer/index.d.ts +1 -1
  79. package/dist/Drawer/index.js +1 -1
  80. package/dist/{Drawer-CtuxdSAd.js → Drawer-DoQ9hjKz.js} +2 -2
  81. package/dist/DropdownMenu/index.js +3 -3
  82. package/dist/{DropdownMenu-CXyECszu.js → DropdownMenu-B2iga1fe.js} +18 -13
  83. package/dist/{DropdownMenu-BmAeVIu5.js → DropdownMenu-BF2Z5T4h.js} +9 -9
  84. package/dist/EmptyState/index.js +1 -1
  85. package/dist/{EmptyState-DaVNSbYi.js → EmptyState-v1cvHKav.js} +2 -2
  86. package/dist/Field/index.js +3 -3
  87. package/dist/{Field-CdrGdY7U.js → Field-if5a58LO.js} +2 -2
  88. package/dist/{FieldIcon-BB08VXf7.js → FieldIcon-DMtfe1Ne.js} +1 -1
  89. package/dist/{FieldInfoTip-CPhFmGaY.js → FieldInfoTip-BJAaKJjM.js} +2 -2
  90. package/dist/{FieldLabel-lJ1exgvq.js → FieldLabel-C-IaUcP4.js} +3 -3
  91. package/dist/FieldStatus/index.js +1 -1
  92. package/dist/{FieldStatus-CR-cK1rW.js → FieldStatus-DSUCli4W.js} +1 -1
  93. package/dist/FileInput/index.d.ts +1 -1
  94. package/dist/FileInput/index.js +1 -1
  95. package/dist/{FileInput-C85funO_.js → FileInput-0zBWfO8h.js} +8 -8
  96. package/dist/Grid/index.d.ts +1 -1
  97. package/dist/Grid/index.js +1 -1
  98. package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
  99. package/dist/Heading/index.d.ts +1 -1
  100. package/dist/Heading/index.js +1 -1
  101. package/dist/Heading-C10qO8wg.js +114 -0
  102. package/dist/HoverCard/index.js +1 -1
  103. package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
  104. package/dist/Icon/index.js +1 -1
  105. package/dist/{Icon-DAcZMgiJ.js → Icon-BCHo7W0x.js} +1 -1
  106. package/dist/IconButton/index.js +1 -1
  107. package/dist/{IconButton-Cn4re9lo.js → IconButton-Crtfruc0.js} +1 -1
  108. package/dist/Indicator/index.js +1 -1
  109. package/dist/InfoTip/index.d.ts +1 -1
  110. package/dist/InfoTip/index.js +1 -1
  111. package/dist/{InfoTip-CQmrs5nz.js → InfoTip-DNQy7wqB.js} +3 -3
  112. package/dist/{InputClearButton-gGlttFrg.js → InputClearButton-DhvxPkK6.js} +3 -3
  113. package/dist/InputGroup/index.js +1 -1
  114. package/dist/{InputGroup-DQpDwkjF.js → InputGroup-B1kG0rBN.js} +22 -5
  115. package/dist/InternationalizationProvider/index.d.ts +1 -1
  116. package/dist/InternationalizationProvider/index.js +1 -1
  117. package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
  118. package/dist/{Item-Dbf2g0Ee.js → Item-Cfv4ALls.js} +5 -2
  119. package/dist/Kbd/index.js +1 -1
  120. package/dist/{Kbd-Dn1LTcNY.js → Kbd-DyxKNYtE.js} +41 -30
  121. package/dist/Layout/index.js +2 -2
  122. package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
  123. package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
  124. package/dist/Lightbox/index.js +1 -1
  125. package/dist/{Lightbox-Duz-OrsN.js → Lightbox-B8uMFPOS.js} +96 -17
  126. package/dist/Link/index.d.ts +1 -1
  127. package/dist/Link/index.js +1 -1
  128. package/dist/{Link-C0NPH_Zy.js → Link-Kc2RQFHc.js} +4 -4
  129. package/dist/List/index.d.ts +1 -1
  130. package/dist/List/index.js +2 -2
  131. package/dist/{ListItem-C8F4r-3e.js → ListItem-2evjQQ7n.js} +1 -1
  132. package/dist/Markdown/index.js +2 -2
  133. package/dist/{Markdown-B0K6WhMg.js → Markdown-NVkHi_tk.js} +6 -6
  134. package/dist/MetadataList/index.js +1 -1
  135. package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
  136. package/dist/MobileNav/index.js +1 -1
  137. package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
  138. package/dist/MoreMenu/index.d.ts +1 -1
  139. package/dist/MoreMenu/index.js +1 -1
  140. package/dist/{MoreMenu-CPp7nRqq.js → MoreMenu-CpGEXWCd.js} +10 -10
  141. package/dist/MultiSelector/index.d.ts +1 -1
  142. package/dist/MultiSelector/index.js +1 -1
  143. package/dist/{MultiSelector-EuMT3jk8.js → MultiSelector-Baca6xNx.js} +12 -12
  144. package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
  145. package/dist/{NavHeadingSurface-DemUziLF.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
  146. package/dist/NavItem/index.d.ts +1 -1
  147. package/dist/NavItem/index.js +1 -1
  148. package/dist/{NavItem-B_c92jqW.js → NavItem-BZLN0U5a.js} +1 -1
  149. package/dist/NavMenu/index.js +3 -3
  150. package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
  151. package/dist/{NavMenuItem-Crc0y9_s.js → NavMenuItem-DIMQohIa.js} +2 -2
  152. package/dist/NumberInput/index.d.ts +1 -1
  153. package/dist/NumberInput/index.js +1 -1
  154. package/dist/{NumberInput-nhsOtHSM.js → NumberInput-BBFGZ4Fg.js} +17 -8
  155. package/dist/Outline/index.js +1 -1
  156. package/dist/{Outline-CXQKfopf.js → Outline-BgDOI3ar.js} +3 -3
  157. package/dist/OverflowList/index.d.ts +1 -1
  158. package/dist/OverflowList/index.js +1 -1
  159. package/dist/{OverflowList-BGHiFBEV.js → OverflowList-D4fC5s_q.js} +3 -3
  160. package/dist/Pagination/index.d.ts +1 -1
  161. package/dist/Pagination/index.js +1 -1
  162. package/dist/{Pagination-DtItBecM.js → Pagination-Do_MIlo4.js} +16 -4
  163. package/dist/Popover/index.d.ts +1 -1
  164. package/dist/Popover/index.js +1 -1
  165. package/dist/{Popover-DE_a8vx0.js → Popover-Bd93LlDd.js} +7 -7
  166. package/dist/PowerSearch/index.d.ts +1 -1
  167. package/dist/PowerSearch/index.js +1 -1
  168. package/dist/{PowerSearch-BPqinhNg.js → PowerSearch-DyqItMHo.js} +110 -41
  169. package/dist/ProgressBar/index.d.ts +1 -1
  170. package/dist/ProgressBar/index.js +1 -1
  171. package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
  172. package/dist/Radio/index.d.ts +1 -1
  173. package/dist/Radio/index.js +1 -1
  174. package/dist/{RadioGroup-DgD_qw8h.js → RadioGroup-Dzp4qSgm.js} +4 -4
  175. package/dist/RadioList/index.d.ts +1 -1
  176. package/dist/RadioList/index.js +1 -1
  177. package/dist/{RadioList-BTfVjABV.js → RadioList-CAIgB1j_.js} +1 -1
  178. package/dist/Resizable/index.d.ts +1 -1
  179. package/dist/Resizable/index.js +1 -1
  180. package/dist/{ResizeHandle-5JnYYMyi.js → ResizeHandle-GAmiHb0-.js} +1 -1
  181. package/dist/ScrollableArea/index.d.ts +1 -1
  182. package/dist/SegmentedControl/index.js +1 -1
  183. package/dist/{SegmentedControl-BOFsp4zL.js → SegmentedControl-Bs74LlvS.js} +3 -2
  184. package/dist/SelectableCard/index.d.ts +1 -1
  185. package/dist/SelectableCard/index.js +1 -1
  186. package/dist/{SelectableCard-DkAtLqr0.js → SelectableCard-BFCwgtWf.js} +3 -2
  187. package/dist/Selector/index.d.ts +1 -1
  188. package/dist/Selector/index.js +1 -1
  189. package/dist/{Selector-Bb0Tw0IX.js → Selector-B9lINQRM.js} +11 -10
  190. package/dist/SideNav/index.d.ts +1 -1
  191. package/dist/SideNav/index.js +1 -1
  192. package/dist/{SideNav-woP0TsbV.js → SideNav-DzZ12DIq.js} +8 -8
  193. package/dist/Slider/index.js +1 -1
  194. package/dist/{Slider-DPNiq0HG.js → Slider-Cuk2ul9w.js} +3 -3
  195. package/dist/Spinner/index.js +1 -1
  196. package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
  197. package/dist/StatusDot/index.js +1 -1
  198. package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
  199. package/dist/Stepper/index.d.ts +1 -1
  200. package/dist/Stepper/index.js +1 -1
  201. package/dist/{Stepper-Ca1DQGyG.js → Stepper-C68f_iJG.js} +3 -3
  202. package/dist/Switch/index.d.ts +1 -1
  203. package/dist/Switch/index.js +1 -1
  204. package/dist/{Switch-yKKscO-i.js → Switch-bnxiN6Qe.js} +4 -4
  205. package/dist/TabList/index.d.ts +1 -1
  206. package/dist/TabList/index.js +1 -1
  207. package/dist/{TabList-cg8Mrbs_.js → TabList-8dlO0Ws6.js} +12 -7
  208. package/dist/Table/index.d.ts +1 -1
  209. package/dist/Table/index.js +1 -1
  210. package/dist/{Table-rUgNSJgQ.js → Table-j_DCDbcI.js} +93 -44
  211. package/dist/Text/index.d.ts +2 -2
  212. package/dist/Text/index.js +3 -2
  213. package/dist/{Text-BShV9dky.js → Text-WB-fpFne.js} +32 -29
  214. package/dist/TextArea/index.d.ts +1 -1
  215. package/dist/TextArea/index.js +1 -1
  216. package/dist/{TextArea-D8703Iin.js → TextArea-Bzz_KcKT.js} +10 -10
  217. package/dist/TextInput/index.d.ts +1 -1
  218. package/dist/TextInput/index.js +1 -1
  219. package/dist/{TextInput-C3TcHG4h.js → TextInput-givkH9HQ.js} +9 -9
  220. package/dist/Theme/index.js +1 -1
  221. package/dist/{Theme-DkFv7FGK.js → Theme-BQe--DY6.js} +19 -6
  222. package/dist/Thumbnail/index.js +1 -1
  223. package/dist/{Thumbnail-7hvPR8TA.js → Thumbnail-CZOWP5HN.js} +6 -6
  224. package/dist/{TimeField-D2vnhUvT.js → TimeField-ByoS5s_I.js} +8 -8
  225. package/dist/TimeInput/index.d.ts +1 -1
  226. package/dist/TimeInput/index.js +1 -1
  227. package/dist/{TimeInput-D31lgw-s.js → TimeInput-D9kvMQso.js} +2 -2
  228. package/dist/Timer/index.js +1 -1
  229. package/dist/{Timer-D0A9hh4O.js → Timer-BD2gSoQ3.js} +1 -1
  230. package/dist/Timestamp/index.d.ts +1 -1
  231. package/dist/Timestamp/index.js +1 -1
  232. package/dist/{Timestamp-BCYaQaDQ.js → Timestamp-CEdNhKc5.js} +5 -5
  233. package/dist/Toast/index.js +1 -1
  234. package/dist/{Toast-BpumSIBN.js → Toast-CnZrcU-G.js} +4 -4
  235. package/dist/ToggleButton/index.d.ts +1 -1
  236. package/dist/ToggleButton/index.js +1 -1
  237. package/dist/{ToggleButton-DYGsPjtx.js → ToggleButton-BMn4yJXe.js} +27 -8
  238. package/dist/Token/index.d.ts +1 -1
  239. package/dist/Token/index.js +1 -1
  240. package/dist/{Token-DV53YBsy.js → Token-DWCDMawn.js} +96 -28
  241. package/dist/Tokenizer/index.d.ts +1 -1
  242. package/dist/Tokenizer/index.js +1 -1
  243. package/dist/{Tokenizer-DlptPLpP.js → Tokenizer-R0eC1BOk.js} +92 -9
  244. package/dist/Toolbar/index.d.ts +1 -1
  245. package/dist/Toolbar/index.js +1 -1
  246. package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
  247. package/dist/Tooltip/index.js +2 -2
  248. package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
  249. package/dist/TopNav/index.d.ts +1 -1
  250. package/dist/TopNav/index.js +1 -1
  251. package/dist/{TopNav-ZTKVEADp.js → TopNav-DHunql9h.js} +7 -7
  252. package/dist/TreeList/index.js +1 -1
  253. package/dist/{TreeList-CLWHRRDM.js → TreeList-Dg5gtkOu.js} +6 -4
  254. package/dist/Typeahead/index.d.ts +1 -1
  255. package/dist/Typeahead/index.js +2 -2
  256. package/dist/{Typeahead-Dd8pq0fI.js → Typeahead-BkmCC6DX.js} +47 -24
  257. package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
  258. package/dist/composables/index.d.ts +2 -2
  259. package/dist/composables/index.js +12 -9
  260. package/dist/{composables-DamLUqw3.js → composables-DqJzanJ5.js} +5 -24
  261. package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
  262. package/dist/context-CZP3jfy-.js +125 -0
  263. package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
  264. package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
  265. package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
  266. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  267. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  268. package/dist/{index-EvhMa33P.d.ts → index-BSlzqFzV.d.ts} +10 -5
  269. package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -1
  270. package/dist/{index-D4BeRDzX.d.ts → index-Be7N3B5F.d.ts} +3 -3
  271. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  272. package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
  273. package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
  274. package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
  275. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  276. package/dist/{index--uIQXVJ7.d.ts → index-CM8KfpBL.d.ts} +2 -2
  277. package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
  278. package/dist/index-CtYlR9Cu.d.ts +46 -0
  279. package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
  280. package/dist/{index-CCYGMtZy.d.ts → index-D4zmrP2a.d.ts} +65 -65
  281. package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
  282. package/dist/{index-DAs54mND.d.ts → index-DCU6dy7n.d.ts} +12 -2
  283. package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
  284. package/dist/{index-Ds4OafGN.d.ts → index-DkF8wxHr.d.ts} +4 -4
  285. package/dist/{index-BnEhvmdR.d.ts → index-DyALKpjX.d.ts} +6 -4
  286. package/dist/{index-DZKv1WNB.d.ts → index-IfiA8CSr.d.ts} +3 -3
  287. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  288. package/dist/{index-CEHqYyz5.d.ts → index-_VG-Bc2K.d.ts} +4 -4
  289. package/dist/{index-HLkEFNeu.d.ts → index-gw92L7ZG.d.ts} +13 -3
  290. package/dist/{index-GksCg4a4.d.ts → index-rbhycKiu.d.ts} +4 -4
  291. package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
  292. package/dist/index.d.ts +31 -31
  293. package/dist/index.js +128 -124
  294. package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
  295. package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
  296. package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
  297. package/dist/locale/index.d.ts +2 -2
  298. package/dist/locale/index.js +4 -4
  299. package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
  300. package/dist/{usePressFeedback-Dt76SpLj.js → pressFeedback-Bwwpex9q.js} +11 -49
  301. package/dist/{searchResultMessage-U_4q8zX3.js → searchResultMessage-CFmIy2Da.js} +2 -2
  302. package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
  303. package/dist/slotContent-CNWOrGOr.js +14 -0
  304. package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
  305. package/dist/strayClick-CY-_ImKv.js +60 -0
  306. package/dist/textDirection-D4ObTwbB.js +32 -0
  307. package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -0
  308. package/dist/unicodeRegExp-B7yQnpFC.js +14 -0
  309. package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
  310. package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
  311. package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
  312. package/dist/useCoarsePointer-GItEMrjX.js +21 -0
  313. package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
  314. package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
  315. package/dist/{useIndicator-DGWEjVpB.js → useIndicator--9mGGlT2.js} +2 -2
  316. package/dist/{useInputContainer-BP3u3hGz.js → useInputContainer-BpLtCA-U.js} +1 -1
  317. package/dist/{useInputStatusIcon-CTF4yF3e.js → useInputStatusIcon-DCnx00BM.js} +2 -2
  318. package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
  319. package/dist/{useMenuDrillIn-DJ4U_hF7.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
  320. package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
  321. package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
  322. package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
  323. package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
  324. package/dist/useTruncation-C4pdlaXa.js +135 -0
  325. package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
  326. package/dist/utils/index.js +1 -1
  327. package/dist/{utils-DsFqXaGf.js → utils-BTkg5Ie9.js} +2 -1
  328. package/locales/en.json +8 -0
  329. package/package.json +1 -1
  330. package/styles/alert-dialog.css +19 -0
  331. package/styles/badge.css +7 -2
  332. package/styles/banner.css +6 -0
  333. package/styles/button-group.css +17 -0
  334. package/styles/button.css +13 -4
  335. package/styles/calendar.css +38 -0
  336. package/styles/chat.css +4 -0
  337. package/styles/checkbox-indicator.css +9 -9
  338. package/styles/checkbox-input.css +4 -1
  339. package/styles/code.css +4 -1
  340. package/styles/context-menu.css +4 -0
  341. package/styles/dialog-header.css +2 -0
  342. package/styles/dropdown-menu.css +2 -0
  343. package/styles/empty-state.css +2 -0
  344. package/styles/field.css +2 -0
  345. package/styles/heading.css +4 -0
  346. package/styles/hover-card.css +2 -0
  347. package/styles/input-group.css +1 -0
  348. package/styles/layer.css +2 -0
  349. package/styles/lightbox.css +78 -0
  350. package/styles/link.css +5 -0
  351. package/styles/list.css +10 -1
  352. package/styles/markdown.css +1 -0
  353. package/styles/metadata-list.css +1 -1
  354. package/styles/more-menu.css +7 -0
  355. package/styles/multi-selector.css +2 -0
  356. package/styles/pagination.css +1 -0
  357. package/styles/power-search.css +2 -0
  358. package/styles/radio-indicator.css +21 -4
  359. package/styles/segmented-control.css +1 -0
  360. package/styles/side-nav.css +1 -0
  361. package/styles/slider.css +3 -0
  362. package/styles/stepper.css +1 -0
  363. package/styles/switch.css +2 -1
  364. package/styles/tab-list.css +3 -0
  365. package/styles/table.css +4 -1
  366. package/styles/text-area.css +1 -0
  367. package/styles/text-input.css +1 -0
  368. package/styles/text.css +8 -0
  369. package/styles/theme.css +5 -1
  370. package/styles/toast.css +2 -0
  371. package/styles/toggle-button.css +17 -0
  372. package/styles/token.css +14 -9
  373. package/styles/tokenizer.css +1 -0
  374. package/styles/toolbar.css +19 -0
  375. package/dist/Heading-D0zL1j5T.js +0 -99
  376. package/dist/context-B6UElI5X.js +0 -5
  377. package/dist/index-LySSG_PR.d.ts +0 -27
  378. package/dist/useTruncation-C02rA1-c.js +0 -102
  379. package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
  380. package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +1 -1
@@ -148,6 +148,7 @@ const chatMessages = {
148
148
  inputLabel: "Message input",
149
149
  noSpeechDetected: "No speech was detected.",
150
150
  expandPastedText: "Expand",
151
+ pastedTextLabel: (lines, chars) => lines === 1 ? `${formatCount(chars, "en")} chars` : `${formatCount(lines, "en")} lines, ${formatCount(chars, "en")} chars`,
151
152
  drawerExpand: (label) => `Expand ${label}`,
152
153
  drawerCollapse: (label) => `Collapse ${label}`,
153
154
  startDictation: "Start dictation",
@@ -191,6 +192,7 @@ const chatMessages = {
191
192
  inputLabel: "消息输入框",
192
193
  noSpeechDetected: "未检测到语音。",
193
194
  expandPastedText: "展开",
195
+ pastedTextLabel: (lines, chars) => lines === 1 ? `${formatCount(chars, "zh-CN")} 个字符` : `${formatCount(lines, "zh-CN")} 行,${formatCount(chars, "zh-CN")} 个字符`,
194
196
  drawerExpand: (label) => `展开 ${label}`,
195
197
  drawerCollapse: (label) => `折叠 ${label}`,
196
198
  startDictation: "开始语音输入",
@@ -924,7 +926,10 @@ const fileInputMessages = {
924
926
  filesSelected: (count) => `${count} files selected`,
925
927
  errorType: (fileName) => `"${fileName}" is not an accepted file type`,
926
928
  errorSize: (fileName, maxSize) => `"${fileName}" exceeds ${maxSize} limit`,
927
- errorCount: (maxFiles) => `Maximum ${maxFiles} files allowed`
929
+ errorCount: (maxFiles) => `Maximum ${maxFiles} files allowed`,
930
+ fileSizeBytes: (size) => `${size} B`,
931
+ fileSizeKilobytes: (size) => `${size} KB`,
932
+ fileSizeMegabytes: (size) => `${size} MB`
928
933
  },
929
934
  "zh-CN": {
930
935
  placeholder: "选择文件",
@@ -938,7 +943,10 @@ const fileInputMessages = {
938
943
  filesSelected: (count) => `已选择 ${count} 个文件`,
939
944
  errorType: (fileName) => `不支持“${fileName}”的文件类型`,
940
945
  errorSize: (fileName, maxSize) => `“${fileName}”超过了 ${maxSize} 的大小限制`,
941
- errorCount: (maxFiles) => `最多只能选择 ${maxFiles} 个文件`
946
+ errorCount: (maxFiles) => `最多只能选择 ${maxFiles} 个文件`,
947
+ fileSizeBytes: (size) => `${size} 字节`,
948
+ fileSizeKilobytes: (size) => `${size} KB`,
949
+ fileSizeMegabytes: (size) => `${size} MB`
942
950
  }
943
951
  };
944
952
  //#endregion
@@ -964,6 +972,46 @@ const inputMessages = {
964
972
  }
965
973
  };
966
974
  //#endregion
975
+ //#region src/locale/messages/kbd.ts
976
+ const kbdMessages = {
977
+ "en": {
978
+ alt: "Alt",
979
+ backspace: "Backspace",
980
+ command: "Command",
981
+ control: "Control",
982
+ controlShort: "Ctrl",
983
+ down: "Down arrow",
984
+ enter: "Enter",
985
+ escape: "Escape",
986
+ escapeShort: "Esc",
987
+ left: "Left arrow",
988
+ plus: "Plus",
989
+ right: "Right arrow",
990
+ shift: "Shift",
991
+ tab: "Tab",
992
+ up: "Up arrow",
993
+ shortcut: (shortcut, key) => `${shortcut} + ${key}`
994
+ },
995
+ "zh-CN": {
996
+ alt: "Alt",
997
+ backspace: "退格",
998
+ command: "Command",
999
+ control: "Control",
1000
+ controlShort: "Ctrl",
1001
+ down: "下方向键",
1002
+ enter: "回车",
1003
+ escape: "Esc",
1004
+ escapeShort: "Esc",
1005
+ left: "左方向键",
1006
+ plus: "加号",
1007
+ right: "右方向键",
1008
+ shift: "Shift",
1009
+ tab: "Tab",
1010
+ up: "上方向键",
1011
+ shortcut: (shortcut, key) => `${shortcut} + ${key}`
1012
+ }
1013
+ };
1014
+ //#endregion
967
1015
  //#region src/locale/messages/keyboard-hint.ts
968
1016
  const keyboardHintMessages = {
969
1017
  "en": { navigate: "to navigate" },
@@ -996,6 +1044,8 @@ const lightboxMessages = {
996
1044
  zoom: "Zoom",
997
1045
  zoomedIn: "Zoomed in, use arrow keys to pan",
998
1046
  zoomedOut: "Zoomed out",
1047
+ captionMore: "more",
1048
+ captionLess: "less",
999
1049
  imagePosition: (index, total) => `Image ${formatCount(index, "en")} of ${formatCount(total, "en")}`,
1000
1050
  mediaPosition: (alt, index, total) => `${alt}, ${formatCount(index, "en")} of ${formatCount(total, "en")}`
1001
1051
  },
@@ -1007,6 +1057,8 @@ const lightboxMessages = {
1007
1057
  zoom: "缩放",
1008
1058
  zoomedIn: "已放大,使用箭头键平移",
1009
1059
  zoomedOut: "已缩小",
1060
+ captionMore: "更多",
1061
+ captionLess: "收起",
1010
1062
  imagePosition: (index, total) => `第 ${formatCount(index, "zh-CN")} 张图片,共 ${formatCount(total, "zh-CN")} 张`,
1011
1063
  mediaPosition: (alt, index, total) => `${alt},第 ${formatCount(index, "zh-CN")} 项,共 ${formatCount(total, "zh-CN")} 项`
1012
1064
  }
@@ -1880,6 +1932,7 @@ const astryxMessages = {
1880
1932
  fileInput: fileInputMessages.en,
1881
1933
  infoTip: infoTipMessages.en,
1882
1934
  input: inputMessages.en,
1935
+ kbd: kbdMessages.en,
1883
1936
  keyboardHint: keyboardHintMessages.en,
1884
1937
  layout: layoutMessages.en,
1885
1938
  lightbox: lightboxMessages.en,
@@ -1940,6 +1993,7 @@ const astryxMessages = {
1940
1993
  fileInput: fileInputMessages["zh-CN"],
1941
1994
  infoTip: infoTipMessages["zh-CN"],
1942
1995
  input: inputMessages["zh-CN"],
1996
+ kbd: kbdMessages["zh-CN"],
1943
1997
  keyboardHint: keyboardHintMessages["zh-CN"],
1944
1998
  layout: layoutMessages["zh-CN"],
1945
1999
  lightbox: lightboxMessages["zh-CN"],
@@ -2023,4 +2077,4 @@ function useAstryxMessages() {
2023
2077
  });
2024
2078
  }
2025
2079
  //#endregion
2026
- export { provideAstryxLocale as a, astryxMessages as c, normalizeLocale as i, formatIcu as l, astryxMessagesKey as n, useAstryxLocale as o, builtInMessages as r, useAstryxMessages as s, astryxLocaleKey as t, icuPlaceholderNames as u };
2080
+ export { provideAstryxLocale as a, astryxMessages as c, chatMessages as d, normalizeLocale as i, formatIcu as l, astryxMessagesKey as n, useAstryxLocale as o, builtInMessages as r, useAstryxMessages as s, astryxLocaleKey as t, icuPlaceholderNames as u };
@@ -0,0 +1,125 @@
1
+ import { c as PRESS_GROUP_ITEM_ATTRIBUTE, l as isTrackedByGroup, r as pressFadeMs, t as PRESSED_ATTRIBUTE } from "./pressFeedback-Bwwpex9q.js";
2
+ import { t as armStrayClick } from "./strayClick-CY-_ImKv.js";
3
+ import { t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
4
+ //#region src/composables/internal/actionGroupTracker.ts
5
+ /** 组跟踪手指和笔的滑动;鼠标保持原生按钮的行为。 */
6
+ const GROUP_PRESS_POINTERS = ["touch", "pen"];
7
+ /** 不可用的动作不亮也不执行。 */
8
+ const DISABLED = ":disabled, [aria-disabled=\"true\"]";
9
+ /** 摊到组跟踪的每个动作上的标记。 */
10
+ function pressGroupItemProps(pointerTypes = GROUP_PRESS_POINTERS) {
11
+ return { [PRESS_GROUP_ITEM_ATTRIBUTE]: pointerTypes.join(" ") };
12
+ }
13
+ function measure(root, pointerType) {
14
+ const actions = [];
15
+ for (const element of root.querySelectorAll(`[${PRESS_GROUP_ITEM_ATTRIBUTE}]`)) {
16
+ if (element.matches(DISABLED) || !isTrackedByGroup(element, pointerType)) continue;
17
+ const { left, top, right, bottom } = element.getBoundingClientRect();
18
+ actions.push({
19
+ element,
20
+ left,
21
+ top,
22
+ right,
23
+ bottom
24
+ });
25
+ }
26
+ return actions;
27
+ }
28
+ function createActionGroupTracker() {
29
+ let actions = [];
30
+ let highlighted = null;
31
+ let landedOn = null;
32
+ let isTracking = false;
33
+ const fades = /* @__PURE__ */ new Map();
34
+ function clearFade(element) {
35
+ const fade = fades.get(element);
36
+ if (fade != null) {
37
+ clearTimeout(fade);
38
+ fades.delete(element);
39
+ }
40
+ }
41
+ function paint(element, state) {
42
+ if (element == null) return;
43
+ clearFade(element);
44
+ if (state === "none") {
45
+ element.removeAttribute(PRESSED_ATTRIBUTE);
46
+ return;
47
+ }
48
+ element.setAttribute(PRESSED_ATTRIBUTE, state);
49
+ if (state === "fading") fades.set(element, setTimeout(() => {
50
+ fades.delete(element);
51
+ if (element.getAttribute("data-astryx-press") === "fading") element.removeAttribute(PRESSED_ATTRIBUTE);
52
+ }, pressFadeMs(element)));
53
+ }
54
+ /** 手指下的动作。没有布局(测试环境)时几个矩形都包含这个点,落点所在的那个优先。 */
55
+ function actionAt(x, y) {
56
+ let first = null;
57
+ for (const action of actions) {
58
+ if (x < action.left || x > action.right || y < action.top || y > action.bottom) continue;
59
+ if (landedOn != null && action.element.contains(landedOn)) return action.element;
60
+ first ??= action.element;
61
+ }
62
+ return first;
63
+ }
64
+ function highlight(next) {
65
+ if (next === highlighted) return;
66
+ paint(highlighted, "none");
67
+ highlighted = next;
68
+ paint(next, "on");
69
+ }
70
+ function reset() {
71
+ actions = [];
72
+ highlighted = null;
73
+ landedOn = null;
74
+ isTracking = false;
75
+ }
76
+ return {
77
+ begin(root, pointerType, x, y, landed) {
78
+ paint(highlighted, "none");
79
+ highlighted = null;
80
+ actions = measure(root, pointerType);
81
+ landedOn = landed;
82
+ isTracking = true;
83
+ highlight(actionAt(x, y));
84
+ return highlighted;
85
+ },
86
+ move(x, y) {
87
+ if (isTracking) highlight(actionAt(x, y));
88
+ },
89
+ end() {
90
+ const lifted = highlighted;
91
+ const wasTracking = isTracking;
92
+ reset();
93
+ if (!wasTracking || lifted == null) return null;
94
+ paint(lifted, "fading");
95
+ if (lifted.matches(DISABLED)) return null;
96
+ armStrayClick(lifted.ownerDocument);
97
+ lifted.click();
98
+ return lifted;
99
+ },
100
+ cancel() {
101
+ paint(highlighted, "none");
102
+ reset();
103
+ },
104
+ get highlighted() {
105
+ return highlighted;
106
+ },
107
+ get isTracking() {
108
+ return isTracking;
109
+ },
110
+ dispose() {
111
+ for (const [element, fade] of fades) {
112
+ clearTimeout(fade);
113
+ if (element.getAttribute("data-astryx-press") === "fading") element.removeAttribute(PRESSED_ATTRIBUTE);
114
+ }
115
+ fades.clear();
116
+ paint(highlighted, "none");
117
+ reset();
118
+ }
119
+ };
120
+ }
121
+ //#endregion
122
+ //#region src/Button/context.ts
123
+ const buttonGroupContextKey = defineLayerScopedKey("astryx-button-group", null);
124
+ //#endregion
125
+ export { pressGroupItemProps as i, GROUP_PRESS_POINTERS as n, createActionGroupTracker as r, buttonGroupContextKey as t };
@@ -1,5 +1,5 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
- import { computed } from "vue";
2
+ import { computed, provide } from "vue";
3
3
  //#region src/Layout/context.ts
4
4
  /** 没有任何 `Layout` 时的槽位状态:都没有。 */
5
5
  const emptyLayoutSlots = computed(() => ({
@@ -13,6 +13,18 @@ const NO_LAYOUT_DIVIDERS = computed(() => void 0);
13
13
  const layoutSlotsKey = defineLayerScopedKey("astryx-layout-slots", emptyLayoutSlots);
14
14
  const layoutAreaKey = defineLayerScopedKey("astryx-layout-area", NO_LAYOUT_AREA);
15
15
  const layoutDividerKey = defineLayerScopedKey("astryx-layout-dividers", NO_LAYOUT_DIVIDERS);
16
+ /**
17
+ * The container a Layout sits in. Card, Dialog, and BottomSheet provide it;
18
+ * LayoutHeader and LayoutFooter reflect it as `data-container`, so a theme
19
+ * can style a dialog's header without a card's. A new layer resets it.
20
+ */
21
+ const layoutContainerKey = defineLayerScopedKey("astryx-layout-container", null);
22
+ function provideLayoutContainer(container) {
23
+ provide(layoutContainerKey, container);
24
+ }
25
+ function useLayoutContainer() {
26
+ return readLayerScoped(layoutContainerKey);
27
+ }
16
28
  function useLayoutSlots() {
17
29
  return readLayerScoped(layoutSlotsKey);
18
30
  }
@@ -23,4 +35,4 @@ function useLayoutDividers() {
23
35
  return readLayerScoped(layoutDividerKey);
24
36
  }
25
37
  //#endregion
26
- export { useLayoutDividers as a, useLayoutArea as i, layoutDividerKey as n, useLayoutSlots as o, layoutSlotsKey as r, layoutAreaKey as t };
38
+ export { useLayoutArea as a, useLayoutSlots as c, provideLayoutContainer as i, layoutDividerKey as n, useLayoutContainer as o, layoutSlotsKey as r, useLayoutDividers as s, layoutAreaKey as t };
@@ -100,10 +100,10 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
100
100
  //#region src/Tokenizer/Tokenizer.vue.d.ts
101
101
  declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
102
102
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
103
+ onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
103
104
  onSearch?: ((query: string) => any) | undefined;
104
105
  onBlur?: ((event: FocusEvent) => any) | undefined;
105
106
  onFocus?: ((event: FocusEvent) => any) | undefined;
106
- onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
107
107
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
108
108
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
109
109
  onChangeQuery?: ((query: string) => any) | undefined;
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
116
116
  }>) => void;
117
117
  attrs: any;
118
118
  slots: TokenizerSlots<T>;
119
- emit: ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
119
+ emit: ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
120
120
  }>) => import("vue").VNode & {
121
121
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
122
122
  };
@@ -99,8 +99,8 @@ type __VLS_WithSlots$1<T, S> = T & {
99
99
  //#region src/Stepper/Stepper.vue.d.ts
100
100
  type __VLS_Slots = StepperSlots;
101
101
  declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
102
- orientation: StepperOrientation;
103
102
  density: StepperDensity;
103
+ orientation: StepperOrientation;
104
104
  indicatorPosition: StepperIndicatorPosition;
105
105
  hasCollapsibleLabels: boolean;
106
106
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
52
52
  "onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
53
53
  onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
54
54
  }>, {
55
- variant: AppShellVariant;
56
55
  height: AppShellHeight;
56
+ variant: AppShellVariant;
57
57
  mobileNav: false | AppShellMobileNav;
58
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
59
59
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -154,11 +154,11 @@ type __VLS_ModelProps = {
154
154
  };
155
155
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
156
156
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
157
- "update:value": (value: CollapsibleGroupValue | undefined) => any;
158
157
  change: (value: CollapsibleGroupValue) => any;
158
+ "update:value": (value: CollapsibleGroupValue | undefined) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
160
- "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
161
160
  onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
161
+ "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
162
162
  }>, {
163
163
  type: CollapsibleGroupType;
164
164
  hasDividers: boolean;
@@ -535,14 +535,14 @@ type __VLS_Slots$11 = ChatComposerSlots;
535
535
  declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
536
536
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
537
537
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
538
+ change: (value: string) => any;
538
539
  submit: (value: string) => any;
539
540
  stop: () => any;
540
- change: (value: string) => any;
541
541
  "update:modelValue": (value: string) => any;
542
542
  }, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
543
+ onChange?: ((value: string) => any) | undefined;
543
544
  onSubmit?: ((value: string) => any) | undefined;
544
545
  onStop?: (() => any) | undefined;
545
- onChange?: ((value: string) => any) | undefined;
546
546
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
547
547
  }>, {
548
548
  elevation: ChatComposerElevation;
@@ -583,14 +583,14 @@ type __VLS_WithSlots$10<T, S> = T & {
583
583
  //#endregion
584
584
  //#region src/Chat/ChatComposerInput.vue.d.ts
585
585
  declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
586
- submit: (value: string) => any;
587
586
  change: (value: string) => any;
587
+ submit: (value: string) => any;
588
588
  keydown: (event: KeyboardEvent) => any;
589
589
  "update:modelValue": (value: string) => any;
590
590
  files: (files: File[]) => any;
591
591
  }, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
592
- onSubmit?: ((value: string) => any) | undefined;
593
592
  onChange?: ((value: string) => any) | undefined;
593
+ onSubmit?: ((value: string) => any) | undefined;
594
594
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
595
595
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
596
596
  onFiles?: ((files: File[]) => any) | undefined;
@@ -946,7 +946,12 @@ interface UseChatPasteAsTokenReturn {
946
946
  /** Return true when the paste was turned into a chip. */
947
947
  onPaste: (text: string) => boolean;
948
948
  }
949
- declare function pastedTextLabel(text: string): string;
949
+ /** 粘贴文本的行数和字符数写成一句计数。 */
950
+ type PastedTextLabelFormat = (lines: number, chars: number) => string;
951
+ /**
952
+ * 粘贴文本小块上的计数。`format` 决定怎么写,组件传当前语言的文案;不传时用英文。
953
+ */
954
+ declare function pastedTextLabel(text: string, format?: PastedTextLabelFormat): string;
950
955
  declare function useChatPasteAsToken(options: UseChatPasteAsTokenOptions): UseChatPasteAsTokenReturn;
951
956
  //#endregion
952
957
  export { ChatComposerTokenBadge as $, _default$9 as A, ChatReasoningProps as At, ChatComposerDrawerEmits as B, ChatTypingIndicatorProps as Bt, _default$2 as C, ChatMessageMetadataProps as Ct, _default$6 as D, ChatMessageSlots as Dt, _default$5 as E, ChatMessageSender as Et, _default$14 as F, ChatToolCallItem as Ft, ChatComposerInputControl as G, ChatComposerDrawerSlots as H, _default$15 as I, ChatToolCallStatus as It, ChatComposerInputProps as J, ChatComposerInputEmits as K, _default$16 as L, ChatToolCallsEmits as Lt, _default$11 as M, ChatSystemMessageProps as Mt, _default$12 as N, ChatSystemMessageSlots as Nt, _default$7 as O, ChatMessageStatus as Ot, _default$13 as P, ChatSystemMessageVariant as Pt, ChatComposerToken as Q, _default$17 as R, ChatToolCallsProps as Rt, _default$1 as S, ChatMessageListSlots as St, _default$4 as T, ChatMessageProps as Tt, ChatComposerElevation as U, ChatComposerDrawerProps as V, ChatUnreadDividerProps as Vt, ChatComposerEmits as W, ChatComposerSlots as X, ChatComposerProps as Y, ChatComposerStatus as Z, useChatComposerContext as _, ChatMessageBubbleProps as _t, useChatPasteAsToken as a, ChatSendButtonEmits as at, useChatMessageContext as b, ChatMessageListAlign as bt, SpeechRecognitionError as c, ChatTokenizedTextProps as ct, useSpeechRecognition as d, ChatLayoutProps as dt, ChatComposerTokenCustom as et, TokenPortal as f, ChatLayoutScrollButtonEmits as ft, ChatComposerContextValue as g, ChatMessageBubbleGroup as gt, useChatComposerTokens as h, ChatLayoutSlots as ht, pastedTextLabel as i, ChatDictationButtonProps as it, _default$10 as j, ChatReasoningSlots as jt, _default$8 as k, ChatReasoningEmits as kt, UseSpeechRecognitionOptions as l, ChatTokenizedTextSlots as lt, UseChatComposerTokensReturn as m, ChatLayoutScrollSlotProps as mt, UseChatPasteAsTokenOptions as n, ChatComposerTrigger as nt, UseChatDictationOptions as o, ChatSendButtonProps as ot, UseChatComposerTokensOptions as p, ChatLayoutScrollButtonProps as pt, ChatComposerInputHandle as q, UseChatPasteAsTokenReturn as r, ChatComposerTriggerItem as rt, useChatDictation as s, ChatSendButtonSlots as st, PASTE_TOKEN_THRESHOLD as t, ChatComposerTokenElementProps as tt, UseSpeechRecognitionReturn as u, ChatDensity as ut, useChatLayoutContext as v, ChatMessageBubbleSlots as vt, _default$3 as w, ChatMessageMetadataSlots as wt, _default as x, ChatMessageListProps as xt, useChatListContext as y, ChatMessageBubbleVariant as yt, ChatComposerDensity as z, ChatToolCallsSlots as zt };
@@ -27,7 +27,10 @@ type GridSizeValue = number | string;
27
27
  * created, each at least `minWidth` wide.
28
28
  */
29
29
  interface GridResponsiveColumns {
30
- /** Minimum width of every column track, in pixels. */
30
+ /**
31
+ * Minimum width of every column track, in pixels. In a container narrower
32
+ * than `minWidth`, the single track shrinks to the container width.
33
+ */
31
34
  minWidth: number;
32
35
  /**
33
36
  * Caps the number of columns.
@@ -391,22 +391,22 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
391
391
  focusTypeahead: () => void | undefined;
392
392
  blurTypeahead: () => void | undefined;
393
393
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
394
+ change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
394
395
  blur: (event: FocusEvent) => any;
395
396
  focus: (event: FocusEvent) => any;
396
- change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
397
397
  "update:filters": (filters: PowerSearchFilter[]) => any;
398
398
  }, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
399
+ onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
399
400
  onBlur?: ((event: FocusEvent) => any) | undefined;
400
401
  onFocus?: ((event: FocusEvent) => any) | undefined;
401
- onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
402
402
  "onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
403
403
  }>, {
404
404
  status: PowerSearchStatus;
405
405
  statusVariant: PowerSearchStatusVariant;
406
- hasClear: boolean;
407
406
  labelHidden: boolean;
408
407
  disabled: boolean;
409
408
  clearable: boolean;
409
+ hasClear: boolean;
410
410
  overflow: PowerSearchOverflow;
411
411
  readOnly: boolean;
412
412
  maxTokenLength: number;
@@ -111,8 +111,8 @@ type __VLS_Slots = CardSlots;
111
111
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {
112
112
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
113
113
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
114
- elevation: CardElevation;
115
114
  variant: keyof CardVariantMap;
115
+ elevation: CardElevation;
116
116
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
117
117
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
118
118
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { s as AstryxMessages } from "./loadCatalog-DSRSkHnY.js";
1
+ import { s as AstryxMessages } from "./loadCatalog-D_uf2uX1.js";
2
2
  import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
3
3
  //#region src/locale/types.d.ts
4
4
  /** 内置文案的两种语言。其他语言用 `loadAstryxCatalog` 接原版 JSON。 */
@@ -35,10 +35,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
35
35
  focus: typeof focus;
36
36
  blur: typeof blur;
37
37
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
38
+ isSelected: boolean;
38
39
  isDisabled: boolean;
39
- as: ItemElement;
40
40
  density: ListDensity;
41
- isSelected: boolean;
41
+ as: ItemElement;
42
42
  align: ItemAlign;
43
43
  layout: ItemLayout;
44
44
  isHighlighted: boolean;
@@ -74,18 +74,16 @@ interface HeadingProps {
74
74
  }
75
75
  //#endregion
76
76
  //#region src/Heading/Heading.vue.d.ts
77
- declare var __VLS_13: {}, __VLS_21: {};
77
+ declare var __VLS_13: {};
78
78
  type __VLS_Slots = {} & {
79
79
  default?: (props: typeof __VLS_13) => any;
80
- } & {
81
- default?: (props: typeof __VLS_21) => any;
82
80
  };
83
81
  declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
84
82
  color: HeadingColor;
85
- hasCapsize: boolean;
83
+ maxLines: number;
86
84
  display: HeadingDisplay;
87
85
  justify: HeadingJustify;
88
- maxLines: number;
86
+ hasCapsize: boolean;
89
87
  hasTruncateTooltip: HeadingTruncateTooltip;
90
88
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
91
89
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -28,10 +28,10 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
28
28
  onClick?: ((event: MouseEvent) => any) | undefined;
29
29
  }>, {
30
30
  block: boolean;
31
- size: NavItemSize;
31
+ isSelected: boolean;
32
32
  isDisabled: boolean;
33
+ size: NavItemSize;
33
34
  isIconOnly: boolean;
34
- isSelected: boolean;
35
35
  plain: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -154,11 +154,11 @@ type __VLS_Slots = {
154
154
  default: () => unknown;
155
155
  };
156
156
  declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
157
- "update:value": (value: string) => any;
158
157
  change: (value: string) => any;
158
+ "update:value": (value: string) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
160
- "onUpdate:value"?: ((value: string) => any) | undefined;
161
160
  onChange?: ((value: string) => any) | undefined;
161
+ "onUpdate:value"?: ((value: string) => any) | undefined;
162
162
  }>, {
163
163
  isFullBleed: boolean;
164
164
  overflow: TabListOverflow;
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
36
36
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
37
37
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
38
38
  isDisabled: boolean;
39
- direction: ResizeDirection;
40
39
  position: ResizePosition;
40
+ direction: ResizeDirection;
41
41
  isReversed: boolean;
42
42
  hasDivider: boolean;
43
43
  isAlwaysVisible: boolean;
@@ -0,0 +1,46 @@
1
+ import { a as TextProps, c as TextType, i as TextJustify, n as TextColor, r as TextDisplay, s as TextTruncateTooltip, t as TextAs } from "./types-B8suOGP8.js";
2
+ import { MaybeRefOrGetter, Ref } from "vue";
3
+ //#region src/Text/Text.vue.d.ts
4
+ declare var __VLS_13: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_13) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextProps> & Readonly<{}>, {
9
+ type: TextType;
10
+ as: TextAs;
11
+ color: TextColor;
12
+ maxLines: number;
13
+ display: TextDisplay;
14
+ justify: TextJustify;
15
+ hasCapsize: boolean;
16
+ hasTruncateTooltip: TextTruncateTooltip;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+ //#endregion
26
+ //#region src/Text/useTruncation.d.ts
27
+ interface Truncation {
28
+ /** 绑到被测量的文字元素上(`:ref="truncation.bind"`)。换成别的元素时,旧元素的观察自动解除。 */
29
+ bind: (value: Element | null) => void;
30
+ /** 文字此刻是否被截断。只在它为 true 时再去渲染显示全文的提示。 */
31
+ isTruncated: Ref<boolean>;
32
+ /** 元素当前的全部文字,每次测量时更新;尺寸不变、只换了文字时也会跟上。 */
33
+ fullText: Ref<string>;
34
+ }
35
+ /**
36
+ * 量文字有没有被截断:`maxLines` 为 1 比宽度,大于 1 用 Range 量真实高度
37
+ * (`-webkit-line-clamp` 会把 scrollHeight 也夹成容器高度),0 不测量。
38
+ *
39
+ * 尺寸和内容的变化都走全页共用的 ResizeObserver / MutationObserver,
40
+ * 一页几百个表格单元格也只有各一个观察者。新元素的第一次测量交给共用
41
+ * ResizeObserver 的第一次通知,那是浏览器自己排版之后发的,挂载时不额外强制排版;
42
+ * 元素已被别人观察、不会再有第一次通知时,改在渲染提交后的微任务里量。
43
+ */
44
+ declare function useTruncation(maxLines: MaybeRefOrGetter<number>): Truncation;
45
+ //#endregion
46
+ export { useTruncation as n, _default as r, Truncation as t };
@@ -209,8 +209,8 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
209
209
  }, string, import("vue").PublicProps, Readonly<CodeBlockProps> & Readonly<{
210
210
  onCopy?: (() => any) | undefined;
211
211
  }>, {
212
- size: CodeBlockSize;
213
212
  width: string;
213
+ size: CodeBlockSize;
214
214
  container: CodeBlockContainer;
215
215
  language: string;
216
216
  hasLanguageLabel: boolean;