@astryx-vue/core 0.42.1 → 0.42.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.
- 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-CLi6skwa.js} +4 -4
- 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-DRimCV1O.js} +1 -1
- package/dist/{BottomSheet-B8frtWqm.js → BottomSheet-q49-srZ5.js} +8 -8
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-aups8a9Y.js → Breadcrumbs-CzEe4fKS.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/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-B54dCjhV.js → Chat-DqwHn6hi.js} +5 -5
- 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-BhLPvY5v.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-CXHaEk36.js} +1 -1
- package/dist/{CodeBlock-D1i3lEK3.js → CodeBlock-BGaaySc8.js} +2 -2
- 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-CipXIUa4.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bb8ALZmI.js → ContextMenu-F315dVbZ.js} +5 -5
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DNWMgvU1.js → DateInput-D0TJlbEE.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B8ZWK6sm.js → DateRangeInput-CcNQTdtg.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput--BzV0yww.js → DateTimeInput-BjtzVqV5.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-DUGWNcnG.js → DropdownMenu-B6lOBGrw.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/{GestureHost-DXCQkur5.js → GestureHost-CRgadcBb.js} +1 -1
- 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.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-Ca-SOzyp.js → InputGroup-M3mSe3lV.js} +1 -1
- package/dist/{Item-D8Ads8bS.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-DdsbcT6Z.js} +1 -1
- package/dist/{LayoutPanel-BwvUhSM5.js → LayoutPanel-0yi1xept.js} +3 -3
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CkxNUYwN.js → Lightbox-TatgdqWu.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-KQNWaT-8.js → List-BVpWTW6J.js} +2 -2
- package/dist/{ListItem-C4BtWXV4.js → ListItem-BzOD8HbS.js} +3 -3
- package/dist/LongPressGestureRecognizer-C1JQQdg-.js +111 -0
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BFV7g8oa.js → Markdown-qm8WwwjD.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-D0HoYZU0.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-BBetuRV7.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.d.ts +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-9ZlklMvN.js} +2 -2
- package/dist/{PanGestureRecognizer-KxZE-pUT.js → PanGestureRecognizer-_yCWSqMD.js} +3 -3
- package/dist/{PickerWheel-YgYMcbJF.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-BXB3DaAJ.js} +5 -5
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BjAYndzP.js → PowerSearch-BHs855Bg.js} +26 -26
- package/dist/{PressTracker-C8_fTdjp.js → PressTracker-B_ffL9rM.js} +1 -1
- package/dist/ProgressBar/index.d.ts +1 -1
- 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/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-Cflez3d4.js → ScrollableArea-CJsSDN45.js} +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-D32lkJFq.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-DERRZ5Hh.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-CUgeJ1z4.js → Slider-BrZeUJJF.js} +10 -10
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stack/index.js +1 -1
- package/dist/{Stack-Byxur1jV.js → Stack-Bj3MyHVh.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-arRs8rKk.js → StatusDot-Ce31aeru.js} +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-BtcR2oin.js → Switch-MeieW4dP.js} +9 -9
- package/dist/TabList/index.d.ts +1 -1
- 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-BrvIqSdi.js → Table-DCUCpmv8.js} +11 -11
- package/dist/{TapGestureRecognizer-o0LVjFFm.js → TapGestureRecognizer-CH88amVE.js} +3 -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-DBKAGPKU.js → TimeField-6UCe0-g2.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CEUlNlhY.js → TimeInput-qDkdX2tw.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-BsW7tvzK.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.d.ts +1 -1
- 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-DiekBXC-.js} +13 -13
- 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.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-Br2Ex6ub.js → accessibleName-BVk1Rzrl.js} +1 -1
- package/dist/{boxHold-BCbXt9_d.js → boxHold-DNjO01uo.js} +1 -1
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +10 -10
- package/dist/{composables-BTTLiP-q.js → composables-BOeRkIEw.js} +12 -11
- package/dist/{decay-CUtQFEXK.js → decay-ClFADeqT.js} +1 -1
- package/dist/{focusLeaving-BbZ69DYV.js → focusLeaving-Df0Dqr5v.js} +1 -1
- 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-CArP_6wv.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-WqOwd8r8.d.ts → index-B7vE2Dx8.d.ts} +2 -2
- package/dist/{index-D7ShT2c-.d.ts → index-BB9acgK8.d.ts} +2 -2
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-ChHpLHhd.d.ts → index-BXvmomsn.d.ts} +41 -41
- package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-zjungCKE.d.ts → index-C0IsP4GS.d.ts} +4 -4
- package/dist/{index-MiZ3p4b6.d.ts → index-C3DG2coR.d.ts} +6 -6
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-m-fFGq2e.d.ts → index-CCa_dvoF.d.ts} +2 -2
- package/dist/{index-BzaRSOA3.d.ts → index-CLbslOVk.d.ts} +1 -7
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-MOtVbTwK.d.ts → index-CuW4AQ7M.d.ts} +2 -2
- package/dist/{index-HzXA230A.d.ts → index-CyNP_83A.d.ts} +2 -2
- package/dist/{index-J83fLEyo.d.ts → index-DgNCHxvu.d.ts} +2 -2
- package/dist/{index-3LdpzxQZ.d.ts → index-ZKBj_1nu.d.ts} +2 -2
- package/dist/{index-DwUUuRyC.d.ts → index-ZtHb6soN.d.ts} +2 -62
- package/dist/index.d.ts +19 -18
- package/dist/index.js +106 -105
- package/dist/internal/touch.d.ts +3591 -0
- package/dist/internal/touch.js +234 -0
- package/dist/{itemSlots-DA-FyuMF.js → itemSlots-CIQbrKkZ.js} +4 -4
- package/dist/{layerDepth-D576XVps.js → layerDepth-DxI-GE81.js} +1 -1
- package/dist/{lazyBottomSheet-gQtGKE8w.js → lazyBottomSheet-BfDsDl4w.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/scrollGeometry-CJXEydlQ.d.ts +21 -0
- package/dist/{scrollGeometry-ivD7aoBo.js → scrollGeometry-ajfQQRJt.js} +9 -1
- package/dist/{scrollKeyboardDelegation-DZ4t5PvC.js → scrollKeyboardDelegation-COtRAAWq.js} +1 -1
- package/dist/sharedResizeObserver-DojOEX9E.d.ts +62 -0
- package/dist/{snapPagingCatcher-BA7qwhj3.js → snapPagingCatcher-DUb8YU3G.js} +4 -112
- 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/{useDismiss-Dq7HNw2m.js → useDismiss-ChlwPVfw.js} +1 -1
- package/dist/{utils-DkwunocO.js → useFingerScroll-DO4LVzDf.js} +2 -136
- package/dist/{useGestureRecognizer-BSy0RhLT.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/{useScrollRegionProps-DwkPUb-O.js → useScrollRegionProps-D5fMvdfn.js} +1 -1
- package/dist/{useScrollableArea-BaHkGWbX.js → useScrollableArea-i2X5vvTv.js} +2 -2
- 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 +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils-BW62BpDR.js +135 -0
- package/package.json +5 -1
- package/dist/{index-J6YRJ7Ul.d.ts → index-5FGt4HsB.d.ts} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
2
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
3
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
3
|
+
import { t as getGestureHost } from "./GestureHost-CRgadcBb.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
|
|
@@ -211,138 +211,4 @@ function useFingerScroll(scroller, { onEnd } = {}) {
|
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
//#endregion
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* 把多个事件处理函数串成一个。每个函数都会按参数顺序执行。
|
|
217
|
-
*
|
|
218
|
-
* 和「前一个调用了 preventDefault 就跳过后面」不同:组件自己的处理函数
|
|
219
|
-
* 不能把事件藏起来,调用方也不能用 preventDefault 取消组件的行为。
|
|
220
|
-
*/
|
|
221
|
-
function chainEventHandlers(...handlers) {
|
|
222
|
-
return (event) => {
|
|
223
|
-
for (const handler of handlers) handler?.(event);
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region src/utils/dateTypes.ts
|
|
228
|
-
/** Weekday names indexed by {@link DayOfWeek} (0 = Sunday). */
|
|
229
|
-
const WEEKDAY_NAMES = [
|
|
230
|
-
"sun",
|
|
231
|
-
"mon",
|
|
232
|
-
"tue",
|
|
233
|
-
"wed",
|
|
234
|
-
"thu",
|
|
235
|
-
"fri",
|
|
236
|
-
"sat"
|
|
237
|
-
];
|
|
238
|
-
/**
|
|
239
|
-
* Normalize a weekday to its numeric {@link DayOfWeek}. Accepts either a
|
|
240
|
-
* number (0–6) or a three-letter day name ('sun'–'sat', case-insensitive),
|
|
241
|
-
* so APIs like `weekStartsOn` can take whichever is more readable at the
|
|
242
|
-
* call site. Unrecognized values fall back to 0 (Sunday).
|
|
243
|
-
*/
|
|
244
|
-
function normalizeDayOfWeek(value) {
|
|
245
|
-
if (typeof value === "number") return value;
|
|
246
|
-
const index = WEEKDAY_NAMES.indexOf(value.toLowerCase());
|
|
247
|
-
return index === -1 ? 0 : index;
|
|
248
|
-
}
|
|
249
|
-
//#endregion
|
|
250
|
-
//#region src/utils/groupItems.ts
|
|
251
|
-
/** 读出条目上的组名。不是字符串就不算分组。空字符串仍算一个组名。 */
|
|
252
|
-
function getItemGroup(item) {
|
|
253
|
-
const aux = item.auxiliaryData;
|
|
254
|
-
if (aux == null || typeof aux !== "object") return void 0;
|
|
255
|
-
const group = aux.group;
|
|
256
|
-
return typeof group === "string" ? group : void 0;
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* 按 `auxiliaryData.group` 分组,组的先后跟它们第一次出现的顺序。
|
|
260
|
-
* 没有任何组名时,返回一组 `heading: null`。
|
|
261
|
-
*/
|
|
262
|
-
function groupItems(items, { ungroupedFirst = false } = {}) {
|
|
263
|
-
if (!items.some((item) => getItemGroup(item) != null)) return [{
|
|
264
|
-
heading: null,
|
|
265
|
-
items: [...items]
|
|
266
|
-
}];
|
|
267
|
-
const groupOrder = [];
|
|
268
|
-
const groups = /* @__PURE__ */ new Map();
|
|
269
|
-
const ungrouped = [];
|
|
270
|
-
for (const item of items) {
|
|
271
|
-
const group = getItemGroup(item);
|
|
272
|
-
if (group != null) {
|
|
273
|
-
const list = groups.get(group);
|
|
274
|
-
if (list) list.push(item);
|
|
275
|
-
else {
|
|
276
|
-
groupOrder.push(group);
|
|
277
|
-
groups.set(group, [item]);
|
|
278
|
-
}
|
|
279
|
-
} else ungrouped.push(item);
|
|
280
|
-
}
|
|
281
|
-
const namedGroups = groupOrder.map((heading) => ({
|
|
282
|
-
heading,
|
|
283
|
-
items: groups.get(heading) ?? []
|
|
284
|
-
}));
|
|
285
|
-
const ungroupedGroup = ungrouped.length > 0 ? [{
|
|
286
|
-
heading: null,
|
|
287
|
-
items: ungrouped
|
|
288
|
-
}] : [];
|
|
289
|
-
return ungroupedFirst ? [...ungroupedGroup, ...namedGroups] : [...namedGroups, ...ungroupedGroup];
|
|
290
|
-
}
|
|
291
|
-
//#endregion
|
|
292
|
-
//#region src/utils/inputAria.ts
|
|
293
|
-
function joinAriaIDs(...values) {
|
|
294
|
-
const ids = values.flatMap((value) => typeof value === "string" ? value.trim().split(/\s+/) : []).filter(Boolean);
|
|
295
|
-
if (ids.length === 0) return;
|
|
296
|
-
return Array.from(new Set(ids)).join(" ");
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Builds ARIA label/description wiring for an input.
|
|
300
|
-
*
|
|
301
|
-
* Standalone inputs keep their normal native label association. Grouped inputs
|
|
302
|
-
* are named by the visible InputGroup label plus their own input label, and
|
|
303
|
-
* inherit group description/status text in addition to input-local text.
|
|
304
|
-
*/
|
|
305
|
-
function getInputARIA(labelID, describedByIDs = [], inputGroup) {
|
|
306
|
-
return {
|
|
307
|
-
ariaLabelledBy: inputGroup ? joinAriaIDs(inputGroup.labelID, labelID) : void 0,
|
|
308
|
-
ariaDescribedBy: joinAriaIDs(inputGroup?.describedByIDs, ...describedByIDs)
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region src/utils/parseStyleKey.ts
|
|
313
|
-
/** 把驼峰属性名变成主题用的 data 属性名,例如 listStyle → data-list-style。 */
|
|
314
|
-
function themeDataAttributeName(prop) {
|
|
315
|
-
return `data-${prop.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()}`;
|
|
316
|
-
}
|
|
317
|
-
/** 双引号 CSS 属性选择器里的值转义。 */
|
|
318
|
-
function escapeAttributeValue(value) {
|
|
319
|
-
let escaped = "";
|
|
320
|
-
for (const char of value) {
|
|
321
|
-
const codePoint = char.codePointAt(0) ?? 0;
|
|
322
|
-
if (char === "\"" || char === "\\" || codePoint < 32 || codePoint === 127) escaped += `\\${(codePoint === 0 ? 65533 : codePoint).toString(16)} `;
|
|
323
|
-
else escaped += char;
|
|
324
|
-
}
|
|
325
|
-
return escaped;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* 把组件样式键编成 data 属性选择器后缀。
|
|
329
|
-
*
|
|
330
|
-
* `prop:value` 选择 `[data-prop="value"]`。裸状态选择 `[data-state="state"]`。
|
|
331
|
-
* `+` 把多个条件接在同一个组件目标上。轴名留在选择器里,避免不同属性的相同值撞在一起。
|
|
332
|
-
*
|
|
333
|
-
* @example
|
|
334
|
-
* parseStyleKey('base') // ''
|
|
335
|
-
* parseStyleKey('variant:secondary') // '[data-variant="secondary"]'
|
|
336
|
-
* parseStyleKey('checked+disabled') // '[data-checked="checked"][data-disabled="disabled"]'
|
|
337
|
-
*/
|
|
338
|
-
function parseStyleKey(key) {
|
|
339
|
-
if (key === "base") return "";
|
|
340
|
-
return key.split("+").map((part) => {
|
|
341
|
-
const separator = part.indexOf(":");
|
|
342
|
-
const prop = separator === -1 ? part : part.slice(0, separator);
|
|
343
|
-
const value = separator === -1 ? part : part.slice(separator + 1);
|
|
344
|
-
return `[${themeDataAttributeName(prop)}="${escapeAttributeValue(value)}"]`;
|
|
345
|
-
}).join("");
|
|
346
|
-
}
|
|
347
|
-
//#endregion
|
|
348
|
-
export { groupItems as a, useFingerScroll as c, getItemGroup as i, getInputARIA as n, normalizeDayOfWeek as o, joinAriaIDs as r, chainEventHandlers as s, parseStyleKey as t };
|
|
214
|
+
export { useFingerScroll as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import { l as internals, t as getGestureHost } from "./GestureHost-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { a as isMeasurable, i as getLogicalAxisMapping,
|
|
1
|
+
import { a as isMeasurable, i as getLogicalAxisMapping, u as measureScrollAxis } from "./scrollGeometry-ajfQQRJt.js";
|
|
2
2
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
3
3
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/mainOverflow.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as isMeasurable,
|
|
2
|
-
import { n as registerScrollOwner, r as unregisterScrollOwner, t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-
|
|
1
|
+
import { a as isMeasurable, d as measureScrollPosition, i as getLogicalAxisMapping, l as measureOverflow, n as INACTIVE_AXIS_STATE, r as axisStatesEqual, s as mappingsEqual, t as DEFAULT_AXIS_MAPPING, u as measureScrollAxis } from "./scrollGeometry-ajfQQRJt.js";
|
|
2
|
+
import { n as registerScrollOwner, r as unregisterScrollOwner, t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-COtRAAWq.js";
|
|
3
3
|
import { computed, onBeforeUnmount, ref, shallowRef, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/scrollInvalidation.ts
|
|
5
5
|
const MEASURE_PROPERTIES = [
|
|
@@ -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
|
+
import { i as useFingerScroll, n as unobserveResize, r as UseFingerScrollOptions, t as observeResize } from "../sharedResizeObserver-DojOEX9E.js";
|
|
3
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
|
@@ -5,5 +5,6 @@ import { n as observeResize, r as unobserveResize } from "../sharedResizeObserve
|
|
|
5
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";
|
|
6
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";
|
|
7
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 {
|
|
8
|
+
import { t as useFingerScroll } from "../useFingerScroll-DO4LVzDf.js";
|
|
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";
|
|
9
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 };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//#region src/utils/chainEventHandlers.ts
|
|
2
|
+
/**
|
|
3
|
+
* 把多个事件处理函数串成一个。每个函数都会按参数顺序执行。
|
|
4
|
+
*
|
|
5
|
+
* 和「前一个调用了 preventDefault 就跳过后面」不同:组件自己的处理函数
|
|
6
|
+
* 不能把事件藏起来,调用方也不能用 preventDefault 取消组件的行为。
|
|
7
|
+
*/
|
|
8
|
+
function chainEventHandlers(...handlers) {
|
|
9
|
+
return (event) => {
|
|
10
|
+
for (const handler of handlers) handler?.(event);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/utils/dateTypes.ts
|
|
15
|
+
/** Weekday names indexed by {@link DayOfWeek} (0 = Sunday). */
|
|
16
|
+
const WEEKDAY_NAMES = [
|
|
17
|
+
"sun",
|
|
18
|
+
"mon",
|
|
19
|
+
"tue",
|
|
20
|
+
"wed",
|
|
21
|
+
"thu",
|
|
22
|
+
"fri",
|
|
23
|
+
"sat"
|
|
24
|
+
];
|
|
25
|
+
/**
|
|
26
|
+
* Normalize a weekday to its numeric {@link DayOfWeek}. Accepts either a
|
|
27
|
+
* number (0–6) or a three-letter day name ('sun'–'sat', case-insensitive),
|
|
28
|
+
* so APIs like `weekStartsOn` can take whichever is more readable at the
|
|
29
|
+
* call site. Unrecognized values fall back to 0 (Sunday).
|
|
30
|
+
*/
|
|
31
|
+
function normalizeDayOfWeek(value) {
|
|
32
|
+
if (typeof value === "number") return value;
|
|
33
|
+
const index = WEEKDAY_NAMES.indexOf(value.toLowerCase());
|
|
34
|
+
return index === -1 ? 0 : index;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/utils/groupItems.ts
|
|
38
|
+
/** 读出条目上的组名。不是字符串就不算分组。空字符串仍算一个组名。 */
|
|
39
|
+
function getItemGroup(item) {
|
|
40
|
+
const aux = item.auxiliaryData;
|
|
41
|
+
if (aux == null || typeof aux !== "object") return void 0;
|
|
42
|
+
const group = aux.group;
|
|
43
|
+
return typeof group === "string" ? group : void 0;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 按 `auxiliaryData.group` 分组,组的先后跟它们第一次出现的顺序。
|
|
47
|
+
* 没有任何组名时,返回一组 `heading: null`。
|
|
48
|
+
*/
|
|
49
|
+
function groupItems(items, { ungroupedFirst = false } = {}) {
|
|
50
|
+
if (!items.some((item) => getItemGroup(item) != null)) return [{
|
|
51
|
+
heading: null,
|
|
52
|
+
items: [...items]
|
|
53
|
+
}];
|
|
54
|
+
const groupOrder = [];
|
|
55
|
+
const groups = /* @__PURE__ */ new Map();
|
|
56
|
+
const ungrouped = [];
|
|
57
|
+
for (const item of items) {
|
|
58
|
+
const group = getItemGroup(item);
|
|
59
|
+
if (group != null) {
|
|
60
|
+
const list = groups.get(group);
|
|
61
|
+
if (list) list.push(item);
|
|
62
|
+
else {
|
|
63
|
+
groupOrder.push(group);
|
|
64
|
+
groups.set(group, [item]);
|
|
65
|
+
}
|
|
66
|
+
} else ungrouped.push(item);
|
|
67
|
+
}
|
|
68
|
+
const namedGroups = groupOrder.map((heading) => ({
|
|
69
|
+
heading,
|
|
70
|
+
items: groups.get(heading) ?? []
|
|
71
|
+
}));
|
|
72
|
+
const ungroupedGroup = ungrouped.length > 0 ? [{
|
|
73
|
+
heading: null,
|
|
74
|
+
items: ungrouped
|
|
75
|
+
}] : [];
|
|
76
|
+
return ungroupedFirst ? [...ungroupedGroup, ...namedGroups] : [...namedGroups, ...ungroupedGroup];
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/utils/inputAria.ts
|
|
80
|
+
function joinAriaIDs(...values) {
|
|
81
|
+
const ids = values.flatMap((value) => typeof value === "string" ? value.trim().split(/\s+/) : []).filter(Boolean);
|
|
82
|
+
if (ids.length === 0) return;
|
|
83
|
+
return Array.from(new Set(ids)).join(" ");
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Builds ARIA label/description wiring for an input.
|
|
87
|
+
*
|
|
88
|
+
* Standalone inputs keep their normal native label association. Grouped inputs
|
|
89
|
+
* are named by the visible InputGroup label plus their own input label, and
|
|
90
|
+
* inherit group description/status text in addition to input-local text.
|
|
91
|
+
*/
|
|
92
|
+
function getInputARIA(labelID, describedByIDs = [], inputGroup) {
|
|
93
|
+
return {
|
|
94
|
+
ariaLabelledBy: inputGroup ? joinAriaIDs(inputGroup.labelID, labelID) : void 0,
|
|
95
|
+
ariaDescribedBy: joinAriaIDs(inputGroup?.describedByIDs, ...describedByIDs)
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/utils/parseStyleKey.ts
|
|
100
|
+
/** 把驼峰属性名变成主题用的 data 属性名,例如 listStyle → data-list-style。 */
|
|
101
|
+
function themeDataAttributeName(prop) {
|
|
102
|
+
return `data-${prop.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()}`;
|
|
103
|
+
}
|
|
104
|
+
/** 双引号 CSS 属性选择器里的值转义。 */
|
|
105
|
+
function escapeAttributeValue(value) {
|
|
106
|
+
let escaped = "";
|
|
107
|
+
for (const char of value) {
|
|
108
|
+
const codePoint = char.codePointAt(0) ?? 0;
|
|
109
|
+
if (char === "\"" || char === "\\" || codePoint < 32 || codePoint === 127) escaped += `\\${(codePoint === 0 ? 65533 : codePoint).toString(16)} `;
|
|
110
|
+
else escaped += char;
|
|
111
|
+
}
|
|
112
|
+
return escaped;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* 把组件样式键编成 data 属性选择器后缀。
|
|
116
|
+
*
|
|
117
|
+
* `prop:value` 选择 `[data-prop="value"]`。裸状态选择 `[data-state="state"]`。
|
|
118
|
+
* `+` 把多个条件接在同一个组件目标上。轴名留在选择器里,避免不同属性的相同值撞在一起。
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* parseStyleKey('base') // ''
|
|
122
|
+
* parseStyleKey('variant:secondary') // '[data-variant="secondary"]'
|
|
123
|
+
* parseStyleKey('checked+disabled') // '[data-checked="checked"][data-disabled="disabled"]'
|
|
124
|
+
*/
|
|
125
|
+
function parseStyleKey(key) {
|
|
126
|
+
if (key === "base") return "";
|
|
127
|
+
return key.split("+").map((part) => {
|
|
128
|
+
const separator = part.indexOf(":");
|
|
129
|
+
const prop = separator === -1 ? part : part.slice(0, separator);
|
|
130
|
+
const value = separator === -1 ? part : part.slice(separator + 1);
|
|
131
|
+
return `[${themeDataAttributeName(prop)}="${escapeAttributeValue(value)}"]`;
|
|
132
|
+
}).join("");
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
export { groupItems as a, getItemGroup as i, getInputARIA as n, normalizeDayOfWeek as o, joinAriaIDs as r, chainEventHandlers as s, parseStyleKey as t };
|
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.3",
|
|
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",
|
|
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
46
|
disabled: boolean;
|
|
47
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
48
47
|
labelHidden: boolean;
|
|
48
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|