@astryx-vue/core 0.29.0 → 0.30.1
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-B195FgtL.js → AlertDialog-B_p1yL3k.js} +9 -9
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CxUmt6hX.js → AppShell-D3KZSLvb.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-DpFHPRlE.js → Avatar-IVvsyeGV.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DT5RbxDa.js → AvatarGroup-Dd-yDDNz.js} +2 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DVU5-fWC.js → Banner-DKmvoMxD.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DVe5Nw9Z.js → BottomSheet-Btf8Yn8k.js} +881 -302
- package/dist/{BottomSheet-D3893Ymj.js → BottomSheet-CQGtoh2x.js} +8 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CQa-Jjnn.js → Breadcrumbs-D6825HQI.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-yJiHoWps.js → Button-DdPty46q.js} +5 -5
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CUN_rC57.js → ButtonGroup-oI99JAyN.js} +3 -3
- package/dist/{ButtonTooltip-CNKOQHYR.js → ButtonTooltip-ZpQP-aQg.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DPhwOTjx.js → Carousel-BNr79JpP.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bg1IuDMt.js → Chat-BadS0fEx.js} +4 -4
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C-UseBJo.js → CheckboxInput-CzP8gP3v.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DGM-cgX5.js → CheckboxListItem-CxBjpX3d.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-ChmOwgYq.js → ClickableCard-B86P2aiM.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-3QLhu3jZ.js → CodeBlock-Cgm4uOhG.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B2vrr_YP.js → Collapsible-CfTN722D.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CtY5ZCR7.js → CommandPalette-BgVwGtdA.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CZiUA6Gm.js → ComplexSelector-DqWJVx7H.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-8I420g7H.js → ContextMenu-C9dJGu3M.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-KZF_A_31.js → DateInput-CGKaozkw.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-4GCWgLFN.js → DateRangeInput-BVHXgzXz.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BGcdOmRp.js → DateTimeInput-DRm3lekJ.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CKDlXonX.js → Dialog-BN-NycQr.js} +1 -1
- package/dist/{Dialog-DjhG_vpE.js → Dialog-Dt0gNuMT.js} +2 -2
- package/dist/{DialogHeader-C1Bz4Knk.js → DialogHeader-CSH2_5v-.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BqcPP0z7.js → Drawer-PeMgE4iA.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CSqkl-Xl.js → DropdownMenu-C9bvYZPt.js} +6 -6
- package/dist/{DropdownMenu-B-dBiomz.js → DropdownMenu-_lQQyQCn.js} +7 -7
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DNjqNAT3.js → EmptyState-BGo1nrnT.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DrUMz0oj.js → Field-D-fRqyso.js} +1 -1
- package/dist/{FieldInfoTip-DmDOcxU1.js → FieldInfoTip-Bstp5Lvd.js} +2 -2
- package/dist/{FieldLabel-DsFZnW1l.js → FieldLabel-lV_qLaGp.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-0u4zjJfx.js → FileInput-CTNnDIkm.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BG1PBVkf.js → Heading-BFK3PftX.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Fr6RLRR8.js → HoverCard-DGjsPn-Q.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CEjiXpUg.js → IconButton-DPezhVBA.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CKRaCO6I.js → InfoTip-B4BFfLtT.js} +2 -2
- package/dist/{InputClearButton-ByUJXRmY.js → InputClearButton-CxU3iv-5.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-H8DP0TAG.js → InputGroup-CraWGK6Y.js} +1 -1
- package/dist/{Item-C8UAQwFQ.js → Item-C9u_kQUO.js} +15 -14
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-LI6h7LFn.js → Lightbox-BNUG9CQ1.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Dx2ql41g.js → Link-Bwgpn-di.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-BlrEngDO.js → ListItem-_lOmngHp.js} +2 -2
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BHWf2IOO.js → Markdown-BlEi5UGN.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-D5yGMHU4.js → MobileNavToggle-wVa9dzH1.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-GPcHAauX.js → MoreMenu-MmvMRWv5.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BSA613nO.js → MultiSelector-DXrKQLmq.js} +7 -7
- package/dist/{NavDisclosure-B66SHKdd.js → NavDisclosure-DsUYuMJr.js} +1 -1
- package/dist/{NavHeadingSurface-BZCzkCPJ.js → NavHeadingSurface-QdM33nOf.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-kj9FbbFS.js → NavItem-D4xHjSTo.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BoKuJq-K.js → NavMenu-NCg3VjAQ.js} +3 -3
- package/dist/{NavMenuItem-Ez3_K8iI.js → NavMenuItem-Bla6fYVl.js} +4 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-lqUmTsqB.js → NumberInput-DicgvFte.js} +4 -4
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DI9MZnuQ.js → Outline-DlO_97b4.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B6En7wIj.js → OverflowList-BYYz3ePw.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DWfvdCpK.js → Pagination-DM_W9Ue-.js} +3 -3
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CB5UYJZc.js → Popover-CxReY-4u.js} +8 -8
- package/dist/PowerSearch/index.d.ts +2 -2
- package/dist/PowerSearch/index.js +1 -1
- package/dist/PowerSearch-BwUWZG3p.js +4829 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-yw2BCtB_.js → ProgressBar-DCAEXJuP.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B8QoJyJu.js → RadioGroup-CsJYGjyx.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BEv82wbs.js → RadioListItem-Yc3K82YE.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BkWz-I2J.js → SegmentedControl-C-F5dkcG.js} +3 -3
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-GRWYx3iD.js → SelectableCard-CwfpgsS8.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-4sexgsUO.js → Selector-bH99g1vj.js} +5 -5
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-B_0Fv-ZU.js → SideNav-C1ZxusAB.js} +9 -9
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Bmksx8ng.js → Slider-Bq_7Nskr.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bz4l43St.js → StatusDot-DFJavm30.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CCuggsov.js → Stepper-CWluGqBs.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CeNEvvTn.js → Switch-DTPvMAxd.js} +3 -3
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BLLxHXwu.js → TabList-C4i7UZkp.js} +4 -4
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Ck4haR13.js → Table-ClHIgsKO.js} +15 -15
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DkSHitKh.js → Text-D48QFTtL.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CAcjMvls.js → TextArea-J2_wct0p.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BvQQTG75.js → TextInput-Da1TYd57.js} +5 -5
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Bv-M13fy.js → Thumbnail-1LsaJ4_m.js} +3 -3
- package/dist/{TimeField-B83zAjAA.js → TimeField-i5ESA500.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BoIZG-dF.js → TimeInput-frnKZo1M.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-qjI_QrCz.js → Timer-DgQdZAEa.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CJ_HUcek.js → Timestamp-SseS_qtf.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CFpOSuAr.js → Toast-tAq4S96S.js} +149 -20
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BtXMvoOA.js → ToggleButton-B6hBzeVl.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-C7Dt5ygK.js → Token-DTGUCgpn.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DrkIayoF.js → Tokenizer-iFZAuIwu.js} +166 -155
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-DSWH8ll4.js → Toolbar-BHkPxDxA.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-ByLqPCP7.js → Tooltip-CxzlUVN0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Rcz2zriX.js → TopNav-CcIayfsW.js} +6 -6
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Dh0uAj2B.js → TreeList-Da_OKrv_.js} +4 -4
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-D2O3n477.js → Typeahead-BD6xXNKh.js} +6 -6
- package/dist/VelocityTracker-DgjmootV.js +165 -0
- package/dist/{animator-BGq5a6vT.js → animator-CEHDYTfQ.js} +29 -173
- package/dist/{batch-BhaAWUIt.js → batch-D2a2MsSW.js} +4 -19
- package/dist/bezier-Dko5MnTp.js +37 -0
- package/dist/{clickGuard-FrlnECMp.js → clickGuard-C3VmOLhI.js} +2 -1
- package/dist/composables/index.js +10 -10
- package/dist/composables-Bs0O_SRd.js +2548 -0
- package/dist/{context-jtpQfR6F.js → context-NKb_prrS.js} +2 -2
- package/dist/{edge-CJIswPTX.js → edge-tj-cLZYh.js} +1 -1
- package/dist/{edgeRide-Drk4V-MC.js → edgeRide-DcUqLXE2.js} +4 -4
- package/dist/{handle-BazRxHwq.js → handle-CwxCHapJ.js} +1 -1
- package/dist/{holdEntranceInput-DMCOeRqu.js → holdEntranceInput-DgimbgGm.js} +1 -1
- package/dist/{index-Ct8M2d4q.d.ts → index-3qz8Qztx.d.ts} +5 -5
- package/dist/{index-DPklTi3o.d.ts → index-B-3EGjfQ.d.ts} +2 -2
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-DIkdln91.d.ts → index-BIqW3_GP.d.ts} +2 -2
- package/dist/{index-BR3MOBYd.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-BqQlY3fL.d.ts → index-Bu4R0WZA.d.ts} +2 -2
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-I64GPV90.d.ts → index-C6IcBhAn.d.ts} +3 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-6fLylXRI.d.ts → index-Cw4CUe06.d.ts} +5 -5
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BFGtLIp8.d.ts → index-D14kSf-g.d.ts} +2 -2
- package/dist/{index-In41wHf3.d.ts → index-DGe-ApvN.d.ts} +4 -4
- package/dist/{index-D8l_CmL-.d.ts → index-DIw5D3zj.d.ts} +2 -2
- package/dist/{index-ZXrvTM3A.d.ts → index-DVS4jM-l.d.ts} +2 -2
- package/dist/{index-DPhQZXYw.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-aHC2C89h.d.ts → index-Ea2V_FSK.d.ts} +4 -4
- package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
- package/dist/{index-DVX2jlTQ.d.ts → index-JE1HrzdJ.d.ts} +2 -2
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-B9iQwixh.d.ts → index-m3DOxOw6.d.ts} +80 -69
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/index.js +102 -100
- package/dist/{inputHold-BmChuR9x.js → inputHold-DW2LYHb5.js} +4 -4
- package/dist/{inputHoldState-pblUT4oh.js → inputHoldState-xntIqr5W.js} +2 -1
- package/dist/{inputStream-LZdK8luP.js → inputStream-bPd9eB2b.js} +2 -49
- package/dist/isRtlElement-NHuH48AA.js +23 -0
- package/dist/{landing-CBaXCGEg.js → landing-Bi7X7w_7.js} +3 -3
- package/dist/{lazyBottomSheet-BK8yIqcZ.js → lazyBottomSheet-BVZ1yH8g.js} +1 -1
- package/dist/{timing-CSHWQbTJ.js → linearEasing-ScK9LqAY.js} +30 -1
- package/dist/{useLayerMountTarget-BmZyeKWE.js → mount-7R_s-bHB.js} +15 -42
- package/dist/{bezier-Df-yGuNZ.js → presentation-Cy_yf56y.js} +2 -39
- package/dist/{pressFeedback-DVR5V1b6.js → pressFeedback-9dqGYjxv.js} +2 -2
- package/dist/{resolveMotion-CurhYTVC.js → resolveMotion-1cwESYvK.js} +202 -1
- package/dist/resolveSnapPoint-DdZyBkT4.js +717 -0
- package/dist/{flatTree-BB4yPMNL.js → sharedRealm-H1OrlP0V.js} +49 -1
- package/dist/{stillPointerGate-D3loXLh7.js → stillPointerGate-BbMABRyU.js} +1 -1
- package/dist/{themeTiming-BFDOPRjK.js → themeTiming-NUkH9HsU.js} +1 -1
- package/dist/{tooltipFocusRules-DvVDuqZI.js → tooltipFocusRules-CpUOvFEU.js} +1 -1
- package/dist/{tooltipTriggerRules-DyPyWOdP.js → tooltipTriggerRules-zN2xGd9K.js} +1 -1
- package/dist/{touchHold-CFJlSClt.js → touchHold-DXtx7npm.js} +1 -1
- package/dist/{triggerVariant-DG0VhG-X.js → triggerVariant-DPuBmzpp.js} +1 -1
- package/dist/{useActionGroupTracking-C6BzQzvp.js → useActionGroupTracking-CLFF7FI2.js} +2 -2
- package/dist/{useAnimatedLayout-DC2l3WrE.js → useAnimatedLayout-DWWc31RR.js} +1 -1
- package/dist/{composables-BTRbNgmR.js → useAttachment-BuNyeUXy.js} +44 -3464
- package/dist/{useChatStreamScroll-Cv51kRT0.js → useChatStreamScroll-CuMzkXgD.js} +1 -1
- package/dist/{useDismiss-C7_S7qUA.js → useDismiss-BKtyCwx4.js} +1 -1
- package/dist/{useInputStatusIcon-CGj9gMj8.js → useInputStatusIcon-BqV6YzTV.js} +1 -1
- package/dist/useLayerMountTarget-zwZQglr2.js +44 -0
- package/dist/{useListFocus-CkHfsZp0.js → useListFocus-Ccd_HU9T.js} +2 -23
- package/dist/{useMenuDrillIn-BQx6lQMz.js → useMenuDrillIn-Cj6MM77J.js} +1 -1
- package/dist/{useMenuEntranceHold-buV5S9yk.js → useMenuEntranceHold-HznOwIry.js} +1 -1
- package/dist/{useMenuHover-CfQtWMg-.js → useMenuHover-DoBatZeD.js} +1 -1
- package/dist/{useMenuPress-DU6pAIHy.js → useMenuPress-DcwVUsQO.js} +3 -3
- package/dist/{usePressFeedback-BhNcuxQv.js → usePressFeedback-DHdmAsMp.js} +1 -1
- package/dist/{useTooltip-Bsm43vbi.js → useTooltip-DvBKna-w.js} +3 -3
- package/dist/{useTouchHitArea-CNZyA18Y.js → useTouchHitArea-SY1ITxSJ.js} +2 -2
- package/dist/{useTruncationTooltip-wc6Lzz34.js → useTruncationTooltip-DNAii2Nv.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-Do0jOyEm.js → useTypeaheadMenuConfig-BT9Lwsu7.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +33 -8
- package/styles/power-search-sheet.css +205 -0
- package/styles.css +1 -0
- package/dist/PowerSearch-q3jvh5Tw.js +0 -2797
|
@@ -1,43 +1,160 @@
|
|
|
1
1
|
import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$5 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$5 } from "./Button-DdPty46q.js";
|
|
4
4
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
5
5
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
|
-
import { t as _sfc_main$6 } from "./ButtonTooltip-
|
|
6
|
+
import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
8
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
9
9
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
10
10
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
11
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
11
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BqV6YzTV.js";
|
|
12
12
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
13
13
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
|
-
import { t as _sfc_main$7 } from "./Dialog-
|
|
16
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
15
|
+
import { t as _sfc_main$7 } from "./Dialog-Dt0gNuMT.js";
|
|
16
|
+
import { t as _sfc_main$8 } from "./Heading-BFK3PftX.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { t as _sfc_main$9 } from "./Stack-DPB-Ztf7.js";
|
|
19
|
-
import { t as _sfc_main$10 } from "./Text-
|
|
19
|
+
import { t as _sfc_main$10 } from "./Text-D48QFTtL.js";
|
|
20
20
|
import { t as _sfc_main$11 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
21
21
|
import { t as useHeldPresentation } from "./useHeldPresentation-7MH-RlSF.js";
|
|
22
|
-
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
22
|
+
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-BVZ1yH8g.js";
|
|
23
23
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
24
24
|
import { t as _sfc_main$12 } from "./Spinner-DEVPDsD0.js";
|
|
25
|
-
import { t as _sfc_main$13 } from "./Field-
|
|
25
|
+
import { t as _sfc_main$13 } from "./Field-D-fRqyso.js";
|
|
26
26
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
27
27
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
28
|
-
import { t as _sfc_main$14 } from "./EmptyState-
|
|
29
|
-
import { t as _sfc_main$15 } from "./Token-
|
|
30
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
31
|
-
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
32
|
-
import { t as _sfc_main$17 } from "./TextInput-
|
|
28
|
+
import { t as _sfc_main$14 } from "./EmptyState-BGo1nrnT.js";
|
|
29
|
+
import { t as _sfc_main$15 } from "./Token-DTGUCgpn.js";
|
|
30
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BbMABRyU.js";
|
|
31
|
+
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
32
|
+
import { t as _sfc_main$17 } from "./TextInput-Da1TYd57.js";
|
|
33
33
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
34
34
|
import "../styles/layer.css";
|
|
35
35
|
import "../styles/alert-dialog.css";
|
|
36
36
|
import "../styles/visually-hidden-utility.css";
|
|
37
|
-
import "../styles/typeahead.css";
|
|
38
37
|
import "../styles/sheet-confirmation.css";
|
|
38
|
+
import "../styles/typeahead.css";
|
|
39
39
|
import "../styles/tokenizer-sheet.css";
|
|
40
40
|
import "../styles/tokenizer.css";
|
|
41
|
+
//#region src/layer/SheetConfirmation.vue
|
|
42
|
+
const _hoisted_1$3 = { class: "astryx-alert-dialog__content" };
|
|
43
|
+
const _hoisted_2$3 = { class: "astryx-alert-dialog__footer" };
|
|
44
|
+
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
45
|
+
name: "AstryxSheetConfirmation",
|
|
46
|
+
__name: "SheetConfirmation",
|
|
47
|
+
props: {
|
|
48
|
+
isOpen: { type: Boolean },
|
|
49
|
+
title: {},
|
|
50
|
+
description: {},
|
|
51
|
+
cancelLabel: {},
|
|
52
|
+
actionLabel: {}
|
|
53
|
+
},
|
|
54
|
+
emits: ["openChange", "action"],
|
|
55
|
+
setup(__props, { emit: __emit }) {
|
|
56
|
+
/**
|
|
57
|
+
* 触屏底部弹层盖在自己上面的确认框:「全部清除」和「放弃改动」共用(上游
|
|
58
|
+
* internal/SheetConfirmation.tsx)。
|
|
59
|
+
*
|
|
60
|
+
* 和 AlertDialog 不同:能点遮罩关闭;两个大号按钮占满整行、上下排开、隔开一点,
|
|
61
|
+
* 危险操作在阅读顺序里排前面,安全操作先拿到焦点。保留 alert-dialog 的主题挂点。
|
|
62
|
+
*/
|
|
63
|
+
const emit = __emit;
|
|
64
|
+
const titleId = `astryx-sheet-confirmation-${useId()}`;
|
|
65
|
+
const descriptionId = `${titleId}-description`;
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
68
|
+
class: "astryx-alert-dialog astryx-sheet-confirmation",
|
|
69
|
+
"is-open": __props.isOpen,
|
|
70
|
+
purpose: "info",
|
|
71
|
+
role: "alertdialog",
|
|
72
|
+
"aria-labelledby": titleId,
|
|
73
|
+
"aria-describedby": descriptionId,
|
|
74
|
+
width: 400,
|
|
75
|
+
onOpenChange: _cache[2] || (_cache[2] = ($event) => emit("openChange", $event))
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$3, [createVNode(_sfc_main$8, {
|
|
78
|
+
id: titleId,
|
|
79
|
+
class: "astryx-alert-dialog__title astryx-alert-dialog-title",
|
|
80
|
+
level: 2
|
|
81
|
+
}, {
|
|
82
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
83
|
+
_: 1
|
|
84
|
+
}), createVNode(_sfc_main$10, {
|
|
85
|
+
id: descriptionId,
|
|
86
|
+
as: "div",
|
|
87
|
+
class: "astryx-alert-dialog__description astryx-alert-dialog-description",
|
|
88
|
+
color: "secondary",
|
|
89
|
+
type: "body"
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.description), 1)]),
|
|
92
|
+
_: 1
|
|
93
|
+
})]), createElementVNode("div", _hoisted_2$3, [createVNode(_sfc_main$9, {
|
|
94
|
+
class: "astryx-alert-dialog__actions",
|
|
95
|
+
direction: "vertical",
|
|
96
|
+
gap: 4,
|
|
97
|
+
"h-align": "stretch"
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
100
|
+
class: "astryx-sheet-confirmation__action",
|
|
101
|
+
label: __props.actionLabel,
|
|
102
|
+
variant: "destructive",
|
|
103
|
+
size: "lg",
|
|
104
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("action"))
|
|
105
|
+
}, null, 8, ["label"]), createVNode(_sfc_main$5, {
|
|
106
|
+
class: "astryx-sheet-confirmation__action",
|
|
107
|
+
label: __props.cancelLabel,
|
|
108
|
+
variant: "secondary",
|
|
109
|
+
size: "lg",
|
|
110
|
+
"data-autofocus": "",
|
|
111
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emit("openChange", false))
|
|
112
|
+
}, null, 8, ["label"])]),
|
|
113
|
+
_: 1
|
|
114
|
+
})])]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["is-open"]);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/composables/internal/dismissSearchOnTouchDrag.ts
|
|
122
|
+
/**
|
|
123
|
+
* 在结果列表上用手指上下拖动时,把焦点从搜索框挪开(上游
|
|
124
|
+
* internal/useDismissSearchOnTouchDrag.ts)。
|
|
125
|
+
*
|
|
126
|
+
* 搜索框失去焦点,屏幕键盘就收起来,下面的行露出来;输入的文字保留。焦点交给调用方
|
|
127
|
+
* 给的目标(弹层自己的面板),不会落到弹层后面的页面上。不监听 scroll:过滤结果会
|
|
128
|
+
* 把 scrollTop 收回来,打字时也会触发 scroll。小幅移动、轻点、多指手势都不动焦点。
|
|
129
|
+
*/
|
|
130
|
+
const DRAG_THRESHOLD_PX = 8;
|
|
131
|
+
function dismissSearchOnTouchDrag(getSearchInputs, getFocusTarget) {
|
|
132
|
+
let startY = null;
|
|
133
|
+
const reset = () => {
|
|
134
|
+
startY = null;
|
|
135
|
+
};
|
|
136
|
+
return {
|
|
137
|
+
onTouchstart(event) {
|
|
138
|
+
startY = event.touches.length === 1 ? event.touches[0].clientY : null;
|
|
139
|
+
},
|
|
140
|
+
onTouchmove(event) {
|
|
141
|
+
if (event.touches.length !== 1) {
|
|
142
|
+
reset();
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
if (startY == null || Math.abs(event.touches[0].clientY - startY) < DRAG_THRESHOLD_PX) return;
|
|
146
|
+
reset();
|
|
147
|
+
const focused = getSearchInputs().find((input) => input != null && input === input.ownerDocument.activeElement);
|
|
148
|
+
if (focused == null) return;
|
|
149
|
+
const target = getFocusTarget?.();
|
|
150
|
+
if (target != null) target.focus({ preventScroll: true });
|
|
151
|
+
else focused.blur();
|
|
152
|
+
},
|
|
153
|
+
onTouchend: reset,
|
|
154
|
+
onTouchcancel: reset
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
//#endregion
|
|
41
158
|
//#region src/composables/internal/useTokenRemoveTap.ts
|
|
42
159
|
/**
|
|
43
160
|
* 手指点 Token 自带的删除按钮时,别把触屏键盘弹起来。
|
|
@@ -148,43 +265,6 @@ function pickInputAttrs(attrs) {
|
|
|
148
265
|
return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
|
|
149
266
|
}
|
|
150
267
|
//#endregion
|
|
151
|
-
//#region src/composables/internal/dismissSearchOnTouchDrag.ts
|
|
152
|
-
/**
|
|
153
|
-
* 在结果列表上用手指上下拖动时,把焦点从搜索框挪开(上游
|
|
154
|
-
* internal/useDismissSearchOnTouchDrag.ts)。
|
|
155
|
-
*
|
|
156
|
-
* 搜索框失去焦点,屏幕键盘就收起来,下面的行露出来;输入的文字保留。焦点交给调用方
|
|
157
|
-
* 给的目标(弹层自己的面板),不会落到弹层后面的页面上。不监听 scroll:过滤结果会
|
|
158
|
-
* 把 scrollTop 收回来,打字时也会触发 scroll。小幅移动、轻点、多指手势都不动焦点。
|
|
159
|
-
*/
|
|
160
|
-
const DRAG_THRESHOLD_PX = 8;
|
|
161
|
-
function dismissSearchOnTouchDrag(getSearchInputs, getFocusTarget) {
|
|
162
|
-
let startY = null;
|
|
163
|
-
const reset = () => {
|
|
164
|
-
startY = null;
|
|
165
|
-
};
|
|
166
|
-
return {
|
|
167
|
-
onTouchstart(event) {
|
|
168
|
-
startY = event.touches.length === 1 ? event.touches[0].clientY : null;
|
|
169
|
-
},
|
|
170
|
-
onTouchmove(event) {
|
|
171
|
-
if (event.touches.length !== 1) {
|
|
172
|
-
reset();
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (startY == null || Math.abs(event.touches[0].clientY - startY) < DRAG_THRESHOLD_PX) return;
|
|
176
|
-
reset();
|
|
177
|
-
const focused = getSearchInputs().find((input) => input != null && input === input.ownerDocument.activeElement);
|
|
178
|
-
if (focused == null) return;
|
|
179
|
-
const target = getFocusTarget?.();
|
|
180
|
-
if (target != null) target.focus({ preventScroll: true });
|
|
181
|
-
else focused.blur();
|
|
182
|
-
},
|
|
183
|
-
onTouchend: reset,
|
|
184
|
-
onTouchcancel: reset
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
//#endregion
|
|
188
268
|
//#region src/composables/internal/sheetDraft.ts
|
|
189
269
|
/** 两份选择是否是同一组条目,不看顺序。 */
|
|
190
270
|
function hasSameSelection(a, b) {
|
|
@@ -219,86 +299,6 @@ function nameSheetDraftChange(valueAtOpen, draftValue, lastDraftChange) {
|
|
|
219
299
|
};
|
|
220
300
|
return null;
|
|
221
301
|
}
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/layer/SheetConfirmation.vue
|
|
224
|
-
const _hoisted_1$3 = { class: "astryx-alert-dialog__content" };
|
|
225
|
-
const _hoisted_2$3 = { class: "astryx-alert-dialog__footer" };
|
|
226
|
-
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
227
|
-
name: "AstryxSheetConfirmation",
|
|
228
|
-
__name: "SheetConfirmation",
|
|
229
|
-
props: {
|
|
230
|
-
isOpen: { type: Boolean },
|
|
231
|
-
title: {},
|
|
232
|
-
description: {},
|
|
233
|
-
cancelLabel: {},
|
|
234
|
-
actionLabel: {}
|
|
235
|
-
},
|
|
236
|
-
emits: ["openChange", "action"],
|
|
237
|
-
setup(__props, { emit: __emit }) {
|
|
238
|
-
/**
|
|
239
|
-
* 触屏底部弹层盖在自己上面的确认框:「全部清除」和「放弃改动」共用(上游
|
|
240
|
-
* internal/SheetConfirmation.tsx)。
|
|
241
|
-
*
|
|
242
|
-
* 和 AlertDialog 不同:能点遮罩关闭;两个大号按钮占满整行、上下排开、隔开一点,
|
|
243
|
-
* 危险操作在阅读顺序里排前面,安全操作先拿到焦点。保留 alert-dialog 的主题挂点。
|
|
244
|
-
*/
|
|
245
|
-
const emit = __emit;
|
|
246
|
-
const titleId = `astryx-sheet-confirmation-${useId()}`;
|
|
247
|
-
const descriptionId = `${titleId}-description`;
|
|
248
|
-
return (_ctx, _cache) => {
|
|
249
|
-
return openBlock(), createBlock(_sfc_main$7, {
|
|
250
|
-
class: "astryx-alert-dialog astryx-sheet-confirmation",
|
|
251
|
-
"is-open": __props.isOpen,
|
|
252
|
-
purpose: "info",
|
|
253
|
-
role: "alertdialog",
|
|
254
|
-
"aria-labelledby": titleId,
|
|
255
|
-
"aria-describedby": descriptionId,
|
|
256
|
-
width: 400,
|
|
257
|
-
onOpenChange: _cache[2] || (_cache[2] = ($event) => emit("openChange", $event))
|
|
258
|
-
}, {
|
|
259
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$3, [createVNode(_sfc_main$8, {
|
|
260
|
-
id: titleId,
|
|
261
|
-
class: "astryx-alert-dialog__title astryx-alert-dialog-title",
|
|
262
|
-
level: 2
|
|
263
|
-
}, {
|
|
264
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
265
|
-
_: 1
|
|
266
|
-
}), createVNode(_sfc_main$10, {
|
|
267
|
-
id: descriptionId,
|
|
268
|
-
as: "div",
|
|
269
|
-
class: "astryx-alert-dialog__description astryx-alert-dialog-description",
|
|
270
|
-
color: "secondary",
|
|
271
|
-
type: "body"
|
|
272
|
-
}, {
|
|
273
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.description), 1)]),
|
|
274
|
-
_: 1
|
|
275
|
-
})]), createElementVNode("div", _hoisted_2$3, [createVNode(_sfc_main$9, {
|
|
276
|
-
class: "astryx-alert-dialog__actions",
|
|
277
|
-
direction: "vertical",
|
|
278
|
-
gap: 4,
|
|
279
|
-
"h-align": "stretch"
|
|
280
|
-
}, {
|
|
281
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
282
|
-
class: "astryx-sheet-confirmation__action",
|
|
283
|
-
label: __props.actionLabel,
|
|
284
|
-
variant: "destructive",
|
|
285
|
-
size: "lg",
|
|
286
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emit("action"))
|
|
287
|
-
}, null, 8, ["label"]), createVNode(_sfc_main$5, {
|
|
288
|
-
class: "astryx-sheet-confirmation__action",
|
|
289
|
-
label: __props.cancelLabel,
|
|
290
|
-
variant: "secondary",
|
|
291
|
-
size: "lg",
|
|
292
|
-
"data-autofocus": "",
|
|
293
|
-
onClick: _cache[1] || (_cache[1] = ($event) => emit("openChange", false))
|
|
294
|
-
}, null, 8, ["label"])]),
|
|
295
|
-
_: 1
|
|
296
|
-
})])]),
|
|
297
|
-
_: 1
|
|
298
|
-
}, 8, ["is-open"]);
|
|
299
|
-
};
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
302
|
/** 离列表底部这么近就画下一批。 */
|
|
303
303
|
const LOAD_MORE_THRESHOLD_PX = 200;
|
|
304
304
|
/**
|
|
@@ -1261,32 +1261,19 @@ function useTokenizerMenu(options) {
|
|
|
1261
1261
|
};
|
|
1262
1262
|
}
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region src/
|
|
1264
|
+
//#region src/layer/useSheetPresentation.ts
|
|
1265
1265
|
const warnedInertSets = /* @__PURE__ */ new Set();
|
|
1266
|
-
/** 在底部弹层呈现里没有地方生效的属性名。 */
|
|
1267
|
-
function inertSheetProps(props, hasItemSlot) {
|
|
1268
|
-
return [
|
|
1269
|
-
["item slot", hasItemSlot],
|
|
1270
|
-
["hasClear", Boolean(props.hasClear || props.clearable)],
|
|
1271
|
-
["hasEntriesOnFocus", Boolean(props.hasEntriesOnFocus || props.showOnFocus)],
|
|
1272
|
-
["menuWidth", props.menuWidth != null],
|
|
1273
|
-
["menu", props.menu != null],
|
|
1274
|
-
["overflow", props.overflow != null && props.overflow !== "none"],
|
|
1275
|
-
["hasAutoFocus", Boolean(props.hasAutoFocus)]
|
|
1276
|
-
].filter(([, isSet]) => isSet).map(([name]) => name);
|
|
1277
|
-
}
|
|
1278
1266
|
/**
|
|
1279
|
-
* Tokenizer
|
|
1267
|
+
* 字段的呈现:行内控件还是触屏底部弹层(上游 isSheetPresented 闩锁),Tokenizer 和 PowerSearch 共用。
|
|
1280
1268
|
*
|
|
1281
1269
|
* 换呈现时焦点在旧控件上,就交给新控件(输入框和触发器互换),不掉回页面。
|
|
1282
|
-
*
|
|
1283
|
-
*
|
|
1270
|
+
* 底部弹层可能成为呈现时先把它的模块加载好。只描述行内控件的属性在底部弹层里
|
|
1271
|
+
* 没有地方生效,开发期按组件提示一次。
|
|
1284
1272
|
*/
|
|
1285
|
-
function
|
|
1286
|
-
const { props } = options;
|
|
1273
|
+
function useSheetPresentation(options) {
|
|
1287
1274
|
const sheetOpen = ref(false);
|
|
1288
1275
|
let isHandingOff = false;
|
|
1289
|
-
const { isSheet, settle } = useHeldPresentation(
|
|
1276
|
+
const { isSheet, settle } = useHeldPresentation(options.presentation, sheetOpen);
|
|
1290
1277
|
watch(isSheet, (sheet) => {
|
|
1291
1278
|
if (sheet) preloadBottomSheet();
|
|
1292
1279
|
const root = options.root();
|
|
@@ -1302,12 +1289,12 @@ function useTokenizerPresentation(options) {
|
|
|
1302
1289
|
});
|
|
1303
1290
|
}, { flush: "pre" });
|
|
1304
1291
|
if (isDevBuild()) {
|
|
1305
|
-
const inert = computed(() => isSheet.value ?
|
|
1292
|
+
const inert = computed(() => isSheet.value ? options.inertProps() : []);
|
|
1306
1293
|
watch(inert, (names) => {
|
|
1307
|
-
const key = names.join(",")
|
|
1308
|
-
if (
|
|
1294
|
+
const key = `${options.component}:${names.join(",")}`;
|
|
1295
|
+
if (names.length === 0 || warnedInertSets.has(key)) return;
|
|
1309
1296
|
warnedInertSets.add(key);
|
|
1310
|
-
devWarn(
|
|
1297
|
+
devWarn(options.component, `\`${names.join("`, `")}\` ${names.length === 1 ? "has" : "have"} no surface in the bottom-sheet presentation and ${names.length === 1 ? "is" : "are"} not rendered there. Pass \`presentation="popover"\` to keep the inline field on every device.`);
|
|
1311
1298
|
}, { immediate: true });
|
|
1312
1299
|
}
|
|
1313
1300
|
return {
|
|
@@ -1320,6 +1307,30 @@ function useTokenizerPresentation(options) {
|
|
|
1320
1307
|
};
|
|
1321
1308
|
}
|
|
1322
1309
|
//#endregion
|
|
1310
|
+
//#region src/Tokenizer/useTokenizerPresentation.ts
|
|
1311
|
+
/** 在底部弹层呈现里没有地方生效的属性名。 */
|
|
1312
|
+
function inertSheetProps(props, hasItemSlot) {
|
|
1313
|
+
return [
|
|
1314
|
+
["item slot", hasItemSlot],
|
|
1315
|
+
["hasClear", Boolean(props.hasClear || props.clearable)],
|
|
1316
|
+
["hasEntriesOnFocus", Boolean(props.hasEntriesOnFocus || props.showOnFocus)],
|
|
1317
|
+
["menuWidth", props.menuWidth != null],
|
|
1318
|
+
["menu", props.menu != null],
|
|
1319
|
+
["overflow", props.overflow != null && props.overflow !== "none"],
|
|
1320
|
+
["hasAutoFocus", Boolean(props.hasAutoFocus)]
|
|
1321
|
+
].filter(([, isSet]) => isSet).map(([name]) => name);
|
|
1322
|
+
}
|
|
1323
|
+
/** Tokenizer 的呈现:行内浮层还是触屏底部弹层,见 useSheetPresentation。 */
|
|
1324
|
+
function useTokenizerPresentation(options) {
|
|
1325
|
+
return useSheetPresentation({
|
|
1326
|
+
component: "Tokenizer",
|
|
1327
|
+
presentation: () => options.props.presentation ?? "adaptive",
|
|
1328
|
+
root: options.root,
|
|
1329
|
+
focusControl: options.focusControl,
|
|
1330
|
+
inertProps: () => inertSheetProps(options.props, options.hasItemSlot())
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
//#endregion
|
|
1323
1334
|
//#region src/Tokenizer/useTokenizerSelection.ts
|
|
1324
1335
|
/** Tokenizer 选择的增删:两种呈现共用提交和播报,行内菜单的焦点与清单去留也在这里。 */
|
|
1325
1336
|
function useTokenizerSelection(options) {
|
|
@@ -2064,4 +2075,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2064
2075
|
}
|
|
2065
2076
|
});
|
|
2066
2077
|
//#endregion
|
|
2067
|
-
export {
|
|
2078
|
+
export { _sfc_main$3 as a, dismissSearchOnTouchDrag as i, useSheetPresentation as n, useTokenRemoveTap as r, _sfc_main as t };
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-m3DOxOw6.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CJd4JkbJ.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Toolbar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Toolbar-
|
|
1
|
+
import { t as _sfc_main } from "../Toolbar-BHkPxDxA.js";
|
|
2
2
|
export { _sfc_main as Toolbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as provideSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
-
import { t as useListFocus } from "./useListFocus-
|
|
2
|
+
import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
|
|
3
3
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./Section-Km_FjJ-i.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, unref, useSlots, watch, withCtx } from "vue";
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DYabo8TI.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-DvBKna-w.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-CxzlUVN0.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-
|
|
1
|
+
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-DvBKna-w.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-m3DOxOw6.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CcIayfsW.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -3,18 +3,18 @@ import { t as _sfc_main$9 } from "./Icon-Dk0jccgU.js";
|
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { a as trackInteractionModality, n as getLastPointerType, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
6
|
-
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
7
6
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
8
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
|
+
import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
|
|
9
9
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
10
|
-
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-
|
|
10
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-wVa9dzH1.js";
|
|
11
11
|
import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
|
|
12
12
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
13
13
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
14
|
-
import { t as _sfc_main$12 } from "./NavItem-
|
|
15
|
-
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-
|
|
16
|
-
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-
|
|
17
|
-
import { t as _sfc_main$16 } from "./NavHeadingSurface-
|
|
14
|
+
import { t as _sfc_main$12 } from "./NavItem-D4xHjSTo.js";
|
|
15
|
+
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-DsUYuMJr.js";
|
|
16
|
+
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-Bla6fYVl.js";
|
|
17
|
+
import { t as _sfc_main$16 } from "./NavHeadingSurface-QdM33nOf.js";
|
|
18
18
|
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/top-nav.css";
|
|
20
20
|
//#region src/MobileNav/MobileNavScope.vue
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-CKnr0JlT.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-Da_OKrv_.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-DHdmAsMp.js";
|
|
3
3
|
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
|
-
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-
|
|
8
|
-
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-
|
|
9
|
-
import { t as useAnimatedLayout } from "./useAnimatedLayout-
|
|
7
|
+
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-DcUqLXE2.js";
|
|
8
|
+
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-Bi7X7w_7.js";
|
|
9
|
+
import { t as useAnimatedLayout } from "./useAnimatedLayout-DWWc31RR.js";
|
|
10
10
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
11
11
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
12
12
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as TypeaheadSize, i as TypeaheadItemProps, l as TypeaheadSlots, r as TypeaheadEmits, s as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadStatus } from "../types-DL-hRibg.js";
|
|
2
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-Ea2V_FSK.js";
|
|
3
3
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BD6xXNKh.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./ButtonTooltip-
|
|
4
|
+
import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BqV6YzTV.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
13
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-D-fRqyso.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Token-
|
|
17
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
18
|
-
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Token-DTGUCgpn.js";
|
|
17
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BbMABRyU.js";
|
|
18
|
+
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|