@astryx-vue/core 0.43.2 → 0.43.3

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 (288) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Bh3uhS_R.js → AlertDialog-yvaIe5dA.js} +6 -6
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-1gvAIOLH.js → AppShell-CCc0Ls3I.js} +7 -7
  5. package/dist/AvatarGroup/index.d.ts +1 -1
  6. package/dist/AvatarGroup/index.js +1 -1
  7. package/dist/{AvatarGroup-BOkvPhXj.js → AvatarGroup-NBxlr30J.js} +1 -1
  8. package/dist/Banner/index.d.ts +1 -1
  9. package/dist/Banner/index.js +1 -1
  10. package/dist/{Banner-4FQsRu7N.js → Banner-BjfK7n5m.js} +1 -1
  11. package/dist/BottomSheet/index.d.ts +1 -1
  12. package/dist/BottomSheet/index.js +2 -2
  13. package/dist/{BottomSheet-j5app7P8.js → BottomSheet-C4Tquvok.js} +3 -3
  14. package/dist/{BottomSheet-BlkSIOtf.js → BottomSheet-JpXa1i_6.js} +1 -1
  15. package/dist/Breadcrumbs/index.d.ts +2 -2
  16. package/dist/Breadcrumbs/index.js +2 -2
  17. package/dist/{Breadcrumbs-BfSV4Ewm.js → Breadcrumbs-8tfIEHXD.js} +1 -1
  18. package/dist/Button/index.d.ts +1 -1
  19. package/dist/Button/index.js +1 -1
  20. package/dist/{Button-euzAB2JG.js → Button-DjEsHA9Z.js} +3 -2
  21. package/dist/ButtonGroup/index.d.ts +1 -1
  22. package/dist/ButtonGroup/index.js +1 -1
  23. package/dist/{ButtonGroup-DfNW3nfJ.js → ButtonGroup-B2M-5UV5.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-DbMleN6W.js → Carousel-CQkewtIR.js} +1 -1
  28. package/dist/Chat/index.d.ts +1 -1
  29. package/dist/Chat/index.js +1 -1
  30. package/dist/{Chat-CWCbGUYl.js → Chat-BsouUwzJ.js} +3 -3
  31. package/dist/CheckboxInput/index.d.ts +1 -1
  32. package/dist/CheckboxInput/index.js +1 -1
  33. package/dist/{CheckboxInput-B82_RIxf.js → CheckboxInput-ql8alAXv.js} +4 -4
  34. package/dist/CheckboxList/index.d.ts +1 -1
  35. package/dist/CheckboxList/index.js +1 -1
  36. package/dist/{CheckboxListItem-y0USbTgg.js → CheckboxListItem-g_DmP3Mw.js} +4 -4
  37. package/dist/ClickableCard/index.d.ts +1 -1
  38. package/dist/ClickableCard/index.js +1 -1
  39. package/dist/{ClickableCard-CSSIVdtX.js → ClickableCard-OIGU4OqX.js} +2 -2
  40. package/dist/Code/index.js +2 -2
  41. package/dist/{Code-C43i8FCX.js → Code-DM6rlxIv.js} +1 -1
  42. package/dist/{CodeBlock-ClzdGw3T.js → CodeBlock-DO_jepqL.js} +2 -2
  43. package/dist/Collapsible/index.d.ts +1 -1
  44. package/dist/Collapsible/index.js +1 -1
  45. package/dist/{Collapsible-B0Iu6_Iu.js → Collapsible-YJmw6Vdy.js} +3 -3
  46. package/dist/CommandPalette/index.d.ts +1 -1
  47. package/dist/CommandPalette/index.js +1 -1
  48. package/dist/{CommandPalette-DF2xzlgf.js → CommandPalette-B3p8qRob.js} +2 -2
  49. package/dist/ComplexSelector/index.js +1 -1
  50. package/dist/{ComplexSelector-DsGwWEoM.js → ComplexSelector-Dh7Ffhk6.js} +2 -2
  51. package/dist/ContextMenu/index.d.ts +2 -2
  52. package/dist/ContextMenu/index.js +2 -2
  53. package/dist/{ContextMenu-CJCpkIHr.js → ContextMenu-B2JG2F0f.js} +3 -3
  54. package/dist/DateInput/index.d.ts +1 -1
  55. package/dist/DateInput/index.js +1 -1
  56. package/dist/{DateInput-BW4Fwe7h.js → DateInput-NA4dfH8l.js} +5 -5
  57. package/dist/DateRangeInput/index.d.ts +1 -1
  58. package/dist/DateRangeInput/index.js +1 -1
  59. package/dist/{DateRangeInput-DQBgDw_I.js → DateRangeInput-BJ1CIl29.js} +3 -3
  60. package/dist/DateTimeInput/index.d.ts +1 -1
  61. package/dist/DateTimeInput/index.js +1 -1
  62. package/dist/{DateTimeInput-DwErM5ri.js → DateTimeInput-Cj08kWhO.js} +5 -5
  63. package/dist/Dialog/index.js +3 -3
  64. package/dist/{Dialog-JfrLWdwL.js → Dialog-BEvT30ri.js} +1 -1
  65. package/dist/{Dialog-Cjw_hc9x.js → Dialog-Bt-GTJJk.js} +1 -1
  66. package/dist/{DialogHeader-74IISHta.js → DialogHeader-BGJEXxQv.js} +1 -1
  67. package/dist/Drawer/index.d.ts +1 -1
  68. package/dist/Drawer/index.js +1 -1
  69. package/dist/{Drawer-CsZ2dJf6.js → Drawer-DiJuFQFY.js} +2 -2
  70. package/dist/DropdownMenu/index.d.ts +2 -2
  71. package/dist/DropdownMenu/index.js +2 -2
  72. package/dist/{DropdownMenu-BAgNL3vt.js → DropdownMenu-lhhIQfZo.js} +6 -6
  73. package/dist/{DropdownMenuRadioItem.vue-BrcSzOfA.d.ts → DropdownMenuRadioItem.vue-Jn-kyc9j.d.ts} +1 -1
  74. package/dist/Field/index.js +3 -3
  75. package/dist/{Field-CZGZMsZE.js → Field-Dat5mCel.js} +1 -1
  76. package/dist/{FieldInfoTip-C2jNfn3M.js → FieldInfoTip-i37zUogW.js} +1 -1
  77. package/dist/{FieldLabel-CS5Xq97O.js → FieldLabel-BinsVAU7.js} +1 -1
  78. package/dist/FileInput/index.js +1 -1
  79. package/dist/{FileInput-DwQ4Pwrr.js → FileInput-DwHRa3HF.js} +3 -3
  80. package/dist/{GestureHost-25aSFM1Y.js → GestureHost-zNPZolYj.js} +7 -7
  81. package/dist/Heading/index.d.ts +1 -1
  82. package/dist/HoverCard/index.d.ts +1 -1
  83. package/dist/IconButton/index.js +1 -1
  84. package/dist/{IconButton-ClmH02vt.js → IconButton-CV-BmMK9.js} +1 -1
  85. package/dist/InfoTip/index.d.ts +1 -1
  86. package/dist/InfoTip/index.js +1 -1
  87. package/dist/{InfoTip-BaWAyvEi.js → InfoTip-C4MGt0hy.js} +1 -1
  88. package/dist/{InputClearButton-fffY0HzH.js → InputClearButton-6Am1nrDf.js} +1 -1
  89. package/dist/InputGroup/index.js +1 -1
  90. package/dist/{InputGroup-D9sOFuMU.js → InputGroup-BmWA9oV5.js} +1 -1
  91. package/dist/{Item-Dmebq1UF.js → Item-PVfzuPHz.js} +8 -8
  92. package/dist/Layout/index.js +2 -2
  93. package/dist/{Layout-G_yTX__g.js → Layout-OQ1qfgFZ.js} +1 -1
  94. package/dist/{LayoutPanel-DcGI1bxe.js → LayoutPanel-C7meqbdC.js} +1 -1
  95. package/dist/Lightbox/index.js +1 -1
  96. package/dist/{Lightbox-uK7doOtN.js → Lightbox-CirQPUmV.js} +9 -9
  97. package/dist/Link/index.d.ts +1 -1
  98. package/dist/Link/index.js +1 -1
  99. package/dist/{Link-Dqmdo7zY.js → Link-BJhqi94p.js} +1 -1
  100. package/dist/List/index.d.ts +2 -2
  101. package/dist/List/index.js +4 -4
  102. package/dist/{List-Cw_Bz7VJ.js → List-D7brmx54.js} +2 -2
  103. package/dist/{ListItem-5IrzNrPG.js → ListItem-BERBZjZ5.js} +4 -4
  104. package/dist/{LongPressGestureRecognizer-DyfS9mpX.js → LongPressGestureRecognizer-CAh3wlYA.js} +3 -3
  105. package/dist/Markdown/index.d.ts +1 -1
  106. package/dist/Markdown/index.js +1 -1
  107. package/dist/{Markdown-DgU8Z6fh.js → Markdown-Or6DoFW-.js} +2 -2
  108. package/dist/MobileNav/index.js +1 -1
  109. package/dist/{MobileNavToggle-CZjRE6ki.js → MobileNavToggle-CHlP1Ck_.js} +1 -1
  110. package/dist/MoreMenu/index.d.ts +1 -1
  111. package/dist/MoreMenu/index.js +1 -1
  112. package/dist/{MoreMenu-CctyrlIC.js → MoreMenu-qU2BZnDr.js} +4 -4
  113. package/dist/MultiSelector/index.d.ts +1 -1
  114. package/dist/MultiSelector/index.js +1 -1
  115. package/dist/{MultiSelector-B8gj7DC1.js → MultiSelector-BaoBcJ21.js} +4 -4
  116. package/dist/NavItem/index.d.ts +1 -1
  117. package/dist/NavItem/index.js +1 -1
  118. package/dist/{NavItem-BSw2rt6c.js → NavItem-CDfxlrAh.js} +1 -1
  119. package/dist/NavMenu/index.js +2 -2
  120. package/dist/{NavMenu-CY_Lek2e.js → NavMenu-C78sH1q0.js} +1 -1
  121. package/dist/{NavMenuItem-CGDBoeek.js → NavMenuItem-CnhrEKOK.js} +2 -2
  122. package/dist/NumberInput/index.d.ts +1 -1
  123. package/dist/NumberInput/index.js +1 -1
  124. package/dist/{NumberInput-Dyrsd8iV.js → NumberInput-DbGq5K1O.js} +4 -4
  125. package/dist/Outline/index.js +1 -1
  126. package/dist/{Outline-DyWV1DE6.js → Outline-CZNYTxQc.js} +2 -2
  127. package/dist/OverflowList/index.d.ts +1 -1
  128. package/dist/OverflowList/index.js +1 -1
  129. package/dist/{OverflowList-BjtnyyFH.js → OverflowList-CoI9nSGD.js} +1 -1
  130. package/dist/Overlay/index.d.ts +1 -1
  131. package/dist/Pagination/index.d.ts +1 -1
  132. package/dist/Pagination/index.js +1 -1
  133. package/dist/{Pagination-DxCA-HxJ.js → Pagination-okierHV2.js} +2 -2
  134. package/dist/{PanGestureRecognizer-BVA9pqme.js → PanGestureRecognizer-Rfm59PpK.js} +1 -1
  135. package/dist/{PickerWheel-x5H1G_XB.js → PickerWheel-BYTurQ9Z.js} +7 -7
  136. package/dist/Popover/index.d.ts +1 -1
  137. package/dist/Popover/index.js +1 -1
  138. package/dist/{Popover-Bfdc7cPl.js → Popover-COzMRWrI.js} +4 -4
  139. package/dist/PowerSearch/index.d.ts +1 -1
  140. package/dist/PowerSearch/index.js +1 -1
  141. package/dist/{PowerSearch-BwF9Dlxz.js → PowerSearch-gyKaQPUu.js} +19 -19
  142. package/dist/ProgressBar/index.d.ts +1 -1
  143. package/dist/Radio/index.d.ts +1 -1
  144. package/dist/Radio/index.js +1 -1
  145. package/dist/{RadioGroup-CFLTQl3K.js → RadioGroup-_xn5F6S4.js} +4 -4
  146. package/dist/RadioList/index.d.ts +1 -1
  147. package/dist/RadioList/index.js +1 -1
  148. package/dist/{RadioListItem-6vtMowgq.js → RadioListItem-C_ovmUsZ.js} +1 -1
  149. package/dist/Resizable/index.js +1 -1
  150. package/dist/{ResizeHandle-Ch18ZZOk.js → ResizeHandle-BphbEkqv.js} +1 -1
  151. package/dist/ScrollableArea/index.d.ts +1 -1
  152. package/dist/ScrollableArea/index.js +1 -1
  153. package/dist/{ScrollableArea-CBFqNcS0.js → ScrollableArea-C8JJCFuM.js} +1 -1
  154. package/dist/SegmentedControl/index.d.ts +1 -1
  155. package/dist/SegmentedControl/index.js +1 -1
  156. package/dist/{SegmentedControl-CvHxmxSq.js → SegmentedControl-DM4U0A3X.js} +10 -10
  157. package/dist/SelectableCard/index.d.ts +1 -1
  158. package/dist/SelectableCard/index.js +1 -1
  159. package/dist/{SelectableCard-9SSfwFyD.js → SelectableCard-WaKbJ7V8.js} +2 -2
  160. package/dist/Selector/index.d.ts +1 -1
  161. package/dist/Selector/index.js +1 -1
  162. package/dist/{Selector-DLHdkU47.js → Selector-BaVyguqV.js} +2 -2
  163. package/dist/SideNav/index.d.ts +1 -1
  164. package/dist/SideNav/index.js +2 -2
  165. package/dist/{SideNav-UDy54LWk.js → SideNav-9kpdjZaG.js} +10 -9
  166. package/dist/Slider/index.js +1 -1
  167. package/dist/{Slider-g5_g_-Eu.js → Slider-DqCNKT8k.js} +8 -8
  168. package/dist/Stack/index.d.ts +1 -1
  169. package/dist/Stepper/index.js +1 -1
  170. package/dist/{Stepper-fAXQMCoa.js → Stepper-BDjoc0zs.js} +1 -1
  171. package/dist/Switch/index.d.ts +1 -1
  172. package/dist/Switch/index.js +1 -1
  173. package/dist/{Switch-B4qQk8nJ.js → Switch-Djwmyq6m.js} +10 -10
  174. package/dist/TabList/index.d.ts +1 -1
  175. package/dist/TabList/index.js +1 -1
  176. package/dist/{TabList-DPl5hrlq.js → TabList-DMX_ZMgS.js} +3 -3
  177. package/dist/Table/index.d.ts +1 -1
  178. package/dist/Table/index.js +1 -1
  179. package/dist/{Table-DcHbjYMH.js → Table-DxafmMwr.js} +12 -12
  180. package/dist/{TapGestureRecognizer-DGoxircL.js → TapGestureRecognizer-B-nQmGar.js} +2 -2
  181. package/dist/Text/index.d.ts +1 -1
  182. package/dist/TextArea/index.d.ts +1 -1
  183. package/dist/TextArea/index.js +1 -1
  184. package/dist/{TextArea-Bio9Gh34.js → TextArea-C5GRbC6e.js} +6 -6
  185. package/dist/TextInput/index.d.ts +1 -1
  186. package/dist/TextInput/index.js +1 -1
  187. package/dist/{TextInput-CQnO23U5.js → TextInput-s56TpHIu.js} +6 -6
  188. package/dist/Thumbnail/index.js +1 -1
  189. package/dist/{Thumbnail-BDQg5fM_.js → Thumbnail-CFcqQtqo.js} +2 -2
  190. package/dist/{TimeField-DFQIaneq.js → TimeField-CSdPuGwP.js} +3 -3
  191. package/dist/TimeInput/index.d.ts +1 -1
  192. package/dist/TimeInput/index.js +1 -1
  193. package/dist/{TimeInput-BMgTNmFR.js → TimeInput-CSnb0mMj.js} +2 -2
  194. package/dist/Timestamp/index.d.ts +1 -1
  195. package/dist/Timestamp/index.js +1 -1
  196. package/dist/{Timestamp-mD_zYE11.js → Timestamp-Dwku9bPo.js} +1 -1
  197. package/dist/Toast/index.js +1 -1
  198. package/dist/{Toast-D6vNybEc.js → Toast-CeBNwNEI.js} +4 -4
  199. package/dist/ToggleButton/index.d.ts +1 -1
  200. package/dist/ToggleButton/index.js +1 -1
  201. package/dist/{ToggleButton-Dwt5c31B.js → ToggleButton-BceL8CPc.js} +4 -3
  202. package/dist/Token/index.d.ts +1 -1
  203. package/dist/Token/index.js +1 -1
  204. package/dist/{Token-CZCvtfGU.js → Token-w7FCD0m4.js} +1 -1
  205. package/dist/Tokenizer/index.d.ts +1 -1
  206. package/dist/Tokenizer/index.js +1 -1
  207. package/dist/{Tokenizer-vIHlJqfc.js → Tokenizer-DTZUz1KK.js} +8 -8
  208. package/dist/Toolbar/index.d.ts +1 -1
  209. package/dist/Tooltip/index.d.ts +1 -1
  210. package/dist/TopNav/index.d.ts +1 -1
  211. package/dist/TopNav/index.js +1 -1
  212. package/dist/{TopNav-B7WVftOG.js → TopNav-DcoTLS7k.js} +3 -3
  213. package/dist/TreeList/index.d.ts +1 -1
  214. package/dist/TreeList/index.js +1 -1
  215. package/dist/{TreeList-DlRkhOsr.js → TreeList-CYuPh-_e.js} +4 -4
  216. package/dist/Typeahead/index.js +1 -1
  217. package/dist/{Typeahead-DVSuuJF0.js → Typeahead-B37dkKD-.js} +3 -3
  218. package/dist/{accessibleName-JNiIpYLV.js → accessibleName-T__U-0Oi.js} +1 -1
  219. package/dist/{animator-D6Buqmbt.js → animator-L1kmTBSi.js} +1 -1
  220. package/dist/{boxHold-BZBGNilH.js → boxHold-dccG1XSR.js} +4 -4
  221. package/dist/{browserClickWait-TdyeNZwb.js → browserClickWait-CPyRQqvC.js} +1 -1
  222. package/dist/{clickGuard-CdmRG-4c.js → clickGuard-DOe-7mpi.js} +59 -10
  223. package/dist/composables/index.d.ts +2 -2
  224. package/dist/composables/index.js +11 -11
  225. package/dist/{composables-CpnaT0rZ.js → composables-kGMjHzp9.js} +78 -69
  226. package/dist/{context-CLCiYDtY.js → context-BBkmmLbb.js} +1 -1
  227. package/dist/{holdEntranceInput-C9J7g1Pu.js → holdEntranceInput-Cs656CnM.js} +1 -1
  228. package/dist/{index-n_U1D11_.d.ts → index--j_oqZES.d.ts} +3 -3
  229. package/dist/{index-vCRf5fyK.d.ts → index-3LdpzxQZ.d.ts} +1 -1
  230. package/dist/{index-VWHtgjGh.d.ts → index-5vRkSPvJ.d.ts} +1 -1
  231. package/dist/{index-DgNCHxvu.d.ts → index-B7-c8UTz.d.ts} +3 -3
  232. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  233. package/dist/{index-CRjJmEtZ.d.ts → index-BNQE8CBI.d.ts} +2 -2
  234. package/dist/{index-BgT6mH3U.d.ts → index-BR3MOBYd.d.ts} +2 -2
  235. package/dist/{index-CKnr0JlT.d.ts → index-BZ_lQz43.d.ts} +1 -1
  236. package/dist/{index-DNurYNHr.d.ts → index-BkbXxnJm.d.ts} +61 -61
  237. package/dist/{index-D8G_PdWT.d.ts → index-BlCnjPNt.d.ts} +3 -3
  238. package/dist/{index-Cb-rvc1W.d.ts → index-BtqvPjAf.d.ts} +2 -2
  239. package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
  240. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  241. package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
  242. package/dist/{index-0RIgvtdm.d.ts → index-CArP_6wv.d.ts} +1 -1
  243. package/dist/{index-BaFphczL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  244. package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
  245. package/dist/{index-yQc-te9a.d.ts → index-CmqD5Ya9.d.ts} +3 -3
  246. package/dist/{index-Cf4bPzU0.d.ts → index-Csn58myZ.d.ts} +2 -2
  247. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  248. package/dist/{index-CFKpOpnO.d.ts → index-D9VZfr1G.d.ts} +2 -2
  249. package/dist/{index-iGHM85Y1.d.ts → index-DfWSZiXT.d.ts} +1 -1
  250. package/dist/{index-Nln6FiRr.d.ts → index-DllhUVKp.d.ts} +1 -1
  251. package/dist/{index-DZUoC8aR.d.ts → index-Dmr81uHZ.d.ts} +2 -2
  252. package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
  253. package/dist/index.d.ts +29 -29
  254. package/dist/index.js +94 -94
  255. package/dist/internal/touch.js +9 -9
  256. package/dist/{itemSlots-0J_JDkUW.js → itemSlots-Bwd4-VOz.js} +3 -3
  257. package/dist/{landing-DjJvKu3c.js → landing-D7xDVHzh.js} +1 -1
  258. package/dist/{lazyBottomSheet-CEZ77VHB.js → lazyBottomSheet-BU4N8Ac_.js} +1 -1
  259. package/dist/{pressSlot-BxYt3vyU.js → pressSlot-WuaTVSU4.js} +15 -3
  260. package/dist/{reducedMotion-BcstlXZU.js → reducedMotion-Dhe-YZCN.js} +10 -2
  261. package/dist/{reportChange-wIeU3q3y.js → reportChange-BBOtvOwM.js} +134 -14
  262. package/dist/{resizableChannel-C9UA4vam.js → resizableChannel-2W9ef4QQ.js} +2 -2
  263. package/dist/{rideKeyboard-DiF6K9Lm.js → rideKeyboard-DgecasHn.js} +4 -4
  264. package/dist/{selectionRanges-DB5jesLz.js → selectionRanges-DBILfsSa.js} +1 -1
  265. package/dist/{snapPagingCatcher-BL_D9uL5.js → snapPagingCatcher-Dd8ROJj7.js} +2 -2
  266. package/dist/{types-wKC-Ws-M.d.ts → types-xOsWAC6i.d.ts} +1 -1
  267. package/dist/{useActionGroupTracking-2fXeyqxa.js → useActionGroupTracking-1kCq936v.js} +2 -2
  268. package/dist/{useAnimatedLayout-CXjd5pjG.js → useAnimatedLayout-C8BF0iwr.js} +3 -3
  269. package/dist/{useAnimatedLayout-C0koWm4a.d.ts → useAnimatedLayout-D94sdliy.d.ts} +2 -2
  270. package/dist/{useFingerScroll-BhnBhQoa.js → useFingerScroll-DdV3zgsK.js} +2 -2
  271. package/dist/{useGestureRecognizer-Bj0nynLS.js → useGestureRecognizer-NE4Lzt0W.js} +1 -1
  272. package/dist/{useInputContainer-C8ARd4qy.js → useInputContainer-yA8wbN3_.js} +1 -1
  273. package/dist/{useInputStatusIcon-Dpj4AtXd.js → useInputStatusIcon-B7TXwSHl.js} +1 -1
  274. package/dist/{useMenuEntranceHold-DYZ_k6kP.js → useMenuEntranceHold-Dkl03O-0.js} +1 -1
  275. package/dist/{useMenuPress-C1fiHACF.js → useMenuPress-DKGeEWJw.js} +62 -15
  276. package/dist/{useMobileKeyboard-jeeHdtVD.js → useMobileKeyboard-Difn_9Dm.js} +3 -3
  277. package/dist/{usePressFeedback-DyCf9Ok5.js → usePressFeedback-BYdW3Z87.js} +3 -3
  278. package/dist/{useResizable-B_QakV6o.js → useResizable-ZYDRiLfL.js} +7 -4
  279. package/dist/{useScrollOverflow-DuMoGXmm.js → useScrollOverflow-DzLw86tg.js} +21 -5
  280. package/dist/{useScrollableArea-B3gnyFbR.js → useScrollableArea-KpUvJnCb.js} +1 -1
  281. package/dist/{useTouchHitArea-DCAX0X6S.js → useTouchHitArea-BBoTjQ32.js} +3 -9
  282. package/dist/utils/index.js +1 -1
  283. package/package.json +1 -1
  284. package/dist/{PressTracker-B_ffL9rM.js → PressTracker-CiaaoD3I.js} +1 -1
  285. package/dist/{index-7tsRPFfY.d.ts → index-C1a8VQ2i.d.ts} +1 -1
  286. package/dist/{inputHold-CUraoRG3.js → inputHold-C1LkNE02.js} +1 -1
  287. package/dist/{presentation-Cl58tYA6.js → presentation-DkdwDJUs.js} +1 -1
  288. package/dist/{selectionLock-BM8XEZQD.js → selectionLock-c18P1UV3.js} +1 -1
@@ -2,7 +2,7 @@ import { a as sharedState, n as sharedKey, o as sharedWeakMap, r as sharedMap, s
2
2
  import { f as toSpring } from "./roles-D6hLs7Rg.js";
3
3
  import { c as solveSpring, i as reducedMotionCrossFade, n as sampleCount, s as settlingDuration, t as linearEasing } from "./linearEasing-CDsqxyiS.js";
4
4
  import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
5
- import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-Cl58tYA6.js";
5
+ import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-DkdwDJUs.js";
6
6
  import { i as readThemeTokenText, n as readThemeTiming } from "./themeTiming-DOf0j6SM.js";
7
7
  //#region src/motion/layout/glides.ts
8
8
  /**
@@ -500,6 +500,13 @@ function settleTransition(element, progress) {
500
500
  * @position Internal to motion/layout; split from upstream motion/animatedLayout.ts
501
501
  */
502
502
  /**
503
+ * Each document's change start: an iframe or a Picture-in-Picture window
504
+ * keeps its own clock, with its own origin and frames.
505
+ */
506
+ const changeStarts = sharedWeakMap("motion/animated-layout/change-starts", 1);
507
+ /** Each waiting animation's held start time and the fill it had before. */
508
+ const holds = sharedWeakMap("motion/animated-layout/holds", 1);
509
+ /**
503
510
  * Play `keyframes` on `element`. Every option here (linear easing over sampled
504
511
  * keyframes, replace composition) is one any Web Animations engine takes, so
505
512
  * a failure means no Web Animations at all: the change then lands at once.
@@ -522,21 +529,117 @@ function safeAnimate(element, keyframes, options, change, scale = {
522
529
  if (now != null) {
523
530
  const start = change != null && change.frame === Number(now) ? change : startFor(doc, Number(now));
524
531
  start.last = clockOf(doc);
525
- animation.startTime = start.at;
526
- if (start.at !== Number(now)) {
527
- const fill = animation.effect?.getTiming().fill;
528
- animation.effect?.updateTiming({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
529
- }
532
+ if (start.waiting != null) {
533
+ holdForFirstFrame(animation, Number(now));
534
+ start.waiting.add(animation);
535
+ } else startAt(animation, start.at, Number(now));
530
536
  }
537
+ trackRunning(doc, animation);
531
538
  const onResolve = options.pseudoElement == null ? presentGlide(element, animation, keyframes, options, scale) : void 0;
532
539
  settleAnimation(element, animation, keyframes, options, onResolve);
533
540
  return animation;
534
541
  }
535
542
  /**
536
- * Each document's change start: an iframe or a Picture-in-Picture window
537
- * keeps its own clock, with its own origin and frames.
543
+ * Each document's animations from this module that can still run, so a
544
+ * change can tell whether it is made from rest.
538
545
  */
539
- const changeStarts = sharedWeakMap("motion/animated-layout/change-starts", 1);
546
+ const runningIn = sharedWeakMap("motion/animated-layout/running", 1);
547
+ /** Record `animation` as one of `doc`'s motions until it ends. */
548
+ function trackRunning(doc, animation) {
549
+ let running = runningIn.get(doc);
550
+ if (running == null) {
551
+ running = /* @__PURE__ */ new Set();
552
+ runningIn.set(doc, running);
553
+ }
554
+ const motions = running;
555
+ motions.add(animation);
556
+ const end = () => {
557
+ motions.delete(animation);
558
+ };
559
+ animation.addEventListener?.("finish", end);
560
+ animation.addEventListener?.("cancel", end);
561
+ }
562
+ /**
563
+ * Whether one of this module's motions runs in `doc`. A change made now then
564
+ * continues motion on the screen. A motion that holds its first keyframe has
565
+ * not moved yet, so it does not count.
566
+ */
567
+ function isMotionRunning(doc) {
568
+ const running = runningIn.get(doc);
569
+ if (running == null) return false;
570
+ for (const animation of running) {
571
+ if (holds.has(animation)) continue;
572
+ if (animation.playState === "running") return true;
573
+ if (animation.playState === "finished" || animation.playState === "idle") running.delete(animation);
574
+ }
575
+ return false;
576
+ }
577
+ /**
578
+ * Start `animation` at `at` on the document timeline, which reads `frame`.
579
+ * Started after the frame time the timeline still reads: until the timeline
580
+ * gets there it shows its first keyframe, not the element at rest.
581
+ */
582
+ function startAt(animation, at, frame) {
583
+ animation.startTime = at;
584
+ if (at !== frame) {
585
+ const fill = animation.effect?.getTiming?.().fill;
586
+ animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
587
+ }
588
+ }
589
+ /**
590
+ * How far ahead of the timeline a waiting animation's start time is held, ms.
591
+ * A start that far ahead shows the first keyframe for days.
592
+ */
593
+ const HOLD_AHEAD_MS = 1e9;
594
+ /**
595
+ * Hold `animation` at its first keyframe until the first frame drawn after
596
+ * its change's task. A start time far ahead of `now`, the timeline's time,
597
+ * holds it. A set start time also cancels the animation's pending play task.
598
+ * An engine can run that task before the frame, on a clock from before a long
599
+ * task, and the motion then skips ahead.
600
+ */
601
+ function holdForFirstFrame(animation, now) {
602
+ const fill = animation.effect?.getTiming?.().fill;
603
+ const startTime = now + HOLD_AHEAD_MS;
604
+ holds.set(animation, {
605
+ startTime,
606
+ fill
607
+ });
608
+ animation.startTime = startTime;
609
+ animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
610
+ }
611
+ /**
612
+ * Whether `animation` still holds the start time `held`. Code that paused,
613
+ * sought, finished or cancelled it since then changed that start time. An
614
+ * engine can round a start time it keeps, so a difference under 1 ms counts
615
+ * as the same.
616
+ */
617
+ function isStillHeld(animation, held) {
618
+ const { startTime } = animation;
619
+ return animation.playState !== "idle" && startTime != null && Math.abs(Number(startTime) - held) < 1;
620
+ }
621
+ /**
622
+ * Start the animations a change made from rest holds, all at one moment: the
623
+ * first frame's time. After a long task, a frame can carry the time of a
624
+ * frame scheduled before it. Then the moment is when the frame runs.
625
+ */
626
+ function startWaiting(doc, start) {
627
+ const { waiting } = start;
628
+ start.waiting = null;
629
+ if (waiting == null) return;
630
+ if (changeStarts.get(doc) === start) changeStarts.delete(doc);
631
+ const timeline = doc.timeline?.currentTime;
632
+ const frame = timeline == null ? start.at : Number(timeline);
633
+ const now = clockOf(doc);
634
+ start.at = now - frame <= 34 ? frame : now;
635
+ for (const animation of waiting) {
636
+ const hold = holds.get(animation);
637
+ holds.delete(animation);
638
+ if (hold == null || !isStillHeld(animation, hold.startTime)) continue;
639
+ animation.startTime = start.at;
640
+ if (start.at === frame && hold.fill != null) animation.effect?.updateTiming?.({ fill: hold.fill });
641
+ }
642
+ }
540
643
  /** The clock of the document whose timeline a start is read on. */
541
644
  function clockOf(doc) {
542
645
  return (doc.defaultView?.performance ?? performance).now();
@@ -548,21 +651,27 @@ function clockOf(doc) {
548
651
  * rest of a commit or a slow swap. The start holds while the timeline reads
549
652
  * the same frame: through the task that made it and the microtasks after it.
550
653
  * A change that begins after a block takes a start of its own (beginChange).
654
+ * A change made from rest waits for its first frame (startWaiting), and a
655
+ * change made before that frame joins it.
551
656
  */
552
657
  function startFor(doc, frame) {
553
658
  const now = clockOf(doc);
554
659
  const held = changeStarts.get(doc);
555
- if (held != null && held.frame === frame) {
660
+ if (held != null && (held.frame === frame || held.waiting != null)) {
556
661
  held.last = now;
557
662
  return held;
558
663
  }
664
+ const view = doc.defaultView;
665
+ const isFromRest = typeof view?.requestAnimationFrame === "function" && !isMotionRunning(doc);
559
666
  const start = {
560
667
  frame,
561
668
  at: now - frame <= 34 ? frame : now,
562
- last: now
669
+ last: now,
670
+ waiting: isFromRest ? /* @__PURE__ */ new Set() : null
563
671
  };
564
672
  changeStarts.set(doc, start);
565
- (doc.defaultView?.setTimeout ?? setTimeout)(() => {
673
+ if (isFromRest) view?.requestAnimationFrame(() => startWaiting(doc, start));
674
+ (view?.setTimeout ?? setTimeout)(() => {
566
675
  if (changeStarts.get(doc) === start) changeStarts.delete(doc);
567
676
  }, 0);
568
677
  return start;
@@ -575,7 +684,7 @@ function startFor(doc, frame) {
575
684
  */
576
685
  function beginChange(doc) {
577
686
  const held = changeStarts.get(doc);
578
- if (held != null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
687
+ if (held != null && held.waiting == null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
579
688
  }
580
689
  /**
581
690
  * When the animations of the layout change being made start. Code that
@@ -588,6 +697,17 @@ function layoutStartFor(document) {
588
697
  const now = document.timeline?.currentTime;
589
698
  return now == null ? 0 : startFor(document, Number(now)).at;
590
699
  }
700
+ /**
701
+ * Reads, when called, the start `layoutStartFor` gives now. Code that keeps
702
+ * the start of a change, to measure a later change against, keeps this
703
+ * reader. A change made from rest takes its start later (startWaiting).
704
+ */
705
+ function layoutStartReaderFor(document) {
706
+ const now = document.timeline?.currentTime;
707
+ if (now == null) return () => 0;
708
+ const start = startFor(document, Number(now));
709
+ return () => start.at;
710
+ }
591
711
  /** The touch cross-fade's cap (`design:reduced-motion` DR2). */
592
712
  const CROSS_FADE_CAP_MS = 200;
593
713
  function matches(element, query) {
@@ -1821,4 +1941,4 @@ function reportLayoutChange(handle, target) {
1821
1941
  };
1822
1942
  }
1823
1943
  //#endregion
1824
- export { glides as A, safeAnimate as C, scaleOf as D, intersects as E, visibleRect as O, layoutStartFor as S, transitionSettles as T, layoutMotion as _, placeOf as a, springGlide as b, areaOf as c, extentOf as d, isRtl as f, glideNextChange as g, changeStartIn as h, nextInFlow as i, shownBoxAt as j, glideOf as k, createAnimatedLayout as l, pxClip as m, rideNeighbour as n, releaseLayoutExit as o, previousInFlow as p, holdLayoutExit as r, playLayoutChange as s, reportLayoutChange as t, readArea as u, sampleKeyframes as v, settleTransition as w, beginChange as x, sampleOver as y };
1944
+ export { glideOf as A, layoutStartReaderFor as C, intersects as D, transitionSettles as E, shownBoxAt as M, scaleOf as O, layoutStartFor as S, settleTransition as T, layoutMotion as _, placeOf as a, springGlide as b, areaOf as c, extentOf as d, isRtl as f, glideNextChange as g, changeStartIn as h, nextInFlow as i, glides as j, visibleRect as k, createAnimatedLayout as l, pxClip as m, rideNeighbour as n, releaseLayoutExit as o, previousInFlow as p, holdLayoutExit as r, playLayoutChange as s, reportLayoutChange as t, readArea as u, sampleKeyframes as v, safeAnimate as w, beginChange as x, sampleOver as y };
@@ -1,8 +1,8 @@
1
1
  import { o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
2
2
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
3
3
  import { d as springs } from "./springs-BqW2WrS-.js";
4
- import { C as safeAnimate, D as scaleOf, E as intersects, O as visibleRect, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as glideOf, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, x as beginChange, y as sampleOver } from "./reportChange-wIeU3q3y.js";
5
- import { n as landLayoutGlide } from "./landing-DjJvKu3c.js";
4
+ import { A as glideOf, D as intersects, O as scaleOf, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as visibleRect, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-BBOtvOwM.js";
5
+ import { n as landLayoutGlide } from "./landing-D7xDVHzh.js";
6
6
  //#region src/motion/layout/edgeReport.ts
7
7
  const resizeReveals = sharedWeakMap("motion/animated-layout/resize-reveals", 1);
8
8
  /** The inline properties a size hold sets, by axis. */
@@ -1,13 +1,13 @@
1
- import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
2
- import { t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
1
+ import { t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
3
2
  import { o as sharedWeakMap, s as sharedWeakSet } from "./sharedRealm-BYHklCVM.js";
4
3
  import { i as getTouches, s as subscribeInput } from "./inputStream-CFvjNDgT.js";
4
+ import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
5
5
  import { i as PRESS_SLOP_PX } from "./pressGesture-VrM5-7aV.js";
6
6
  import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
7
7
  import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
8
- import { t as caretAt } from "./selectionRanges-DB5jesLz.js";
8
+ import { t as caretAt } from "./selectionRanges-DBILfsSa.js";
9
9
  import { n as matchesMediaQuery, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
10
- import { n as reducedMotionFade } from "./reducedMotion-BcstlXZU.js";
10
+ import { n as reducedMotionFade } from "./reducedMotion-Dhe-YZCN.js";
11
11
  //#region src/utils/layoutViewport.ts
12
12
  /**
13
13
  * @file layoutViewport.ts
@@ -1,5 +1,5 @@
1
1
  import { a as shadowRootsOutward, i as shadowHostOf, r as parentAcrossShadow } from "./flatTree-BB4yPMNL.js";
2
- import { t as isTextEntry } from "./selectionLock-BM8XEZQD.js";
2
+ import { t as isTextEntry } from "./selectionLock-c18P1UV3.js";
3
3
  //#region src/utils/selectionRanges.ts
4
4
  /**
5
5
  * @file selectionRanges.ts
@@ -1,10 +1,10 @@
1
1
  import { a as registerMotionTable, f as toSpring } from "./roles-D6hLs7Rg.js";
2
2
  import { c as solveSpring } from "./linearEasing-CDsqxyiS.js";
3
3
  import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
4
- import { r as SETTLE_THRESHOLD } from "./animator-D6Buqmbt.js";
4
+ import { r as SETTLE_THRESHOLD } from "./animator-L1kmTBSi.js";
5
5
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
6
6
  import { n as solveDecay } from "./decay-ClFADeqT.js";
7
- import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-DyfS9mpX.js";
7
+ import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-CAh3wlYA.js";
8
8
  //#region src/motion/coast.ts
9
9
  /** A curve that holds `end` from `duration` on. */
10
10
  function settling(duration, end, at, velocity) {
@@ -1,4 +1,4 @@
1
- import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
1
+ import { r as AnimatedLayout } from "./useAnimatedLayout-D94sdliy.js";
2
2
  import { n as Reorderable } from "./createReorderable-Bw3Q9mUd.js";
3
3
  import { i as Swipe, n as ItemSwipeActionVariant, r as ItemSwipeBehavior } from "./swipeHost-B2OlVVZt.js";
4
4
  import { Component, MaybeRefOrGetter, VNodeChild } from "vue";
@@ -1,8 +1,8 @@
1
+ import { f as isTrackedByGroup, v as GROUP_PRESS_POINTERS, y as PRESS_GROUP_ITEM_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
2
+ import { i as resolveGroupTouch, r as createActionGroupTracker } from "./useTouchHitArea-BBoTjQ32.js";
1
3
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
4
  import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
3
- import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DCAX0X6S.js";
4
5
  import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-VrM5-7aV.js";
5
- import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-BxYt3vyU.js";
6
6
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
7
7
  //#region src/composables/internal/useActionGroupTracking.ts
8
8
  const DISABLED = ":disabled, [aria-disabled=\"true\"]";
@@ -1,4 +1,4 @@
1
- import { l as createAnimatedLayout } from "./reportChange-wIeU3q3y.js";
1
+ import { l as createAnimatedLayout } from "./reportChange-BBOtvOwM.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useAnimatedLayout.ts
4
4
  function elementOf(value) {
@@ -9,8 +9,8 @@ function elementOf(value) {
9
9
  }
10
10
  /**
11
11
  * 返回一个句柄,交给尺寸会变的组件(例如 TreeList、Collapsible)。组件尺寸变化时,
12
- * 它和 `containerRef` 里排在它后面的内容按同一条动效一起滑到新位置。固定定位和吸住的
13
- * 粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
12
+ * 它和 `containerRef` 里它前后的内容按同一条动效一起滑到新位置;组件在绝对定位、固定定位、
13
+ * 吸住的粘性元素或顶层图层里时,只有排在它后面的内容会动。固定定位和吸住的粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
14
14
  *
15
15
  * 容器在变化发生时才读,所以句柄只创建一次,之后 ref 指向别的元素也能读到。
16
16
  * 句柄没有公开成员。服务端渲染时不碰 DOM。
@@ -27,8 +27,8 @@ interface UseAnimatedLayoutOptions {
27
27
  }
28
28
  /**
29
29
  * 返回一个句柄,交给尺寸会变的组件(例如 TreeList、Collapsible)。组件尺寸变化时,
30
- * 它和 `containerRef` 里排在它后面的内容按同一条动效一起滑到新位置。固定定位和吸住的
31
- * 粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
30
+ * 它和 `containerRef` 里它前后的内容按同一条动效一起滑到新位置;组件在绝对定位、固定定位、
31
+ * 吸住的粘性元素或顶层图层里时,只有排在它后面的内容会动。固定定位和吸住的粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
32
32
  *
33
33
  * 容器在变化发生时才读,所以句柄只创建一次,之后 ref 指向别的元素也能读到。
34
34
  * 句柄没有公开成员。服务端渲染时不碰 DOM。
@@ -1,6 +1,6 @@
1
- import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
2
1
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
3
- import { t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
2
+ import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
3
+ import { t as getGestureHost } from "./GestureHost-zNPZolYj.js";
4
4
  import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
5
5
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
6
6
  //#region src/gestures/fingerScroll.ts
@@ -1,5 +1,5 @@
1
1
  import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
2
- import { l as internals, t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
2
+ import { l as internals, t as getGestureHost } from "./GestureHost-zNPZolYj.js";
3
3
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
4
4
  import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
5
5
  //#region src/gestures/gestureSync.ts
@@ -1,4 +1,4 @@
1
- import { v as useClickableContainer } from "./pressSlot-BxYt3vyU.js";
1
+ import { _ as useClickableContainer } from "./pressSlot-WuaTVSU4.js";
2
2
  import { toValue } from "vue";
3
3
  //#region src/composables/useInputContainer.ts
4
4
  /** 点了以后接焦点的输入框类型:这些类型自己不会因为点击容器而聚焦。 */
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main } from "./FieldIcon-C6A69-um.js";
2
- import { t as _sfc_main$1 } from "./FieldInfoTip-C2jNfn3M.js";
2
+ import { t as _sfc_main$1 } from "./FieldInfoTip-i37zUogW.js";
3
3
  import { computed, toValue } from "vue";
4
4
  //#region src/composables/useInputStatusIcon.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { t as holdEntranceInput } from "./holdEntranceInput-C9J7g1Pu.js";
1
+ import { t as holdEntranceInput } from "./holdEntranceInput-Cs656CnM.js";
2
2
  import { nextTick, onBeforeUnmount, watch } from "vue";
3
3
  //#region src/layer/useMenuEntranceHold.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
+ import { a as withoutClickGuard, i as endsTouch, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
1
2
  import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
- import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
3
3
  import { s as currentGesture } from "./layerDepth-DxI-GE81.js";
4
4
  import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
5
5
  import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
@@ -36,6 +36,17 @@ function useLongPress(options) {
36
36
  let origin = null;
37
37
  /** 触摸事件自己的时钟上,这次按住到期的时刻。页面忙的时候事件晚到,时刻不会晚。 */
38
38
  let deadline = null;
39
+ /** 等着的这次按压是触摸起的,不是调 `start` 起的。 */
40
+ let touchPress = false;
41
+ /** 起这次按压的那根手指的标识,事件报得出来时才有。 */
42
+ let pressTouchId = null;
43
+ /** 触摸按压已经触发:这根手指抬起时取消它的抬起。 */
44
+ let liftClaimed = false;
45
+ let liftTouchId = null;
46
+ function dropLiftClaim() {
47
+ liftClaimed = false;
48
+ liftTouchId = null;
49
+ }
39
50
  function isDisabled() {
40
51
  return toValue(options.isDisabled) === true || toValue(options.disabled) === true;
41
52
  }
@@ -52,6 +63,8 @@ function useLongPress(options) {
52
63
  timer = null;
53
64
  deadline = null;
54
65
  if (from == null) return;
66
+ liftClaimed = touchPress;
67
+ liftTouchId = touchPress ? pressTouchId : null;
55
68
  claimPress();
56
69
  options.onLongPress({
57
70
  x: from.x,
@@ -68,12 +81,19 @@ function useLongPress(options) {
68
81
  function start(point, age = 0) {
69
82
  if (isDisabled()) return;
70
83
  cancel();
84
+ dropLiftClaim();
71
85
  origin = {
72
86
  x: point.x,
73
87
  y: point.y
74
88
  };
75
89
  timer = setTimeout(fire, Math.max(0, delayMs - age));
76
90
  }
91
+ /** 调用方自己跑指针状态机时起的按压:不是触摸起的,抬手不归这里管。 */
92
+ function startByHand(point) {
93
+ touchPress = false;
94
+ pressTouchId = null;
95
+ start(point);
96
+ }
77
97
  function moveTo(point) {
78
98
  if (origin == null) return false;
79
99
  if (Math.abs(point.x - origin.x) > moveCancelPx || Math.abs(point.y - origin.y) > moveCancelPx) {
@@ -87,6 +107,11 @@ function useLongPress(options) {
87
107
  * lift does.
88
108
  */
89
109
  function onTouchStart(event) {
110
+ if (isDisabled()) {
111
+ dropLiftClaim();
112
+ return;
113
+ }
114
+ if (liftClaimed && liftTouchId != null && event.changedTouches != null && Array.from(event.changedTouches).some((started) => started.identifier === liftTouchId)) dropLiftClaim();
90
115
  if ((event.touches?.length ?? 0) !== 1) {
91
116
  reportIfDue(event);
92
117
  cancel();
@@ -94,6 +119,8 @@ function useLongPress(options) {
94
119
  }
95
120
  const point = touchPoint(event);
96
121
  if (point == null) return;
122
+ touchPress = true;
123
+ pressTouchId = event.touches?.[0]?.identifier ?? null;
97
124
  start(point, msSinceInput(event.timeStamp, event));
98
125
  if (timer != null && Number.isFinite(event.timeStamp)) deadline = event.timeStamp + delayMs;
99
126
  }
@@ -107,12 +134,27 @@ function useLongPress(options) {
107
134
  const point = touchPoint(event);
108
135
  if (point != null) moveTo(point);
109
136
  }
137
+ /**
138
+ * 只有触发了的那根手指抬起才用掉认领,别的手指抬起不动。
139
+ * 按压已经起了作用,抬手不算轻点;浏览器自己没看到长按,会去点手指下的东西,
140
+ * 所以取消这次抬起,再布下点击守卫,接住 WebKit 仍可能补发的鼠标事件和点击(utils/clickGuard.ts)。
141
+ */
142
+ function spendLiftClaim(event) {
143
+ if (!liftClaimed || liftTouchId != null && !endsTouch(event, liftTouchId)) return;
144
+ dropLiftClaim();
145
+ if (event.cancelable !== true) return;
146
+ event.preventDefault();
147
+ const doc = event.view?.document ?? event.target?.ownerDocument ?? null;
148
+ if (doc != null) armClickGuard(doc, { takesLateMouse: true });
149
+ }
110
150
  function onTouchEnd(event) {
111
151
  reportIfDue(event);
112
152
  cancel();
153
+ spendLiftClaim(event);
113
154
  }
114
- function onTouchCancel() {
155
+ function onTouchCancel(event) {
115
156
  cancel();
157
+ spendLiftClaim(event);
116
158
  }
117
159
  if (getCurrentScope() != null) onScopeDispose(cancel);
118
160
  return {
@@ -124,7 +166,7 @@ function useLongPress(options) {
124
166
  onTouchStart
125
167
  },
126
168
  moveTo,
127
- start
169
+ start: startByHand
128
170
  };
129
171
  }
130
172
  //#endregion
@@ -161,23 +203,26 @@ function resetMenuPress() {
161
203
  disarmEveryClickGuard();
162
204
  }
163
205
  /**
164
- * 跟踪某个指针对应的 touch 标识。指针按下之后的下一个 touchstart 就是它的:
206
+ * 跟踪某个指针对应的 touch。指针按下之后的下一个 touchstart 就是它的:
165
207
  * WebKit 给 touch 的标识和指针 id 相同;Chromium 用自己的标识,这时唯一的那个改变的 touch 就是。
166
208
  * 有好几个 touch 而且没有一个和指针 id 对得上,就说不出是哪根。
167
- * 返回停止跟踪的函数,`identifier()` 取当前读到的标识。
209
+ * 返回停止跟踪的函数,`touch()` 取当前读到的 touch。
168
210
  */
169
211
  function trackTouchOfPointer(view, pointerId) {
170
- let identifier = null;
212
+ let named = null;
171
213
  const stop = () => view.removeEventListener("touchstart", onTouchStart, true);
172
214
  function onTouchStart(event) {
173
215
  stop();
174
216
  const touches = event.changedTouches == null ? [] : Array.from(event.changedTouches);
175
- if (touches.some((touch) => touch.identifier === pointerId)) identifier = pointerId;
176
- else identifier = touches.length === 1 ? touches[0].identifier : null;
217
+ const touch = touches.find((each) => each.identifier === pointerId) ?? (touches.length === 1 ? touches[0] : null);
218
+ named = touch == null ? null : {
219
+ identifier: touch.identifier,
220
+ target: touch.target ?? null
221
+ };
177
222
  }
178
223
  view.addEventListener("touchstart", onTouchStart, true);
179
224
  return {
180
- identifier: () => identifier,
225
+ touch: () => named,
181
226
  stop
182
227
  };
183
228
  }
@@ -613,12 +658,14 @@ function useMenuPress(options) {
613
658
  });
614
659
  let touchTracker = null;
615
660
  /** 手指松开时挑选的那根手指的 touchend 要取消;鼠标和笔没有 touchend。 */
616
- function armAfterRelease(doc, native, touchIdentifier) {
661
+ function armAfterRelease(doc, native, touch) {
617
662
  const isTouch = native?.pointerType === "touch";
618
663
  armClickGuard(doc, {
619
664
  staysInstalled: true,
620
665
  cancelsTouchEnd: isTouch,
621
- touchIdentifier: touchIdentifier ?? void 0
666
+ touchIdentifier: touch?.identifier ?? void 0,
667
+ touchTarget: touch?.target ?? void 0,
668
+ staysArmedAfterTouchEnd: true
622
669
  });
623
670
  }
624
671
  function setLit(row) {
@@ -667,16 +714,16 @@ function useMenuPress(options) {
667
714
  highlight(null);
668
715
  return;
669
716
  case "act": {
670
- const touchIdentifier = touchTracker?.identifier() ?? null;
717
+ const touch = touchTracker?.touch() ?? null;
671
718
  endGesture();
672
- armAfterRelease(doc, native, touchIdentifier);
719
+ armAfterRelease(doc, native, touch);
673
720
  if (native != null) activate(effect.row, native);
674
721
  return;
675
722
  }
676
723
  case "settle": {
677
- const touchIdentifier = touchTracker?.identifier() ?? null;
724
+ const touch = touchTracker?.touch() ?? null;
678
725
  endGesture();
679
- if (effect.stray) armAfterRelease(doc, native, touchIdentifier);
726
+ if (effect.stray) armAfterRelease(doc, native, touch);
680
727
  if (effect.dismiss) options.onDismiss?.();
681
728
  }
682
729
  }
@@ -1,14 +1,14 @@
1
- import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
2
1
  import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
3
2
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
3
+ import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
4
4
  import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
5
- import { t as animatorFor } from "./animator-D6Buqmbt.js";
5
+ import { t as animatorFor } from "./animator-L1kmTBSi.js";
6
6
  import { t as KEYBOARD_SPRING } from "./springs-BqW2WrS-.js";
7
7
  import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
8
8
  import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
9
9
  import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
10
10
  import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
11
- import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-DiF6K9Lm.js";
11
+ import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-DgecasHn.js";
12
12
  import { readonly, shallowRef, toValue, watch } from "vue";
13
13
  //#region src/keyboard/keyboardRide.ts
14
14
  function liftFor(target, animator, height, offset, win, isHostOwned) {
@@ -1,9 +1,9 @@
1
- import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
2
- import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
1
+ import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, f as isTrackedByGroup, i as finger, l as PRESSABLE_ATTRIBUTE, n as apply, o as releaseIfDead, p as pressSurfaceAt, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
3
2
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
4
3
  import { s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
4
+ import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
5
+ import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
5
6
  import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-VrM5-7aV.js";
6
- import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-BxYt3vyU.js";
7
7
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
8
8
  import "../styles/pressable.css";
9
9
  //#region src/composables/internal/pressButton.ts
@@ -1,10 +1,10 @@
1
1
  import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
2
2
  import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
3
- import { t as animatorFor } from "./animator-D6Buqmbt.js";
3
+ import { t as animatorFor } from "./animator-L1kmTBSi.js";
4
4
  import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
5
5
  import { d as springs } from "./springs-BqW2WrS-.js";
6
6
  import { t as project } from "./projection-BafBD5NP.js";
7
- import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-C9UA4vam.js";
7
+ import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-2W9ef4QQ.js";
8
8
  import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-CE3LYEUx.js";
9
9
  import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
10
10
  //#region src/composables/useHotkeys.ts
@@ -257,7 +257,7 @@ function createRegionMotion(host) {
257
257
  const element = pane?.element;
258
258
  const view = element?.ownerDocument.defaultView;
259
259
  if (closingSlide == null || element == null || view == null) return 0;
260
- const elapsed = typeof element.getAnimations === "function" ? Number(element.getAnimations().find((motion) => (motion.playState === "running" || motion.playState === "paused") && isScriptMotion(motion))?.currentTime ?? Number.POSITIVE_INFINITY) : view.performance.now() - closingSlide.startedAt;
260
+ const elapsed = Math.max(0, typeof element.getAnimations === "function" ? Number(element.getAnimations().find((motion) => (motion.playState === "running" || motion.playState === "paused") && isScriptMotion(motion))?.currentTime ?? Number.POSITIVE_INFINITY) : view.performance.now() - closingSlide.startedAt);
261
261
  const share = closingSlide.remaining(elapsed);
262
262
  if (!(share > 0)) return 0;
263
263
  return closingSlide.readShown?.() ?? closingSlide.fromSize * share;
@@ -277,7 +277,10 @@ function createRegionMotion(host) {
277
277
  return;
278
278
  }
279
279
  const motions = pane == null ? [] : slideMotionsOf(pane);
280
- for (const motion of motions) motion.pause();
280
+ for (const motion of motions) {
281
+ motion.pause();
282
+ if (Number(motion.currentTime) < 0) motion.currentTime = 0;
283
+ }
281
284
  const elapsed = Number(motions[0]?.currentTime ?? 0);
282
285
  const share = slide.remaining(Number.isFinite(elapsed) ? elapsed : 0);
283
286
  const shutSize = share < .98 ? (shownSize - slide.fromSize * share) / (1 - share) : 0;