@astryx-vue/core 0.33.3 → 0.33.4

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 (259) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-BwH9WU-t.js → AlertDialog-CwyMvZEI.js} +5 -5
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-BwzRYOky.js → AppShell-4hWTPKSD.js} +5 -5
  5. package/dist/AvatarGroup/index.d.ts +1 -1
  6. package/dist/AvatarGroup/index.js +1 -1
  7. package/dist/{AvatarGroup-C0V--ipx.js → AvatarGroup-BIPixZOb.js} +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/Banner/index.js +1 -1
  10. package/dist/{Banner-Ds5KIeES.js → Banner-CMXebR4Y.js} +1 -1
  11. package/dist/BottomSheet/index.d.ts +1 -1
  12. package/dist/Breadcrumbs/index.js +2 -2
  13. package/dist/{Breadcrumbs-DWAYp-JJ.js → Breadcrumbs-BPxPAEHQ.js} +1 -1
  14. package/dist/Button/index.d.ts +1 -1
  15. package/dist/Button/index.js +1 -1
  16. package/dist/{Button-X-Q_ghg8.js → Button-B7PvGVt6.js} +2 -2
  17. package/dist/ButtonGroup/index.d.ts +1 -1
  18. package/dist/ButtonGroup/index.js +1 -1
  19. package/dist/{ButtonGroup-DsYdUmF1.js → ButtonGroup-BkwQ0h97.js} +2 -2
  20. package/dist/Calendar/index.d.ts +1 -1
  21. package/dist/Card/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-D8uVV1J_.js → Carousel-BmfKiv69.js} +1 -1
  25. package/dist/Chat/index.d.ts +1 -1
  26. package/dist/Chat/index.js +1 -1
  27. package/dist/{Chat-Dy-icS2C.js → Chat-2AG37D51.js} +1 -1
  28. package/dist/CheckboxInput/index.d.ts +1 -1
  29. package/dist/CheckboxInput/index.js +1 -1
  30. package/dist/{CheckboxInput-CiUtutIS.js → CheckboxInput-rbMgS8ZL.js} +79 -74
  31. package/dist/CheckboxList/index.d.ts +1 -1
  32. package/dist/CheckboxList/index.js +1 -1
  33. package/dist/{CheckboxListItem-B6sV7-Og.js → CheckboxListItem-Ckt1Cwt_.js} +4 -4
  34. package/dist/ClickableCard/index.d.ts +1 -1
  35. package/dist/ClickableCard/index.js +1 -1
  36. package/dist/{ClickableCard-DDk_RtHd.js → ClickableCard-Dh0tOQv-.js} +1 -1
  37. package/dist/Code/index.js +1 -1
  38. package/dist/{CodeBlock-r2-MlpBB.js → CodeBlock-ZluDuBT7.js} +1 -1
  39. package/dist/Collapsible/index.d.ts +1 -1
  40. package/dist/Collapsible/index.js +1 -1
  41. package/dist/{Collapsible-0XI3tKgj.js → Collapsible-B_9H2wV_.js} +3 -3
  42. package/dist/CommandPalette/index.d.ts +1 -1
  43. package/dist/CommandPalette/index.js +1 -1
  44. package/dist/{CommandPalette-BYR0Lxxd.js → CommandPalette-Cbr-WWC8.js} +2 -2
  45. package/dist/ComplexSelector/index.js +1 -1
  46. package/dist/{ComplexSelector-CIXrqCoX.js → ComplexSelector-BPvBCUJk.js} +2 -2
  47. package/dist/ContextMenu/index.d.ts +1 -1
  48. package/dist/ContextMenu/index.js +2 -2
  49. package/dist/{ContextMenu-CfVyaP5v.js → ContextMenu-BF4ALBZn.js} +3 -3
  50. package/dist/DateInput/index.d.ts +1 -1
  51. package/dist/DateInput/index.js +1 -1
  52. package/dist/{DateInput-DRzZ8dY7.js → DateInput-C7PICKR2.js} +2 -2
  53. package/dist/DateRangeInput/index.d.ts +1 -1
  54. package/dist/DateRangeInput/index.js +1 -1
  55. package/dist/{DateRangeInput-DL2aOQXJ.js → DateRangeInput-Dt-BA7AA.js} +3 -3
  56. package/dist/DateTimeInput/index.d.ts +1 -1
  57. package/dist/DateTimeInput/index.js +1 -1
  58. package/dist/{DateTimeInput-KWkpamG4.js → DateTimeInput-XEESzGJf.js} +4 -4
  59. package/dist/Dialog/index.d.ts +1 -1
  60. package/dist/Dialog/index.js +3 -3
  61. package/dist/{Dialog-BM5VEE8z.js → Dialog-B1xC9xMC.js} +1 -1
  62. package/dist/{Dialog-CJzq1gms.js → Dialog-BmdNX3NC.js} +1 -1
  63. package/dist/{DialogHeader-Do4EOX2f.js → DialogHeader-DcP4xAk3.js} +2 -2
  64. package/dist/Drawer/index.d.ts +1 -1
  65. package/dist/Drawer/index.js +1 -1
  66. package/dist/{Drawer-DuQ620WO.js → Drawer-CdHbZffI.js} +2 -2
  67. package/dist/DropdownMenu/index.js +2 -2
  68. package/dist/{DropdownMenu-CbENfJOq.js → DropdownMenu-C1494BkC.js} +6 -6
  69. package/dist/Field/index.js +3 -3
  70. package/dist/{Field-B1fsgAqp.js → Field-KszpxUdx.js} +1 -1
  71. package/dist/{FieldInfoTip-CntJCcnM.js → FieldInfoTip-CY9BTVtK.js} +1 -1
  72. package/dist/{FieldLabel-D56uJrRE.js → FieldLabel-KPCTcJpO.js} +1 -1
  73. package/dist/FileInput/index.js +1 -1
  74. package/dist/{FileInput-EjlruVVX.js → FileInput-BTIn6OoY.js} +3 -3
  75. package/dist/HoverCard/index.d.ts +1 -1
  76. package/dist/IconButton/index.js +1 -1
  77. package/dist/{IconButton-CXg9qTRM.js → IconButton-e5xeGow-.js} +1 -1
  78. package/dist/InfoTip/index.d.ts +1 -1
  79. package/dist/InfoTip/index.js +1 -1
  80. package/dist/{InfoTip-jFet-iAx.js → InfoTip-DpvV8zrm.js} +1 -1
  81. package/dist/{InputClearButton-DBTrsrSH.js → InputClearButton-BzxJH6mk.js} +1 -1
  82. package/dist/InputGroup/index.js +1 -1
  83. package/dist/{InputGroup-D7UBxktR.js → InputGroup-Bj4hksiI.js} +1 -1
  84. package/dist/{Item-DbalBZXc.js → Item-D62Cibn1.js} +2 -2
  85. package/dist/Layout/index.js +2 -2
  86. package/dist/{Layout-BEJwZon4.js → Layout-SJoCw8NC.js} +1 -1
  87. package/dist/{LayoutPanel-BgJdL0KV.js → LayoutPanel-DZN4RxX6.js} +1 -1
  88. package/dist/Lightbox/index.js +1 -1
  89. package/dist/{Lightbox-DJXB22k0.js → Lightbox-FWtAn7X5.js} +1 -1
  90. package/dist/Link/index.d.ts +1 -1
  91. package/dist/Link/index.js +1 -1
  92. package/dist/{Link-eXwB0Hjg.js → Link-BxK3lbA-.js} +1 -1
  93. package/dist/List/index.d.ts +1 -1
  94. package/dist/List/index.js +2 -2
  95. package/dist/{ListItem-C5B8uYyn.js → ListItem-B4jt3EXr.js} +3 -3
  96. package/dist/Markdown/index.js +1 -1
  97. package/dist/{Markdown-COub2yng.js → Markdown-CsoseOGe.js} +2 -2
  98. package/dist/MobileNav/index.js +1 -1
  99. package/dist/{MobileNavToggle-DI5yDKfp.js → MobileNavToggle-AgT6hzTg.js} +1 -1
  100. package/dist/MoreMenu/index.d.ts +1 -1
  101. package/dist/MoreMenu/index.js +1 -1
  102. package/dist/{MoreMenu-C7gie2PE.js → MoreMenu-4zcxptan.js} +5 -5
  103. package/dist/MultiSelector/index.d.ts +1 -1
  104. package/dist/MultiSelector/index.js +1 -1
  105. package/dist/{MultiSelector-CnGUU8P3.js → MultiSelector-LuAE71wE.js} +4 -4
  106. package/dist/NavItem/index.d.ts +1 -1
  107. package/dist/NavItem/index.js +1 -1
  108. package/dist/{NavItem-Cciu9aok.js → NavItem-mcmzIshL.js} +1 -1
  109. package/dist/NavMenu/index.js +2 -2
  110. package/dist/{NavMenu--iyy_m84.js → NavMenu-Bp35Bk7_.js} +1 -1
  111. package/dist/{NavMenuItem-BmAm-Cv8.js → NavMenuItem-DviXkleh.js} +2 -2
  112. package/dist/NumberInput/index.d.ts +1 -1
  113. package/dist/NumberInput/index.js +1 -1
  114. package/dist/{NumberInput-CD9sHbON.js → NumberInput-CxzhFPQw.js} +3 -3
  115. package/dist/Outline/index.js +1 -1
  116. package/dist/{Outline-vieAJS2J.js → Outline-KpA-ffCT.js} +1 -1
  117. package/dist/OverflowList/index.d.ts +1 -1
  118. package/dist/OverflowList/index.js +1 -1
  119. package/dist/{OverflowList-YLVHypB3.js → OverflowList-DRZxrAYq.js} +1 -1
  120. package/dist/Overlay/index.d.ts +1 -1
  121. package/dist/Pagination/index.d.ts +1 -1
  122. package/dist/Pagination/index.js +1 -1
  123. package/dist/{Pagination-Bnkp4oAA.js → Pagination-B3JMAlnl.js} +2 -2
  124. package/dist/{PanGestureRecognizer-CzIWpazn.js → PanGestureRecognizer-R5y8LZ9h.js} +1 -1
  125. package/dist/Popover/index.d.ts +1 -1
  126. package/dist/Popover/index.js +1 -1
  127. package/dist/{Popover-CYJ1z_7L.js → Popover-CQr95J2s.js} +4 -4
  128. package/dist/PowerSearch/index.d.ts +1 -1
  129. package/dist/PowerSearch/index.js +1 -1
  130. package/dist/{PowerSearch-DEpXEmgs.js → PowerSearch-BEaqgsZa.js} +18 -18
  131. package/dist/{PressTracker-L5-Ark_9.js → PressTracker-Dze87pxw.js} +2 -2
  132. package/dist/ProgressBar/index.d.ts +1 -1
  133. package/dist/Radio/index.d.ts +1 -1
  134. package/dist/Radio/index.js +1 -1
  135. package/dist/{RadioGroup-BdO-xZv0.js → RadioGroup-CpMYh9eL.js} +8 -5
  136. package/dist/RadioList/index.d.ts +1 -1
  137. package/dist/RadioList/index.js +1 -1
  138. package/dist/{RadioListItem-DzGPuWTt.js → RadioListItem-n-h5r1GO.js} +1 -1
  139. package/dist/Resizable/index.d.ts +1 -1
  140. package/dist/Resizable/index.js +1 -1
  141. package/dist/{ResizeHandle-Dcel1HkU.js → ResizeHandle-J9-dAMuo.js} +1 -1
  142. package/dist/ScrollableArea/index.d.ts +1 -1
  143. package/dist/SegmentedControl/index.js +1 -1
  144. package/dist/SegmentedControl-nz9d6e0y.js +1465 -0
  145. package/dist/SelectableCard/index.d.ts +1 -1
  146. package/dist/SelectableCard/index.js +1 -1
  147. package/dist/{SelectableCard-BZTF6qw-.js → SelectableCard-C018jluo.js} +1 -1
  148. package/dist/Selector/index.d.ts +1 -1
  149. package/dist/Selector/index.js +1 -1
  150. package/dist/{Selector-SkwSbf4j.js → Selector-CW1jaM4F.js} +2 -2
  151. package/dist/SideNav/index.d.ts +1 -1
  152. package/dist/SideNav/index.js +2 -2
  153. package/dist/{SideNav-BxJfJU95.js → SideNav-DgRpBPuP.js} +6 -6
  154. package/dist/Slider/index.js +1 -1
  155. package/dist/{Slider-ORmi7QJ7.js → Slider-Bz72itTP.js} +6 -5
  156. package/dist/Stack/index.d.ts +1 -1
  157. package/dist/Stepper/index.d.ts +1 -1
  158. package/dist/Stepper/index.js +1 -1
  159. package/dist/{Stepper-C4-wtxn4.js → Stepper-Af_rH8C4.js} +1 -1
  160. package/dist/Switch/index.d.ts +1 -1
  161. package/dist/Switch/index.js +1 -1
  162. package/dist/{Switch-Cw1UKVjQ.js → Switch-BYsb1gKn.js} +11 -82
  163. package/dist/TabList/index.d.ts +1 -1
  164. package/dist/TabList/index.js +1 -1
  165. package/dist/{TabList-DNDe2ipJ.js → TabList-Cgw2IuL-.js} +2 -2
  166. package/dist/Table/index.d.ts +1 -1
  167. package/dist/Table/index.js +1 -1
  168. package/dist/{Table-CqppyRk8.js → Table-DzE-4_og.js} +11 -11
  169. package/dist/TextArea/index.d.ts +1 -1
  170. package/dist/TextArea/index.js +1 -1
  171. package/dist/{TextArea-I3ghDb9r.js → TextArea-DrYMTaZm.js} +4 -4
  172. package/dist/TextInput/index.d.ts +1 -1
  173. package/dist/TextInput/index.js +1 -1
  174. package/dist/{TextInput-Xz_ibpOl.js → TextInput-B-1cuwcB.js} +4 -4
  175. package/dist/Thumbnail/index.js +1 -1
  176. package/dist/{Thumbnail-bS62Tr_f.js → Thumbnail-DeMaRkDU.js} +2 -2
  177. package/dist/{TimeField-Bsb8n22d.js → TimeField-C1Nv-fz3.js} +1 -1
  178. package/dist/TimeInput/index.d.ts +1 -1
  179. package/dist/TimeInput/index.js +1 -1
  180. package/dist/{TimeInput-D40_6GrX.js → TimeInput-Dvh6qqHI.js} +2 -2
  181. package/dist/Timestamp/index.d.ts +1 -1
  182. package/dist/Timestamp/index.js +1 -1
  183. package/dist/{Timestamp-Bt9ZR975.js → Timestamp-wFkl39dn.js} +1 -1
  184. package/dist/Toast/index.js +1 -1
  185. package/dist/{Toast-BQxfIeVU.js → Toast-CO6Z1r1s.js} +3 -3
  186. package/dist/ToggleButton/index.d.ts +1 -1
  187. package/dist/ToggleButton/index.js +1 -1
  188. package/dist/{ToggleButton-IFhFMpQh.js → ToggleButton-DPpjDYxP.js} +3 -3
  189. package/dist/Token/index.js +1 -1
  190. package/dist/{Token-CpmqfG4i.js → Token-DZkUAIYA.js} +1 -1
  191. package/dist/Tokenizer/index.d.ts +1 -1
  192. package/dist/Tokenizer/index.js +1 -1
  193. package/dist/{Tokenizer-Dvr7ICpS.js → Tokenizer-CX7D4klL.js} +7 -7
  194. package/dist/Toolbar/index.d.ts +1 -1
  195. package/dist/Tooltip/index.d.ts +1 -1
  196. package/dist/TopNav/index.d.ts +1 -1
  197. package/dist/TopNav/index.js +1 -1
  198. package/dist/{TopNav-Cw_dcKpf.js → TopNav-D8Hc_kQ-.js} +3 -3
  199. package/dist/TreeList/index.d.ts +1 -1
  200. package/dist/TreeList/index.js +1 -1
  201. package/dist/{TreeList-CBfKKbUQ.js → TreeList-lNyuRBOk.js} +4 -4
  202. package/dist/Typeahead/index.js +1 -1
  203. package/dist/{Typeahead-D9-WjsCU.js → Typeahead-BiosTaFo.js} +3 -3
  204. package/dist/{accessibleName-Cw9s1690.js → accessibleName-f5xApbXG.js} +2 -2
  205. package/dist/{assertOptions-V_jJxpn9.js → assertOptions-Byu4Yqfg.js} +1 -1
  206. package/dist/boxHold-YML2o6iP.js +170 -0
  207. package/dist/browserClickWait-DIj9tkLa.js +77 -0
  208. package/dist/{coarsePointer-DGnAPIcU.js → coarsePointer-BWNSUIY8.js} +2 -32
  209. package/dist/composables/index.js +6 -6
  210. package/dist/{composables-BJoAw6XA.js → composables-CPDafrux.js} +3 -2
  211. package/dist/{context-WDet15_N.js → context-C1MPE6J5.js} +1 -1
  212. package/dist/{geometry-CoQRz-F1.js → geometry-CGa3nNzZ.js} +6 -131
  213. package/dist/{holdEntranceInput-BsusS3bM.js → holdEntranceInput-C8B_DYYs.js} +1 -1
  214. package/dist/{index--kbwaSXW.d.ts → index-B6GTqpW-.d.ts} +3 -3
  215. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  216. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  217. package/dist/{index-CY0KtUSC.d.ts → index-BdICULsZ.d.ts} +85 -85
  218. package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
  219. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  220. package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
  221. package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
  222. package/dist/{index-mK1ICsVg.d.ts → index-C9uW39Mj.d.ts} +3 -3
  223. package/dist/{index-JE1HrzdJ.d.ts → index-CUuUoX3h.d.ts} +3 -3
  224. package/dist/{index-Bwh8O-v8.d.ts → index-CZ29Xu_E.d.ts} +1 -1
  225. package/dist/{index-V6uruC4Z.d.ts → index-CpkQlo1t.d.ts} +2 -2
  226. package/dist/{index-D1JOMiI5.d.ts → index-CukA-J8A.d.ts} +7 -7
  227. package/dist/{index-BqQlY3fL.d.ts → index-DN5Ga_Zm.d.ts} +3 -3
  228. package/dist/{index-DPhQZXYw.d.ts → index-DYabo8TI.d.ts} +1 -1
  229. package/dist/{index-DuxRUPMc.d.ts → index-DhrnMYVh.d.ts} +1 -1
  230. package/dist/{index-GyRgg1-v.d.ts → index-DlsrR4Gm.d.ts} +7 -7
  231. package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
  232. package/dist/{index-BI1QLuYB.d.ts → index-ZXrvTM3A.d.ts} +3 -3
  233. package/dist/{index-CbA8rR_b.d.ts → index-a_FOKJMw.d.ts} +2 -2
  234. package/dist/{index-COgrQZIL.d.ts → index-jz9GfvS0.d.ts} +2 -2
  235. package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
  236. package/dist/{index-Pad9p8CU.d.ts → index-tdOyqA_U.d.ts} +2 -2
  237. package/dist/index.d.ts +23 -23
  238. package/dist/index.js +83 -83
  239. package/dist/{landing-Qk_FHR-s.js → landing-BW6qLvC8.js} +1 -1
  240. package/dist/{presentationHold-CZsVmjlY.js → presentationHold-ZKixVLcz.js} +1 -1
  241. package/dist/pressClaim-DvdlIn4w.js +24 -0
  242. package/dist/{pressFeedback-9ogipvI4.js → pressFeedback--_INTed0.js} +45 -5
  243. package/dist/{reportChange-BUTgduu-.js → reportChange-DwOfucSf.js} +1 -1
  244. package/dist/{resizableChannel-_j_AW2B6.js → resizableChannel-BnwrR5tr.js} +2 -2
  245. package/dist/selectionLock-BrUpRS0E.js +130 -0
  246. package/dist/{themeTiming-ClYaZxGf.js → themeTiming-BJziEh4O.js} +1 -1
  247. package/dist/touchQueries-xy5IeZfe.js +32 -0
  248. package/dist/{useActionGroupTracking-ByLJoM-8.js → useActionGroupTracking-BTjuGF9J.js} +2 -2
  249. package/dist/{useAnimatedLayout-IcX0UfS4.js → useAnimatedLayout-CRAuCwTZ.js} +1 -1
  250. package/dist/{useHeldPresentation-DJEthuMT.js → useHeldPresentation-CaIKTwUh.js} +1 -1
  251. package/dist/{useInputStatusIcon-D0q4S1Ye.js → useInputStatusIcon-Bl2JFlc3.js} +1 -1
  252. package/dist/{useMenuEntranceHold-B7f9ShX2.js → useMenuEntranceHold-C-kHicUN.js} +1 -1
  253. package/dist/{useMenuPress-cBIQyTsN.js → useMenuPress-CF1GHP_7.js} +3 -1
  254. package/dist/{usePressFeedback-Dx-a3i82.js → usePressFeedback-B_NavJu0.js} +1 -1
  255. package/dist/{useResizable-JvgYydox.js → useResizable-I0APFcMz.js} +1 -1
  256. package/dist/{useTouchHitArea-BGkvMAyp.js → useTouchHitArea-BpEJXuu-.js} +1 -1
  257. package/package.json +1 -1
  258. package/styles/segmented-control.css +20 -11
  259. package/dist/SegmentedControl-BURyE9XU.js +0 -416
@@ -1,7 +1,7 @@
1
- import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-BGkvMAyp.js";
2
- import { t as useActionGroupTracking } from "./useActionGroupTracking-ByLJoM-8.js";
1
+ import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-BpEJXuu-.js";
2
+ import { t as useActionGroupTracking } from "./useActionGroupTracking-BTjuGF9J.js";
3
3
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
4
- import { t as _sfc_main$2 } from "./Button-X-Q_ghg8.js";
4
+ import { t as _sfc_main$2 } from "./Button-B7PvGVt6.js";
5
5
  import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
6
6
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
7
7
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
@@ -1,3 +1,3 @@
1
- import { t as _sfc_main } from "../Token-CpmqfG4i.js";
1
+ import { t as _sfc_main } from "../Token-DZkUAIYA.js";
2
2
  import { t as TOKEN_COLORS } from "../Token-BdRzlXzm.js";
3
3
  export { TOKEN_COLORS, _sfc_main as Token };
@@ -1,4 +1,4 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dx-a3i82.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-B_NavJu0.js";
2
2
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
3
3
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
4
4
  import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
@@ -1,2 +1,2 @@
1
- import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-BqQlY3fL.js";
1
+ import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-DN5Ga_Zm.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerPresentation, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Tokenizer-Dvr7ICpS.js";
1
+ import { t as _sfc_main } from "../Tokenizer-CX7D4klL.js";
2
2
  export { _sfc_main as Tokenizer };
@@ -1,6 +1,6 @@
1
1
  import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
2
2
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
3
- import { t as _sfc_main$5 } from "./Button-X-Q_ghg8.js";
3
+ import { t as _sfc_main$5 } from "./Button-B7PvGVt6.js";
4
4
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
5
5
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
6
6
  import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
@@ -8,28 +8,28 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
8
8
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
9
9
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
10
10
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
11
- import { t as useInputStatusIcon } from "./useInputStatusIcon-D0q4S1Ye.js";
11
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-Bl2JFlc3.js";
12
12
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
13
13
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
14
14
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
15
- import { t as _sfc_main$7 } from "./Dialog-BM5VEE8z.js";
15
+ import { t as _sfc_main$7 } from "./Dialog-B1xC9xMC.js";
16
16
  import { t as _sfc_main$8 } from "./Heading-D94VFJtm.js";
17
17
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
18
18
  import { t as _sfc_main$9 } from "./Stack-DPB-Ztf7.js";
19
19
  import { t as _sfc_main$10 } from "./Text-kwsIut3C.js";
20
20
  import { t as _sfc_main$11 } from "./CheckboxIndicator-fH4d-JE1.js";
21
- import { t as useHeldPresentation } from "./useHeldPresentation-DJEthuMT.js";
21
+ import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
22
22
  import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-Bg5E8lr3.js";
23
23
  import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
24
24
  import { n as spinnerOwnerKey, t as _sfc_main$12 } from "./Spinner-D1adu3uH.js";
25
- import { t as _sfc_main$13 } from "./Field-B1fsgAqp.js";
25
+ import { t as _sfc_main$13 } from "./Field-KszpxUdx.js";
26
26
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
27
27
  import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
28
28
  import { t as _sfc_main$14 } from "./EmptyState-BAP8BpDj.js";
29
- import { t as _sfc_main$15 } from "./Token-CpmqfG4i.js";
29
+ import { t as _sfc_main$15 } from "./Token-DZkUAIYA.js";
30
30
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BvCX7ddI.js";
31
31
  import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-COiZ4isy.js";
32
- import { t as _sfc_main$17 } from "./TextInput-Xz_ibpOl.js";
32
+ import { t as _sfc_main$17 } from "./TextInput-B-1cuwcB.js";
33
33
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
34
34
  import "../styles/layer.css";
35
35
  import "../styles/alert-dialog.css";
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-CY0KtUSC.js";
1
+ import { T as _default } from "../index-BdICULsZ.js";
2
2
  import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CKDaU_se.js";
3
3
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DPhQZXYw.js";
1
+ import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DYabo8TI.js";
2
2
  export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
@@ -1,2 +1,2 @@
1
- import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-CY0KtUSC.js";
1
+ import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-BdICULsZ.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
@@ -1,2 +1,2 @@
1
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-Cw_dcKpf.js";
1
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-D8Hc_kQ-.js";
2
2
  export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
@@ -7,13 +7,13 @@ import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
7
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
8
8
  import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
9
9
  import { t as navMessages } from "./nav-DpKQUHqR.js";
10
- import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-DI5yDKfp.js";
10
+ import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-AgT6hzTg.js";
11
11
  import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
12
12
  import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
13
13
  import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
14
- import { t as _sfc_main$12 } from "./NavItem-Cciu9aok.js";
14
+ import { t as _sfc_main$12 } from "./NavItem-mcmzIshL.js";
15
15
  import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-CSnUZY3k.js";
16
- import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BmAm-Cv8.js";
16
+ import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-DviXkleh.js";
17
17
  import { t as _sfc_main$16 } from "./NavHeadingSurface-C3fTf5--.js";
18
18
  import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
19
19
  import "../styles/top-nav.css";
@@ -1,2 +1,2 @@
1
- import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-CKnr0JlT.js";
1
+ import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-C4S65SAW.js";
2
2
  export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
@@ -1,2 +1,2 @@
1
- import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CBfKKbUQ.js";
1
+ import { n as useTreeFocus, t as _sfc_main } from "../TreeList-lNyuRBOk.js";
2
2
  export { _sfc_main as TreeList, useTreeFocus };
@@ -1,12 +1,12 @@
1
1
  import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
2
- import { t as usePressFeedback } from "./usePressFeedback-Dx-a3i82.js";
2
+ import { t as usePressFeedback } from "./usePressFeedback-B_NavJu0.js";
3
3
  import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
4
4
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
5
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
6
6
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
7
- import { o as releaseLayoutExit, r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-BUTgduu-.js";
8
- import { t as applyLayoutChangeTransition } from "./landing-Qk_FHR-s.js";
9
- import { t as useAnimatedLayout } from "./useAnimatedLayout-IcX0UfS4.js";
7
+ import { o as releaseLayoutExit, r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-DwOfucSf.js";
8
+ import { t as applyLayoutChangeTransition } from "./landing-BW6qLvC8.js";
9
+ import { t as useAnimatedLayout } from "./useAnimatedLayout-CRAuCwTZ.js";
10
10
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
11
11
  import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
12
12
  import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
@@ -1,3 +1,3 @@
1
1
  import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-COiZ4isy.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-D9-WjsCU.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BiosTaFo.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -4,16 +4,16 @@ import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
4
4
  import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
5
5
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
6
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
7
- import { t as useInputStatusIcon } from "./useInputStatusIcon-D0q4S1Ye.js";
7
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-Bl2JFlc3.js";
8
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
9
9
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
11
  import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
12
12
  import { t as _sfc_main$4 } from "./Spinner-D1adu3uH.js";
13
- import { t as _sfc_main$5 } from "./Field-B1fsgAqp.js";
13
+ import { t as _sfc_main$5 } from "./Field-KszpxUdx.js";
14
14
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
15
15
  import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
16
- import { t as _sfc_main$6 } from "./Token-CpmqfG4i.js";
16
+ import { t as _sfc_main$6 } from "./Token-DZkUAIYA.js";
17
17
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BvCX7ddI.js";
18
18
  import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-COiZ4isy.js";
19
19
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
@@ -3,10 +3,10 @@ import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
3
3
  import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
4
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
5
5
  import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
6
- import { t as _sfc_main$5 } from "./Item-DbalBZXc.js";
6
+ import { t as _sfc_main$5 } from "./Item-D62Cibn1.js";
7
7
  import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
8
8
  import { r as useCompactDefinition } from "./compactDefinition-BeFUKEFg.js";
9
- import { r as readCompactTouch } from "./presentationHold-CZsVmjlY.js";
9
+ import { r as readCompactTouch } from "./presentationHold-ZKixVLcz.js";
10
10
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
11
11
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useModel, useSlots, watch, withCtx } from "vue";
12
12
  import "../styles/dropdown-menu.css";
@@ -2,7 +2,7 @@ import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
2
  import { r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
3
3
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
4
4
  import { n as focusElement } from "./focus-x7mxEqjR.js";
5
- import { t as useHeldPresentation } from "./useHeldPresentation-DJEthuMT.js";
5
+ import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
6
6
  import { computed, nextTick, onScopeDispose, ref, watch } from "vue";
7
7
  //#region src/Selector/selectorEscape.ts
8
8
  /** 弹出层关掉后,焦点回到触发按钮,而不是掉到 body。 */
@@ -0,0 +1,170 @@
1
+ import { n as installBoxHold } from "./pressFeedback--_INTed0.js";
2
+ import { t as armClickGuard } from "./clickGuard-CxqcfBCJ.js";
3
+ import { i as subscribeInput } from "./inputStream-HXw2lZ-3.js";
4
+ import { n as lockSelection } from "./selectionLock-BrUpRS0E.js";
5
+ import { n as watchPressClaims } from "./pressClaim-DvdlIn4w.js";
6
+ import { n as clickForLift, t as awaitBrowserClick } from "./browserClickWait-DIj9tkLa.js";
7
+ //#region src/composables/internal/pressBox.ts
8
+ /**
9
+ * @file pressBox.ts
10
+ * @input A control's box: the non-text part around its input and indicator
11
+ * @output PRESS_BOX_ATTRIBUTE and pressBoxProps, which mark the box;
12
+ * pressBoxAt, which finds the marked box a press starts in; and boxInput,
13
+ * the input a box activates
14
+ * @position Owner of the private press-box attribute. CheckboxInput and
15
+ * Radio mark their boxes; utils/boxHold.ts reads the mark. No package
16
+ * entry exports it.
17
+ */
18
+ const PRESS_BOX_ATTRIBUTE = "data-astryx-press-box";
19
+ /** Bound on the box around a control's input and indicator. */
20
+ const pressBoxProps = { [PRESS_BOX_ATTRIBUTE]: "" };
21
+ /** The marked box that `target` is in, if `surface` contains it. */
22
+ function pressBoxAt(target, surface) {
23
+ if (!(target instanceof Element)) return null;
24
+ const box = target.closest(`[${PRESS_BOX_ATTRIBUTE}]`);
25
+ return box instanceof HTMLElement && surface.contains(box) ? box : null;
26
+ }
27
+ /**
28
+ * The input `box` activates: the one inside it, else the one its label row
29
+ * controls (a radio's circle sits beside its visually hidden input).
30
+ */
31
+ function boxInput(box) {
32
+ const inside = box.querySelector("input");
33
+ if (inside != null) return inside;
34
+ const label = box.closest("label");
35
+ const control = label?.control ?? (label?.htmlFor ? box.ownerDocument.getElementById(label.htmlFor) : null);
36
+ return control instanceof HTMLInputElement ? control : null;
37
+ }
38
+ //#endregion
39
+ //#region src/utils/boxHold.ts
40
+ /**
41
+ * @file boxHold.ts
42
+ * @input A finger's or a pen's contact that the shared press controller
43
+ * (composables/internal/pressFeedback.ts) follows, and the marked box it
44
+ * starts on. A long press that fires claims the contact (pressClaim.ts). A
45
+ * contextmenu that a handler cancels stops its stand-in click.
46
+ * @output registerBoxHold, which installs the box hold into the controller
47
+ * @position CheckboxInput and Radio call registerBoxHold and mark their boxes
48
+ * with pressBoxProps. Builds on selectionLock.ts, browserClickWait.ts and
49
+ * clickGuard.ts.
50
+ *
51
+ * iOS answers a finger held on a checkbox's or a radio's box with a text
52
+ * selection and no click, so the hold toggled nothing. Here a held box
53
+ * selects no text, and its lift activates the control as a tap does:
54
+ * - For each finger or pen contact on a marked box, braking ones included,
55
+ * the box and the row it presses refuse a selection until the contact
56
+ * lifts. A lock on the box alone let iOS select a word beside it.
57
+ * - A tap keeps its native click, focus and events. After a still long
58
+ * press the lift waits for the browser's own click, and the control clicks
59
+ * its input only when none comes (Chromium's long press sends none). Each
60
+ * box keeps its own wait.
61
+ * - Travel, a scroll, a cancel or a second finger activates nothing, and
62
+ * neither does a lift whose touchend a handler cancelled, nor a hold whose
63
+ * contextmenu a handler cancelled to open a menu.
64
+ * - A hold whose long press acted (a context menu's, a row's own) gets no
65
+ * click at all: the shared click guard cancels the touchend and eats any
66
+ * click.
67
+ */
68
+ /** The wait for the browser's click after a box's still lift, per box. */
69
+ const waits = /* @__PURE__ */ new Map();
70
+ function now() {
71
+ return typeof performance === "undefined" ? Date.now() : performance.now();
72
+ }
73
+ /**
74
+ * Starts the hold of a contact on a marked box in `surface`. The box and the
75
+ * surface refuse a selection until the contact ends. Returns the call for the
76
+ * contact's end, or null when the contact is not on a box.
77
+ */
78
+ function holdBox(surface, target) {
79
+ const box = pressBoxAt(target, surface);
80
+ if (box == null) return null;
81
+ const release = lockSelection([surface, box], target);
82
+ const startedAt = now();
83
+ const view = box.ownerDocument.defaultView;
84
+ let isClaimed = false;
85
+ const stopWatching = watchPressClaims(() => {
86
+ isClaimed = true;
87
+ });
88
+ const menus = [];
89
+ const stopMenus = view == null ? () => {} : subscribeInput(view, "contextmenu", (event) => {
90
+ menus.push(event);
91
+ });
92
+ const openedMenu = () => menus.some((event) => event.defaultPrevented);
93
+ return (isStillLift) => {
94
+ release();
95
+ stopWatching();
96
+ if (isClaimed) {
97
+ if (isStillLift) armClickGuard(box.ownerDocument, { cancelsTouchEnd: true });
98
+ stopMenus();
99
+ return;
100
+ }
101
+ if (!isStillLift || now() - startedAt < 500 || openedMenu()) {
102
+ stopMenus();
103
+ return;
104
+ }
105
+ waitForClick(box, openedMenu, stopMenus);
106
+ };
107
+ }
108
+ /**
109
+ * A still lift waits for the browser's own click, and the control clicks its
110
+ * input only if none comes. Nothing clicks for a lift that another element
111
+ * took (its handler cancelled the touchend), nor once a handler cancels the
112
+ * hold's contextmenu.
113
+ */
114
+ function waitForClick(box, openedMenu, stopMenus) {
115
+ waits.get(box)?.();
116
+ const view = box.ownerDocument.defaultView;
117
+ if (view == null) {
118
+ stopMenus();
119
+ return;
120
+ }
121
+ let lift = null;
122
+ const stopLift = subscribeInput(view, "touchend", (event) => {
123
+ lift ??= event;
124
+ });
125
+ const stopListening = [
126
+ stopLift,
127
+ subscribeInput(view, "pointerdown", () => {
128
+ stopLift();
129
+ stopMenus();
130
+ }),
131
+ stopMenus
132
+ ];
133
+ let stopWaiting = null;
134
+ const end = () => {
135
+ for (const stop of stopListening) stop();
136
+ stopWaiting?.();
137
+ stopWaiting = null;
138
+ if (waits.get(box) === end) waits.delete(box);
139
+ };
140
+ waits.set(box, end);
141
+ stopWaiting = awaitBrowserClick(box, {
142
+ onClicked: () => {
143
+ stopWaiting = null;
144
+ end();
145
+ },
146
+ onNoClick: () => {
147
+ stopWaiting = null;
148
+ end();
149
+ if (lift?.defaultPrevented === true || openedMenu()) return;
150
+ const input = boxInput(box);
151
+ if (input != null && input.isConnected) clickForLift(input);
152
+ }
153
+ });
154
+ }
155
+ /** Ends every wait still running: the controller is going away. */
156
+ function endBoxWaits() {
157
+ for (const end of [...waits.values()]) end();
158
+ }
159
+ /**
160
+ * Installs the box hold into the shared press controller. A box component
161
+ * calls it as it sets up, so a page with no box carries none of it.
162
+ */
163
+ function registerBoxHold() {
164
+ installBoxHold({
165
+ start: holdBox,
166
+ endWaits: endBoxWaits
167
+ });
168
+ }
169
+ //#endregion
170
+ export { pressBoxProps as n, registerBoxHold as t };
@@ -0,0 +1,77 @@
1
+ import { i as withoutClickGuard, t as armClickGuard } from "./clickGuard-CxqcfBCJ.js";
2
+ import { i as subscribeInput } from "./inputStream-HXw2lZ-3.js";
3
+ /**
4
+ * Waits for the browser's trusted click inside `target`. Reports it after its
5
+ * handlers ran (a task later), or that none came within the wait. Returns
6
+ * the function that ends the wait without a report.
7
+ */
8
+ function awaitBrowserClick(target, { onClicked, onNoClick }) {
9
+ const view = target.ownerDocument.defaultView;
10
+ if (view == null) {
11
+ let isEnded = false;
12
+ queueMicrotask(() => {
13
+ if (!isEnded) onNoClick();
14
+ });
15
+ return () => {
16
+ isEnded = true;
17
+ };
18
+ }
19
+ let isDone = false;
20
+ let report = null;
21
+ let timer = null;
22
+ let stopListening = null;
23
+ const stop = () => {
24
+ isDone = true;
25
+ stopListening?.();
26
+ stopListening = null;
27
+ if (timer != null) {
28
+ view.clearTimeout(timer);
29
+ timer = null;
30
+ }
31
+ };
32
+ stopListening = subscribeInput(view, "click", (event) => {
33
+ if (isDone || !event.isTrusted || !target.contains(event.target)) return;
34
+ stop();
35
+ report = view.setTimeout(() => {
36
+ report = null;
37
+ onClicked(event.defaultPrevented);
38
+ }, 0);
39
+ });
40
+ timer = view.setTimeout(() => {
41
+ if (isDone) return;
42
+ stop();
43
+ onNoClick();
44
+ }, 300);
45
+ return () => {
46
+ stop();
47
+ if (report != null) {
48
+ view.clearTimeout(report);
49
+ report = null;
50
+ }
51
+ };
52
+ }
53
+ /** Clicks `element` and reports whether a handler cancelled the click. */
54
+ function clickAndReport(element) {
55
+ const view = element.ownerDocument.defaultView;
56
+ let clicked = null;
57
+ const grab = (event) => {
58
+ if (clicked == null && event.target === element) clicked = event;
59
+ };
60
+ view?.addEventListener("click", grab, true);
61
+ try {
62
+ element.click();
63
+ } finally {
64
+ view?.removeEventListener("click", grab, true);
65
+ }
66
+ return clicked?.defaultPrevented === true;
67
+ }
68
+ /**
69
+ * A control's own click for a lift: the shared click guard swallows the
70
+ * browser's late click of the same lift, so the control toggles once.
71
+ */
72
+ function clickForLift(element) {
73
+ armClickGuard(element.ownerDocument);
74
+ return withoutClickGuard(() => clickAndReport(element));
75
+ }
76
+ //#endregion
77
+ export { clickForLift as n, awaitBrowserClick as t };
@@ -1,34 +1,4 @@
1
- //#region src/utils/touchQueries.ts
2
- /**
3
- * @file touchQueries.ts
4
- * @input Nothing: plain strings
5
- * @output TOUCH_QUERY, the media query for a coarse primary pointer; and
6
- * IOS_SUPPORTS_QUERY with isIosWebKit, the iOS WebKit engine check
7
- * @position The dependency-free half of touchPresentation.ts, for code that
8
- * must load without React or the theme: the motion foundation, which
9
- * Node-side specs and browser proofs load without a StyleX compile.
10
- * touchPresentation.ts re-exports it beside the hook and the parts that
11
- * read the theme.
12
- */
13
- /** The primary pointer is coarse: touch behaviours. */
14
- const TOUCH_QUERY = "(pointer: coarse)";
15
- /**
16
- * The engine is WebKit on iOS or iPadOS: the only one that implements
17
- * `-webkit-touch-callout`. For a style iOS WebKit requires, never a
18
- * behaviour; isIosWebKit reads it for an engine workaround a record names.
19
- */
20
- const IOS_SUPPORTS_QUERY = "(-webkit-touch-callout: none)";
21
- /**
22
- * Whether `view`'s engine is iOS WebKit, by IOS_SUPPORTS_QUERY. Only for an
23
- * engine workaround a record names (`spec:AST-013` FR6): the selection
24
- * lock's inline style, and the gesture host's presented hit testing. The
25
- * keyboard's rise and its scroll back from the blur read it too. False where
26
- * `CSS.supports` is missing (jsdom has `CSS.escape` only).
27
- */
28
- function isIosWebKit(view = globalThis) {
29
- return view?.CSS?.supports?.(IOS_SUPPORTS_QUERY) === true;
30
- }
31
- //#endregion
1
+ import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
32
2
  //#region src/utils/coarsePointer.ts
33
3
  /**
34
4
  * @file coarsePointer.ts
@@ -83,4 +53,4 @@ function watchCoarsePointer(view, listener) {
83
53
  return watchMediaQuery(view, TOUCH_QUERY, listener);
84
54
  }
85
55
  //#endregion
86
- export { TOUCH_QUERY as a, watchMediaQuery as i, matchesMediaQuery as n, isIosWebKit as o, watchCoarsePointer as r, isCoarsePointer as t };
56
+ export { watchMediaQuery as i, matchesMediaQuery as n, watchCoarsePointer as r, isCoarsePointer as t };
@@ -1,5 +1,5 @@
1
1
  import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
2
- import { t as usePressFeedback } from "../usePressFeedback-Dx-a3i82.js";
2
+ import { t as usePressFeedback } from "../usePressFeedback-B_NavJu0.js";
3
3
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-zwZQglr2.js";
4
4
  import { t as useDismiss } from "../useDismiss-6SGAlkB_.js";
5
5
  import { n as useLayer } from "../tooltipTriggerRules-CHNpQ6RL.js";
@@ -7,8 +7,8 @@ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
7
7
  import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
8
8
  import { t as characterCount } from "../characters-wTnzjkkR.js";
9
9
  import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
10
- import { _ as useAnimator, a as usePanGesture, b as createAnimator, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as createDragToSnapPoints, y as createPanGesture } from "../composables-BJoAw6XA.js";
11
- import { t as useAnimatedLayout } from "../useAnimatedLayout-IcX0UfS4.js";
10
+ import { _ as useAnimator, a as usePanGesture, b as createAnimator, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as createDragToSnapPoints, y as createPanGesture } from "../composables-CPDafrux.js";
11
+ import { t as useAnimatedLayout } from "../useAnimatedLayout-CRAuCwTZ.js";
12
12
  import { t as useAnnounce } from "../announce-GU01Oix2.js";
13
13
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
14
14
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
@@ -22,12 +22,12 @@ import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
23
23
  import { t as useFocusTrap } from "../useFocusTrap-DcjriBe1.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
- import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-JvgYydox.js";
25
+ import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-I0APFcMz.js";
26
26
  import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
- import { t as useInputStatusIcon } from "../useInputStatusIcon-D0q4S1Ye.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-Bl2JFlc3.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
29
  import { t as useListFocus } from "../useListFocus-Ccd_HU9T.js";
30
- import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-cBIQyTsN.js";
30
+ import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-CF1GHP_7.js";
31
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
32
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
33
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
@@ -8,8 +8,9 @@ import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-ozeBZ
8
8
  import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
9
9
  import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
10
10
  import { a as registerSpringsTable, o as springs } from "./springs-DjAn_oV5.js";
11
- import { a as lockSelection, i as getGestureHost, l as MANIPULATION, o as locksSelectionFor, r as travel, u as isActive } from "./geometry-CoQRz-F1.js";
12
- import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-CzIWpazn.js";
11
+ import { c as isActive, i as getGestureHost, r as travel, s as MANIPULATION } from "./geometry-CGa3nNzZ.js";
12
+ import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-R5y8LZ9h.js";
13
+ import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-BrUpRS0E.js";
13
14
  import { t as resolveSnapPoint } from "./resolveSnapPoint-A4dhS5jj.js";
14
15
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
15
16
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
@@ -1,4 +1,4 @@
1
- import { A as glides, C as safeAnimate, _ as layoutMotion, c as areaOf, h as changeStartIn, u as readArea, v as sampleKeyframes, x as beginChange, y as sampleOver } from "./reportChange-BUTgduu-.js";
1
+ import { A as glides, C as safeAnimate, _ as layoutMotion, c as areaOf, h as changeStartIn, u as readArea, v as sampleKeyframes, x as beginChange, y as sampleOver } from "./reportChange-DwOfucSf.js";
2
2
  import { c as paintedBackground, i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy-VAsg2a46.js";
3
3
  import { computed, inject, ref } from "vue";
4
4
  //#region src/motion/layout/swap.ts