@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
@@ -1,22 +1,100 @@
1
1
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
2
+ import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
3
+ import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
2
4
  import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
3
5
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
4
6
  import { t as useAnnounce } from "./announce-B210eJVf.js";
5
- import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
6
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
7
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
7
8
  import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
8
9
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
9
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
10
- import { t as _sfc_main$2 } from "./Field-CdrGdY7U.js";
11
+ import { t as _sfc_main$2 } from "./Field-if5a58LO.js";
11
12
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
12
- import { t as _sfc_main$3 } from "./Token-DV53YBsy.js";
13
- import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-6t5zSSz1.js";
14
- import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-Bu9HO-wZ.js";
15
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
13
+ import { t as _sfc_main$3 } from "./Token-DWCDMawn.js";
14
+ import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
15
+ import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-CFeJCv-6.js";
16
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
16
17
  import "../styles/layer.css";
17
18
  import "../styles/visually-hidden-utility.css";
18
19
  import "../styles/typeahead.css";
19
20
  import "../styles/tokenizer.css";
21
+ //#region src/composables/internal/useTokenRemoveTap.ts
22
+ /**
23
+ * 手指点 Token 自带的删除按钮时,别把触屏键盘弹起来。
24
+ *
25
+ * 触屏浏览器在一次点按里聚焦输入框就会弹出键盘。标签输入框删掉一个标签后
26
+ * 默认把焦点交回输入框,于是手指每删一个标签都要再收一次键盘。这里记下
27
+ * 字段里最近一次按下:手指按在删除按钮上、而输入框当时没有焦点(键盘是收着的)
28
+ * 时,删除后焦点留在原处,被按的删除按钮也不接焦点。鼠标、笔、按键删除,
29
+ * 以及键盘已经弹起时的点按,都照旧把焦点交回输入框。
30
+ */
31
+ /** Token 自带的删除按钮。自定义插槽画的删除控件不算。 */
32
+ const TOKEN_REMOVE_SELECTOR = ".astryx-token-remove";
33
+ function removeControlOf(target) {
34
+ return target instanceof Element ? target.closest(TOKEN_REMOVE_SELECTOR) : null;
35
+ }
36
+ function useTokenRemoveTap(options) {
37
+ trackInteractionModality();
38
+ let press = null;
39
+ let endTimer;
40
+ /** 键盘是收着的:最近一次是手指按下,当时输入框没有焦点,之后也没按过键。 */
41
+ function wasKeyboardDown() {
42
+ return press != null && press.isFinger && !press.inputHadFocus && getInteractionModality() === "pointer";
43
+ }
44
+ function onPointerDown(event) {
45
+ clearTimeout(endTimer);
46
+ const input = options.input.value;
47
+ press = {
48
+ inputHadFocus: input != null && input.ownerDocument.activeElement === input,
49
+ isFinger: event.pointerType === "touch",
50
+ pressedRemove: removeControlOf(event.target)
51
+ };
52
+ }
53
+ /** 手指点按后浏览器补发的 mousedown 会让按钮抢到焦点,键盘收着时取消它。 */
54
+ function onMouseDown(event) {
55
+ if (removeControlOf(event.target) != null && wasKeyboardDown()) event.preventDefault();
56
+ }
57
+ /** 这次按下的记录随点按结束:click 所在的任务跑完,或者浏览器把按下接管成滚动。 */
58
+ function onClick() {
59
+ clearTimeout(endTimer);
60
+ endTimer = setTimeout(() => {
61
+ press = null;
62
+ });
63
+ }
64
+ function onPointerCancel() {
65
+ press = null;
66
+ }
67
+ const listeners = [
68
+ ["pointerdown", onPointerDown],
69
+ ["mousedown", onMouseDown],
70
+ ["click", onClick],
71
+ ["pointercancel", onPointerCancel]
72
+ ];
73
+ let boundTo = null;
74
+ function bindTo(element) {
75
+ if (element === boundTo) return;
76
+ for (const [type, listener] of listeners) {
77
+ boundTo?.removeEventListener(type, listener, true);
78
+ element?.addEventListener(type, listener, true);
79
+ }
80
+ boundTo = element;
81
+ }
82
+ onMounted(() => bindTo(options.root.value));
83
+ watch(options.root, (element) => bindTo(element), { flush: "post" });
84
+ onBeforeUnmount(() => {
85
+ clearTimeout(endTimer);
86
+ bindTo(null);
87
+ });
88
+ function shouldFocusInputAfterRemove() {
89
+ const pressed = wasKeyboardDown() ? press?.pressedRemove ?? null : null;
90
+ if (pressed == null) return true;
91
+ const active = pressed.ownerDocument.activeElement;
92
+ const token = pressed.closest(options.tokenSelector) ?? pressed;
93
+ return active != null && token.contains(active);
94
+ }
95
+ return { shouldFocusInputAfterRemove };
96
+ }
97
+ //#endregion
20
98
  //#region src/Tokenizer/inputAttrs.ts
21
99
  /**
22
100
  * 这些属性由组件自己算,不能让外面透传的值盖掉。
@@ -298,6 +376,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
298
376
  onMounted(() => {
299
377
  if (props.hasAutoFocus) inputRef.value?.focus();
300
378
  });
379
+ const removeTap = useTokenRemoveTap({
380
+ root: anchorRef,
381
+ input: inputRef,
382
+ tokenSelector: ".astryx-tokenizer-token"
383
+ });
301
384
  const tokenCount = computed(() => values.value.length);
302
385
  const overflow = useOverflow(tokenCount, { gap: 4 });
303
386
  const visibleCount = computed(() => collapsed.value ? overflow.visibleCount.value : tokenCount.value);
@@ -336,7 +419,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
336
419
  item
337
420
  });
338
421
  announce(messages.value.tokenizer.removed(item.label));
339
- nextTick(() => inputRef.value?.focus());
422
+ if (removeTap.shouldFocusInputAfterRemove()) nextTick(() => inputRef.value?.focus());
340
423
  }
341
424
  function clearAll(event) {
342
425
  event?.stopPropagation();
@@ -674,4 +757,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
674
757
  }
675
758
  });
676
759
  //#endregion
677
- export { _sfc_main as t };
760
+ export { useTokenRemoveTap as n, _sfc_main as t };
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-CCYGMtZy.js";
1
+ import { T as _default } from "../index-D4zmrP2a.js";
2
2
  import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
3
3
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Toolbar-D5UI1JLe.js";
1
+ import { t as _sfc_main } from "../Toolbar-BH_E0F0G.js";
2
2
  export { _sfc_main as Toolbar };
@@ -60,7 +60,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
60
60
  class: normalizeClass(["astryx-toolbar", [
61
61
  `astryx-toolbar--${__props.size}`,
62
62
  `astryx-toolbar--${__props.orientation}`,
63
- { "astryx-toolbar--centered": _ctx.$slots.center }
63
+ {
64
+ "astryx-toolbar--centered": _ctx.$slots.center,
65
+ "astryx-toolbar--two-lane": _ctx.$slots.start && _ctx.$slots.end && !_ctx.$slots.center && __props.orientation !== "vertical"
66
+ }
64
67
  ]]),
65
68
  role: "toolbar",
66
69
  "aria-label": __props.label,
@@ -1,3 +1,3 @@
1
- import { t as useTooltip } from "../useTooltip-BKsCTWdb.js";
2
- import { t as _sfc_main } from "../Tooltip-BfKegFfq.js";
1
+ import { t as useTooltip } from "../useTooltip-D8Tq7-yd.js";
2
+ import { t as _sfc_main } from "../Tooltip-CGHpFMnc.js";
3
3
  export { _sfc_main as Tooltip, useTooltip };
@@ -1,4 +1,4 @@
1
- import { n as _sfc_main$1, t as useTooltip } from "./useTooltip-BKsCTWdb.js";
1
+ import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-D8Tq7-yd.js";
2
2
  import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
3
3
  import "../styles/tooltip.css";
4
4
  //#region src/Tooltip/Tooltip.vue
@@ -1,2 +1,2 @@
1
- import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-CCYGMtZy.js";
1
+ import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-D4zmrP2a.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
@@ -1,2 +1,2 @@
1
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-ZTKVEADp.js";
1
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-DHunql9h.js";
2
2
  export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
@@ -1,15 +1,15 @@
1
- import { t as _sfc_main$8 } from "./Icon-DAcZMgiJ.js";
1
+ import { t as _sfc_main$8 } from "./Icon-BCHo7W0x.js";
2
2
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
3
3
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
4
4
  import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
5
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
6
6
  import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
7
- import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-C8KAzhRl.js";
7
+ import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-TMDrnXfG.js";
8
8
  import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
9
- import { t as _sfc_main$11 } from "./NavItem-B_c92jqW.js";
10
- import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-BbRWuyhq.js";
11
- import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-Crc0y9_s.js";
12
- import { t as _sfc_main$15 } from "./NavHeadingSurface-DemUziLF.js";
9
+ import { t as _sfc_main$11 } from "./NavItem-BZLN0U5a.js";
10
+ import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-DG4jls5z.js";
11
+ import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-DIMQohIa.js";
12
+ import { t as _sfc_main$15 } from "./NavHeadingSurface-j2gzMVKt.js";
13
13
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
14
14
  import "../styles/top-nav.css";
15
15
  //#region src/TopNav/TopNav.vue
@@ -1,2 +1,2 @@
1
- import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CLWHRRDM.js";
1
+ import { n as useTreeFocus, t as _sfc_main } from "../TreeList-Dg5gtkOu.js";
2
2
  export { _sfc_main as TreeList, useTreeFocus };
@@ -1,9 +1,10 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
2
- import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-DAcZMgiJ.js";
1
+ import { t as isInLayerSurface } from "./layerSurfacePress-C3PjPpJP.js";
2
+ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
3
+ import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
3
4
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
4
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
6
- import { t as _sfc_main$3 } from "./Badge-DByZSDmu.js";
6
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
7
+ import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
7
8
  import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
8
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
9
10
  import "../styles/tree-list.css";
@@ -125,6 +126,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
125
126
  if (props.item.isDisabled) return;
126
127
  const target = event.target;
127
128
  if (target instanceof Element && target.closest("button, a, input, select, textarea")) return;
129
+ if (target instanceof Element && isInLayerSurface(target, event.currentTarget)) return;
128
130
  if (props.item.onClick) props.item.onClick(event);
129
131
  else if (hasChildren.value) emit("toggle", props.item.id);
130
132
  else if (safeHref.value) event.currentTarget.querySelector(".astryx-tree-list__action")?.click();
@@ -1,2 +1,2 @@
1
- import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-BnEhvmdR.js";
1
+ import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-DyALKpjX.js";
2
2
  export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
@@ -1,3 +1,3 @@
1
- import { n as _sfc_main$2 } from "../TypeaheadMenu-Bu9HO-wZ.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-Dd8pq0fI.js";
1
+ import { n as _sfc_main$2 } from "../TypeaheadMenu-CFeJCv-6.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BkmCC6DX.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -1,16 +1,16 @@
1
1
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
2
+ import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
2
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
3
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
4
- import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
5
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
6
6
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
7
7
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
8
- import { t as _sfc_main$3 } from "./Spinner-CTWLR75x.js";
9
- import { t as _sfc_main$4 } from "./Field-CdrGdY7U.js";
8
+ import { t as _sfc_main$3 } from "./Spinner-ke63bQPv.js";
9
+ import { t as _sfc_main$4 } from "./Field-if5a58LO.js";
10
10
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
11
- import { t as _sfc_main$5 } from "./Token-DV53YBsy.js";
12
- import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-6t5zSSz1.js";
13
- import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-Bu9HO-wZ.js";
11
+ import { t as _sfc_main$5 } from "./Token-DWCDMawn.js";
12
+ import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
13
+ import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-CFeJCv-6.js";
14
14
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
15
15
  import "../styles/layer.css";
16
16
  import "../styles/visually-hidden-utility.css";
@@ -28,7 +28,8 @@ const _hoisted_1 = {
28
28
  class: "astryx-typeahead-icon",
29
29
  "aria-hidden": "true"
30
30
  };
31
- const _hoisted_2 = [
31
+ const _hoisted_2 = ["id"];
32
+ const _hoisted_3 = [
32
33
  "id",
33
34
  "tabindex",
34
35
  "data-autofocus",
@@ -46,10 +47,10 @@ const _hoisted_2 = [
46
47
  "aria-describedby",
47
48
  "aria-required"
48
49
  ];
49
- const _hoisted_3 = ["aria-label"];
50
- const _hoisted_4 = ["id"];
51
- const _hoisted_5 = ["name", "value"];
52
- const _hoisted_6 = [
50
+ const _hoisted_4 = ["aria-label"];
51
+ const _hoisted_5 = ["id"];
52
+ const _hoisted_6 = ["name", "value"];
53
+ const _hoisted_7 = [
53
54
  "id",
54
55
  "role",
55
56
  "aria-label",
@@ -65,6 +66,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
65
66
  label: {},
66
67
  inputId: {},
67
68
  describedBy: {},
69
+ labelId: {},
68
70
  ariaDescribedBy: {},
69
71
  ariaLabelledBy: {},
70
72
  anchorRef: {},
@@ -157,6 +159,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
157
159
  const externalDescribedBy = computed(() => props.ariaDescribedBy ?? attrString("aria-describedby"));
158
160
  const labelledBy = computed(() => props.ariaLabelledBy ?? attrString("aria-labelledby"));
159
161
  const ariaLabel = computed(() => props.label ?? attrString("aria-label"));
162
+ const tokenValueId = computed(() => `${inputId.value}-value`);
163
+ /**
164
+ * 有值时,值 Token 的按钮就是这个字段的 Tab 停点。它和输入框一样用字段标签
165
+ * (再加上调用方的 aria-labelledby)命名,后面跟着值;说明也和输入框一样。
166
+ */
167
+ const tokenLabelledBy = computed(() => [
168
+ props.labelId,
169
+ labelledBy.value,
170
+ tokenValueId.value
171
+ ].filter(Boolean).join(" "));
160
172
  const describedBy = computed(() => {
161
173
  return [
162
174
  props.describedBy,
@@ -351,17 +363,26 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
351
363
  onPointerleave: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
352
364
  }, [
353
365
  _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true),
354
- showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$5, {
366
+ showToken.value && selected.value ? (openBlock(), createElementBlock("span", {
355
367
  key: 1,
368
+ id: tokenValueId.value,
369
+ hidden: ""
370
+ }, toDisplayString(selected.value.label), 9, _hoisted_2)) : createCommentVNode("v-if", true),
371
+ showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$5, {
372
+ key: 2,
356
373
  class: "astryx-typeahead-value",
357
374
  label: selected.value.label,
358
375
  size: props.size,
359
376
  disabled: props.disabled,
377
+ "aria-labelledby": tokenLabelledBy.value,
378
+ "aria-describedby": describedBy.value,
360
379
  onClick: startEdit
361
380
  }, null, 8, [
362
381
  "label",
363
382
  "size",
364
- "disabled"
383
+ "disabled",
384
+ "aria-labelledby",
385
+ "aria-describedby"
365
386
  ])) : createCommentVNode("v-if", true),
366
387
  createElementVNode("input", mergeProps(inputAttrs(), {
367
388
  id: inputId.value,
@@ -392,15 +413,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
392
413
  onFocus,
393
414
  onBlur,
394
415
  onKeydown
395
- }), null, 16, _hoisted_2),
416
+ }), null, 16, _hoisted_3),
396
417
  unref(menu).status.value === "loading" ? (openBlock(), createBlock(_sfc_main$3, {
397
- key: 2,
418
+ key: 3,
398
419
  class: "astryx-typeahead-spinner",
399
420
  size: "sm",
400
421
  "aria-label": unref(messages).typeahead.loading
401
422
  }, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
402
423
  props.clearable && selected.value && !props.disabled ? (openBlock(), createElementBlock("button", {
403
- key: 3,
424
+ key: 4,
404
425
  type: "button",
405
426
  class: "astryx-typeahead-clear",
406
427
  "aria-label": clearLabel.value,
@@ -416,18 +437,18 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
416
437
  stroke: "currentColor",
417
438
  "stroke-width": "1.5",
418
439
  "stroke-linecap": "round"
419
- })], -1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true),
440
+ })], -1)])], 8, _hoisted_4)) : createCommentVNode("v-if", true),
420
441
  focusableDisabled.value ? (openBlock(), createElementBlock("span", {
421
- key: 4,
442
+ key: 5,
422
443
  id: disabledId.value,
423
444
  class: "astryx-visually-hidden"
424
- }, toDisplayString(props.disabledReason), 9, _hoisted_4)) : createCommentVNode("v-if", true),
445
+ }, toDisplayString(props.disabledReason), 9, _hoisted_5)) : createCommentVNode("v-if", true),
425
446
  props.name ? (openBlock(), createElementBlock("input", {
426
- key: 5,
447
+ key: 6,
427
448
  type: "hidden",
428
449
  name: props.name,
429
450
  value: selected.value?.id ?? ""
430
- }, null, 8, _hoisted_5)) : createCommentVNode("v-if", true)
451
+ }, null, 8, _hoisted_6)) : createCommentVNode("v-if", true)
431
452
  ], 38)], 2),
432
453
  showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
433
454
  key: 0,
@@ -449,7 +470,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
449
470
  id: listboxId.value,
450
471
  ref_key: "listboxRef",
451
472
  ref: listboxRef,
452
- class: "astryx-typeahead-listbox astryx-layer",
473
+ class: "astryx-typeahead-listbox astryx-typeahead-popup astryx-layer",
453
474
  role: unref(optionGrid).gridMode.value ? "grid" : "listbox",
454
475
  "aria-label": unref(messages).typeahead.results,
455
476
  "data-placement": unref(anchored).position.value.placement,
@@ -497,7 +518,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
497
518
  "empty-text",
498
519
  "loading-text",
499
520
  "error-text"
500
- ])], 12, _hoisted_6), [[vShow, unref(menu).combobox.isOpen.value]])]))
521
+ ])], 12, _hoisted_7), [[vShow, unref(menu).combobox.isOpen.value]])]))
501
522
  ], 64);
502
523
  };
503
524
  }
@@ -673,6 +694,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
673
694
  "search-source": props.searchSource,
674
695
  "input-id": field.inputId,
675
696
  "described-by": field.describedBy,
697
+ "label-id": field.labelId,
676
698
  placeholder: props.placeholder,
677
699
  disabled: unref(isDisabled),
678
700
  "disabled-reason": disabledMessage.value,
@@ -719,6 +741,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
719
741
  "search-source",
720
742
  "input-id",
721
743
  "described-by",
744
+ "label-id",
722
745
  "placeholder",
723
746
  "disabled",
724
747
  "disabled-reason",
@@ -1,7 +1,7 @@
1
1
  import { t as characterCount } from "./characters-wTnzjkkR.js";
2
2
  import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
3
3
  import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
4
- import { t as _sfc_main$2 } from "./Spinner-CTWLR75x.js";
4
+ import { t as _sfc_main$2 } from "./Spinner-ke63bQPv.js";
5
5
  import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, watch, withModifiers } from "vue";
7
7
  import "../styles/typeahead.css";
@@ -1,6 +1,6 @@
1
- import { $ as MergedRefHandle, $n as UseContainerReveal, $t as Hotkey, A as useResolvedLabelHidden, An as useDevWarning, Ar as applyRangeClick, At as UseKeyboardHint, B as computeOverflow, Bn as TimeSurface, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as useEntryAnimation, Cr as useAppShellMobile, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandleRef, Dr as ISODateRange, Dt as UseLayerReturn, E as useScrollableArea, En as DisclosureHandle, Er as useAnnounce, Et as UseLayerOptions, F as usePendingChange, Fn as HourFormat, Fr as isSameRange, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseISOTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatISOTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as ISOTimeString, Ir as orderRange, It as useInteractiveRole, J as buildMonthGrid, Jn as ControllableState, Jt as ImageSampleRegion, K as useNumberField, Kn as resolveTimeSurface, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as NativePicker, Lr as resolveWeekStart, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DateSurface, Mr as formatDateRange, Mt as useKeyboardHint, N as usePressFeedback, Nn as resolveDatePresentation, Nr as isDayOutsideSpan, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as useDisclosureHandle, Or as RangeClickResult, Ot as useLayer, P as PendingChange, Pn as resolveDateSurface, Pr as isRangeWithinSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContentRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as ParsedTime, Rr as spanDays, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationReturn, Sr as appShellMobileKey, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as useDismiss, Tr as AnnouncePoliteness, Tt as LayerMode, U as NumberStepDirection, Un as isTimeInRange, Ut as useInputContainer, V as useOverflow, Vn as formatDisplayTime, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as parseDisplayTime, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as useControllableState, Xt as imageModeFromPixels, Y as parseISODate, Yn as UseControllableStateOptions, Yt as UseImageModeOptions, Z as todayISODate, Zn as ContainerRevealOptions, Zt as perceptualLightness, _ as ScrollAxis, _n as FieldControlState, _r as CHAT_MESSAGE_CLASS, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as useCombobox, at as resetMenuPress, b as ScrollOverscroll, bn as EntryAnimationPreset, br as useChatNewMessages, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as INTERACTIVE_SELECTORS, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasTextSelection, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerRevealOptions, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as useClickableContainer, ft as MenuPressStep, g as useScrollLock, gn as selectFiles, gr as useChatStreamScroll, gt as LongPressOptions, h as useScrollOverflow, hn as formatFileSize, hr as UseChatStreamScrollReturn, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as UseComboboxOptions, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as DatePresentation, jr as compareISODate, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as devWarn, kr as WeekStartsOn, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as UseClickableContainerOptions, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as UseChatStreamScrollOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as Combobox, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCoarsePointer, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as ChatScrollToBottomOptions, pt as menuPressStep, q as addMonths, qn as shiftTime, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as ComboboxOption, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as ClickableContainerHandlers, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as useContainerReveal, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as hasInteractiveAncestor, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlStateInput, vr as UseChatNewMessagesOptions, vt as ListFocus, w as UseScrollableAreaOptions, wn as UseDismissOptions, wr as AnnounceFn, wt as useResolvedLayerTeleport, x as ScrollRole, xn as UseEntryAnimationOptions, xr as AppShellMobile, xt as useListFocus, y as ScrollKeyboardAccess, yn as useFieldControlState, yr as UseChatNewMessagesReturn, yt as ListFocusOrientation, z as UseOverflowReturn, zn as TimePresentation, zt as UseInputStatusIconReturn } from "../index-DAs54mND.js";
1
+ import { $ as MergedRefHandle, $n as ContentRevealOptions, $t as Hotkey, A as useResolvedLabelHidden, An as devWarn, Ar as WeekStartsOn, At as UseKeyboardHint, B as computeOverflow, Bn as TimePresentation, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as UseEntryAnimationReturn, Cr as appShellMobileKey, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandle, Dr as useAnnounce, Dt as UseLayerReturn, E as useScrollableArea, En as useDismiss, Er as AnnouncePoliteness, Et as UseLayerOptions, F as usePendingChange, Fn as resolveDateSurface, Fr as isRangeWithinSpan, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseDisplayTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatDisplayTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as HourFormat, Ir as isSameRange, It as useInteractiveRole, J as buildMonthGrid, Jn as shiftTime, Jt as ImageSampleRegion, K as useNumberField, Kn as parseISOTime, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as ISOTimeString, Lr as orderRange, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DatePresentation, Mr as compareISODate, Mt as useKeyboardHint, N as usePressFeedback, Nn as DateSurface, Nr as formatDateRange, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as DisclosureHandleRef, Or as ISODateRange, Ot as useLayer, P as PendingChange, Pn as resolveDatePresentation, Pr as isDayOutsideSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContainerRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as NativePicker, Rr as resolveWeekStart, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationOptions, Sr as AppShellMobile, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as UseDismissOptions, Tr as AnnounceFn, Tt as LayerMode, U as NumberStepDirection, Un as formatISOTime, Ut as useInputContainer, V as useOverflow, Vn as TimeSurface, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as isTimeInRange, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as UseControllableStateOptions, Xt as imageModeFromPixels, Y as parseISODate, Yn as ControllableState, Yt as UseImageModeOptions, Z as todayISODate, Zn as useControllableState, Zt as perceptualLightness, _ as ScrollAxis, _n as selectFiles, _r as useChatStreamScroll, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as UseComboboxOptions, at as resetMenuPress, b as ScrollOverscroll, bn as useFieldControlState, br as UseChatNewMessagesReturn, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as ClickableContainerHandlers, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasInteractiveAncestor, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerReveal, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as hasTextSelection, ft as MenuPressStep, g as useScrollLock, gn as formatFileSize, gr as UseChatStreamScrollReturn, gt as LongPressOptions, h as useScrollOverflow, hn as FileSizeUnits, hr as UseChatStreamScrollOptions, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as ComboboxOption, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as useDevWarning, jr as applyRangeClick, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as useDisclosureHandle, kr as RangeClickResult, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as INTERACTIVE_SELECTORS, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as ChatScrollToBottomOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as useContainerReveal, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCombobox, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as useClickableContainer, pt as menuPressStep, q as addMonths, qn as resolveTimeSurface, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as Combobox, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as useCoarsePointer, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as UseContainerRevealOptions, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as UseClickableContainerOptions, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlState, vr as CHAT_MESSAGE_CLASS, vt as ListFocus, w as UseScrollableAreaOptions, wn as useEntryAnimation, wr as useAppShellMobile, wt as useResolvedLayerTeleport, x as ScrollRole, xn as EntryAnimationPreset, xr as useChatNewMessages, xt as useListFocus, y as ScrollKeyboardAccess, yn as FieldControlStateInput, yr as UseChatNewMessagesOptions, yt as ListFocusOrientation, z as UseOverflowReturn, zn as ParsedTime, zr as spanDays, zt as UseInputStatusIconReturn } from "../index-DCU6dy7n.js";
2
2
  import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
3
3
  import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
4
4
  import { t as characterCount } from "../characters-rcDbGt71.js";
5
5
  import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-fEGAFziz.js";
6
- export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTouchTrigger, useTypeahead };
6
+ export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,5 +1,10 @@
1
- import { a as useClickableContainer, i as hasTextSelection, n as INTERACTIVE_SELECTORS, r as hasInteractiveAncestor, t as usePressFeedback } from "../usePressFeedback-Dt76SpLj.js";
1
+ import { d as hasInteractiveAncestor, f as hasTextSelection, p as useClickableContainer, u as INTERACTIVE_SELECTORS } from "../pressFeedback-Bwwpex9q.js";
2
+ import { n as isMenuPressActivation, r as resetMenuPress } from "../strayClick-CY-_ImKv.js";
3
+ import { t as usePressFeedback } from "../usePressFeedback-Bcjsw9vv.js";
2
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
+ import { t as useDismiss } from "../useDismiss-0-Z-9D0A.js";
6
+ import { t as useLayer } from "../useLayer-CED-g4Q2.js";
7
+ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
3
8
  import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
4
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
5
10
  import { t as useAnnounce } from "../announce-B210eJVf.js";
@@ -7,24 +12,22 @@ import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMo
7
12
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
8
13
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
9
14
  import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
10
- import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, h as useCoarsePointer, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-DamLUqw3.js";
11
15
  import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
16
+ import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-DqJzanJ5.js";
12
17
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
13
18
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
14
19
  import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
15
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
16
- import { n as useDismiss } from "../usePositionedLayer-psKf3ano.js";
17
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
18
- import { n as selectFiles, t as formatFileSize } from "../useFileSelection-BPtaegqK.js";
19
- import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-XEKs5-gp.js";
22
+ import { n as selectFiles, t as formatFileSize } from "../useFileSelection-B44UpbvF.js";
23
+ import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-CEG0n2AK.js";
20
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
21
25
  import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-I3BCiLSL.js";
22
- import { t as useInputContainer } from "../useInputContainer-BP3u3hGz.js";
23
- import { t as useInputStatusIcon } from "../useInputStatusIcon-CTF4yF3e.js";
26
+ import { t as useInputContainer } from "../useInputContainer-BpLtCA-U.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-DCnx00BM.js";
24
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
25
- import { t as useLayer } from "../useLayer-Byjda3dD.js";
26
29
  import { t as useListFocus } from "../useListFocus-CbHkLT-X.js";
27
- import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-8foxY8z4.js";
30
+ import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-BLPwY_m1.js";
28
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
29
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-fGHSSrFc.js";
30
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
@@ -1,29 +1,10 @@
1
- import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
2
1
  import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
3
- import { t as _sfc_main$1 } from "./Kbd-Dn1LTcNY.js";
4
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
- import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, shallowRef, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
2
+ import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
3
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
4
+ import { t as _sfc_main$1 } from "./Kbd-DyxKNYtE.js";
5
+ import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
6
6
  import "../styles/indicator-focus-ring.css";
7
7
  import "../styles/keyboard-hint.css";
8
- //#region src/composables/useCoarsePointer.ts
9
- /** 粗指针(触摸)为 true。服务端和细指针设备为 false。 */
10
- function useCoarsePointer() {
11
- const coarse = shallowRef(false);
12
- let query;
13
- function update() {
14
- coarse.value = query?.matches ?? false;
15
- }
16
- onMounted(() => {
17
- query = window.matchMedia("(pointer: coarse)");
18
- update();
19
- query.addEventListener("change", update);
20
- });
21
- onScopeDispose(() => {
22
- query?.removeEventListener("change", update);
23
- });
24
- return computed(() => coarse.value);
25
- }
26
- //#endregion
27
8
  //#region src/composables/useContainerReveal.ts
28
9
  function useContainerReveal(options = {}) {
29
10
  function containerProps(reveal = {}) {
@@ -907,4 +888,4 @@ function useTouchTrigger(options) {
907
888
  };
908
889
  }
909
890
  //#endregion
910
- export { useKeyboardHint as a, perceptualLightness as c, useGridFocus as d, useEntryAnimation as f, useCoarsePointer as h, useStreamingText as i, useImageMode as l, useContainerReveal as m, useTouchTrigger as n, useIndicatorFocusRing as o, useControllableState as p, snapToGraphemeBoundary as r, imageModeFromPixels as s, isActionTrigger as t, useGridRovingFocus as u };
891
+ export { useKeyboardHint as a, perceptualLightness as c, useGridFocus as d, useEntryAnimation as f, useStreamingText as i, useImageMode as l, useContainerReveal as m, useTouchTrigger as n, useIndicatorFocusRing as o, useControllableState as p, snapToGraphemeBoundary as r, imageModeFromPixels as s, isActionTrigger as t, useGridRovingFocus as u };