@astryx-vue/core 0.22.0 → 0.23.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-VD9PadlM.js → AlertDialog-DXOTr1D7.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-C4XGguw0.js → AppShell-Cmu6bMY6.js} +63 -23
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CAweS1WY.js → Avatar-dMcn3j8Z.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DnK7bKAb.js → Banner-CTY9qV89.js} +2 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CM0-eaUF.js → BottomSheet-DyJJtZZU.js} +5 -5
- package/dist/{BottomSheet-C4OU3mJT.js → BottomSheet-ZOjuZya0.js} +3 -3
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DZAgtC9c.js → Breadcrumbs-mlCoLtma.js} +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-Blnc0yB3.js → Button-TiYG0btL.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +3 -2
- package/dist/Calendar-B6TZYEge.js +105 -0
- package/dist/{Calendar-ydp0vJdO.js → Calendar-CUMnYIhe.js} +182 -257
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-BbKFHWuD.js → Card-D_OJxmwD.js} +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CB4Iap-B.js → Carousel-DsXup1mZ.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DjJPQ9bX.js → Chat-DqYT_S9M.js} +7 -6
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CGTPmOHs.js → CheckboxInput-BNwTTDHu.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CGzHkA95.js → CheckboxList-BLY16jPG.js} +3 -3
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CSgRYxGU.js → Citation-Ijf06x0V.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DMX5z-QV.js → ClickableCard-CVQ7XS4L.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-rmiC0XfO.js → Code-5rZyPwty.js} +1 -1
- package/dist/{CodeBlock-CwQCMSKA.js → CodeBlock-5KoJDvWd.js} +3 -3
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BVoNZijw.js → Collapsible-B1qW6OuL.js} +3 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DBOETNGM.js → CommandPalette-B2riNg_7.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CNBH2t6W.js → ComplexSelector-CVCIsgAU.js} +4 -4
- package/dist/{ComponentIcon-BRXBBKeG.js → ComponentIcon-Dw4xQxg3.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CUwAPrVP.js → ContextMenu-DYLdP-Ok.js} +7 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BQ-3bvV5.js → DateInput-D9Jv70H7.js} +1210 -108
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DFXz4vNX.js → DateRangeInput-BsB2kg_q.js} +75 -55
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BHO4nXKW.js → DateTimeInput-BDyKPKGD.js} +26 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-Dx6zuttb.js → Dialog-DUlWQH8R.js} +1 -1
- package/dist/{Dialog-BCPhWMxL.js → Dialog-JCB5s-T-.js} +4 -4
- package/dist/{DialogHeader-C9fp2Rti.js → DialogHeader-C6hZZxdv.js} +3 -3
- 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--2vLSKY_.js → Drawer-BDuiw1-g.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CskkQAAz.js → DropdownMenu-BVEOMFwc.js} +9 -9
- package/dist/{DropdownMenu-BImEVieZ.js → DropdownMenu-PjqSkkQs.js} +6 -6
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Dq3NWNnG.js → EmptyState-CnFkYtcS.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DsucLkyQ.js → Field-D4UmRHlD.js} +2 -2
- package/dist/{FieldIcon-DMtfe1Ne.js → FieldIcon-BU1ZWAuo.js} +1 -1
- package/dist/{FieldInfoTip-1zW3QTQG.js → FieldInfoTip-BSqcEcUx.js} +2 -2
- package/dist/{FieldLabel-D9uFPtXs.js → FieldLabel-CZbayYFD.js} +2 -2
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-DSUCli4W.js → FieldStatus-DmCWPT6U.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLtHinlh.js → FileInput-8oYiJsq_.js} +4 -4
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Grid/index.js +1 -1
- package/dist/{Grid-C0mp7fha.js → Grid-DTnDDT0Q.js} +2 -2
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-DBBChghq.js → Heading-COtyAhtB.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-BW-bOUZI.js → HoverCard-DGlOpk4x.js} +4 -4
- package/dist/Icon/index.js +3 -3
- package/dist/{Icon-BCHo7W0x.js → Icon-Dk0jccgU.js} +2 -1
- package/dist/{Icon-B2aULLnn.js → Icon-M1Rlknd0.js} +2 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CIUbkA8_.js → IconButton-CwjHTIBg.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-C71T8lv_.js → InfoTip-CNZateDb.js} +2 -2
- package/dist/{InputClearButton-h0BxBXu1.js → InputClearButton-CzCP41sx.js} +2 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DHPTru5v.js → InputGroup-CfUGHDNz.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-Ddo_-tLK.js → InternationalizationProvider-DaZS5Dch.js} +5 -2
- package/dist/{LayerContentBoundary-DxeAFxNJ.js → LayerContentBoundary-LCQLyxBT.js} +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DP2vrvTv.js → Layout-DOIeCgs4.js} +2 -2
- package/dist/{LayoutPanel-DuroKU_A.js → LayoutPanel-C7Wsid2W.js} +34 -14
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-B3WP06Qt.js → Lightbox-Dzzd2Vqe.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CQK9d_Yf.js → Link-B7OJQ0zl.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BVXFWJT0.js → Markdown-Cbj-nqhN.js} +4 -4
- package/dist/{MediaTheme-DfcdEWx-.js → MediaTheme-UM8oOqwX.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DGZPwsf9.js → MobileNavToggle-BlcdCg8M.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Q_KpDTNB.js → MoreMenu-DAhOiau3.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CzGsdjcl.js → MultiSelector-ERv5u6r4.js} +11 -10
- package/dist/{NavDisclosure-DIYayUrP.js → NavDisclosure-CqAThYgR.js} +1 -1
- package/dist/{NavHeadingSurface-bFcFpeMI.js → NavHeadingSurface-DJ4pWvEi.js} +2 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-DYvMKPU_.js → NavMenu-BtA_Xbmr.js} +3 -3
- package/dist/{NavMenuItem-Ccix-agv.js → NavMenuItem-BxfjAf1T.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DTksMfSU.js → NumberInput-Bl5TFhGD.js} +5 -5
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-DKM7TeUs.js → OverflowList-CumJl6X_.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-B-O21ut1.js → Pagination-DuTUReOl.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BtfsoxXC.js → Popover-DpR4rwiW.js} +6 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CniqThU7.js → PowerSearch-CewQJzEt.js} +34 -33
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DOusesCL.js → ProgressBar-Dp-0xquN.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CRwMwMw4.js → RadioGroup-DrCL5-AN.js} +3 -3
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-PUlENMq5.js → RadioList-CRi4E1zq.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-4-krI-cQ.js → ResizeHandle-BMSbAFdP.js} +43 -27
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-DUTtyApJ.js → SelectableCard-Dp-LsEcf.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-Qs1rFiI6.js → Selector-D6yzPO5O.js} +9 -9
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BUfUwE2P.js → SideNav-z_6FwEJy.js} +8 -58
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BbiQbyie.js → Slider-DMHlRq7q.js} +2 -2
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-DhfcDBE7.js → StatusDot-B3oOyRF7.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CQd4YlPC.js → Stepper-CgOdL36_.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CMK5bICl.js → Switch-OPRkoPLi.js} +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-Bd3h7Nj3.js → TabList-FkoypUk0.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DN9mo-cQ.js → Table-CCjpL_Ku.js} +16 -16
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-Dez23ltM.js → Text-v1ep26uD.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BsGUOyDg.js → TextArea-BilHnmSs.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-DZi0EMh-.js → TextInput-D6tHM2sA.js} +4 -4
- package/dist/Theme/index.js +3 -2
- package/dist/{Theme-1RJVaRgz.js → Theme-BmTbbiAD.js} +6 -22
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CsmF1HTP.js → Thumbnail-llGdnQM8.js} +3 -3
- package/dist/{TimeField-DqOPj5s2.js → TimeField-C5rcoaVu.js} +7 -7
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CA3kXBWB.js → TimeInput-D0N8nwrI.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-vubjQ88x.js → Timer-65PfuoQ7.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -2
- package/dist/{Timestamp-Cz_0Ofj4.js → Timestamp-rYC8mE3r.js} +20 -12
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DhJNtBjT.js → Toast-BtQ-4Y6Z.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BR_qVBEt.js → ToggleButton-DTrNL430.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C3pXgLmC.js → Tokenizer-DdddkJb1.js} +6 -5
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-B4Vltu-j.js → Toolbar-DSWH8ll4.js} +25 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BUHvOnE1.js → Tooltip-CByjfHBZ.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-klsRhS-I.js → TopNav-C1wpttKX.js} +6 -6
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DJQvL5tG.js → TreeList-DOAcS3PM.js} +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-BaPqX3Ey.js → Typeahead-6y_r-VNU.js} +6 -6
- package/dist/adaptationTypes-Beao49TN.js +19 -0
- package/dist/{assertOptions-DF9pum-3.js → assertOptions-og3t30Fh.js} +2 -1
- package/dist/calendar-C7py_wtb.js +351 -0
- package/dist/calendarFormat-_CEZIMZG.js +123 -0
- package/dist/{componentIcons-CFr2L6o3.js → componentIcons-BBJqmilP.js} +1 -1
- package/dist/composables/index.js +11 -11
- package/dist/{composables-BDWdSCwe.js → composables-COCeg92e.js} +2 -2
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/{context-CjX2RSDn.js → context-D-Hwh-Jf.js} +1 -1
- package/dist/{date-input-rUD8YAow.js → date-input-CRdc2H3c.js} +6 -2
- package/dist/focusLeaving-Dqm8Yj4T.js +53 -0
- package/dist/{focusReturn-CsEp47Wa.js → focusReturn-C1cFL3WM.js} +1 -1
- package/dist/{format-mffyPc-L.js → format-6G9QuGy1.js} +12 -4
- package/dist/{formatInstant-BDWUIxS7.js → formatInstant-CjCwl6JS.js} +8 -6
- package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
- package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
- package/dist/{index-BmXk_doE.d.ts → index-B3U6GJKl.d.ts} +2 -2
- package/dist/{index-CAKT4Kkz.d.ts → index-B5MCvW75.d.ts} +230 -72
- package/dist/{index-Qdbssopn.d.ts → index-B6svLvfZ.d.ts} +1 -1
- package/dist/{index-C3FgFPrM.d.ts → index-BDJQW9cW.d.ts} +10 -10
- package/dist/{index-BvW0tiei.d.ts → index-BJputYk6.d.ts} +4 -4
- package/dist/{index-YKCx03zD.d.ts → index-BaFphczL.d.ts} +2 -2
- package/dist/{index-BTljzczH.d.ts → index-C-kIxNCq.d.ts} +8 -11
- 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-DDrL_-hJ.d.ts → index-CBOv5j3c.d.ts} +2 -2
- package/dist/{index-BOCb89V9.d.ts → index-CP-fJFcJ.d.ts} +3 -3
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-Cb-rvc1W.d.ts} +1 -1
- package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
- package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
- package/dist/{index-BdZCLUgY.d.ts → index-CnVjgLP5.d.ts} +9 -1
- package/dist/{index-CG3fD4hw.d.ts → index-CpLLSVCn.d.ts} +7 -5
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-B1eCxBCY.d.ts → index-DCyYldjP.d.ts} +7 -1
- package/dist/{index-BrMtj1lT.d.ts → index-DGXCnzOL.d.ts} +4 -4
- package/dist/{index-BhxqUt3y.d.ts → index-DXHmlFcC.d.ts} +4 -4
- package/dist/{index-fd--aE4B.d.ts → index-DbNGGCM0.d.ts} +4 -3
- package/dist/{index--CtH4lQr.d.ts → index-Dc6mU3rv.d.ts} +6 -6
- package/dist/{index-DYabo8TI.d.ts → index-MvrDMqnQ.d.ts} +1 -1
- package/dist/{index-DMN_JVEt.d.ts → index-NOxH5oYj.d.ts} +3 -2
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-BkxWKIV_.d.ts → index-SRA6e30Q.d.ts} +8 -8
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-DIw5D3zj.d.ts → index-ZKBj_1nu.d.ts} +2 -2
- package/dist/{index-D0MA9x_i.d.ts → index-ZT45ZWd5.d.ts} +8 -8
- package/dist/{index-CQ-sq76o.d.ts → index-_FjbcSgD.d.ts} +8 -2
- package/dist/{index-DogWVRJi.d.ts → index-beOIC0Qk.d.ts} +2 -2
- package/dist/{index-rzkX36wM.d.ts → index-nk2xIHpr.d.ts} +3 -3
- package/dist/index.d.ts +39 -39
- package/dist/index.js +117 -116
- package/dist/inputPresentation-DES0JwkL.js +203 -0
- package/dist/interactionModality-CedLz5PC.js +130 -0
- package/dist/{interactionModality-CyU67ucP.js → layerDepth-D3Rh8T5C.js} +1 -130
- package/dist/{layerFocusReturn-BeCsk_4F.js → layerFocusReturn-KvH6DMFT.js} +1 -1
- package/dist/{loadCatalog-DsEKSY3U.js → loadCatalog-BeQt6Uq-.js} +9 -1
- package/dist/{loadCatalog-C4h9SmJs.d.ts → loadCatalog-C8mRnC0E.d.ts} +5 -1
- package/dist/locale/index.d.ts +4 -4
- package/dist/locale/index.js +4 -4
- package/dist/{locale-C-Y-13BP.js → locale-B4FpGKpc.js} +6 -2
- package/dist/{dateParser-BKoaawL9.js → plainDate-CaTDErKr.js} +1 -132
- package/dist/{power-search-CqcsJT1F.d.ts → power-search-CuMzfLwW.d.ts} +13 -1
- package/dist/resizableChannel-LElsNkSY.js +33 -0
- package/dist/{stillPointerGate-BX4vr5M-.js → stillPointerGate-1Tgkns0J.js} +1 -1
- package/dist/{themeIcons-CqGF0fwW.js → themeIcons-1O7ymucc.js} +1 -7
- package/dist/{tooltipFocusRules-BnZ1zwAm.js → tooltipFocusRules-vIH7PZh1.js} +3 -2
- package/dist/{tooltipTriggerRules-BLBEkBcK.js → tooltipTriggerRules-DoBAbfGc.js} +1 -1
- package/dist/{triggerVariant-BDVvyLtv.js → triggerVariant-DG0VhG-X.js} +1 -1
- package/dist/useCalendarGrid-0WvxbeFC.js +179 -0
- package/dist/{useCombobox-DcBbaWYj.js → useCombobox-BqkTY3bw.js} +1 -1
- package/dist/{useDismiss-C1dyveme.js → useDismiss-CMIsdIOQ.js} +1 -1
- package/dist/{useFocusTrap-DAKJJP0Z.js → useFocusTrap-DTz_d7IP.js} +3 -2
- package/dist/{useIndicator--9mGGlT2.js → useIndicator-PFDBNOvX.js} +2 -2
- package/dist/{useInputStatusIcon-BDWAijXe.js → useInputStatusIcon-CrgeMzrf.js} +2 -2
- package/dist/{useMenuDrillIn-RZwY55RM.js → useMenuDrillIn-f3m-59Qb.js} +1 -1
- package/dist/{useMenuPress-3203ryBY.js → useMenuPress-wqRDvUMW.js} +2 -2
- package/dist/{useResizable-wZU54yCO.js → useResizable-hv4NYIUi.js} +6 -3
- package/dist/{useRestoreFocus-v8-FFcQQ.js → useRestoreFocus-BxooFhas.js} +2 -2
- package/dist/{useTooltip-0_wOd0e5.js → useTooltip-BwqzEtoF.js} +5 -5
- package/dist/{useTouchTriggerInternal-DwzthF8T.js → useTouchTriggerInternal-Bdm_M4aa.js} +2 -1
- package/dist/{useTruncationTooltip-BDIe7-ya.js → useTruncationTooltip-CRhoPzeu.js} +4 -4
- package/dist/{useTypeahead-BlqvS9x9.js → useTypeahead-BGpvWkzm.js} +1 -1
- package/dist/{useTypeaheadMenuConfig-CIf9Ep57.js → useTypeaheadMenuConfig-GvdIymRg.js} +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/reset.css +0 -19
- package/styles/app-shell.css +88 -7
- package/styles/aspect-ratio.css +4 -3
- package/styles/collapsible.css +1 -0
- package/styles/layout.css +22 -5
- package/styles/resize-handle.css +64 -35
- package/styles/scrollable-area.css +13 -0
- package/styles/toolbar.css +39 -3
- package/dist/inputPresentation-BOyHkCDr.js +0 -62
- package/dist/resizableChannel-3vivrEcT.js +0 -20
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-DXOTr1D7.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as pressGroupItemProps } from "./useTouchHitArea-BMDBe36j.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-PVBCtLUE.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Button-TiYG0btL.js";
|
|
4
4
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
7
|
-
import { t as _sfc_main$3 } from "./Heading-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Dialog-JCB5s-T-.js";
|
|
7
|
+
import { t as _sfc_main$3 } from "./Heading-COtyAhtB.js";
|
|
8
8
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
10
|
+
import { t as _sfc_main$5 } from "./Text-v1ep26uD.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
12
12
|
import "../styles/alert-dialog.css";
|
|
13
13
|
//#region src/AlertDialog/context.ts
|
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-DCyYldjP.js";
|
|
2
2
|
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../AppShell-
|
|
1
|
+
import { t as _sfc_main } from "../AppShell-Cmu6bMY6.js";
|
|
2
2
|
export { _sfc_main as AppShell };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as themeContextKey } from "./context-Cws_tXTr.js";
|
|
1
2
|
import { n as createAnimatedLayout } from "./handle-CSHfxBie.js";
|
|
2
3
|
import { g as layoutStartFor } from "./batch-oTkSbtVz.js";
|
|
3
4
|
import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-DQPBIsl5.js";
|
|
@@ -5,12 +6,14 @@ import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } f
|
|
|
5
6
|
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
6
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
8
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
9
|
+
import { a as layoutSlotsKey, i as layoutDividerKey, n as layoutAreaKey, r as layoutContainerKey, t as emptyLayoutSlots } from "./context-D-Hwh-Jf.js";
|
|
8
10
|
import { n as observeMainOverflow } from "./useScrollRegionProps-DwkPUb-O.js";
|
|
9
|
-
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-
|
|
11
|
+
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-C7Wsid2W.js";
|
|
10
12
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
11
13
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
12
|
-
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-
|
|
13
|
-
import {
|
|
14
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-BlcdCg8M.js";
|
|
15
|
+
import { t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
|
|
16
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
14
17
|
import "../styles/app-shell.css";
|
|
15
18
|
//#region src/SideNav/SideNavRenderMode.vue
|
|
16
19
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -26,6 +29,35 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
26
29
|
}
|
|
27
30
|
});
|
|
28
31
|
//#endregion
|
|
32
|
+
//#region src/AppShell/useAppShellMainId.ts
|
|
33
|
+
/** 页面上第一个外层 AppShell 的主区域 id,跳转链接和选择器都认这个。 */
|
|
34
|
+
const MAIN_CONTENT_ID = "astryx-app-shell-main";
|
|
35
|
+
/** 在某个 AppShell 的内容里时为 true:嵌套的壳永远不拿固定 id。 */
|
|
36
|
+
const appShellNestingKey = Symbol("astryx-app-shell-nesting");
|
|
37
|
+
/** 已挂载的外层壳按挂载顺序登记在这里,只在浏览器里变化。 */
|
|
38
|
+
const claims = shallowReactive([]);
|
|
39
|
+
function provideAppShellNesting() {
|
|
40
|
+
provide(appShellNestingKey, true);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 一个 AppShell 主区域用的 id。第一个挂载的外层壳保持固定 id;
|
|
44
|
+
* 嵌套的壳,或在别的壳占着固定 id 时挂载的壳,用自己生成的 id,页面上不会有重复 id。
|
|
45
|
+
* 服务端和首次渲染里,外层壳都用固定 id,挂载后其余的壳再换成自己的。
|
|
46
|
+
*/
|
|
47
|
+
function useAppShellMainId() {
|
|
48
|
+
const generated = `${MAIN_CONTENT_ID}-${useId()}`;
|
|
49
|
+
const isNested = inject(appShellNestingKey, false);
|
|
50
|
+
const claim = {};
|
|
51
|
+
onMounted(() => {
|
|
52
|
+
if (!isNested) claims.push(claim);
|
|
53
|
+
});
|
|
54
|
+
onBeforeUnmount(() => {
|
|
55
|
+
const index = claims.indexOf(claim);
|
|
56
|
+
if (index >= 0) claims.splice(index, 1);
|
|
57
|
+
});
|
|
58
|
+
return { mainId: computed(() => !isNested && (claims.length === 0 || claims[0] === claim) ? MAIN_CONTENT_ID : generated) };
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
29
61
|
//#region src/AppShell/useAppShellRail.ts
|
|
30
62
|
/** 主内容区旁边的那一列:它的祖先里,父元素同时装着轨道的那一个。滑动移动它,轨道的边骑在它上面。 */
|
|
31
63
|
function columnOf(main, rail) {
|
|
@@ -135,7 +167,6 @@ const _hoisted_5 = ["data-variant"];
|
|
|
135
167
|
const _hoisted_6 = ["aria-label"];
|
|
136
168
|
const _hoisted_7 = ["data-elevated"];
|
|
137
169
|
const _hoisted_8 = ["id"];
|
|
138
|
-
const mainId = "astryx-app-shell-main";
|
|
139
170
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
140
171
|
name: "AstryxAppShell",
|
|
141
172
|
inheritAttrs: false,
|
|
@@ -166,26 +197,34 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
166
197
|
nav: navMessages
|
|
167
198
|
});
|
|
168
199
|
const root = useTemplateRef("root");
|
|
200
|
+
const { mainId } = useAppShellMainId();
|
|
201
|
+
provideAppShellNesting();
|
|
202
|
+
provide(layoutAreaKey, computed(() => null));
|
|
203
|
+
provide(layoutSlotsKey, emptyLayoutSlots);
|
|
204
|
+
provide(layoutDividerKey, computed(() => void 0));
|
|
205
|
+
provide(layoutContainerKey, null);
|
|
169
206
|
const mobileNavId = `astryx-app-shell-${useId()}`;
|
|
170
207
|
const uncontrolledOpen = useModel(__props, "mobileNavOpen");
|
|
171
208
|
__expose({ element: root });
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"
|
|
177
|
-
|
|
178
|
-
};
|
|
179
|
-
const
|
|
180
|
-
/**
|
|
209
|
+
const theme = inject(themeContextKey, null);
|
|
210
|
+
const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
|
|
211
|
+
/** 断点的像素宽度:主题改过宽度点就跟主题走,否则用标准值。`none` 没有断点。 */
|
|
212
|
+
const breakpointWidth = computed(() => {
|
|
213
|
+
if (breakpoint.value === "none") return null;
|
|
214
|
+
return theme?.value.theme.adaptations?.widthBreakpoints[breakpoint.value] ?? DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value];
|
|
215
|
+
});
|
|
216
|
+
const query = computed(() => `(width < ${breakpointWidth.value ?? 0}px)`);
|
|
217
|
+
/** 正在接管服务端 HTML 时,先按服务端给的提示渲染,挂载后再换成读到的窗口宽度,不让内容重新渲染。 */
|
|
218
|
+
const isHydrating = getCurrentInstance()?.vnode.el != null;
|
|
219
|
+
const serverIsMobile = computed(() => breakpointWidth.value != null && typeof props.mobileNav === "object" && props.mobileNav.defaultIsMobile === true);
|
|
220
|
+
const measuredBelow = ref(false);
|
|
221
|
+
const hasReadWindow = ref(!isHydrating && typeof window !== "undefined");
|
|
222
|
+
/** 脚本读到窗口之前为 false:服务端渲染出来的整条顶栏和侧栏可能正显示在手机上。 */
|
|
181
223
|
const windowRead = ref(false);
|
|
224
|
+
const isBelow = computed(() => hasReadWindow.value ? measuredBelow.value : serverIsMobile.value);
|
|
182
225
|
onMounted(() => {
|
|
183
226
|
windowRead.value = true;
|
|
184
|
-
|
|
185
|
-
const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
|
|
186
|
-
const query = computed(() => {
|
|
187
|
-
if (breakpoint.value === "none") return "(width < 0px)";
|
|
188
|
-
return `(width < ${BREAKPOINTS[breakpoint.value]}px)`;
|
|
227
|
+
hasReadWindow.value = true;
|
|
189
228
|
});
|
|
190
229
|
const open = computed({
|
|
191
230
|
get: () => typeof props.mobileNav === "object" && props.mobileNav.isOpen != null ? props.mobileNav.isOpen : uncontrolledOpen.value,
|
|
@@ -200,7 +239,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
200
239
|
const mobileEnabled = computed(() => props.mobileNav !== false && (hasTopNav.value || hasSideNav.value) && !hasCustomDrawer.value);
|
|
201
240
|
/** 读到窗口之前,标准断点下的顶栏用 CSS 先把起始和中间内容在手机上藏起来,和读完窗口后的手机条一致。 */
|
|
202
241
|
const unreadBreakpoint = computed(() => {
|
|
203
|
-
if (windowRead.value || !
|
|
242
|
+
if (windowRead.value || !mobileEnabled.value || breakpoint.value === "none" || breakpointWidth.value !== DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value]) return void 0;
|
|
204
243
|
return breakpoint.value;
|
|
205
244
|
});
|
|
206
245
|
const hasAutoToggle = computed(() => (typeof props.mobileNav !== "object" || props.mobileNav.hasToggle !== false) && !hasCustomDrawer.value);
|
|
@@ -211,7 +250,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
211
250
|
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
212
251
|
const media = window.matchMedia(value);
|
|
213
252
|
const update = () => {
|
|
214
|
-
|
|
253
|
+
measuredBelow.value = media.matches;
|
|
215
254
|
};
|
|
216
255
|
update();
|
|
217
256
|
media.addEventListener("change", update);
|
|
@@ -284,7 +323,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
284
323
|
backdrop: computed(() => backdrop.value)
|
|
285
324
|
}));
|
|
286
325
|
function focusMain() {
|
|
287
|
-
const main = root.value?.ownerDocument.getElementById(mainId);
|
|
326
|
+
const main = root.value?.ownerDocument.getElementById(mainId.value);
|
|
288
327
|
if (main == null) return;
|
|
289
328
|
isMainProgrammaticFocus.value = true;
|
|
290
329
|
main.focus();
|
|
@@ -305,7 +344,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
305
344
|
}), [
|
|
306
345
|
createElementVNode("a", {
|
|
307
346
|
class: "astryx-app-shell__skip",
|
|
308
|
-
href: `#${mainId}`,
|
|
347
|
+
href: `#${unref(mainId)}`,
|
|
309
348
|
onClick: focusMain
|
|
310
349
|
}, toDisplayString(unref(messages).layout.skipToContent), 9, _hoisted_2),
|
|
311
350
|
createVNode(_sfc_main$2, {
|
|
@@ -321,7 +360,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
321
360
|
ref: backdrop,
|
|
322
361
|
class: "astryx-app-shell__backdrop"
|
|
323
362
|
}, null, 512)) : createCommentVNode("v-if", true), createVNode(_sfc_main$3, {
|
|
324
|
-
id: mainId,
|
|
363
|
+
id: unref(mainId),
|
|
325
364
|
ref_key: "content",
|
|
326
365
|
ref: content,
|
|
327
366
|
class: "astryx-app-shell__content",
|
|
@@ -338,6 +377,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
338
377
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
339
378
|
_: 3
|
|
340
379
|
}, 8, [
|
|
380
|
+
"id",
|
|
341
381
|
"tabindex",
|
|
342
382
|
"data-scroll-region",
|
|
343
383
|
"data-programmatic-focus",
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-dMcn3j8Z.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -4,7 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
7
|
+
import { t as _sfc_main$2 } from "./Tooltip-CByjfHBZ.js";
|
|
8
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
9
9
|
import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ao as BannerContainer, Mo as BannerProps, No as BannerSlots, Po as BannerStatus, jo as BannerEmits, ko as _default } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
package/dist/Banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Banner-
|
|
1
|
+
import { t as _sfc_main } from "../Banner-CTY9qV89.js";
|
|
2
2
|
export { _sfc_main as Banner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldIcon-
|
|
3
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldIcon-BU1ZWAuo.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-CwjHTIBg.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
5
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-
|
|
1
|
+
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-CP-fJFcJ.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main } from "../BottomSheet-
|
|
2
|
-
import { t as _sfc_main$1 } from "../BottomSheet-
|
|
1
|
+
import { n as _sfc_main } from "../BottomSheet-DyJJtZZU.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../BottomSheet-ZOjuZya0.js";
|
|
3
3
|
export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
4
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
5
|
-
import { t as useRestoreFocus } from "./useRestoreFocus-
|
|
2
|
+
import { i as isTopLayer, n as useLayerDepth, o as pushLayer, s as isImeKeyEvent, t as provideLayerDepth } from "./layerDepth-D3Rh8T5C.js";
|
|
3
|
+
import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
|
|
4
|
+
import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
|
|
5
|
+
import { t as useRestoreFocus } from "./useRestoreFocus-BxooFhas.js";
|
|
6
6
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
7
7
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
8
8
|
import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
|
|
9
|
-
import {
|
|
9
|
+
import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
12
12
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-
|
|
2
|
-
import {
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
1
|
+
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-DyJJtZZU.js";
|
|
2
|
+
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
|
|
4
4
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-f3m-59Qb.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-mlCoLtma.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-BVEOMFwc.js";
|
|
7
7
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
8
8
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
9
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-DXHmlFcC.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
package/dist/Button/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
|
2
2
|
import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-BMDBe36j.js";
|
|
3
3
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
4
4
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
5
|
-
import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-
|
|
5
|
+
import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
6
6
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
7
7
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
8
8
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
9
9
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
10
10
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DoBAbfGc.js";
|
|
12
|
+
import { t as _sfc_main$4 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
13
|
+
import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
|
|
14
14
|
import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
15
15
|
import { t as _sfc_main$6 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
16
16
|
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Cgkyk-b7.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Do as ButtonGroupSlots, Eo as ButtonGroupProps, Oo as ButtonGroupOrientation, To as _default } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { co as
|
|
2
|
-
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
|
1
|
+
import { Co as CalendarRangeValue, So as CalendarProps, _o as useCalendarConstraints, bo as CalendarHandle, co as UseCalendarNavigationOptions, do as CalendarDay, fo as UseCalendarDaysOptions, go as UseCalendarConstraintsReturn, ho as UseCalendarConstraintsOptions, lo as UseCalendarNavigationReturn, mo as useCalendarDays, po as UseCalendarDaysReturn, uo as useCalendarNavigation, vo as _default, wo as CalendarSlots, xo as CalendarHandleRef, yo as CalendarEmits } from "../index-B5MCvW75.js";
|
|
2
|
+
export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
2
|
-
|
|
1
|
+
import { a as useCalendarConstraints, t as _sfc_main } from "../Calendar-CUMnYIhe.js";
|
|
2
|
+
import { n as useCalendarDays, t as useCalendarNavigation } from "../Calendar-B6TZYEge.js";
|
|
3
|
+
export { _sfc_main as Calendar, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
2
|
+
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
3
|
+
import { F as plainDateToday, N as plainDateToISO, b as plainDateFromISO, p as plainDateAddDays } from "./plainDate-CaTDErKr.js";
|
|
4
|
+
import { a as calendarAddMonths, f as calendarMonthOf, g as calendarYearMonthOf, l as calendarMonthFromYearMonth, n as resolveCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
5
|
+
import { i as standaloneShortWeekdayNames } from "./format-6G9QuGy1.js";
|
|
6
|
+
import { i as formatCalendarMonthLabel } from "./calendarFormat-_CEZIMZG.js";
|
|
7
|
+
import { t as buildMonthWeeks } from "./useCalendarGrid-0WvxbeFC.js";
|
|
8
|
+
import { computed, readonly, shallowRef, toValue } from "vue";
|
|
9
|
+
//#region src/Calendar/useCalendarDays.ts
|
|
10
|
+
/**
|
|
11
|
+
* 一个月的日子格子:这个月的每一天,加上补齐首尾两周的前后月日子,按周分好,再给一行按语言写的星期名。
|
|
12
|
+
* 和 `Calendar` 用的是同一套排法。只返回数据,渲染、选择、键盘和无障碍语义由调用方负责。
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const { weeks, dayNames } = useCalendarDays({ year: 2026, month: 12 })
|
|
17
|
+
* // 波斯历 1405 年阿班月,日期仍是公历
|
|
18
|
+
* useCalendarDays({ year: 1405, month: 8, calendar: 'persian' })
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function useCalendarDays(options) {
|
|
22
|
+
const locale = useAstryxLocale();
|
|
23
|
+
const weekStart = computed(() => resolveWeekStart(toValue(options).weekStartsOn));
|
|
24
|
+
const weeks = computed(() => {
|
|
25
|
+
const { year, month, hasVariableRowCount = false } = toValue(options);
|
|
26
|
+
const calendar = resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarDays");
|
|
27
|
+
const calendarMonth = calendarMonthFromYearMonth(calendar, {
|
|
28
|
+
year,
|
|
29
|
+
month
|
|
30
|
+
});
|
|
31
|
+
return buildMonthWeeks(calendar, calendarMonth, weekStart.value, hasVariableRowCount).map((week) => week.days.map((day) => ({
|
|
32
|
+
date: {
|
|
33
|
+
year: day.date.year,
|
|
34
|
+
month: day.date.month,
|
|
35
|
+
day: day.date.day
|
|
36
|
+
},
|
|
37
|
+
iso: day.iso,
|
|
38
|
+
isOutside: day.outside,
|
|
39
|
+
dayNumber: day.day
|
|
40
|
+
})));
|
|
41
|
+
});
|
|
42
|
+
const days = computed(() => weeks.value.flat());
|
|
43
|
+
return {
|
|
44
|
+
days,
|
|
45
|
+
weeks,
|
|
46
|
+
dayNames: computed(() => {
|
|
47
|
+
const names = standaloneShortWeekdayNames(locale.value);
|
|
48
|
+
return Array.from({ length: 7 }, (_, index) => names[(index + weekStart.value) % 7]);
|
|
49
|
+
}),
|
|
50
|
+
totalCells: computed(() => days.value.length)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/Calendar/useCalendarNavigation.ts
|
|
55
|
+
/**
|
|
56
|
+
* 日历的月份导航:当前显示哪个月、上一月和下一月、月份标题,以及键盘跨月时下一个要聚焦的日子。
|
|
57
|
+
* 自己拼日历头、翻页按钮或双月选择器时用。
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const nav = useCalendarNavigation({ initialValue: '2026-01-15', calendar: 'persian' })
|
|
62
|
+
* const { weeks } = useCalendarDays(() => ({ ...nav.visibleCalendarMonths.value[0]!, calendar: 'persian' }))
|
|
63
|
+
* nav.navigateMonth(1)
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function useCalendarNavigation(options) {
|
|
67
|
+
const locale = useAstryxLocale();
|
|
68
|
+
const initial = toValue(options);
|
|
69
|
+
const internal = shallowRef(plainDateFromISO(initial.focusDate ?? initial.initialValue ?? plainDateToISO(plainDateToday())));
|
|
70
|
+
const pendingFocus = shallowRef(null);
|
|
71
|
+
const calendar = computed(() => resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarNavigation"));
|
|
72
|
+
const isControlled = () => {
|
|
73
|
+
const { focusDate, onFocusDateChange } = toValue(options);
|
|
74
|
+
return focusDate !== void 0 && onFocusDateChange !== void 0;
|
|
75
|
+
};
|
|
76
|
+
const focusIso = computed(() => isControlled() ? toValue(options).focusDate : plainDateToISO(internal.value));
|
|
77
|
+
const shownMonths = computed(() => {
|
|
78
|
+
const first = calendarMonthOf(calendar.value, plainDateFromISO(focusIso.value));
|
|
79
|
+
return Array.from({ length: toValue(options).numberOfMonths ?? 1 }, (_, index) => calendarAddMonths(calendar.value, first, index));
|
|
80
|
+
});
|
|
81
|
+
const visibleMonths = computed(() => shownMonths.value.map((month) => month.start));
|
|
82
|
+
const baseMonth = computed(() => visibleMonths.value[0]);
|
|
83
|
+
const visibleCalendarMonths = computed(() => shownMonths.value.map((month) => calendarYearMonthOf(calendar.value, month)));
|
|
84
|
+
const monthYearLabel = computed(() => shownMonths.value.map((month) => formatCalendarMonthLabel(calendar.value, month, locale.value)).join(" – "));
|
|
85
|
+
function navigateMonth(delta, focusedDate, offset = 7) {
|
|
86
|
+
const next = calendarAddMonths(calendar.value, shownMonths.value[0], delta).start;
|
|
87
|
+
if (focusedDate) pendingFocus.value = plainDateToISO(plainDateAddDays(plainDateFromISO(focusedDate), delta * offset));
|
|
88
|
+
toValue(options).onFocusDateChange?.(plainDateToISO(next));
|
|
89
|
+
if (!isControlled()) internal.value = next;
|
|
90
|
+
}
|
|
91
|
+
function clearPendingFocus() {
|
|
92
|
+
pendingFocus.value = null;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
baseMonth,
|
|
96
|
+
visibleMonths,
|
|
97
|
+
visibleCalendarMonths,
|
|
98
|
+
monthYearLabel,
|
|
99
|
+
navigateMonth,
|
|
100
|
+
pendingFocus: readonly(pendingFocus),
|
|
101
|
+
clearPendingFocus
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
export { useCalendarDays as n, useCalendarNavigation as t };
|