@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
|
@@ -33,4 +33,4 @@ function showsRequiredIndicator(isRequired, isOptional, optionality) {
|
|
|
33
33
|
return Boolean(isRequired) && optionality !== "required";
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
export {
|
|
36
|
+
export { useAriaRequired as a, showsRequiredIndicator as i, formLayoutKey as n, useEntryErrorBehavior as o, showsOptionalIndicator as r, useFormLayout as s, ariaRequired as t };
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-CM-vJhQg.js";
|
|
2
|
+
import { r as readArea, t as areaOf } from "./handle-BazRxHwq.js";
|
|
3
|
+
import { c as paintedBackground, i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy-VAsg2a46.js";
|
|
4
|
+
import { computed, inject, ref } from "vue";
|
|
5
|
+
//#region src/motion/layout/swap.ts
|
|
6
|
+
const NO_RIDE = {
|
|
7
|
+
x: 0,
|
|
8
|
+
y: 0
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Before a change commits: hold `element`'s old content as one transient copy
|
|
12
|
+
* (`spec:AST-105` FR8). With `isVisiblePart`, the copy is the element's
|
|
13
|
+
* visible part, its content scrolled as it was (a scroll container). Returns
|
|
14
|
+
* null without a handle, outside its area, under an immediate change, or for
|
|
15
|
+
* content too large to copy.
|
|
16
|
+
*/
|
|
17
|
+
function holdLayoutSwap(handle, element, { isVisiblePart = false } = {}) {
|
|
18
|
+
if (handle == null || typeof element.animate !== "function") return null;
|
|
19
|
+
const area = areaOf(handle, element);
|
|
20
|
+
if (area == null || layoutMotion(area).kind === "instant" || !isCopyable(element)) return null;
|
|
21
|
+
beginChange(element.ownerDocument);
|
|
22
|
+
const box = element.getBoundingClientRect();
|
|
23
|
+
if (!isVisiblePart) {
|
|
24
|
+
const copy = inertCopy(element);
|
|
25
|
+
return copy == null ? null : {
|
|
26
|
+
area,
|
|
27
|
+
copy,
|
|
28
|
+
rect: box
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const part = visiblePartCopy(element);
|
|
32
|
+
return part == null ? null : {
|
|
33
|
+
area,
|
|
34
|
+
...part
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* After the change commits, before paint: the copy leaves while the incoming
|
|
39
|
+
* elements enter, on FR4's one motion, every part started on the same
|
|
40
|
+
* timeline time. Under Reduce Motion with a coarse pointer, only opacity
|
|
41
|
+
* changes (`design:reduced-motion` DR2). Returns what ends the swap at once;
|
|
42
|
+
* it also ends when its motion does, and the copy is removed.
|
|
43
|
+
*/
|
|
44
|
+
function playLayoutSwap(swap, how) {
|
|
45
|
+
const motion = layoutMotion(swap.area);
|
|
46
|
+
if (motion.kind === "instant") return () => {};
|
|
47
|
+
const { copy } = swap;
|
|
48
|
+
const change = changeStartIn(swap.area, copy.ownerDocument);
|
|
49
|
+
placeOver(copy, how.host, swap.rect, how.copyBefore ?? null);
|
|
50
|
+
if (how.isOpaque === true) {
|
|
51
|
+
if (how.copyBefore == null) copy.style.zIndex = "1";
|
|
52
|
+
copy.style.backgroundColor = paintedBackground(copy);
|
|
53
|
+
}
|
|
54
|
+
const animations = [];
|
|
55
|
+
let isDone = false;
|
|
56
|
+
const end = () => {
|
|
57
|
+
if (isDone) return;
|
|
58
|
+
isDone = true;
|
|
59
|
+
animations.forEach((animation) => animation.cancel());
|
|
60
|
+
copy.remove();
|
|
61
|
+
how.onEnd?.();
|
|
62
|
+
};
|
|
63
|
+
const { copyText, rideWith } = how;
|
|
64
|
+
const fadedText = copyText != null && motion.kind === "glide" ? wrapText(copy) : [];
|
|
65
|
+
const parts = [];
|
|
66
|
+
if (motion.kind === "glide") {
|
|
67
|
+
const moves = rideWith != null && rideWith.isCopyMoved !== false;
|
|
68
|
+
parts.push([copy, (p, ride) => ({
|
|
69
|
+
...how.copy(p, ride),
|
|
70
|
+
...moves ? { translate: `${ride.x}px ${ride.y}px` } : null
|
|
71
|
+
})]);
|
|
72
|
+
for (const span of fadedText) parts.push([span, (p) => ({ opacity: copyText?.(p) ?? 1 })]);
|
|
73
|
+
for (const { element, frames } of how.incoming) parts.push([element, frames]);
|
|
74
|
+
} else {
|
|
75
|
+
parts.push([copy, (p) => ({ opacity: 1 - p })]);
|
|
76
|
+
for (const { element } of how.incoming) parts.push([element, (p) => ({ opacity: p })]);
|
|
77
|
+
}
|
|
78
|
+
const playAll = (durationMs, progressAt, rideAt, options, sample) => {
|
|
79
|
+
for (const [element, shape] of parts) {
|
|
80
|
+
const animation = safeAnimate(element, sample((t) => shape(progressAt(t), rideAt(t))), {
|
|
81
|
+
duration: durationMs,
|
|
82
|
+
fill: "both",
|
|
83
|
+
...options
|
|
84
|
+
}, change);
|
|
85
|
+
if (animation != null) animations.push(animation);
|
|
86
|
+
}
|
|
87
|
+
if (animations.length === 0) end();
|
|
88
|
+
else animations[0].addEventListener?.("finish", end);
|
|
89
|
+
};
|
|
90
|
+
if (motion.kind === "fade") {
|
|
91
|
+
playAll(motion.durationMs, (t) => t <= 0 ? 0 : 1, () => NO_RIDE, { easing: motion.easing }, (shape) => [shape(0), shape(motion.durationMs)]);
|
|
92
|
+
return end;
|
|
93
|
+
}
|
|
94
|
+
const { progress } = motion;
|
|
95
|
+
const progressAt = (t) => 1 - progress.remaining(t);
|
|
96
|
+
if (rideWith == null) {
|
|
97
|
+
playAll(progress.durationMs, progressAt, () => NO_RIDE, { easing: "linear" }, (shape) => sampleOver(progress.durationMs, shape));
|
|
98
|
+
return end;
|
|
99
|
+
}
|
|
100
|
+
queueMicrotask(() => {
|
|
101
|
+
if (isDone) return;
|
|
102
|
+
const glide = glides.get(rideWith.element);
|
|
103
|
+
const durationMs = glide?.durationMs ?? progress.durationMs;
|
|
104
|
+
const rideAt = (t) => {
|
|
105
|
+
if (glide == null) return {
|
|
106
|
+
x: -rideWith.travel.x,
|
|
107
|
+
y: -rideWith.travel.y
|
|
108
|
+
};
|
|
109
|
+
const now = glide.offsetAt(t);
|
|
110
|
+
const start = glide.shownBefore;
|
|
111
|
+
return {
|
|
112
|
+
x: now.x - start.x,
|
|
113
|
+
y: now.y - start.y
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
playAll(durationMs, progressAt, rideAt, { easing: "linear" }, (shape) => sampleOver(durationMs, shape));
|
|
117
|
+
});
|
|
118
|
+
return end;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* After a change commits, before paint: elements the page already renders
|
|
122
|
+
* play frames over the change's progress on FR4's one motion, with no copy,
|
|
123
|
+
* such as a surface reaching over a gap a glide opens. Under Reduce Motion
|
|
124
|
+
* with a coarse pointer, only opacity changes; under an immediate change,
|
|
125
|
+
* nothing plays. Returns what ends them at once.
|
|
126
|
+
*/
|
|
127
|
+
function playLayoutFrames(handle, parts) {
|
|
128
|
+
const area = handle == null ? null : readArea(handle);
|
|
129
|
+
const motion = area == null ? null : layoutMotion(area);
|
|
130
|
+
if (area == null || motion == null || motion.kind === "instant") return () => {};
|
|
131
|
+
const change = changeStartIn(area, area.ownerDocument);
|
|
132
|
+
const animations = [];
|
|
133
|
+
for (const { element, frames: shape } of parts) {
|
|
134
|
+
const animation = motion.kind === "glide" ? safeAnimate(element, sampleKeyframes(motion.progress, (remaining) => shape(1 - remaining, NO_RIDE)), {
|
|
135
|
+
duration: motion.progress.durationMs,
|
|
136
|
+
easing: "linear",
|
|
137
|
+
fill: "both"
|
|
138
|
+
}, change) : safeAnimate(element, [{ opacity: 0 }, { opacity: 1 }], {
|
|
139
|
+
duration: motion.durationMs,
|
|
140
|
+
easing: motion.easing
|
|
141
|
+
}, change);
|
|
142
|
+
if (animation != null) animations.push(animation);
|
|
143
|
+
}
|
|
144
|
+
const end = () => animations.forEach((animation) => animation.cancel());
|
|
145
|
+
animations[0]?.addEventListener?.("finish", end);
|
|
146
|
+
return end;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/SideNav/context.ts
|
|
150
|
+
const sideNavRenderModeKey = Symbol("astryx-side-nav-render-mode");
|
|
151
|
+
const defaultRenderMode = computed(() => "default");
|
|
152
|
+
function useSideNavRenderMode() {
|
|
153
|
+
return inject(sideNavRenderModeKey, defaultRenderMode);
|
|
154
|
+
}
|
|
155
|
+
const sideNavCollapseKey = Symbol("astryx-side-nav-collapse");
|
|
156
|
+
const fallbackCollapse = {
|
|
157
|
+
isCollapsed: ref(false),
|
|
158
|
+
isCollapsible: ref(false),
|
|
159
|
+
navId: "",
|
|
160
|
+
toggle: () => {}
|
|
161
|
+
};
|
|
162
|
+
function useSideNavCollapse() {
|
|
163
|
+
return inject(sideNavCollapseKey, fallbackCollapse);
|
|
164
|
+
}
|
|
165
|
+
/** Internal nesting depth; zero for top-level rows and the first rail flyout level. */
|
|
166
|
+
const sideNavDepthKey = Symbol("astryx-side-nav-depth");
|
|
167
|
+
function useSideNavDepth() {
|
|
168
|
+
return inject(sideNavDepthKey, ref(0));
|
|
169
|
+
}
|
|
170
|
+
/** AppShell 借给里面的 SideNav:让内容区跟着侧栏的收展一起动。 */
|
|
171
|
+
const sideNavShellKey = Symbol("astryx-side-nav-shell");
|
|
172
|
+
//#endregion
|
|
173
|
+
export { useSideNavCollapse as a, holdLayoutSwap as c, sideNavShellKey as i, playLayoutFrames as l, sideNavDepthKey as n, useSideNavDepth as o, sideNavRenderModeKey as r, useSideNavRenderMode as s, sideNavCollapseKey as t, playLayoutSwap as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-
|
|
1
|
+
import { C as ownScaleOf, D as glides, T as visibleRect, f as round, o as bandFor, u as takesPart, w as scaleOf } from "./batch-CM-vJhQg.js";
|
|
2
2
|
//#region src/motion/layout/edge.ts
|
|
3
3
|
/** Whether `element` lays its inline axis out right to left. */
|
|
4
4
|
function isRtl(element) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { l as sharedWeakMap } from "./inputStream-LZdK8luP.js";
|
|
2
|
+
import { D as glides, O as numbersIn, T as visibleRect, _ as safeAnimate, d as layoutMotion, i as changeStartOf, m as sampleOver, n as batches, p as sampleKeyframes, u as takesPart, v as retimeSettle, w as scaleOf, x as intersects } from "./batch-CM-vJhQg.js";
|
|
3
|
+
import { a as isRtl, c as slideFrame, i as holdSlideClip, l as slidingParts, n as fractionClip, o as previousInFlow, r as glideMoving, s as pxClip, t as extentOf } from "./edge-BYXwSggM.js";
|
|
4
|
+
import { t as areaOf } from "./handle-BazRxHwq.js";
|
|
5
5
|
//#region src/motion/layout/playChange.ts
|
|
6
6
|
/** Each part's slide, by its motion: a stopped slide is no glide. */
|
|
7
7
|
const slideTargets = sharedWeakMap("motion/animated-layout/slide-targets", 1);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/BottomSheet/escape.ts
|
|
2
|
+
/**
|
|
3
|
+
* 下面那张独立底部弹层能不能用 Escape(以及平台的关闭请求)关掉。
|
|
4
|
+
* Popover 的底部弹层呈现用它把 `hasEscapeDismiss` 传进去:轻点外面、向下轻扫照样
|
|
5
|
+
* 能关,Escape 可以单独关掉。单独用的 BottomSheet 读默认值 true,`purpose` 的规则
|
|
6
|
+
* 不变;弹层自己再给里面提供 true,嵌套在里面的弹层从「允许」重新开始。
|
|
7
|
+
*/
|
|
8
|
+
const bottomSheetEscapeKey = Symbol("astryx-bottom-sheet-escape");
|
|
9
|
+
//#endregion
|
|
10
|
+
export { bottomSheetEscapeKey as t };
|
|
@@ -3,12 +3,14 @@ const fieldMessages = {
|
|
|
3
3
|
"en": {
|
|
4
4
|
optional: "Optional",
|
|
5
5
|
required: "Required",
|
|
6
|
-
labelTooltip: (label) => `About ${label}
|
|
6
|
+
labelTooltip: (label) => `About ${label}`,
|
|
7
|
+
errorFallback: "Invalid value"
|
|
7
8
|
},
|
|
8
9
|
"zh-CN": {
|
|
9
10
|
optional: "可选",
|
|
10
11
|
required: "必填",
|
|
11
|
-
labelTooltip: (label) => `关于${label}
|
|
12
|
+
labelTooltip: (label) => `关于${label}`,
|
|
13
|
+
errorFallback: "无效的值"
|
|
12
14
|
}
|
|
13
15
|
};
|
|
14
16
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useInputGroupContext } from "./context-Bg7eSJ47.js";
|
|
2
2
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
-
import {
|
|
3
|
+
import { s as useFormLayout } from "./context-CrVCeUUK.js";
|
|
4
4
|
import { computed } from "vue";
|
|
5
5
|
//#region src/Field/fieldParts.ts
|
|
6
6
|
const CONTAINER_WITHOUT_FIELD_MESSAGE = "`containerClass`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.";
|
|
@@ -73,52 +73,4 @@ function shadowRootsOutward(node) {
|
|
|
73
73
|
return roots;
|
|
74
74
|
}
|
|
75
75
|
//#endregion
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* 对应原版 Astryx 的 `utils/sharedRealm`。
|
|
79
|
-
*
|
|
80
|
-
* 整个 JavaScript 运行环境里按键共享一份值:页面上同时加载了两份 core(比如包本身和一份复制进项目的副本)时,
|
|
81
|
-
* 两边拿同一个键读到的是同一份值。不碰 DOM,服务端也能用。
|
|
82
|
-
*/
|
|
83
|
-
/**
|
|
84
|
-
* 共享值的注册键。版本号表示值的形状:形状变了、旧副本读不懂新值时就升版本,
|
|
85
|
-
* 两边各用各的。
|
|
86
|
-
*/
|
|
87
|
-
function sharedKey(name, version) {
|
|
88
|
-
return Symbol.for(`@astryx-vue/core/${name}/v${version}`);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* `key` 下的共享值,第一次用时创建。
|
|
92
|
-
* `accepts` 防键撞车:它不认的值原样留着,这一份自己另建一个。
|
|
93
|
-
*/
|
|
94
|
-
function realmValue(key, create, accepts = () => true) {
|
|
95
|
-
const realm = globalThis;
|
|
96
|
-
if (Object.hasOwn(realm, key)) {
|
|
97
|
-
const existing = realm[key];
|
|
98
|
-
return accepts(existing) ? existing : create();
|
|
99
|
-
}
|
|
100
|
-
const value = create();
|
|
101
|
-
realm[key] = value;
|
|
102
|
-
return value;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* 按注册名在整页共享一份值:计数器、开关,或装着几样东西的对象。
|
|
106
|
-
* 名字写成 `<目录>/<文件>/<绑定名>`(短横线小写),值的形状变了就升版本。
|
|
107
|
-
*/
|
|
108
|
-
function sharedState(name, version, create) {
|
|
109
|
-
return realmValue(sharedKey(name, version), create);
|
|
110
|
-
}
|
|
111
|
-
/** 按注册名共享的 Map。 */
|
|
112
|
-
function sharedMap(name, version) {
|
|
113
|
-
return sharedState(name, version, () => /* @__PURE__ */ new Map());
|
|
114
|
-
}
|
|
115
|
-
/** 按注册名共享的 WeakMap,例如按文档存的状态。 */
|
|
116
|
-
function sharedWeakMap(name, version) {
|
|
117
|
-
return sharedState(name, version, () => /* @__PURE__ */ new WeakMap());
|
|
118
|
-
}
|
|
119
|
-
/** 按注册名共享的 WeakSet,例如登记过的值。 */
|
|
120
|
-
function sharedWeakSet(name, version) {
|
|
121
|
-
return sharedState(name, version, () => /* @__PURE__ */ new WeakSet());
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
export { sharedWeakMap as a, deepActiveElement as c, shadowRootsOutward as d, isDocument as f, isNode as h, sharedState as i, parentAcrossShadow as l, isHTMLElement as m, sharedKey as n, sharedWeakSet as o, isElement as p, sharedMap as r, containsAlongFlatTree as s, realmValue as t, shadowHostOf as u };
|
|
76
|
+
export { shadowRootsOutward as a, isHTMLElement as c, shadowHostOf as i, isNode as l, deepActiveElement as n, isDocument as o, parentAcrossShadow as r, isElement as s, containsAlongFlatTree as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { o as sharedKey } from "./inputStream-LZdK8luP.js";
|
|
2
|
+
//#region src/motion/layout/handle.ts
|
|
3
|
+
/**
|
|
4
|
+
* @file handle.ts
|
|
5
|
+
* @position Internal to motion/layout; split from upstream motion/animatedLayout.ts
|
|
6
|
+
*/
|
|
7
|
+
const AREA = sharedKey("animated-layout/area", 1);
|
|
8
|
+
/** The container a handle reads, or null for a value that is not a handle. */
|
|
9
|
+
function readArea(handle) {
|
|
10
|
+
const read = handle[AREA];
|
|
11
|
+
return typeof read === "function" ? read() : null;
|
|
12
|
+
}
|
|
13
|
+
/** A handle over `area` (the container element, read when a change runs). */
|
|
14
|
+
function createAnimatedLayout(area) {
|
|
15
|
+
return Object.freeze(Object.defineProperty({}, AREA, { value: area }));
|
|
16
|
+
}
|
|
17
|
+
function areaOf(handle, element) {
|
|
18
|
+
const area = readArea(handle);
|
|
19
|
+
return area != null && area !== element && area.contains(element) ? area : null;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { createAnimatedLayout as n, readArea as r, areaOf as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
|
|
2
|
+
import { t as holdInput } from "./inputHold-BmChuR9x.js";
|
|
3
|
+
//#region src/layer/holdEntranceInput.ts
|
|
4
|
+
/**
|
|
5
|
+
* @file holdEntranceInput.ts
|
|
6
|
+
* @input 刚开始播 CSS 进场动画的浮层根元素
|
|
7
|
+
* @output holdEntranceInput:主指针是粗略指针(手指、笔)时,进场播完之前挡住输入
|
|
8
|
+
* @position 用 CSS 进场的浮层(Dialog、Drawer、MobileNav)的进场暂挡,建在 `inputHold.ts` 上
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* 进场播完前(最多 `capMs`)把手指和笔的输入挡在 `layer` 外面。返回放开的函数;
|
|
12
|
+
* 没有进场在播、或主指针是精细指针时什么都不挡,返回 `null`。
|
|
13
|
+
*/
|
|
14
|
+
function holdEntranceInput(layer, { isModal = true, entrance: animated = layer, capMs } = {}) {
|
|
15
|
+
if (animated == null || typeof animated.getAnimations !== "function") return null;
|
|
16
|
+
const entrance = animated.getAnimations().filter(isEntrance);
|
|
17
|
+
if (entrance.length === 0) return null;
|
|
18
|
+
if (!isCoarsePointer(layer.ownerDocument.defaultView)) return null;
|
|
19
|
+
const ended = Promise.all(entrance.map(async (animation) => animation.finished));
|
|
20
|
+
return holdInput(layer, {
|
|
21
|
+
until: capMs == null ? ended : Promise.race([ended, after(capMs)]),
|
|
22
|
+
scope: isModal ? "viewport" : "surface"
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function after(ms) {
|
|
26
|
+
await new Promise((resolve) => {
|
|
27
|
+
setTimeout(resolve, ms);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/** 会自己结束的、正在播的动画:进场,而不是转圈。 */
|
|
31
|
+
function isEntrance(animation) {
|
|
32
|
+
if (animation.playState !== "running") return false;
|
|
33
|
+
const end = animation.effect?.getComputedTiming().endTime;
|
|
34
|
+
return typeof end === "number" && Number.isFinite(end);
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { holdEntranceInput as t };
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
-
elevation: ButtonElevation;
|
|
13
12
|
isDisabled: boolean;
|
|
13
|
+
elevation: ButtonElevation;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as IndicatorName, E as IndicatorComponent, M as IndicatorProps, P as IndicatorSize, T as CoreIndicatorName, g as ThemeDefinition } from "./adaptationTypes-Cn_pfrsw.js";
|
|
2
2
|
import { ComputedRef, VNodeChild } from "vue";
|
|
3
3
|
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
4
|
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CalendarSystem, i as AstryxLocale } from "./power-search-CuMzfLwW.js";
|
|
2
|
-
import { s as AstryxMessages } from "./loadCatalog-
|
|
2
|
+
import { s as AstryxMessages } from "./loadCatalog-2Hu-xisJ.js";
|
|
3
3
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
|
|
4
4
|
//#region src/locale/context.d.ts
|
|
5
5
|
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
|
|
@@ -85,8 +85,8 @@ interface StepSlots {
|
|
|
85
85
|
type __VLS_Slots$1 = StepSlots;
|
|
86
86
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
87
|
isDisabled: boolean;
|
|
88
|
-
indicator: StepIndicator;
|
|
89
88
|
isOptional: boolean;
|
|
89
|
+
indicator: StepIndicator;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
92
92
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -99,8 +99,8 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
99
99
|
//#region src/Stepper/Stepper.vue.d.ts
|
|
100
100
|
type __VLS_Slots = StepperSlots;
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
|
|
102
|
-
orientation: StepperOrientation;
|
|
103
102
|
density: StepperDensity;
|
|
103
|
+
orientation: StepperOrientation;
|
|
104
104
|
indicatorPosition: StepperIndicatorPosition;
|
|
105
105
|
hasCollapsibleLabels: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as ExtendedIconName } from "./types-D8t_HevJ.js";
|
|
2
2
|
import { n as LayerPlacement } from "./position-DFW5ymAF.js";
|
|
3
3
|
import { t as OptionActionNode } from "./optionAction-Cg7xQLUA.js";
|
|
4
|
-
import { o as FieldStatusInput } from "./types-
|
|
4
|
+
import { o as FieldStatusInput } from "./types-Cvh2VwQZ.js";
|
|
5
5
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
6
6
|
import { Component, VNode, VNodeChild } from "vue";
|
|
7
7
|
//#region src/Selector/types.d.ts
|
|
@@ -36,7 +36,7 @@ type SelectorSize = 'sm' | 'md' | 'lg';
|
|
|
36
36
|
type SelectorStatus = 'default' | 'success' | 'warning' | 'error';
|
|
37
37
|
/** 字符串状态,或演练场里那种 `{ type, message }`。 */
|
|
38
38
|
type SelectorStatusInput = SelectorStatus | FieldStatusInput;
|
|
39
|
-
type SelectorPresentation = 'popover' | 'bottom-sheet';
|
|
39
|
+
type SelectorPresentation = 'popover' | 'bottom-sheet' | 'adaptive';
|
|
40
40
|
/** `default` 和 `input` 都是带边框的表单框。`secondary` 对齐次要按钮。 */
|
|
41
41
|
type SelectorVariant = 'input' | 'secondary' | 'ghost' | 'default';
|
|
42
42
|
type SelectorStatusVariant = 'attached' | 'detached' | 'tooltip';
|
|
@@ -75,7 +75,7 @@ interface SelectorProps extends FieldPartStylingProps {
|
|
|
75
75
|
*/
|
|
76
76
|
variant?: SelectorVariant;
|
|
77
77
|
/**
|
|
78
|
-
* popover 锚在触发器下,bottom-sheet
|
|
78
|
+
* popover 锚在触发器下,bottom-sheet 在底部弹层里展开,adaptive 在紧凑触屏上用底部弹层、其余用浮层。
|
|
79
79
|
* @default 'popover'
|
|
80
80
|
*/
|
|
81
81
|
presentation?: SelectorPresentation;
|
|
@@ -174,20 +174,20 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
174
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
175
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
|
-
isLoading: boolean;
|
|
178
|
-
variant: SelectorVariant;
|
|
179
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
180
177
|
status: SelectorStatusInput;
|
|
181
178
|
isOptional: boolean;
|
|
179
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
180
|
+
isLoading: boolean;
|
|
181
|
+
variant: SelectorVariant;
|
|
182
182
|
modelValue: string | number | null;
|
|
183
183
|
isLabelHidden: boolean;
|
|
184
184
|
isRequired: boolean;
|
|
185
185
|
statusVariant: SelectorStatusVariant;
|
|
186
|
-
presentation: SelectorPresentation;
|
|
187
186
|
isReadOnly: boolean;
|
|
187
|
+
presentation: SelectorPresentation;
|
|
188
188
|
disabled: boolean;
|
|
189
|
-
clearable: boolean;
|
|
190
189
|
searchable: boolean;
|
|
190
|
+
clearable: boolean;
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
192
192
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
193
193
|
declare const _default: typeof __VLS_export;
|
|
@@ -45,8 +45,8 @@ interface TimerProps {
|
|
|
45
45
|
//#region src/Timer/Timer.vue.d.ts
|
|
46
46
|
declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
|
|
47
47
|
type: TimerType;
|
|
48
|
-
format: "clock" | "elapsed";
|
|
49
48
|
color: TimerColor;
|
|
49
|
+
format: "clock" | "elapsed";
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CalendarSystem } from "./power-search-CuMzfLwW.js";
|
|
2
|
-
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-
|
|
2
|
+
import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-2Hu-xisJ.js";
|
|
3
3
|
import { ComputedRef, InjectionKey } from "vue";
|
|
4
4
|
//#region src/InternationalizationProvider/catalog.d.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as ExtendedIconName } from "./types-D8t_HevJ.js";
|
|
2
2
|
import { s as ButtonSize } from "./types-DRpOiAlm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as FieldStatusInput, u as FieldStatusVariant } from "./types-Cvh2VwQZ.js";
|
|
4
4
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
5
|
-
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-
|
|
5
|
+
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-BA1veIoa.js";
|
|
6
6
|
import { Component, HTMLAttributes, Ref, StyleValue, VNode } from "vue";
|
|
7
7
|
//#region src/ComplexSelector/types.d.ts
|
|
8
8
|
interface ComplexSelectorState {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as FieldStatusProps, u as FieldStatusVariant } from "./types-Cvh2VwQZ.js";
|
|
2
2
|
//#region src/Field/FieldStatus.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<FieldStatusProps, {
|
|
4
4
|
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
@@ -36,9 +36,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
as: ItemElement;
|
|
40
39
|
density: ListDensity;
|
|
41
40
|
layout: ItemLayout;
|
|
41
|
+
as: ItemElement;
|
|
42
42
|
isSelected: boolean;
|
|
43
43
|
align: ItemAlign;
|
|
44
44
|
isHighlighted: boolean;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
-
size: NavItemSize;
|
|
32
31
|
isDisabled: boolean;
|
|
32
|
+
size: NavItemSize;
|
|
33
33
|
isIconOnly: boolean;
|
|
34
34
|
isSelected: boolean;
|
|
35
35
|
isFocusableWhenDisabled: boolean;
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
+
isEnabled: boolean;
|
|
92
93
|
delay: number;
|
|
93
94
|
hideDelay: number;
|
|
94
95
|
focusTrigger: HoverCardFocusTrigger;
|
|
95
96
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
-
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
175
175
|
}>, {
|
|
176
176
|
position: OverlayPosition;
|
|
177
177
|
align: OverlayAlign;
|
|
178
|
-
showOn: OverlayShowOn;
|
|
179
178
|
scrim: OverlayScrimMode;
|
|
179
|
+
showOn: OverlayShowOn;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
182
182
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
|
|
|
192
192
|
isOpen: boolean;
|
|
193
193
|
position: OverlayPosition;
|
|
194
194
|
align: OverlayAlign;
|
|
195
|
-
showOn: OverlayShowOn;
|
|
196
195
|
scrim: OverlayScrimMode;
|
|
196
|
+
showOn: OverlayShowOn;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
|
@@ -162,8 +162,8 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
|
|
|
162
162
|
}>, {
|
|
163
163
|
layout: TabListLayout;
|
|
164
164
|
isFullBleed: boolean;
|
|
165
|
-
overflow: TabListOverflow;
|
|
166
165
|
hasDivider: boolean;
|
|
166
|
+
overflow: TabListOverflow;
|
|
167
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
168
168
|
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
169
169
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -63,8 +63,8 @@ interface TreeListSlots {
|
|
|
63
63
|
//#region src/TreeList/TreeList.vue.d.ts
|
|
64
64
|
type __VLS_Slots = TreeListSlots;
|
|
65
65
|
declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
|
|
66
|
-
variant: TreeListVariant;
|
|
67
66
|
density: TreeListDensity;
|
|
67
|
+
variant: TreeListVariant;
|
|
68
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
69
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
70
|
declare const _default: typeof __VLS_export;
|
|
@@ -80,10 +80,10 @@ type __VLS_Slots = {} & {
|
|
|
80
80
|
};
|
|
81
81
|
declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
82
82
|
color: HeadingColor;
|
|
83
|
+
maxLines: number;
|
|
83
84
|
display: HeadingDisplay;
|
|
84
85
|
justify: HeadingJustify;
|
|
85
86
|
hasCapsize: boolean;
|
|
86
|
-
maxLines: number;
|
|
87
87
|
hasTruncateTooltip: HeadingTruncateTooltip;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
label?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
24
|
-
variant: DividerVariant;
|
|
25
24
|
orientation: DividerOrientation;
|
|
25
|
+
variant: DividerVariant;
|
|
26
26
|
isFullBleed: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as ThemeIconVariant, f as DefineThemeInput, g as ThemeDefinition, m as MediaThemeProps, v as ThemeMode, y as ThemeProps } from "./adaptationTypes-Cn_pfrsw.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/Theme/dataTokens.d.ts
|
|
4
4
|
/**
|
|
@@ -43,8 +43,8 @@ interface ProgressBarProps {
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/ProgressBar/ProgressBar.vue.d.ts
|
|
45
45
|
declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
46
|
-
size: ProgressBarSize;
|
|
47
46
|
isDisabled: boolean;
|
|
47
|
+
size: ProgressBarSize;
|
|
48
48
|
value: number;
|
|
49
49
|
variant: ProgressBarVariant;
|
|
50
50
|
isLabelHidden: boolean;
|