@astryx-vue/core 0.12.1 → 0.13.1

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 (317) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-igjA8kZr.js → AlertDialog-CsdgJDLK.js} +6 -6
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-DUHcLJWD.js → AppShell-CE5Up5SI.js} +1 -1
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-KmdgVaAb.js → Avatar-D5CFSkAG.js} +1 -1
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-KBzD0jeF.js → AvatarGroup-CKHxYNVh.js} +1 -1
  11. package/dist/Banner/index.d.ts +1 -1
  12. package/dist/Banner/index.js +1 -1
  13. package/dist/{Banner-Bf_nMW3-.js → Banner-B4IEG4Fx.js} +1 -1
  14. package/dist/BottomSheet/index.d.ts +1 -1
  15. package/dist/BottomSheet/index.js +2 -2
  16. package/dist/{BottomSheet-B57XUJV3.js → BottomSheet-D67lQ3Lo.js} +12 -6
  17. package/dist/{BottomSheet-BMqjymuf.js → BottomSheet-UctSPL-g.js} +3 -3
  18. package/dist/Breadcrumbs/index.js +2 -2
  19. package/dist/{Breadcrumbs-aTPAdLdg.js → Breadcrumbs-By21sIml.js} +1 -1
  20. package/dist/Button/index.d.ts +1 -1
  21. package/dist/Button/index.js +1 -1
  22. package/dist/{Button-sUkQ0Ufo.js → Button-CfbR2oPc.js} +6 -6
  23. package/dist/ButtonGroup/index.d.ts +1 -1
  24. package/dist/ButtonGroup/index.js +1 -1
  25. package/dist/{ButtonGroup-CWra-KDj.js → ButtonGroup-BFl-0uOp.js} +2 -2
  26. package/dist/Calendar/index.d.ts +1 -1
  27. package/dist/Card/index.d.ts +1 -1
  28. package/dist/Carousel/index.d.ts +1 -1
  29. package/dist/Carousel/index.js +1 -1
  30. package/dist/{Carousel-DmXceU9h.js → Carousel-mL_KdBMw.js} +1 -1
  31. package/dist/Center/index.d.ts +1 -1
  32. package/dist/Chat/index.d.ts +1 -1
  33. package/dist/Chat/index.js +1 -1
  34. package/dist/{Chat-CeibAkxn.js → Chat-C10BQlIl.js} +40 -7
  35. package/dist/CheckboxInput/index.d.ts +1 -1
  36. package/dist/CheckboxInput/index.js +1 -1
  37. package/dist/{CheckboxInput-PvzPV1N1.js → CheckboxInput-BGqRMoEA.js} +2 -2
  38. package/dist/CheckboxList/index.d.ts +1 -1
  39. package/dist/CheckboxList/index.js +1 -1
  40. package/dist/{CheckboxList-DKtNzb0t.js → CheckboxList-DbMhC06M.js} +5 -5
  41. package/dist/ClickableCard/index.d.ts +1 -1
  42. package/dist/ClickableCard/index.js +1 -1
  43. package/dist/{ClickableCard-CvxSKkXh.js → ClickableCard-5k35MGot.js} +2 -2
  44. package/dist/Code/index.d.ts +1 -1
  45. package/dist/Code/index.js +1 -1
  46. package/dist/{CodeBlock-CTPuBH_r.js → CodeBlock-DAlWY51H.js} +1 -1
  47. package/dist/Collapsible/index.d.ts +1 -1
  48. package/dist/Collapsible/index.js +1 -1
  49. package/dist/{Collapsible-C_tl5-L0.js → Collapsible-C09C59LH.js} +1 -1
  50. package/dist/CommandPalette/index.js +1 -1
  51. package/dist/{CommandPalette-DIoT_vZh.js → CommandPalette-DYk_FyFB.js} +3 -3
  52. package/dist/ComplexSelector/index.d.ts +1 -1
  53. package/dist/ComplexSelector/index.js +1 -1
  54. package/dist/{ComplexSelector-B_5mzJjR.js → ComplexSelector-NDpRucQB.js} +165 -49
  55. package/dist/ContextMenu/index.d.ts +1 -1
  56. package/dist/ContextMenu/index.js +2 -2
  57. package/dist/{ContextMenu-DYnyk5rs.js → ContextMenu-JDU4HDKm.js} +6 -6
  58. package/dist/DateInput/index.d.ts +1 -1
  59. package/dist/DateInput/index.js +1 -1
  60. package/dist/{DateInput-DgPIsWPu.js → DateInput-DVEb1-fM.js} +4 -4
  61. package/dist/DateRangeInput/index.d.ts +1 -1
  62. package/dist/DateRangeInput/index.js +1 -1
  63. package/dist/{DateRangeInput-oOfhUt1Q.js → DateRangeInput-OuAz80nR.js} +3 -3
  64. package/dist/DateTimeInput/index.d.ts +1 -1
  65. package/dist/DateTimeInput/index.js +1 -1
  66. package/dist/{DateTimeInput-DZfghF2h.js → DateTimeInput-J5CFTSSa.js} +5 -5
  67. package/dist/Dialog/index.d.ts +1 -1
  68. package/dist/Dialog/index.js +3 -3
  69. package/dist/{Dialog-Dkwt3mVt.js → Dialog-C0WuGDqP.js} +48 -22
  70. package/dist/{Dialog-qIL4DUot.js → Dialog-Cm8CXGpI.js} +1 -1
  71. package/dist/{DialogHeader-w4TCzYEj.js → DialogHeader-BD2Ezw4F.js} +2 -2
  72. package/dist/Drawer/index.d.ts +1 -1
  73. package/dist/Drawer/index.js +1 -1
  74. package/dist/{Drawer-DBHSNUAa.js → Drawer-CFpcRHt7.js} +2 -2
  75. package/dist/DropdownMenu/index.js +3 -3
  76. package/dist/{DropdownMenu-DHvAlqSj.js → DropdownMenu-2QRvY0aP.js} +10 -10
  77. package/dist/{DropdownMenu-Cncx4FbU.js → DropdownMenu-5Mn01A-5.js} +5 -5
  78. package/dist/EmptyState/index.js +1 -1
  79. package/dist/{EmptyState-uWyPaIR1.js → EmptyState-CqUTEnGg.js} +2 -2
  80. package/dist/Field/index.js +3 -3
  81. package/dist/{Field-CqDOsI3P.js → Field-Cw8J8ld7.js} +1 -1
  82. package/dist/{FieldInfoTip-CUh2koNc.js → FieldInfoTip-D7UNDNje.js} +1 -1
  83. package/dist/{FieldLabel-BMHNRAG3.js → FieldLabel-CJbiefUx.js} +1 -1
  84. package/dist/FileInput/index.d.ts +1 -1
  85. package/dist/FileInput/index.js +1 -1
  86. package/dist/{FileInput-C6dK2pvX.js → FileInput-CgfiwVfs.js} +2 -2
  87. package/dist/Heading/index.js +1 -1
  88. package/dist/{Heading-C0axugQa.js → Heading-BO9n2vLl.js} +1 -1
  89. package/dist/HoverCard/index.d.ts +1 -1
  90. package/dist/HoverCard/index.js +1 -1
  91. package/dist/{HoverCard-C6Gxekg0.js → HoverCard-47J_i9AH.js} +28 -64
  92. package/dist/IconButton/index.js +1 -1
  93. package/dist/{IconButton-Bv2eIsJy.js → IconButton-DiDHiGbo.js} +1 -1
  94. package/dist/InfoTip/index.d.ts +1 -1
  95. package/dist/InfoTip/index.js +1 -1
  96. package/dist/{InfoTip-BKsbmGA6.js → InfoTip-ClRC1Hh9.js} +2 -2
  97. package/dist/{InputClearButton-CSS2Tjat.js → InputClearButton-DL4RM5z1.js} +1 -1
  98. package/dist/InputGroup/index.js +1 -1
  99. package/dist/{InputGroup-DTGh1ylC.js → InputGroup-JMOrdsmu.js} +1 -1
  100. package/dist/InternationalizationProvider/index.d.ts +1 -1
  101. package/dist/InternationalizationProvider/index.js +1 -1
  102. package/dist/{InternationalizationProvider-CyDjQn5Z.js → InternationalizationProvider-BYU2MRtX.js} +1 -1
  103. package/dist/{Item-Cfv4ALls.js → Item-CoNXshDg.js} +2 -2
  104. package/dist/{LayerContentBoundary-DwTkbifx.js → LayerContentBoundary-CeebKoPB.js} +1 -1
  105. package/dist/Lightbox/index.js +1 -1
  106. package/dist/{Lightbox-BZ-zBvly.js → Lightbox-kKjxYZ05.js} +3 -3
  107. package/dist/Link/index.d.ts +1 -1
  108. package/dist/Link/index.js +1 -1
  109. package/dist/{Link-Ddu0KjPZ.js → Link-CkbAlJ3-.js} +2 -2
  110. package/dist/List/index.d.ts +1 -1
  111. package/dist/List/index.js +2 -2
  112. package/dist/{ListItem-2evjQQ7n.js → ListItem-D-pqxQpq.js} +1 -1
  113. package/dist/Markdown/index.js +1 -1
  114. package/dist/{Markdown-D7bQGV9u.js → Markdown-DXRFVNJd.js} +3 -3
  115. package/dist/MobileNav/index.js +1 -1
  116. package/dist/{MobileNavToggle-Dfshmrdy.js → MobileNavToggle-DUtvvHc7.js} +3 -3
  117. package/dist/MoreMenu/index.d.ts +1 -1
  118. package/dist/MoreMenu/index.js +1 -1
  119. package/dist/{MoreMenu-Bie4B7Jr.js → MoreMenu-CEJ9E2eD.js} +6 -6
  120. package/dist/MultiSelector/index.d.ts +1 -1
  121. package/dist/MultiSelector/index.js +1 -1
  122. package/dist/{MultiSelector-BdedjB6u.js → MultiSelector-DgWCWpnM.js} +111 -56
  123. package/dist/{NavDisclosure-1otbO71l.js → NavDisclosure-Bf5OFtwv.js} +1 -1
  124. package/dist/{NavHeadingSurface-BkMR3V5m.js → NavHeadingSurface-D5MpO-gO.js} +1 -1
  125. package/dist/NavItem/index.d.ts +1 -1
  126. package/dist/NavItem/index.js +1 -1
  127. package/dist/{NavItem-BZLN0U5a.js → NavItem-hmUfwhiK.js} +1 -1
  128. package/dist/NavMenu/index.js +3 -3
  129. package/dist/{NavMenu-dyGZS1yM.js → NavMenu-BcmUfk7z.js} +2 -2
  130. package/dist/{NavMenuItem-CirgE73a.js → NavMenuItem-C9xk9KZk.js} +2 -2
  131. package/dist/NumberInput/index.d.ts +1 -1
  132. package/dist/NumberInput/index.js +1 -1
  133. package/dist/{NumberInput-0KbcEF3_.js → NumberInput-DNcE_HLD.js} +3 -3
  134. package/dist/Outline/index.js +1 -1
  135. package/dist/{Outline-BXu7HCHp.js → Outline--OQ2pCFL.js} +1 -1
  136. package/dist/OverflowList/index.d.ts +1 -1
  137. package/dist/OverflowList/index.js +1 -1
  138. package/dist/{OverflowList-BdcaX1bz.js → OverflowList-CeQT7MBd.js} +2 -2
  139. package/dist/Pagination/index.d.ts +1 -1
  140. package/dist/Pagination/index.js +1 -1
  141. package/dist/{Pagination-uttop2ls.js → Pagination-DJGQe6wH.js} +1 -1
  142. package/dist/Popover/index.d.ts +1 -1
  143. package/dist/Popover/index.js +1 -1
  144. package/dist/{Popover-BOQo9UPf.js → Popover-C68nCirC.js} +8 -7
  145. package/dist/PowerSearch/index.d.ts +1 -1
  146. package/dist/PowerSearch/index.js +1 -1
  147. package/dist/{PowerSearch-DDuYfvNh.js → PowerSearch-C6lkutch.js} +18 -18
  148. package/dist/ProgressBar/index.d.ts +1 -1
  149. package/dist/ProgressBar/index.js +1 -1
  150. package/dist/{ProgressBar-BS3VSoE9.js → ProgressBar-MaDhabCm.js} +1 -1
  151. package/dist/Radio/index.d.ts +1 -1
  152. package/dist/Radio/index.js +1 -1
  153. package/dist/{RadioGroup-DKaSstyl.js → RadioGroup-CLQLK_V7.js} +3 -3
  154. package/dist/RadioList/index.d.ts +1 -1
  155. package/dist/RadioList/index.js +1 -1
  156. package/dist/{RadioList-DtKm9spP.js → RadioList-DfHTyqIQ.js} +1 -1
  157. package/dist/Resizable/index.d.ts +1 -1
  158. package/dist/ScrollableArea/index.d.ts +1 -1
  159. package/dist/ScrollableArea/index.js +1 -1
  160. package/dist/{ScrollableArea-BgIytCxo.js → ScrollableArea-C2GBp55Z.js} +1 -1
  161. package/dist/SegmentedControl/index.js +1 -1
  162. package/dist/{SegmentedControl-Bs74LlvS.js → SegmentedControl-COVOdCq2.js} +1 -1
  163. package/dist/SelectableCard/index.d.ts +1 -1
  164. package/dist/SelectableCard/index.js +1 -1
  165. package/dist/{SelectableCard-BFCwgtWf.js → SelectableCard-CTRsWXfA.js} +2 -2
  166. package/dist/Selector/index.d.ts +1 -1
  167. package/dist/Selector/index.js +1 -1
  168. package/dist/{Selector-OpczmkqS.js → Selector-CPCoJ7Sb.js} +13 -47
  169. package/dist/SideNav/index.d.ts +1 -1
  170. package/dist/SideNav/index.js +1 -1
  171. package/dist/{SideNav-L6CWk5fV.js → SideNav-CV8MKVL-.js} +6 -6
  172. package/dist/Slider/index.js +1 -1
  173. package/dist/{Slider-DZS8mGZA.js → Slider-CHJ1CESd.js} +3 -3
  174. package/dist/Stack/index.d.ts +1 -1
  175. package/dist/StatusDot/index.js +1 -1
  176. package/dist/{StatusDot-DaQGq8YN.js → StatusDot-CGaRrl39.js} +1 -1
  177. package/dist/Stepper/index.d.ts +1 -1
  178. package/dist/Stepper/index.js +1 -1
  179. package/dist/{Stepper-DAQRW4n8.js → Stepper-CYZrGpQ9.js} +1 -1
  180. package/dist/Switch/index.d.ts +1 -1
  181. package/dist/Switch/index.js +1 -1
  182. package/dist/{Switch-BN_NnBuc.js → Switch-Bx9ezhrN.js} +2 -2
  183. package/dist/TabList/index.d.ts +1 -1
  184. package/dist/TabList/index.js +1 -1
  185. package/dist/{TabList-Bmj4tGT-.js → TabList-o4t9vWvl.js} +2 -2
  186. package/dist/Table/index.d.ts +1 -1
  187. package/dist/Table/index.js +1 -1
  188. package/dist/{Table-_pSoEiGP.js → Table-CO2cYE8r.js} +13 -13
  189. package/dist/Text/index.js +1 -1
  190. package/dist/{Text-IijvZmW-.js → Text-C6SB2hHJ.js} +1 -1
  191. package/dist/TextArea/index.d.ts +1 -1
  192. package/dist/TextArea/index.js +1 -1
  193. package/dist/{TextArea-BDR179q1.js → TextArea-DVaDS_1K.js} +5 -5
  194. package/dist/TextInput/index.d.ts +1 -1
  195. package/dist/TextInput/index.js +1 -1
  196. package/dist/{TextInput-kUzxl99M.js → TextInput-Dylfzj33.js} +5 -5
  197. package/dist/Thumbnail/index.js +1 -1
  198. package/dist/{Thumbnail-Disi5yDb.js → Thumbnail-BTQAYnWi.js} +3 -3
  199. package/dist/{TimeField-C0la1AtP.js → TimeField-B3JGgLuf.js} +4 -4
  200. package/dist/TimeInput/index.d.ts +1 -1
  201. package/dist/TimeInput/index.js +1 -1
  202. package/dist/{TimeInput-C_jTijHh.js → TimeInput-Dmy6PxaD.js} +2 -2
  203. package/dist/Timer/index.js +1 -1
  204. package/dist/{Timer-DifGERP8.js → Timer-CN5BmaFS.js} +1 -1
  205. package/dist/Timestamp/index.d.ts +1 -1
  206. package/dist/Timestamp/index.js +1 -1
  207. package/dist/{Timestamp-BjXZGAvO.js → Timestamp-B7UcCEo2.js} +3 -3
  208. package/dist/Toast/index.js +1 -1
  209. package/dist/{Toast-DBo0WRAd.js → Toast-DCipbbCW.js} +3 -3
  210. package/dist/ToggleButton/index.d.ts +1 -1
  211. package/dist/ToggleButton/index.js +1 -1
  212. package/dist/{ToggleButton-B5HNykOh.js → ToggleButton-C78lrcdr.js} +3 -3
  213. package/dist/Token/index.js +1 -1
  214. package/dist/{Token-CtG_XE6z.js → Token-uhs8Q9Rr.js} +1 -1
  215. package/dist/Tokenizer/index.d.ts +1 -1
  216. package/dist/Tokenizer/index.js +1 -1
  217. package/dist/{Tokenizer-BNazaZsP.js → Tokenizer-D7B1ff3O.js} +111 -52
  218. package/dist/Toolbar/index.d.ts +1 -1
  219. package/dist/Tooltip/index.d.ts +1 -1
  220. package/dist/Tooltip/index.js +2 -2
  221. package/dist/{Tooltip-4APVAlN9.js → Tooltip-kQPfj3SE.js} +1 -1
  222. package/dist/TopNav/index.d.ts +1 -1
  223. package/dist/TopNav/index.js +1 -1
  224. package/dist/{TopNav-XSZWAR-7.js → TopNav-AGY785QI.js} +5 -5
  225. package/dist/TreeList/index.js +1 -1
  226. package/dist/{TreeList-CRMLcaRx.js → TreeList-Dc3A72iY.js} +2 -2
  227. package/dist/Typeahead/index.d.ts +1 -1
  228. package/dist/Typeahead/index.js +2 -2
  229. package/dist/{Typeahead-BgQVQw-0.js → Typeahead-QWYeVsel.js} +49 -14
  230. package/dist/composables/index.d.ts +2 -1
  231. package/dist/composables/index.js +15 -15
  232. package/dist/{composables-WUkSRUCj.js → composables-CyKB3F8u.js} +53 -5
  233. package/dist/{focus-l8jVTcqd.js → focus-x7mxEqjR.js} +1 -1
  234. package/dist/{index-a1jCiQP7.d.ts → index-9YGUb_Ht.d.ts} +4 -4
  235. package/dist/{index-Q1oG9yIT.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  236. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  237. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  238. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  239. package/dist/{index-DFLPv9io.d.ts → index-BOCb89V9.d.ts} +2 -2
  240. package/dist/{index-CGDmjlec.d.ts → index-BWaO4-T-.d.ts} +56 -56
  241. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  242. package/dist/{index-CuW4AQ7M.d.ts → index-BhxqUt3y.d.ts} +2 -2
  243. package/dist/{index-wTwhcFQx.d.ts → index-Bl_K_cRv.d.ts} +1 -1
  244. package/dist/{index-Bmqz1lVz.d.ts → index-BpprL2SN.d.ts} +1 -1
  245. package/dist/{index-CM2L3SUw.d.ts → index-BzViSe8D.d.ts} +19 -4
  246. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  247. package/dist/{index-CKtrcglY.d.ts → index-CREW8ZiL.d.ts} +6 -6
  248. package/dist/{index-D-YoRrfP.d.ts → index-CVs4A2QU.d.ts} +47 -58
  249. package/dist/{index-9tZJgo0R.d.ts → index-CfoExOY_.d.ts} +2 -2
  250. package/dist/{index-Cb-HJUhK.d.ts → index-Cun6cXGP.d.ts} +1 -1
  251. package/dist/{index-DydQ5Ngj.d.ts → index-D7YRtteD.d.ts} +1 -1
  252. package/dist/{index-BmYnVNI-.d.ts → index-DE1genab.d.ts} +14 -2
  253. package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
  254. package/dist/{index-lmd9LZKB.d.ts → index-DS9SzqqJ.d.ts} +2 -2
  255. package/dist/{index-mkbGYz8f.d.ts → index-Dc9_kBrU.d.ts} +9 -2
  256. package/dist/{index-_5purQow.d.ts → index-Dep8pgnU.d.ts} +8 -6
  257. package/dist/{index-DhcjuwQq.d.ts → index-Dlq0cFK-.d.ts} +2 -2
  258. package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
  259. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  260. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  261. package/dist/{index-Cy1rEWC-.d.ts → index-bgjrSSaT.d.ts} +2 -2
  262. package/dist/{index-B3FE7s7V.d.ts → index-s0Ezq3U-.d.ts} +4 -4
  263. package/dist/{index-CLHJybQY.d.ts → index-ul1hNxih.d.ts} +1 -1
  264. package/dist/index.d.ts +32 -31
  265. package/dist/index.js +109 -109
  266. package/dist/interactionModality-BPvyShJT.js +125 -0
  267. package/dist/layerDepth-BU_55vPr.js +294 -0
  268. package/dist/{layerFocusReturn-DMJaFgcY.js → layerFocusReturn-DWGkSHXj.js} +2 -2
  269. package/dist/{loadCatalog-XbgoqaRp.js → loadCatalog-BtQRPyzj.js} +6 -2
  270. package/dist/{loadCatalog-CQEYXGuI.d.ts → loadCatalog-Kp7aQZpL.d.ts} +3 -0
  271. package/dist/locale/index.d.ts +2 -2
  272. package/dist/locale/index.js +4 -4
  273. package/dist/{locale-BwnZeppK.js → locale-DET_YkFW.js} +1 -1
  274. package/dist/{modalOutlet-CUOcrhIu.js → modalOutlet-Drr9a16b.js} +25 -1
  275. package/dist/{pressFeedback-Bwwpex9q.js → pressFeedback-Co3ugCsm.js} +3 -190
  276. package/dist/pressGesture-B3z3W3Za.js +78 -0
  277. package/dist/{scrollKeyboardDelegation-D7cumnOl.js → scrollKeyboardDelegation-BSpUCTlO.js} +1 -1
  278. package/dist/selectorEscape-LkWoVYQN.js +52 -0
  279. package/dist/{useAnchoredListbox-CuRfVgKl.js → stillPointerGate-BZ7KMJOB.js} +20 -2
  280. package/dist/{tokenizer-DSka5PJD.js → tokenizer-ChiAuPN-.js} +5 -1
  281. package/dist/tooltipTriggerRules-9zkDe8_b.js +10 -0
  282. package/dist/{searchResultMessage-BEqDlHdV.js → triggerVariant-BDVvyLtv.js} +18 -18
  283. package/dist/{useActionGroupTracking-BJMRaXil.js → useActionGroupTracking-CDclbV3Y.js} +2 -2
  284. package/dist/useClickableContainer-Dtjg-nkm.js +141 -0
  285. package/dist/{useCombobox-CTo5C-gc.js → useCombobox-D374_pT8.js} +32 -8
  286. package/dist/{useDismiss-BWd-sQ18.js → useDismiss-74dLMi5S.js} +58 -5
  287. package/dist/{useFocusTrap-FJt5QhEd.js → useFocusTrap-CyooA0OC.js} +32 -17
  288. package/dist/{useHoverLayerDismiss-uhfzmZyf.js → useHoverLayerDismiss-B1W5qIBx.js} +1 -1
  289. package/dist/{useInputContainer-BpLtCA-U.js → useInputContainer-CLhsKYZ6.js} +1 -1
  290. package/dist/useInputStatusIcon-B6m_t8cK.d.ts +45 -0
  291. package/dist/{useInputStatusIcon-C3Q-q_wI.js → useInputStatusIcon-ZqCxDNTj.js} +1 -1
  292. package/dist/{useLayer-BGv_wRSG.js → useLayer-BnjrJ85F.js} +13 -5
  293. package/dist/{useMenuDrillIn-uQtOSny6.js → useMenuDrillIn-BW9dNBje.js} +1 -1
  294. package/dist/{useMenuPress-BLPwY_m1.js → useMenuPress-BWq7kwWm.js} +1 -29
  295. package/dist/{useOptionActionGrid-CkJcuvaU.js → useOptionActionGrid-C7ibYM_A.js} +15 -1
  296. package/dist/{usePressFeedback-Bcjsw9vv.js → usePressFeedback-Cxu4-mCe.js} +1 -1
  297. package/dist/{useResizable-DTDhsLip.js → useResizable-De4Xp3TD.js} +1 -1
  298. package/dist/{useRestoreFocus-D2-pGoOk.js → useRestoreFocus-CSrI8x7v.js} +2 -2
  299. package/dist/{useScrollableArea-BE8b3qm7.js → useScrollableArea-Bwn75HDg.js} +1 -1
  300. package/dist/{useTooltip-md1tr6ef.js → useTooltip-uc-VLZ8I.js} +25 -27
  301. package/dist/{useTouchHitArea-1WtV3u6F.js → useTouchHitArea-B3jx01C3.js} +1 -1
  302. package/dist/useTouchTriggerInternal-b-txblws.js +257 -0
  303. package/dist/{useTruncationTooltip-BGsFITq5.js → useTruncationTooltip-BVMCoNno.js} +4 -4
  304. package/dist/{useTypeahead-BrUwR-kv.js → useTypeahead-BWj3xhbR.js} +1 -1
  305. package/dist/{TypeaheadMenu-BOzaCvSb.js → useTypeaheadAnnouncement-DVkdWTWy.js} +75 -33
  306. package/package.json +1 -1
  307. package/styles/complex-selector.css +24 -1
  308. package/styles/multi-selector.css +10 -0
  309. package/styles/selector.css +10 -0
  310. package/styles/tokenizer.css +64 -0
  311. package/styles/typeahead.css +28 -0
  312. package/dist/interactionModality-ACpTMhak.js +0 -44
  313. package/dist/layerDepth-BF74Cctw.js +0 -205
  314. package/dist/layerSurfacePress-C3PjPpJP.js +0 -29
  315. package/dist/tooltipTriggerRules-BY3LAtUl.js +0 -53
  316. package/dist/triggerVariant-BsL8jMHs.js +0 -16
  317. package/dist/useTouchTrigger-GGd85Obb.js +0 -146
@@ -5,12 +5,12 @@ import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
6
  import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
7
7
  import { t as navMessages } from "./nav-DpKQUHqR.js";
8
- import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-Dfshmrdy.js";
8
+ import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-DUtvvHc7.js";
9
9
  import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
10
- import { t as _sfc_main$11 } from "./NavItem-BZLN0U5a.js";
11
- import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-1otbO71l.js";
12
- import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-CirgE73a.js";
13
- import { t as _sfc_main$15 } from "./NavHeadingSurface-BkMR3V5m.js";
10
+ import { t as _sfc_main$11 } from "./NavItem-hmUfwhiK.js";
11
+ import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-Bf5OFtwv.js";
12
+ import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-C9xk9KZk.js";
13
+ import { t as _sfc_main$15 } from "./NavHeadingSurface-D5MpO-gO.js";
14
14
  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";
15
15
  import "../styles/top-nav.css";
16
16
  //#region src/TopNav/TopNav.vue
@@ -1,2 +1,2 @@
1
- import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CRMLcaRx.js";
1
+ import { n as useTreeFocus, t as _sfc_main } from "../TreeList-Dc3A72iY.js";
2
2
  export { _sfc_main as TreeList, useTreeFocus };
@@ -1,5 +1,5 @@
1
- import { t as isInLayerSurface } from "./layerSurfacePress-C3PjPpJP.js";
2
- import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
1
+ import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
+ import { t as usePressFeedback } from "./usePressFeedback-Cxu4-mCe.js";
3
3
  import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
4
4
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
5
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
@@ -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-CM2L3SUw.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-BzViSe8D.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-BOzaCvSb.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BgQVQw-0.js";
1
+ import { r as _sfc_main$2 } from "../useTypeaheadAnnouncement-DVkdWTWy.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-QWYeVsel.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -1,18 +1,19 @@
1
1
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
2
- import { a as isImeKeyEvent } from "./layerDepth-BF74Cctw.js";
2
+ import { o as isImeKeyEvent } from "./layerDepth-BU_55vPr.js";
3
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
5
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-ZqCxDNTj.js";
5
6
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
7
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
7
8
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
8
9
  import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
9
- import { t as _sfc_main$4 } from "./Field-CqDOsI3P.js";
10
+ import { t as _sfc_main$4 } from "./Field-Cw8J8ld7.js";
10
11
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
11
12
  import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
12
- import { t as _sfc_main$5 } from "./Token-CtG_XE6z.js";
13
- import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-CuRfVgKl.js";
14
- import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-BOzaCvSb.js";
15
- 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";
13
+ import { t as _sfc_main$5 } from "./Token-uhs8Q9Rr.js";
14
+ import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BZ7KMJOB.js";
15
+ import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$6, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-DVkdWTWy.js";
16
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, 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";
@@ -46,7 +47,8 @@ const _hoisted_3 = [
46
47
  "aria-labelledby",
47
48
  "aria-activedescendant",
48
49
  "aria-describedby",
49
- "aria-required"
50
+ "aria-required",
51
+ "aria-invalid"
50
52
  ];
51
53
  const _hoisted_4 = ["aria-label"];
52
54
  const _hoisted_5 = ["id"];
@@ -79,6 +81,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
79
81
  disabledReason: {},
80
82
  isFocusableDisabled: { type: Boolean },
81
83
  status: { default: "default" },
84
+ statusMessage: {},
85
+ statusVariant: { default: "attached" },
82
86
  size: { default: "md" },
83
87
  clearable: {
84
88
  type: Boolean,
@@ -152,6 +156,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
152
156
  /** 有禁用原因时鼠标悬停或键盘聚焦都能读到它。 */
153
157
  const showsDisabledMessage = computed(() => Boolean(props.disabled) && Boolean(props.disabledReason?.trim()));
154
158
  const disabledTooltip = useButtonTooltip(showsDisabledMessage);
159
+ const { statusIcon, statusIconProps } = useInputStatusIcon({
160
+ status: () => props.status !== "default" && props.statusMessage ? {
161
+ type: props.status,
162
+ message: props.statusMessage
163
+ } : void 0,
164
+ statusVariant: () => props.statusVariant
165
+ });
155
166
  function attrString(name) {
156
167
  const value = attrs[name];
157
168
  return typeof value === "string" ? value : void 0;
@@ -165,11 +176,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
165
176
  * 有值时,值 Token 的按钮就是这个字段的 Tab 停点。它和输入框一样用字段标签
166
177
  * (再加上调用方的 aria-labelledby)命名,后面跟着值;说明也和输入框一样。
167
178
  */
168
- const tokenLabelledBy = computed(() => [
179
+ const tokenLabelledBy = computed(() => [.../* @__PURE__ */ new Set([
169
180
  props.labelId,
170
- labelledBy.value,
181
+ ...labelledBy.value?.split(" ") ?? [],
171
182
  tokenValueId.value
172
- ].filter(Boolean).join(" "));
183
+ ])].filter(Boolean).join(" "));
173
184
  const describedBy = computed(() => {
174
185
  return [
175
186
  props.describedBy,
@@ -202,7 +213,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
202
213
  "aria-activedescendant",
203
214
  "aria-autocomplete",
204
215
  "aria-disabled",
205
- "aria-required"
216
+ "aria-required",
217
+ "aria-invalid"
206
218
  ]);
207
219
  function inputAttrs() {
208
220
  return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
@@ -225,6 +237,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
225
237
  emit("changeQuery", query);
226
238
  }
227
239
  });
240
+ useTypeaheadAnnouncement({
241
+ menu,
242
+ emptyText: () => emptyText.value,
243
+ emptySearchText: () => emptyText.value,
244
+ resultCount: (count) => messages.value.typeahead.resultCount(count)
245
+ });
228
246
  /** 下拉挂靠外面给的元素;没给就挂在自己的外框上。 */
229
247
  const anchor = computed(() => props.anchorRef ?? controlRef.value ?? null);
230
248
  const anchored = useAnchoredListbox({
@@ -410,6 +428,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
410
428
  "aria-activedescendant": unref(optionGrid).gridMode.value ? unref(optionGrid).actionGrid.activeDescendant.value : unref(menu).activeId.value ? `${listboxId.value}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
411
429
  "aria-describedby": describedBy.value,
412
430
  "aria-required": props.required || void 0,
431
+ "aria-invalid": props.status === "error" ? true : void 0,
413
432
  onInput,
414
433
  onFocus,
415
434
  onBlur,
@@ -439,13 +458,14 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
439
458
  "stroke-width": "1.5",
440
459
  "stroke-linecap": "round"
441
460
  })], -1)])], 8, _hoisted_4)) : createCommentVNode("v-if", true),
461
+ unref(statusIcon) ? (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon)), normalizeProps(mergeProps({ key: 5 }, unref(statusIconProps))), null, 16)) : createCommentVNode("v-if", true),
442
462
  focusableDisabled.value ? (openBlock(), createElementBlock("span", {
443
- key: 5,
463
+ key: 6,
444
464
  id: disabledId.value,
445
465
  class: "astryx-visually-hidden"
446
466
  }, toDisplayString(props.disabledReason), 9, _hoisted_5)) : createCommentVNode("v-if", true),
447
467
  props.name ? (openBlock(), createElementBlock("input", {
448
- key: 6,
468
+ key: 7,
449
469
  type: "hidden",
450
470
  name: props.name,
451
471
  value: selected.value?.id ?? ""
@@ -550,6 +570,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
550
570
  disabledMessage: {},
551
571
  status: { default: "default" },
552
572
  statusMessage: {},
573
+ statusVariant: { default: "attached" },
553
574
  size: { default: "md" },
554
575
  clearable: {
555
576
  type: Boolean,
@@ -666,6 +687,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
666
687
  message: props.statusMessage
667
688
  };
668
689
  });
690
+ /** 调用方的 aria-labelledby 接在字段自己的标签后面,不取代它。 */
691
+ function labelledBy(fieldLabelId) {
692
+ const external = attrs["aria-labelledby"];
693
+ return typeof external === "string" && external !== "" ? `${fieldLabelId} ${external}` : void 0;
694
+ }
669
695
  __expose({
670
696
  focus: () => base.value?.focus(),
671
697
  blur: () => base.value?.blur()
@@ -683,12 +709,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
683
709
  "is-required": props.required,
684
710
  "is-optional": props.optional,
685
711
  status: fieldStatus.value,
712
+ "status-variant": props.statusVariant,
686
713
  width: props.width
687
714
  }, {
688
715
  default: withCtx((field) => [createVNode(_sfc_main$1, mergeProps({
689
716
  ref_key: "base",
690
717
  ref: base
691
- }, unref(parts).forwardedAttrs(), {
718
+ }, {
719
+ ...unref(parts).forwardedAttrs(),
720
+ ariaLabelledBy: labelledBy(field.labelId)
721
+ }, {
692
722
  "control-class": unref(parts).controlClass(),
693
723
  "control-style": unref(parts).controlStyle(),
694
724
  "model-value": props.modelValue,
@@ -700,6 +730,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
700
730
  disabled: unref(isDisabled),
701
731
  "disabled-reason": disabledMessage.value,
702
732
  status: props.status,
733
+ "status-message": props.statusMessage,
734
+ "status-variant": props.statusVariant,
703
735
  size: props.size,
704
736
  clearable: showsClear.value,
705
737
  "debounce-ms": props.debounceMs,
@@ -747,6 +779,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
747
779
  "disabled",
748
780
  "disabled-reason",
749
781
  "status",
782
+ "status-message",
783
+ "status-variant",
750
784
  "size",
751
785
  "clearable",
752
786
  "debounce-ms",
@@ -770,6 +804,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
770
804
  "is-required",
771
805
  "is-optional",
772
806
  "status",
807
+ "status-variant",
773
808
  "width"
774
809
  ]);
775
810
  };
@@ -1,6 +1,7 @@
1
- import { $ as MergedRef, $n as ContainerRevealOptions, $t as useImageMode, A as useRestoreFocus, An as useDisclosureHandle, Ar as SnapPagingOptions, At as KeyboardHintOrientation, B as UseOverflowReturn, Bn as ParsedTime, Br as orderRange, Bt as UseInputStatusIconReturn, C as ScrollStickyContainment, Cn as UseEntryAnimationOptions, Cr as AppShellMobile, Ct as useLayerMountTarget, D as useScrollableArea, Dn as useDismiss, Dr as AnnouncePoliteness, Dt as UseLayerOptions, E as UseScrollableAreaResult, En as UseDismissOptions, Er as AnnounceFn, Et as LayerMode, F as PendingChange, Fn as resolveDatePresentation, Fr as compareISODate, Ft as UseInteractiveRoleOptions, G as UseNumberFieldOptions, Gn as isTimeInRange, Gt as IndicatorFocusRingHandlers, H as useOverflow, Hn as TimeSurface, Hr as spanDays, Ht as InputContainerHandlers, I as usePendingChange, In as resolveDateSurface, Ir as formatDateRange, It as UseInteractiveRoleReturn, J as addMonths, Jn as resolveTimeSurface, Jt as useIndicatorFocusRing, K as computeSteppedValue, Kn as parseDisplayTime, Kt as UseIndicatorFocusRingOptions, L as ComputeOverflowInput, Ln as HourFormat, Lr as isDayOutsideSpan, Lt as useInteractiveRole, M as UsePressFeedbackOptions, Mn as useDevWarning, Mr as RangeClickResult, Mt as UseKeyboardHintOptions, N as UsePressFeedbackReturn, Nn as DatePresentation, Nr as WeekStartsOn, Nt as useKeyboardHint, O as RestoreFocus, On as DisclosureHandle, Or as useAnnounce, Ot as UseLayerReturn, P as usePressFeedback, Pn as DateSurface, Pr as applyRangeClick, Pt as InteractiveRole, Q as todayISODate, Qn as useControllableState, Qt as perceptualLightness, R as ComputeOverflowResult, Rn as ISOTimeString, Rr as isRangeWithinSpan, Rt as InputStatusVariant, S as ScrollRole, Sn as EntryAnimationPreset, Sr as useChatNewMessages, St as useListFocus, T as UseScrollableAreaOptions, Tn as useEntryAnimation, Tr as useAppShellMobile, Tt as useResolvedLayerTeleport, U as NumberField, Un as formatDisplayTime, Ut as UseInputContainerOptions, V as computeOverflow, Vn as TimePresentation, Vr as resolveWeekStart, Vt as useInputStatusIcon, W as NumberStepDirection, Wn as formatISOTime, Wt as useInputContainer, X as parseISODate, Xn as ControllableState, Xt as UseImageModeOptions, Y as buildMonthGrid, Yn as shiftTime, Yt as ImageSampleRegion, Z as toISODate, Zn as UseControllableStateOptions, Zt as imageModeFromPixels, _ as useScrollLock, _n as formatFileSize, _r as UseChatStreamScrollReturn, _t as LongPressOptions, a as UseTouchTriggerOptions, an as UseGridRovingFocusOptions, ar as ComboboxOption, at as isMenuPressActivation, b as ScrollKeyboardAccess, bn as FieldControlStateInput, br as UseChatNewMessagesOptions, bt as ListFocusOrientation, c as useTouchTrigger, cn as UseGridFocusReturn, cr as useCoarsePointer, ct as MENU_PRESS_SETTLE_MS, d as snapToGraphemeBoundary, dn as UseFocusTrapOptions, dr as UseClickableContainerOptions, dt as MenuPressGesture, en as Hotkey, er as ContentRevealOptions, et as MergedRefHandle, f as useStreamingText, fn as useFocusTrap, fr as hasInteractiveAncestor, ft as MenuPressPointerType, g as useScrollOverflow, gn as FileSizeUnits, gr as UseChatStreamScrollOptions, gt as LongPressHandlers, h as UseScrollOverflowResult, hn as FileSelectionResult, hr as ChatScrollToBottomOptions, ht as useMediaQuery, i as LayerTouchTrigger, in as GridRovingFocus, ir as Combobox, it as useMenuPress, j as useResolvedLabelHidden, jn as devWarn, jr as ISODateRange, jt as UseKeyboardHint, k as UseRestoreFocusOptions, kn as DisclosureHandleRef, kr as SnapPaging, kt as useLayer, l as StreamingTextSpeed, ln as useGridFocus, lr as ClickableContainerHandlers, lt as MenuPressEffect, m as ScrollOverflowState, mn as FileSelectionOptions, mr as useClickableContainer, mt as menuPressStep, n as UseTypeaheadReturn, nn as HandleRef, nr as UseContainerRevealOptions, nt as MenuPress, o as UseTouchTriggerReturn, on as useGridRovingFocus, or as UseComboboxOptions, ot as resetMenuPress, p as useSnapPaging, pn as FileRejection, pr as hasTextSelection, pt as MenuPressStep, q as useNumberField, qn as parseISOTime, qt as UseIndicatorFocusRingReturn, r as useTypeahead, rn as useHandleRef, rr as useContainerReveal, rt as MenuPressOptions, s as isActionTrigger, sn as UseGridFocusOptions, sr as useCombobox, st as MENU_PRESS_MARKER, t as UseTypeaheadOptions, tn as useHotkeys, tr as UseContainerReveal, tt as useMergedRefs, u as UseStreamingTextOptions, un as FocusTrap, ur as INTERACTIVE_SELECTORS, ut as MenuPressEvent, v as ScrollAxis, vn as selectFiles, vr as useChatStreamScroll, vt as useLongPress, w as ScrollableAreaState, wn as UseEntryAnimationReturn, wr as appShellMobileKey, wt as useLayerTeleportTarget, x as ScrollOverscroll, xn as useFieldControlState, xr as UseChatNewMessagesReturn, xt as UseListFocusOptions, y as ScrollAxisState, yn as FieldControlState, yr as CHAT_MESSAGE_CLASS, yt as ListFocus, z as UseOverflowOptions, zn as NativePicker, zr as isSameRange, zt as UseInputStatusIconOptions } from "../index-D-YoRrfP.js";
1
+ import { $ as MergedRef, $n as useContainerReveal, $t as useHandleRef, A as useRestoreFocus, An as DateSurface, Ar as applyRangeClick, At as KeyboardHintOrientation, B as UseOverflowReturn, Bn as formatISOTime, Bt as useInputContainer, C as ScrollStickyContainment, Cn as useDismiss, Cr as AnnouncePoliteness, Ct as useLayerMountTarget, D as useScrollableArea, Dn as devWarn, Dr as ISODateRange, Dt as UseLayerOptions, E as UseScrollableAreaResult, En as useDisclosureHandle, Er as SnapPagingOptions, Et as LayerMode, F as PendingChange, Fn as NativePicker, Fr as isSameRange, Ft as UseInteractiveRoleOptions, G as UseNumberFieldOptions, Gn as shiftTime, Gt as ImageSampleRegion, H as useOverflow, Hn as parseDisplayTime, Ht as UseIndicatorFocusRingOptions, I as usePendingChange, In as ParsedTime, Ir as orderRange, It as UseInteractiveRoleReturn, J as addMonths, Jn as useControllableState, Jt as perceptualLightness, K as computeSteppedValue, Kn as ControllableState, Kt as UseImageModeOptions, L as ComputeOverflowInput, Ln as TimePresentation, Lr as resolveWeekStart, Lt as useInteractiveRole, M as UsePressFeedbackOptions, Mn as resolveDateSurface, Mr as formatDateRange, Mt as UseKeyboardHintOptions, N as UsePressFeedbackReturn, Nn as HourFormat, Nr as isDayOutsideSpan, Nt as useKeyboardHint, O as RestoreFocus, On as useDevWarning, Or as RangeClickResult, Ot as UseLayerReturn, P as usePressFeedback, Pn as ISOTimeString, Pr as isRangeWithinSpan, Pt as InteractiveRole, Q as todayISODate, Qn as UseContainerRevealOptions, Qt as HandleRef, R as ComputeOverflowResult, Rn as TimeSurface, Rr as spanDays, Rt as InputContainerHandlers, S as ScrollRole, Sn as UseDismissOptions, Sr as AnnounceFn, St as useListFocus, T as UseScrollableAreaOptions, Tn as DisclosureHandleRef, Tr as SnapPaging, Tt as useResolvedLayerTeleport, U as NumberField, Un as parseISOTime, Ut as UseIndicatorFocusRingReturn, V as computeOverflow, Vn as isTimeInRange, Vt as IndicatorFocusRingHandlers, W as NumberStepDirection, Wn as resolveTimeSurface, Wt as useIndicatorFocusRing, X as parseISODate, Xn as ContentRevealOptions, Xt as Hotkey, Y as buildMonthGrid, Yn as ContainerRevealOptions, Yt as useImageMode, Z as toISODate, Zn as UseContainerReveal, Zt as useHotkeys, _ as useScrollLock, _n as useFieldControlState, _r as UseChatNewMessagesReturn, _t as LongPressOptions, a as UseTouchTriggerOptions, an as useGridFocus, ar as ClickableContainerHandlers, at as isMenuPressActivation, b as ScrollKeyboardAccess, bn as UseEntryAnimationReturn, br as appShellMobileKey, bt as ListFocusOrientation, c as isActionTrigger, cn as useFocusTrap, cr as hasInteractiveAncestor, ct as MENU_PRESS_SETTLE_MS, d as snapToGraphemeBoundary, dn as FileSelectionResult, dr as ChatScrollToBottomOptions, dt as MenuPressGesture, en as GridRovingFocus, er as Combobox, et as MergedRefHandle, f as useStreamingText, fn as FileSizeUnits, fr as UseChatStreamScrollOptions, ft as MenuPressPointerType, g as useScrollOverflow, gn as FieldControlStateInput, gr as UseChatNewMessagesOptions, gt as LongPressHandlers, h as UseScrollOverflowResult, hn as FieldControlState, hr as CHAT_MESSAGE_CLASS, ht as useMediaQuery, i as LayerTouchTrigger, in as UseGridFocusReturn, ir as useCoarsePointer, it as useMenuPress, j as useResolvedLabelHidden, jn as resolveDatePresentation, jr as compareISODate, jt as UseKeyboardHint, k as UseRestoreFocusOptions, kn as DatePresentation, kr as WeekStartsOn, kt as useLayer, l as StreamingTextSpeed, ln as FileRejection, lr as hasTextSelection, lt as MenuPressEffect, m as ScrollOverflowState, mn as selectFiles, mr as useChatStreamScroll, mt as menuPressStep, n as UseTypeaheadReturn, nn as useGridRovingFocus, nr as UseComboboxOptions, nt as MenuPress, o as UseTouchTriggerReturn, on as FocusTrap, or as INTERACTIVE_SELECTORS, ot as resetMenuPress, p as useSnapPaging, pn as formatFileSize, pr as UseChatStreamScrollReturn, pt as MenuPressStep, q as useNumberField, qn as UseControllableStateOptions, qt as imageModeFromPixels, r as useTypeahead, rn as UseGridFocusOptions, rr as useCombobox, rt as MenuPressOptions, s as useTouchTrigger, sn as UseFocusTrapOptions, sr as UseClickableContainerOptions, st as MENU_PRESS_MARKER, t as UseTypeaheadOptions, tn as UseGridRovingFocusOptions, tr as ComboboxOption, tt as useMergedRefs, u as UseStreamingTextOptions, un as FileSelectionOptions, ur as useClickableContainer, ut as MenuPressEvent, v as ScrollAxis, vn as EntryAnimationPreset, vr as useChatNewMessages, vt as useLongPress, w as ScrollableAreaState, wn as DisclosureHandle, wr as useAnnounce, wt as useLayerTeleportTarget, x as ScrollOverscroll, xn as useEntryAnimation, xr as useAppShellMobile, xt as UseListFocusOptions, y as ScrollAxisState, yn as UseEntryAnimationOptions, yr as AppShellMobile, yt as ListFocus, z as UseOverflowOptions, zn as formatDisplayTime, zt as UseInputContainerOptions } from "../index-CVs4A2QU.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-ZdT7wKBL.js";
4
4
  import { t as characterCount } from "../characters-rcDbGt71.js";
5
+ import { i as useInputStatusIcon, n as UseInputStatusIconOptions, r as UseInputStatusIconReturn, t as InputStatusVariant } from "../useInputStatusIcon-B6m_t8cK.js";
5
6
  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-DziUYD5W.js";
6
7
  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 SnapPaging, type SnapPagingOptions, 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, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,9 +1,9 @@
1
- import { d as hasInteractiveAncestor, f as hasTextSelection, p as useClickableContainer, u as INTERACTIVE_SELECTORS } from "../pressFeedback-Bwwpex9q.js";
1
+ import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
2
2
  import { n as isMenuPressActivation, r as resetMenuPress } from "../strayClick-CY-_ImKv.js";
3
- import { t as usePressFeedback } from "../usePressFeedback-Bcjsw9vv.js";
3
+ import { t as usePressFeedback } from "../usePressFeedback-Cxu4-mCe.js";
4
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
- import { t as useDismiss } from "../useDismiss-BWd-sQ18.js";
6
- import { t as useLayer } from "../useLayer-BGv_wRSG.js";
5
+ import { t as useDismiss } from "../useDismiss-74dLMi5S.js";
6
+ import { t as useLayer } from "../useLayer-BnjrJ85F.js";
7
7
  import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
8
  import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
9
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
@@ -12,33 +12,33 @@ import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMo
12
12
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
13
13
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
14
14
  import { t as useClipboard } from "../useClipboard-i4a_x_Io.js";
15
- import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
16
- import { a as useIndicatorFocusRing, c as useImageMode, d as useEntryAnimation, f as useControllableState, i as useKeyboardHint, l as useGridRovingFocus, n as useStreamingText, o as imageModeFromPixels, p as useContainerReveal, r as useSnapPaging, s as perceptualLightness, t as snapToGraphemeBoundary, u as useGridFocus } from "../composables-WUkSRUCj.js";
15
+ import { t as useCombobox } from "../useCombobox-D374_pT8.js";
16
+ import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "../composables-CyKB3F8u.js";
17
17
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
18
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";
19
19
  import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
20
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
21
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
23
- import { t as useFocusTrap } from "../useFocusTrap-FJt5QhEd.js";
23
+ import { t as useFocusTrap } from "../useFocusTrap-CyooA0OC.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
- import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-DTDhsLip.js";
26
- import { t as useInputContainer } from "../useInputContainer-BpLtCA-U.js";
27
- import { t as useInputStatusIcon } from "../useInputStatusIcon-C3Q-q_wI.js";
25
+ import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-De4Xp3TD.js";
26
+ import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-ZqCxDNTj.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
29
  import { t as useListFocus } from "../useListFocus-CbHkLT-X.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";
30
+ import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-BWq7kwWm.js";
31
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
32
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-fGHSSrFc.js";
33
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
34
34
  import { n as useOverflow, t as computeOverflow } from "../useOverflow-VrwF5oek.js";
35
35
  import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
36
36
  import { t as useResolvedLabelHidden } from "../useResolvedLabelHidden-B2rlWiaI.js";
37
- import { t as useRestoreFocus } from "../useRestoreFocus-D2-pGoOk.js";
38
- import { t as useScrollableArea } from "../useScrollableArea-BE8b3qm7.js";
37
+ import { t as useRestoreFocus } from "../useRestoreFocus-CSrI8x7v.js";
38
+ import { t as useScrollableArea } from "../useScrollableArea-Bwn75HDg.js";
39
39
  import { t as useScrollLock } from "../scrollLock-C3aT4-0z.js";
40
40
  import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
41
41
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-BJd0xBhG.js";
42
- import { n as useTouchTrigger, t as isActionTrigger } from "../useTouchTrigger-GGd85Obb.js";
43
- import { t as useTypeahead } from "../useTypeahead-BrUwR-kv.js";
42
+ import { n as isActionTrigger } from "../useTouchTriggerInternal-b-txblws.js";
43
+ import { t as useTypeahead } from "../useTypeahead-BWj3xhbR.js";
44
44
  export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, 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, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,8 +1,10 @@
1
+ import { a as pushLayer } from "./layerDepth-BU_55vPr.js";
1
2
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
2
3
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
3
4
  import { t as _sfc_main$1 } from "./Kbd-CbD993ig.js";
4
5
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
5
6
  import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
7
+ import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-b-txblws.js";
6
8
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
7
9
  import "../styles/indicator-focus-ring.css";
8
10
  import "../styles/keyboard-hint.css";
@@ -591,7 +593,8 @@ const ARROW_KEYS = /* @__PURE__ */ new Set([
591
593
  ]);
592
594
  /**
593
595
  * 一组方向键控件第一次被键盘点进来时,在当前项旁边短暂提示「用方向键移动」。
594
- * 按过方向键、超时或焦点离开之后不再出现。
596
+ * 提示显示期间登记在共用的关闭栈里,Escape 只关它,焦点不动。
597
+ * 按过方向键、Escape、焦点离开(或设了时限且超时)之后不再出现。
595
598
  */
596
599
  function useKeyboardHint(options = {}) {
597
600
  const visible = ref(false);
@@ -611,11 +614,32 @@ function useKeyboardHint(options = {}) {
611
614
  anchor.value = target;
612
615
  visible.value = true;
613
616
  if (timer != null) clearTimeout(timer);
614
- timer = setTimeout(() => {
617
+ timer = void 0;
618
+ if (options.dismissAfterMs != null) timer = setTimeout(() => {
615
619
  dismissed = true;
616
620
  hide();
617
- }, options.dismissAfterMs ?? 3e3);
618
- }
621
+ }, options.dismissAfterMs);
622
+ }
623
+ const token = {};
624
+ let unregister = null;
625
+ function release() {
626
+ unregister?.();
627
+ unregister = null;
628
+ }
629
+ watch(visible, (shown) => {
630
+ release();
631
+ if (!shown) return;
632
+ unregister = pushLayer({
633
+ token,
634
+ getTrigger: () => anchor.value,
635
+ dismissOnPointerOutside: false,
636
+ dismissOnEscape: "close",
637
+ onDismiss() {
638
+ dismissed = true;
639
+ hide();
640
+ }
641
+ });
642
+ }, { flush: "post" });
619
643
  function onFocus(event) {
620
644
  if (dismissed || options.isEnabled === false) return;
621
645
  const target = event.target;
@@ -641,6 +665,7 @@ function useKeyboardHint(options = {}) {
641
665
  hide();
642
666
  }
643
667
  onBeforeUnmount(() => {
668
+ release();
644
669
  if (timer != null) clearTimeout(timer);
645
670
  });
646
671
  return {
@@ -1185,4 +1210,27 @@ function useStreamingText(targetText, isStreaming = false, options) {
1185
1210
  });
1186
1211
  }
1187
1212
  //#endregion
1188
- export { useIndicatorFocusRing as a, useImageMode as c, useEntryAnimation as d, useControllableState as f, useKeyboardHint as i, useGridRovingFocus as l, useStreamingText as n, imageModeFromPixels as o, useContainerReveal as p, useSnapPaging as r, perceptualLightness as s, snapToGraphemeBoundary as t, useGridFocus as u };
1213
+ //#region src/composables/useTouchTrigger.ts
1214
+ /**
1215
+ * 悬停类浮层(Tooltip、HoverCard)共用的触屏行为。
1216
+ *
1217
+ * 触屏上表达不了「悬停」:点一下会合成 `mouseenter`,不处理的悬停浮层要么
1218
+ * 每次点都弹出来、又没有东西能关掉它,要么把用户点控件的这一下吃掉。
1219
+ *
1220
+ * 一次触屏按压要等它成了轻点才算数。手指落在触发器上可能是开始滚动、缩放或长按,
1221
+ * 只有浏览器在手指挪动或抬起后才知道是哪个,它的 click 就是结论。所以从触发器上开始的
1222
+ * 滚动不会打开提示,停着不动的手指也不会。点开的浮层在外面轻点抬起时关,
1223
+ * 或在外面开始的滚动被浏览器接走时关,和 iOS 关闭弹出框的时机一样。
1224
+ */
1225
+ function useTouchTrigger(options) {
1226
+ const touch = useTouchTriggerInternal(options);
1227
+ return {
1228
+ isTouchPointer: touch.isTouchPointer,
1229
+ isTouchInteraction: touch.isTouchInteraction,
1230
+ handlePointerEnter: touch.handlePointerEnter,
1231
+ handlePointerDown: touch.handlePointerDown,
1232
+ clearTapOpen: touch.clearTapOpen
1233
+ };
1234
+ }
1235
+ //#endregion
1236
+ export { useKeyboardHint as a, perceptualLightness as c, useGridFocus as d, useEntryAnimation as f, useSnapPaging as i, useImageMode as l, useContainerReveal as m, snapToGraphemeBoundary as n, useIndicatorFocusRing as o, useControllableState as p, useStreamingText as r, imageModeFromPixels as s, useTouchTrigger as t, useGridRovingFocus as u };
@@ -19,7 +19,7 @@ function focusElement(element) {
19
19
  } catch {
20
20
  return false;
21
21
  }
22
- return document.activeElement === element;
22
+ return element.ownerDocument.activeElement === element;
23
23
  }
24
24
  function isFocusable(element) {
25
25
  if (element.hasAttribute("tabindex")) return element.tabIndex >= 0;
@@ -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;
@@ -85,8 +85,8 @@ interface StepSlots {
85
85
  type __VLS_Slots$1 = StepSlots;
86
86
  declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
87
87
  isDisabled: boolean;
88
- indicator: StepIndicator;
89
88
  isOptional: boolean;
89
+ indicator: StepIndicator;
90
90
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
92
92
  declare const _default$1: typeof __VLS_export$1;
@@ -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>;
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
18
18
  };
19
19
  declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
20
20
  as: StackElement;
21
- wrap: StackWrap;
22
21
  direction: StackDirection;
22
+ wrap: StackWrap;
23
23
  isScrollable: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -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;
@@ -175,11 +175,11 @@ type __VLS_Slots = {} & {
175
175
  default?: (props: typeof __VLS_1) => any;
176
176
  };
177
177
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
178
- "update:activeSheet": (value: string | null) => any;
179
178
  cancel: (event: Event) => any;
179
+ "update:activeSheet": (value: string | null) => any;
180
180
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
181
- "onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
182
181
  onCancel?: ((event: Event) => any) | undefined;
182
+ "onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
183
183
  }>, {
184
184
  hasScrim: boolean;
185
185
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;