@astryx-vue/core 0.13.0 → 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 (292) 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.js +1 -1
  4. package/dist/{AppShell-DUHcLJWD.js → AppShell-CE5Up5SI.js} +1 -1
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-KmdgVaAb.js → Avatar-D5CFSkAG.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-KBzD0jeF.js → AvatarGroup-CKHxYNVh.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-Bf_nMW3-.js → Banner-B4IEG4Fx.js} +1 -1
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-B57XUJV3.js → BottomSheet-D67lQ3Lo.js} +12 -6
  16. package/dist/{BottomSheet-BMqjymuf.js → BottomSheet-UctSPL-g.js} +3 -3
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-aTPAdLdg.js → Breadcrumbs-By21sIml.js} +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-sUkQ0Ufo.js → Button-CfbR2oPc.js} +6 -6
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-CWra-KDj.js → ButtonGroup-BFl-0uOp.js} +2 -2
  24. package/dist/Calendar/index.d.ts +1 -1
  25. package/dist/Carousel/index.d.ts +1 -1
  26. package/dist/Carousel/index.js +1 -1
  27. package/dist/{Carousel-DmXceU9h.js → Carousel-mL_KdBMw.js} +1 -1
  28. package/dist/Center/index.d.ts +1 -1
  29. package/dist/Chat/index.d.ts +1 -1
  30. package/dist/Chat/index.js +1 -1
  31. package/dist/{Chat-CeibAkxn.js → Chat-C10BQlIl.js} +40 -7
  32. package/dist/CheckboxInput/index.d.ts +1 -1
  33. package/dist/CheckboxInput/index.js +1 -1
  34. package/dist/{CheckboxInput-PvzPV1N1.js → CheckboxInput-BGqRMoEA.js} +2 -2
  35. package/dist/CheckboxList/index.d.ts +1 -1
  36. package/dist/CheckboxList/index.js +1 -1
  37. package/dist/{CheckboxList-DKtNzb0t.js → CheckboxList-DbMhC06M.js} +5 -5
  38. package/dist/ClickableCard/index.d.ts +1 -1
  39. package/dist/ClickableCard/index.js +1 -1
  40. package/dist/{ClickableCard-CvxSKkXh.js → ClickableCard-5k35MGot.js} +2 -2
  41. package/dist/Code/index.js +1 -1
  42. package/dist/{CodeBlock-CTPuBH_r.js → CodeBlock-DAlWY51H.js} +1 -1
  43. package/dist/Collapsible/index.js +1 -1
  44. package/dist/{Collapsible-C_tl5-L0.js → Collapsible-C09C59LH.js} +1 -1
  45. package/dist/CommandPalette/index.js +1 -1
  46. package/dist/{CommandPalette-DIoT_vZh.js → CommandPalette-DYk_FyFB.js} +3 -3
  47. package/dist/ComplexSelector/index.js +1 -1
  48. package/dist/{ComplexSelector-Dmbep7M7.js → ComplexSelector-NDpRucQB.js} +2 -2
  49. package/dist/ContextMenu/index.d.ts +1 -1
  50. package/dist/ContextMenu/index.js +2 -2
  51. package/dist/{ContextMenu-DYnyk5rs.js → ContextMenu-JDU4HDKm.js} +6 -6
  52. package/dist/DateInput/index.d.ts +1 -1
  53. package/dist/DateInput/index.js +1 -1
  54. package/dist/{DateInput-DgPIsWPu.js → DateInput-DVEb1-fM.js} +4 -4
  55. package/dist/DateRangeInput/index.d.ts +1 -1
  56. package/dist/DateRangeInput/index.js +1 -1
  57. package/dist/{DateRangeInput-oOfhUt1Q.js → DateRangeInput-OuAz80nR.js} +3 -3
  58. package/dist/DateTimeInput/index.d.ts +1 -1
  59. package/dist/DateTimeInput/index.js +1 -1
  60. package/dist/{DateTimeInput-DZfghF2h.js → DateTimeInput-J5CFTSSa.js} +5 -5
  61. package/dist/Dialog/index.d.ts +1 -1
  62. package/dist/Dialog/index.js +3 -3
  63. package/dist/{Dialog-Dkwt3mVt.js → Dialog-C0WuGDqP.js} +48 -22
  64. package/dist/{Dialog-qIL4DUot.js → Dialog-Cm8CXGpI.js} +1 -1
  65. package/dist/{DialogHeader-w4TCzYEj.js → DialogHeader-BD2Ezw4F.js} +2 -2
  66. package/dist/Divider/index.d.ts +1 -1
  67. package/dist/Drawer/index.d.ts +1 -1
  68. package/dist/Drawer/index.js +1 -1
  69. package/dist/{Drawer-DBHSNUAa.js → Drawer-CFpcRHt7.js} +2 -2
  70. package/dist/DropdownMenu/index.js +3 -3
  71. package/dist/{DropdownMenu-DHvAlqSj.js → DropdownMenu-2QRvY0aP.js} +10 -10
  72. package/dist/{DropdownMenu-Cncx4FbU.js → DropdownMenu-5Mn01A-5.js} +5 -5
  73. package/dist/EmptyState/index.js +1 -1
  74. package/dist/{EmptyState-uWyPaIR1.js → EmptyState-CqUTEnGg.js} +2 -2
  75. package/dist/Field/index.js +3 -3
  76. package/dist/{Field-CqDOsI3P.js → Field-Cw8J8ld7.js} +1 -1
  77. package/dist/{FieldInfoTip-CUh2koNc.js → FieldInfoTip-D7UNDNje.js} +1 -1
  78. package/dist/{FieldLabel-BMHNRAG3.js → FieldLabel-CJbiefUx.js} +1 -1
  79. package/dist/FileInput/index.d.ts +1 -1
  80. package/dist/FileInput/index.js +1 -1
  81. package/dist/{FileInput-C6dK2pvX.js → FileInput-CgfiwVfs.js} +2 -2
  82. package/dist/Heading/index.js +1 -1
  83. package/dist/{Heading-C0axugQa.js → Heading-BO9n2vLl.js} +1 -1
  84. package/dist/HoverCard/index.d.ts +1 -1
  85. package/dist/HoverCard/index.js +1 -1
  86. package/dist/{HoverCard-C6Gxekg0.js → HoverCard-47J_i9AH.js} +28 -64
  87. package/dist/IconButton/index.js +1 -1
  88. package/dist/{IconButton-Bv2eIsJy.js → IconButton-DiDHiGbo.js} +1 -1
  89. package/dist/InfoTip/index.d.ts +1 -1
  90. package/dist/InfoTip/index.js +1 -1
  91. package/dist/{InfoTip-BKsbmGA6.js → InfoTip-ClRC1Hh9.js} +2 -2
  92. package/dist/{InputClearButton-CSS2Tjat.js → InputClearButton-DL4RM5z1.js} +1 -1
  93. package/dist/InputGroup/index.js +1 -1
  94. package/dist/{InputGroup-DTGh1ylC.js → InputGroup-JMOrdsmu.js} +1 -1
  95. package/dist/{Item-Cfv4ALls.js → Item-CoNXshDg.js} +2 -2
  96. package/dist/{LayerContentBoundary-DwTkbifx.js → LayerContentBoundary-CeebKoPB.js} +1 -1
  97. package/dist/Lightbox/index.js +1 -1
  98. package/dist/{Lightbox-BZ-zBvly.js → Lightbox-kKjxYZ05.js} +3 -3
  99. package/dist/Link/index.d.ts +1 -1
  100. package/dist/Link/index.js +1 -1
  101. package/dist/{Link-Ddu0KjPZ.js → Link-CkbAlJ3-.js} +2 -2
  102. package/dist/List/index.d.ts +1 -1
  103. package/dist/List/index.js +2 -2
  104. package/dist/{ListItem-2evjQQ7n.js → ListItem-D-pqxQpq.js} +1 -1
  105. package/dist/Markdown/index.js +1 -1
  106. package/dist/{Markdown-D7bQGV9u.js → Markdown-DXRFVNJd.js} +3 -3
  107. package/dist/MetadataList/index.d.ts +1 -1
  108. package/dist/MobileNav/index.js +1 -1
  109. package/dist/{MobileNavToggle-Dfshmrdy.js → MobileNavToggle-DUtvvHc7.js} +3 -3
  110. package/dist/MoreMenu/index.d.ts +1 -1
  111. package/dist/MoreMenu/index.js +1 -1
  112. package/dist/{MoreMenu-Bie4B7Jr.js → MoreMenu-CEJ9E2eD.js} +6 -6
  113. package/dist/MultiSelector/index.d.ts +1 -1
  114. package/dist/MultiSelector/index.js +1 -1
  115. package/dist/{MultiSelector-BXIpOmSU.js → MultiSelector-DgWCWpnM.js} +9 -9
  116. package/dist/{NavDisclosure-1otbO71l.js → NavDisclosure-Bf5OFtwv.js} +1 -1
  117. package/dist/{NavHeadingSurface-BkMR3V5m.js → NavHeadingSurface-D5MpO-gO.js} +1 -1
  118. package/dist/NavItem/index.d.ts +1 -1
  119. package/dist/NavItem/index.js +1 -1
  120. package/dist/{NavItem-BZLN0U5a.js → NavItem-hmUfwhiK.js} +1 -1
  121. package/dist/NavMenu/index.js +3 -3
  122. package/dist/{NavMenu-dyGZS1yM.js → NavMenu-BcmUfk7z.js} +2 -2
  123. package/dist/{NavMenuItem-CirgE73a.js → NavMenuItem-C9xk9KZk.js} +2 -2
  124. package/dist/NumberInput/index.d.ts +1 -1
  125. package/dist/NumberInput/index.js +1 -1
  126. package/dist/{NumberInput-0KbcEF3_.js → NumberInput-DNcE_HLD.js} +3 -3
  127. package/dist/Outline/index.js +1 -1
  128. package/dist/{Outline-BXu7HCHp.js → Outline--OQ2pCFL.js} +1 -1
  129. package/dist/OverflowList/index.d.ts +1 -1
  130. package/dist/OverflowList/index.js +1 -1
  131. package/dist/{OverflowList-BdcaX1bz.js → OverflowList-CeQT7MBd.js} +2 -2
  132. package/dist/Overlay/index.d.ts +1 -1
  133. package/dist/Pagination/index.d.ts +1 -1
  134. package/dist/Pagination/index.js +1 -1
  135. package/dist/{Pagination-eeM9SNsG.js → Pagination-DJGQe6wH.js} +1 -1
  136. package/dist/Popover/index.d.ts +1 -1
  137. package/dist/Popover/index.js +1 -1
  138. package/dist/{Popover-BOQo9UPf.js → Popover-C68nCirC.js} +8 -7
  139. package/dist/PowerSearch/index.d.ts +1 -1
  140. package/dist/PowerSearch/index.js +1 -1
  141. package/dist/{PowerSearch-CaqFxaFb.js → PowerSearch-C6lkutch.js} +17 -17
  142. package/dist/ProgressBar/index.js +1 -1
  143. package/dist/{ProgressBar-BS3VSoE9.js → ProgressBar-MaDhabCm.js} +1 -1
  144. package/dist/Radio/index.d.ts +1 -1
  145. package/dist/Radio/index.js +1 -1
  146. package/dist/{RadioGroup-DKaSstyl.js → RadioGroup-CLQLK_V7.js} +3 -3
  147. package/dist/RadioList/index.d.ts +1 -1
  148. package/dist/RadioList/index.js +1 -1
  149. package/dist/{RadioList-DtKm9spP.js → RadioList-DfHTyqIQ.js} +1 -1
  150. package/dist/Resizable/index.d.ts +1 -1
  151. package/dist/ScrollableArea/index.d.ts +1 -1
  152. package/dist/ScrollableArea/index.js +1 -1
  153. package/dist/{ScrollableArea-BgIytCxo.js → ScrollableArea-C2GBp55Z.js} +1 -1
  154. package/dist/SegmentedControl/index.js +1 -1
  155. package/dist/{SegmentedControl-Bs74LlvS.js → SegmentedControl-COVOdCq2.js} +1 -1
  156. package/dist/SelectableCard/index.d.ts +1 -1
  157. package/dist/SelectableCard/index.js +1 -1
  158. package/dist/{SelectableCard-BFCwgtWf.js → SelectableCard-CTRsWXfA.js} +2 -2
  159. package/dist/Selector/index.d.ts +1 -1
  160. package/dist/Selector/index.js +1 -1
  161. package/dist/{Selector-DP012yul.js → Selector-CPCoJ7Sb.js} +6 -5
  162. package/dist/SideNav/index.d.ts +1 -1
  163. package/dist/SideNav/index.js +1 -1
  164. package/dist/{SideNav-L6CWk5fV.js → SideNav-CV8MKVL-.js} +6 -6
  165. package/dist/Slider/index.js +1 -1
  166. package/dist/{Slider-DZS8mGZA.js → Slider-CHJ1CESd.js} +3 -3
  167. package/dist/Stack/index.d.ts +1 -1
  168. package/dist/StatusDot/index.js +1 -1
  169. package/dist/{StatusDot-DaQGq8YN.js → StatusDot-CGaRrl39.js} +1 -1
  170. package/dist/Stepper/index.d.ts +1 -1
  171. package/dist/Stepper/index.js +1 -1
  172. package/dist/{Stepper-DAQRW4n8.js → Stepper-CYZrGpQ9.js} +1 -1
  173. package/dist/Switch/index.d.ts +1 -1
  174. package/dist/Switch/index.js +1 -1
  175. package/dist/{Switch-BN_NnBuc.js → Switch-Bx9ezhrN.js} +2 -2
  176. package/dist/TabList/index.d.ts +1 -1
  177. package/dist/TabList/index.js +1 -1
  178. package/dist/{TabList-Bmj4tGT-.js → TabList-o4t9vWvl.js} +2 -2
  179. package/dist/Table/index.d.ts +1 -1
  180. package/dist/Table/index.js +1 -1
  181. package/dist/{Table-YDS_Hj1L.js → Table-CO2cYE8r.js} +11 -11
  182. package/dist/Text/index.js +1 -1
  183. package/dist/{Text-IijvZmW-.js → Text-C6SB2hHJ.js} +1 -1
  184. package/dist/TextArea/index.d.ts +1 -1
  185. package/dist/TextArea/index.js +1 -1
  186. package/dist/{TextArea-BDR179q1.js → TextArea-DVaDS_1K.js} +5 -5
  187. package/dist/TextInput/index.d.ts +1 -1
  188. package/dist/TextInput/index.js +1 -1
  189. package/dist/{TextInput-kUzxl99M.js → TextInput-Dylfzj33.js} +5 -5
  190. package/dist/Thumbnail/index.js +1 -1
  191. package/dist/{Thumbnail-Disi5yDb.js → Thumbnail-BTQAYnWi.js} +3 -3
  192. package/dist/{TimeField-C0la1AtP.js → TimeField-B3JGgLuf.js} +4 -4
  193. package/dist/TimeInput/index.d.ts +1 -1
  194. package/dist/TimeInput/index.js +1 -1
  195. package/dist/{TimeInput-C_jTijHh.js → TimeInput-Dmy6PxaD.js} +2 -2
  196. package/dist/Timer/index.js +1 -1
  197. package/dist/{Timer-DifGERP8.js → Timer-CN5BmaFS.js} +1 -1
  198. package/dist/Timestamp/index.d.ts +1 -1
  199. package/dist/Timestamp/index.js +1 -1
  200. package/dist/{Timestamp-BjXZGAvO.js → Timestamp-B7UcCEo2.js} +3 -3
  201. package/dist/Toast/index.js +1 -1
  202. package/dist/{Toast-DBo0WRAd.js → Toast-DCipbbCW.js} +3 -3
  203. package/dist/ToggleButton/index.d.ts +1 -1
  204. package/dist/ToggleButton/index.js +1 -1
  205. package/dist/{ToggleButton-B5HNykOh.js → ToggleButton-C78lrcdr.js} +3 -3
  206. package/dist/Token/index.d.ts +1 -1
  207. package/dist/Token/index.js +1 -1
  208. package/dist/{Token-CtG_XE6z.js → Token-uhs8Q9Rr.js} +1 -1
  209. package/dist/Tokenizer/index.d.ts +1 -1
  210. package/dist/Tokenizer/index.js +1 -1
  211. package/dist/{Tokenizer-CY0ymjYr.js → Tokenizer-D7B1ff3O.js} +7 -7
  212. package/dist/Toolbar/index.d.ts +1 -1
  213. package/dist/Tooltip/index.d.ts +1 -1
  214. package/dist/Tooltip/index.js +2 -2
  215. package/dist/{Tooltip-4APVAlN9.js → Tooltip-kQPfj3SE.js} +1 -1
  216. package/dist/TopNav/index.d.ts +1 -1
  217. package/dist/TopNav/index.js +1 -1
  218. package/dist/{TopNav-XSZWAR-7.js → TopNav-AGY785QI.js} +5 -5
  219. package/dist/TreeList/index.d.ts +1 -1
  220. package/dist/TreeList/index.js +1 -1
  221. package/dist/{TreeList-CRMLcaRx.js → TreeList-Dc3A72iY.js} +2 -2
  222. package/dist/Typeahead/index.d.ts +1 -1
  223. package/dist/Typeahead/index.js +2 -2
  224. package/dist/{Typeahead-ByeXwX8E.js → Typeahead-QWYeVsel.js} +6 -6
  225. package/dist/composables/index.d.ts +1 -1
  226. package/dist/composables/index.js +14 -14
  227. package/dist/{composables-WUkSRUCj.js → composables-CyKB3F8u.js} +53 -5
  228. package/dist/{focus-l8jVTcqd.js → focus-x7mxEqjR.js} +1 -1
  229. package/dist/{index-BcJzA5j_.d.ts → index-9YGUb_Ht.d.ts} +4 -4
  230. package/dist/{index-DPklTi3o.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  231. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  232. package/dist/{index-CP-fJFcJ.d.ts → index-BOCb89V9.d.ts} +3 -3
  233. package/dist/{index-Buxb8Onp.d.ts → index-BWaO4-T-.d.ts} +30 -30
  234. package/dist/{index-wTwhcFQx.d.ts → index-Bl_K_cRv.d.ts} +1 -1
  235. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  236. package/dist/{index-D1J81rYJ.d.ts → index-BzViSe8D.d.ts} +4 -4
  237. package/dist/{index-KcCNhdAw.d.ts → index-CL8JvxHW.d.ts} +1 -1
  238. package/dist/{index-D1RIIzDd.d.ts → index-CREW8ZiL.d.ts} +5 -5
  239. package/dist/{index-DKuoSloc.d.ts → index-CVs4A2QU.d.ts} +46 -15
  240. package/dist/{index-x0rjeitC.d.ts → index-CfoExOY_.d.ts} +2 -2
  241. package/dist/{index--tm6L1ot.d.ts → index-Cun6cXGP.d.ts} +1 -1
  242. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  243. package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
  244. package/dist/{index-PffxihMx.d.ts → index-DS9SzqqJ.d.ts} +2 -2
  245. package/dist/{index-YfMHAQ_D.d.ts → index-Dc9_kBrU.d.ts} +2 -2
  246. package/dist/{index-CfHBwR3F.d.ts → index-Dep8pgnU.d.ts} +6 -6
  247. package/dist/{index-C5e2rZML.d.ts → index-Dlq0cFK-.d.ts} +1 -1
  248. package/dist/{index-DDrL_-hJ.d.ts → index-FeZXsFO-.d.ts} +1 -1
  249. package/dist/{index-DneQgJfI.d.ts → index-O9y23OPJ.d.ts} +1 -1
  250. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  251. package/dist/{index-DMcf0QeR.d.ts → index-bgjrSSaT.d.ts} +2 -2
  252. package/dist/{index-DPH5yoAr.d.ts → index-s0Ezq3U-.d.ts} +2 -2
  253. package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
  254. package/dist/index.d.ts +26 -26
  255. package/dist/index.js +103 -103
  256. package/dist/interactionModality-BPvyShJT.js +125 -0
  257. package/dist/layerDepth-BU_55vPr.js +294 -0
  258. package/dist/{layerFocusReturn-DMJaFgcY.js → layerFocusReturn-DWGkSHXj.js} +2 -2
  259. package/dist/{modalOutlet-CUOcrhIu.js → modalOutlet-Drr9a16b.js} +25 -1
  260. package/dist/{pressFeedback-Bwwpex9q.js → pressFeedback-Co3ugCsm.js} +3 -190
  261. package/dist/pressGesture-B3z3W3Za.js +78 -0
  262. package/dist/{scrollKeyboardDelegation-D7cumnOl.js → scrollKeyboardDelegation-BSpUCTlO.js} +1 -1
  263. package/dist/{selectorEscape-BppRdqpc.js → selectorEscape-LkWoVYQN.js} +2 -2
  264. package/dist/{stillPointerGate-Bh02Mfnw.js → stillPointerGate-BZ7KMJOB.js} +1 -1
  265. package/dist/tooltipTriggerRules-9zkDe8_b.js +10 -0
  266. package/dist/{useActionGroupTracking-BJMRaXil.js → useActionGroupTracking-CDclbV3Y.js} +2 -2
  267. package/dist/useClickableContainer-Dtjg-nkm.js +141 -0
  268. package/dist/{useDismiss-BWd-sQ18.js → useDismiss-74dLMi5S.js} +58 -5
  269. package/dist/{useFocusTrap-FJt5QhEd.js → useFocusTrap-CyooA0OC.js} +32 -17
  270. package/dist/{useHoverLayerDismiss-uhfzmZyf.js → useHoverLayerDismiss-B1W5qIBx.js} +1 -1
  271. package/dist/{useInputContainer-BpLtCA-U.js → useInputContainer-CLhsKYZ6.js} +1 -1
  272. package/dist/{useInputStatusIcon-C3Q-q_wI.js → useInputStatusIcon-ZqCxDNTj.js} +1 -1
  273. package/dist/{useLayer-BGv_wRSG.js → useLayer-BnjrJ85F.js} +13 -5
  274. package/dist/{useMenuDrillIn-uQtOSny6.js → useMenuDrillIn-BW9dNBje.js} +1 -1
  275. package/dist/{useMenuPress-BLPwY_m1.js → useMenuPress-BWq7kwWm.js} +1 -29
  276. package/dist/{usePressFeedback-Bcjsw9vv.js → usePressFeedback-Cxu4-mCe.js} +1 -1
  277. package/dist/{useResizable-DTDhsLip.js → useResizable-De4Xp3TD.js} +1 -1
  278. package/dist/{useRestoreFocus-D2-pGoOk.js → useRestoreFocus-CSrI8x7v.js} +2 -2
  279. package/dist/{useScrollableArea-BE8b3qm7.js → useScrollableArea-Bwn75HDg.js} +1 -1
  280. package/dist/{useTooltip-md1tr6ef.js → useTooltip-uc-VLZ8I.js} +25 -27
  281. package/dist/{useTouchHitArea-1WtV3u6F.js → useTouchHitArea-B3jx01C3.js} +1 -1
  282. package/dist/useTouchTriggerInternal-b-txblws.js +257 -0
  283. package/dist/{useTruncationTooltip-BGsFITq5.js → useTruncationTooltip-BVMCoNno.js} +4 -4
  284. package/dist/{useTypeahead-BrUwR-kv.js → useTypeahead-BWj3xhbR.js} +1 -1
  285. package/dist/{useTypeaheadAnnouncement-MbuZumTd.js → useTypeaheadAnnouncement-DVkdWTWy.js} +1 -1
  286. package/package.json +1 -1
  287. package/dist/interactionModality-ACpTMhak.js +0 -44
  288. package/dist/layerDepth-BF74Cctw.js +0 -205
  289. package/dist/layerSurfacePress-C3PjPpJP.js +0 -29
  290. package/dist/tooltipTriggerRules-BY3LAtUl.js +0 -53
  291. package/dist/useTouchTrigger-GGd85Obb.js +0 -146
  292. package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import { n as _sfc_main$11 } from "./BottomSheet-B57XUJV3.js";
1
+ import { n as _sfc_main$11 } from "./BottomSheet-D67lQ3Lo.js";
2
2
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
3
- import { d as hasInteractiveAncestor, f as hasTextSelection, p as useClickableContainer, u as INTERACTIVE_SELECTORS } from "./pressFeedback-Bwwpex9q.js";
3
+ import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
4
4
  import { n as isMenuPressActivation, r as resetMenuPress } from "./strayClick-CY-_ImKv.js";
5
- import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
5
+ import { t as usePressFeedback } from "./usePressFeedback-Cxu4-mCe.js";
6
6
  import { i as isIconGlyph, n as ICON_GLYPHS, r as iconGlyphSlug, t as _sfc_main$90 } from "./Icon-BCHo7W0x.js";
7
7
  import { a as resolveSemanticIcon, i as defaultSemanticIcons } from "./themeIcons-CqGF0fwW.js";
8
8
  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-sUkQ0Ufo.js";
12
+ import { t as _sfc_main$18 } from "./Button-CfbR2oPc.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-BWd-sQ18.js";
16
- import { t as useLayer } from "./useLayer-BGv_wRSG.js";
15
+ import { t as useDismiss } from "./useDismiss-74dLMi5S.js";
16
+ import { t as useLayer } from "./useLayer-BnjrJ85F.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";
@@ -24,7 +24,7 @@ import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-G
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
26
  import { t as useCombobox } from "./useCombobox-D374_pT8.js";
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";
27
+ 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";
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";
30
30
  import { n as useDevWarning, t as devWarn } from "./useDevWarning-B2fsk2B-.js";
@@ -32,113 +32,113 @@ 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 { t as useFocusTrap } from "./useFocusTrap-FJt5QhEd.js";
35
+ import { t as useFocusTrap } from "./useFocusTrap-CyooA0OC.js";
36
36
  import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
37
- import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-DTDhsLip.js";
38
- import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
39
- import { t as _sfc_main$91 } from "./IconButton-Bv2eIsJy.js";
40
- import { t as useInputStatusIcon } from "./useInputStatusIcon-C3Q-q_wI.js";
37
+ import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-De4Xp3TD.js";
38
+ import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
39
+ import { t as _sfc_main$91 } from "./IconButton-DiDHiGbo.js";
40
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-ZqCxDNTj.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";
44
44
  import { t as _sfc_main$98 } from "./Kbd-CbD993ig.js";
45
45
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
46
46
  import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
47
- 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";
47
+ 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";
48
48
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
49
49
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "./useMonthGrid-fGHSSrFc.js";
50
50
  import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
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";
55
- import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
54
+ import { t as useRestoreFocus } from "./useRestoreFocus-CSrI8x7v.js";
55
+ import { t as useScrollableArea } from "./useScrollableArea-Bwn75HDg.js";
56
56
  import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
57
57
  import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
58
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";
59
- import { n as useTouchTrigger, t as isActionTrigger } from "./useTouchTrigger-GGd85Obb.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";
59
+ import { n as isActionTrigger } from "./useTouchTriggerInternal-b-txblws.js";
60
+ import { t as useTypeahead } from "./useTypeahead-BWj3xhbR.js";
61
+ import { t as _sfc_main$69 } from "./Dialog-C0WuGDqP.js";
62
+ import { t as useTooltip } from "./useTooltip-uc-VLZ8I.js";
63
+ import { t as _sfc_main$188 } from "./Tooltip-kQPfj3SE.js";
64
64
  import { n as useTruncation } from "./useTruncation-C4pdlaXa.js";
65
65
  import { n as observeResize, r as unobserveResize } from "./sharedResizeObserver-BekhnB3E.js";
66
- import { t as _sfc_main$88 } from "./Heading-C0axugQa.js";
66
+ import { t as _sfc_main$88 } from "./Heading-BO9n2vLl.js";
67
67
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
68
68
  import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.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";
69
+ import { t as _sfc_main$173 } from "./Text-C6SB2hHJ.js";
70
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-CsdgJDLK.js";
71
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";
72
72
  import { t as layoutMessages } from "./layout-DzxSsBe8.js";
73
73
  import { t as navMessages } from "./nav-DpKQUHqR.js";
74
- import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-Dfshmrdy.js";
74
+ import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-DUtvvHc7.js";
75
75
  import { i as useSideNavCollapse } from "./context-ZsDEkhSF.js";
76
- import { t as _sfc_main$1 } from "./AppShell-DUHcLJWD.js";
76
+ import { t as _sfc_main$1 } from "./AppShell-CE5Up5SI.js";
77
77
  import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
78
- import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-KmdgVaAb.js";
78
+ import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-D5CFSkAG.js";
79
79
  import { t as avatarGroupMessages } from "./avatar-group-Dcn6i_ne.js";
80
- import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-KBzD0jeF.js";
80
+ import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-CKHxYNVh.js";
81
81
  import { t as _sfc_main$7 } from "./Badge-BbPS_49c.js";
82
82
  import "./Badge/index.js";
83
83
  import { t as bannerMessages } from "./banner-Bv76b50U.js";
84
- import { t as _sfc_main$8 } from "./Banner-Bf_nMW3-.js";
84
+ import { t as _sfc_main$8 } from "./Banner-B4IEG4Fx.js";
85
85
  import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
86
86
  import "./Blockquote/index.js";
87
- import { t as _sfc_main$12 } from "./BottomSheet-BMqjymuf.js";
88
- import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-Cfv4ALls.js";
87
+ import { t as _sfc_main$12 } from "./BottomSheet-UctSPL-g.js";
88
+ import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-CoNXshDg.js";
89
89
  import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
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";
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";
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-BW9dNBje.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-2QRvY0aP.js";
92
92
  import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
93
93
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
94
94
  import { r as resolveNavRoot } from "./link-DuuA2eCL.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";
95
+ import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-By21sIml.js";
96
+ import { n as _sfc_main$19 } from "./ButtonGroup-BFl-0uOp.js";
97
97
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
98
98
  import { t as _sfc_main$20 } from "./Calendar-DwFAzDky.js";
99
99
  import "./Calendar/index.js";
100
100
  import { t as _sfc_main$21 } from "./Card-BbKFHWuD.js";
101
101
  import "./Card/index.js";
102
102
  import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
103
- import { t as _sfc_main$22 } from "./Carousel-DmXceU9h.js";
103
+ import { t as _sfc_main$22 } from "./Carousel-mL_KdBMw.js";
104
104
  import { t as _sfc_main$23 } from "./Center-B7FTd7Hw.js";
105
105
  import { t as chatMessages } from "./chat-BUFYB3bA.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";
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-C10BQlIl.js";
107
+ import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-47J_i9AH.js";
108
108
  import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
109
109
  import { t as _sfc_main$154 } from "./Spinner-DEVPDsD0.js";
110
110
  import "./CheckboxIndicator/index.js";
111
111
  import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
112
- import { t as _sfc_main$92 } from "./InfoTip-BKsbmGA6.js";
112
+ import { t as _sfc_main$92 } from "./InfoTip-ClRC1Hh9.js";
113
113
  import { t as fieldMessages } from "./field-CehUqCe0.js";
114
- import { t as _sfc_main$81 } from "./FieldLabel-BMHNRAG3.js";
114
+ import { t as _sfc_main$81 } from "./FieldLabel-CJbiefUx.js";
115
115
  import { t as _sfc_main$82 } from "./FieldStatus-DSUCli4W.js";
116
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";
117
- import { t as _sfc_main$44 } from "./CheckboxInput-PvzPV1N1.js";
117
+ import { t as _sfc_main$44 } from "./CheckboxInput-BGqRMoEA.js";
118
118
  import "./CheckboxInput/index.js";
119
- import { t as _sfc_main$80 } from "./Field-CqDOsI3P.js";
120
- import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-2evjQQ7n.js";
121
- import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DKtNzb0t.js";
119
+ import { t as _sfc_main$80 } from "./Field-Cw8J8ld7.js";
120
+ import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-D-pqxQpq.js";
121
+ import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DbMhC06M.js";
122
122
  import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
123
123
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
124
124
  import { t as _sfc_main$47 } from "./Citation-CSgRYxGU.js";
125
- import { n as _sfc_main$48 } from "./ClickableCard-CvxSKkXh.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";
125
+ import { n as _sfc_main$48 } from "./ClickableCard-5k35MGot.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-DAlWY51H.js";
127
127
  import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
128
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";
129
- import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-C_tl5-L0.js";
129
+ import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-C09C59LH.js";
130
130
  import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.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";
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-DYk_FyFB.js";
132
132
  import { t as inputMessages } from "./input-DUSvqqG_.js";
133
133
  import { t as selectorMessages } from "./selector-BmGLjm94.js";
134
134
  import { t as popoverMessages } from "./popover-DxCyd_Ua.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
+ import { n as usePopover, t as _sfc_main$131 } from "./Popover-C68nCirC.js";
136
+ import { n as _sfc_main$60 } from "./ComplexSelector-NDpRucQB.js";
137
137
  import { t as contextMenuMessages } from "./context-menu-9i6CObx3.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";
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-JDU4HDKm.js";
139
139
  import { t as dateInputMessages } from "./date-input-CiEBtStM.js";
140
140
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
141
- import { t as _sfc_main$66 } from "./DateInput-DgPIsWPu.js";
141
+ import { t as _sfc_main$66 } from "./DateInput-DVEb1-fM.js";
142
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";
143
143
  import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
144
144
  import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
@@ -166,21 +166,21 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
166
166
  import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
167
167
  import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-DET_YkFW.js";
168
168
  import "./DateInput/index.js";
169
- import { t as _sfc_main$67 } from "./DateRangeInput-oOfhUt1Q.js";
169
+ import { t as _sfc_main$67 } from "./DateRangeInput-OuAz80nR.js";
170
170
  import "./DateRangeInput/index.js";
171
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";
172
- import { t as _sfc_main$68 } from "./DateTimeInput-DZfghF2h.js";
172
+ import { t as _sfc_main$68 } from "./DateTimeInput-J5CFTSSa.js";
173
173
  import "./DateTimeInput/index.js";
174
- import { t as _sfc_main$70 } from "./DialogHeader-w4TCzYEj.js";
175
- import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-qIL4DUot.js";
174
+ import { t as _sfc_main$70 } from "./DialogHeader-BD2Ezw4F.js";
175
+ import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-Cm8CXGpI.js";
176
176
  import "./Divider/index.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";
177
+ import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-CFpcRHt7.js";
178
+ import { t as _sfc_main$78 } from "./DropdownMenu-5Mn01A-5.js";
179
+ import { t as _sfc_main$79 } from "./EmptyState-CqUTEnGg.js";
180
+ import { t as _sfc_main$93 } from "./InputClearButton-DL4RM5z1.js";
181
181
  import "./Field/index.js";
182
182
  import "./FieldStatus/index.js";
183
- import { t as _sfc_main$83 } from "./FileInput-C6dK2pvX.js";
183
+ import { t as _sfc_main$83 } from "./FileInput-CgfiwVfs.js";
184
184
  import { t as _sfc_main$84 } from "./FormLayout-B9dUB6Ps.js";
185
185
  import { n as _sfc_main$85, t as _sfc_main$86 } from "./Grid-C0mp7fha.js";
186
186
  import "./Heading/index.js";
@@ -189,88 +189,88 @@ import { t as useSemanticIcon } from "./Icon-B2aULLnn.js";
189
189
  import "./IconButton/index.js";
190
190
  import "./Indicator/index.js";
191
191
  import "./InfoTip/index.js";
192
- import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-DTGh1ylC.js";
192
+ import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-JMOrdsmu.js";
193
193
  import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-BYU2MRtX.js";
194
194
  import "./Kbd/index.js";
195
195
  import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
196
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";
197
+ import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-kKjxYZ05.js";
198
+ import { t as _sfc_main$106 } from "./Link-CkbAlJ3-.js";
199
199
  import "./Link/index.js";
200
200
  import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
201
201
  import "./List/index.js";
202
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";
203
- import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-D7bQGV9u.js";
203
+ import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-DXRFVNJd.js";
204
204
  import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
205
205
  import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
206
206
  import "./MobileNav/index.js";
207
- import { t as _sfc_main$116 } from "./MoreMenu-Bie4B7Jr.js";
208
- import { t as _sfc_main$185 } from "./Token-CtG_XE6z.js";
209
- import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-BXIpOmSU.js";
207
+ import { t as _sfc_main$116 } from "./MoreMenu-CEJ9E2eD.js";
208
+ import { t as _sfc_main$185 } from "./Token-uhs8Q9Rr.js";
209
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-DgWCWpnM.js";
210
210
  import "./MultiSelector/index.js";
211
211
  import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
212
- import { t as _sfc_main$122 } from "./NavItem-BZLN0U5a.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";
212
+ import { t as _sfc_main$122 } from "./NavItem-hmUfwhiK.js";
213
+ import { t as _sfc_main$118 } from "./NavDisclosure-Bf5OFtwv.js";
214
+ import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-BcmUfk7z.js";
215
+ import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-C9xk9KZk.js";
216
+ import { t as _sfc_main$125 } from "./NumberInput-DNcE_HLD.js";
217
217
  import "./NumberInput/index.js";
218
- import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-BXu7HCHp.js";
219
- import { t as _sfc_main$127 } from "./OverflowList-BdcaX1bz.js";
218
+ import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline--OQ2pCFL.js";
219
+ import { t as _sfc_main$127 } from "./OverflowList-CeQT7MBd.js";
220
220
  import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
221
- import { t as _sfc_main$130 } from "./Pagination-eeM9SNsG.js";
222
- import { t as _sfc_main$146 } from "./Selector-DP012yul.js";
221
+ import { t as _sfc_main$130 } from "./Pagination-DJGQe6wH.js";
222
+ import { t as _sfc_main$146 } from "./Selector-CPCoJ7Sb.js";
223
223
  import "./Pagination/index.js";
224
224
  import "./Popover/index.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";
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-C6lkutch.js";
226
+ import { r as _sfc_main$198 } from "./useTypeaheadAnnouncement-DVkdWTWy.js";
227
+ import { t as _sfc_main$186 } from "./Tokenizer-D7B1ff3O.js";
228
+ import { t as _sfc_main$175 } from "./TextInput-Dylfzj33.js";
229
+ import { t as _sfc_main$178 } from "./TimeInput-Dmy6PxaD.js";
230
+ import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-QWYeVsel.js";
231
+ import { t as _sfc_main$133 } from "./ProgressBar-MaDhabCm.js";
232
+ import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-CLQLK_V7.js";
233
233
  import "./Radio/index.js";
234
- import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-DtKm9spP.js";
234
+ import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-DfHTyqIQ.js";
235
235
  import { t as _sfc_main$139 } from "./ResizeHandle-Bon51yNV.js";
236
236
  import "./Resizable/index.js";
237
- import { t as _sfc_main$140 } from "./ScrollableArea-BgIytCxo.js";
237
+ import { t as _sfc_main$140 } from "./ScrollableArea-C2GBp55Z.js";
238
238
  import { t as _sfc_main$141 } from "./Scrollbars-Gvu4QVaF.js";
239
239
  import { t as _sfc_main$142 } from "./Section-Km_FjJ-i.js";
240
240
  import "./Section/index.js";
241
- import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-Bs74LlvS.js";
242
- import { n as _sfc_main$145 } from "./SelectableCard-BFCwgtWf.js";
241
+ import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-COVOdCq2.js";
242
+ import { n as _sfc_main$145 } from "./SelectableCard-CTRsWXfA.js";
243
243
  import "./Selector/index.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
+ 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-CV8MKVL-.js";
245
245
  import "./SizeContext/index.js";
246
246
  import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
247
247
  import "./Skeleton/index.js";
248
- import { t as _sfc_main$153 } from "./Slider-DZS8mGZA.js";
248
+ import { t as _sfc_main$153 } from "./Slider-CHJ1CESd.js";
249
249
  import "./Spinner/index.js";
250
250
  import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Tw4I_dt-.js";
251
- import { t as _sfc_main$157 } from "./StatusDot-DaQGq8YN.js";
252
- import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-DAQRW4n8.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";
251
+ import { t as _sfc_main$157 } from "./StatusDot-CGaRrl39.js";
252
+ import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-CYZrGpQ9.js";
253
+ import { t as _sfc_main$160 } from "./Switch-Bx9ezhrN.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-CO2cYE8r.js";
255
255
  import { t as _sfc_main$187 } from "./Toolbar-BH_E0F0G.js";
256
- import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-Bmj4tGT-.js";
256
+ import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-o4t9vWvl.js";
257
257
  import "./Text/index.js";
258
- import { t as _sfc_main$174 } from "./TextArea-BDR179q1.js";
258
+ import { t as _sfc_main$174 } from "./TextArea-DVaDS_1K.js";
259
259
  import "./TextInput/index.js";
260
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";
261
261
  import { a as normalizeTokenName, d as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main$111 } from "./MediaTheme-BVKUsMfC.js";
262
- import { t as _sfc_main$177 } from "./Thumbnail-Disi5yDb.js";
262
+ import { t as _sfc_main$177 } from "./Thumbnail-BTQAYnWi.js";
263
263
  import "./TimeInput/index.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";
264
+ import { n as getPresentation, t as _sfc_main$179 } from "./Timer-CN5BmaFS.js";
265
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-B7UcCEo2.js";
266
+ import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-DCipbbCW.js";
267
+ import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-C78lrcdr.js";
268
268
  import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
269
269
  import "./Tokenizer/index.js";
270
270
  import "./Toolbar/index.js";
271
271
  import "./Tooltip/index.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";
273
- import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-CRMLcaRx.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-AGY785QI.js";
273
+ import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-Dc3A72iY.js";
274
274
  import "./Typeahead/index.js";
275
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";
276
276
  import "./VisuallyHidden/index.js";
@@ -0,0 +1,125 @@
1
+ //#region src/utils/controlKind.ts
2
+ /**
3
+ * @file controlKind.ts
4
+ * @output isTextEntryControl、isDisabledControl:按元素本身判断它是哪类控件
5
+ * @position Tooltip、HoverCard 的触屏规则和交互模态共用,不从包里导出
6
+ */
7
+ /** 不能输入文字的 input 类型。 */
8
+ const NON_TEXT_INPUT_TYPES = /* @__PURE__ */ new Set([
9
+ "button",
10
+ "checkbox",
11
+ "color",
12
+ "file",
13
+ "hidden",
14
+ "image",
15
+ "radio",
16
+ "range",
17
+ "reset",
18
+ "submit"
19
+ ]);
20
+ /**
21
+ * 这个元素是不是能打字的控件:文本框、多行文本框、可编辑区。
22
+ * 同时读属性:测试 DOM 不一定实现 `isContentEditable`。
23
+ */
24
+ function isTextEntryControl(element) {
25
+ if (element == null) return false;
26
+ const tag = element.tagName;
27
+ if (tag === "TEXTAREA") return true;
28
+ if (tag === "INPUT") return !NON_TEXT_INPUT_TYPES.has((element.getAttribute("type") ?? "text").toLowerCase());
29
+ if (element.isContentEditable === true) return true;
30
+ const editable = element.getAttribute("contenteditable");
31
+ return editable != null && editable !== "false";
32
+ }
33
+ /**
34
+ * 这个控件是不是禁用的:`aria-disabled="true"`(还能聚焦、能讲出禁用原因的那种),
35
+ * 或原生 `:disabled`。
36
+ */
37
+ function isDisabledControl(element) {
38
+ if (element.getAttribute("aria-disabled") === "true") return true;
39
+ try {
40
+ return element.matches(":disabled");
41
+ } catch {
42
+ return false;
43
+ }
44
+ }
45
+ //#endregion
46
+ //#region src/composables/internal/interactionModality.ts
47
+ const STORE_KEY = Symbol.for("@astryx-vue/core/interaction-modality/v1");
48
+ function getStore(doc) {
49
+ const host = doc;
50
+ const existing = host[STORE_KEY];
51
+ if (existing != null) return existing;
52
+ const store = {
53
+ modality: "keyboard",
54
+ isTextEntrySincePointer: false,
55
+ isListening: false,
56
+ onPointerDown: () => {
57
+ store.modality = "pointer";
58
+ store.isTextEntrySincePointer = true;
59
+ },
60
+ onKeyDown: (event) => {
61
+ if (event.metaKey || event.altKey || event.ctrlKey) return;
62
+ store.modality = "keyboard";
63
+ if (!isTextEntryKey(event)) store.isTextEntrySincePointer = false;
64
+ }
65
+ };
66
+ Object.defineProperty(host, STORE_KEY, { value: store });
67
+ return store;
68
+ }
69
+ /**
70
+ * 软键盘对很多键发 `Unidentified` 或 `Process`,`Enter` 是它的「前往」键;
71
+ * `Shift`、`CapsLock`、`Dead` 只影响下一个字。其它有名字的键移动焦点或光标,算键盘导航。
72
+ */
73
+ const TEXT_ENTRY_NAMED_KEYS = /* @__PURE__ */ new Set([
74
+ "Backspace",
75
+ "CapsLock",
76
+ "Dead",
77
+ "Delete",
78
+ "Enter",
79
+ "Process",
80
+ "Shift",
81
+ "Unidentified"
82
+ ]);
83
+ function isTextEntryKey(event) {
84
+ const target = typeof event.composedPath === "function" ? event.composedPath()[0] : event.target;
85
+ if (!isTextEntryControl(target instanceof Element ? target : null)) return false;
86
+ const key = typeof event.key === "string" ? event.key : "";
87
+ return event.isComposing === true || [...key].length === 1 || TEXT_ENTRY_NAMED_KEYS.has(key);
88
+ }
89
+ /**
90
+ * 开始跟踪交互模态。不传 `doc` 就跟踪页面自己的 document;组件渲染进 iframe、
91
+ * 画中画窗口时传它所在的 document,那个窗口的输入只到那里。
92
+ * 可以反复调用,监听只装一次。服务端什么也不做。
93
+ */
94
+ function trackInteractionModality(doc) {
95
+ const target = doc ?? (typeof document === "undefined" ? null : document);
96
+ if (target == null) return;
97
+ const store = getStore(target);
98
+ if (store.isListening) return;
99
+ store.isListening = true;
100
+ const options = {
101
+ capture: true,
102
+ passive: true
103
+ };
104
+ target.addEventListener("pointerdown", store.onPointerDown, options);
105
+ target.addEventListener("keydown", store.onKeyDown, options);
106
+ }
107
+ /** 上一次的交互模态。没有 document 时答键盘。 */
108
+ function getInteractionModality() {
109
+ return typeof document === "undefined" ? "keyboard" : getStore(document).modality;
110
+ }
111
+ /** 上一次是不是键盘。顺手确保跟踪已经装上。 */
112
+ function isKeyboardModality() {
113
+ trackInteractionModality();
114
+ return getInteractionModality() === "keyboard";
115
+ }
116
+ /**
117
+ * 上一次指针按下之后,是不是只往文本框里打过字(软键盘打字不算换成键盘操作)。
118
+ * 没有 document 时答 false。
119
+ */
120
+ function isTextEntrySincePointer(doc) {
121
+ const target = doc ?? (typeof document === "undefined" ? null : document);
122
+ return target != null && getStore(target).isTextEntrySincePointer === true;
123
+ }
124
+ //#endregion
125
+ export { isDisabledControl as a, trackInteractionModality as i, isKeyboardModality as n, isTextEntryControl as o, isTextEntrySincePointer as r, getInteractionModality as t };