@astryx-vue/core 0.43.0 → 0.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-r9VdV_oH.js → AlertDialog-Bh3uhS_R.js} +7 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CLi6skwa.js → AppShell-1gvAIOLH.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-Dl2oiG7t.js → Avatar-B9n7-kfv.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BvJTbvr_.js → AvatarGroup-BOkvPhXj.js} +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-D3ZreOKp.js → Badge-DZaIs3aV.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-u7GJQV3O.js → Banner-4FQsRu7N.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-C65IqXMQ.js → BottomSheet-BlkSIOtf.js} +2 -2
- package/dist/{BottomSheet-CY-dU3F5.js → BottomSheet-j5app7P8.js} +4 -4
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D_GhNvfK.js → Breadcrumbs-BfSV4Ewm.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D8vn_DnZ.js → Button-euzAB2JG.js} +4 -42
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-Bt7UZF_U.js → ButtonGroup-DfNW3nfJ.js} +2 -2
- 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-BE-PqpOJ.js → Carousel-DbMleN6W.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-D_CxKvTw.js → Chat-CWCbGUYl.js} +10 -10
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CiSb9VDk.js → CheckboxInput-B82_RIxf.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-BwGzAz8V.js → CheckboxListItem-y0USbTgg.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Dkt25nJP.js → ClickableCard-CSSIVdtX.js} +2 -2
- package/dist/Code/index.js +2 -2
- package/dist/{Code-Cnk4QmuK.js → Code-C43i8FCX.js} +1 -1
- package/dist/{CodeBlock-PuLo1vOn.js → CodeBlock-ClzdGw3T.js} +2 -2
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DqEriJMb.js → Collapsible-B0Iu6_Iu.js} +2 -2
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BdfvSd8U.js → CommandPalette-DF2xzlgf.js} +3 -3
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-QpUODnLj.js → ComplexSelector-DsGwWEoM.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BebiNEFX.js → ContextMenu-CJCpkIHr.js} +5 -5
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B1C1bpAH.js → DateInput-BW4Fwe7h.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-ByHRQ-Is.js → DateRangeInput-DQBgDw_I.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DkFcxpoJ.js → DateTimeInput-DwErM5ri.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CgnIHMCI.js → Dialog-Cjw_hc9x.js} +4 -5
- package/dist/{Dialog-zqsAwjle.js → Dialog-JfrLWdwL.js} +1 -1
- package/dist/{DialogHeader-BpQQMQcb.js → DialogHeader-74IISHta.js} +1 -1
- 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-CWL0fCGw.js → Drawer-CsZ2dJf6.js} +4 -4
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-Sb9A2F_S.js → DropdownMenu-BAgNL3vt.js} +17 -17
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-B57OV1V_.js → EmptyState-Cb2poVS1.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-jM0Ithrd.js → Field-CZGZMsZE.js} +1 -1
- package/dist/{FieldInfoTip-BrxcbuTn.js → FieldInfoTip-C2jNfn3M.js} +4 -2
- package/dist/{FieldLabel-BmjvZVOQ.js → FieldLabel-CS5Xq97O.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-Bb6LdXY1.js → FileInput-DwQ4Pwrr.js} +4 -4
- package/dist/{GestureHost-DXlDxyns.js → GestureHost-25aSFM1Y.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-Cymy5utP.js → Heading-BxUBgmHB.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-BmehvS0D.js → HoverCard-B8q3MpjF.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BdXfxjCD.js → IconButton-ClmH02vt.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BCOxwsJ4.js → InfoTip-BaWAyvEi.js} +2 -2
- package/dist/{InputClearButton-Dp87bq1c.js → InputClearButton-fffY0HzH.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CsEB0Ufk.js → InputGroup-D9sOFuMU.js} +2 -2
- package/dist/{Item-DOATMVXE.js → Item-Dmebq1UF.js} +17 -10
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DdsbcT6Z.js → Layout-G_yTX__g.js} +1 -1
- package/dist/{LayoutPanel-0yi1xept.js → LayoutPanel-DcGI1bxe.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CQ0sOdK4.js → Lightbox-uK7doOtN.js} +9 -9
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CRNgZw--.js → Link-Dqmdo7zY.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-CsumsvTg.js → List-Cw_Bz7VJ.js} +2 -2
- package/dist/{ListItem-DHpWkhT9.js → ListItem-5IrzNrPG.js} +3 -3
- package/dist/{LongPressGestureRecognizer-V_iVvLNU.js → LongPressGestureRecognizer-DyfS9mpX.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DwCAq1ds.js → Markdown-DgU8Z6fh.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DYKJC6X6.js → MobileNavToggle-CZjRE6ki.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BJqN4qQ6.js → MoreMenu-CctyrlIC.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BI_uF-yk.js → MultiSelector-B8gj7DC1.js} +7 -7
- package/dist/{NavDisclosure-D-vUD3Bl.js → NavDisclosure-B1Rk9uWm.js} +12 -0
- package/dist/{NavHeadingSurface-D2UWKpSw.js → NavHeadingSurface-B8vSLYn8.js} +32 -24
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BY24W2B0.js → NavItem-BSw2rt6c.js} +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-DF4JqIed.js → NavMenu-CY_Lek2e.js} +18 -8
- package/dist/{NavMenuItem-CGGECLdG.js → NavMenuItem-CGDBoeek.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DIgfEtYW.js → NumberInput-Dyrsd8iV.js} +4 -4
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-CCnTR9Pe.js → Outline-DyWV1DE6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-uk0l80Zd.js → OverflowList-BjtnyyFH.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BPGgks2l.js → Pagination-DxCA-HxJ.js} +4 -4
- package/dist/{PanGestureRecognizer-Crc0PhW0.js → PanGestureRecognizer-BVA9pqme.js} +1 -1
- package/dist/{PickerWheel-WEFgBW8I.js → PickerWheel-x5H1G_XB.js} +4 -4
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-OhEtacTy.js → Popover-Bfdc7cPl.js} +12 -13
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DPGknVx8.js → PowerSearch-BwF9Dlxz.js} +24 -24
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-IRNmWLg-.js → ProgressBar-LhOowRTl.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DoI7wu5m.js → RadioGroup-CFLTQl3K.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-Bb0ggwoG.js → RadioListItem-6vtMowgq.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-CJsSDN45.js → ScrollableArea-CBFqNcS0.js} +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DjruBeFm.js → SegmentedControl-CvHxmxSq.js} +7 -7
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-dUjsGX2o.js → SelectableCard-9SSfwFyD.js} +2 -2
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-D8BEYok_.js → Selector-DLHdkU47.js} +4 -4
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BYWNIIXT.js → SideNav-UDy54LWk.js} +8 -8
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-pnFJ6MfZ.js → Slider-g5_g_-Eu.js} +5 -5
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-D6U81W87.js → Spinner-A3u6UMC2.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-CdtauWfk.js → StatusDot-BPbHIDK3.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BL01wjk9.js → Stepper-fAXQMCoa.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-BJ9skC9r.js → Switch-B4qQk8nJ.js} +7 -7
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-XKIbMcy5.js → TabList-DPl5hrlq.js} +2 -2
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DQazvJ4Q.js → Table-DcHbjYMH.js} +15 -15
- package/dist/{TapGestureRecognizer-Cv0y3c02.js → TapGestureRecognizer-DGoxircL.js} +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-9twwURuI.js → Text-CqdqnOyw.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-C66zML5G.js → TextArea-Bio9Gh34.js} +6 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BGsRns-X.js → TextInput-CQnO23U5.js} +6 -6
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-iJILNRPc.js → Thumbnail-BDQg5fM_.js} +4 -4
- package/dist/{TimeField-Ct2akfr9.js → TimeField-DFQIaneq.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CBVMN37Z.js → TimeInput-BMgTNmFR.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DBujcX_B.js → Timer-CYusx9bw.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-Dv6_wb89.js → Timestamp-mD_zYE11.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-C3khq9NA.js → Toast-D6vNybEc.js} +5 -5
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-fvo3Mxmb.js → ToggleButton-Dwt5c31B.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B_jnJ700.js → Token-CZCvtfGU.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-3nwPA8Az.js → Tokenizer-vIHlJqfc.js} +13 -13
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-W32cHQH0.js → Tooltip-BGw1Dxs7.js} +5 -4
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Bvjt444e.js → TopNav-B7WVftOG.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CGW9V6x-.js → TreeList-DlRkhOsr.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-KXBQ4jXf.js → Typeahead-DVSuuJF0.js} +5 -5
- package/dist/{accessibleName-Dpzu2nL1.js → accessibleName-JNiIpYLV.js} +2 -2
- package/dist/{announceRenderedText-pHs_kfQB.js → announceRenderedText-Dzsx6ROw.js} +1 -1
- package/dist/{assertOptions-BOwrrTT-.js → assertOptions-D4YfVTam.js} +1 -1
- package/dist/{boxHold-DNjO01uo.js → boxHold-BZBGNilH.js} +4 -4
- package/dist/{browserClickWait-Cb550_M2.js → browserClickWait-TdyeNZwb.js} +2 -2
- package/dist/{clickGuard-BkegH2NW.js → clickGuard-CdmRG-4c.js} +1 -1
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +14 -13
- package/dist/{composables-cdO2fBF6.js → composables-CpnaT0rZ.js} +35 -23
- package/dist/cutText-Cg1a7iug.js +40 -0
- package/dist/{focus-x7mxEqjR.js → focus-DxAD3umZ.js} +12 -1
- package/dist/focusAcrossSwap-DYmqoqKg.js +83 -0
- package/dist/{focusLeaving-Df0Dqr5v.js → focusLeaving-mWmyOnpz.js} +1 -1
- package/dist/{focusRegion-CmDg7_4b.js → focusRegion-0I3hsblQ.js} +1 -1
- package/dist/{focusReturn-BeSRm0xD.js → focusReturn-CXHM5lOY.js} +1 -1
- package/dist/{holdEntranceInput-CROBPhuO.js → holdEntranceInput-C9J7g1Pu.js} +1 -1
- package/dist/{index-beOIC0Qk.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-a6o69uPN.d.ts → index-Ak1b0V24.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
- package/dist/{index-Ds4dOCSy.d.ts → index-CCa_dvoF.d.ts} +3 -3
- package/dist/{index-BstD8W_P.d.ts → index-CFKpOpnO.d.ts} +2 -2
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-BK9UUbsu.d.ts → index-CRjJmEtZ.d.ts} +4 -4
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-D3UaSnbN.d.ts → index-Cb-rvc1W.d.ts} +1 -1
- package/dist/{index-DDrL_-hJ.d.ts → index-CbA8rR_b.d.ts} +3 -3
- package/dist/{index-cxXrnuj3.d.ts → index-Cf4bPzU0.d.ts} +17 -9
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-CLOppj9J.d.ts → index-D8G_PdWT.d.ts} +6 -6
- package/dist/{index-T5bzxQ30.d.ts → index-DCyYldjP.d.ts} +1 -1
- package/dist/{index-vuxO2gyJ.d.ts → index-DNurYNHr.d.ts} +64 -64
- package/dist/{index-CAP19BZD.d.ts → index-DOlcm-Ra.d.ts} +2 -0
- package/dist/{index-B7Yl723I.d.ts → index-DZUoC8aR.d.ts} +5 -3
- package/dist/{index-B7-c8UTz.d.ts → index-DgNCHxvu.d.ts} +3 -3
- package/dist/{index-C5aEstRY.d.ts → index-iGHM85Y1.d.ts} +3 -3
- package/dist/{index-C9uW39Mj.d.ts → index-mK1ICsVg.d.ts} +3 -3
- package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
- package/dist/{index-ADSpm_Dq.d.ts → index-n_U1D11_.d.ts} +8 -8
- package/dist/{index-ZKBj_1nu.d.ts → index-vCRf5fyK.d.ts} +1 -1
- package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +25 -25
- package/dist/index.js +109 -108
- package/dist/{inputHold-B53XZ8if.js → inputHold-CUraoRG3.js} +3 -3
- package/dist/{inputHoldState-Bav14W7v.js → inputHoldState-B4uHEjk5.js} +1 -1
- package/dist/{inputStream-DmPkJ1aU.js → inputStream-CFvjNDgT.js} +60 -5
- package/dist/interactiveAncestor-CEsQ_YQW.js +81 -0
- package/dist/internal/touch.d.ts +12 -0
- package/dist/internal/touch.js +11 -10
- package/dist/{itemSlots-D9aPTELK.js → itemSlots-0J_JDkUW.js} +2 -2
- package/dist/{layerFocusReturn-Bl6yja5A.js → layerFocusReturn-Ddz5_Z2Z.js} +25 -53
- package/dist/{lazyBottomSheet-CXBBo9Ao.js → lazyBottomSheet-CEZ77VHB.js} +1 -1
- package/dist/{pressSlot-DIN1AmiA.js → pressSlot-BxYt3vyU.js} +86 -2
- package/dist/revealReturnTarget-DNX6xtLb.js +43 -0
- package/dist/{rideKeyboard-SnVXHPCp.js → rideKeyboard-DiF6K9Lm.js} +2 -2
- package/dist/{scrollKeyboardDelegation-COtRAAWq.js → scrollKeyboardDelegation-C8MwNYgK.js} +1 -1
- package/dist/{snapPagingCatcher-CQ34r-x-.js → snapPagingCatcher-BL_D9uL5.js} +1 -1
- package/dist/{textDirection-DJl_tYja.js → textDirection-DOiVLtX0.js} +12 -1
- package/dist/{tooltipFocusRules-D468Tl5q.js → tooltipFocusRules-BBshpLxm.js} +1 -1
- package/dist/{useActionGroupTracking-CGikRIWR.js → useActionGroupTracking-2fXeyqxa.js} +2 -2
- package/dist/{useChatStreamScroll-CGHtw12w.js → useChatStreamScroll-BDD_ngLq.js} +1 -1
- package/dist/{useFingerScroll-CC19P9JS.js → useFingerScroll-BhnBhQoa.js} +2 -2
- package/dist/{useFocusTrap-Bj9GskLh.js → useFocusTrap-DhhwiBEF.js} +12 -5
- package/dist/{useGestureRecognizer-D5kNuQzG.js → useGestureRecognizer-Bj0nynLS.js} +1 -1
- package/dist/{useInputContainer-CLhsKYZ6.js → useInputContainer-C8ARd4qy.js} +1 -1
- package/dist/{useInputStatusIcon-BW70yd3c.js → useInputStatusIcon-Dpj4AtXd.js} +1 -1
- package/dist/{useMenuEntranceHold-DMHMzaRW.js → useMenuEntranceHold-DYZ_k6kP.js} +1 -1
- package/dist/{useMenuPress-CARtL4Wa.js → useMenuPress-C1fiHACF.js} +3 -3
- package/dist/{useMobileKeyboard-DcvMptTe.js → useMobileKeyboard-jeeHdtVD.js} +2 -2
- package/dist/{usePressFeedback-DkWA1son.js → usePressFeedback-DyCf9Ok5.js} +2 -2
- package/dist/{useResizable-Diq3vRVH.js → useResizable-B_QakV6o.js} +32 -2
- package/dist/{useRestoreFocus-m3rsqE4d.js → useRestoreFocus-D04TyAC3.js} +6 -2
- package/dist/{useScrollableArea-i2X5vvTv.js → useScrollableArea-B3gnyFbR.js} +1 -1
- package/dist/{useTooltip-D5kJD9ed.js → useTooltip-CYRQuYj_.js} +125 -19
- package/dist/{useTouchHitArea-CxqNaIyt.js → useTouchHitArea-DCAX0X6S.js} +2 -2
- package/dist/{useTouchTriggerInternal-B9YsuMRa.js → useTouchTriggerInternal-CCk8lhbz.js} +1 -1
- package/dist/{useTruncationTooltip-Cx4R7Fyp.js → useTruncationTooltip-0gr37s_G.js} +2 -2
- package/dist/{useTypeaheadMenuConfig-TSkUldd9.js → useTypeaheadMenuConfig-sk8aSp57.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/keyboard-hint.css +18 -0
- package/dist/focusAcrossSwap-Casww_IY.js +0 -19
- package/dist/useClickableContainer-Dtjg-nkm.js +0 -141
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//#region src/layer/layerSurfacePress.ts
|
|
2
|
+
/**
|
|
3
|
+
* 打开着的 Tooltip、HoverCard 气泡登记在这里。
|
|
4
|
+
*
|
|
5
|
+
* 气泡挂载时会尽量靠近触发元素(见 `layer/mount.ts`),可能落在一个可点容器
|
|
6
|
+
* (可点卡片、列表行、文件选择区)的 DOM 里面,于是在气泡里点一下会冒泡到容器,
|
|
7
|
+
* 把容器的动作也触发了。容器判断「这一下是不是点在别的东西上」时,把登记过的气泡
|
|
8
|
+
* 当作别的东西,就不再响应。事件本身照常冒泡,页面级的监听仍然收得到。不从包里导出。
|
|
9
|
+
*/
|
|
10
|
+
const surfaces = /* @__PURE__ */ new WeakSet();
|
|
11
|
+
/** 给气泡内容元素用的 ref 回调。 */
|
|
12
|
+
function registerLayerSurface(element) {
|
|
13
|
+
if (element != null) surfaces.add(element);
|
|
14
|
+
}
|
|
15
|
+
/** 这个元素是不是登记过的气泡。 */
|
|
16
|
+
function isLayerSurface(element) {
|
|
17
|
+
return surfaces.has(element);
|
|
18
|
+
}
|
|
19
|
+
/** 从 `target` 往上走到 `root`(不含)之间,有没有登记过的气泡。 */
|
|
20
|
+
function isInLayerSurface(target, root) {
|
|
21
|
+
let current = target;
|
|
22
|
+
while (current != null && current !== root) {
|
|
23
|
+
if (surfaces.has(current)) return true;
|
|
24
|
+
current = current.parentElement;
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/composables/internal/interactiveAncestor.ts
|
|
30
|
+
/**
|
|
31
|
+
* @file interactiveAncestor.ts
|
|
32
|
+
* @input 按压落下的元素和它所在的可点容器
|
|
33
|
+
* @output INTERACTIVE_SELECTORS,以及 labelledControl、innermostInteractive:
|
|
34
|
+
* 按压归哪个自己接走按压的元素(控件、打开着的气泡、给表单控件命名的 label)
|
|
35
|
+
* @position useClickableContainer、按压面(pressSurface.ts)和 List 的 Item 共用的「点到谁算谁」判断
|
|
36
|
+
*/
|
|
37
|
+
const INTERACTIVE_SELECTORS = [
|
|
38
|
+
"button",
|
|
39
|
+
"a",
|
|
40
|
+
"input",
|
|
41
|
+
"select",
|
|
42
|
+
"textarea",
|
|
43
|
+
"[role=\"button\"]",
|
|
44
|
+
"[role=\"link\"]",
|
|
45
|
+
"[role=\"checkbox\"]",
|
|
46
|
+
"[role=\"radio\"]",
|
|
47
|
+
"[role=\"switch\"]",
|
|
48
|
+
"[role=\"tab\"]",
|
|
49
|
+
"[role=\"menuitem\"]",
|
|
50
|
+
"[role=\"option\"]",
|
|
51
|
+
"[role=\"combobox\"]",
|
|
52
|
+
"[role=\"listbox\"]",
|
|
53
|
+
"[role=\"slider\"]",
|
|
54
|
+
"[role=\"spinbutton\"]",
|
|
55
|
+
"[data-pressable-container]"
|
|
56
|
+
].join(",");
|
|
57
|
+
const NON_INTERACTIVE_SELECTORS = "[aria-readonly=\"true\"]";
|
|
58
|
+
/**
|
|
59
|
+
* `element` 是给表单控件命名的 `<label>` 时返回那个控件。浏览器会把点在 label 上的点击转给它的控件。
|
|
60
|
+
* label 可能在另一个窗口里(同源 iframe、画中画),所以按 `localName` 判断,不用本窗口的 HTMLLabelElement。
|
|
61
|
+
*/
|
|
62
|
+
function labelledControl(element) {
|
|
63
|
+
return element.localName === "label" ? element.control ?? null : null;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* 从 `element` 往上到 `root`(不含)为止,最里层自己接走按压的元素:可交互的控件、打开着的
|
|
67
|
+
* Tooltip / HoverCard 气泡,或者给表单控件命名的 label。没有就是 `null`。
|
|
68
|
+
*/
|
|
69
|
+
function innermostInteractive(element, root) {
|
|
70
|
+
let current = element;
|
|
71
|
+
const body = element.ownerDocument.body;
|
|
72
|
+
while (current != null && current !== root && current !== body) {
|
|
73
|
+
if (current.matches(INTERACTIVE_SELECTORS) && !current.matches(NON_INTERACTIVE_SELECTORS)) return current;
|
|
74
|
+
if (isLayerSurface(current)) return current;
|
|
75
|
+
if (labelledControl(current) != null) return current;
|
|
76
|
+
current = current.parentElement;
|
|
77
|
+
}
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
export { isLayerSurface as a, isInLayerSurface as i, innermostInteractive as n, registerLayerSurface as o, labelledControl as r, INTERACTIVE_SELECTORS as t };
|
package/dist/internal/touch.d.ts
CHANGED
|
@@ -1273,6 +1273,18 @@ export declare function animatorFor(element: HTMLElement, options?: AnimatorOpti
|
|
|
1273
1273
|
*/
|
|
1274
1274
|
export declare function createMotionEngine(element: HTMLElement | null, options?: AnimatorOptions): Animator;
|
|
1275
1275
|
//#endregion
|
|
1276
|
+
//#region src/composables/internal/focusAcrossSwap.d.ts
|
|
1277
|
+
/**
|
|
1278
|
+
* 切换 `swapped` 会让 `root` 里某个元素被换成另一个元素(比如禁用后用普通
|
|
1279
|
+
* `<a>` 代替路由链接组件)。切换前焦点就在它身上的话,换完后把焦点交给新元素,
|
|
1280
|
+
* 不让它掉回页面;焦点本来在别处则不去抢。
|
|
1281
|
+
*
|
|
1282
|
+
* `selector` 为 `null` 时 `root()` 自己就是会被换掉的元素(组件根元素随 prop 换标签的情况)。
|
|
1283
|
+
* 焦点归属隔着影子宿主和 iframe 判断:影子树里拿着焦点的元素被换掉,焦点照样跟过去;
|
|
1284
|
+
* 换完时焦点已经被别处拿走(应用自己聚焦了别的控件),就不去抢。
|
|
1285
|
+
*/
|
|
1286
|
+
export declare function useFocusAcrossSwap(root: () => unknown, selector: string | null, swapped: () => unknown): void;
|
|
1287
|
+
//#endregion
|
|
1276
1288
|
//#region src/composables/internal/focusLeaving.d.ts
|
|
1277
1289
|
/**
|
|
1278
1290
|
* 如果变化会让焦点丢掉就返回 true:现在哪儿都没有焦点,或者焦点还在即将被藏起的 `surface` 里。
|
package/dist/internal/touch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useTouchHitArea } from "../useTouchHitArea-
|
|
1
|
+
import { n as useTouchHitArea } from "../useTouchHitArea-DCAX0X6S.js";
|
|
2
2
|
import { a as registerMotionTable, f as toSpring, i as parseMotionRoleValue, r as parseCssEasing } from "../roles-D6hLs7Rg.js";
|
|
3
3
|
import { c as solveSpring, o as timing } from "../linearEasing-CDsqxyiS.js";
|
|
4
4
|
import { a as UIKIT_PAN, c as UIKIT_SCREEN_EDGE_PAN, f as scroll, r as UIKIT_GESTURES } from "../gestures-BpGkqgpV.js";
|
|
@@ -6,22 +6,23 @@ import { n as createMotionEngine, t as animatorFor } from "../animator-D6Buqmbt.
|
|
|
6
6
|
import { t as cubicBezier } from "../bezier-Dko5MnTp.js";
|
|
7
7
|
import { t as resolveMotion } from "../resolveMotion-BHR1cz0Q.js";
|
|
8
8
|
import { a as NAVIGATION_PUSH_SPRING, i as NAVIGATION_POP_SPRING, n as NAVIGATION_BAR_ELEMENTS_SPRING, r as NAVIGATION_INTERACTIVE_POP_FINISH_SPRING } from "../springs-BqW2WrS-.js";
|
|
9
|
-
import { i as ALL_NATIVE_TOUCH, t as getGestureHost } from "../GestureHost-
|
|
10
|
-
import { t as PanGestureRecognizer } from "../PanGestureRecognizer-
|
|
9
|
+
import { i as ALL_NATIVE_TOUCH, t as getGestureHost } from "../GestureHost-25aSFM1Y.js";
|
|
10
|
+
import { t as PanGestureRecognizer } from "../PanGestureRecognizer-BVA9pqme.js";
|
|
11
11
|
import { t as TOUCH_QUERY } from "../touchQueries-xy5IeZfe.js";
|
|
12
12
|
import { t as isCoarsePointer } from "../coarsePointer-BWNSUIY8.js";
|
|
13
13
|
import { t as isRtlElement } from "../isRtlElement-NHuH48AA.js";
|
|
14
|
-
import { t as LongPressGestureRecognizer } from "../LongPressGestureRecognizer-
|
|
15
|
-
import { t as focusForLastInput } from "../focusReturn-
|
|
14
|
+
import { t as LongPressGestureRecognizer } from "../LongPressGestureRecognizer-DyfS9mpX.js";
|
|
15
|
+
import { t as focusForLastInput } from "../focusReturn-CXHM5lOY.js";
|
|
16
16
|
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "../rubberBand-CE3LYEUx.js";
|
|
17
17
|
import { c as measureLogicalScrollAxis } from "../scrollGeometry-ajfQQRJt.js";
|
|
18
18
|
import { n as observeResize } from "../sharedResizeObserver-BekhnB3E.js";
|
|
19
19
|
import { t as mapProgress } from "../progress-FQfSgLZC.js";
|
|
20
|
-
import { t as isFocusLost } from "../focusLeaving-
|
|
20
|
+
import { t as isFocusLost } from "../focusLeaving-mWmyOnpz.js";
|
|
21
21
|
import { n as reducedMotionFade } from "../reducedMotion-BcstlXZU.js";
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
22
|
+
import { t as useFocusAcrossSwap } from "../focusAcrossSwap-DYmqoqKg.js";
|
|
23
|
+
import { t as TapGestureRecognizer } from "../TapGestureRecognizer-DGoxircL.js";
|
|
24
|
+
import { t as useGestureRecognizer } from "../useGestureRecognizer-Bj0nynLS.js";
|
|
25
|
+
import { t as useFingerScroll } from "../useFingerScroll-BhnBhQoa.js";
|
|
25
26
|
//#region src/gestures/ScreenEdgePanGestureRecognizer.ts
|
|
26
27
|
/**
|
|
27
28
|
* How far past `edgeRegion` a view still counts as the edge zone, px: layout
|
|
@@ -231,4 +232,4 @@ function registerNavigationTable() {
|
|
|
231
232
|
}
|
|
232
233
|
registerNavigationTable();
|
|
233
234
|
//#endregion
|
|
234
|
-
export { LongPressGestureRecognizer, NAVIGATION_BAR_ELEMENTS_SPRING, NAVIGATION_INTERACTIVE_POP_FINISH_SPRING, NAVIGATION_POP_SPRING, NAVIGATION_PUSH_SPRING, PanGestureRecognizer, ScreenEdgePanGestureRecognizer, TOUCH_QUERY, TapGestureRecognizer, UIKIT_GESTURES, animatorFor, createMotionEngine, cubicBezier, focusForLastInput, getGestureHost, isCoarsePointer, isFocusLost, isRtlElement, mapProgress, measureLogicalScrollAxis, navigation, observeResize, parseCssEasing, parseMotionRoleValue, reducedMotionFade, resolveMotion, rubberBand, rubberBandInverse, rubberBandSlope, scroll, solveSpring, timing, toSpring, useFingerScroll, useGestureRecognizer, useTouchHitArea };
|
|
235
|
+
export { LongPressGestureRecognizer, NAVIGATION_BAR_ELEMENTS_SPRING, NAVIGATION_INTERACTIVE_POP_FINISH_SPRING, NAVIGATION_POP_SPRING, NAVIGATION_PUSH_SPRING, PanGestureRecognizer, ScreenEdgePanGestureRecognizer, TOUCH_QUERY, TapGestureRecognizer, UIKIT_GESTURES, animatorFor, createMotionEngine, cubicBezier, focusForLastInput, getGestureHost, isCoarsePointer, isFocusLost, isRtlElement, mapProgress, measureLogicalScrollAxis, navigation, observeResize, parseCssEasing, parseMotionRoleValue, reducedMotionFade, resolveMotion, rubberBand, rubberBandInverse, rubberBandSlope, scroll, solveSpring, timing, toSpring, useFingerScroll, useFocusAcrossSwap, useGestureRecognizer, useTouchHitArea };
|
|
@@ -6,8 +6,8 @@ import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-D6Buq
|
|
|
6
6
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
7
7
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
8
8
|
import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
|
|
9
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
10
|
-
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
9
|
+
import { t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
|
|
10
|
+
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-BVA9pqme.js";
|
|
11
11
|
import { t as resolveSnapPoint } from "./resolveSnapPoint-Cm2KePTm.js";
|
|
12
12
|
import { computed, inject, provide } from "vue";
|
|
13
13
|
//#region src/gestures/createPanGesture.ts
|
|
@@ -1,53 +1,7 @@
|
|
|
1
|
-
import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
2
1
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
-
import { t as FOCUSABLE_SELECTOR } from "./focus-
|
|
4
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* 焦点归还后把打开者露出来(上游 utils/focusReturn.ts 的 `revealReturnTarget`)。
|
|
8
|
-
*
|
|
9
|
-
* 归还焦点本身不滚动页面。打开者是 Tab 能到的控件、放得进可见区域、却被页面滚出了
|
|
10
|
-
* 视野(或只露出一部分)时,把它滚到最近的边上,键盘用户能看见焦点在哪。
|
|
11
|
-
*
|
|
12
|
-
* 不是 Tab 停靠点的目标不滚:WebKit 会把轻点按钮时最近的可聚焦祖先(比如
|
|
13
|
-
* `tabindex="-1"` 的主区域)记成打开者,滚到它会把页面卷回那个区域的顶边。
|
|
14
|
-
* 比可见区域还大的目标、被 `overflow: hidden` 裁掉的目标也不滚。
|
|
15
|
-
*/
|
|
16
|
-
/** Tab 能到它:本身可聚焦,也没有负的 tabindex 把它移出顺序。 */
|
|
17
|
-
function isTabStop(element) {
|
|
18
|
-
const attribute = element.getAttribute("tabindex");
|
|
19
|
-
if (attribute != null && Number.parseInt(attribute, 10) < 0) return false;
|
|
20
|
-
return element.matches(FOCUSABLE_SELECTOR);
|
|
21
|
-
}
|
|
22
|
-
function fitsVisibleArea(element) {
|
|
23
|
-
const doc = element.ownerDocument;
|
|
24
|
-
const view = doc.defaultView;
|
|
25
|
-
if (view == null) return false;
|
|
26
|
-
const box = element.getBoundingClientRect();
|
|
27
|
-
const viewport = view.visualViewport;
|
|
28
|
-
if (box.width > (viewport?.width ?? view.innerWidth) || box.height > (viewport?.height ?? view.innerHeight)) return false;
|
|
29
|
-
let shown = box;
|
|
30
|
-
for (let scroller = element.parentElement; scroller != null; scroller = scroller.parentElement) {
|
|
31
|
-
const style = view.getComputedStyle(scroller);
|
|
32
|
-
const scrollsX = SCROLLABLE_OVERFLOW.has(style.overflowX);
|
|
33
|
-
const scrollsY = SCROLLABLE_OVERFLOW.has(style.overflowY);
|
|
34
|
-
if (scrollsX && box.width > scroller.clientWidth || scrollsY && box.height > scroller.clientHeight) return false;
|
|
35
|
-
if (scroller === doc.documentElement || scroller === doc.body) continue;
|
|
36
|
-
const clip = scroller.getBoundingClientRect();
|
|
37
|
-
if (style.overflowX === "hidden" && (shown.left < clip.left || shown.right > clip.right) || style.overflowY === "hidden" && (shown.top < clip.top || shown.bottom > clip.bottom)) return false;
|
|
38
|
-
if (scrollsX || scrollsY) shown = clip;
|
|
39
|
-
}
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
/** 焦点在 `element` 上、它是 Tab 停靠点并且放得进可见区域时,把它滚到最近的边上。 */
|
|
43
|
-
function revealReturnTarget(element) {
|
|
44
|
-
if (element.ownerDocument.activeElement !== element || !isTabStop(element) || typeof element.scrollIntoView !== "function" || !fitsVisibleArea(element)) return;
|
|
45
|
-
element.scrollIntoView({
|
|
46
|
-
block: "nearest",
|
|
47
|
-
inline: "nearest"
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
2
|
+
import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
|
|
3
|
+
import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
|
|
4
|
+
import { t as revealReturnTarget } from "./revealReturnTarget-DNX6xtLb.js";
|
|
51
5
|
//#region src/layer/layerFocusReturn.ts
|
|
52
6
|
function documentOf(element) {
|
|
53
7
|
if (element != null) return element.ownerDocument;
|
|
@@ -83,19 +37,37 @@ function trackLayerFocus(options) {
|
|
|
83
37
|
doc,
|
|
84
38
|
place,
|
|
85
39
|
ancestors,
|
|
86
|
-
|
|
40
|
+
focusMovingTo: null,
|
|
41
|
+
stop: () => {
|
|
42
|
+
doc?.removeEventListener("focusin", onFocusIn, true);
|
|
43
|
+
doc?.removeEventListener("blur", onBlur, true);
|
|
44
|
+
}
|
|
87
45
|
};
|
|
88
46
|
function onFocusIn(event) {
|
|
47
|
+
record.focusMovingTo = null;
|
|
89
48
|
const current = options.getLayer();
|
|
90
49
|
if (current != null && event.target instanceof Node && current.contains(event.target)) record.hasEntered = true;
|
|
91
50
|
}
|
|
51
|
+
function onBlur(event) {
|
|
52
|
+
const next = event.relatedTarget;
|
|
53
|
+
const current = options.getLayer();
|
|
54
|
+
if (next instanceof Element && event.target instanceof Node && current != null && current.contains(event.target) && !current.contains(next)) {
|
|
55
|
+
record.focusMovingTo = next;
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
if (record.focusMovingTo === next) record.focusMovingTo = null;
|
|
58
|
+
}, 0);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
92
61
|
doc?.addEventListener("focusin", onFocusIn, true);
|
|
62
|
+
doc?.addEventListener("blur", onBlur, true);
|
|
93
63
|
return record;
|
|
94
64
|
}
|
|
95
65
|
/** 焦点是不是被困在这一层:进过这一层,并且现在在这一层里或者掉到了 body 上。 */
|
|
96
66
|
function isLayerFocusStranded(record, layer) {
|
|
97
67
|
const { doc } = record;
|
|
98
68
|
if (!record.hasEntered || doc == null) return false;
|
|
69
|
+
const movingTo = record.focusMovingTo;
|
|
70
|
+
if (movingTo instanceof HTMLElement && movingTo.isConnected && qualifies(movingTo, layer)) return false;
|
|
99
71
|
const active = doc.activeElement;
|
|
100
72
|
return isDetached(doc) || layer != null && active != null && layer.contains(active);
|
|
101
73
|
}
|
|
@@ -132,13 +104,13 @@ function findController(doc, layerId) {
|
|
|
132
104
|
return null;
|
|
133
105
|
}
|
|
134
106
|
/** 给本身不能聚焦的元素临时加一个 `tabindex="-1"`,焦点离开时摘掉。 */
|
|
135
|
-
function focusWithTemporaryStop(element
|
|
107
|
+
function focusWithTemporaryStop(element) {
|
|
136
108
|
if (!isFocusableNow(element)) {
|
|
137
109
|
element.setAttribute("tabindex", "-1");
|
|
138
110
|
element.addEventListener("blur", () => element.removeAttribute("tabindex"), { once: true });
|
|
139
111
|
}
|
|
140
112
|
focusForLastInput(element, { preventScroll: true });
|
|
141
|
-
|
|
113
|
+
revealReturnTarget(element);
|
|
142
114
|
}
|
|
143
115
|
/**
|
|
144
116
|
* 沿候选链把焦点送出这一层。只在焦点被困住时调用(见 `isLayerFocusStranded`)。
|
|
@@ -159,7 +131,7 @@ function restoreLayerFocus(record, options) {
|
|
|
159
131
|
];
|
|
160
132
|
for (const candidate of candidates) {
|
|
161
133
|
if (!qualifies(candidate, layer)) continue;
|
|
162
|
-
focusWithTemporaryStop(candidate
|
|
134
|
+
focusWithTemporaryStop(candidate);
|
|
163
135
|
if (doc?.activeElement === candidate) return true;
|
|
164
136
|
}
|
|
165
137
|
devWarn(options.name ?? "Layer", "focus could not return anywhere after the layer closed: the opener, the trigger and every fallback are gone or cannot take focus.");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent } from "vue";
|
|
2
2
|
//#region src/BottomSheet/lazyBottomSheet.ts
|
|
3
3
|
function loadBottomSheet() {
|
|
4
|
-
return import("./BottomSheet-
|
|
4
|
+
return import("./BottomSheet-j5app7P8.js").then((n) => n.t);
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* 按需加载的 BottomSheet:只在底部弹层真正进入组件树时请求,只用锚定浮层的页面
|
|
@@ -1,5 +1,84 @@
|
|
|
1
1
|
import { a as idlePressGesture, n as PRESS_ONSET_MS, o as pressGestureStep, t as PRESS_FLASH_MS } from "./pressGesture-VrM5-7aV.js";
|
|
2
|
-
import { n as
|
|
2
|
+
import { n as innermostInteractive, r as labelledControl } from "./interactiveAncestor-CEsQ_YQW.js";
|
|
3
|
+
//#region src/composables/useClickableContainer.ts
|
|
4
|
+
function hasInteractiveAncestor(element, root) {
|
|
5
|
+
return innermostInteractive(element, root) != null;
|
|
6
|
+
}
|
|
7
|
+
function hasTextSelection(node) {
|
|
8
|
+
if (typeof document === "undefined" || document.getSelection == null) return false;
|
|
9
|
+
const selection = document.getSelection();
|
|
10
|
+
if (selection == null || selection.isCollapsed) return false;
|
|
11
|
+
return node.contains(selection.anchorNode);
|
|
12
|
+
}
|
|
13
|
+
function openInNewTab(href) {
|
|
14
|
+
window.open(href, "_blank", "noopener");
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 把容器的 click / mouseup 交给调用方绑到根元素上。
|
|
18
|
+
* 组件挂载后会给容器加上 `data-pressable-container`,嵌套的可点容器因此不会互相抢走点击。
|
|
19
|
+
*/
|
|
20
|
+
function useClickableContainer(options) {
|
|
21
|
+
function markContainer() {
|
|
22
|
+
const container = options.containerRef.value;
|
|
23
|
+
if (container != null) container.dataset.pressableContainer = "true";
|
|
24
|
+
}
|
|
25
|
+
function onClick(event) {
|
|
26
|
+
markContainer();
|
|
27
|
+
if (options.disabled) return;
|
|
28
|
+
const container = options.containerRef.value;
|
|
29
|
+
if (container == null) return;
|
|
30
|
+
if (hasTextSelection(container)) return;
|
|
31
|
+
const target = event.target;
|
|
32
|
+
if (!(target instanceof Element)) return;
|
|
33
|
+
if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
|
|
34
|
+
options.onClick?.(event);
|
|
35
|
+
if (event.defaultPrevented) return;
|
|
36
|
+
const href = options.href;
|
|
37
|
+
if (href != null && href !== "") {
|
|
38
|
+
if (options.target === "_blank" || event.metaKey || event.ctrlKey) {
|
|
39
|
+
openInNewTab(href);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const interactive = options.interactiveRef?.value;
|
|
43
|
+
if (interactive != null) {
|
|
44
|
+
interactive.click();
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
window.location.assign(href);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (options.onClick == null) {
|
|
51
|
+
const interactive = options.interactiveRef?.value;
|
|
52
|
+
if (interactive != null) {
|
|
53
|
+
interactive.dispatchEvent(new MouseEvent("click", {
|
|
54
|
+
bubbles: true,
|
|
55
|
+
cancelable: true,
|
|
56
|
+
button: event.button,
|
|
57
|
+
ctrlKey: event.ctrlKey,
|
|
58
|
+
metaKey: event.metaKey,
|
|
59
|
+
shiftKey: event.shiftKey,
|
|
60
|
+
altKey: event.altKey
|
|
61
|
+
}));
|
|
62
|
+
event.stopPropagation();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function onMouseUp(event) {
|
|
67
|
+
if (options.disabled) return;
|
|
68
|
+
const href = options.href;
|
|
69
|
+
if (href == null || href === "" || event.button !== 1) return;
|
|
70
|
+
const container = options.containerRef.value;
|
|
71
|
+
const target = event.target;
|
|
72
|
+
if (container == null || !(target instanceof Element)) return;
|
|
73
|
+
if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
|
|
74
|
+
openInNewTab(href);
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
onClick,
|
|
78
|
+
onMouseUp
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
3
82
|
//#region src/composables/internal/pressHeld.ts
|
|
4
83
|
/**
|
|
5
84
|
* 一块可按表面的按压被它的主人「按住不放」:表面照样接住按压,但什么都不画,和不可用的表面一样,
|
|
@@ -52,6 +131,11 @@ const DISABLED = ":disabled, [aria-disabled=\"true\"]";
|
|
|
52
131
|
function landsOnNestedControl(target, container) {
|
|
53
132
|
const action = target.closest(`[${PRESS_ACTION_ATTRIBUTE}]`);
|
|
54
133
|
if (action != null && container.contains(action)) return false;
|
|
134
|
+
const owner = innermostInteractive(target, container);
|
|
135
|
+
const control = owner == null ? null : labelledControl(owner);
|
|
136
|
+
if (control != null) {
|
|
137
|
+
if (container.querySelector(`[data-astryx-press-action]`)?.contains(control) === true) return false;
|
|
138
|
+
}
|
|
55
139
|
return hasInteractiveAncestor(target, container);
|
|
56
140
|
}
|
|
57
141
|
/**
|
|
@@ -237,4 +321,4 @@ function takeOver(other, element) {
|
|
|
237
321
|
if (other.live?.element === element) finish(other);
|
|
238
322
|
}
|
|
239
323
|
//#endregion
|
|
240
|
-
export { finish as a, pressFadeMs as c, PRESS_CONTAINER_ATTRIBUTE as d, PRESS_GROUP_ITEM_ATTRIBUTE as f, setPressHeld as h, finger as i, PRESSABLE_ATTRIBUTE as l, pressSurfaceAt as m, apply as n, releaseIfDead as o, isTrackedByGroup as p, button as r, takeOver as s, PRESSED_ATTRIBUTE as t, PRESS_ACTION_ATTRIBUTE as u };
|
|
324
|
+
export { hasTextSelection as _, finish as a, pressFadeMs as c, PRESS_CONTAINER_ATTRIBUTE as d, PRESS_GROUP_ITEM_ATTRIBUTE as f, hasInteractiveAncestor as g, setPressHeld as h, finger as i, PRESSABLE_ATTRIBUTE as l, pressSurfaceAt as m, apply as n, releaseIfDead as o, isTrackedByGroup as p, button as r, takeOver as s, PRESSED_ATTRIBUTE as t, PRESS_ACTION_ATTRIBUTE as u, useClickableContainer as v };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
2
|
+
import { a as isTabStop, t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
|
|
3
|
+
//#region src/layer/revealReturnTarget.ts
|
|
4
|
+
/**
|
|
5
|
+
* 焦点归还后把打开者露出来(上游 utils/focusReturn.ts 的 `revealReturnTarget`)。
|
|
6
|
+
*
|
|
7
|
+
* 归还焦点本身不滚动页面。打开者是 Tab 能到的控件、放得进可见区域、却被页面滚出了
|
|
8
|
+
* 视野(或只露出一部分)时,把它滚到最近的边上,键盘用户能看见焦点在哪。
|
|
9
|
+
*
|
|
10
|
+
* 不是 Tab 停靠点的目标不滚:WebKit 会把轻点按钮时最近的可聚焦祖先(比如
|
|
11
|
+
* `tabindex="-1"` 的主区域)记成打开者,滚到它会把页面卷回那个区域的顶边。
|
|
12
|
+
* 比可见区域还大的目标、被 `overflow: hidden` 裁掉的目标也不滚。
|
|
13
|
+
*/
|
|
14
|
+
function fitsVisibleArea(element) {
|
|
15
|
+
const doc = element.ownerDocument;
|
|
16
|
+
const view = doc.defaultView;
|
|
17
|
+
if (view == null) return false;
|
|
18
|
+
const box = element.getBoundingClientRect();
|
|
19
|
+
const viewport = view.visualViewport;
|
|
20
|
+
if (box.width > (viewport?.width ?? view.innerWidth) || box.height > (viewport?.height ?? view.innerHeight)) return false;
|
|
21
|
+
let shown = box;
|
|
22
|
+
for (let scroller = element.parentElement; scroller != null; scroller = scroller.parentElement) {
|
|
23
|
+
const style = view.getComputedStyle(scroller);
|
|
24
|
+
const scrollsX = SCROLLABLE_OVERFLOW.has(style.overflowX);
|
|
25
|
+
const scrollsY = SCROLLABLE_OVERFLOW.has(style.overflowY);
|
|
26
|
+
if (scrollsX && box.width > scroller.clientWidth || scrollsY && box.height > scroller.clientHeight) return false;
|
|
27
|
+
if (scroller === doc.documentElement || scroller === doc.body) continue;
|
|
28
|
+
const clip = scroller.getBoundingClientRect();
|
|
29
|
+
if (style.overflowX === "hidden" && (shown.left < clip.left || shown.right > clip.right) || style.overflowY === "hidden" && (shown.top < clip.top || shown.bottom > clip.bottom)) return false;
|
|
30
|
+
if (scrollsX || scrollsY) shown = clip;
|
|
31
|
+
}
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
/** 焦点在 `element` 上、它是 Tab 停靠点并且放得进可见区域时,把它滚到最近的边上。 */
|
|
35
|
+
function revealReturnTarget(element) {
|
|
36
|
+
if (element.ownerDocument.activeElement !== element || !element.matches(FOCUSABLE_SELECTOR) || !isTabStop(element) || typeof element.scrollIntoView !== "function" || !fitsVisibleArea(element)) return;
|
|
37
|
+
element.scrollIntoView({
|
|
38
|
+
block: "nearest",
|
|
39
|
+
inline: "nearest"
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { revealReturnTarget as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
|
|
2
|
-
import { t as armClickGuard } from "./clickGuard-
|
|
2
|
+
import { t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
|
|
3
3
|
import { o as sharedWeakMap, s as sharedWeakSet } from "./sharedRealm-BYHklCVM.js";
|
|
4
|
-
import {
|
|
4
|
+
import { i as getTouches, s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
5
5
|
import { i as PRESS_SLOP_PX } from "./pressGesture-VrM5-7aV.js";
|
|
6
6
|
import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
|
|
7
7
|
import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as FOCUSABLE_SELECTOR } from "./focus-
|
|
1
|
+
import { t as FOCUSABLE_SELECTOR } from "./focus-DxAD3umZ.js";
|
|
2
2
|
import { o as isScrollCapableOverflow } from "./scrollGeometry-ajfQQRJt.js";
|
|
3
3
|
//#region src/composables/internal/scrollOwnerRegistry.ts
|
|
4
4
|
const owners = /* @__PURE__ */ new WeakMap();
|
|
@@ -4,7 +4,7 @@ import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
|
|
|
4
4
|
import { r as SETTLE_THRESHOLD } from "./animator-D6Buqmbt.js";
|
|
5
5
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
6
6
|
import { n as solveDecay } from "./decay-ClFADeqT.js";
|
|
7
|
-
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-
|
|
7
|
+
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-DyfS9mpX.js";
|
|
8
8
|
//#region src/motion/coast.ts
|
|
9
9
|
/** A curve that holds `end` from `duration` on. */
|
|
10
10
|
function settling(duration, end, at, velocity) {
|
|
@@ -21,6 +21,17 @@ function textDirection(content) {
|
|
|
21
21
|
if (typeof content !== "string" && typeof content !== "number") return void 0;
|
|
22
22
|
return hasStrongRightToLeft(String(content)) ? void 0 : "ltr";
|
|
23
23
|
}
|
|
24
|
+
/** 从左到右隔离(LRI,U+2066)和弹出隔离(PDI,U+2069)。 */
|
|
25
|
+
const LEFT_TO_RIGHT_ISOLATE = "";
|
|
26
|
+
const POP_DIRECTIONAL_ISOLATE = "";
|
|
27
|
+
/**
|
|
28
|
+
* 只能交出一段纯文字、没法给装文字的元素标 `dir` 的地方(例如一个只收字符串的气泡)用:
|
|
29
|
+
* `textDirection` 答 `'ltr'` 的文字包进一对从左到右的隔离符,等同于套一层 `dir="ltr"` 的 span。
|
|
30
|
+
* 只改文字的排列顺序,不改对齐。空字符串原样返回。
|
|
31
|
+
*/
|
|
32
|
+
function isolateTextDirection(text) {
|
|
33
|
+
return text === "" || textDirection(text) !== "ltr" ? text : `${LEFT_TO_RIGHT_ISOLATE}${text}${POP_DIRECTIONAL_ISOLATE}`;
|
|
34
|
+
}
|
|
24
35
|
const LETTER = unicodeRegExp("\\p{Letter}");
|
|
25
36
|
/** 文字里有没有不是右到左的字母。数字和标点不算,所以 "דוח 2026" 仍算一种文字。 */
|
|
26
37
|
function hasStrongLeftToRight(text) {
|
|
@@ -57,4 +68,4 @@ function plainSlotText(nodes) {
|
|
|
57
68
|
return text;
|
|
58
69
|
}
|
|
59
70
|
//#endregion
|
|
60
|
-
export { textDirection as i, cutTextDirection as n,
|
|
71
|
+
export { textDirection as a, plainSlotText as i, cutTextDirection as n, isolateTextDirection as r, CUT_TEXT_PAGE_ALIGN_CLASS as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-DxI-GE81.js";
|
|
2
2
|
import { t as matchesFocusVisible } from "./tooltipTriggerRules-BjnT3wIz.js";
|
|
3
3
|
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
4
|
-
import { i as isFocusable } from "./focus-
|
|
4
|
+
import { i as isFocusable } from "./focus-DxAD3umZ.js";
|
|
5
5
|
import { onScopeDispose } from "vue";
|
|
6
6
|
//#region src/layer/useHoverLayerDismiss.ts
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
|
|
3
|
-
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-
|
|
3
|
+
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DCAX0X6S.js";
|
|
4
4
|
import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-VrM5-7aV.js";
|
|
5
|
-
import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-
|
|
5
|
+
import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-BxYt3vyU.js";
|
|
6
6
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
7
7
|
//#region src/composables/internal/useActionGroupTracking.ts
|
|
8
8
|
const DISABLED = ":disabled, [aria-disabled=\"true\"]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
2
2
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
3
3
|
import { i as scrollsPage, n as scrollEventTarget, r as scrollportTop, t as setScrollAnchoringOff } from "./scrollAnchoring-CNplZXRt.js";
|
|
4
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as getGestureHost } from "./GestureHost-
|
|
2
|
+
import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
3
|
+
import { t as getGestureHost } from "./GestureHost-25aSFM1Y.js";
|
|
4
4
|
import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
5
5
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
6
6
|
//#region src/gestures/fingerScroll.ts
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
2
2
|
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
3
|
+
import { a as isTabStop } from "./focus-DxAD3umZ.js";
|
|
4
|
+
import { i as hasInnerRegionHolding, n as collapseRadioGroups, o as precedes, r as focusablesIn, s as registerRegion, t as attemptFocus } from "./focusRegion-0I3hsblQ.js";
|
|
5
|
+
import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
|
|
5
6
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
6
7
|
//#region src/composables/useFocusTrap.ts
|
|
7
8
|
/**
|
|
@@ -37,9 +38,15 @@ function useFocusTrap(options = {}) {
|
|
|
37
38
|
const el = containerRef.value;
|
|
38
39
|
return el != null && event.target instanceof Node && el.contains(event.target);
|
|
39
40
|
}
|
|
40
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* 把焦点绕到 `target`,只有焦点真的动了才拦下这次 Tab;被拒绝时(被上层模态盖住)交给浏览器。
|
|
43
|
+
* 目标可能在自己的 focus 处理里把焦点再转给别的元素,那也算动了。
|
|
44
|
+
*/
|
|
41
45
|
function wrapFocus(event, target) {
|
|
42
|
-
if (target
|
|
46
|
+
if (target == null) return;
|
|
47
|
+
const doc = target.ownerDocument;
|
|
48
|
+
const before = doc.activeElement;
|
|
49
|
+
if (attemptFocus(target) || doc.activeElement !== before) event.preventDefault();
|
|
43
50
|
}
|
|
44
51
|
function onEscapeKeyDown(event) {
|
|
45
52
|
if (!isActive() || event.key !== "Escape") return;
|
|
@@ -55,7 +62,7 @@ function useFocusTrap(options = {}) {
|
|
|
55
62
|
const active = trapDocument()?.activeElement ?? null;
|
|
56
63
|
if (el == null || active == null || !el.contains(active)) return;
|
|
57
64
|
if (hasInnerRegionHolding(el, active)) return;
|
|
58
|
-
const focusables = focusablesIn(el);
|
|
65
|
+
const focusables = focusablesIn(el).filter(isTabStop);
|
|
59
66
|
if (focusables.length === 0) {
|
|
60
67
|
event.preventDefault();
|
|
61
68
|
return;
|
|
@@ -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-25aSFM1Y.js";
|
|
3
3
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
4
4
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
5
5
|
//#region src/gestures/gestureSync.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as useClickableContainer } from "./pressSlot-BxYt3vyU.js";
|
|
2
2
|
import { toValue } from "vue";
|
|
3
3
|
//#region src/composables/useInputContainer.ts
|
|
4
4
|
/** 点了以后接焦点的输入框类型:这些类型自己不会因为点击容器而聚焦。 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-C6A69-um.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-C2jNfn3M.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
|
-
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-
|
|
2
|
+
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
|
|
3
3
|
import { s as currentGesture } from "./layerDepth-DxI-GE81.js";
|
|
4
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
4
|
+
import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
|
|
5
5
|
import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
|
|
6
|
-
import { r as isInputShield } from "./inputHoldState-
|
|
6
|
+
import { r as isInputShield } from "./inputHoldState-B4uHEjk5.js";
|
|
7
7
|
import { getCurrentScope, onScopeDispose, toValue } from "vue";
|
|
8
8
|
//#region src/composables/useLongPress.ts
|
|
9
9
|
const DEFAULT_DELAY_MS = 500;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
2
|
import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
|
|
3
|
-
import {
|
|
3
|
+
import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
4
4
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
5
5
|
import { t as animatorFor } from "./animator-D6Buqmbt.js";
|
|
6
6
|
import { t as KEYBOARD_SPRING } from "./springs-BqW2WrS-.js";
|
|
@@ -8,7 +8,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-DiF6K9Lm.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) {
|