@astryx-vue/core 0.42.0 → 0.42.2
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.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-Cld8wc2u.js → AlertDialog-sk5DEUX7.js} +6 -6
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Y-rwHGxA.js → AppShell-BkFP6tZb.js} +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-z50mYJor.js → Avatar-BQz-P6TD.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CU1zqtTi.js → AvatarGroup-BvJTbvr_.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-5KOS4fe8.js → Banner-CW4g5z40.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-u57AJshc.js → BottomSheet-CpIDC6Wv.js} +1 -1
- package/dist/{BottomSheet-B8frtWqm.js → BottomSheet-ngtupehG.js} +7 -7
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-Bcrk04nL.js → Breadcrumbs-Bm8vn9Cv.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-tVILPfaj.js → Button-CTVXQgV3.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-D7p8oEry.js → ButtonGroup-CknFA9IA.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DlHeba5J.js → Carousel-B0ZOSlPH.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-B0jgkmWf.js → Chat-DqwHn6hi.js} +7 -7
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BhKf3JOh.js → CheckboxInput-ChbqO3Hp.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-DFCDLwLP.js → CheckboxListItem-3y4ehVhz.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DyBa2X4I.js → ClickableCard-Dkt25nJP.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BtJV5J-h.js → Code-BWZ2fvkr.js} +1 -1
- package/dist/{CodeBlock-D1i3lEK3.js → CodeBlock-B__g42B_.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-CXbcOn80.js → Collapsible-DqEriJMb.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DyjB9xE_.js → CommandPalette-CIpvefL3.js} +3 -3
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-MRuOupEd.js → ComplexSelector-CXEBaPbo.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-JZUal7pu.js → ContextMenu-B9UlXANv.js} +5 -5
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B76O2ceL.js → DateInput-BMAcydbp.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B8ZWK6sm.js → DateRangeInput-DLvd8izI.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DOaPB2D4.js → DateTimeInput-Cq57Vm5c.js} +5 -5
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CjN3cV-b.js → Dialog-6rKG9kce.js} +1 -1
- package/dist/{Dialog-B2-5xYs2.js → Dialog-CEbICn0m.js} +2 -2
- package/dist/{DialogHeader-B4cnOihd.js → DialogHeader-rLh39zHH.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-dk9etcN3.js → Drawer-Dw1wyfvQ.js} +3 -3
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-Dqkyvelz.js → DropdownMenu-bFq5UM7K.js} +7 -7
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-uHOykbeo.js → EmptyState-DOMOEsvj.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-B_GThk2X.js → Field-DJGFZuwh.js} +1 -1
- package/dist/{FieldInfoTip-jhm02XZs.js → FieldInfoTip-l_ke1Zlh.js} +1 -1
- package/dist/{FieldLabel-C0XDwWCd.js → FieldLabel-BZiHqHsQ.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CbXrw3RO.js → FileInput-BOT35CQc.js} +3 -3
- package/dist/{geometry-ae8bOxQ5.js → GestureHost-CRgadcBb.js} +2 -29
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BFJhZInd.js → Heading-CsSZgiqn.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Cbxy2KEM.js → HoverCard-BmehvS0D.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CU1kvO7X.js → IconButton-89mASa8g.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BwxUx7Hk.js → InfoTip-B_7kJX7x.js} +2 -2
- package/dist/{InputClearButton-CN8J7JOl.js → InputClearButton-BC1ytQT5.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-Ca-SOzyp.js → InputGroup-M3mSe3lV.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-Ddr5L4mQ.js → InternationalizationProvider-CfP0uroW.js} +1 -1
- package/dist/{Item-B6nYjAw3.js → Item-DznHXYbG.js} +7 -7
- package/dist/{LayerContentBoundary-tgsCvoNX.js → LayerContentBoundary-CMjCvF35.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C7oS06UY.js → Layout-DlfCompe.js} +1 -1
- package/dist/{LayoutPanel-BwvUhSM5.js → LayoutPanel-DCDIV9LU.js} +2 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DCI-S6Ln.js → Lightbox-Ge25N7ec.js} +13 -12
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B5CJso43.js → Link-5KuMIFYl.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-DuWNjAKk.js → List-BVpWTW6J.js} +2 -2
- package/dist/{ListItem-BxQt4Emy.js → ListItem-BzOD8HbS.js} +3 -3
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BFV7g8oa.js → Markdown-BUkKWRcl.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-VB6SzHYo.js → MobileNavToggle-DYKJC6X6.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DOVbdDmP.js → MoreMenu-CsPdGjuE.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BLESAk-K.js → MultiSelector-TcYQyyki.js} +5 -5
- package/dist/{NavDisclosure-tEaEwaA0.js → NavDisclosure-D-vUD3Bl.js} +1 -1
- package/dist/{NavHeadingSurface-CwSYyXFb.js → NavHeadingSurface-D2UWKpSw.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BR639emm.js → NavItem-BY24W2B0.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-CqhjkZuz.js → NavMenu-DF4JqIed.js} +2 -2
- package/dist/{NavMenuItem-C9e62bSc.js → NavMenuItem-CGGECLdG.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C7cRBlQm.js → NumberInput-BuQf0mvj.js} +4 -4
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BcZMmO9Y.js → Outline-CCnTR9Pe.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-cjl0AaEP.js → OverflowList-uk0l80Zd.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BnA277o8.js → Pagination-1ZayZgit.js} +2 -2
- package/dist/{PanGestureRecognizer-BFSO5U4N.js → PanGestureRecognizer-_yCWSqMD.js} +4 -3
- package/dist/{PickerWheel-CWT7l-9Q.js → PickerWheel-DJqK1f2w.js} +10 -10
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DfO-mkcm.js → Popover-D34Lo-Cr.js} +5 -5
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CvBTNf6L.js → PowerSearch-DBUQWnPi.js} +27 -27
- package/dist/{PressTracker-DDRxFc0Y.js → PressTracker-B_ffL9rM.js} +2 -2
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-D4br-4_x.js → ProgressBar-Otv4DLQP.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CVOlUPbf.js → RadioGroup-BYZ9mspa.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-5y613Xrt.js → RadioListItem-BjiT8DAp.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-C7xEokaQ.js → ResizeHandle-Ch18ZZOk.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-B6BQlTfN.js → SegmentedControl-DgZ2y1ff.js} +7 -7
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-C2hl7HBW.js → SelectableCard-dUjsGX2o.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-Dw_0e0zY.js → Selector-P_jhOpNI.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-dsff7R2R.js → SideNav-D-ubf-w7.js} +8 -8
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CN5NOM10.js → Slider-BrZeUJJF.js} +10 -10
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-arRs8rKk.js → StatusDot-Ce31aeru.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BYZasZK7.js → Stepper-BL01wjk9.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DHr3_O1r.js → Switch-MeieW4dP.js} +9 -9
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-O34fxJlZ.js → TabList-XKIbMcy5.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-sTJtTqmi.js → Table-x-1Z7nWH.js} +12 -12
- package/dist/{TapGestureRecognizer-DCiP88h8.js → TapGestureRecognizer-CH88amVE.js} +4 -3
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DHm9r3Yh.js → Text-BLPg6wdX.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-TO_A1D_W.js → TextArea-DilGjhXe.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-jIBboBDS.js → TextInput-Dd0BHZ5n.js} +5 -5
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CRltyNsq.js → Thumbnail-CdAR7gMc.js} +3 -3
- package/dist/{TimeField-BG409_10.js → TimeField-BqOuAcGd.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CQzBs55U.js → TimeInput-n9ANugSL.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-zNCSMU7S.js → Timer-i3ujG9pH.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-s4Nksy5i.js → Timestamp-Di_Ge164.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DcKB9QHW.js → Toast-BHbQcMjq.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DZgHhJd7.js → ToggleButton-D5OyWtXD.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B6mV8hyk.js → Token-BYl3tF1p.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BvCiuyhk.js → Tokenizer-CHhnsfO1.js} +12 -12
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BuPbbGtv.js → Tooltip-CFQrHG0a.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-xKD14HTR.js → TopNav-Bvjt444e.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BOr0GpJC.js → TreeList-Db0dqCd9.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C18-lx2P.js → Typeahead-oPhwt4z4.js} +5 -5
- package/dist/{VelocityTracker-D5wT6A0d.js → VelocityTracker-Cw1aVRnL.js} +1 -1
- package/dist/{accessibleName-Chl0zwq_.js → accessibleName-BVk1Rzrl.js} +1 -1
- package/dist/{boxHold-BCbXt9_d.js → boxHold-DNjO01uo.js} +1 -1
- package/dist/{chat-BUFYB3bA.js → chat-DPxoTm_S.js} +2 -0
- package/dist/composables/index.js +10 -10
- package/dist/{composables-CKAzgdPD.js → composables-CJ5vBpZ6.js} +11 -11
- package/dist/{decay-CUtQFEXK.js → decay-ClFADeqT.js} +1 -1
- package/dist/{focusLeaving-BbZ69DYV.js → focusLeaving-Df0Dqr5v.js} +1 -1
- package/dist/geometry-BDCUnbgh.js +28 -0
- package/dist/{gestures-D_ih8YYG.js → gestures-BpGkqgpV.js} +1 -1
- package/dist/{haptics-BPQp81pc.js → haptics-DaX2u-jB.js} +1 -1
- package/dist/{index-B9LwZ19y.d.ts → index-B75VMKvS.d.ts} +4 -4
- package/dist/{index-C2dLjYoW.d.ts → index-B8XkUCzI.d.ts} +1 -1
- package/dist/{index-v27zktLu.d.ts → index-C4viybIG.d.ts} +3 -3
- package/dist/{index-Ds4dOCSy.d.ts → index-CCa_dvoF.d.ts} +3 -3
- package/dist/{index-lNjYxF1K.d.ts → index-CHnP91LU.d.ts} +33 -33
- package/dist/{index-3vt1Ew4A.d.ts → index-CJT9kM7e.d.ts} +2 -2
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-ZXrvTM3A.d.ts → index-CqXJYXT-.d.ts} +2 -2
- package/dist/{index-DXHmlFcC.d.ts → index-CuW4AQ7M.d.ts} +3 -3
- package/dist/{index-BItxjc3w.d.ts → index-DOqxWQJp.d.ts} +1 -1
- package/dist/{index-J83fLEyo.d.ts → index-DgNCHxvu.d.ts} +2 -2
- package/dist/{index-Dn6iAyK4.d.ts → index-EAKu_r6h.d.ts} +6 -6
- package/dist/{index-tdOyqA_U.d.ts → index-Pad9p8CU.d.ts} +2 -2
- package/dist/{index-BDJQW9cW.d.ts → index-ZtHb6soN.d.ts} +32 -39
- package/dist/index.d.ts +17 -16
- package/dist/index.js +109 -107
- package/dist/internal/touch.d.ts +3467 -0
- package/dist/internal/touch.js +230 -0
- package/dist/{itemSlots-Dl7Ipj5I.js → itemSlots-CIQbrKkZ.js} +4 -4
- package/dist/{layerDepth-D576XVps.js → layerDepth-DxI-GE81.js} +1 -1
- package/dist/{lazyBottomSheet-gQtGKE8w.js → lazyBottomSheet-BzI1mp-I.js} +1 -1
- package/dist/{loadCatalog-DfwwR4ox.d.ts → loadCatalog-Cm394Q3F.d.ts} +2 -0
- package/dist/{loadCatalog-Dvlsgn71.js → loadCatalog-DXx3soG1.js} +2 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-BgXR3tSm.js → locale-5NXEHp0U.js} +1 -1
- package/dist/{position-DD8UQJ2A.js → position--G96FPl4.js} +1 -1
- package/dist/{pressGesture-CwmZDuSC.js → pressGesture-VrM5-7aV.js} +1 -1
- package/dist/{pressSlot-31XyOhUS.js → pressSlot-DIN1AmiA.js} +1 -1
- package/dist/{projection-Ccz44WX4.js → projection-BafBD5NP.js} +1 -1
- package/dist/{resizableChannel-CABtOiJL.js → resizableChannel-C9UA4vam.js} +1 -1
- package/dist/{resolveSnapPoint-C7GZY6jT.js → resolveSnapPoint-Cm2KePTm.js} +1 -1
- package/dist/{rideKeyboard-BldiTgxS.js → rideKeyboard-SnVXHPCp.js} +1 -1
- package/dist/{rubberBand-Ct9HFML5.js → rubberBand-CE3LYEUx.js} +1 -1
- package/dist/scrollAnchoring-CNplZXRt.js +60 -0
- package/dist/sharedResizeObserver-DojOEX9E.d.ts +62 -0
- package/dist/{snapPagingCatcher-RkUaZdWD.js → snapPagingCatcher-Cskp7W35.js} +5 -4
- package/dist/{springs-B5hVbZta.js → springs-BqW2WrS-.js} +1 -1
- package/dist/{stillPointerGate-CCFCP1uz.js → stillPointerGate-D15jGSjP.js} +1 -1
- package/dist/{tooltipFocusRules-CfJwTrhE.js → tooltipFocusRules-D468Tl5q.js} +2 -2
- package/dist/{tooltipTriggerRules-DRhcB-wA.js → tooltipTriggerRules-BjnT3wIz.js} +1 -1
- package/dist/{useActionGroupTracking-CioHSqgG.js → useActionGroupTracking-CGikRIWR.js} +3 -3
- package/dist/{useChatStreamScroll-BQpGHGAr.js → useChatStreamScroll-CGHtw12w.js} +1 -59
- package/dist/{useDismiss-Dq7HNw2m.js → useDismiss-ChlwPVfw.js} +1 -1
- package/dist/useFingerScroll-DO4LVzDf.js +214 -0
- package/dist/{useGestureRecognizer-CtfxP4uw.js → useGestureRecognizer-CozA1twZ.js} +1 -1
- package/dist/{useInputStatusIcon-D0xNp9jO.js → useInputStatusIcon-CNYJtEbA.js} +1 -1
- package/dist/{useMenuPress-B2Zt5xc5.js → useMenuPress-CARtL4Wa.js} +1 -1
- package/dist/{useMobileKeyboard-CN6o0BrJ.js → useMobileKeyboard-DcvMptTe.js} +2 -2
- package/dist/{usePressFeedback-D4oohqP5.js → usePressFeedback-DkWA1son.js} +3 -3
- package/dist/{useResizable-Dme0X_ZM.js → useResizable-mkUwYfmy.js} +4 -4
- package/dist/{useTooltip-Dg2459oV.js → useTooltip-CdD6ivAv.js} +4 -4
- package/dist/{useTouchHitArea-rwyNMxFb.js → useTouchHitArea-CxqNaIyt.js} +1 -1
- package/dist/{useTouchTriggerInternal-DZ_e8l4G.js → useTouchTriggerInternal-B9YsuMRa.js} +1 -1
- package/dist/{useTruncationTooltip-CCVsMc8c.js → useTruncationTooltip-C37kvtXu.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-CKEuRCOZ.js → useTypeaheadMenuConfig-DHX88vqs.js} +1 -1
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +3 -1
- package/package.json +5 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
2
2
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
3
|
+
import { i as scrollsPage, n as scrollEventTarget, r as scrollportTop, t as setScrollAnchoringOff } from "./scrollAnchoring-CNplZXRt.js";
|
|
3
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
4
5
|
//#region src/composables/useChatNewMessages.ts
|
|
5
6
|
/** Class that marks a transcript row `useChatNewMessages` watches. */
|
|
@@ -48,65 +49,6 @@ function useChatNewMessages(options) {
|
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
//#endregion
|
|
51
|
-
//#region src/utils/pageScroller.ts
|
|
52
|
-
/**
|
|
53
|
-
* @file pageScroller.ts
|
|
54
|
-
* @input 一个滚动容器元素
|
|
55
|
-
* @output scrollsPage、scrollportTop、scrollEventTarget:容器本身就是整页滚动者时的几条规则
|
|
56
|
-
* @position 页面滚动的判断只在这里写一遍,聊天的跟随滚动读它
|
|
57
|
-
*/
|
|
58
|
-
/**
|
|
59
|
-
* 元素是不是整页的滚动者。页面滚动时根元素的盒子跟着一起移动,它的滚动事件触发在 document 上。
|
|
60
|
-
* 即便滚动元素是 body(怪异模式),documentElement 也算:它的盒子照样随页面移动。
|
|
61
|
-
*/
|
|
62
|
-
function scrollsPage(el) {
|
|
63
|
-
const doc = el.ownerDocument;
|
|
64
|
-
return el === doc.scrollingElement || el === doc.documentElement;
|
|
65
|
-
}
|
|
66
|
-
/** 容器可见区域的顶边(客户端坐标)。整页滚动者的顶边是视口顶部,它自己的盒子比视口顶部高出整段滚动量。 */
|
|
67
|
-
function scrollportTop(el) {
|
|
68
|
-
return scrollsPage(el) ? 0 : el.getBoundingClientRect().top;
|
|
69
|
-
}
|
|
70
|
-
/** 容器的滚动事件触发在哪:整页滚动者触发在 document 上。 */
|
|
71
|
-
function scrollEventTarget(el) {
|
|
72
|
-
return scrollsPage(el) ? el.ownerDocument : el;
|
|
73
|
-
}
|
|
74
|
-
//#endregion
|
|
75
|
-
//#region src/composables/internal/scrollAnchoring.ts
|
|
76
|
-
/**
|
|
77
|
-
* @file scrollAnchoring.ts
|
|
78
|
-
* @input 一个由组件自己掌管位置的滚动容器
|
|
79
|
-
* @output setScrollAnchoringOff:在元素上关掉浏览器的滚动锚定,或还回去
|
|
80
|
-
* @position 私有滚动锚定属性的唯一属主:属性名和规则只在这个文件里写。聊天的跟随滚动在贴着末尾时调用它
|
|
81
|
-
*/
|
|
82
|
-
const SCROLL_ANCHORING = "data-astryx-scroll-anchoring";
|
|
83
|
-
/** 写在滚动容器上:这里的浏览器锚定已关。 */
|
|
84
|
-
const OFF = "off";
|
|
85
|
-
/** 写在放这条规则的那一个 `<style>` 上。 */
|
|
86
|
-
const RULE = "rule";
|
|
87
|
-
/**
|
|
88
|
-
* 每个文档只加一次这条规则。规则挂在属性上而不是元素的行内样式,所以调用方自己的
|
|
89
|
-
* `overflow-anchor` 既不会被读、也不会被写或还原,属性去掉后它重新生效。
|
|
90
|
-
* 这条规则不抢优先级:调用方想在这个容器上自己决定锚定时,行内样式仍然优先。
|
|
91
|
-
*/
|
|
92
|
-
function ensureRule(doc) {
|
|
93
|
-
if (doc.head.querySelector(`[${SCROLL_ANCHORING}="${RULE}"]`) != null) return;
|
|
94
|
-
const style = doc.createElement("style");
|
|
95
|
-
style.setAttribute(SCROLL_ANCHORING, RULE);
|
|
96
|
-
style.textContent = `[${SCROLL_ANCHORING}="${OFF}"]{overflow-anchor:none}`;
|
|
97
|
-
doc.head.appendChild(style);
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* `isOff` 为真时关掉 `element` 上浏览器的滚动锚定,为假时还回去。
|
|
101
|
-
* 组件独自移动容器位置期间调用,免得浏览器的原生锚定再移动一次。
|
|
102
|
-
*/
|
|
103
|
-
function setScrollAnchoringOff(element, isOff) {
|
|
104
|
-
if (isOff) {
|
|
105
|
-
ensureRule(element.ownerDocument);
|
|
106
|
-
element.setAttribute(SCROLL_ANCHORING, OFF);
|
|
107
|
-
} else element.removeAttribute(SCROLL_ANCHORING);
|
|
108
|
-
}
|
|
109
|
-
//#endregion
|
|
110
52
|
//#region src/composables/internal/streamFollowing.ts
|
|
111
53
|
/**
|
|
112
54
|
* @file streamFollowing.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
|
|
2
2
|
import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
|
|
3
|
-
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-
|
|
3
|
+
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-DxI-GE81.js";
|
|
4
4
|
import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/layer/anchorClear.ts
|
|
6
6
|
function overlapsAnchor(anchor, top, left, layer) {
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
3
|
+
import { t as getGestureHost } from "./GestureHost-CRgadcBb.js";
|
|
4
|
+
import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
5
|
+
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
6
|
+
//#region src/gestures/fingerScroll.ts
|
|
7
|
+
/**
|
|
8
|
+
* Where the browser sends no `scrollend`, how long a finger-driven scroller
|
|
9
|
+
* stays quiet (no scroll event) before its scroll counts as ended, in ms:
|
|
10
|
+
* longer than the gap between a momentum scroll's events, short enough that
|
|
11
|
+
* a program's scroll right after it is not read as the finger's.
|
|
12
|
+
*/
|
|
13
|
+
const SCROLL_END_FALLBACK_MS = 150;
|
|
14
|
+
const watches = /* @__PURE__ */ new WeakMap();
|
|
15
|
+
/**
|
|
16
|
+
* A scroller's finger scroll is over at `at`. It stops counting as the
|
|
17
|
+
* finger's, and its span stays readable. Then its end listeners hear of it,
|
|
18
|
+
* so one that reads isFingerScroll already reads false.
|
|
19
|
+
*/
|
|
20
|
+
function endFingerScroll(watch, scroller, at) {
|
|
21
|
+
if (!watch.fingerScrollers.delete(scroller)) return;
|
|
22
|
+
watch.lastFingerScrolls.set(scroller, {
|
|
23
|
+
start: watch.fingerScrollStarts.get(scroller) ?? at,
|
|
24
|
+
end: at
|
|
25
|
+
});
|
|
26
|
+
watch.fingerScrollStarts.delete(scroller);
|
|
27
|
+
for (const listener of [...watch.endListeners.get(scroller) ?? []]) listener();
|
|
28
|
+
}
|
|
29
|
+
function start(host, watch) {
|
|
30
|
+
const doc = host.document;
|
|
31
|
+
const now = () => (doc.defaultView?.performance ?? performance).now();
|
|
32
|
+
const scrollerOf = (event) => {
|
|
33
|
+
const target = event.target === doc ? doc : event.target;
|
|
34
|
+
return isNode(target) ? target : null;
|
|
35
|
+
};
|
|
36
|
+
const endScroll = (scroller) => {
|
|
37
|
+
if (!watch.fingerScrollers.has(scroller)) return;
|
|
38
|
+
if (host.isFingerDownIn(scroller)) watch.endedWhileDown.add(scroller);
|
|
39
|
+
else endFingerScroll(watch, scroller, now());
|
|
40
|
+
};
|
|
41
|
+
const scrollEndFallbacks = /* @__PURE__ */ new Map();
|
|
42
|
+
const clearScrollEndFallback = (scroller) => {
|
|
43
|
+
const timer = scrollEndFallbacks.get(scroller);
|
|
44
|
+
if (timer != null) {
|
|
45
|
+
clearTimeout(timer);
|
|
46
|
+
scrollEndFallbacks.delete(scroller);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const hasScrollEnd = () => {
|
|
50
|
+
const view = doc.defaultView;
|
|
51
|
+
return view != null && "onscrollend" in view;
|
|
52
|
+
};
|
|
53
|
+
const onScroll = (event) => {
|
|
54
|
+
const scroller = scrollerOf(event);
|
|
55
|
+
if (scroller == null || !watch.scrollers.has(scroller) || host.isOwnScroll(scroller)) return;
|
|
56
|
+
watch.endedWhileDown.delete(scroller);
|
|
57
|
+
if (host.isFingerDownIn(scroller)) {
|
|
58
|
+
if (!watch.fingerScrollers.has(scroller)) watch.fingerScrollStarts.set(scroller, watch.landings.get(scroller) ?? now());
|
|
59
|
+
watch.fingerScrollers.add(scroller);
|
|
60
|
+
}
|
|
61
|
+
if (watch.fingerScrollers.has(scroller) && !hasScrollEnd()) {
|
|
62
|
+
clearScrollEndFallback(scroller);
|
|
63
|
+
scrollEndFallbacks.set(scroller, setTimeout(() => {
|
|
64
|
+
scrollEndFallbacks.delete(scroller);
|
|
65
|
+
endScroll(scroller);
|
|
66
|
+
}, SCROLL_END_FALLBACK_MS));
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const onScrollEnd = (event) => {
|
|
70
|
+
const scroller = scrollerOf(event);
|
|
71
|
+
if (scroller != null) endScroll(scroller);
|
|
72
|
+
};
|
|
73
|
+
const onFingers = () => {
|
|
74
|
+
for (const scroller of watch.scrollers.keys()) if (!host.isFingerDownIn(scroller)) watch.landings.delete(scroller);
|
|
75
|
+
else if (!watch.landings.has(scroller)) watch.landings.set(scroller, now());
|
|
76
|
+
for (const scroller of watch.endedWhileDown) if (!host.isFingerDownIn(scroller)) {
|
|
77
|
+
watch.endedWhileDown.delete(scroller);
|
|
78
|
+
endFingerScroll(watch, scroller, now());
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
const view = doc.defaultView;
|
|
82
|
+
let unsubscribers = [];
|
|
83
|
+
const listen = (on) => {
|
|
84
|
+
if (view == null || on === unsubscribers.length > 0) return;
|
|
85
|
+
if (on) unsubscribers = [subscribeInput(view, "scroll", onScroll), subscribeInput(view, "scrollend", onScrollEnd)];
|
|
86
|
+
else {
|
|
87
|
+
for (const stop of unsubscribers.splice(0)) stop();
|
|
88
|
+
for (const scroller of [...scrollEndFallbacks.keys()]) clearScrollEndFallback(scroller);
|
|
89
|
+
watch.endedWhileDown.clear();
|
|
90
|
+
watch.landings.clear();
|
|
91
|
+
for (const scroller of [...watch.fingerScrollers]) endFingerScroll(watch, scroller, now());
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const stopWatchingPointer = watchCoarsePointer(view, listen);
|
|
95
|
+
listen(isCoarsePointer(view));
|
|
96
|
+
const unsubscribe = host.onFingersChange(onFingers);
|
|
97
|
+
const release = host.retain();
|
|
98
|
+
return () => {
|
|
99
|
+
stopWatchingPointer();
|
|
100
|
+
listen(false);
|
|
101
|
+
unsubscribe();
|
|
102
|
+
release();
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Keep track of whether the scrolls of `scroller` (an element in `host`'s
|
|
107
|
+
* document, or the document itself) are a finger's, for isFingerScroll,
|
|
108
|
+
* until the returned function runs. `onEnd`, when given, runs each time a
|
|
109
|
+
* finger's scroll on the scroller ends (its `scrollend` after the lift, the
|
|
110
|
+
* lift after a `scrollend` that came while the finger rested, the quiet
|
|
111
|
+
* fallback, or the pointer turning fine), after isFingerScroll turns false.
|
|
112
|
+
* Stopping the watch does not call it.
|
|
113
|
+
* Internal: not exported from the package.
|
|
114
|
+
*/
|
|
115
|
+
function watchFingerScrolls(host, scroller, onEnd) {
|
|
116
|
+
let watch = watches.get(host);
|
|
117
|
+
if (watch == null) {
|
|
118
|
+
watch = {
|
|
119
|
+
scrollers: /* @__PURE__ */ new Map(),
|
|
120
|
+
fingerScrollers: /* @__PURE__ */ new Set(),
|
|
121
|
+
endedWhileDown: /* @__PURE__ */ new Set(),
|
|
122
|
+
endListeners: /* @__PURE__ */ new Map(),
|
|
123
|
+
landings: /* @__PURE__ */ new Map(),
|
|
124
|
+
fingerScrollStarts: /* @__PURE__ */ new Map(),
|
|
125
|
+
lastFingerScrolls: /* @__PURE__ */ new Map(),
|
|
126
|
+
stop: null
|
|
127
|
+
};
|
|
128
|
+
watches.set(host, watch);
|
|
129
|
+
}
|
|
130
|
+
const owned = watch;
|
|
131
|
+
owned.scrollers.set(scroller, (owned.scrollers.get(scroller) ?? 0) + 1);
|
|
132
|
+
const listener = onEnd == null ? null : () => onEnd();
|
|
133
|
+
if (listener != null) {
|
|
134
|
+
const listeners = owned.endListeners.get(scroller) ?? /* @__PURE__ */ new Set();
|
|
135
|
+
listeners.add(listener);
|
|
136
|
+
owned.endListeners.set(scroller, listeners);
|
|
137
|
+
}
|
|
138
|
+
owned.stop ??= start(host, owned);
|
|
139
|
+
let isWatching = true;
|
|
140
|
+
return () => {
|
|
141
|
+
if (!isWatching) return;
|
|
142
|
+
isWatching = false;
|
|
143
|
+
if (listener != null) {
|
|
144
|
+
const listeners = owned.endListeners.get(scroller);
|
|
145
|
+
listeners?.delete(listener);
|
|
146
|
+
if (listeners?.size === 0) owned.endListeners.delete(scroller);
|
|
147
|
+
}
|
|
148
|
+
const count = (owned.scrollers.get(scroller) ?? 1) - 1;
|
|
149
|
+
if (count > 0) {
|
|
150
|
+
owned.scrollers.set(scroller, count);
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
owned.scrollers.delete(scroller);
|
|
154
|
+
owned.fingerScrollers.delete(scroller);
|
|
155
|
+
owned.endedWhileDown.delete(scroller);
|
|
156
|
+
owned.landings.delete(scroller);
|
|
157
|
+
owned.fingerScrollStarts.delete(scroller);
|
|
158
|
+
owned.lastFingerScrolls.delete(scroller);
|
|
159
|
+
if (owned.scrollers.size === 0) {
|
|
160
|
+
owned.stop?.();
|
|
161
|
+
owned.stop = null;
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Whether the scroll now moving a watched `scroller` is a finger's. Given a
|
|
167
|
+
* time on the page's clock (`performance.now()`, like an IntersectionObserver
|
|
168
|
+
* entry's `time`), whether the scroll at that time was a finger's. A finger's
|
|
169
|
+
* scroll runs from the finger's landing to its end, momentum included. A
|
|
170
|
+
* report that runs late, such as an IntersectionObserver callback on a busy
|
|
171
|
+
* page, passes the time it describes.
|
|
172
|
+
* Internal: not exported from the package.
|
|
173
|
+
*/
|
|
174
|
+
function isFingerScroll(host, scroller, at) {
|
|
175
|
+
const watch = watches.get(host);
|
|
176
|
+
if (watch == null) return false;
|
|
177
|
+
if (at == null) return watch.fingerScrollers.has(scroller);
|
|
178
|
+
const start = watch.fingerScrollStarts.get(scroller);
|
|
179
|
+
if (start != null && at >= start) return true;
|
|
180
|
+
const last = watch.lastFingerScrolls.get(scroller);
|
|
181
|
+
return last != null && at >= last.start && at <= last.end;
|
|
182
|
+
}
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/gestures/useFingerScroll.ts
|
|
185
|
+
/** The document a scroller is in: itself, for the page's own scroll. */
|
|
186
|
+
function documentOf(node) {
|
|
187
|
+
return isDocument(node) ? node : node.ownerDocument;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Watch a scroller's finger scrolls. Pass a ref or getter naming a
|
|
191
|
+
* scrolling element, or the document for the page's own scroll. Returns a
|
|
192
|
+
* reader: `true` while the scroller's scroll is a finger's. Given a time on
|
|
193
|
+
* the page's clock (`performance.now()`, as an IntersectionObserver entry's
|
|
194
|
+
* `time` is), it reads whether the scroll at that time was a finger's.
|
|
195
|
+
* Internal: exported from the package only as `unstable_useFingerScroll`.
|
|
196
|
+
*/
|
|
197
|
+
function useFingerScroll(scroller, { onEnd } = {}) {
|
|
198
|
+
/** The node the watch is on now, for the reader. */
|
|
199
|
+
let watched = null;
|
|
200
|
+
useAttachment(scroller, (node) => {
|
|
201
|
+
watched = node;
|
|
202
|
+
const stop = watchFingerScrolls(getGestureHost(documentOf(node)), node, () => onEnd?.());
|
|
203
|
+
return () => {
|
|
204
|
+
stop();
|
|
205
|
+
watched = null;
|
|
206
|
+
};
|
|
207
|
+
});
|
|
208
|
+
return (at) => {
|
|
209
|
+
const node = watched;
|
|
210
|
+
return node != null && isFingerScroll(getGestureHost(documentOf(node)), node, at);
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
//#endregion
|
|
214
|
+
export { useFingerScroll as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as internals, t as getGestureHost } from "./GestureHost-CRgadcBb.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,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-C6A69-um.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-l_ke1Zlh.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
3
|
-
import { s as currentGesture } from "./layerDepth-
|
|
3
|
+
import { s as currentGesture } from "./layerDepth-DxI-GE81.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
5
5
|
import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
|
|
6
6
|
import { r as isInputShield } from "./inputHoldState-Bav14W7v.js";
|
|
@@ -3,12 +3,12 @@ import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js"
|
|
|
3
3
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
4
4
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
5
5
|
import { t as animatorFor } from "./animator-D6Buqmbt.js";
|
|
6
|
-
import { t as KEYBOARD_SPRING } from "./springs-
|
|
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-
|
|
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-SnVXHPCp.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
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
|
|
3
3
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
4
|
-
import { s as UIKIT_PRESS } from "./gestures-
|
|
5
|
-
import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-
|
|
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-
|
|
4
|
+
import { s as UIKIT_PRESS } from "./gestures-BpGkqgpV.js";
|
|
5
|
+
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-DIN1AmiA.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,11 +1,11 @@
|
|
|
1
1
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
2
2
|
import { t as animatorFor } from "./animator-D6Buqmbt.js";
|
|
3
3
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as springs } from "./springs-BqW2WrS-.js";
|
|
5
5
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
6
|
-
import { t as project } from "./projection-
|
|
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-
|
|
8
|
-
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-
|
|
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";
|
|
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
|
|
11
11
|
const KEY_ALIASES = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
3
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
4
|
-
import { t as _sfc_main$1 } from "./LayerContentBoundary-
|
|
3
|
+
import { n as useLayer } from "./tooltipTriggerRules-BjnT3wIz.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./LayerContentBoundary-CMjCvF35.js";
|
|
5
5
|
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-
|
|
8
|
-
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
7
|
+
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-B9YsuMRa.js";
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-D468Tl5q.js";
|
|
9
9
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
10
10
|
import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
11
11
|
import "../styles/tooltip.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
2
|
-
import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-
|
|
2
|
+
import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-DIN1AmiA.js";
|
|
3
3
|
import { toValue, watch } from "vue";
|
|
4
4
|
import "../styles/touch-hit-area.css";
|
|
5
5
|
/** 不长:热区就是目标本身。 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { s as currentGesture } from "./layerDepth-
|
|
2
|
+
import { s as currentGesture } from "./layerDepth-DxI-GE81.js";
|
|
3
3
|
import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/composables/internal/tapRecognizer.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
1
|
+
import { t as matchesFocusVisible } from "./tooltipTriggerRules-BjnT3wIz.js";
|
|
2
2
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
|
-
import { n as tooltipPresentInterestKey } from "./useTooltip-
|
|
4
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
3
|
+
import { n as tooltipPresentInterestKey } from "./useTooltip-CdD6ivAv.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-CFQrHG0a.js";
|
|
5
5
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
|
|
7
7
|
//#region src/Text/TruncationTooltip.vue
|
|
@@ -5,7 +5,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
6
|
import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Spinner-lLOYfbOY.js";
|
|
8
|
-
import { t as createStillPointerGate } from "./stillPointerGate-
|
|
8
|
+
import { t as createStillPointerGate } from "./stillPointerGate-D15jGSjP.js";
|
|
9
9
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
11
11
|
import "../styles/layer.css";
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as plainDateAddDays, A as joinAriaIDs, B as DATE_FORMAT_LONG, C as pickerPresentationFromNativePicker, Ct as DayOfWeek, D as InputARIA, Dt as normalizeDayOfWeek, E as resolvePickerPresentation, Et as PlainDate, F as groupItems, G as DATE_FORMAT_SHORT_WITH_YEAR, H as DATE_FORMAT_MONTH_YEAR, I as isLocaleDayFirst, J as SHARED_DATE_FORMAT_OPTIONS, K as DATE_FORMAT_WEEKDAY_ONLY, L as parseDateInput, M as GroupableItem, N as ItemGroup, O as InputARIAInputGroup, P as getItemGroup, Q as getTimeZoneParts, R as chainEventHandlers, S as effectivePickerPresentation, St as plainDateWeekFieldName, T as resolveInputPresentation, Tt as ISODateString, U as DATE_FORMAT_SHORT, V as DATE_FORMAT_MONTH_ONLY, W as DATE_FORMAT_SHORT_WITH_WEEKDAY, X as formatSharedDate, Y as SharedDateFormat, Z as getDaysInMonth, _ as InputPresentationSurface, _t as plainDateSetStartOfWeek, a as formatDisplayTime12h, at as plainDateFromDate, b as PickerPresentationSurface, bt as plainDateToInstant, c as isSafeDestination, ct as plainDateGetWeekNumber, d as parseStyleKey, dt as plainDateIsEqual, et as plainDateAddMonths, f as scrollEventTarget, ft as plainDateIsInRange, g as InputPresentation, gt as plainDateSetFirstOfMonth, h as DEFAULT_INPUT_PRESENTATION, ht as plainDateSetEndOfWeekExclusive, i as createISOTimeString, it as plainDateFormat, j as GroupItemsOptions, k as getInputARIA, l as isSafeUrl, lt as plainDateIsAfter, m as scrollsPage, mt as plainDateMin, n as clampTime, nt as plainDateDayOfWeek, o as formatDisplayTime24h, ot as plainDateFromISO, p as scrollportTop, pt as plainDateMax, q as DATE_FORMAT_WITH_WEEKDAY, r as compareTime, rt as plainDateDiffDays, s as parseTimeInput, st as plainDateFromInstant, t as adjustTime, tt as plainDateCreate, u as sanitizeUrl, ut as plainDateIsBefore, v as LegacyNativePicker, vt as plainDateToDate, w as presentationFromNativePicker, wt as DayOfWeekName, x as effectiveInputPresentation, xt as plainDateToday, y as PickerPresentation, yt as plainDateToISO, z as setScrollAnchoringOff } from "../index-ZtHb6soN.js";
|
|
2
2
|
import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-rcDbGt71.js";
|
|
3
|
-
|
|
3
|
+
import { i as useFingerScroll, n as unobserveResize, r as UseFingerScrollOptions, t as observeResize } from "../sharedResizeObserver-DojOEX9E.js";
|
|
4
|
+
export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, type DayOfWeek, type DayOfWeekName, type GroupItemsOptions, type GroupableItem, type ISODateString, type InputARIA, type InputARIAInputGroup, type InputPresentation, type InputPresentationSurface, type ItemGroup, type LegacyNativePicker, type PickerPresentation, type PickerPresentationSurface, type PlainDate, SHARED_DATE_FORMAT_OPTIONS, type SharedDateFormat, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize, type UseFingerScrollOptions as unstable_UseFingerScrollOptions, scrollEventTarget as unstable_scrollEventTarget, scrollportTop as unstable_scrollportTop, scrollsPage as unstable_scrollsPage, setScrollAnchoringOff as unstable_setScrollAnchoringOff, useFingerScroll as unstable_useFingerScroll };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "../safeUrl-CsvfcZ9m.js";
|
|
2
2
|
import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "../characters-wTnzjkkR.js";
|
|
3
|
+
import { i as scrollsPage, n as scrollEventTarget, r as scrollportTop, t as setScrollAnchoringOff } from "../scrollAnchoring-CNplZXRt.js";
|
|
3
4
|
import { n as observeResize, r as unobserveResize } from "../sharedResizeObserver-BekhnB3E.js";
|
|
4
5
|
import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o as formatDisplayTime24h, r as compareTime, t as adjustTime, u as parseTimeInput } from "../timeParser-nVL5sIwT.js";
|
|
5
6
|
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";
|
|
6
7
|
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";
|
|
8
|
+
import { t as useFingerScroll } from "../useFingerScroll-DO4LVzDf.js";
|
|
7
9
|
import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers, t as parseStyleKey } from "../utils-BW62BpDR.js";
|
|
8
|
-
export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, SHARED_DATE_FORMAT_OPTIONS, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize };
|
|
10
|
+
export { DATE_FORMAT_LONG, DATE_FORMAT_MONTH_ONLY, DATE_FORMAT_MONTH_YEAR, DATE_FORMAT_SHORT, DATE_FORMAT_SHORT_WITH_WEEKDAY, DATE_FORMAT_SHORT_WITH_YEAR, DATE_FORMAT_WEEKDAY_ONLY, DATE_FORMAT_WITH_WEEKDAY, DEFAULT_INPUT_PRESENTATION, SHARED_DATE_FORMAT_OPTIONS, adjustTime, chainEventHandlers, characterCount, clampTime, compareTime, createISOTimeString, plainDateToISO as dateToISO, plainDateToISO, effectiveInputPresentation, effectivePickerPresentation, firstCharacter, formatDisplayTime12h, formatDisplayTime24h, formatSharedDate, getDaysInMonth, getInputARIA, getItemGroup, getTimeZoneParts, groupItems, isLocaleDayFirst, isSafeDestination, isSafeUrl, joinAriaIDs, normalizeDayOfWeek, observeResize, parseDateInput, plainDateFromISO as parseISO, plainDateFromISO, parseStyleKey, parseTimeInput, pickerPresentationFromNativePicker, plainDateAddDays, plainDateAddMonths, plainDateCreate, plainDateDayOfWeek, plainDateDiffDays, plainDateFormat, plainDateFromDate, plainDateFromInstant, plainDateGetWeekNumber, plainDateIsAfter, plainDateIsBefore, plainDateIsEqual, plainDateIsInRange, plainDateMax, plainDateMin, plainDateSetEndOfWeekExclusive, plainDateSetFirstOfMonth, plainDateSetStartOfWeek, plainDateToDate, plainDateToInstant, plainDateToday, plainDateWeekFieldName, presentationFromNativePicker, resolveInputPresentation, resolvePickerPresentation, sanitizeUrl, truncateCharacters, unobserveResize, scrollEventTarget as unstable_scrollEventTarget, scrollportTop as unstable_scrollportTop, scrollsPage as unstable_scrollsPage, setScrollAnchoringOff as unstable_setScrollAnchoringOff, useFingerScroll as unstable_useFingerScroll };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryx-vue/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.42.
|
|
4
|
+
"version": "0.42.2",
|
|
5
5
|
"description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
|
|
6
6
|
"author": "ShenQingchuan",
|
|
7
7
|
"license": "MIT",
|
|
@@ -496,6 +496,10 @@
|
|
|
496
496
|
"types": "./dist/locale/index.d.ts",
|
|
497
497
|
"import": "./dist/locale/index.js"
|
|
498
498
|
},
|
|
499
|
+
"./internal/touch": {
|
|
500
|
+
"types": "./dist/internal/touch.d.ts",
|
|
501
|
+
"import": "./dist/internal/touch.js"
|
|
502
|
+
},
|
|
499
503
|
"./locales/*.json": "./locales/*.json",
|
|
500
504
|
"./palette": {
|
|
501
505
|
"types": "./dist/palette/index.d.ts",
|