@astryx-vue/core 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BO2LucRK.js → AlertDialog-igjA8kZr.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-kqwLt4ez.js → AppShell-DUHcLJWD.js} +2 -2
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-Bdnu3col.js → Avatar-KmdgVaAb.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/Banner/index.js +1 -1
  10. package/dist/{Banner-C-8DEWdJ.js → Banner-Bf_nMW3-.js} +1 -1
  11. package/dist/BottomSheet/index.js +2 -2
  12. package/dist/{BottomSheet-CgOzQHaA.js → BottomSheet-B57XUJV3.js} +3 -2
  13. package/dist/{BottomSheet-BECeWtEy.js → BottomSheet-BMqjymuf.js} +3 -3
  14. package/dist/Breadcrumbs/index.js +1 -1
  15. package/dist/{Breadcrumbs-Dxjz2Dxn.js → Breadcrumbs-aTPAdLdg.js} +1 -1
  16. package/dist/Button/index.js +1 -1
  17. package/dist/{Button-BeNp2zq_.js → Button-sUkQ0Ufo.js} +5 -4
  18. package/dist/ButtonGroup/index.d.ts +1 -1
  19. package/dist/ButtonGroup/index.js +1 -1
  20. package/dist/{ButtonGroup-CosYAili.js → ButtonGroup-CWra-KDj.js} +3 -2
  21. package/dist/Calendar/index.d.ts +1 -1
  22. package/dist/Carousel/index.d.ts +1 -1
  23. package/dist/Carousel/index.js +1 -1
  24. package/dist/{Carousel-BCcyDFRy.js → Carousel-DmXceU9h.js} +1 -1
  25. package/dist/Chat/index.d.ts +1 -1
  26. package/dist/Chat/index.js +1 -1
  27. package/dist/{Chat-D3UDsL7W.js → Chat-CeibAkxn.js} +4 -4
  28. package/dist/CheckboxInput/index.d.ts +1 -1
  29. package/dist/CheckboxInput/index.js +1 -1
  30. package/dist/{CheckboxInput-iCg8FgRv.js → CheckboxInput-PvzPV1N1.js} +1 -1
  31. package/dist/CheckboxList/index.d.ts +1 -1
  32. package/dist/CheckboxList/index.js +1 -1
  33. package/dist/{CheckboxList-Dr40y9ME.js → CheckboxList-DKtNzb0t.js} +3 -3
  34. package/dist/ClickableCard/index.d.ts +1 -1
  35. package/dist/Code/index.js +1 -1
  36. package/dist/{CodeBlock-B0LPcu-J.js → CodeBlock-CTPuBH_r.js} +1 -1
  37. package/dist/CommandPalette/index.js +1 -1
  38. package/dist/{CommandPalette-D_lf06eE.js → CommandPalette-DIoT_vZh.js} +1 -1
  39. package/dist/ComplexSelector/index.d.ts +1 -1
  40. package/dist/ComplexSelector/index.js +1 -1
  41. package/dist/{ComplexSelector-BzGKWYEv.js → ComplexSelector-Dmbep7M7.js} +165 -49
  42. package/dist/ContextMenu/index.d.ts +1 -1
  43. package/dist/ContextMenu/index.js +1 -1
  44. package/dist/{ContextMenu-6AnjpPJg.js → ContextMenu-DYnyk5rs.js} +4 -4
  45. package/dist/DateInput/index.d.ts +1 -1
  46. package/dist/DateInput/index.js +1 -1
  47. package/dist/{DateInput-OkjtSKwt.js → DateInput-DgPIsWPu.js} +4 -4
  48. package/dist/DateRangeInput/index.d.ts +1 -1
  49. package/dist/DateRangeInput/index.js +1 -1
  50. package/dist/{DateRangeInput-B4HT9NfM.js → DateRangeInput-oOfhUt1Q.js} +3 -3
  51. package/dist/DateTimeInput/index.d.ts +1 -1
  52. package/dist/DateTimeInput/index.js +1 -1
  53. package/dist/{DateTimeInput-B_tQlraA.js → DateTimeInput-DZfghF2h.js} +5 -5
  54. package/dist/Dialog/index.d.ts +1 -1
  55. package/dist/Dialog/index.js +3 -3
  56. package/dist/{Dialog-BtPktuiy.js → Dialog-Dkwt3mVt.js} +25 -8
  57. package/dist/{Dialog-3MKo31xn.js → Dialog-qIL4DUot.js} +1 -1
  58. package/dist/{DialogHeader-cr9rFLYM.js → DialogHeader-w4TCzYEj.js} +2 -2
  59. package/dist/Divider/index.d.ts +1 -1
  60. package/dist/Drawer/index.d.ts +1 -1
  61. package/dist/Drawer/index.js +1 -1
  62. package/dist/{Drawer-Ba-yG1rk.js → Drawer-DBHSNUAa.js} +2 -2
  63. package/dist/DropdownMenu/index.js +2 -2
  64. package/dist/{DropdownMenu-DJK_xIUd.js → DropdownMenu-Cncx4FbU.js} +3 -3
  65. package/dist/{DropdownMenu-B9eUWp_X.js → DropdownMenu-DHvAlqSj.js} +5 -5
  66. package/dist/EmptyState/index.js +1 -1
  67. package/dist/{EmptyState-v1cvHKav.js → EmptyState-uWyPaIR1.js} +2 -2
  68. package/dist/Field/index.js +3 -3
  69. package/dist/{Field-Dc15m78p.js → Field-CqDOsI3P.js} +1 -1
  70. package/dist/{FieldInfoTip-BouJddgS.js → FieldInfoTip-CUh2koNc.js} +1 -1
  71. package/dist/{FieldLabel-CfO3zaZ5.js → FieldLabel-BMHNRAG3.js} +1 -1
  72. package/dist/FileInput/index.d.ts +1 -1
  73. package/dist/FileInput/index.js +1 -1
  74. package/dist/{FileInput-hNPjfW1i.js → FileInput-C6dK2pvX.js} +2 -2
  75. package/dist/Heading/index.js +1 -1
  76. package/dist/{Heading-C10qO8wg.js → Heading-C0axugQa.js} +1 -1
  77. package/dist/HoverCard/index.js +1 -1
  78. package/dist/{HoverCard-3S3axq-o.js → HoverCard-C6Gxekg0.js} +3 -3
  79. package/dist/IconButton/index.js +1 -1
  80. package/dist/{IconButton-C91rhbvu.js → IconButton-Bv2eIsJy.js} +1 -1
  81. package/dist/InfoTip/index.d.ts +1 -1
  82. package/dist/InfoTip/index.js +1 -1
  83. package/dist/{InfoTip-iKOp_vUV.js → InfoTip-BKsbmGA6.js} +4 -2
  84. package/dist/{InputClearButton-BiF7qGMR.js → InputClearButton-CSS2Tjat.js} +2 -2
  85. package/dist/InputGroup/index.d.ts +1 -1
  86. package/dist/InputGroup/index.js +1 -1
  87. package/dist/{InputGroup-CIKleAu8.js → InputGroup-DTGh1ylC.js} +1 -1
  88. package/dist/InternationalizationProvider/index.d.ts +1 -1
  89. package/dist/InternationalizationProvider/index.js +1 -1
  90. package/dist/{InternationalizationProvider-CyDjQn5Z.js → InternationalizationProvider-BYU2MRtX.js} +1 -1
  91. package/dist/{LayerContentBoundary-CvsKxwwm.js → LayerContentBoundary-DwTkbifx.js} +1 -1
  92. package/dist/Layout/index.js +2 -2
  93. package/dist/{Layout-OHKb6r7D.js → Layout-BeYYiLFm.js} +1 -1
  94. package/dist/{LayoutPanel-D-rpTtC-.js → LayoutPanel-DDLcJgzG.js} +3 -0
  95. package/dist/Lightbox/index.d.ts +1 -1
  96. package/dist/Lightbox/index.js +1 -1
  97. package/dist/{Lightbox-DZrWvhCQ.js → Lightbox-BZ-zBvly.js} +106 -28
  98. package/dist/Link/index.d.ts +1 -1
  99. package/dist/Link/index.js +1 -1
  100. package/dist/{Link-CnlFkwpY.js → Link-Ddu0KjPZ.js} +1 -1
  101. package/dist/List/index.d.ts +1 -1
  102. package/dist/Markdown/index.d.ts +1 -1
  103. package/dist/Markdown/index.js +1 -1
  104. package/dist/{Markdown-YVv-0uFI.js → Markdown-D7bQGV9u.js} +3 -3
  105. package/dist/MetadataList/index.d.ts +1 -1
  106. package/dist/MobileNav/index.js +1 -1
  107. package/dist/{MobileNavToggle-lgEHlilz.js → MobileNavToggle-Dfshmrdy.js} +3 -2
  108. package/dist/MoreMenu/index.d.ts +1 -1
  109. package/dist/MoreMenu/index.js +1 -1
  110. package/dist/{MoreMenu-DaLb4bgr.js → MoreMenu-Bie4B7Jr.js} +4 -4
  111. package/dist/MultiSelector/index.d.ts +1 -1
  112. package/dist/MultiSelector/index.js +1 -1
  113. package/dist/{MultiSelector-stzuffs3.js → MultiSelector-BXIpOmSU.js} +108 -53
  114. package/dist/{NavDisclosure-DG4jls5z.js → NavDisclosure-1otbO71l.js} +1 -1
  115. package/dist/{NavHeadingSurface-9JQsxTxs.js → NavHeadingSurface-BkMR3V5m.js} +1 -1
  116. package/dist/NavItem/index.d.ts +1 -1
  117. package/dist/NavMenu/index.js +3 -3
  118. package/dist/{NavMenu-ChlWdHfi.js → NavMenu-dyGZS1yM.js} +2 -2
  119. package/dist/{NavMenuItem-DIMQohIa.js → NavMenuItem-CirgE73a.js} +1 -1
  120. package/dist/NumberInput/index.d.ts +1 -1
  121. package/dist/NumberInput/index.js +1 -1
  122. package/dist/{NumberInput-DH0Cb7L6.js → NumberInput-0KbcEF3_.js} +3 -3
  123. package/dist/OverflowList/index.d.ts +1 -1
  124. package/dist/OverflowList/index.js +1 -1
  125. package/dist/{OverflowList-BGzqG78e.js → OverflowList-BdcaX1bz.js} +2 -2
  126. package/dist/Overlay/index.d.ts +1 -1
  127. package/dist/Pagination/index.d.ts +1 -1
  128. package/dist/Pagination/index.js +1 -1
  129. package/dist/{Pagination-DMG9KvKa.js → Pagination-eeM9SNsG.js} +1 -1
  130. package/dist/Popover/index.d.ts +1 -1
  131. package/dist/Popover/index.js +1 -1
  132. package/dist/{Popover-cnfHz2tm.js → Popover-BOQo9UPf.js} +78 -26
  133. package/dist/PowerSearch/index.d.ts +1 -1
  134. package/dist/PowerSearch/index.js +1 -1
  135. package/dist/{PowerSearch-GD52glLU.js → PowerSearch-CaqFxaFb.js} +17 -17
  136. package/dist/ProgressBar/index.js +1 -1
  137. package/dist/{ProgressBar-gsm2A_cR.js → ProgressBar-BS3VSoE9.js} +1 -1
  138. package/dist/Radio/index.d.ts +1 -1
  139. package/dist/Radio/index.js +1 -1
  140. package/dist/{RadioGroup-D3TXgdwV.js → RadioGroup-DKaSstyl.js} +2 -2
  141. package/dist/RadioList/index.d.ts +1 -1
  142. package/dist/RadioList/index.js +1 -1
  143. package/dist/{RadioList-Boj8QfPe.js → RadioList-DtKm9spP.js} +1 -1
  144. package/dist/ScrollableArea/index.d.ts +1 -1
  145. package/dist/SelectableCard/index.d.ts +1 -1
  146. package/dist/Selector/index.d.ts +1 -1
  147. package/dist/Selector/index.js +1 -1
  148. package/dist/{Selector-CyY6vVUg.js → Selector-DP012yul.js} +12 -47
  149. package/dist/SideNav/index.d.ts +1 -1
  150. package/dist/SideNav/index.js +1 -1
  151. package/dist/{SideNav-s9yTmKX3.js → SideNav-L6CWk5fV.js} +5 -5
  152. package/dist/Slider/index.js +1 -1
  153. package/dist/{Slider-BQ4Dhxdx.js → Slider-DZS8mGZA.js} +1 -1
  154. package/dist/StatusDot/index.js +1 -1
  155. package/dist/{StatusDot-DF5wK42f.js → StatusDot-DaQGq8YN.js} +1 -1
  156. package/dist/Stepper/index.d.ts +1 -1
  157. package/dist/Switch/index.d.ts +1 -1
  158. package/dist/Switch/index.js +1 -1
  159. package/dist/{Switch-B0E8cZy7.js → Switch-BN_NnBuc.js} +1 -1
  160. package/dist/TabList/index.js +1 -1
  161. package/dist/{TabList-DBSXa5QT.js → TabList-Bmj4tGT-.js} +1 -1
  162. package/dist/Table/index.d.ts +1 -1
  163. package/dist/Table/index.js +1 -1
  164. package/dist/{Table-BxXYAtBy.js → Table-YDS_Hj1L.js} +12 -12
  165. package/dist/Text/index.js +1 -1
  166. package/dist/{Text-WB-fpFne.js → Text-IijvZmW-.js} +1 -1
  167. package/dist/TextArea/index.d.ts +1 -1
  168. package/dist/TextArea/index.js +1 -1
  169. package/dist/{TextArea-CSoebCLx.js → TextArea-BDR179q1.js} +4 -4
  170. package/dist/TextInput/index.d.ts +1 -1
  171. package/dist/TextInput/index.js +1 -1
  172. package/dist/{TextInput-B3qNW95s.js → TextInput-kUzxl99M.js} +4 -4
  173. package/dist/Thumbnail/index.js +1 -1
  174. package/dist/{Thumbnail-CTkLFo-A.js → Thumbnail-Disi5yDb.js} +2 -2
  175. package/dist/{TimeField-CMZxZ6gI.js → TimeField-C0la1AtP.js} +4 -4
  176. package/dist/TimeInput/index.d.ts +1 -1
  177. package/dist/TimeInput/index.js +1 -1
  178. package/dist/{TimeInput-BFWgRaV-.js → TimeInput-C_jTijHh.js} +2 -2
  179. package/dist/Timer/index.js +1 -1
  180. package/dist/{Timer-BD2gSoQ3.js → Timer-DifGERP8.js} +1 -1
  181. package/dist/Timestamp/index.d.ts +1 -1
  182. package/dist/Timestamp/index.js +1 -1
  183. package/dist/{Timestamp-DWnbOvnI.js → Timestamp-BjXZGAvO.js} +3 -3
  184. package/dist/Toast/index.js +1 -1
  185. package/dist/{Toast-aI9QMW-L.js → Toast-DBo0WRAd.js} +1 -1
  186. package/dist/ToggleButton/index.d.ts +1 -1
  187. package/dist/ToggleButton/index.js +1 -1
  188. package/dist/{ToggleButton-DI9I-LBH.js → ToggleButton-B5HNykOh.js} +4 -3
  189. package/dist/Token/index.d.ts +1 -1
  190. package/dist/Tokenizer/index.d.ts +1 -1
  191. package/dist/Tokenizer/index.js +1 -1
  192. package/dist/{Tokenizer-Caqr8y0B.js → Tokenizer-CY0ymjYr.js} +109 -50
  193. package/dist/Toolbar/index.d.ts +1 -1
  194. package/dist/Tooltip/index.d.ts +1 -1
  195. package/dist/Tooltip/index.js +2 -2
  196. package/dist/{Tooltip-CGHpFMnc.js → Tooltip-4APVAlN9.js} +1 -1
  197. package/dist/TopNav/index.d.ts +1 -1
  198. package/dist/TopNav/index.js +1 -1
  199. package/dist/{TopNav-Cm_Hn6Ub.js → TopNav-XSZWAR-7.js} +4 -4
  200. package/dist/TreeList/index.d.ts +1 -1
  201. package/dist/Typeahead/index.d.ts +1 -1
  202. package/dist/Typeahead/index.js +2 -2
  203. package/dist/{Typeahead-tz2lm5qb.js → Typeahead-ByeXwX8E.js} +48 -13
  204. package/dist/composables/index.d.ts +2 -1
  205. package/dist/composables/index.js +8 -7
  206. package/dist/context-Cgkyk-b7.js +10 -0
  207. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  208. package/dist/{index-BSlzqFzV.d.ts → index-BcJzA5j_.d.ts} +3 -3
  209. package/dist/{index-Bmqz1lVz.d.ts → index-BpprL2SN.d.ts} +1 -1
  210. package/dist/{index-CuNFD1Yq.d.ts → index-Buxb8Onp.d.ts} +44 -44
  211. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  212. package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
  213. package/dist/{index-1AZ4KZhg.d.ts → index-CCpcerMA.d.ts} +2 -2
  214. package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
  215. package/dist/{index-CQwracWX.d.ts → index-CfHBwR3F.d.ts} +7 -5
  216. package/dist/{index-DyALKpjX.d.ts → index-D1J81rYJ.d.ts} +19 -4
  217. package/dist/{index-B0XIZGY0.d.ts → index-D1RIIzDd.d.ts} +7 -7
  218. package/dist/{index-DydQ5Ngj.d.ts → index-D7YRtteD.d.ts} +1 -1
  219. package/dist/{index-FeZXsFO-.d.ts → index-DDrL_-hJ.d.ts} +1 -1
  220. package/dist/{index-WA7z12bQ.d.ts → index-DE1genab.d.ts} +12 -0
  221. package/dist/{index-D-YoRrfP.d.ts → index-DKuoSloc.d.ts} +2 -44
  222. package/dist/{index-rnFsCdJ7.d.ts → index-DMcf0QeR.d.ts} +1 -1
  223. package/dist/{index-B-Jla56c.d.ts → index-DPH5yoAr.d.ts} +1 -1
  224. package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
  225. package/dist/{index-BzZC2Y7c.d.ts → index-DYabo8TI.d.ts} +6 -5
  226. package/dist/{index-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
  227. package/dist/{index-CL8JvxHW.d.ts → index-KcCNhdAw.d.ts} +1 -1
  228. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  229. package/dist/{index-DaXzQxos.d.ts → index-PffxihMx.d.ts} +8 -5
  230. package/dist/{index-3t5RAfNP.d.ts → index-YfMHAQ_D.d.ts} +9 -2
  231. package/dist/{index-C5bnMSjX.d.ts → index-x0rjeitC.d.ts} +4 -4
  232. package/dist/index.d.ts +28 -27
  233. package/dist/index.js +90 -89
  234. package/dist/{layerDepth-CNDh-IHb.js → layerDepth-BF74Cctw.js} +38 -14
  235. package/dist/layerFocusReturn-DMJaFgcY.js +121 -0
  236. package/dist/{loadCatalog-XbgoqaRp.js → loadCatalog-BtQRPyzj.js} +6 -2
  237. package/dist/{loadCatalog-CQEYXGuI.d.ts → loadCatalog-Kp7aQZpL.d.ts} +3 -0
  238. package/dist/locale/index.d.ts +2 -2
  239. package/dist/locale/index.js +4 -4
  240. package/dist/{locale-BwnZeppK.js → locale-DET_YkFW.js} +1 -1
  241. package/dist/selectorEscape-BppRdqpc.js +52 -0
  242. package/dist/{useAnchoredListbox-9Gn8asBR.js → stillPointerGate-Bh02Mfnw.js} +20 -2
  243. package/dist/{tokenizer-DSka5PJD.js → tokenizer-ChiAuPN-.js} +5 -1
  244. package/dist/{tooltipTriggerRules-Bg4tG8w2.js → tooltipTriggerRules-BY3LAtUl.js} +1 -1
  245. package/dist/{searchResultMessage-BEqDlHdV.js → triggerVariant-BDVvyLtv.js} +18 -18
  246. package/dist/{useActionGroupTracking-B4niQ_tR.js → useActionGroupTracking-BJMRaXil.js} +1 -1
  247. package/dist/{useCombobox-CTo5C-gc.js → useCombobox-D374_pT8.js} +32 -8
  248. package/dist/{useDismiss-0-Z-9D0A.js → useDismiss-BWd-sQ18.js} +26 -5
  249. package/dist/{useRestoreFocus-CEG0n2AK.js → useFocusTrap-FJt5QhEd.js} +2 -36
  250. package/dist/{useHoverLayerDismiss-kYJ_NqL4.js → useHoverLayerDismiss-uhfzmZyf.js} +1 -1
  251. package/dist/useInputStatusIcon-B6m_t8cK.d.ts +45 -0
  252. package/dist/{useInputStatusIcon-Da2FiXwF.js → useInputStatusIcon-C3Q-q_wI.js} +1 -1
  253. package/dist/{useLayer-CED-g4Q2.js → useLayer-BGv_wRSG.js} +1 -1
  254. package/dist/{useOptionActionGrid-CkJcuvaU.js → useOptionActionGrid-C7ibYM_A.js} +15 -1
  255. package/dist/{useResizable-I3BCiLSL.js → useResizable-DTDhsLip.js} +1 -1
  256. package/dist/useRestoreFocus-D2-pGoOk.js +38 -0
  257. package/dist/{useTooltip-D8Tq7-yd.js → useTooltip-md1tr6ef.js} +61 -29
  258. package/dist/{context-BJ9RkXYX.js → useTouchHitArea-1WtV3u6F.js} +1 -10
  259. package/dist/{useTruncationTooltip-BNk2xslw.js → useTruncationTooltip-BGsFITq5.js} +3 -3
  260. package/dist/{useTypeahead-DSMObTtg.js → useTypeahead-BrUwR-kv.js} +1 -1
  261. package/dist/{TypeaheadMenu-BOzaCvSb.js → useTypeaheadAnnouncement-MbuZumTd.js} +75 -33
  262. package/package.json +1 -1
  263. package/styles/complex-selector.css +24 -1
  264. package/styles/dialog.css +0 -1
  265. package/styles/info-tip.css +0 -9
  266. package/styles/lightbox.css +7 -2
  267. package/styles/multi-selector.css +10 -0
  268. package/styles/popover.css +2 -0
  269. package/styles/selector.css +10 -0
  270. package/styles/tokenizer.css +64 -0
  271. package/styles/typeahead.css +28 -0
  272. package/dist/triggerVariant-BsL8jMHs.js +0 -16
  273. package/dist/{index-D8lv2BiD.d.ts → index-BqhgeAT4.d.ts} +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as _sfc_main$11 } from "./BottomSheet-CgOzQHaA.js";
1
+ import { n as _sfc_main$11 } from "./BottomSheet-B57XUJV3.js";
2
2
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
3
3
  import { d as hasInteractiveAncestor, f as hasTextSelection, p as useClickableContainer, u as INTERACTIVE_SELECTORS } from "./pressFeedback-Bwwpex9q.js";
4
4
  import { n as isMenuPressActivation, r as resetMenuPress } from "./strayClick-CY-_ImKv.js";
@@ -9,11 +9,11 @@ import { n as addCollection, r as addIcon } from "./registry-fNY3jasS.js";
9
9
  import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "./safeUrl-CsvfcZ9m.js";
10
10
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
11
11
  import { i as useSize, n as SizeProvider, r as provideSize, t as SizeContext } from "./SizeContext-BbaF-SEx.js";
12
- import { t as _sfc_main$18 } from "./Button-BeNp2zq_.js";
12
+ import { t as _sfc_main$18 } from "./Button-sUkQ0Ufo.js";
13
13
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js";
14
14
  import { i as useLayerGutter, r as useLayerConfig } from "./context-M-er0-Rk.js";
15
- import { t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
16
- import { t as useLayer } from "./useLayer-CED-g4Q2.js";
15
+ import { t as useDismiss } from "./useDismiss-BWd-sQ18.js";
16
+ import { t as useLayer } from "./useLayer-BGv_wRSG.js";
17
17
  import { t as _sfc_main$200 } from "./VisuallyHidden-cpmsV-0M.js";
18
18
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
19
19
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
@@ -23,7 +23,7 @@ import { n as useAppShellMobile, t as appShellMobileKey } from "./useAppShellMob
23
23
  import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-Gk0VtE7_.js";
24
24
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "./useChatStreamScroll-oDfybEos.js";
25
25
  import { t as useClipboard } from "./useClipboard-i4a_x_Io.js";
26
- import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
26
+ import { t as useCombobox } from "./useCombobox-D374_pT8.js";
27
27
  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";
28
28
  import { n as resolveDateSurface, t as resolveDatePresentation } from "./useDatePresentation-C07PnOCw.js";
29
29
  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";
@@ -32,12 +32,12 @@ import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
32
32
  import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
33
33
  import { t as fileInputMessages } from "./file-input-CzK0qCvm.js";
34
34
  import { n as selectFiles, t as formatFileSize } from "./useFileSelection-Cfcbh8XI.js";
35
- import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-CEG0n2AK.js";
35
+ import { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
36
36
  import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
37
- import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-I3BCiLSL.js";
37
+ import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-DTDhsLip.js";
38
38
  import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
39
- import { t as _sfc_main$91 } from "./IconButton-C91rhbvu.js";
40
- import { t as useInputStatusIcon } from "./useInputStatusIcon-Da2FiXwF.js";
39
+ import { t as _sfc_main$91 } from "./IconButton-Bv2eIsJy.js";
40
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-C3Q-q_wI.js";
41
41
  import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
42
42
  import { a as useAstryxLocale, i as provideAstryxLocale, o as useComponentMessages, r as normalizeLocale } from "./context-B8IEFCDR.js";
43
43
  import { t as kbdMessages } from "./kbd-eX_twmH9.js";
@@ -51,97 +51,98 @@ import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-
51
51
  import { n as useOverflow, t as computeOverflow } from "./useOverflow-VrwF5oek.js";
52
52
  import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
53
53
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
54
+ import { t as useRestoreFocus } from "./useRestoreFocus-D2-pGoOk.js";
54
55
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
55
56
  import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
56
57
  import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
57
58
  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";
58
59
  import { n as useTouchTrigger, t as isActionTrigger } from "./useTouchTrigger-GGd85Obb.js";
59
- import { t as useTypeahead } from "./useTypeahead-DSMObTtg.js";
60
- import { t as _sfc_main$69 } from "./Dialog-BtPktuiy.js";
61
- import { t as useTooltip } from "./useTooltip-D8Tq7-yd.js";
62
- import { t as _sfc_main$188 } from "./Tooltip-CGHpFMnc.js";
60
+ import { t as useTypeahead } from "./useTypeahead-BrUwR-kv.js";
61
+ import { t as _sfc_main$69 } from "./Dialog-Dkwt3mVt.js";
62
+ import { t as useTooltip } from "./useTooltip-md1tr6ef.js";
63
+ import { t as _sfc_main$188 } from "./Tooltip-4APVAlN9.js";
63
64
  import { n as useTruncation } from "./useTruncation-C4pdlaXa.js";
64
65
  import { n as observeResize, r as unobserveResize } from "./sharedResizeObserver-BekhnB3E.js";
65
- import { t as _sfc_main$88 } from "./Heading-C10qO8wg.js";
66
+ import { t as _sfc_main$88 } from "./Heading-C0axugQa.js";
66
67
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
67
68
  import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
68
- import { t as _sfc_main$173 } from "./Text-WB-fpFne.js";
69
- import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-BO2LucRK.js";
70
- import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-D-rpTtC-.js";
69
+ import { t as _sfc_main$173 } from "./Text-IijvZmW-.js";
70
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-igjA8kZr.js";
71
+ import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-DDLcJgzG.js";
71
72
  import { t as layoutMessages } from "./layout-DzxSsBe8.js";
72
73
  import { t as navMessages } from "./nav-DpKQUHqR.js";
73
- import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-lgEHlilz.js";
74
+ import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-Dfshmrdy.js";
74
75
  import { i as useSideNavCollapse } from "./context-ZsDEkhSF.js";
75
- import { t as _sfc_main$1 } from "./AppShell-kqwLt4ez.js";
76
+ import { t as _sfc_main$1 } from "./AppShell-DUHcLJWD.js";
76
77
  import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
77
- import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-Bdnu3col.js";
78
+ import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-KmdgVaAb.js";
78
79
  import { t as avatarGroupMessages } from "./avatar-group-Dcn6i_ne.js";
79
80
  import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-KBzD0jeF.js";
80
81
  import { t as _sfc_main$7 } from "./Badge-BbPS_49c.js";
81
82
  import "./Badge/index.js";
82
83
  import { t as bannerMessages } from "./banner-Bv76b50U.js";
83
- import { t as _sfc_main$8 } from "./Banner-C-8DEWdJ.js";
84
+ import { t as _sfc_main$8 } from "./Banner-Bf_nMW3-.js";
84
85
  import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
85
86
  import "./Blockquote/index.js";
86
- import { t as _sfc_main$12 } from "./BottomSheet-BECeWtEy.js";
87
+ import { t as _sfc_main$12 } from "./BottomSheet-BMqjymuf.js";
87
88
  import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-Cfv4ALls.js";
88
89
  import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
89
90
  import { a as _sfc_main$14, c as useDropdownMenuRadioGroup, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$15, r as _sfc_main$16, s as useDropdownMenuContext } from "./useMenuDrillIn-uQtOSny6.js";
90
- import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-B9eUWp_X.js";
91
+ import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-DHvAlqSj.js";
91
92
  import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
92
93
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
93
94
  import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
94
- import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-Dxjz2Dxn.js";
95
- import { n as _sfc_main$19 } from "./ButtonGroup-CosYAili.js";
95
+ import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-aTPAdLdg.js";
96
+ import { n as _sfc_main$19 } from "./ButtonGroup-CWra-KDj.js";
96
97
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
97
98
  import { t as _sfc_main$20 } from "./Calendar-DwFAzDky.js";
98
99
  import "./Calendar/index.js";
99
100
  import { t as _sfc_main$21 } from "./Card-BbKFHWuD.js";
100
101
  import "./Card/index.js";
101
102
  import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
102
- import { t as _sfc_main$22 } from "./Carousel-BCcyDFRy.js";
103
+ import { t as _sfc_main$22 } from "./Carousel-DmXceU9h.js";
103
104
  import { t as _sfc_main$23 } from "./Center-B7FTd7Hw.js";
104
105
  import { t as chatMessages } from "./chat-BUFYB3bA.js";
105
- import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-3S3axq-o.js";
106
- import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-D3UDsL7W.js";
106
+ import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-C6Gxekg0.js";
107
+ import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-CeibAkxn.js";
107
108
  import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
108
109
  import { t as _sfc_main$154 } from "./Spinner-DEVPDsD0.js";
109
110
  import "./CheckboxIndicator/index.js";
110
111
  import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
111
- import { t as _sfc_main$92 } from "./InfoTip-iKOp_vUV.js";
112
+ import { t as _sfc_main$92 } from "./InfoTip-BKsbmGA6.js";
112
113
  import { t as fieldMessages } from "./field-CehUqCe0.js";
113
- import { t as _sfc_main$81 } from "./FieldLabel-CfO3zaZ5.js";
114
+ import { t as _sfc_main$81 } from "./FieldLabel-BMHNRAG3.js";
114
115
  import { t as _sfc_main$82 } from "./FieldStatus-DSUCli4W.js";
115
116
  import { a as _sfc_main$136, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main$42, r as getIndicator, t as useIndicator } from "./useIndicator--9mGGlT2.js";
116
- import { t as _sfc_main$44 } from "./CheckboxInput-iCg8FgRv.js";
117
+ import { t as _sfc_main$44 } from "./CheckboxInput-PvzPV1N1.js";
117
118
  import "./CheckboxInput/index.js";
118
- import { t as _sfc_main$80 } from "./Field-Dc15m78p.js";
119
+ import { t as _sfc_main$80 } from "./Field-CqDOsI3P.js";
119
120
  import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-2evjQQ7n.js";
120
- import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-Dr40y9ME.js";
121
+ import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DKtNzb0t.js";
121
122
  import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
122
123
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
123
124
  import { t as _sfc_main$47 } from "./Citation-CSgRYxGU.js";
124
125
  import { n as _sfc_main$48 } from "./ClickableCard-CvxSKkXh.js";
125
- import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$50, u as applyHighlightRanges } from "./CodeBlock-B0LPcu-J.js";
126
+ import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$50, u as applyHighlightRanges } from "./CodeBlock-CTPuBH_r.js";
126
127
  import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
127
128
  import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$161, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-6GS0nAkR.js";
128
129
  import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-C_tl5-L0.js";
129
130
  import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
130
- import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-D_lf06eE.js";
131
+ import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-DIoT_vZh.js";
132
+ import { t as inputMessages } from "./input-DUSvqqG_.js";
131
133
  import { t as selectorMessages } from "./selector-BmGLjm94.js";
132
134
  import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
133
- import { n as usePopover, t as _sfc_main$131 } from "./Popover-cnfHz2tm.js";
134
- import { n as _sfc_main$60 } from "./ComplexSelector-BzGKWYEv.js";
135
+ import { n as usePopover, t as _sfc_main$131 } from "./Popover-BOQo9UPf.js";
136
+ import { n as _sfc_main$60 } from "./ComplexSelector-Dmbep7M7.js";
135
137
  import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
136
- import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-6AnjpPJg.js";
138
+ import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-DYnyk5rs.js";
137
139
  import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
138
140
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
139
- import { t as _sfc_main$66 } from "./DateInput-OkjtSKwt.js";
140
- import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "./loadCatalog-XbgoqaRp.js";
141
+ import { t as _sfc_main$66 } from "./DateInput-DgPIsWPu.js";
142
+ import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "./loadCatalog-BtQRPyzj.js";
141
143
  import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
142
144
  import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
143
145
  import { t as dialogMessages } from "./dialog-CNjGcdd1.js";
144
- import { t as inputMessages } from "./input-DUSvqqG_.js";
145
146
  import { t as lightboxMessages } from "./lightbox-BbwxSHdB.js";
146
147
  import { t as markdownMessages } from "./markdown-JcCeKquw.js";
147
148
  import { t as metadataListMessages } from "./metadata-list-BEmAuMYs.js";
@@ -160,26 +161,26 @@ import { t as thumbnailMessages } from "./thumbnail-BI82Ijpj.js";
160
161
  import { t as timestampMessages } from "./timestamp-CFBVCsHF.js";
161
162
  import { t as toastMessages } from "./toast-BvAnX6Vc.js";
162
163
  import { t as tokenMessages } from "./token-DcbdjdZ2.js";
163
- import { t as tokenizerMessages } from "./tokenizer-DSka5PJD.js";
164
+ import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
164
165
  import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
165
166
  import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
166
- import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-BwnZeppK.js";
167
+ import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-DET_YkFW.js";
167
168
  import "./DateInput/index.js";
168
- import { t as _sfc_main$67 } from "./DateRangeInput-B4HT9NfM.js";
169
+ import { t as _sfc_main$67 } from "./DateRangeInput-oOfhUt1Q.js";
169
170
  import "./DateRangeInput/index.js";
170
171
  import { a as presentationFromNativePicker, i as pickerPresentationFromNativePicker, n as effectiveInputPresentation, o as resolveInputPresentation, r as effectivePickerPresentation, s as resolvePickerPresentation, t as DEFAULT_INPUT_PRESENTATION } from "./inputPresentation-BOyHkCDr.js";
171
- import { t as _sfc_main$68 } from "./DateTimeInput-B_tQlraA.js";
172
+ import { t as _sfc_main$68 } from "./DateTimeInput-DZfghF2h.js";
172
173
  import "./DateTimeInput/index.js";
173
- import { t as _sfc_main$70 } from "./DialogHeader-cr9rFLYM.js";
174
- import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-3MKo31xn.js";
174
+ import { t as _sfc_main$70 } from "./DialogHeader-w4TCzYEj.js";
175
+ import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-qIL4DUot.js";
175
176
  import "./Divider/index.js";
176
- import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-Ba-yG1rk.js";
177
- import { t as _sfc_main$78 } from "./DropdownMenu-DJK_xIUd.js";
178
- import { t as _sfc_main$79 } from "./EmptyState-v1cvHKav.js";
179
- import { t as _sfc_main$93 } from "./InputClearButton-BiF7qGMR.js";
177
+ import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-DBHSNUAa.js";
178
+ import { t as _sfc_main$78 } from "./DropdownMenu-Cncx4FbU.js";
179
+ import { t as _sfc_main$79 } from "./EmptyState-uWyPaIR1.js";
180
+ import { t as _sfc_main$93 } from "./InputClearButton-CSS2Tjat.js";
180
181
  import "./Field/index.js";
181
182
  import "./FieldStatus/index.js";
182
- import { t as _sfc_main$83 } from "./FileInput-hNPjfW1i.js";
183
+ import { t as _sfc_main$83 } from "./FileInput-C6dK2pvX.js";
183
184
  import { t as _sfc_main$84 } from "./FormLayout-B9dUB6Ps.js";
184
185
  import { n as _sfc_main$85, t as _sfc_main$86 } from "./Grid-C0mp7fha.js";
185
186
  import "./Heading/index.js";
@@ -188,49 +189,49 @@ import { t as useSemanticIcon } from "./Icon-B2aULLnn.js";
188
189
  import "./IconButton/index.js";
189
190
  import "./Indicator/index.js";
190
191
  import "./InfoTip/index.js";
191
- import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-CIKleAu8.js";
192
- import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-CyDjQn5Z.js";
192
+ import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-DTGh1ylC.js";
193
+ import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-BYU2MRtX.js";
193
194
  import "./Kbd/index.js";
194
195
  import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
195
- import { t as _sfc_main$102 } from "./Layout-OHKb6r7D.js";
196
- import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-DZrWvhCQ.js";
197
- import { t as _sfc_main$106 } from "./Link-CnlFkwpY.js";
196
+ import { t as _sfc_main$102 } from "./Layout-BeYYiLFm.js";
197
+ import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-BZ-zBvly.js";
198
+ import { t as _sfc_main$106 } from "./Link-Ddu0KjPZ.js";
198
199
  import "./Link/index.js";
199
200
  import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
200
201
  import "./List/index.js";
201
202
  import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "./publicParser-C8RBKNLA.js";
202
- import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-YVv-0uFI.js";
203
+ import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-D7bQGV9u.js";
203
204
  import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
204
205
  import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
205
206
  import "./MobileNav/index.js";
206
- import { t as _sfc_main$116 } from "./MoreMenu-DaLb4bgr.js";
207
+ import { t as _sfc_main$116 } from "./MoreMenu-Bie4B7Jr.js";
207
208
  import { t as _sfc_main$185 } from "./Token-CtG_XE6z.js";
208
- import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-stzuffs3.js";
209
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-BXIpOmSU.js";
209
210
  import "./MultiSelector/index.js";
210
211
  import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
211
212
  import { t as _sfc_main$122 } from "./NavItem-BZLN0U5a.js";
212
- import { t as _sfc_main$118 } from "./NavDisclosure-DG4jls5z.js";
213
- import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-ChlWdHfi.js";
214
- import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-DIMQohIa.js";
215
- import { t as _sfc_main$125 } from "./NumberInput-DH0Cb7L6.js";
213
+ import { t as _sfc_main$118 } from "./NavDisclosure-1otbO71l.js";
214
+ import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-dyGZS1yM.js";
215
+ import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-CirgE73a.js";
216
+ import { t as _sfc_main$125 } from "./NumberInput-0KbcEF3_.js";
216
217
  import "./NumberInput/index.js";
217
218
  import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-BXu7HCHp.js";
218
- import { t as _sfc_main$127 } from "./OverflowList-BGzqG78e.js";
219
+ import { t as _sfc_main$127 } from "./OverflowList-BdcaX1bz.js";
219
220
  import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
220
- import { t as _sfc_main$130 } from "./Pagination-DMG9KvKa.js";
221
- import { t as _sfc_main$146 } from "./Selector-CyY6vVUg.js";
221
+ import { t as _sfc_main$130 } from "./Pagination-eeM9SNsG.js";
222
+ import { t as _sfc_main$146 } from "./Selector-DP012yul.js";
222
223
  import "./Pagination/index.js";
223
224
  import "./Popover/index.js";
224
- import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-GD52glLU.js";
225
- import { n as _sfc_main$198 } from "./TypeaheadMenu-BOzaCvSb.js";
226
- import { t as _sfc_main$186 } from "./Tokenizer-Caqr8y0B.js";
227
- import { t as _sfc_main$175 } from "./TextInput-B3qNW95s.js";
228
- import { t as _sfc_main$178 } from "./TimeInput-BFWgRaV-.js";
229
- import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-tz2lm5qb.js";
230
- import { t as _sfc_main$133 } from "./ProgressBar-gsm2A_cR.js";
231
- import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-D3TXgdwV.js";
225
+ import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-CaqFxaFb.js";
226
+ import { r as _sfc_main$198 } from "./useTypeaheadAnnouncement-MbuZumTd.js";
227
+ import { t as _sfc_main$186 } from "./Tokenizer-CY0ymjYr.js";
228
+ import { t as _sfc_main$175 } from "./TextInput-kUzxl99M.js";
229
+ import { t as _sfc_main$178 } from "./TimeInput-C_jTijHh.js";
230
+ import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-ByeXwX8E.js";
231
+ import { t as _sfc_main$133 } from "./ProgressBar-BS3VSoE9.js";
232
+ import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-DKaSstyl.js";
232
233
  import "./Radio/index.js";
233
- import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-Boj8QfPe.js";
234
+ import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-DtKm9spP.js";
234
235
  import { t as _sfc_main$139 } from "./ResizeHandle-Bon51yNV.js";
235
236
  import "./Resizable/index.js";
236
237
  import { t as _sfc_main$140 } from "./ScrollableArea-BgIytCxo.js";
@@ -240,35 +241,35 @@ import "./Section/index.js";
240
241
  import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-Bs74LlvS.js";
241
242
  import { n as _sfc_main$145 } from "./SelectableCard-BFCwgtWf.js";
242
243
  import "./Selector/index.js";
243
- import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-s9yTmKX3.js";
244
+ import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-L6CWk5fV.js";
244
245
  import "./SizeContext/index.js";
245
246
  import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
246
247
  import "./Skeleton/index.js";
247
- import { t as _sfc_main$153 } from "./Slider-BQ4Dhxdx.js";
248
+ import { t as _sfc_main$153 } from "./Slider-DZS8mGZA.js";
248
249
  import "./Spinner/index.js";
249
250
  import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Tw4I_dt-.js";
250
- import { t as _sfc_main$157 } from "./StatusDot-DF5wK42f.js";
251
+ import { t as _sfc_main$157 } from "./StatusDot-DaQGq8YN.js";
251
252
  import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-DAQRW4n8.js";
252
- import { t as _sfc_main$160 } from "./Switch-B0E8cZy7.js";
253
- import { A as useTableFiltering, B as cellText, C as isInteractiveRowClick, D as useTableGroupedRows, E as isTableGroupHeader, F as columnResizeStep, G as resolveColumnFloorWidths, H as paginateData, I as isProportionalColumnWidth, K as resolveColumnWidths, L as resizeColumnWidths, M as useTableColumnSettingsState, N as columnResizeDirectionSign, O as applyTableFilters, P as columnResizeMinWidth, R as useTableColumnResize, S as useTablePagination, T as buildGroupedRows, U as pixel, V as generateColumns, W as proportional, _ as useTableSelection, a as _sfc_main$168, b as useTableRowIndex, c as _sfc_main$165, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$169, j as useTableColumnSettings, k as useTableFilterState, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$171, o as _sfc_main$167, p as stickyOffsets, q as sortRows, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableTreeData, v as useTableSelectionState, w as useTableInfiniteScroll, x as useTableRowExpansion, y as useTableRowStatus, z as capitalize } from "./Table-BxXYAtBy.js";
253
+ import { t as _sfc_main$160 } from "./Switch-BN_NnBuc.js";
254
+ import { A as useTableFiltering, B as cellText, C as isInteractiveRowClick, D as useTableGroupedRows, E as isTableGroupHeader, F as columnResizeStep, G as resolveColumnFloorWidths, H as paginateData, I as isProportionalColumnWidth, K as resolveColumnWidths, L as resizeColumnWidths, M as useTableColumnSettingsState, N as columnResizeDirectionSign, O as applyTableFilters, P as columnResizeMinWidth, R as useTableColumnResize, S as useTablePagination, T as buildGroupedRows, U as pixel, V as generateColumns, W as proportional, _ as useTableSelection, a as _sfc_main$168, b as useTableRowIndex, c as _sfc_main$165, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$169, j as useTableColumnSettings, k as useTableFilterState, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$171, o as _sfc_main$167, p as stickyOffsets, q as sortRows, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableTreeData, v as useTableSelectionState, w as useTableInfiniteScroll, x as useTableRowExpansion, y as useTableRowStatus, z as capitalize } from "./Table-YDS_Hj1L.js";
254
255
  import { t as _sfc_main$187 } from "./Toolbar-BH_E0F0G.js";
255
- import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-DBSXa5QT.js";
256
+ import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-Bmj4tGT-.js";
256
257
  import "./Text/index.js";
257
- import { t as _sfc_main$174 } from "./TextArea-CSoebCLx.js";
258
+ import { t as _sfc_main$174 } from "./TextArea-BDR179q1.js";
258
259
  import "./TextInput/index.js";
259
260
  import { a as neutralTheme, c as expandRadiusScale, d as DEFAULT_WIDTH_BREAKPOINTS, f as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandMotionScale, n as _sfc_main$176, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "./Theme-PyAl8nM0.js";
260
261
  import { a as normalizeTokenName, d as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main$111 } from "./MediaTheme-BVKUsMfC.js";
261
- import { t as _sfc_main$177 } from "./Thumbnail-CTkLFo-A.js";
262
+ import { t as _sfc_main$177 } from "./Thumbnail-Disi5yDb.js";
262
263
  import "./TimeInput/index.js";
263
- import { n as getPresentation, t as _sfc_main$179 } from "./Timer-BD2gSoQ3.js";
264
- import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-DWnbOvnI.js";
265
- import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-aI9QMW-L.js";
266
- import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-DI9I-LBH.js";
264
+ import { n as getPresentation, t as _sfc_main$179 } from "./Timer-DifGERP8.js";
265
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-BjXZGAvO.js";
266
+ import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-DBo0WRAd.js";
267
+ import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-B5HNykOh.js";
267
268
  import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
268
269
  import "./Tokenizer/index.js";
269
270
  import "./Toolbar/index.js";
270
271
  import "./Tooltip/index.js";
271
- import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-Cm_Hn6Ub.js";
272
+ import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-XSZWAR-7.js";
272
273
  import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-CRMLcaRx.js";
273
274
  import "./Typeahead/index.js";
274
275
  import { A as plainDateCreate, B as plainDateIsEqual, C as DATE_FORMAT_WITH_WEEKDAY, D as getTimeZoneParts, E as getDaysInMonth, F as plainDateFromISO, G as plainDateSetFirstOfMonth, H as plainDateMax, I as plainDateFromInstant, J as plainDateToISO, K as plainDateSetStartOfWeek, L as plainDateGetWeekNumber, M as plainDateDiffDays, N as plainDateFormat, O as plainDateAddDays, P as plainDateFromDate, Q as chainEventHandlers, R as plainDateIsAfter, S as DATE_FORMAT_WEEKDAY_ONLY, T as formatSharedDate, U as plainDateMin, V as plainDateIsInRange, W as plainDateSetEndOfWeekExclusive, X as plainDateToday, Y as plainDateToInstant, Z as plainDateWeekFieldName, _ as DATE_FORMAT_MONTH_ONLY, a as formatDisplayTime12h, b as DATE_FORMAT_SHORT_WITH_WEEKDAY, d as getItemGroup, f as groupItems, g as DATE_FORMAT_LONG, h as parseDateInput, i as createISOTimeString, j as plainDateDayOfWeek, k as plainDateAddMonths, l as getInputARIA, m as isLocaleDayFirst, n as clampTime, o as formatDisplayTime24h, p as normalizeDayOfWeek, q as plainDateToDate, r as compareTime, s as parseTimeInput, t as adjustTime, u as joinAriaIDs, v as DATE_FORMAT_MONTH_YEAR, w as SHARED_DATE_FORMAT_OPTIONS, x as DATE_FORMAT_SHORT_WITH_YEAR, y as DATE_FORMAT_SHORT, z as plainDateIsBefore } from "./utils-BOmFijPc.js";
@@ -78,31 +78,55 @@ function isTopLayer(token) {
78
78
  return topPresentEntry()?.token === token;
79
79
  }
80
80
  /**
81
- * 关掉一次按压该关掉的层。
81
+ * 一次按压该关掉的层。
82
82
  *
83
83
  * 从最上面往下找,点在某一层里面就只关它上面的层;点在所有层外面就只关最上面那一层。
84
84
  * 点在栈顶自己的触发器上时什么都不关,那一下是触发器的开关动作。
85
85
  */
86
- function handlePointerDown(event) {
87
- pressSerial += 1;
88
- const serial = pressSerial;
89
- const target = event.target;
90
- if (!(target instanceof Node)) return;
86
+ function layersToDismiss(target, serial) {
91
87
  const ordered = presentEntriesTopFirst().filter((entry) => entry.bornPress !== serial);
92
88
  const top = ordered[0];
93
- if (top == null) return;
89
+ if (top == null) return [];
94
90
  const topTrigger = top.getTrigger?.() ?? null;
95
- if (topTrigger != null && topTrigger.contains(target)) return;
91
+ if (topTrigger != null && topTrigger.contains(target)) return [];
96
92
  for (let i = 0; i < ordered.length; i++) {
97
93
  const container = ordered[i].getContainer?.() ?? null;
98
94
  if (container == null || !container.contains(target)) continue;
99
- for (let j = 0; j < i; j++) {
100
- const above = ordered[j];
101
- if (above.dismissOnPointerOutside) above.onDismiss();
102
- }
103
- return;
95
+ return ordered.slice(0, i).filter((above) => above.dismissOnPointerOutside);
104
96
  }
105
- if (top.dismissOnPointerOutside) top.onDismiss();
97
+ return top.dismissOnPointerOutside ? [top] : [];
98
+ }
99
+ /** 手指按下后移动超过这个距离(像素),这次触摸算拖动,不算点击。 */
100
+ const TOUCH_PAN_DISTANCE = 10;
101
+ /**
102
+ * 手指在层外按下:等抬起时才关。拖动页面、滚动或被浏览器取消的触摸都不算点到外面。
103
+ * 鼠标和笔按下即关。
104
+ */
105
+ function dismissOnTouchRelease(down, layers) {
106
+ const controller = new AbortController();
107
+ const listen = (type, handler) => {
108
+ document.addEventListener(type, (event) => event instanceof PointerEvent && event.pointerId === down.pointerId && handler(event), {
109
+ capture: true,
110
+ signal: controller.signal
111
+ });
112
+ };
113
+ listen("pointermove", (event) => {
114
+ if (Math.hypot(event.clientX - down.clientX, event.clientY - down.clientY) > TOUCH_PAN_DISTANCE) controller.abort();
115
+ });
116
+ listen("pointercancel", () => controller.abort());
117
+ listen("pointerup", () => {
118
+ controller.abort();
119
+ for (const layer of layers) if (entries.includes(layer) && isPresent(layer)) layer.onDismiss();
120
+ });
121
+ }
122
+ function handlePointerDown(event) {
123
+ pressSerial += 1;
124
+ const target = event.target;
125
+ if (!(target instanceof Node)) return;
126
+ const layers = layersToDismiss(target, pressSerial);
127
+ if (layers.length === 0) return;
128
+ if (event.pointerType === "touch") dismissOnTouchRelease(event, layers);
129
+ else layers.forEach((layer) => layer.onDismiss());
106
130
  }
107
131
  /**
108
132
  * 把一次 Escape 按键交给栈。
@@ -0,0 +1,121 @@
1
+ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
2
+ import { t as FOCUSABLE_SELECTOR } from "./focus-l8jVTcqd.js";
3
+ import { n as focusForLastInput } from "./useFocusTrap-FJt5QhEd.js";
4
+ //#region src/layer/layerFocusReturn.ts
5
+ function documentOf(element) {
6
+ if (element != null) return element.ownerDocument;
7
+ return typeof document === "undefined" ? null : document;
8
+ }
9
+ function isDetached(doc) {
10
+ const active = doc.activeElement;
11
+ return active == null || active === doc.body || active === doc.documentElement;
12
+ }
13
+ function tabStopsOf(container) {
14
+ return Array.from(container.querySelectorAll(FOCUSABLE_SELECTOR)).filter((element) => !element.hasAttribute("disabled") && element.getAttribute("tabindex") !== "-1");
15
+ }
16
+ /** 开始跟踪一层的焦点:记下打开者和它原来的位置,留意焦点有没有进过这一层。 */
17
+ function trackLayerFocus(options) {
18
+ const layer = options.getLayer();
19
+ const doc = documentOf(layer);
20
+ const active = doc?.activeElement;
21
+ const focused = options.opener !== void 0 ? options.opener : active instanceof HTMLElement && active !== doc?.body ? active : null;
22
+ const opener = focused != null && layer?.contains(focused) !== true ? focused : null;
23
+ let place = null;
24
+ const ancestors = [];
25
+ if (opener != null) {
26
+ const container = opener.parentElement;
27
+ if (container != null) place = {
28
+ container,
29
+ index: Math.max(0, tabStopsOf(container).indexOf(opener))
30
+ };
31
+ for (let node = opener.parentElement; node != null && node !== doc?.body; node = node.parentElement) ancestors.push(node);
32
+ }
33
+ const record = {
34
+ opener,
35
+ hasEntered: layer != null && active != null && layer.contains(active),
36
+ doc,
37
+ place,
38
+ ancestors,
39
+ stop: () => doc?.removeEventListener("focusin", onFocusIn, true)
40
+ };
41
+ function onFocusIn(event) {
42
+ const current = options.getLayer();
43
+ if (current != null && event.target instanceof Node && current.contains(event.target)) record.hasEntered = true;
44
+ }
45
+ doc?.addEventListener("focusin", onFocusIn, true);
46
+ return record;
47
+ }
48
+ /** 焦点是不是被困在这一层:进过这一层,并且现在在这一层里或者掉到了 body 上。 */
49
+ function isLayerFocusStranded(record, layer) {
50
+ const { doc } = record;
51
+ if (!record.hasEntered || doc == null) return false;
52
+ const active = doc.activeElement;
53
+ return isDetached(doc) || layer != null && active != null && layer.contains(active);
54
+ }
55
+ function isRendered(element) {
56
+ const check = element.checkVisibility;
57
+ if (typeof check === "function") return check.call(element);
58
+ return element.closest("[hidden]") == null;
59
+ }
60
+ function qualifies(element, layer) {
61
+ if (!(element instanceof HTMLElement) || !element.isConnected) return false;
62
+ const doc = element.ownerDocument;
63
+ if (element === doc.body || element === doc.documentElement) return false;
64
+ if (layer?.contains(element) === true) return false;
65
+ if (element.matches(":disabled") || element.closest("[inert]") != null) return false;
66
+ return isRendered(element);
67
+ }
68
+ function placeCandidates(place) {
69
+ if (place == null || !place.container.isConnected) return [];
70
+ const stops = tabStopsOf(place.container);
71
+ const { index } = place;
72
+ return [
73
+ stops[index],
74
+ stops[index - 1],
75
+ stops[index + 1],
76
+ stops[0]
77
+ ].filter((stop) => stop != null);
78
+ }
79
+ function isFocusableNow(element) {
80
+ return element.matches(FOCUSABLE_SELECTOR) || element.hasAttribute("tabindex");
81
+ }
82
+ function findController(doc, layerId) {
83
+ if (doc == null || layerId == null) return null;
84
+ for (const element of doc.querySelectorAll("[aria-controls]")) if ((element.getAttribute("aria-controls") ?? "").split(/\s+/).includes(layerId)) return element;
85
+ return null;
86
+ }
87
+ /** 给本身不能聚焦的元素临时加一个 `tabindex="-1"`,焦点离开时摘掉。 */
88
+ function focusWithTemporaryStop(element) {
89
+ if (!isFocusableNow(element)) {
90
+ element.setAttribute("tabindex", "-1");
91
+ element.addEventListener("blur", () => element.removeAttribute("tabindex"), { once: true });
92
+ }
93
+ focusForLastInput(element);
94
+ }
95
+ /**
96
+ * 沿候选链把焦点送出这一层。只在焦点被困住时调用(见 `isLayerFocusStranded`)。
97
+ * 返回有没有找到落点。
98
+ */
99
+ function restoreLayerFocus(record, options) {
100
+ const { place, ancestors, doc } = record;
101
+ const { layer } = options;
102
+ const controller = findController(doc, options.layerId);
103
+ const candidates = [
104
+ record.opener,
105
+ options.trigger,
106
+ controller,
107
+ options.anchor,
108
+ ...placeCandidates(place),
109
+ ...ancestors,
110
+ doc?.querySelector("main")
111
+ ];
112
+ for (const candidate of candidates) {
113
+ if (!qualifies(candidate, layer)) continue;
114
+ focusWithTemporaryStop(candidate);
115
+ if (doc?.activeElement === candidate) return true;
116
+ }
117
+ devWarn(options.name ?? "Layer", "focus could not return anywhere after the layer closed: the opener, the trigger and every fallback are gone or cannot take focus.");
118
+ return false;
119
+ }
120
+ //#endregion
121
+ export { restoreLayerFocus as n, trackLayerFocus as r, isLayerFocusStranded as t };
@@ -17,6 +17,7 @@ import { t as fieldMessages } from "./field-CehUqCe0.js";
17
17
  import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
18
18
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
19
19
  import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
20
+ import { t as inputMessages } from "./input-DUSvqqG_.js";
20
21
  import { t as selectorMessages } from "./selector-BmGLjm94.js";
21
22
  import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
22
23
  import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
@@ -24,7 +25,6 @@ import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
24
25
  import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
25
26
  import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
26
27
  import { t as dialogMessages } from "./dialog-CNjGcdd1.js";
27
- import { t as inputMessages } from "./input-DUSvqqG_.js";
28
28
  import { t as lightboxMessages } from "./lightbox-BbwxSHdB.js";
29
29
  import { t as markdownMessages } from "./markdown-JcCeKquw.js";
30
30
  import { t as metadataListMessages } from "./metadata-list-BEmAuMYs.js";
@@ -43,7 +43,7 @@ import { t as thumbnailMessages } from "./thumbnail-BI82Ijpj.js";
43
43
  import { t as timestampMessages } from "./timestamp-CFBVCsHF.js";
44
44
  import { t as toastMessages } from "./toast-BvAnX6Vc.js";
45
45
  import { t as tokenMessages } from "./token-DcbdjdZ2.js";
46
- import { t as tokenizerMessages } from "./tokenizer-DSka5PJD.js";
46
+ import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
47
47
  import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
48
48
  import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
49
49
  import { computed, inject, toValue } from "vue";
@@ -1742,6 +1742,9 @@ const formsUpstreamMap = {
1742
1742
  "@astryx.typeahead.resultCount": [{
1743
1743
  path: "typeahead.resultCount",
1744
1744
  args: ["count"]
1745
+ }, {
1746
+ path: "tokenizer.resultCount",
1747
+ args: ["count"]
1745
1748
  }],
1746
1749
  "@astryx.typeahead.searchResults": [
1747
1750
  { path: "typeahead.results" },
@@ -1761,6 +1764,7 @@ const formsUpstreamMap = {
1761
1764
  path: "tokenizer.removed",
1762
1765
  args: ["label"]
1763
1766
  }],
1767
+ "@astryx.tokenizer.allRemoved": [{ path: "tokenizer.allRemoved" }],
1764
1768
  "@astryx.tokenizer.overflowCount": [{
1765
1769
  path: "tokenizer.more",
1766
1770
  args: ["count"]
@@ -921,6 +921,9 @@ interface TokenizerMessages {
921
921
  more: (count: number) => string;
922
922
  added: (label: string) => string;
923
923
  removed: (label: string) => string;
924
+ /** 全部清除之后播报一次。 */
925
+ allRemoved: string;
926
+ resultCount: (count: number) => string;
924
927
  create: (query: string) => string;
925
928
  }
926
929
  declare const tokenizerMessages: Record<AstryxLocale, TokenizerMessages>;