@astryx-vue/core 0.21.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-0UUojm_Q.js → AlertDialog-DXOTr1D7.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-6rvfUu8p.js → AppShell-Cmu6bMY6.js} +76 -21
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CXpGcula.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-fmkd6nXw.js → Banner-CTY9qV89.js} +2 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DrKtyVVo.js → BottomSheet-DyJJtZZU.js} +5 -5
- package/dist/{BottomSheet-DqAuZBgA.js → BottomSheet-ZOjuZya0.js} +3 -3
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-uaApwhFB.js → Breadcrumbs-mlCoLtma.js} +5 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-CQAjaQa0.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-C3O9Uavl.js → Carousel-DsXup1mZ.js} +2 -2
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CmjK6fBy.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-D6ow4VuS.js → CheckboxInput-BNwTTDHu.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CPaRsgRQ.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.js +2 -2
- package/dist/{Code-rmiC0XfO.js → Code-5rZyPwty.js} +1 -1
- package/dist/{CodeBlock-DMG9rLQN.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.js +1 -1
- package/dist/{CommandPalette-CmOytlWq.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-mfEoIHtI.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-DDvOR25x.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-pDh6H44y.js → DateInput-D9Jv70H7.js} +1210 -108
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CQDfoXX5.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-CZjere9H.js → DateTimeInput-BDyKPKGD.js} +26 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-XIB0KZ-m.js → Dialog-DUlWQH8R.js} +1 -1
- package/dist/{Dialog-BRlZ7n83.js → Dialog-JCB5s-T-.js} +4 -4
- package/dist/{DialogHeader-DF6jFDq3.js → DialogHeader-C6hZZxdv.js} +3 -3
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BYUELPLs.js → Drawer-BDuiw1-g.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BBXFl5Mu.js → DropdownMenu-BVEOMFwc.js} +9 -9
- package/dist/{DropdownMenu-DY3yFENC.js → DropdownMenu-PjqSkkQs.js} +6 -6
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-cs-L9Ovg.js → EmptyState-CnFkYtcS.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-BQ3q-K5D.js → Field-D4UmRHlD.js} +2 -2
- package/dist/{FieldIcon-DMtfe1Ne.js → FieldIcon-BU1ZWAuo.js} +1 -1
- package/dist/{FieldInfoTip-MgGzYEq0.js → FieldInfoTip-BSqcEcUx.js} +2 -2
- package/dist/{FieldLabel-yH6KAVyU.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-R8CqJrA5.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-DkCkHEG-.js → Heading-COtyAhtB.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-D0KqUCXI.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-DR9_545-.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-BfgtAgck.js → InfoTip-CNZateDb.js} +2 -2
- package/dist/{InputClearButton-DaFtlyKR.js → InputClearButton-CzCP41sx.js} +2 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-1CLPKULR.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-lxUfJk2v.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-DyaSfJix.js → Lightbox-Dzzd2Vqe.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-JVAfvoxT.js → Link-B7OJQ0zl.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DtnPfhP0.js → Markdown-Cbj-nqhN.js} +4 -4
- package/dist/{MediaTheme-DfcdEWx-.js → MediaTheme-UM8oOqwX.js} +1 -1
- package/dist/MobileNav/index.js +2 -1
- package/dist/{MobileNavToggle-CPNsCIFR.js → MobileNavToggle-BlcdCg8M.js} +6 -8
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DQjrchg5.js → MoreMenu-DAhOiau3.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-sJ-LUrze.js → MultiSelector-ERv5u6r4.js} +11 -10
- package/dist/{NavDisclosure-CE79mxpa.js → NavDisclosure-CqAThYgR.js} +13 -4
- package/dist/{NavHeadingSurface-EsNdvhx7.js → NavHeadingSurface-DJ4pWvEi.js} +16 -15
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-_Mo1yWZC.js → NavMenu-BtA_Xbmr.js} +8 -6
- package/dist/{NavMenuItem-CDHKFOKi.js → NavMenuItem-BxfjAf1T.js} +7 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bpc2c39W.js → NumberInput-Bl5TFhGD.js} +5 -5
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Dx_Iw8xd.js → OverflowList-CumJl6X_.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-D7sbjDKw.js → Pagination-DuTUReOl.js} +271 -135
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Bhi0b1x0.js → Popover-DpR4rwiW.js} +6 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-B13bgXSs.js → PowerSearch-CewQJzEt.js} +34 -33
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-BtEaKOhz.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-CFqN0t92.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-DVNkGcpc.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/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-sGqS3qNy.js → Selector-D6yzPO5O.js} +9 -9
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Dw9MydVe.js → SideNav-z_6FwEJy.js} +13 -58
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BkVTjzrx.js → Slider-DMHlRq7q.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-D4S8b-FU.js → StatusDot-B3oOyRF7.js} +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-DU-MRs1W.js → Switch-OPRkoPLi.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-CmB55DUS.js → TabList-FkoypUk0.js} +62 -23
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BUh0OjeU.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-BBQUFWb_.js → Text-v1ep26uD.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BVppzw5n.js → TextArea-BilHnmSs.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CmxKsaUt.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-_KR0IRj-.js → Thumbnail-llGdnQM8.js} +3 -3
- package/dist/{TimeField-Dbr2MOqX.js → TimeField-C5rcoaVu.js} +7 -7
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-hzZ3tuAw.js → TimeInput-D0N8nwrI.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-UnFtEgGb.js → Timer-65PfuoQ7.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -2
- package/dist/{Timestamp-DiPZTa4W.js → Timestamp-rYC8mE3r.js} +20 -12
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-kV5KuJdD.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-DZ3n-izd.js → ToggleButton-DTrNL430.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-e8BisAF8.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.js +2 -2
- package/dist/{Tooltip-CPyoc4cM.js → Tooltip-CByjfHBZ.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-OOGD2uOp.js → TopNav-C1wpttKX.js} +168 -61
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DJQvL5tG.js → TreeList-DOAcS3PM.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead--CFFYPMl.js → Typeahead-6y_r-VNU.js} +6 -6
- package/dist/adaptationTypes-Beao49TN.js +19 -0
- package/dist/{assertOptions-DLEhkmM-.js → assertOptions-og3t30Fh.js} +2 -1
- package/dist/calendar-C7py_wtb.js +351 -0
- package/dist/calendarFormat-_CEZIMZG.js +123 -0
- package/dist/closeOnActivate-D1KgKWwm.js +13 -0
- package/dist/{componentIcons-CFr2L6o3.js → componentIcons-BBJqmilP.js} +1 -1
- package/dist/composables/index.js +11 -11
- package/dist/{composables-DSx0MWv0.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/context-D8MAZio1.js +7 -0
- package/dist/{date-input-rUD8YAow.js → date-input-CRdc2H3c.js} +6 -2
- package/dist/focusLeaving-Dqm8Yj4T.js +53 -0
- package/dist/{focusReturn-CiSQAp52.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-PffxihMx.d.ts → index-B3U6GJKl.d.ts} +2 -2
- package/dist/{index-DSoQE84m.d.ts → index-B5MCvW75.d.ts} +229 -57
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-C3FgFPrM.d.ts → index-BDJQW9cW.d.ts} +10 -10
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-BTljzczH.d.ts → index-C-kIxNCq.d.ts} +8 -11
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
- package/dist/{index-FeZXsFO-.d.ts → index-CBOv5j3c.d.ts} +3 -3
- package/dist/{index-DFLPv9io.d.ts → index-CP-fJFcJ.d.ts} +1 -1
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-BdZCLUgY.d.ts → index-CnVjgLP5.d.ts} +9 -1
- package/dist/{index-DB1EP38S.d.ts → index-CpLLSVCn.d.ts} +8 -6
- 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-B8K2sDmO.d.ts → index-DXHmlFcC.d.ts} +2 -2
- package/dist/{index-fd--aE4B.d.ts → index-DbNGGCM0.d.ts} +4 -3
- package/dist/{index-BOzyKBg8.d.ts → index-Dc6mU3rv.d.ts} +3 -3
- package/dist/{index-BL4mH8aK.d.ts → index-NOxH5oYj.d.ts} +4 -3
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-CNzSg1OM.d.ts → index-SRA6e30Q.d.ts} +5 -5
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-Dge6tyPE.d.ts → index-ZKBj_1nu.d.ts} +1 -1
- package/dist/{index-BZNoML0r.d.ts → index-ZT45ZWd5.d.ts} +7 -7
- package/dist/{index-CQ-sq76o.d.ts → index-_FjbcSgD.d.ts} +8 -2
- package/dist/{index-fz8XqpNd.d.ts → index-beOIC0Qk.d.ts} +13 -0
- package/dist/{index-DFTrqCmp.d.ts → index-nk2xIHpr.d.ts} +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/index.js +117 -116
- package/dist/inputPresentation-DES0JwkL.js +203 -0
- package/dist/interactionModality-CedLz5PC.js +130 -0
- package/dist/{interactionModality-JFDvbtbb.js → layerDepth-D3Rh8T5C.js} +1 -125
- package/dist/{layerFocusReturn-DJ5mlqYj.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-BTISispN.js → stillPointerGate-1Tgkns0J.js} +1 -1
- package/dist/{themeIcons-CqGF0fwW.js → themeIcons-1O7ymucc.js} +1 -7
- package/dist/{tooltipFocusRules-DPsyi9L5.js → tooltipFocusRules-vIH7PZh1.js} +3 -2
- package/dist/{tooltipTriggerRules-Dazz57_v.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-DTDT9dRx.js → useCombobox-BqkTY3bw.js} +1 -1
- package/dist/{useDismiss-N66C48zd.js → useDismiss-CMIsdIOQ.js} +1 -1
- package/dist/{useFocusTrap-DzspshsM.js → useFocusTrap-DTz_d7IP.js} +3 -2
- package/dist/{useIndicator--9mGGlT2.js → useIndicator-PFDBNOvX.js} +2 -2
- package/dist/{useInputStatusIcon-D1WRYTOZ.js → useInputStatusIcon-CrgeMzrf.js} +2 -2
- package/dist/{useMenuDrillIn-RZwY55RM.js → useMenuDrillIn-f3m-59Qb.js} +1 -1
- package/dist/{useMenuPress-Cm7LVmHJ.js → useMenuPress-wqRDvUMW.js} +2 -2
- package/dist/{useResizable-C9FtmPir.js → useResizable-hv4NYIUi.js} +6 -3
- package/dist/{useRestoreFocus-CEbfcwWb.js → useRestoreFocus-BxooFhas.js} +2 -2
- package/dist/{useTooltip-BfOruqIL.js → useTooltip-BwqzEtoF.js} +5 -5
- package/dist/{useTouchTriggerInternal-TQnpDkL0.js → useTouchTriggerInternal-Bdm_M4aa.js} +2 -1
- package/dist/{useTruncationTooltip-CbzoB-1m.js → useTruncationTooltip-CRhoPzeu.js} +4 -4
- package/dist/{useTypeahead-BGmDZyPB.js → useTypeahead-BGpvWkzm.js} +1 -1
- package/dist/{useTypeaheadMenuConfig-BZaduAP4.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 +118 -1
- package/styles/aspect-ratio.css +4 -3
- package/styles/breadcrumbs.css +1 -0
- package/styles/collapsible.css +1 -0
- package/styles/layout.css +22 -5
- package/styles/nav-item.css +9 -3
- package/styles/nav-menu.css +3 -0
- package/styles/pagination.css +2 -2
- package/styles/resize-handle.css +64 -35
- package/styles/scrollable-area.css +13 -0
- package/styles/tab-list.css +7 -3
- package/styles/tab-menu.css +1 -0
- package/styles/toolbar.css +39 -3
- package/styles/top-nav.css +141 -11
- package/dist/inputPresentation-BOyHkCDr.js +0 -62
- package/dist/resizableChannel-3vivrEcT.js +0 -20
- package/dist/{index-5FGt4HsB.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { t as _sfc_main$5 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$6 } from "./Button-TiYG0btL.js";
|
|
4
4
|
import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
5
|
-
import { t as useDismiss } from "./useDismiss-
|
|
5
|
+
import { t as useDismiss } from "./useDismiss-CMIsdIOQ.js";
|
|
6
6
|
import { r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
7
7
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
8
8
|
import { t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
11
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
12
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
12
|
+
import { t as _sfc_main$7 } from "./Tooltip-CByjfHBZ.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
|
-
import {
|
|
14
|
+
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
15
|
+
import { r as formatCalendarInstant } from "./calendarFormat-_CEZIMZG.js";
|
|
16
|
+
import { t as _sfc_main$8 } from "./Field-D4UmRHlD.js";
|
|
15
17
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
16
|
-
import { t as _sfc_main$9 } from "./DateInput-
|
|
17
|
-
import { l as powerSearchMessages } from "./loadCatalog-
|
|
18
|
-
import { t as _sfc_main$10 } from "./DateRangeInput-
|
|
19
|
-
import { t as _sfc_main$11 } from "./DateTimeInput-
|
|
18
|
+
import { t as _sfc_main$9 } from "./DateInput-D9Jv70H7.js";
|
|
19
|
+
import { l as powerSearchMessages } from "./loadCatalog-BeQt6Uq-.js";
|
|
20
|
+
import { t as _sfc_main$10 } from "./DateRangeInput-BsB2kg_q.js";
|
|
21
|
+
import { t as _sfc_main$11 } from "./DateTimeInput-BDyKPKGD.js";
|
|
20
22
|
import { n as tokenNamingKey, t as _sfc_main$12 } from "./Token-CPNzkSj3.js";
|
|
21
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
22
|
-
import { t as _sfc_main$13 } from "./MultiSelector-
|
|
23
|
-
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-
|
|
24
|
-
import { t as _sfc_main$15 } from "./Selector-
|
|
25
|
-
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-
|
|
26
|
-
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-
|
|
27
|
-
import { t as _sfc_main$17 } from "./TextInput-
|
|
28
|
-
import { t as _sfc_main$18 } from "./TimeInput-
|
|
29
|
-
import { t as _sfc_main$19 } from "./Typeahead
|
|
23
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-1Tgkns0J.js";
|
|
24
|
+
import { t as _sfc_main$13 } from "./MultiSelector-ERv5u6r4.js";
|
|
25
|
+
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-Bl5TFhGD.js";
|
|
26
|
+
import { t as _sfc_main$15 } from "./Selector-D6yzPO5O.js";
|
|
27
|
+
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-GvdIymRg.js";
|
|
28
|
+
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-DdddkJb1.js";
|
|
29
|
+
import { t as _sfc_main$17 } from "./TextInput-D6tHM2sA.js";
|
|
30
|
+
import { t as _sfc_main$18 } from "./TimeInput-D0N8nwrI.js";
|
|
31
|
+
import { t as _sfc_main$19 } from "./Typeahead-6y_r-VNU.js";
|
|
30
32
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
31
33
|
import "../styles/layer.css";
|
|
32
34
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -135,25 +137,23 @@ function formatNumber(value, locale, units) {
|
|
|
135
137
|
const formatted = new Intl.NumberFormat(locale).format(value);
|
|
136
138
|
return units ? `${formatted} ${units}` : formatted;
|
|
137
139
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
/** 带时刻的日期,例如 "Oct 30, 2026, 3:00 PM"。日期按 `calendar` 写,默认公历。 */
|
|
141
|
+
function formatDateAbsolute(unixSeconds, locale, timeZone, calendar = "gregory") {
|
|
142
|
+
return formatCalendarInstant(calendar, /* @__PURE__ */ new Date(unixSeconds * 1e3), {
|
|
140
143
|
year: "numeric",
|
|
141
144
|
month: "short",
|
|
142
145
|
day: "numeric",
|
|
143
146
|
hour: "numeric",
|
|
144
|
-
minute: "2-digit"
|
|
145
|
-
|
|
146
|
-
calendar: "gregory"
|
|
147
|
-
}).format(unixSeconds * 1e3);
|
|
147
|
+
minute: "2-digit"
|
|
148
|
+
}, locale, timeZone || void 0);
|
|
148
149
|
}
|
|
149
|
-
|
|
150
|
-
|
|
150
|
+
/** 只有日期,例如 "Oct 30, 2026"。日期按 `calendar` 写,默认公历。 */
|
|
151
|
+
function formatDateAbsoluteCompact(unixSeconds, locale, timeZone, calendar = "gregory") {
|
|
152
|
+
return formatCalendarInstant(calendar, /* @__PURE__ */ new Date(unixSeconds * 1e3), {
|
|
151
153
|
year: "numeric",
|
|
152
154
|
month: "short",
|
|
153
|
-
day: "numeric"
|
|
154
|
-
|
|
155
|
-
calendar: "gregory"
|
|
156
|
-
}).format(unixSeconds * 1e3);
|
|
155
|
+
day: "numeric"
|
|
156
|
+
}, locale, timeZone || void 0);
|
|
157
157
|
}
|
|
158
158
|
function joinOrCount(labels, maxLength, countLabel) {
|
|
159
159
|
if (labels.length === 0) return "";
|
|
@@ -162,7 +162,7 @@ function joinOrCount(labels, maxLength, countLabel) {
|
|
|
162
162
|
if (characterCount(joined) <= maxLength) return joined;
|
|
163
163
|
return countLabel(labels.length);
|
|
164
164
|
}
|
|
165
|
-
function formatFilterValue(operatorValue, filterValue, maxLength, messages, locale, timeZone) {
|
|
165
|
+
function formatFilterValue(operatorValue, filterValue, maxLength, messages, locale, timeZone, calendar = "gregory") {
|
|
166
166
|
switch (filterValue.type) {
|
|
167
167
|
case "empty": return "";
|
|
168
168
|
case "string": return truncate(filterValue.value, maxLength);
|
|
@@ -173,7 +173,7 @@ function formatFilterValue(operatorValue, filterValue, maxLength, messages, loca
|
|
|
173
173
|
case "enum_list": return joinOrCount(operatorValue.type === "enum_list" ? filterValue.value.map((value) => enumLabel(value, operatorValue.values)) : filterValue.value, maxLength, messages.itemsCount);
|
|
174
174
|
case "entity_list": return joinOrCount(filterValue.value.map((entity) => entity.label), maxLength, messages.entitiesCount);
|
|
175
175
|
case "time": return filterValue.value;
|
|
176
|
-
case "date_absolute": return truncate(operatorValue.type === "date_absolute" && operatorValue.isDateOnly ? formatDateAbsoluteCompact(filterValue.unixSeconds, locale, timeZone) : formatDateAbsolute(filterValue.unixSeconds, locale, timeZone), maxLength);
|
|
176
|
+
case "date_absolute": return truncate(operatorValue.type === "date_absolute" && operatorValue.isDateOnly ? formatDateAbsoluteCompact(filterValue.unixSeconds, locale, timeZone, calendar) : formatDateAbsolute(filterValue.unixSeconds, locale, timeZone, calendar), maxLength);
|
|
177
177
|
case "date_relative": return filterValue.value;
|
|
178
178
|
case "date_range": return messages.dateRange;
|
|
179
179
|
case "custom": return truncate(operatorValue.type === "custom" ? operatorValue.getString(filterValue.value) : filterValue.value, maxLength);
|
|
@@ -330,11 +330,12 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
330
330
|
setup(__props, { emit: __emit }) {
|
|
331
331
|
const props = __props;
|
|
332
332
|
const emit = __emit;
|
|
333
|
+
const calendar = useCalendarSystem(void 0, "PowerSearch");
|
|
333
334
|
const operatorLabel = computed(() => resolveOperatorLabel(props.operator, props.messages));
|
|
334
335
|
const tokenLabel = computed(() => `${props.fieldLabel}: ${operatorLabel.value}`);
|
|
335
336
|
const valueText = computed(() => {
|
|
336
337
|
const room = Math.max(props.maxLength - characterCount(props.fieldLabel) - characterCount(operatorLabel.value), 10);
|
|
337
|
-
return formatFilterValue(props.operator.value, props.filter.value, room, props.messages, props.locale, props.timeZone);
|
|
338
|
+
return formatFilterValue(props.operator.value, props.filter.value, room, props.messages, props.locale, props.timeZone, calendar.value);
|
|
338
339
|
});
|
|
339
340
|
/** 标签的全部可见文字:字段、运算符和值。按钮、删除按钮和编辑器都按它命名,同一字段的两个条件读出来不再一样。 */
|
|
340
341
|
const visibleText = computed(() => valueText.value ? `${tokenLabel.value} ${valueText.value}` : tokenLabel.value);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ProgressBar-
|
|
1
|
+
import { t as _sfc_main } from "../ProgressBar-Dp-0xquN.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-CByjfHBZ.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
|
|
3
3
|
import "../styles/visually-hidden.css";
|
|
4
4
|
import "../styles/progress-bar.css";
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as RadioGroupEmits, Gr as RadioOrientation, Hr as RadioGroupSlots, Jr as RadioSlots, Kr as RadioProps, Lr as _default$1, Rr as _default, Vr as RadioGroupProps, Wr as RadioOption, Xr as RadioStatusType, Yr as RadioStatus, Zr as RadioValue, qr as RadioSize, zr as RadioChangeEvent } from "../index-
|
|
1
|
+
import { Br as RadioGroupEmits, Gr as RadioOrientation, Hr as RadioGroupSlots, Jr as RadioSlots, Kr as RadioProps, Lr as _default$1, Rr as _default, Vr as RadioGroupProps, Wr as RadioOption, Xr as RadioStatusType, Yr as RadioStatus, Zr as RadioValue, qr as RadioSize, zr as RadioChangeEvent } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-DrCL5-AN.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|
|
@@ -2,9 +2,9 @@ import { n as useTouchHitArea } from "./useTouchHitArea-BMDBe36j.js";
|
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
6
|
-
import { t as useIndicator } from "./useIndicator
|
|
7
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
5
|
+
import { t as _sfc_main$3 } from "./Tooltip-CByjfHBZ.js";
|
|
6
|
+
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./Field-D4UmRHlD.js";
|
|
8
8
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
9
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
|
|
10
10
|
import "../styles/radio.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-
|
|
1
|
+
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
package/dist/RadioList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-CRi4E1zq.js";
|
|
2
2
|
export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-
|
|
1
|
+
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-DrCL5-AN.js";
|
|
2
2
|
import { createBlock, createSlots, defineComponent, mergeModels, openBlock, renderSlot, useModel, withCtx } from "vue";
|
|
3
3
|
//#region src/Radio/RadioList.vue
|
|
4
4
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-NOxH5oYj.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
package/dist/Resizable/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ResizeHandle-
|
|
1
|
+
import { t as _sfc_main } from "../ResizeHandle-BMSbAFdP.js";
|
|
2
2
|
export { _sfc_main as ResizeHandle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { n as getEffectiveMaxPx, t as getCollapseControls } from "./resizableChannel-
|
|
3
|
+
import { i as resizablePropsOf, n as getEffectiveMaxPx, t as getCollapseControls } from "./resizableChannel-LElsNkSY.js";
|
|
4
4
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, useAttrs, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/resize-handle.css";
|
|
@@ -37,8 +37,9 @@ function adjacentSnap(resizable, direction, count) {
|
|
|
37
37
|
* 使用者自己的 keydown 要在调用本函数之前先跑。
|
|
38
38
|
*/
|
|
39
39
|
function handleResizeKey(event, resizable, sign, rtl, isHorizontal) {
|
|
40
|
-
const step = event.shiftKey ? KEYBOARD_LARGE_STEP : KEYBOARD_STEP;
|
|
41
40
|
const key = event.key;
|
|
41
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey && !key.startsWith("Arrow")) return;
|
|
42
|
+
const step = event.shiftKey ? KEYBOARD_LARGE_STEP : KEYBOARD_STEP;
|
|
42
43
|
if (key === "ArrowRight" || key === "ArrowDown" || key === "ArrowLeft" || key === "ArrowUp") {
|
|
43
44
|
event.preventDefault();
|
|
44
45
|
if (resizable._isCollapsed) {
|
|
@@ -83,10 +84,10 @@ const _hoisted_1 = [
|
|
|
83
84
|
"data-divider",
|
|
84
85
|
"data-disabled",
|
|
85
86
|
"data-active",
|
|
86
|
-
"data-resizing"
|
|
87
|
+
"data-resizing",
|
|
88
|
+
"data-pane"
|
|
87
89
|
];
|
|
88
|
-
const _hoisted_2 = ["data-
|
|
89
|
-
const _hoisted_3 = ["data-hidden"];
|
|
90
|
+
const _hoisted_2 = ["data-hidden", "data-side"];
|
|
90
91
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
91
92
|
name: "AstryxResizeHandle",
|
|
92
93
|
inheritAttrs: false,
|
|
@@ -124,21 +125,27 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
124
125
|
const focused = ref(false);
|
|
125
126
|
let drag = null;
|
|
126
127
|
__expose({ element: root });
|
|
128
|
+
const resizableProps = computed(() => props.resizable == null ? void 0 : resizablePropsOf(props.resizable));
|
|
127
129
|
const label = computed(() => props.label || messages.value.layout.resizeHandle);
|
|
128
130
|
const sign = computed(() => props.isReversed ? -1 : 1);
|
|
129
|
-
const collapsed = computed(() =>
|
|
131
|
+
const collapsed = computed(() => resizableProps.value?._isCollapsed ?? false);
|
|
130
132
|
const active = computed(() => hovered.value || focused.value || dragging.value);
|
|
131
133
|
const pillSide = computed(() => resolveSide(props.pillPlacement, props.isReversed, collapsed.value));
|
|
132
134
|
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style" && key !== "onKeydown" && key !== "onKeyDown")));
|
|
133
135
|
const rootClass = computed(() => ["astryx-resize-handle", attrs.class]);
|
|
134
|
-
|
|
136
|
+
/** 面板有长度且没收起:抓取区最多占面板的一半,短面板自己的拖动不被抢走。收起或长度为 0 时保留整块。 */
|
|
137
|
+
const hasOpenPane = computed(() => {
|
|
138
|
+
const resizable = resizableProps.value;
|
|
139
|
+
return resizable != null && !resizable._isCollapsed && resizable._size > 0;
|
|
140
|
+
});
|
|
141
|
+
const rootStyle = computed(() => [hasOpenPane.value ? { "--_resize-pane-length": `${resizableProps.value?._size}px` } : void 0, attrs.style]);
|
|
135
142
|
const ariaNow = computed(() => {
|
|
136
|
-
const resizable =
|
|
143
|
+
const resizable = resizableProps.value;
|
|
137
144
|
if (resizable == null) return void 0;
|
|
138
145
|
return collapsed.value ? Math.max(resizable._size, resizable._minSizePx) : resizable._size;
|
|
139
146
|
});
|
|
140
147
|
const ariaMax = computed(() => {
|
|
141
|
-
const resizable =
|
|
148
|
+
const resizable = resizableProps.value;
|
|
142
149
|
if (resizable == null) return void 0;
|
|
143
150
|
const reported = getEffectiveMaxPx(resizable);
|
|
144
151
|
if (reported != null && Number.isFinite(reported)) return reported;
|
|
@@ -146,12 +153,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
146
153
|
return max != null && Number.isFinite(max) ? max : void 0;
|
|
147
154
|
});
|
|
148
155
|
let warnedAxis = false;
|
|
149
|
-
watch(() => [props.direction,
|
|
156
|
+
watch(() => [props.direction, resizableProps.value?._direction], ([direction, hookDirection]) => {
|
|
150
157
|
if (warnedAxis || hookDirection == null || hookDirection === direction) return;
|
|
151
158
|
warnedAxis = true;
|
|
152
159
|
devWarn("ResizeHandle", `direction="${direction}" but its useResizable region is "${hookDirection}". They must match: the hook measures one axis and the handle drags the other.`);
|
|
153
160
|
}, { immediate: true });
|
|
154
|
-
const ariaText = computed(() => collapsed.value &&
|
|
161
|
+
const ariaText = computed(() => collapsed.value && resizableProps.value ? messages.value.layout.collapsed : void 0);
|
|
155
162
|
const pillStyle = computed(() => offsetStyle(props.direction, pillSide.value));
|
|
156
163
|
function resolveSide(placement, reversed, isCollapsed) {
|
|
157
164
|
if (placement !== "auto") return placement;
|
|
@@ -205,10 +212,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
205
212
|
cancelAnimationFrame(frame);
|
|
206
213
|
frame = 0;
|
|
207
214
|
}
|
|
208
|
-
|
|
215
|
+
resizableProps.value?._onResizeMove(pendingDelta);
|
|
209
216
|
}
|
|
210
217
|
function pointerDown(event) {
|
|
211
|
-
if (props.isDisabled ||
|
|
218
|
+
if (props.isDisabled || resizableProps.value == null || drag) return;
|
|
212
219
|
event.preventDefault();
|
|
213
220
|
event.stopPropagation();
|
|
214
221
|
const target = event.currentTarget;
|
|
@@ -222,22 +229,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
222
229
|
pendingDelta = 0;
|
|
223
230
|
document.body.style.cursor = props.direction === "horizontal" ? "col-resize" : "row-resize";
|
|
224
231
|
document.body.style.userSelect = "none";
|
|
225
|
-
|
|
232
|
+
resizableProps.value._onResizeStart();
|
|
226
233
|
}
|
|
227
234
|
function pointerMove(event) {
|
|
228
|
-
if (drag == null || drag.pointerId !== event.pointerId ||
|
|
235
|
+
if (drag == null || drag.pointerId !== event.pointerId || resizableProps.value == null) return;
|
|
229
236
|
pendingDelta = ((props.direction === "horizontal" ? event.clientX : event.clientY) - drag.start) * drag.rtl * sign.value;
|
|
230
237
|
if (frame) return;
|
|
231
238
|
frame = requestAnimationFrame(() => {
|
|
232
239
|
frame = 0;
|
|
233
|
-
|
|
240
|
+
resizableProps.value?._onResizeMove(pendingDelta);
|
|
234
241
|
});
|
|
235
242
|
}
|
|
236
243
|
function pointerUp(event) {
|
|
237
244
|
if (drag?.pointerId !== event.pointerId) return;
|
|
238
245
|
flushMove();
|
|
239
246
|
clearDrag();
|
|
240
|
-
|
|
247
|
+
resizableProps.value?._onResizeEnd();
|
|
241
248
|
}
|
|
242
249
|
function pointerCancel(event) {
|
|
243
250
|
if (drag?.pointerId !== event.pointerId) return;
|
|
@@ -246,17 +253,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
246
253
|
frame = 0;
|
|
247
254
|
}
|
|
248
255
|
clearDrag();
|
|
249
|
-
|
|
256
|
+
resizableProps.value?._onResizeCancel?.();
|
|
250
257
|
}
|
|
251
258
|
function onRootKeyDown(event) {
|
|
252
259
|
callKeydown(attrs.onKeydown, event);
|
|
253
260
|
if (attrs.onKeyDown !== attrs.onKeydown) callKeydown(attrs.onKeyDown, event);
|
|
254
|
-
const resizable =
|
|
261
|
+
const resizable = resizableProps.value;
|
|
255
262
|
if (props.isDisabled || resizable == null) return;
|
|
256
263
|
handleResizeKey(event, resizable, sign.value, rtlMultiplier(), props.direction === "horizontal");
|
|
257
264
|
}
|
|
258
265
|
function doubleClick() {
|
|
259
|
-
const resizable =
|
|
266
|
+
const resizable = resizableProps.value;
|
|
260
267
|
if (props.isDisabled || resizable == null || !resizable._collapsible) return;
|
|
261
268
|
toggleCollapse(resizable);
|
|
262
269
|
}
|
|
@@ -277,7 +284,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
277
284
|
role: "separator",
|
|
278
285
|
"aria-orientation": __props.direction === "horizontal" ? "vertical" : "horizontal",
|
|
279
286
|
"aria-valuenow": ariaNow.value,
|
|
280
|
-
"aria-valuemin":
|
|
287
|
+
"aria-valuemin": resizableProps.value?._minSizePx,
|
|
281
288
|
"aria-valuemax": ariaMax.value,
|
|
282
289
|
"aria-valuetext": ariaText.value,
|
|
283
290
|
"aria-label": label.value,
|
|
@@ -289,13 +296,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
289
296
|
"data-disabled": __props.isDisabled || void 0,
|
|
290
297
|
"data-active": active.value || void 0,
|
|
291
298
|
"data-resizing": dragging.value || void 0,
|
|
299
|
+
"data-pane": hasOpenPane.value || void 0,
|
|
292
300
|
onKeydown: onRootKeyDown,
|
|
293
301
|
onDblclick: doubleClick,
|
|
294
|
-
onFocus: _cache[
|
|
295
|
-
onBlur: _cache[
|
|
302
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => focused.value = true),
|
|
303
|
+
onBlur: _cache[5] || (_cache[5] = ($event) => focused.value = false)
|
|
296
304
|
}), [createElementVNode("div", {
|
|
297
305
|
class: "astryx-resize-handle__hit",
|
|
298
|
-
"data-bias":
|
|
306
|
+
"data-bias": "center",
|
|
299
307
|
onPointerdown: pointerDown,
|
|
300
308
|
onPointermove: pointerMove,
|
|
301
309
|
onPointerup: pointerUp,
|
|
@@ -303,11 +311,19 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
303
311
|
onLostpointercapture: pointerCancel,
|
|
304
312
|
onPointerenter: _cache[0] || (_cache[0] = ($event) => hovered.value = true),
|
|
305
313
|
onPointerleave: _cache[1] || (_cache[1] = ($event) => hovered.value = dragging.value)
|
|
306
|
-
}, null,
|
|
314
|
+
}, null, 32), renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("div", {
|
|
307
315
|
class: "astryx-resize-handle-pill",
|
|
308
316
|
"data-hidden": __props.isAlwaysVisible ? void 0 : true,
|
|
309
|
-
|
|
310
|
-
|
|
317
|
+
"data-side": pillSide.value,
|
|
318
|
+
style: normalizeStyle(pillStyle.value),
|
|
319
|
+
onPointerdown: pointerDown,
|
|
320
|
+
onPointermove: pointerMove,
|
|
321
|
+
onPointerup: pointerUp,
|
|
322
|
+
onPointercancel: pointerCancel,
|
|
323
|
+
onLostpointercapture: pointerCancel,
|
|
324
|
+
onPointerenter: _cache[2] || (_cache[2] = ($event) => hovered.value = true),
|
|
325
|
+
onPointerleave: _cache[3] || (_cache[3] = ($event) => hovered.value = dragging.value)
|
|
326
|
+
}, null, 44, _hoisted_2)])], 16, _hoisted_1)], 2112);
|
|
311
327
|
};
|
|
312
328
|
}
|
|
313
329
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-
|
|
1
|
+
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-
|
|
1
|
+
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-
|
|
1
|
+
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-Dp-LsEcf.js";
|
|
2
2
|
export { _sfc_main as SelectableCard, SelectableCard_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as useClickableContainer } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Card-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Card-D_OJxmwD.js";
|
|
5
5
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, openBlock, renderSlot, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
6
6
|
import "../styles/clickable-card.css";
|
|
7
7
|
//#region src/SelectableCard/SelectableCard.vue
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-SRA6e30Q.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-D6yzPO5O.js";
|
|
2
2
|
export { _sfc_main as Selector };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
2
|
-
import { t as _sfc_main$3 } from "./Icon-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-DyJJtZZU.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
6
|
-
import {
|
|
5
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-CMIsdIOQ.js";
|
|
6
|
+
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
8
8
|
import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
9
9
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
10
10
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
11
|
-
import { t as useCombobox } from "./useCombobox-
|
|
11
|
+
import { t as useCombobox } from "./useCombobox-BqkTY3bw.js";
|
|
12
12
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
13
13
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
14
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
15
15
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
16
16
|
import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
17
17
|
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
18
|
-
import { t as useIndicator } from "./useIndicator
|
|
19
|
-
import { t as _sfc_main$7 } from "./Field-
|
|
18
|
+
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
19
|
+
import { t as _sfc_main$7 } from "./Field-D4UmRHlD.js";
|
|
20
20
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
21
21
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
22
22
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
23
|
-
import { n as fieldStatusPlacement, r as _sfc_main$8, t as normalizeTriggerVariant } from "./triggerVariant-
|
|
23
|
+
import { n as fieldStatusPlacement, r as _sfc_main$8, t as normalizeTriggerVariant } from "./triggerVariant-DG0VhG-X.js";
|
|
24
24
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
25
|
-
import { a as focusSelectorTrigger, i as dismissSelectorEscape, n as useKeyboardHighlight, o as onSelectorListboxEscape, r as bindListboxEscape, t as assertOptionsArray } from "./assertOptions-
|
|
25
|
+
import { a as focusSelectorTrigger, i as dismissSelectorEscape, n as useKeyboardHighlight, o as onSelectorListboxEscape, r as bindListboxEscape, t as assertOptionsArray } from "./assertOptions-og3t30Fh.js";
|
|
26
26
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
27
27
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
28
28
|
import "../styles/layer.css";
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as useSideNavCollapse } from "../context-DQPBIsl5.js";
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-z_6FwEJy.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { t as _sfc_main$5 } from "./Icon-
|
|
2
|
+
import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as SizeProvider } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
5
|
+
import { t as _sfc_main$6 } from "./Button-TiYG0btL.js";
|
|
6
6
|
import { n as createAnimatedLayout, t as areaOf } from "./handle-CSHfxBie.js";
|
|
7
7
|
import { d as layoutMotion, g as layoutStartFor, h as beginChange, k as shownBoxAt, r as changeStartIn } from "./batch-oTkSbtVz.js";
|
|
8
8
|
import { a as isRtl, s as pxClip } from "./edge-3sC8-cbB.js";
|
|
9
9
|
import { a as useSideNavCollapse, c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, n as sideNavDepthKey, o as useSideNavDepth, s as useSideNavRenderMode, t as sideNavCollapseKey, u as playLayoutSwap } from "./context-DQPBIsl5.js";
|
|
10
10
|
import { r as focusablesIn } from "./focusRegion-CmDg7_4b.js";
|
|
11
|
-
import { n as isFocusDetached, t as focusForLastInput } from "./focusReturn-CiSQAp52.js";
|
|
12
11
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
13
|
-
import { n as useResizable, r as useHotkeys } from "./useResizable-
|
|
12
|
+
import { n as useResizable, r as useHotkeys } from "./useResizable-hv4NYIUi.js";
|
|
14
13
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
15
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
14
|
+
import { t as _sfc_main$7 } from "./Tooltip-CByjfHBZ.js";
|
|
16
15
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
16
|
+
import { n as noteFocusWithin, r as useFocusLeavingChange, t as moveFocusLeftBehind } from "./focusLeaving-Dqm8Yj4T.js";
|
|
17
17
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
18
|
+
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
18
19
|
import { i as safeNavHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
19
20
|
import { t as _sfc_main$8 } from "./NavItem-CB3loauj.js";
|
|
20
|
-
import { t as _sfc_main$9 } from "./NavDisclosure-
|
|
21
|
-
import { t as _sfc_main$10 } from "./ResizeHandle-
|
|
22
|
-
import { t as _sfc_main$11 } from "./NavHeadingSurface-
|
|
21
|
+
import { t as _sfc_main$9 } from "./NavDisclosure-CqAThYgR.js";
|
|
22
|
+
import { t as _sfc_main$10 } from "./ResizeHandle-BMSbAFdP.js";
|
|
23
|
+
import { t as _sfc_main$11 } from "./NavHeadingSurface-DJ4pWvEi.js";
|
|
23
24
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
24
25
|
import "../styles/visually-hidden.css";
|
|
25
26
|
import "../styles/side-nav.css";
|
|
@@ -162,56 +163,6 @@ function playLayoutEdge(hold, current, handle, { edge = "block-end", rideWith =
|
|
|
162
163
|
};
|
|
163
164
|
}
|
|
164
165
|
//#endregion
|
|
165
|
-
//#region src/composables/internal/focusLeaving.ts
|
|
166
|
-
/**
|
|
167
|
-
* @file focusLeaving.ts
|
|
168
|
-
* @position 组件内部:一次状态变化会拿走或藏起带焦点的内容时,先记下焦点、变化提交后再挪走
|
|
169
|
-
*
|
|
170
|
-
* 配合 `focusReturn.ts` 的 `focusForLastInput`:挪动后的焦点环跟着上一次输入走。
|
|
171
|
-
* 侧边导航收起轨道时,焦点所在的行会消失,用它把焦点交给收起按钮或最近的保留行。
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* 如果变化会让焦点丢掉就返回 true:现在哪儿都没有焦点,或者焦点还在即将被藏起的 `surface` 里。
|
|
175
|
-
* 读 `surface` 自己所在的文档,所以 iframe 或画中画窗口里的元素也能判断。
|
|
176
|
-
*/
|
|
177
|
-
function isFocusLost(surface, doc) {
|
|
178
|
-
const ownerDocument = doc ?? surface?.ownerDocument ?? document;
|
|
179
|
-
return isFocusDetached(ownerDocument) || surface != null && surface.contains(ownerDocument.activeElement);
|
|
180
|
-
}
|
|
181
|
-
/** 焦点元素在 `container` 里就返回它,否则返回 null。要在 DOM 变化之前调用。 */
|
|
182
|
-
function noteFocusWithin(container) {
|
|
183
|
-
const active = container?.ownerDocument.activeElement;
|
|
184
|
-
if (container == null || active == null || !container.contains(active)) return null;
|
|
185
|
-
return {
|
|
186
|
-
element: active,
|
|
187
|
-
container
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* 变化把焦点弄丢了(掉到页面上,或还留在被藏起的 `hidden` 里)才把焦点挪到 `target`;
|
|
192
|
-
* 焦点没丢,或本来就不在里面,就不动。返回焦点有没有挪。
|
|
193
|
-
*/
|
|
194
|
-
function moveFocusLeftBehind(note, target, hidden = null) {
|
|
195
|
-
if (note == null || target == null || !isFocusLost(hidden, note.container.ownerDocument)) return false;
|
|
196
|
-
focusForLastInput(target);
|
|
197
|
-
return true;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* `source` 变化时:DOM 更新之前调用 `note`(参数是离开的值),DOM 更新之后用它的结果调用 `move`。
|
|
201
|
-
* `note` 返回 null 表示没有要挪的焦点。服务端渲染时侦听器不运行。
|
|
202
|
-
*/
|
|
203
|
-
function useFocusLeavingChange(source, note, move) {
|
|
204
|
-
let pending = null;
|
|
205
|
-
watch(source, (_value, previous) => {
|
|
206
|
-
pending = note(previous);
|
|
207
|
-
}, { flush: "pre" });
|
|
208
|
-
watch(source, (value) => {
|
|
209
|
-
const noted = pending;
|
|
210
|
-
pending = null;
|
|
211
|
-
if (noted != null) move(noted, value);
|
|
212
|
-
}, { flush: "post" });
|
|
213
|
-
}
|
|
214
|
-
//#endregion
|
|
215
166
|
//#region src/SideNav/railFocus.ts
|
|
216
167
|
const SIDE_NAV_ROW_ATTRIBUTE = "data-astryx-side-nav-row";
|
|
217
168
|
/** nav 里所有行,按文档顺序;展开的子菜单浮层是独立的一层,不算。 */
|
|
@@ -1022,6 +973,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
1022
973
|
if (typeof given === "string" && given.trim() !== "") return given;
|
|
1023
974
|
return props.label;
|
|
1024
975
|
});
|
|
976
|
+
const closeMobileDrawer = useCloseMobileDrawer();
|
|
1025
977
|
const collapse = useSideNavCollapse();
|
|
1026
978
|
const parentDepth = useSideNavDepth();
|
|
1027
979
|
const messages = useComponentMessages({ nav: navMessages });
|
|
@@ -1069,8 +1021,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
1069
1021
|
if (canNest.value && !splitToggle.value && !sidebarCollapsed.value) {
|
|
1070
1022
|
event.preventDefault();
|
|
1071
1023
|
toggleNested();
|
|
1024
|
+
emit("click", event);
|
|
1025
|
+
return;
|
|
1072
1026
|
}
|
|
1073
1027
|
emit("click", event);
|
|
1028
|
+
closeMobileDrawer();
|
|
1074
1029
|
}
|
|
1075
1030
|
const toggleLabel = computed(() => nestedCollapsed.value ? messages.value.nav.expandItem(props.label) : messages.value.nav.collapseItem(props.label));
|
|
1076
1031
|
return (_ctx, _cache) => {
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-DMHlRq7q.js";
|
|
2
2
|
export { _sfc_main as Slider };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-CedLz5PC.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
7
|
+
import { t as _sfc_main$4 } from "./Field-D4UmRHlD.js";
|
|
8
8
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
9
9
|
import { t as sliderMessages } from "./slider-6ZlGhyPD.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
|
package/dist/Stack/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
|
|
2
|
-
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-
|
|
2
|
+
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BB9acgK8.js";
|
|
3
3
|
export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
|
package/dist/StatusDot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../StatusDot-
|
|
1
|
+
import { t as _sfc_main } from "../StatusDot-B3oOyRF7.js";
|
|
2
2
|
export { _sfc_main as StatusDot };
|