@astryx-vue/core 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-DXOTr1D7.js → AlertDialog-Cub9_aPC.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-Cmu6bMY6.js → AppShell-D62A7lqZ.js} +5 -5
  5. package/dist/Avatar/index.js +1 -1
  6. package/dist/{Avatar-dMcn3j8Z.js → Avatar-BKoSK75s.js} +1 -1
  7. package/dist/AvatarGroup/index.d.ts +1 -1
  8. package/dist/AvatarGroup/index.js +1 -1
  9. package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
  10. package/dist/Banner/index.d.ts +1 -1
  11. package/dist/Banner/index.js +1 -1
  12. package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
  13. package/dist/BottomSheet/index.d.ts +1 -1
  14. package/dist/BottomSheet/index.js +2 -2
  15. package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-CpLYy3vb.js} +1 -1
  16. package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-DGhRZLw4.js} +108 -8
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/{Breadcrumbs-Nv-089W0.js → Breadcrumbs-D-nHDHV8.js} +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.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-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
  28. package/dist/Chat/index.d.ts +1 -1
  29. package/dist/Chat/index.js +1 -1
  30. package/dist/{Chat-DqYT_S9M.js → Chat-U1qq8gkF.js} +3 -3
  31. package/dist/CheckboxInput/index.d.ts +1 -1
  32. package/dist/CheckboxInput/index.js +1 -1
  33. package/dist/{CheckboxInput-FKfsoLcl.js → CheckboxInput-qm6lkjAw.js} +3 -3
  34. package/dist/CheckboxList/index.d.ts +1 -1
  35. package/dist/CheckboxList/index.js +1 -1
  36. package/dist/{CheckboxList-DuSVBtMk.js → CheckboxList-DuCKhJHJ.js} +5 -5
  37. package/dist/ClickableCard/index.d.ts +1 -1
  38. package/dist/ClickableCard/index.js +1 -1
  39. package/dist/{ClickableCard-dNmSVHBu.js → ClickableCard-CwGxO0GU.js} +1 -1
  40. package/dist/Code/index.js +1 -1
  41. package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
  42. package/dist/Collapsible/index.js +1 -1
  43. package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BmUloCSR.js} +3 -3
  44. package/dist/CommandPalette/index.js +1 -1
  45. package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-Cy7trpD3.js} +2 -2
  46. package/dist/ComplexSelector/index.js +1 -1
  47. package/dist/{ComplexSelector-C4CO8Fd2.js → ComplexSelector-DMBiVQWp.js} +2 -2
  48. package/dist/ContextMenu/index.d.ts +1 -1
  49. package/dist/ContextMenu/index.js +2 -2
  50. package/dist/{ContextMenu-SzsWZf18.js → ContextMenu-63ay7EE-.js} +13 -26
  51. package/dist/DateInput/index.d.ts +1 -1
  52. package/dist/DateInput/index.js +1 -1
  53. package/dist/{DateInput-D9Jv70H7.js → DateInput-B3Q91FDT.js} +3 -3
  54. package/dist/DateRangeInput/index.d.ts +1 -1
  55. package/dist/DateRangeInput/index.js +1 -1
  56. package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-B6Z66OsH.js} +3 -3
  57. package/dist/DateTimeInput/index.d.ts +1 -1
  58. package/dist/DateTimeInput/index.js +1 -1
  59. package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-B_7cn7ze.js} +5 -5
  60. package/dist/Dialog/index.d.ts +1 -1
  61. package/dist/Dialog/index.js +3 -3
  62. package/dist/{Dialog-JCB5s-T-.js → Dialog-C4FZ7p7Q.js} +10 -0
  63. package/dist/{Dialog-DUlWQH8R.js → Dialog-CBPD5b-S.js} +1 -1
  64. package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CQ3pnLYi.js} +2 -2
  65. package/dist/Drawer/index.d.ts +1 -1
  66. package/dist/Drawer/index.js +1 -1
  67. package/dist/{Drawer-BDuiw1-g.js → Drawer-BOwQLKm9.js} +2 -2
  68. package/dist/DropdownMenu/index.js +3 -3
  69. package/dist/{DropdownMenu-Der2x_k_.js → DropdownMenu-9CR9TiKG.js} +5 -5
  70. package/dist/{DropdownMenu-BhxKnh6D.js → DropdownMenu-DwIfoTnV.js} +18 -18
  71. package/dist/EmptyState/index.js +1 -1
  72. package/dist/{EmptyState-CnFkYtcS.js → EmptyState-BG5g2jwJ.js} +3 -3
  73. package/dist/Field/index.js +3 -3
  74. package/dist/{Field-D4UmRHlD.js → Field-eAowUUMX.js} +1 -1
  75. package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
  76. package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-CgYk-ORu.js} +1 -1
  77. package/dist/FileInput/index.d.ts +1 -1
  78. package/dist/FileInput/index.js +1 -1
  79. package/dist/{FileInput-8oYiJsq_.js → FileInput-B7zeePbM.js} +2 -2
  80. package/dist/Heading/index.d.ts +1 -1
  81. package/dist/Heading/index.js +1 -1
  82. package/dist/{Heading-COtyAhtB.js → Heading-B1dNZQtu.js} +1 -1
  83. package/dist/HoverCard/index.js +1 -1
  84. package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
  85. package/dist/IconButton/index.js +1 -1
  86. package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
  87. package/dist/InfoTip/index.d.ts +1 -1
  88. package/dist/InfoTip/index.js +1 -1
  89. package/dist/{InfoTip-CNZateDb.js → InfoTip-LJi9llxi.js} +2 -2
  90. package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
  91. package/dist/InputGroup/index.js +1 -1
  92. package/dist/{InputGroup-CfUGHDNz.js → InputGroup-B8PGJZKH.js} +1 -1
  93. package/dist/{Item-DyaYlbyE.js → Item-DUI1Qnnd.js} +1 -1
  94. package/dist/Lightbox/index.js +1 -1
  95. package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
  96. package/dist/Link/index.d.ts +1 -1
  97. package/dist/Link/index.js +1 -1
  98. package/dist/{Link-B7OJQ0zl.js → Link-B75ygGzG.js} +2 -2
  99. package/dist/List/index.d.ts +1 -1
  100. package/dist/List/index.js +2 -2
  101. package/dist/{ListItem-gj_lOvEt.js → ListItem-C8SqSrU6.js} +1 -1
  102. package/dist/Markdown/index.d.ts +1 -1
  103. package/dist/Markdown/index.js +1 -1
  104. package/dist/{Markdown-Cbj-nqhN.js → Markdown-Cqrcj-ct.js} +3 -3
  105. package/dist/MobileNav/index.js +1 -1
  106. package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-DLpEONfs.js} +12 -0
  107. package/dist/MoreMenu/index.d.ts +1 -1
  108. package/dist/MoreMenu/index.js +1 -1
  109. package/dist/{MoreMenu-Dokwc4Mg.js → MoreMenu-aR88r9xp.js} +17 -31
  110. package/dist/MultiSelector/index.d.ts +1 -1
  111. package/dist/MultiSelector/index.js +1 -1
  112. package/dist/{MultiSelector-CId8-qAX.js → MultiSelector-UTaDe-YT.js} +22 -23
  113. package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
  114. package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
  115. package/dist/NavItem/index.js +1 -1
  116. package/dist/{NavItem-_eIEwV41.js → NavItem-c1ScHEJY.js} +1 -1
  117. package/dist/NavMenu/index.js +3 -3
  118. package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-DS6y8ZAY.js} +2 -2
  119. package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BqIi3o3D.js} +3 -3
  120. package/dist/NumberInput/index.d.ts +1 -1
  121. package/dist/NumberInput/index.js +1 -1
  122. package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-ClkOGF5j.js} +3 -3
  123. package/dist/Outline/index.js +1 -1
  124. package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
  125. package/dist/OverflowList/index.d.ts +1 -1
  126. package/dist/OverflowList/index.js +1 -1
  127. package/dist/{OverflowList-CumJl6X_.js → OverflowList-UnVXBDIW.js} +2 -2
  128. package/dist/Pagination/index.js +1 -1
  129. package/dist/{Pagination-C0Bx80Tu.js → Pagination-CTCLE02h.js} +1 -1
  130. package/dist/Popover/index.js +1 -1
  131. package/dist/{Popover-DpR4rwiW.js → Popover-CZvRSqqD.js} +3 -3
  132. package/dist/PowerSearch/index.d.ts +1 -1
  133. package/dist/PowerSearch/index.js +1 -1
  134. package/dist/{PowerSearch-Dq6Gi9z1.js → PowerSearch-BBOum0TP.js} +17 -17
  135. package/dist/ProgressBar/index.js +1 -1
  136. package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-Bgg6zsKR.js} +1 -1
  137. package/dist/Radio/index.d.ts +1 -1
  138. package/dist/Radio/index.js +1 -1
  139. package/dist/{RadioGroup-IKBXLzYU.js → RadioGroup-DPy5JQhm.js} +4 -4
  140. package/dist/RadioList/index.d.ts +1 -1
  141. package/dist/RadioList/index.js +1 -1
  142. package/dist/{RadioList-NW4fGKgm.js → RadioList-UN7IxQg8.js} +1 -1
  143. package/dist/ScrollableArea/index.d.ts +1 -1
  144. package/dist/SegmentedControl/index.js +1 -1
  145. package/dist/{SegmentedControl-DRxcUlVP.js → SegmentedControl-BkWz-I2J.js} +2 -2
  146. package/dist/SelectableCard/index.d.ts +1 -1
  147. package/dist/SelectableCard/index.js +1 -1
  148. package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
  149. package/dist/Selector/index.d.ts +1 -1
  150. package/dist/Selector/index.js +1 -1
  151. package/dist/{Selector-BW_oxWDM.js → Selector-CCtsUveZ.js} +27 -22
  152. package/dist/SideNav/index.d.ts +1 -1
  153. package/dist/SideNav/index.js +2 -2
  154. package/dist/{SideNav-B5mMRj98.js → SideNav-COl5ApOz.js} +9 -9
  155. package/dist/Slider/index.js +1 -1
  156. package/dist/{Slider-oD3AY4jh.js → Slider-CYie9hWm.js} +2 -2
  157. package/dist/StatusDot/index.js +1 -1
  158. package/dist/{StatusDot-B3oOyRF7.js → StatusDot-CHfgSYmv.js} +1 -1
  159. package/dist/Stepper/index.d.ts +1 -1
  160. package/dist/Stepper/index.js +1 -1
  161. package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
  162. package/dist/Switch/index.d.ts +1 -1
  163. package/dist/Switch/index.js +1 -1
  164. package/dist/{Switch-DG_A9cD0.js → Switch-D24CvhDS.js} +2 -2
  165. package/dist/TabList/index.js +1 -1
  166. package/dist/{TabList-FkoypUk0.js → TabList-DToCh5JW.js} +3 -3
  167. package/dist/Table/index.d.ts +1 -1
  168. package/dist/Table/index.js +1 -1
  169. package/dist/{Table-zNW23VwP.js → Table-D3mzxBr0.js} +13 -13
  170. package/dist/Text/index.d.ts +1 -1
  171. package/dist/Text/index.js +1 -1
  172. package/dist/{Text-v1ep26uD.js → Text-5p-eZodt.js} +1 -1
  173. package/dist/TextArea/index.d.ts +1 -1
  174. package/dist/TextArea/index.js +1 -1
  175. package/dist/{TextArea-BilHnmSs.js → TextArea-Bp6D-riO.js} +4 -4
  176. package/dist/TextInput/index.d.ts +1 -1
  177. package/dist/TextInput/index.js +1 -1
  178. package/dist/{TextInput-D6tHM2sA.js → TextInput-BYslwBDZ.js} +4 -4
  179. package/dist/Thumbnail/index.js +1 -1
  180. package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-B_a8tOS7.js} +3 -3
  181. package/dist/{TimeField-C5rcoaVu.js → TimeField-MDSJny9m.js} +3 -3
  182. package/dist/TimeInput/index.d.ts +1 -1
  183. package/dist/TimeInput/index.js +1 -1
  184. package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B19amuxi.js} +2 -2
  185. package/dist/Timer/index.d.ts +1 -1
  186. package/dist/Timer/index.js +1 -1
  187. package/dist/{Timer-65PfuoQ7.js → Timer-BD3tfzrF.js} +1 -1
  188. package/dist/Timestamp/index.d.ts +1 -1
  189. package/dist/Timestamp/index.js +1 -1
  190. package/dist/{Timestamp-rYC8mE3r.js → Timestamp-CqWoZUKM.js} +3 -3
  191. package/dist/Toast/index.js +1 -1
  192. package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
  193. package/dist/ToggleButton/index.d.ts +1 -1
  194. package/dist/ToggleButton/index.js +1 -1
  195. package/dist/{ToggleButton-Bnn_MiOn.js → ToggleButton-DfpsuhMa.js} +3 -3
  196. package/dist/Token/index.d.ts +1 -1
  197. package/dist/Token/index.js +1 -1
  198. package/dist/{Token-B-j3AKxB.js → Token-C7Dt5ygK.js} +1 -1
  199. package/dist/Tokenizer/index.js +1 -1
  200. package/dist/{Tokenizer-Cpdy_L00.js → Tokenizer-C-eorFsF.js} +5 -5
  201. package/dist/Toolbar/index.d.ts +1 -1
  202. package/dist/Tooltip/index.js +2 -2
  203. package/dist/{Tooltip-CByjfHBZ.js → Tooltip-88zhGfzF.js} +1 -1
  204. package/dist/TopNav/index.d.ts +1 -1
  205. package/dist/TopNav/index.js +1 -1
  206. package/dist/{TopNav-q8xDVlM_.js → TopNav-DMFIsFwy.js} +5 -5
  207. package/dist/TreeList/index.js +1 -1
  208. package/dist/{TreeList-CEGInQtF.js → TreeList-nU2gSmQm.js} +3 -3
  209. package/dist/Typeahead/index.js +2 -2
  210. package/dist/{Typeahead-C-PdRnRQ.js → Typeahead-DUQfmy_r.js} +5 -5
  211. package/dist/{assertOptions-og3t30Fh.js → assertOptions-DVRsfCk1.js} +22 -2
  212. package/dist/{batch-oTkSbtVz.js → batch-DR5SgbnX.js} +2 -2
  213. package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
  214. package/dist/coarsePointer-BfMx3H23.js +86 -0
  215. package/dist/composables/index.js +6 -6
  216. package/dist/{composables-COCeg92e.js → composables-Do86VAmM.js} +7 -110
  217. package/dist/{context-DQPBIsl5.js → context-WY1ippwe.js} +2 -2
  218. package/dist/{edge-3sC8-cbB.js → edge-qfeek_VV.js} +1 -1
  219. package/dist/{edgeRide-DOxmVxTM.js → edgeRide-iWUNdlxe.js} +4 -4
  220. package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
  221. package/dist/{handle-CSHfxBie.js → handle-ma1yF_B_.js} +2 -1
  222. package/dist/holdEntranceInput-DjEzfGRU.js +523 -0
  223. package/dist/{index-85RFPeV0.d.ts → index-B52PMrO7.d.ts} +5 -5
  224. package/dist/{index-CyMStZq4.d.ts → index-B63NOJRc.d.ts} +1 -1
  225. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  226. package/dist/{index-BWcZ-L80.d.ts → index-BhdxP-OG.d.ts} +1 -1
  227. package/dist/{index-DRDOArzq.d.ts → index-BjmMJ_4E.d.ts} +19 -19
  228. package/dist/{index-C2HVLdNb.d.ts → index-BtgkNd0Q.d.ts} +2 -2
  229. package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
  230. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  231. package/dist/{index-Q1oG9yIT.d.ts → index-CO9GW-ik.d.ts} +1 -1
  232. package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
  233. package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
  234. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  235. package/dist/{index-HULXozsK.d.ts → index-Dcxqzk_d.d.ts} +5 -5
  236. package/dist/index.d.ts +14 -14
  237. package/dist/index.js +95 -95
  238. package/dist/inputStream-LZdK8luP.js +239 -0
  239. package/dist/{landing-DFC97kl9.js → landing-qVsYAZ-v.js} +2 -2
  240. package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
  241. package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
  242. package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
  243. package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
  244. package/dist/touchHold-CFJlSClt.js +30 -0
  245. package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
  246. package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
  247. package/dist/useHeldPresentation-fQsuYFhz.js +126 -0
  248. package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
  249. package/dist/{useMenuDrillIn-CQrzwZvx.js → useMenuDrillIn-CDn2na4X.js} +9 -8
  250. package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-CxUqSUZ9.js} +2 -2
  251. package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
  252. package/dist/{useTooltip-BwqzEtoF.js → useTooltip-CJHbG8Pv.js} +2 -2
  253. package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
  254. package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-BTcr1LCR.js} +3 -3
  255. package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
  256. package/package.json +1 -1
  257. package/styles/context-menu.css +17 -73
  258. package/styles/dialog.css +18 -1
  259. package/styles/hover-card.css +13 -72
  260. package/styles/layer.css +68 -0
  261. package/styles/multi-selector.css +17 -30
  262. package/styles/popover.css +13 -72
  263. package/styles/selector.css +17 -30
  264. package/styles/tooltip.css +12 -71
  265. package/styles/typeahead.css +17 -30
  266. package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import { n as _sfc_main$11 } from "./BottomSheet-DyJJtZZU.js";
1
+ import { n as _sfc_main$11 } from "./BottomSheet-DGhRZLw4.js";
2
2
  import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
3
- import { _ as useAnimator, a as usePanGesture, b as createPanGesture, 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 useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "./composables-COCeg92e.js";
3
+ import { _ as useAnimator, a as usePanGesture, b as createPanGesture, 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 useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "./composables-Do86VAmM.js";
4
4
  import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
5
- import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
5
+ import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
6
6
  import { i as isIconGlyph, n as ICON_GLYPHS, r as iconGlyphSlug, t as _sfc_main$90 } from "./Icon-Dk0jccgU.js";
7
7
  import { n as addCollection, r as addIcon } from "./registry-fNY3jasS.js";
8
8
  import { a as resolveSemanticIcon, i as defaultSemanticIcons } from "./themeIcons-1O7ymucc.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-TiYG0btL.js";
12
+ import { t as _sfc_main$18 } from "./Button-D8AGK5oT.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-CMIsdIOQ.js";
16
- import { n as useLayer } from "./tooltipTriggerRules-DoBAbfGc.js";
15
+ import { t as useDismiss } from "./useDismiss-C7_S7qUA.js";
16
+ import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.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-BzXGT1Aw.js";
@@ -21,8 +21,8 @@ import { n as firstCharacter, r as truncateCharacters, t as characterCount } fro
21
21
  import { n as useDevWarning, t as devWarn } from "./useDevWarning-B2fsk2B-.js";
22
22
  import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
23
23
  import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
24
- import { a as useSideNavCollapse } from "./context-DQPBIsl5.js";
25
- 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-B5mMRj98.js";
24
+ import { a as useSideNavCollapse } from "./context-WY1ippwe.js";
25
+ 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-COl5ApOz.js";
26
26
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
27
27
  import { n as useAppShellMobile, t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
28
28
  import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
@@ -39,14 +39,14 @@ import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
39
39
  import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
40
40
  import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-hv4NYIUi.js";
41
41
  import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
42
- import { t as _sfc_main$91 } from "./IconButton-CwjHTIBg.js";
43
- import { t as useInputStatusIcon } from "./useInputStatusIcon-CrgeMzrf.js";
42
+ import { t as _sfc_main$91 } from "./IconButton-D9ZRJ7vD.js";
43
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-BFw-EXjJ.js";
44
44
  import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
45
45
  import { a as useAstryxLocale, i as provideAstryxLocale, o as useComponentMessages, r as normalizeLocale } from "./context-B8IEFCDR.js";
46
46
  import { t as kbdMessages } from "./kbd-eX_twmH9.js";
47
47
  import { t as _sfc_main$98 } from "./Kbd-CbD993ig.js";
48
48
  import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
49
- import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "./useMenuPress-wqRDvUMW.js";
49
+ import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "./useMenuPress-CxUqSUZ9.js";
50
50
  import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
51
51
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "./useMonthGrid-Bzvlstgc.js";
52
52
  import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
@@ -62,41 +62,41 @@ import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o
62
62
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-8YfPQffv.js";
63
63
  import { n as isActionTrigger } from "./useTouchTriggerInternal-Bdm_M4aa.js";
64
64
  import { t as useTypeahead } from "./useTypeahead-BGpvWkzm.js";
65
- import { t as _sfc_main$69 } from "./Dialog-JCB5s-T-.js";
66
- import { t as useTooltip } from "./useTooltip-BwqzEtoF.js";
67
- import { t as _sfc_main$188 } from "./Tooltip-CByjfHBZ.js";
65
+ import { t as _sfc_main$69 } from "./Dialog-C4FZ7p7Q.js";
66
+ import { t as useTooltip } from "./useTooltip-CJHbG8Pv.js";
67
+ import { t as _sfc_main$188 } from "./Tooltip-88zhGfzF.js";
68
68
  import { n as useTruncation } from "./useTruncation-D_T-ezdp.js";
69
- import { t as _sfc_main$88 } from "./Heading-COtyAhtB.js";
69
+ import { t as _sfc_main$88 } from "./Heading-B1dNZQtu.js";
70
70
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
71
71
  import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
72
- import { t as _sfc_main$173 } from "./Text-v1ep26uD.js";
73
- import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-DXOTr1D7.js";
72
+ import { t as _sfc_main$173 } from "./Text-5p-eZodt.js";
73
+ import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-Cub9_aPC.js";
74
74
  import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-C7Wsid2W.js";
75
75
  import { t as layoutMessages } from "./layout-DhX4-SyE.js";
76
76
  import { t as navMessages } from "./nav-DpKQUHqR.js";
77
- import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-BlcdCg8M.js";
78
- import { t as _sfc_main$1 } from "./AppShell-Cmu6bMY6.js";
77
+ import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-DLpEONfs.js";
78
+ import { t as _sfc_main$1 } from "./AppShell-D62A7lqZ.js";
79
79
  import { n as WIDTH_BREAKPOINT_NAMES, t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
80
80
  import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
81
- import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-dMcn3j8Z.js";
81
+ import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-BKoSK75s.js";
82
82
  import { t as avatarGroupMessages } from "./avatar-group-Dcn6i_ne.js";
83
- import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-BUXjzekw.js";
83
+ import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-DT5RbxDa.js";
84
84
  import { t as _sfc_main$7 } from "./Badge-BbPS_49c.js";
85
85
  import "./Badge/index.js";
86
86
  import { t as bannerMessages } from "./banner-Bv76b50U.js";
87
- import { t as _sfc_main$8 } from "./Banner-CTY9qV89.js";
87
+ import { t as _sfc_main$8 } from "./Banner-cg2nXT_4.js";
88
88
  import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
89
89
  import "./Blockquote/index.js";
90
- import { t as _sfc_main$12 } from "./BottomSheet-ZOjuZya0.js";
91
- import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-DyaYlbyE.js";
90
+ import { t as _sfc_main$12 } from "./BottomSheet-CpLYy3vb.js";
91
+ import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-DUI1Qnnd.js";
92
92
  import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
93
- 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-CQrzwZvx.js";
94
- import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-BhxKnh6D.js";
93
+ 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-CDn2na4X.js";
94
+ import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-DwIfoTnV.js";
95
95
  import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
96
96
  import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
97
97
  import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
98
- import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-Nv-089W0.js";
99
- import { n as _sfc_main$19 } from "./ButtonGroup-DNN4O9_-.js";
98
+ import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-D-nHDHV8.js";
99
+ import { n as _sfc_main$19 } from "./ButtonGroup-CUN_rC57.js";
100
100
  import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
101
101
  import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
102
102
  import { a as useCalendarConstraints, t as _sfc_main$20 } from "./Calendar-CUMnYIhe.js";
@@ -104,44 +104,44 @@ import { n as useCalendarDays, t as useCalendarNavigation } from "./Calendar-B6T
104
104
  import { t as _sfc_main$21 } from "./Card-D_OJxmwD.js";
105
105
  import "./Card/index.js";
106
106
  import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
107
- import { t as _sfc_main$22 } from "./Carousel-DsXup1mZ.js";
107
+ import { t as _sfc_main$22 } from "./Carousel-DrCG9wbP.js";
108
108
  import { t as _sfc_main$23 } from "./Center-B7FTd7Hw.js";
109
109
  import { t as chatMessages } from "./chat-BUFYB3bA.js";
110
- 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-DqYT_S9M.js";
111
- import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-DGlOpk4x.js";
110
+ 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-U1qq8gkF.js";
111
+ import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-CZhfsvP4.js";
112
112
  import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
113
113
  import { t as _sfc_main$154 } from "./Spinner-DEVPDsD0.js";
114
114
  import "./CheckboxIndicator/index.js";
115
115
  import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
116
- import { t as _sfc_main$92 } from "./InfoTip-CNZateDb.js";
116
+ import { t as _sfc_main$92 } from "./InfoTip-LJi9llxi.js";
117
117
  import { t as fieldMessages } from "./field-CehUqCe0.js";
118
- import { t as _sfc_main$81 } from "./FieldLabel-CZbayYFD.js";
118
+ import { t as _sfc_main$81 } from "./FieldLabel-CgYk-ORu.js";
119
119
  import { t as _sfc_main$82 } from "./FieldStatus-DmCWPT6U.js";
120
120
  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-PFDBNOvX.js";
121
- import { t as _sfc_main$44 } from "./CheckboxInput-FKfsoLcl.js";
121
+ import { t as _sfc_main$44 } from "./CheckboxInput-qm6lkjAw.js";
122
122
  import "./CheckboxInput/index.js";
123
- import { t as _sfc_main$80 } from "./Field-D4UmRHlD.js";
124
- import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-gj_lOvEt.js";
125
- import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DuSVBtMk.js";
123
+ import { t as _sfc_main$80 } from "./Field-eAowUUMX.js";
124
+ import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-C8SqSrU6.js";
125
+ import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DuCKhJHJ.js";
126
126
  import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
127
127
  import { t as citationMessages } from "./citation-h6fyz-JH.js";
128
128
  import { t as _sfc_main$47 } from "./Citation-Ijf06x0V.js";
129
- import { n as _sfc_main$48 } from "./ClickableCard-dNmSVHBu.js";
130
- 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-5KoJDvWd.js";
129
+ import { n as _sfc_main$48 } from "./ClickableCard-CwGxO0GU.js";
130
+ 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-PMZd9dQ9.js";
131
131
  import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
132
132
  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-5rZyPwty.js";
133
- import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-B1qW6OuL.js";
133
+ import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-BmUloCSR.js";
134
134
  import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
135
- 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-B2riNg_7.js";
135
+ 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-Cy7trpD3.js";
136
136
  import { t as inputMessages } from "./input-DUSvqqG_.js";
137
137
  import { t as selectorMessages } from "./selector-BmGLjm94.js";
138
138
  import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
139
- import { n as usePopover, t as _sfc_main$131 } from "./Popover-DpR4rwiW.js";
140
- import { n as _sfc_main$60 } from "./ComplexSelector-C4CO8Fd2.js";
139
+ import { n as usePopover, t as _sfc_main$131 } from "./Popover-CZvRSqqD.js";
140
+ import { n as _sfc_main$60 } from "./ComplexSelector-DMBiVQWp.js";
141
141
  import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
142
- 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-SzsWZf18.js";
142
+ 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-63ay7EE-.js";
143
143
  import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
144
- import { t as _sfc_main$66 } from "./DateInput-D9Jv70H7.js";
144
+ import { t as _sfc_main$66 } from "./DateInput-B3Q91FDT.js";
145
145
  import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
146
146
  import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "./inputPresentation-DES0JwkL.js";
147
147
  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-BeQt6Uq-.js";
@@ -171,20 +171,20 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
171
171
  import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
172
172
  import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-B4FpGKpc.js";
173
173
  import "./DateInput/index.js";
174
- import { t as _sfc_main$67 } from "./DateRangeInput-BsB2kg_q.js";
174
+ import { t as _sfc_main$67 } from "./DateRangeInput-B6Z66OsH.js";
175
175
  import "./DateRangeInput/index.js";
176
- import { t as _sfc_main$68 } from "./DateTimeInput-BDyKPKGD.js";
176
+ import { t as _sfc_main$68 } from "./DateTimeInput-B_7cn7ze.js";
177
177
  import "./DateTimeInput/index.js";
178
- import { t as _sfc_main$70 } from "./DialogHeader-C6hZZxdv.js";
179
- import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-DUlWQH8R.js";
178
+ import { t as _sfc_main$70 } from "./DialogHeader-CQ3pnLYi.js";
179
+ import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-CBPD5b-S.js";
180
180
  import "./Divider/index.js";
181
- import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-BDuiw1-g.js";
182
- import { t as _sfc_main$78 } from "./DropdownMenu-Der2x_k_.js";
183
- import { t as _sfc_main$79 } from "./EmptyState-CnFkYtcS.js";
184
- import { t as _sfc_main$93 } from "./InputClearButton-CzCP41sx.js";
181
+ import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-BOwQLKm9.js";
182
+ import { t as _sfc_main$78 } from "./DropdownMenu-9CR9TiKG.js";
183
+ import { t as _sfc_main$79 } from "./EmptyState-BG5g2jwJ.js";
184
+ import { t as _sfc_main$93 } from "./InputClearButton-C-j9Nf1s.js";
185
185
  import "./Field/index.js";
186
186
  import "./FieldStatus/index.js";
187
- import { t as _sfc_main$83 } from "./FileInput-8oYiJsq_.js";
187
+ import { t as _sfc_main$83 } from "./FileInput-B7zeePbM.js";
188
188
  import { t as _sfc_main$84 } from "./FormLayout-CGJVeNsL.js";
189
189
  import { n as _sfc_main$85, t as _sfc_main$86 } from "./Grid-DTnDDT0Q.js";
190
190
  import "./Heading/index.js";
@@ -193,87 +193,87 @@ import { t as useSemanticIcon } from "./Icon-M1Rlknd0.js";
193
193
  import "./IconButton/index.js";
194
194
  import "./Indicator/index.js";
195
195
  import "./InfoTip/index.js";
196
- import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-CfUGHDNz.js";
196
+ import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-B8PGJZKH.js";
197
197
  import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-DaZS5Dch.js";
198
198
  import "./Kbd/index.js";
199
199
  import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
200
200
  import { t as _sfc_main$102 } from "./Layout-DOIeCgs4.js";
201
- import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-Dzzd2Vqe.js";
202
- import { t as _sfc_main$106 } from "./Link-B7OJQ0zl.js";
201
+ import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-BOWTHnTb.js";
202
+ import { t as _sfc_main$106 } from "./Link-B75ygGzG.js";
203
203
  import "./Link/index.js";
204
204
  import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
205
205
  import "./List/index.js";
206
206
  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";
207
- import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-Cbj-nqhN.js";
207
+ import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-Cqrcj-ct.js";
208
208
  import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
209
209
  import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
210
210
  import "./MobileNav/index.js";
211
- import { t as _sfc_main$116 } from "./MoreMenu-Dokwc4Mg.js";
212
- import { t as _sfc_main$185 } from "./Token-B-j3AKxB.js";
213
- import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-CId8-qAX.js";
211
+ import { t as _sfc_main$116 } from "./MoreMenu-aR88r9xp.js";
212
+ import { t as _sfc_main$185 } from "./Token-C7Dt5ygK.js";
213
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-UTaDe-YT.js";
214
214
  import "./MultiSelector/index.js";
215
215
  import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
216
- import { t as _sfc_main$122 } from "./NavItem-_eIEwV41.js";
217
- import { t as _sfc_main$118 } from "./NavDisclosure-CqAThYgR.js";
218
- import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-BtA_Xbmr.js";
219
- import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-BxfjAf1T.js";
220
- import { t as _sfc_main$125 } from "./NumberInput-Bl5TFhGD.js";
216
+ import { t as _sfc_main$122 } from "./NavItem-c1ScHEJY.js";
217
+ import { t as _sfc_main$118 } from "./NavDisclosure-B66SHKdd.js";
218
+ import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-DS6y8ZAY.js";
219
+ import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-BqIi3o3D.js";
220
+ import { t as _sfc_main$125 } from "./NumberInput-ClkOGF5j.js";
221
221
  import "./NumberInput/index.js";
222
- import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-NuPQMjxw.js";
223
- import { t as _sfc_main$127 } from "./OverflowList-CumJl6X_.js";
222
+ import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-DvQbXc_H.js";
223
+ import { t as _sfc_main$127 } from "./OverflowList-UnVXBDIW.js";
224
224
  import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
225
- import { t as _sfc_main$130 } from "./Pagination-C0Bx80Tu.js";
226
- import { t as _sfc_main$146 } from "./Selector-BW_oxWDM.js";
225
+ import { t as _sfc_main$130 } from "./Pagination-CTCLE02h.js";
226
+ import { t as _sfc_main$146 } from "./Selector-CCtsUveZ.js";
227
227
  import "./Pagination/index.js";
228
228
  import "./Popover/index.js";
229
- 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-Dq6Gi9z1.js";
230
- import { i as _sfc_main$198 } from "./useTypeaheadMenuConfig-GvdIymRg.js";
231
- import { t as _sfc_main$186 } from "./Tokenizer-Cpdy_L00.js";
232
- import { t as _sfc_main$175 } from "./TextInput-D6tHM2sA.js";
233
- import { t as _sfc_main$178 } from "./TimeInput-D0N8nwrI.js";
234
- import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-C-PdRnRQ.js";
235
- import { t as _sfc_main$133 } from "./ProgressBar-Dp-0xquN.js";
236
- import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-IKBXLzYU.js";
229
+ 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-BBOum0TP.js";
230
+ import { i as _sfc_main$198 } from "./useTypeaheadMenuConfig-DeDGVR8S.js";
231
+ import { t as _sfc_main$186 } from "./Tokenizer-C-eorFsF.js";
232
+ import { t as _sfc_main$175 } from "./TextInput-BYslwBDZ.js";
233
+ import { t as _sfc_main$178 } from "./TimeInput-B19amuxi.js";
234
+ import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-DUQfmy_r.js";
235
+ import { t as _sfc_main$133 } from "./ProgressBar-Bgg6zsKR.js";
236
+ import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-DPy5JQhm.js";
237
237
  import "./Radio/index.js";
238
- import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-NW4fGKgm.js";
238
+ import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-UN7IxQg8.js";
239
239
  import { t as _sfc_main$139 } from "./ResizeHandle-BMSbAFdP.js";
240
240
  import "./Resizable/index.js";
241
241
  import { t as _sfc_main$140 } from "./ScrollableArea-Cflez3d4.js";
242
242
  import { t as _sfc_main$141 } from "./Scrollbars-Gvu4QVaF.js";
243
243
  import { t as _sfc_main$142 } from "./Section-Km_FjJ-i.js";
244
244
  import "./Section/index.js";
245
- import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-DRxcUlVP.js";
246
- import { n as _sfc_main$145 } from "./SelectableCard-Dp-LsEcf.js";
245
+ import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-BkWz-I2J.js";
246
+ import { n as _sfc_main$145 } from "./SelectableCard-GRWYx3iD.js";
247
247
  import "./Selector/index.js";
248
248
  import "./SizeContext/index.js";
249
249
  import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
250
250
  import "./Skeleton/index.js";
251
- import { t as _sfc_main$153 } from "./Slider-oD3AY4jh.js";
251
+ import { t as _sfc_main$153 } from "./Slider-CYie9hWm.js";
252
252
  import "./Spinner/index.js";
253
253
  import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Byxur1jV.js";
254
- import { t as _sfc_main$157 } from "./StatusDot-B3oOyRF7.js";
255
- import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-CgOdL36_.js";
256
- import { t as _sfc_main$160 } from "./Switch-DG_A9cD0.js";
257
- import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-zNW23VwP.js";
254
+ import { t as _sfc_main$157 } from "./StatusDot-CHfgSYmv.js";
255
+ import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-CCuggsov.js";
256
+ import { t as _sfc_main$160 } from "./Switch-D24CvhDS.js";
257
+ import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-D3mzxBr0.js";
258
258
  import { t as _sfc_main$187 } from "./Toolbar-DSWH8ll4.js";
259
- import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-FkoypUk0.js";
259
+ import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-DToCh5JW.js";
260
260
  import "./Text/index.js";
261
- import { t as _sfc_main$174 } from "./TextArea-BilHnmSs.js";
261
+ import { t as _sfc_main$174 } from "./TextArea-Bp6D-riO.js";
262
262
  import "./TextInput/index.js";
263
263
  import { c as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main$111 } from "./MediaTheme-UM8oOqwX.js";
264
264
  import { a as neutralTheme, c as expandMotionScale, i as isDefinedTheme, l as expandRadiusScale, n as _sfc_main$176, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "./Theme-BmTbbiAD.js";
265
- import { t as _sfc_main$177 } from "./Thumbnail-llGdnQM8.js";
265
+ import { t as _sfc_main$177 } from "./Thumbnail-B_a8tOS7.js";
266
266
  import "./TimeInput/index.js";
267
- import { n as getPresentation, t as _sfc_main$179 } from "./Timer-65PfuoQ7.js";
268
- import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-rYC8mE3r.js";
269
- import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-BtQ-4Y6Z.js";
270
- import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-Bnn_MiOn.js";
267
+ import { n as getPresentation, t as _sfc_main$179 } from "./Timer-BD3tfzrF.js";
268
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-CqWoZUKM.js";
269
+ import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-BKPl8iIr.js";
270
+ import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-DfpsuhMa.js";
271
271
  import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
272
272
  import "./Tokenizer/index.js";
273
273
  import "./Toolbar/index.js";
274
274
  import "./Tooltip/index.js";
275
- 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-q8xDVlM_.js";
276
- import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-CEGInQtF.js";
275
+ 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-DMFIsFwy.js";
276
+ import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-nU2gSmQm.js";
277
277
  import "./Typeahead/index.js";
278
278
  import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers } from "./utils-BW62BpDR.js";
279
279
  import "./VisuallyHidden/index.js";
@@ -0,0 +1,239 @@
1
+ //#region src/utils/sharedRealm.ts
2
+ /**
3
+ * 对应原版 Astryx 的 `utils/sharedRealm`。
4
+ *
5
+ * 整个 JavaScript 运行环境里按键共享一份值:页面上同时加载了两份 core(比如包本身和一份复制进项目的副本)时,
6
+ * 两边拿同一个键读到的是同一份值。不碰 DOM,服务端也能用。
7
+ */
8
+ /**
9
+ * 共享值的注册键。版本号表示值的形状:形状变了、旧副本读不懂新值时就升版本,
10
+ * 两边各用各的。
11
+ */
12
+ function sharedKey(name, version) {
13
+ return Symbol.for(`@astryx-vue/core/${name}/v${version}`);
14
+ }
15
+ /**
16
+ * `key` 下的共享值,第一次用时创建。
17
+ * `accepts` 防键撞车:它不认的值原样留着,这一份自己另建一个。
18
+ */
19
+ function realmValue(key, create, accepts = () => true) {
20
+ const realm = globalThis;
21
+ if (Object.hasOwn(realm, key)) {
22
+ const existing = realm[key];
23
+ return accepts(existing) ? existing : create();
24
+ }
25
+ const value = create();
26
+ realm[key] = value;
27
+ return value;
28
+ }
29
+ /**
30
+ * 按注册名在整页共享一份值:计数器、开关,或装着几样东西的对象。
31
+ * 名字写成 `<目录>/<文件>/<绑定名>`(短横线小写),值的形状变了就升版本。
32
+ */
33
+ function sharedState(name, version, create) {
34
+ return realmValue(sharedKey(name, version), create);
35
+ }
36
+ /** 按注册名共享的 Map。 */
37
+ function sharedMap(name, version) {
38
+ return sharedState(name, version, () => /* @__PURE__ */ new Map());
39
+ }
40
+ /** 按注册名共享的 WeakMap,例如按文档存的状态。 */
41
+ function sharedWeakMap(name, version) {
42
+ return sharedState(name, version, () => /* @__PURE__ */ new WeakMap());
43
+ }
44
+ /** 按注册名共享的 WeakSet,例如登记过的值。 */
45
+ function sharedWeakSet(name, version) {
46
+ return sharedState(name, version, () => /* @__PURE__ */ new WeakSet());
47
+ }
48
+ //#endregion
49
+ //#region src/utils/inputStream.ts
50
+ /**
51
+ * @file inputStream.ts
52
+ * @input A window, and subscribers to its input events (the press feedback
53
+ * controller, the gesture host, the keyboard module)
54
+ * @output subscribeInput. Its readers: getLastPointerType, the latest
55
+ * pointer's type; getLastMousePoint, the latest mouse point; getDownPresses,
56
+ * each finger and pen press that is down; getTouches, the fingers on the
57
+ * screen and how many touches started.
58
+ * @position The one entry for document-wide input listeners in core: one
59
+ * native listener per event type on the window's capture phase, shared by
60
+ * every subscriber
61
+ *
62
+ * SYNC: When modified, update inputStream.test.ts.
63
+ */
64
+ const { streams, lastPointerTypes, lastMousePoints, downPresses } = realmValue(sharedKey("input-stream", 1), () => ({
65
+ streams: /* @__PURE__ */ new WeakMap(),
66
+ /** The type of the latest pointer event each window's stream delivered. */
67
+ lastPointerTypes: /* @__PURE__ */ new WeakMap(),
68
+ /** Where the latest mouse pointer event each window's stream delivered was. */
69
+ lastMousePoints: /* @__PURE__ */ new WeakMap(),
70
+ /** Each window's finger and pen presses that are down, by pointer id. */
71
+ downPresses: /* @__PURE__ */ new WeakMap()
72
+ }));
73
+ const NO_PRESSES = /* @__PURE__ */ new Map();
74
+ /**
75
+ * How many fingers are on each window's screen, and how many touches have
76
+ * started, from its touch events. Its own key keeps the stream's first state
77
+ * readable by copies built before it.
78
+ */
79
+ const touchRecords = realmValue(sharedKey("input-stream/touches", 1), () => /* @__PURE__ */ new WeakMap());
80
+ /**
81
+ * The type of the latest pointer event `view`'s stream delivered: `mouse`,
82
+ * `pen` or `touch`, or `null` before any. The stream hears a pointer event
83
+ * type only while a subscriber listens to it, as press feedback does on any
84
+ * page with a pressable. Reading it adds no listener.
85
+ */
86
+ function getLastPointerType(view) {
87
+ return lastPointerTypes.get(view) ?? null;
88
+ }
89
+ /**
90
+ * Where the latest mouse pointer event `view`'s stream delivered was, in
91
+ * viewport coordinates, or `null` before any. A mouse that has not moved
92
+ * since rests there. Reading it adds no listener.
93
+ */
94
+ function getLastMousePoint(view) {
95
+ return lastMousePoints.get(view) ?? null;
96
+ }
97
+ /**
98
+ * The finger and pen presses that are down in `view`, by pointer id, each at
99
+ * the point where the stream last heard it. The stream hears them only while
100
+ * subscribers listen to `pointerdown`, `pointerup` and `pointercancel` (and
101
+ * `pointermove` for a moving press), as press feedback and the gesture host
102
+ * do. Reading it adds no listener.
103
+ */
104
+ function getDownPresses(view) {
105
+ return downPresses.get(view) ?? NO_PRESSES;
106
+ }
107
+ /**
108
+ * Listen to `type` on `view`'s capture phase through its shared native
109
+ * listener. Returns the unsubscribe; calling it again does nothing.
110
+ */
111
+ function subscribeInput(view, type, listener, { cancels = false, first = false } = {}) {
112
+ let channels = streams.get(view);
113
+ if (channels == null) {
114
+ channels = /* @__PURE__ */ new Map();
115
+ streams.set(view, channels);
116
+ }
117
+ let channel = channels.get(type);
118
+ if (channel == null) {
119
+ channel = {
120
+ subscribers: [],
121
+ native: null
122
+ };
123
+ channels.set(type, channel);
124
+ }
125
+ const subscriber = {
126
+ listener,
127
+ cancels,
128
+ isFirst: first
129
+ };
130
+ const firstLater = first ? channel.subscribers.findIndex((other) => !other.isFirst) : -1;
131
+ if (firstLater === -1) channel.subscribers.push(subscriber);
132
+ else channel.subscribers.splice(firstLater, 0, subscriber);
133
+ register(view, type, channel);
134
+ let isSubscribed = true;
135
+ return () => {
136
+ if (!isSubscribed) return;
137
+ isSubscribed = false;
138
+ const current = streams.get(view)?.get(type);
139
+ if (current == null) return;
140
+ const index = current.subscribers.indexOf(subscriber);
141
+ if (index !== -1) current.subscribers.splice(index, 1);
142
+ register(view, type, current);
143
+ if (current.subscribers.length === 0) {
144
+ streams.get(view)?.delete(type);
145
+ if (type === "pointerup" || type === "pointercancel") downPresses.delete(view);
146
+ if (type === "touchend" || type === "touchcancel") forgetFingers(view);
147
+ }
148
+ };
149
+ }
150
+ /**
151
+ * Bring the channel's native listener in line with its subscribers: none
152
+ * without subscribers, non-passive while one of them cancels.
153
+ */
154
+ function register(view, type, channel) {
155
+ const wanted = channel.subscribers.length === 0 ? null : channel.subscribers.some((subscriber) => subscriber.cancels);
156
+ const native = channel.native;
157
+ if (native != null && native.cancels === wanted) return;
158
+ if (native != null) {
159
+ view.removeEventListener(type, native.listener, { capture: true });
160
+ channel.native = null;
161
+ }
162
+ if (wanted == null) return;
163
+ const listener = (event) => dispatch(view, channel, event);
164
+ view.addEventListener(type, listener, {
165
+ capture: true,
166
+ passive: !wanted
167
+ });
168
+ channel.native = {
169
+ listener,
170
+ cancels: wanted
171
+ };
172
+ }
173
+ function dispatch(view, channel, event) {
174
+ const { pointerType, clientX, clientY } = event;
175
+ if (typeof pointerType === "string" && pointerType !== "") lastPointerTypes.set(view, pointerType);
176
+ if (pointerType === "mouse" && typeof clientX === "number" && typeof clientY === "number") lastMousePoints.set(view, {
177
+ x: clientX,
178
+ y: clientY
179
+ });
180
+ if (pointerType === "touch" || pointerType === "pen") recordPress(view, event);
181
+ if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchcancel") recordTouches(view, event);
182
+ for (const subscriber of [...channel.subscribers]) {
183
+ if (!channel.subscribers.includes(subscriber)) continue;
184
+ try {
185
+ if (subscriber.listener(event) === true && subscriber.isFirst) return;
186
+ } catch (error) {
187
+ report(error);
188
+ }
189
+ }
190
+ }
191
+ function recordTouches(view, event) {
192
+ const channels = streams.get(view);
193
+ if (channels?.has("touchend") !== true || !channels.has("touchcancel")) {
194
+ forgetFingers(view);
195
+ return;
196
+ }
197
+ const { touches } = event;
198
+ const starts = touchRecords.get(view)?.starts ?? 0;
199
+ touchRecords.set(view, {
200
+ fingers: touches?.length ?? 0,
201
+ starts: event.type === "touchstart" ? starts + 1 : starts
202
+ });
203
+ }
204
+ function forgetFingers(view) {
205
+ const record = touchRecords.get(view);
206
+ if (record != null) touchRecords.set(view, {
207
+ fingers: 0,
208
+ starts: record.starts
209
+ });
210
+ }
211
+ function recordPress(view, event) {
212
+ const { pointerId, clientX, clientY } = event;
213
+ if (typeof pointerId !== "number") return;
214
+ let presses = downPresses.get(view);
215
+ if (event.type === "pointerup" || event.type === "pointercancel") {
216
+ presses?.delete(pointerId);
217
+ return;
218
+ }
219
+ if (event.type !== "pointerdown" && !(event.type === "pointermove" && presses?.has(pointerId) === true) || typeof clientX !== "number" || typeof clientY !== "number") return;
220
+ if (presses == null) {
221
+ presses = /* @__PURE__ */ new Map();
222
+ downPresses.set(view, presses);
223
+ }
224
+ presses.set(pointerId, {
225
+ x: clientX,
226
+ y: clientY
227
+ });
228
+ }
229
+ function report(error) {
230
+ if (typeof globalThis.reportError === "function") {
231
+ globalThis.reportError(error);
232
+ return;
233
+ }
234
+ queueMicrotask(() => {
235
+ throw error;
236
+ });
237
+ }
238
+ //#endregion
239
+ export { realmValue as a, sharedState as c, subscribeInput as i, sharedWeakMap as l, getLastMousePoint as n, sharedKey as o, getLastPointerType as r, sharedMap as s, getDownPresses as t, sharedWeakSet as u };
@@ -1,5 +1,5 @@
1
- import { s as batchPresented, t as areaOf } from "./handle-CSHfxBie.js";
2
- import { D as glides, S as originOf, T as visibleRect, a as flush, b as transitionSettles, c as onGlideClock, d as layoutMotion, h as beginChange, l as rectOf, n as batches, o as bandFor, s as collectCandidates, t as batchFor, y as settleTransition } from "./batch-oTkSbtVz.js";
1
+ import { s as batchPresented, t as areaOf } from "./handle-ma1yF_B_.js";
2
+ import { D as glides, S as originOf, T as visibleRect, a as flush, b as transitionSettles, c as onGlideClock, d as layoutMotion, h as beginChange, l as rectOf, n as batches, o as bandFor, s as collectCandidates, t as batchFor, y as settleTransition } from "./batch-DR5SgbnX.js";
3
3
  //#region src/motion/layout/reportChange.ts
4
4
  function resolve(target) {
5
5
  return typeof target === "function" ? target() : target.current;