@astryx-vue/core 0.24.0 → 0.26.0
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-DXOTr1D7.js → AlertDialog-Sku86l_R.js} +194 -8
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cmu6bMY6.js → AppShell-CJWvaqgZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-dMcn3j8Z.js → Avatar-C5KaulzE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
- package/dist/Badge/index.d.ts +1 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-BtuF3uH6.js} +114 -11
- package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-DKrJyrhw.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-Nv-089W0.js → Breadcrumbs-Cvzwy6sZ.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DqYT_S9M.js → Chat-BIHEfSec.js} +205 -43
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-FKfsoLcl.js → CheckboxInput-wmX3Ekj-.js} +7 -7
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuSVBtMk.js → CheckboxList-JWXHHU-u.js} +6 -6
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-dNmSVHBu.js → ClickableCard-CwGxO0GU.js} +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BDCJRfFN.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-CJyQd7P-.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-C4CO8Fd2.js → ComplexSelector-DIb8LjYJ.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-SzsWZf18.js → ContextMenu-HLvsROcS.js} +13 -26
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D9Jv70H7.js → DateInput-D5YBijbb.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-BlcHsqgx.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-Bx3LWb9Y.js} +7 -7
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DUlWQH8R.js → Dialog-CNLEL4Mf.js} +1 -1
- package/dist/{Dialog-JCB5s-T-.js → Dialog-CxeXQTqH.js} +10 -0
- package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CjXS_wba.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-BDuiw1-g.js → Drawer-B_4HN6v5.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-Der2x_k_.js → DropdownMenu-CvdeExRQ.js} +5 -5
- package/dist/{DropdownMenu-BhxKnh6D.js → DropdownMenu-D_fBzKvf.js} +52 -23
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CnFkYtcS.js → EmptyState-DUaFClsX.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-D4UmRHlD.js → Field-Btyrw1hd.js} +2 -2
- package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
- package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-B4l3sS4O.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-8oYiJsq_.js → FileInput-BUwV9fQa.js} +135 -85
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-COtyAhtB.js → Heading-BuZaxfIK.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CNZateDb.js → InfoTip-BDo2xI8h.js} +2 -2
- package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CfUGHDNz.js → InputGroup-1Ukiu-dg.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-B2Gv5yAm.js} +1 -1
- package/dist/{Item-DyaYlbyE.js → Item-DUI1Qnnd.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B7OJQ0zl.js → Link-ruNSnGtC.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-gj_lOvEt.js → ListItem-C8SqSrU6.js} +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cbj-nqhN.js → Markdown-C-KT_riK.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-BGNYwwfI.js} +12 -0
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dokwc4Mg.js → MoreMenu-DnwzVBEE.js} +17 -31
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CId8-qAX.js → MultiSelector-Cl_HzKvn.js} +25 -26
- package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
- package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-_eIEwV41.js → NavItem-c1ScHEJY.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-pCZjhMHe.js} +2 -2
- package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BIqpJmH6.js} +3 -3
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-Dz0H_XPw.js} +386 -99
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CumJl6X_.js → OverflowList-MCN1PhBB.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-C0Bx80Tu.js → Pagination-Cq9BIzPe.js} +59 -48
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-BJAyg1Qh.js +1247 -0
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Dq6Gi9z1.js → PowerSearch-wXnusKnz.js} +19 -19
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-C6x0E-BF.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-IKBXLzYU.js → RadioGroup-LUDji_LA.js} +7 -7
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-NW4fGKgm.js → RadioList-CmeUUgn-.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-DRxcUlVP.js → SegmentedControl-BkWz-I2J.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BW_oxWDM.js → Selector-BL_JH51H.js} +30 -25
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-B5mMRj98.js → SideNav-DtAQA-o-.js} +9 -9
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-oD3AY4jh.js → Slider-DEMdW9An.js} +4 -4
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-B3oOyRF7.js → StatusDot-_rucEf3d.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DG_A9cD0.js → Switch-BxRYZTQV.js} +6 -6
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-FkoypUk0.js → TabList-D8KzfcGB.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-zNW23VwP.js → Table-DYDBgr3y.js} +15 -15
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-v1ep26uD.js → Text-CHauN5So.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BilHnmSs.js → TextArea-BJl6YH4p.js} +56 -22
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D6tHM2sA.js → TextInput-CGOVY0Zk.js} +78 -34
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-C3MvJ67s.js} +3 -3
- package/dist/{TimeField-C5rcoaVu.js → TimeField-C2of7Ok5.js} +14 -33
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B_YY-IHW.js} +3 -3
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-65PfuoQ7.js → Timer-OULaFQFf.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-rYC8mE3r.js → Timestamp-B6J0nfYH.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Bnn_MiOn.js → ToggleButton-DfpsuhMa.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B-j3AKxB.js → Token-C7Dt5ygK.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-Cpdy_L00.js → Tokenizer-CSmIMDc4.js} +6 -6
- 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-CByjfHBZ.js → Tooltip-gT9_hIEv.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-q8xDVlM_.js → TopNav-BsrhSbkn.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CEGInQtF.js → TreeList-BEPHdVYu.js} +3 -3
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C-PdRnRQ.js → Typeahead-CdLc7S2v.js} +7 -7
- package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
- package/dist/animator-BooLoGyI.js +3164 -0
- package/dist/announceRenderedText-CslZ0cev.js +50 -0
- package/dist/{assertOptions-og3t30Fh.js → assertOptions-CFn7Gdcr.js} +22 -2
- package/dist/{batch-oTkSbtVz.js → batch-CM-vJhQg.js} +3 -279
- package/dist/{handle-CSHfxBie.js → bezier-Cts7gENO.js} +3 -22
- package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
- package/dist/coarsePointer-BfMx3H23.js +86 -0
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-COCeg92e.js → composables-D9DVeNnL.js} +10 -3271
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-3sC8-cbB.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-DOxmVxTM.js → edgeRide-B5mlN2Q4.js} +4 -4
- package/dist/escape-DzSxSmez.js +10 -0
- package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
- package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
- package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-_FjbcSgD.d.ts → index-7Q-wnbe7.d.ts} +1 -1
- package/dist/{index-Q1oG9yIT.d.ts → index-B-3EGjfQ.d.ts} +2 -2
- package/dist/{index-HULXozsK.d.ts → index-B3uBbehw.d.ts} +8 -8
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-CnVjgLP5.d.ts → index-BCW6qCcS.d.ts} +1 -1
- package/dist/{index-QnlWyUxN.d.ts → index-BFGtLIp8.d.ts} +2 -2
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-BWcZ-L80.d.ts → index-BcRvRqWU.d.ts} +1 -1
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-lmd9LZKB.d.ts → index-ClJINYPl.d.ts} +5 -2
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-BOCb89V9.d.ts → index-DFLPv9io.d.ts} +2 -2
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-85RFPeV0.d.ts → index-DHsYyqMP.d.ts} +5 -5
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-DRDOArzq.d.ts → index-DSEEgvak.d.ts} +1152 -214
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-etx25Eq-.d.ts → index-NOxH5oYj.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-XY0rleGM.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +43 -44
- package/dist/index.js +101 -101
- package/dist/inputHold-BmChuR9x.js +525 -0
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/inputStream-LZdK8luP.js +239 -0
- package/dist/{landing-DFC97kl9.js → landing-B9Uvex6x.js} +3 -2
- package/dist/lazyBottomSheet-CL_PrTxb.js +16 -0
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-2Hu-xisJ.d.ts} +2 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-umh_C97k.js} +2 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BDPlcO62.js} +1 -1
- package/dist/presentationHold-7IkbR4d8.js +118 -0
- package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
- package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
- package/dist/touchHold-CFJlSClt.js +30 -0
- package/dist/{context-DQPBIsl5.js → transientCopy-VAsg2a46.js} +1 -172
- package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
- package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
- package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
- package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useMenuDrillIn-CQrzwZvx.js → useMenuDrillIn-CP0P49ej.js} +9 -8
- package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-Di_3jhOx.js} +5 -3
- package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
- package/dist/{useTooltip-BwqzEtoF.js → useTooltip-BpBMQ815.js} +4 -34
- package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
- package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-t5G978XB.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/context-menu.css +17 -73
- package/styles/dialog.css +18 -1
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/hover-card.css +13 -72
- package/styles/input-group.css +0 -15
- package/styles/layer.css +68 -0
- package/styles/multi-selector.css +17 -30
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +26 -72
- package/styles/selector.css +17 -30
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/styles/tooltip.css +12 -71
- package/styles/typeahead.css +17 -30
- package/dist/Popover-DpR4rwiW.js +0 -374
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/index-CyMStZq4.d.ts +0 -957
- package/dist/types-DIYwbkpe.d.ts +0 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
3
|
-
import { t as InputStatusVariant } from "./useInputStatusIcon-
|
|
3
|
+
import { t as InputStatusVariant } from "./useInputStatusIcon-CFkOmDS4.js";
|
|
4
4
|
import { Component, HTMLAttributes, StyleValue } from "vue";
|
|
5
5
|
//#region src/Typeahead/types.d.ts
|
|
6
6
|
type TypeaheadSize = 'sm' | 'md' | 'lg';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as isTrackedByGroup,
|
|
2
|
-
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-
|
|
1
|
+
import { c as isTrackedByGroup, m as msSinceInput, s as PRESS_GROUP_ITEM_ATTRIBUTE, u as isInsideScrollView } from "./pressFeedback-DVR5V1b6.js";
|
|
2
|
+
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-CNZyA18Y.js";
|
|
3
3
|
import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-BzIBmKF2.js";
|
|
4
4
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
5
5
|
//#region src/composables/internal/useActionGroupTracking.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { i as subscribeInput } from "./inputStream-LZdK8luP.js";
|
|
1
2
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
2
3
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
3
4
|
//#region src/composables/useChatNewMessages.ts
|
|
@@ -47,6 +48,65 @@ function useChatNewMessages(options) {
|
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
//#endregion
|
|
51
|
+
//#region src/utils/pageScroller.ts
|
|
52
|
+
/**
|
|
53
|
+
* @file pageScroller.ts
|
|
54
|
+
* @input 一个滚动容器元素
|
|
55
|
+
* @output scrollsPage、scrollportTop、scrollEventTarget:容器本身就是整页滚动者时的几条规则
|
|
56
|
+
* @position 页面滚动的判断只在这里写一遍,聊天的跟随滚动读它
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* 元素是不是整页的滚动者。页面滚动时根元素的盒子跟着一起移动,它的滚动事件触发在 document 上。
|
|
60
|
+
* 即便滚动元素是 body(怪异模式),documentElement 也算:它的盒子照样随页面移动。
|
|
61
|
+
*/
|
|
62
|
+
function scrollsPage(el) {
|
|
63
|
+
const doc = el.ownerDocument;
|
|
64
|
+
return el === doc.scrollingElement || el === doc.documentElement;
|
|
65
|
+
}
|
|
66
|
+
/** 容器可见区域的顶边(客户端坐标)。整页滚动者的顶边是视口顶部,它自己的盒子比视口顶部高出整段滚动量。 */
|
|
67
|
+
function scrollportTop(el) {
|
|
68
|
+
return scrollsPage(el) ? 0 : el.getBoundingClientRect().top;
|
|
69
|
+
}
|
|
70
|
+
/** 容器的滚动事件触发在哪:整页滚动者触发在 document 上。 */
|
|
71
|
+
function scrollEventTarget(el) {
|
|
72
|
+
return scrollsPage(el) ? el.ownerDocument : el;
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/composables/internal/scrollAnchoring.ts
|
|
76
|
+
/**
|
|
77
|
+
* @file scrollAnchoring.ts
|
|
78
|
+
* @input 一个由组件自己掌管位置的滚动容器
|
|
79
|
+
* @output setScrollAnchoringOff:在元素上关掉浏览器的滚动锚定,或还回去
|
|
80
|
+
* @position 私有滚动锚定属性的唯一属主:属性名和规则只在这个文件里写。聊天的跟随滚动在贴着末尾时调用它
|
|
81
|
+
*/
|
|
82
|
+
const SCROLL_ANCHORING = "data-astryx-scroll-anchoring";
|
|
83
|
+
/** 写在滚动容器上:这里的浏览器锚定已关。 */
|
|
84
|
+
const OFF = "off";
|
|
85
|
+
/** 写在放这条规则的那一个 `<style>` 上。 */
|
|
86
|
+
const RULE = "rule";
|
|
87
|
+
/**
|
|
88
|
+
* 每个文档只加一次这条规则。规则挂在属性上而不是元素的行内样式,所以调用方自己的
|
|
89
|
+
* `overflow-anchor` 既不会被读、也不会被写或还原,属性去掉后它重新生效。
|
|
90
|
+
* 这条规则不抢优先级:调用方想在这个容器上自己决定锚定时,行内样式仍然优先。
|
|
91
|
+
*/
|
|
92
|
+
function ensureRule(doc) {
|
|
93
|
+
if (doc.head.querySelector(`[${SCROLL_ANCHORING}="${RULE}"]`) != null) return;
|
|
94
|
+
const style = doc.createElement("style");
|
|
95
|
+
style.setAttribute(SCROLL_ANCHORING, RULE);
|
|
96
|
+
style.textContent = `[${SCROLL_ANCHORING}="${OFF}"]{overflow-anchor:none}`;
|
|
97
|
+
doc.head.appendChild(style);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* `isOff` 为真时关掉 `element` 上浏览器的滚动锚定,为假时还回去。
|
|
101
|
+
* 组件独自移动容器位置期间调用,免得浏览器的原生锚定再移动一次。
|
|
102
|
+
*/
|
|
103
|
+
function setScrollAnchoringOff(element, isOff) {
|
|
104
|
+
if (isOff) {
|
|
105
|
+
ensureRule(element.ownerDocument);
|
|
106
|
+
element.setAttribute(SCROLL_ANCHORING, OFF);
|
|
107
|
+
} else element.removeAttribute(SCROLL_ANCHORING);
|
|
108
|
+
}
|
|
109
|
+
//#endregion
|
|
50
110
|
//#region src/composables/useChatStreamScroll.ts
|
|
51
111
|
const SIXTY_FPS_MS = 1e3 / 60;
|
|
52
112
|
const CHAT_MESSAGE_CLASS = "astryx-chat-message";
|
|
@@ -58,6 +118,11 @@ const CHAT_MESSAGE_CLASS = "astryx-chat-message";
|
|
|
58
118
|
* a spring, unless reduced motion is requested. Scrolling up — wheel, touch,
|
|
59
119
|
* keyboard, or the scrollbar — unlocks immediately. Settling within
|
|
60
120
|
* `lockThreshold` of the bottom locks again.
|
|
121
|
+
*
|
|
122
|
+
* While locked the hook is the only thing that moves the container, so the
|
|
123
|
+
* browser's scroll anchoring is off on it. `scrollRef` may be the page's own
|
|
124
|
+
* scroller (`document.scrollingElement`): the hook then listens to the
|
|
125
|
+
* document's scroll events and measures the visible height from the viewport.
|
|
61
126
|
*/
|
|
62
127
|
function useChatStreamScroll(options) {
|
|
63
128
|
const { scrollRef, enabled = true, lockThreshold = 10, buttonThreshold = 100, damping = .7, stiffness = .05, mass = 1.25 } = options;
|
|
@@ -76,11 +141,9 @@ function useChatStreamScroll(options) {
|
|
|
76
141
|
function setLocked(next) {
|
|
77
142
|
locked = next;
|
|
78
143
|
isLocked.value = next;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
if (el) markScrolling(el, false);
|
|
83
|
-
}
|
|
144
|
+
const el = scrollRef.value;
|
|
145
|
+
if (el) setScrollAnchoringOff(el, next);
|
|
146
|
+
if (!next) cancelFrame();
|
|
84
147
|
}
|
|
85
148
|
function cancelFrame() {
|
|
86
149
|
if (frame) {
|
|
@@ -91,27 +154,20 @@ function useChatStreamScroll(options) {
|
|
|
91
154
|
velocity = 0;
|
|
92
155
|
lastTick = void 0;
|
|
93
156
|
}
|
|
94
|
-
function markScrolling(el, active) {
|
|
95
|
-
if (active) el.setAttribute("data-astryx-scrolling", "");
|
|
96
|
-
else el.removeAttribute("data-astryx-scrolling");
|
|
97
|
-
}
|
|
98
157
|
function jumpToBottom() {
|
|
99
158
|
const el = scrollRef.value;
|
|
100
159
|
if (!el) return;
|
|
101
160
|
cancelFrame();
|
|
102
161
|
el.scrollTop = el.scrollHeight - el.clientHeight;
|
|
103
162
|
lastScrollTop = el.scrollTop;
|
|
104
|
-
markScrolling(el, false);
|
|
105
163
|
}
|
|
106
164
|
function animate() {
|
|
107
165
|
const el = scrollRef.value;
|
|
108
166
|
if (!el || !locked) {
|
|
109
|
-
if (el) markScrolling(el, false);
|
|
110
167
|
cancelFrame();
|
|
111
168
|
return;
|
|
112
169
|
}
|
|
113
170
|
if (el.scrollHeight <= el.clientHeight) {
|
|
114
|
-
markScrolling(el, false);
|
|
115
171
|
cancelFrame();
|
|
116
172
|
return;
|
|
117
173
|
}
|
|
@@ -120,7 +176,6 @@ function useChatStreamScroll(options) {
|
|
|
120
176
|
if (Math.abs(diff) < .5 && Math.abs(velocity) < .1) {
|
|
121
177
|
el.scrollTop = target;
|
|
122
178
|
lastScrollTop = el.scrollTop;
|
|
123
|
-
markScrolling(el, false);
|
|
124
179
|
cancelFrame();
|
|
125
180
|
return;
|
|
126
181
|
}
|
|
@@ -130,10 +185,7 @@ function useChatStreamScroll(options) {
|
|
|
130
185
|
velocity = (damping * velocity + stiffness * diff) / mass;
|
|
131
186
|
el.scrollTop += velocity * tickDelta;
|
|
132
187
|
lastScrollTop = el.scrollTop;
|
|
133
|
-
if (!locked)
|
|
134
|
-
markScrolling(el, false);
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
188
|
+
if (!locked) return;
|
|
137
189
|
frame = requestAnimationFrame(animate);
|
|
138
190
|
}
|
|
139
191
|
function startAnimation() {
|
|
@@ -142,8 +194,6 @@ function useChatStreamScroll(options) {
|
|
|
142
194
|
jumpToBottom();
|
|
143
195
|
return;
|
|
144
196
|
}
|
|
145
|
-
const el = scrollRef.value;
|
|
146
|
-
if (el) markScrolling(el, true);
|
|
147
197
|
if (!animating) {
|
|
148
198
|
animating = true;
|
|
149
199
|
lastTick = void 0;
|
|
@@ -163,8 +213,7 @@ function useChatStreamScroll(options) {
|
|
|
163
213
|
function scrollToMessage(el) {
|
|
164
214
|
const container = scrollRef.value;
|
|
165
215
|
if (!container) return;
|
|
166
|
-
const
|
|
167
|
-
const offset = el.getBoundingClientRect().top - containerRect.top + container.scrollTop;
|
|
216
|
+
const offset = el.getBoundingClientRect().top - scrollportTop(container) + container.scrollTop;
|
|
168
217
|
container.scrollTo({
|
|
169
218
|
top: offset,
|
|
170
219
|
behavior: "instant"
|
|
@@ -198,11 +247,15 @@ function useChatStreamScroll(options) {
|
|
|
198
247
|
}
|
|
199
248
|
watch(() => [scrollRef.value, toValue(enabled)], ([el, isEnabled], _, onCleanup) => {
|
|
200
249
|
if (!el || !isEnabled) return;
|
|
250
|
+
const isPage = scrollsPage(el);
|
|
251
|
+
const shownHeight = () => isPage ? el.clientHeight : el.offsetHeight;
|
|
201
252
|
lastScrollTop = el.scrollTop;
|
|
202
253
|
lastScrollHeight = el.scrollHeight;
|
|
203
|
-
lastOffsetHeight =
|
|
254
|
+
lastOffsetHeight = shownHeight();
|
|
255
|
+
setScrollAnchoringOff(el, locked);
|
|
204
256
|
const onScroll = () => {
|
|
205
|
-
const { scrollTop, scrollHeight
|
|
257
|
+
const { scrollTop, scrollHeight } = el;
|
|
258
|
+
const offsetHeight = shownHeight();
|
|
206
259
|
const distance = scrollHeight - scrollTop - offsetHeight;
|
|
207
260
|
isScrolledUp.value = distance > buttonThreshold;
|
|
208
261
|
const scrollHeightChanged = scrollHeight !== lastScrollHeight;
|
|
@@ -218,10 +271,7 @@ function useChatStreamScroll(options) {
|
|
|
218
271
|
if (isScrollingUp && locked) setLocked(false);
|
|
219
272
|
};
|
|
220
273
|
const onScrollEnd = () => {
|
|
221
|
-
if (el.scrollHeight - el.scrollTop -
|
|
222
|
-
locked = true;
|
|
223
|
-
isLocked.value = true;
|
|
224
|
-
}
|
|
274
|
+
if (el.scrollHeight - el.scrollTop - shownHeight() <= lockThreshold) setLocked(true);
|
|
225
275
|
};
|
|
226
276
|
const onWheel = (event) => {
|
|
227
277
|
if (event.deltaY < 0 && animating) setLocked(false);
|
|
@@ -229,8 +279,18 @@ function useChatStreamScroll(options) {
|
|
|
229
279
|
const onTouchMove = () => {
|
|
230
280
|
if (animating) setLocked(false);
|
|
231
281
|
};
|
|
232
|
-
|
|
233
|
-
el.
|
|
282
|
+
const eventTarget = scrollEventTarget(el);
|
|
283
|
+
const view = eventTarget === el.ownerDocument ? el.ownerDocument.defaultView : null;
|
|
284
|
+
const stopPageListeners = [];
|
|
285
|
+
if (view != null) {
|
|
286
|
+
const atDocument = (listener) => (event) => {
|
|
287
|
+
if (event.target === eventTarget) listener();
|
|
288
|
+
};
|
|
289
|
+
stopPageListeners.push(subscribeInput(view, "scroll", atDocument(onScroll)), subscribeInput(view, "scrollend", atDocument(onScrollEnd)));
|
|
290
|
+
} else {
|
|
291
|
+
el.addEventListener("scroll", onScroll, { passive: true });
|
|
292
|
+
el.addEventListener("scrollend", onScrollEnd);
|
|
293
|
+
}
|
|
234
294
|
el.addEventListener("wheel", onWheel, { passive: true });
|
|
235
295
|
el.addEventListener("touchmove", onTouchMove, { passive: true });
|
|
236
296
|
const initialFrame = requestAnimationFrame(() => {
|
|
@@ -243,11 +303,12 @@ function useChatStreamScroll(options) {
|
|
|
243
303
|
onCleanup(() => {
|
|
244
304
|
cancelAnimationFrame(initialFrame);
|
|
245
305
|
cancelFrame();
|
|
306
|
+
for (const stop of stopPageListeners) stop();
|
|
246
307
|
el.removeEventListener("scroll", onScroll);
|
|
247
308
|
el.removeEventListener("scrollend", onScrollEnd);
|
|
248
309
|
el.removeEventListener("wheel", onWheel);
|
|
249
310
|
el.removeEventListener("touchmove", onTouchMove);
|
|
250
|
-
|
|
311
|
+
setScrollAnchoringOff(el, false);
|
|
251
312
|
});
|
|
252
313
|
}, { immediate: true });
|
|
253
314
|
return {
|
|
@@ -6,7 +6,7 @@ import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
|
|
|
6
6
|
function overlapsAnchor(anchor, top, left, layer) {
|
|
7
7
|
return left < anchor.right && left + layer.width > anchor.left && top < anchor.bottom && top + layer.height > anchor.top;
|
|
8
8
|
}
|
|
9
|
-
function clamp$
|
|
9
|
+
function clamp$2(value, min, max) {
|
|
10
10
|
return Math.max(min, Math.min(value, max));
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -21,7 +21,7 @@ function keepClearOfAnchor(placed, anchor, layer, viewport, gap, gutter) {
|
|
|
21
21
|
if (!overlapsAnchor(anchor, placed.top, placed.left, layer)) return placed;
|
|
22
22
|
const minTop = gutter.blockStart;
|
|
23
23
|
const maxTop = Math.max(minTop, viewport.height - layer.height - gutter.blockEnd);
|
|
24
|
-
const sideTop = clamp$
|
|
24
|
+
const sideTop = clamp$2(anchor.top + (anchor.height - layer.height) / 2, minTop, maxTop);
|
|
25
25
|
const rightLeft = anchor.right + gap;
|
|
26
26
|
const leftLeft = anchor.left - gap - layer.width;
|
|
27
27
|
const canBeSide = layer.height <= viewport.height - gutter.blockStart - gutter.blockEnd;
|
|
@@ -40,7 +40,7 @@ function keepClearOfAnchor(placed, anchor, layer, viewport, gap, gutter) {
|
|
|
40
40
|
const above = roomAbove >= roomBelow;
|
|
41
41
|
const room = Math.max(0, above ? roomAbove : roomBelow);
|
|
42
42
|
const height = Math.min(layer.height, room);
|
|
43
|
-
const left = clamp$
|
|
43
|
+
const left = clamp$2(placed.left, gutter.inlineStart, Math.max(gutter.inlineStart, viewport.width - layer.width - gutter.inlineEnd));
|
|
44
44
|
return {
|
|
45
45
|
top: above ? anchor.top - gap - height : anchor.bottom + gap,
|
|
46
46
|
left,
|
|
@@ -49,6 +49,80 @@ function keepClearOfAnchor(placed, anchor, layer, viewport, gap, gutter) {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
|
+
//#region src/layer/layerEntranceSide.ts
|
|
53
|
+
/**
|
|
54
|
+
* 浮层进场从它落在的那一侧滑进来(上游 Layer/layerEntranceSide.ts)。
|
|
55
|
+
*
|
|
56
|
+
* 浮层摆好之后(翻到另一侧也算),按浮层和锚点两个盒子算出:往锚点方向退一步
|
|
57
|
+
* 的方向、缩放的原点(浮层朝锚点那条边上、正对锚点中心的点)、两者之间的空隙。
|
|
58
|
+
* 结果写成四个 CSS 自定义属性,各浮层样式表里的进场关键帧读它们;没写时关键帧
|
|
59
|
+
* 退回按 placement 的方向。退的那一步不超过空隙,所以进场的任何一帧都不会盖到
|
|
60
|
+
* 锚点;贴着或盖住锚点的浮层不移动,只缩放。
|
|
61
|
+
*/
|
|
62
|
+
/** 横向往锚点退一步:-1 向左、0、1 向右。 */
|
|
63
|
+
const LAYER_ENTER_X_PROPERTY = "--_astryx-layer-enter-x";
|
|
64
|
+
/** 纵向往锚点退一步:-1 向上、0、1 向下。 */
|
|
65
|
+
const LAYER_ENTER_Y_PROPERTY = "--_astryx-layer-enter-y";
|
|
66
|
+
/** 缩放原点,从浮层左上角量起的 px。 */
|
|
67
|
+
const LAYER_ENTER_ORIGIN_PROPERTY = "--_astryx-layer-enter-origin";
|
|
68
|
+
/** 浮层和锚点之间的空隙:退的那一步最多这么长。 */
|
|
69
|
+
const LAYER_ENTER_GAP_PROPERTY = "--_astryx-layer-enter-gap";
|
|
70
|
+
const clamp$1 = (value, max) => Math.min(max, Math.max(0, value));
|
|
71
|
+
/**
|
|
72
|
+
* `layer` 相对 `anchor` 落在哪一侧。两个中心在哪个轴上按各自半尺寸之和归一后
|
|
73
|
+
* 离得更远,就算哪一侧,所以和锚点重叠几个像素的子菜单仍有一侧;盖住锚点中心的
|
|
74
|
+
* 浮层(选中项对齐触发器的列表)没有侧,原地以锚点中心缩放。没有尺寸时返回 `null`。
|
|
75
|
+
*/
|
|
76
|
+
function layerEntranceSide(layer, anchor) {
|
|
77
|
+
if (layer.width <= 0 || layer.height <= 0) return null;
|
|
78
|
+
const anchorX = anchor.left + anchor.width / 2;
|
|
79
|
+
const anchorY = anchor.top + anchor.height / 2;
|
|
80
|
+
const originX = clamp$1(anchorX - layer.left, layer.width);
|
|
81
|
+
const originY = clamp$1(anchorY - layer.top, layer.height);
|
|
82
|
+
const isPoint = anchor.width <= 1 && anchor.height <= 1;
|
|
83
|
+
if (originX > 0 && originX < layer.width && originY > 0 && originY < layer.height) return {
|
|
84
|
+
x: 0,
|
|
85
|
+
y: 0,
|
|
86
|
+
originX,
|
|
87
|
+
originY,
|
|
88
|
+
gap: 0
|
|
89
|
+
};
|
|
90
|
+
const apartX = (layer.left + layer.width / 2 - anchorX) / ((layer.width + anchor.width) / 2);
|
|
91
|
+
const apartY = (layer.top + layer.height / 2 - anchorY) / ((layer.height + anchor.height) / 2);
|
|
92
|
+
if (Math.abs(apartY) >= Math.abs(apartX)) {
|
|
93
|
+
const below = apartY > 0;
|
|
94
|
+
const room = below ? layer.top - (anchor.top + anchor.height) : anchor.top - (layer.top + layer.height);
|
|
95
|
+
return {
|
|
96
|
+
x: 0,
|
|
97
|
+
y: below ? -1 : 1,
|
|
98
|
+
originX,
|
|
99
|
+
originY: below ? 0 : layer.height,
|
|
100
|
+
gap: isPoint ? null : Math.max(0, room)
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
const right = apartX > 0;
|
|
104
|
+
const room = right ? layer.left - (anchor.left + anchor.width) : anchor.left - (layer.left + layer.width);
|
|
105
|
+
return {
|
|
106
|
+
x: right ? -1 : 1,
|
|
107
|
+
y: 0,
|
|
108
|
+
originX: right ? 0 : layer.width,
|
|
109
|
+
originY,
|
|
110
|
+
gap: isPoint ? null : Math.max(0, room)
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
const px = (value) => `${Math.round(value * 1e3) / 1e3}px`;
|
|
114
|
+
/**
|
|
115
|
+
* 把浮层落在的一侧交给它的进场。`null` 把四个属性都设成 `initial`:进场退回
|
|
116
|
+
* placement 的方向,里面嵌套的浮层也不会继承到外层的值。
|
|
117
|
+
*/
|
|
118
|
+
function writeLayerEntranceSide(layer, side) {
|
|
119
|
+
layer.style.setProperty(LAYER_ENTER_X_PROPERTY, side == null ? "initial" : String(side.x));
|
|
120
|
+
layer.style.setProperty(LAYER_ENTER_Y_PROPERTY, side == null ? "initial" : String(side.y));
|
|
121
|
+
layer.style.setProperty(LAYER_ENTER_ORIGIN_PROPERTY, side == null ? "initial" : `${px(side.originX)} ${px(side.originY)}`);
|
|
122
|
+
const gap = side?.gap == null ? null : Math.floor(side.gap * 1e3) / 1e3;
|
|
123
|
+
layer.style.setProperty(LAYER_ENTER_GAP_PROPERTY, gap == null ? "initial" : `${gap}px`);
|
|
124
|
+
}
|
|
125
|
+
//#endregion
|
|
52
126
|
//#region src/layer/position.ts
|
|
53
127
|
function alignOnAxis(start, size, own, alignment) {
|
|
54
128
|
if (alignment === "start") return start;
|
|
@@ -147,7 +221,15 @@ function usePositionedLayer(options) {
|
|
|
147
221
|
height: options.keepAnchorClear === true ? Math.max(layerEl.offsetHeight, layerEl.scrollHeight) : layerEl.offsetHeight
|
|
148
222
|
};
|
|
149
223
|
const placed = computeLayerPosition(anchorRect, box, viewport, placement.value, alignment.value, gap, gutter.value);
|
|
150
|
-
|
|
224
|
+
const next = options.keepAnchorClear === true ? keepClearOfAnchor(placed, anchorRect, box, viewport, gap, gutter.value) : placed;
|
|
225
|
+
position.value = next;
|
|
226
|
+
const height = next.maxHeight == null ? box.height : Math.min(box.height, next.maxHeight);
|
|
227
|
+
writeLayerEntranceSide(layerEl, layerEntranceSide({
|
|
228
|
+
left: next.left,
|
|
229
|
+
top: next.top,
|
|
230
|
+
width: box.width,
|
|
231
|
+
height
|
|
232
|
+
}, anchorRect));
|
|
151
233
|
}
|
|
152
234
|
let pollId;
|
|
153
235
|
function geometryKey() {
|
|
@@ -257,4 +339,4 @@ function useDismiss(options) {
|
|
|
257
339
|
onScopeDispose(teardown);
|
|
258
340
|
}
|
|
259
341
|
//#endregion
|
|
260
|
-
export { usePositionedLayer as n, useDismiss as t };
|
|
342
|
+
export { writeLayerEntranceSide as i, usePositionedLayer as n, layerEntranceSide as r, useDismiss as t };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { computed, onScopeDispose, shallowRef, watch } from "vue";
|
|
2
|
+
//#region src/Field/useEntryErrorReport.ts
|
|
3
|
+
/** 两个拒绝的每个字段都相同。 */
|
|
4
|
+
function isSameEntryError(a, b) {
|
|
5
|
+
if (a === b) return true;
|
|
6
|
+
if (a == null || b == null) return false;
|
|
7
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(b)]);
|
|
8
|
+
for (const key of keys) if (!Object.is(a[key], b[key])) return false;
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 会拒绝打进来的文字的字段(DateInput、TimeInput、NumberInput)共用的状态、alert 和汇报。
|
|
13
|
+
* 每个成员自己决定什么时候拒绝、说明怎么写;这里管亮着的拒绝如何顶替调用方状态、
|
|
14
|
+
* 怎么只念一次,以及把每次变化报给调用方。
|
|
15
|
+
*/
|
|
16
|
+
function useEntryErrorReport(options) {
|
|
17
|
+
const callerError = computed(() => {
|
|
18
|
+
const status = options.status();
|
|
19
|
+
return (options.callerErrorPrecedence === "always" || options.hasListener()) && status?.type === "error" && status.message ? status.message : null;
|
|
20
|
+
});
|
|
21
|
+
const fieldStatus = computed(() => {
|
|
22
|
+
const message = options.rejectionMessage();
|
|
23
|
+
return message != null && callerError.value == null ? {
|
|
24
|
+
type: "error",
|
|
25
|
+
message
|
|
26
|
+
} : options.status();
|
|
27
|
+
});
|
|
28
|
+
const repeat = shallowRef(null);
|
|
29
|
+
watch(() => options.rejectionMessage() != null, (rejected) => {
|
|
30
|
+
repeat.value = rejected ? callerError.value : null;
|
|
31
|
+
});
|
|
32
|
+
watch(callerError, (next) => {
|
|
33
|
+
if (repeat.value !== null && repeat.value !== next) repeat.value = null;
|
|
34
|
+
});
|
|
35
|
+
const alertMessage = computed(() => options.rejectionMessage() != null && repeat.value != null && repeat.value === callerError.value ? repeat.value : "");
|
|
36
|
+
let lastReport = null;
|
|
37
|
+
watch(options.entryError, (next) => {
|
|
38
|
+
if (isSameEntryError(next, lastReport)) return;
|
|
39
|
+
lastReport = next;
|
|
40
|
+
options.report(next);
|
|
41
|
+
});
|
|
42
|
+
onScopeDispose(() => {
|
|
43
|
+
if (lastReport != null) options.report(null);
|
|
44
|
+
});
|
|
45
|
+
return {
|
|
46
|
+
fieldStatus,
|
|
47
|
+
alertMessage
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { useEntryErrorReport as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { i as useAdaptivePresentation, n as usePresentationHold } from "./presentationHold-7IkbR4d8.js";
|
|
2
|
+
import { computed, toValue, watch } from "vue";
|
|
3
|
+
//#region src/layer/useHeldPresentation.ts
|
|
4
|
+
function useHeldPresentation(presentation, isOpen) {
|
|
5
|
+
const live = useAdaptivePresentation(presentation);
|
|
6
|
+
const hold = usePresentationHold({
|
|
7
|
+
isOpen,
|
|
8
|
+
presentation: live
|
|
9
|
+
});
|
|
10
|
+
const surface = computed(() => hold.presentation.value ?? live.value);
|
|
11
|
+
watch(() => toValue(isOpen), (open) => {
|
|
12
|
+
if (!open && hold.presentation.value === "popover") hold.release();
|
|
13
|
+
});
|
|
14
|
+
function settle() {
|
|
15
|
+
if (!toValue(isOpen)) hold.release();
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
surface,
|
|
19
|
+
isSheet: computed(() => surface.value === "bottom-sheet"),
|
|
20
|
+
settle
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { useHeldPresentation as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-Dwl9HNp1.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
-
import { t as _sfc_main$5 } from "./Item-
|
|
4
|
+
import { t as _sfc_main$5 } from "./Item-DUI1Qnnd.js";
|
|
5
5
|
import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
6
|
+
import { a as useCompactDefinition, r as readCompactTouch } from "./presentationHold-7IkbR4d8.js";
|
|
6
7
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
7
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useModel, useSlots, watch, withCtx } from "vue";
|
|
8
9
|
import "../styles/dropdown-menu.css";
|
|
@@ -486,22 +487,22 @@ function useDropdownMenuMessages() {
|
|
|
486
487
|
//#endregion
|
|
487
488
|
//#region src/DropdownMenu/useMenuDrillIn.ts
|
|
488
489
|
const EMPTY_HOST = null;
|
|
489
|
-
function matchesQuery(query) {
|
|
490
|
-
return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia(query).matches;
|
|
491
|
-
}
|
|
492
490
|
/**
|
|
493
491
|
* Drill-in state for one menu root.
|
|
494
492
|
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
493
|
+
* It reads the same compact-touch condition the root's `adaptive` presentation
|
|
494
|
+
* uses (the active theme's compact definition: a coarse pointer, and a viewport
|
|
495
|
+
* narrower than the theme's `md` point or shorter than 500px), so a submenu and
|
|
496
|
+
* its menu agree on what "a phone" means.
|
|
497
497
|
*/
|
|
498
|
-
function useMenuDrillIn(isOpen
|
|
498
|
+
function useMenuDrillIn(isOpen) {
|
|
499
|
+
const compact = useCompactDefinition();
|
|
499
500
|
const isCompactTouch = ref(false);
|
|
500
501
|
const viewStack = ref([]);
|
|
501
502
|
const host = ref(EMPTY_HOST);
|
|
502
503
|
watch(isOpen, (open) => {
|
|
503
504
|
if (open) {
|
|
504
|
-
isCompactTouch.value =
|
|
505
|
+
isCompactTouch.value = readCompactTouch(compact.value);
|
|
505
506
|
return;
|
|
506
507
|
}
|
|
507
508
|
if (viewStack.value.length > 0) viewStack.value = [];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-
|
|
1
|
+
import { m as msSinceInput } from "./pressFeedback-DVR5V1b6.js";
|
|
2
|
+
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-FrlnECMp.js";
|
|
3
3
|
import { c as currentGesture } from "./layerDepth-D3Rh8T5C.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
|
|
5
|
+
import { r as isInputShield } from "./inputHoldState-pblUT4oh.js";
|
|
5
6
|
import { getCurrentScope, onScopeDispose, toValue } from "vue";
|
|
6
7
|
//#region src/composables/useLongPress.ts
|
|
7
8
|
const DEFAULT_DELAY_MS = 500;
|
|
@@ -263,7 +264,8 @@ function getOutermostRoot(menu) {
|
|
|
263
264
|
function elementUnder(event, doc, menu, hitTest) {
|
|
264
265
|
const tree = menu?.getRootNode();
|
|
265
266
|
const scope = tree != null && typeof tree.elementFromPoint === "function" ? tree : doc;
|
|
266
|
-
|
|
267
|
+
let hit = hitTest != null ? hitTest(event.clientX, event.clientY) : typeof scope.elementFromPoint === "function" ? scope.elementFromPoint(event.clientX, event.clientY) : null;
|
|
268
|
+
if (hitTest == null && isInputShield(hit) && typeof scope.elementsFromPoint === "function") hit = scope.elementsFromPoint(event.clientX, event.clientY).find((candidate) => !isInputShield(candidate)) ?? null;
|
|
267
269
|
if (hit != null) return hit;
|
|
268
270
|
return event.target instanceof Element ? event.target : null;
|
|
269
271
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-
|
|
1
|
+
import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-DVR5V1b6.js";
|
|
2
2
|
import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
|
|
3
3
|
import "../styles/pressable.css";
|
|
4
4
|
//#region src/composables/usePressFeedback.ts
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
3
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
3
|
+
import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
5
5
|
import { a as trackInteractionModality } from "./interactionModality-CedLz5PC.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
7
|
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bdm_M4aa.js";
|
|
8
|
-
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-CFNKWzYn.js";
|
|
9
|
+
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
9
10
|
import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
10
11
|
import "../styles/tooltip.css";
|
|
11
12
|
//#region src/Tooltip/TooltipSurface.vue
|
|
@@ -76,37 +77,6 @@ function listenPressEnd(onEnd) {
|
|
|
76
77
|
return stop;
|
|
77
78
|
}
|
|
78
79
|
//#endregion
|
|
79
|
-
//#region src/Tooltip/renderedText.ts
|
|
80
|
-
const HIDDEN = "[aria-hidden=\"true\"], [hidden]";
|
|
81
|
-
const BLOCKS = "p, div, li, br, h1, h2, h3, h4, h5, h6";
|
|
82
|
-
/**
|
|
83
|
-
* 对应原版 `hooks/useAnnounceRenderedText` 里的 `renderedText`:
|
|
84
|
-
* 读屏会念到的文字。块级元素之间隔开,`aria-hidden` 和 `hidden` 的部分跳过。
|
|
85
|
-
* 读的是真实 DOM,所以计算后的 display 也算数。
|
|
86
|
-
*/
|
|
87
|
-
function renderedText(element) {
|
|
88
|
-
const view = element.ownerDocument.defaultView;
|
|
89
|
-
const displayOf = (node) => view?.getComputedStyle(node).display ?? "";
|
|
90
|
-
const parts = [];
|
|
91
|
-
const walk = (node, parentDisplay) => {
|
|
92
|
-
if (node.nodeType === Node.TEXT_NODE) {
|
|
93
|
-
parts.push(node.textContent ?? "");
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
if (node.nodeType !== Node.ELEMENT_NODE) return;
|
|
97
|
-
const part = node;
|
|
98
|
-
if (part.matches(HIDDEN)) return;
|
|
99
|
-
const display = displayOf(part);
|
|
100
|
-
const isBlock = part.matches(BLOCKS) || display !== "" && display !== "contents" && !display.startsWith("inline") || /\b(?:flex|grid)\b/.test(parentDisplay);
|
|
101
|
-
if (isBlock) parts.push(" ");
|
|
102
|
-
part.childNodes.forEach((child) => walk(child, display));
|
|
103
|
-
if (isBlock) parts.push(" ");
|
|
104
|
-
};
|
|
105
|
-
const ownDisplay = displayOf(element);
|
|
106
|
-
element.childNodes.forEach((child) => walk(child, ownDisplay));
|
|
107
|
-
return parts.join("").replace(/\s+/g, " ").trim();
|
|
108
|
-
}
|
|
109
|
-
//#endregion
|
|
110
80
|
//#region src/Tooltip/tooltipPresentInterest.ts
|
|
111
81
|
/** 仅库内部使用,不从 Tooltip 入口导出。 */
|
|
112
82
|
const tooltipPresentInterestKey = Symbol("astryx-tooltip-present-interest");
|
|
@@ -421,4 +391,4 @@ function useTooltip(options = {}) {
|
|
|
421
391
|
};
|
|
422
392
|
}
|
|
423
393
|
//#endregion
|
|
424
|
-
export {
|
|
394
|
+
export { tooltipPresentInterestKey as n, _sfc_main as r, useTooltip as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-
|
|
2
|
-
import { t as armClickGuard } from "./clickGuard-
|
|
1
|
+
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-DVR5V1b6.js";
|
|
2
|
+
import { t as armClickGuard } from "./clickGuard-FrlnECMp.js";
|
|
3
3
|
import { toValue, watch } from "vue";
|
|
4
4
|
import "../styles/touch-hit-area.css";
|
|
5
5
|
/** 不长:热区就是目标本身。 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
1
|
+
import { t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
2
2
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-CedLz5PC.js";
|
|
3
|
-
import { n as tooltipPresentInterestKey } from "./useTooltip-
|
|
4
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
3
|
+
import { n as tooltipPresentInterestKey } from "./useTooltip-BpBMQ815.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-gT9_hIEv.js";
|
|
5
5
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
|
|
7
7
|
//#region src/Text/TruncationTooltip.vue
|
|
@@ -5,7 +5,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
6
|
import { t as useCombobox } from "./useCombobox-BqkTY3bw.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
|
|
8
|
-
import { t as createStillPointerGate } from "./stillPointerGate-
|
|
8
|
+
import { t as createStillPointerGate } from "./stillPointerGate-D3loXLh7.js";
|
|
9
9
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
11
11
|
import "../styles/layer.css";
|
package/package.json
CHANGED
package/styles/alert-dialog.css
CHANGED
|
@@ -63,4 +63,9 @@
|
|
|
63
63
|
.astryx-alert-dialog[data-layout='stacked'] .astryx-alert-dialog__footer[data-press-tracking] {
|
|
64
64
|
touch-action: pan-x pinch-zoom;
|
|
65
65
|
}
|
|
66
|
+
|
|
67
|
+
/* 手指下弹窗的缩放和淡入由脚本动效驱动,主题的 CSS 进场让位。 */
|
|
68
|
+
.astryx-alert-dialog[data-touch-motion][open] {
|
|
69
|
+
animation: none;
|
|
70
|
+
}
|
|
66
71
|
}
|