@astryx-vue/core 0.2.5 → 0.3.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/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-B6UeBCE7.js → AlertDialog-RAVA_cT1.js} +13 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CeBmB0Q9.js → AppShell-0wTvOo3H.js} +3 -3
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BB4Z4LF1.js → Avatar-pPZ4dI_s.js} +161 -16
- package/dist/AvatarGroup/index.d.ts +2 -2
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup-B--NQSB3.js +98 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CJe9Im5a.js → Banner-GbGxrqQO.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-o7xw-TOi.js → BottomSheet-JYMB_Ofl.js} +12 -9
- package/dist/{BottomSheet-BV6vfgGu.js → BottomSheet-pt7m4CvC.js} +3 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D6G7f5WL.js → Breadcrumbs-DIm4figq.js} +22 -11
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DrqeomlE.js → Button-B6Hj_O_s.js} +3 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DmTeM7PO.js → Calendar-B7vIowKq.js} +2 -2
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CIKrcA2r.js → Carousel-CA8zpD9v.js} +48 -31
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BFox3u9D.js → Chat-Bmna9EOA.js} +98 -61
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-25Q8ItH-.js → CheckboxInput-BS9J6edf.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BlPf7vPe.js → CheckboxList-CX1i_jVP.js} +8 -7
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BG-vg9ia.js → Citation-Djgwa0ko.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-DUsC-j03.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-B2pnEOJY.js → CodeBlock-D0BFubut.js} +5 -1
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/{Collapsible-3YerR-FO.js → Collapsible-Cov3Pyq5.js} +67 -22
- package/dist/CommandPalette/index.d.ts +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DKgHzmJk.js → CommandPalette-YHsUNg3V.js} +60 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dv44FFhN.js → ComplexSelector-DWLdKPGI.js} +41 -9
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BeJO5HYx.js → ContextMenu-Bq9b3Ti5.js} +15 -8
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-DT518j5E.js +841 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Cp6AZfew.js → DateRangeInput-Bqi5tlIA.js} +188 -140
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B6MPPp76.js → DateTimeInput-A7m2O3bg.js} +43 -12
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-CvRplBo-.js → Dialog-BiOSKQso.js} +9 -5
- package/dist/{Dialog-rfUt3y8P.js → Dialog-FGHfDu5M.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-6E9jFdFe.js → DropdownMenu-CoOQVlRp.js} +9 -10
- package/dist/{DropdownMenu--lnUeJEG.js → DropdownMenu-DEb2dSSP.js} +44 -33
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-0RWymQUS.js → EmptyState-C_GH7IV5.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +2 -2
- package/dist/{Field-8zRxzDHE.js → Field-D5gUEGw4.js} +1 -1
- package/dist/FieldInfoTip-Ds-sW_jY.js +98 -0
- package/dist/FieldLabel-BNeXRuGH.js +95 -0
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/FileInput-BpdiO1V8.js +285 -0
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B9C3LZlS.js → Heading-BnwWEWkp.js} +7 -2
- package/dist/HoverCard/index.d.ts +2 -2
- package/dist/HoverCard/index.js +2 -2
- package/dist/HoverCard-ycY50pRN.js +492 -0
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BNQuz9W_.js → IconButton-DDNgNl7B.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BzR6JRZb.js → InputGroup-CA03Smrs.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +2 -0
- package/dist/InternationalizationProvider/index.js +2 -0
- package/dist/InternationalizationProvider-DJay_w3B.js +170 -0
- package/dist/{Item-DrYJL1TG.js → Item-KhFKX9St.js} +15 -6
- package/dist/LayerProvider/index.d.ts +2 -0
- package/dist/LayerProvider/index.js +3 -0
- package/dist/LayerProvider-D9NsQFzL.js +73 -0
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-Bed3kP0M.js → Layout-C6RHllr-.js} +2 -2
- package/dist/{LayoutPanel-C34uOq3e.js → LayoutPanel-DXOsaeQb.js} +4 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Br3o0SyQ.js → Lightbox-DTF9EdTG.js} +2 -2
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DCZ6922-.js → Link-BqHCtiyt.js} +26 -7
- package/dist/LinkProvider/index.d.ts +2 -0
- package/dist/LinkProvider/index.js +3 -0
- package/dist/LinkProvider-Qsps9_mL.js +17 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CcRHWuEm.js → ListItem-8RWT8XAG.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Bz0R3kNj.js → Markdown-CvtN7HnF.js} +4 -4
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CFaocx6j.js → MetadataList-B-OelQlt.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Dh3uLivq.js → MobileNavToggle-DxGz0xKA.js} +11 -5
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B95nRSe8.js → MoreMenu-Dlb7MLlW.js} +33 -20
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DuF5TECE.js → MultiSelector-BtAUfQ3t.js} +122 -54
- package/dist/{NavDisclosure-C6sPZ89n.js → NavDisclosure-C_fugrQ3.js} +1 -2
- package/dist/{NavHeadingSurface-Cb3x9iDx.js → NavHeadingSurface-B3yJspSN.js} +18 -11
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-FFOisITc.js → NavItem-BBIGSvDj.js} +7 -3
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ClIgMaxE.js → NavMenu-ThXguZAz.js} +7 -3
- package/dist/{NavMenuItem-E7S8gBh-.js → NavMenuItem-BvJNsDFC.js} +8 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-AZ9x3oja.js +473 -0
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DBUuchi9.js → Outline-755h-lMP.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-aDd_oem0.js → OverflowList-NmrSMbxb.js} +10 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CNe9F6Fl.js → Pagination-DqwNQFRp.js} +29 -14
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +2 -2
- package/dist/Popover-DJf8POzL.js +308 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-C6U8Sq1Y.js → PowerSearch-DvjiPqMZ.js} +44 -31
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DF6WZNCI.js → ProgressBar-CVLzdoBK.js} +9 -3
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CBqUPq_L.js → RadioGroup-Bfu6JSNV.js} +60 -24
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CPOJn9Th.js → RadioList-xY1cwLdZ.js} +4 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-DYy0e3v9.js → ResizeHandle-q4nD_586.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-DQDYjnxO.js → ScrollableArea-D4dCJv9I.js} +14 -3
- package/dist/Scrollbars/index.d.ts +2 -0
- package/dist/Scrollbars/index.js +3 -0
- package/dist/Scrollbars-D_93hJYK.js +75 -0
- package/dist/Section/index.d.ts +2 -1
- package/dist/Section/index.js +1 -1
- package/dist/{Section-C48Wqfc7.js → Section-v2QuWBBJ.js} +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-Bj5s_tIN.js → SelectableCard-Cku4dRzc.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-5N-hq2nF.js → Selector-DJ2BhUTV.js} +90 -31
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-CT9lfspi.js → SideNav-BF8mYDxl.js} +76 -44
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-D8h_RKcF.js → Slider-DWobsPgm.js} +2 -2
- package/dist/Stack/index.d.ts +2 -2
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-iv52y_Jv.js → Stack-CTsTFfar.js} +18 -3
- package/dist/{Stack-gGcYdOAh.js → Stack-kQlYbbL4.js} +22 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/StatusDot-BPUhMOff.js +45 -0
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BqhVCgC-.js → Stepper-CE8dHysu.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-SesQzPGZ.js → Switch-DaVPRxvN.js} +2 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BlzkrObv.js → TabList-DIkK9sgK.js} +100 -23
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/{Table-CsdH8fCB.js → Table-fecqnm7P.js} +870 -241
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DIzZw6FA.js → Text-CV3LmscH.js} +7 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CPwSytdO.js → TextArea-Ab5Sw60T.js} +24 -14
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BasnjVvy.js → TextInput-zFT1_qgI.js} +21 -24
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BnQwX1cQ.js → Thumbnail-C3NnJUFG.js} +5 -5
- package/dist/TimeField-CoHDGmsP.js +435 -0
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C9gptCOK.js → TimeInput-D2k3Ux3p.js} +14 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-kxzQx3tp.js → Timer-avMQk5DN.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D7bd_nF3.js → Timestamp-xpQKCk0d.js} +7 -7
- package/dist/Toast/index.d.ts +3 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-C2ML-bmi.js → Toast-BuqIZV5z.js} +136 -38
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BB_I8EdM.js → ToggleButton-B-C-Q7XP.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-D2GsI_Ei.js → Token-DsntTYhQ.js} +33 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/Tokenizer-B5C_qY7t.js +585 -0
- package/dist/Toolbar/index.d.ts +2 -1
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/Tooltip-C4Vaqd3G.js +320 -0
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-arWFLTBM.js → TopNav-Ciq0l1w7.js} +122 -84
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-C9xvMpJZ.js → TreeList-BUz-KZJd.js} +90 -40
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/Typeahead-JP9RT87x.js +656 -0
- package/dist/{TypeaheadMenu-BEObzonz.js → TypeaheadMenu-DBW6rHeO.js} +133 -44
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +12 -7
- package/dist/{composables-CWw6t-RJ.js → composables-CbKx9C1Y.js} +424 -4
- package/dist/context-C_peZbXf.js +16 -0
- package/dist/context-M-er0-Rk.js +99 -0
- package/dist/{context-CPh7kE-a.js → context-iABt_ueM.js} +30 -4
- package/dist/{index-CLmKfnqf.d.ts → index-0QGtSf3r.d.ts} +2 -0
- package/dist/{index-z3uLM1O6.d.ts → index-B1WJxt-n.d.ts} +1 -1
- package/dist/{index-BPwD6aBv.d.ts → index-B3Fomy15.d.ts} +2 -2
- package/dist/{index-CPwzSbQQ.d.ts → index-B42oE_F-.d.ts} +17 -1
- package/dist/{index-EFqQF2Bx.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-B7yhzGUT.d.ts +171 -0
- package/dist/{index-DFbvnBlf.d.ts → index-B9e52paP.d.ts} +15 -2
- package/dist/{index-CEB7Ywvw.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CsVS37na.d.ts → index-BNbAJV9C.d.ts} +1 -1
- package/dist/index-BTK7aStw.d.ts +88 -0
- package/dist/{index-BBtJt5_A.d.ts → index-BULhhnGf.d.ts} +1 -1
- package/dist/{index-D7-WTV6I.d.ts → index-BVKivP59.d.ts} +2 -2
- package/dist/{index-BpH4wvsg.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-Be1czg3M.d.ts → index-BhpAUzUr.d.ts} +47 -7
- package/dist/{index-BcJBLWJ0.d.ts → index-BkjSF265.d.ts} +67 -4
- package/dist/{index-DxR1FChm.d.ts → index-Bu8NA2SD.d.ts} +49 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-C-QpeUlQ.d.ts → index-C2nbK2AA.d.ts} +52 -7
- package/dist/{index-iBLzInje.d.ts → index-C5e-7Obr.d.ts} +1 -1
- package/dist/index-CEv_AvOg.d.ts +17 -0
- package/dist/{index-Dgg0bHVM.d.ts → index-CICeEoZV.d.ts} +2 -1
- package/dist/{index-CB9Srua5.d.ts → index-CL1T2j4y.d.ts} +7 -4
- package/dist/{index-DjMwF8ET.d.ts → index-COgrQZIL.d.ts} +7 -1
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-ChWlKHjc.d.ts → index-Cde5JvtX.d.ts} +15 -3
- package/dist/index-CitZGSn0.d.ts +39 -0
- package/dist/index-CkKPMIeX.d.ts +55 -0
- package/dist/{index-FEy8qFSD.d.ts → index-ClNU2Th8.d.ts} +30 -3
- package/dist/{index-kaKBOZSU.d.ts → index-Cq31D3fJ.d.ts} +99 -7
- package/dist/{index-xfkEuGLY.d.ts → index-CqE4Bf3Q.d.ts} +8 -2
- package/dist/{index-DtePJ_w_.d.ts → index-Crp3NFLW.d.ts} +2 -2
- package/dist/{index-BlOIC_AM.d.ts → index-CsNi1I8j.d.ts} +6 -0
- package/dist/index-Cyb9Du5Z.d.ts +76 -0
- package/dist/{index-4TRnFGxv.d.ts → index-D41_xqjs.d.ts} +50 -10
- package/dist/{index-eshFLli0.d.ts → index-D97pQbua.d.ts} +7 -0
- package/dist/{index-c67ca7eJ.d.ts → index-DEQ5cnUV.d.ts} +1 -1
- package/dist/{index-BmAxqw1G.d.ts → index-DG52Bg0W.d.ts} +15 -1
- package/dist/{index-Da7Jm8Ht.d.ts → index-DIXAzTKL.d.ts} +1 -1
- package/dist/{index-BmmdzwT9.d.ts → index-DNA2l1RN.d.ts} +35 -11
- package/dist/{index-B9rqmYxh.d.ts → index-DUaLJO7l.d.ts} +978 -313
- package/dist/index-DVmgNb78.d.ts +143 -0
- package/dist/{index-CDdRQQF3.d.ts → index-DWh2WC8W.d.ts} +18 -6
- package/dist/index-DXpSFlPG.d.ts +78 -0
- package/dist/{index-C_2Z65Rp.d.ts → index-DeQwYJbg.d.ts} +39 -2
- package/dist/{index-JL4auphT.d.ts → index-GI9xIV9l.d.ts} +2 -2
- package/dist/{index-Ctu32CLv.d.ts → index-IBAInumL.d.ts} +93 -56
- package/dist/{index-vizlhXVs.d.ts → index-T2FOcOuI.d.ts} +492 -16
- package/dist/{index-CA6RbRWx.d.ts → index-TXcNH86P.d.ts} +2 -2
- package/dist/{index-BIPc1v82.d.ts → index-TntQsADQ.d.ts} +1 -1
- package/dist/index-fAZaRruV.d.ts +125 -0
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
- package/dist/{index-CpiWVbRZ.d.ts → index-i0tNFWfz.d.ts} +3 -1
- package/dist/{index-YmSe1ujk.d.ts → index-lgvUFSCO.d.ts} +1 -1
- package/dist/{index-bvr3WHvs.d.ts → index-xrzJC4wm.d.ts} +1 -1
- package/dist/{index-BK9T1TPZ.d.ts → index-yT1yiiww.d.ts} +28 -9
- package/dist/index.d.ts +80 -76
- package/dist/index.js +127 -113
- package/dist/link-C4_WogdF.js +18 -0
- package/dist/{index-C3GaPqvJ.d.ts → loadCatalog-BGHKG_9N.d.ts} +16 -37
- package/dist/{locale-sLw5Caia.js → loadCatalog-CXKqEB9s.js} +25 -65
- package/dist/locale/index.d.ts +3 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-DgkZEMTn.js +105 -0
- package/dist/{searchResultMessage-CCnq-_ce.js → searchResultMessage-hXXNOFJP.js} +2 -2
- package/dist/{size-xcIqExkS.js → size-Cpn_wzXi.js} +1 -1
- package/dist/{types-3eXh_5os.d.ts → types-0Q_SJv_F.d.ts} +3 -1
- package/dist/types-BRfVvZTH.d.ts +108 -0
- package/dist/{types-D7QNSqoN.d.ts → types-BTk0WZ0b.d.ts} +8 -0
- package/dist/{types-D_J66aPN.d.ts → types-BnNTzEnd.d.ts} +5 -1
- package/dist/{types-D9nP_X-c.d.ts → types-Ckih2YJi.d.ts} +9 -2
- package/dist/{types-Db3Owy8Q.d.ts → types-OGMYGejX.d.ts} +5 -0
- package/dist/{index-nKlTsNfV.d.ts → types-uFMH9NaM.d.ts} +14 -17
- package/dist/{useAnchoredListbox-BN9LQnon.js → useAnchoredListbox-DwztMNjP.js} +9 -4
- package/dist/useDevWarning-DznOpOHT.js +36 -0
- package/dist/useInputContainer-CpgDe2-4.js +51 -0
- package/dist/useInputStatusIcon-DBOwxV4x.js +41 -0
- package/dist/useInteractiveRole-Cn0Nd5GX.js +25 -0
- package/dist/{useMenuDrillIn-BgjJcY3K.js → useMenuDrillIn-DzKGkTho.js} +1 -1
- package/dist/{useMenuPress-DUmEy4TB.js → useMenuPress-D-FRNrBW.js} +162 -14
- package/dist/useMergedRefs-CfHHlCsn.js +109 -0
- package/dist/useNumberField-4-dIGVed.js +128 -0
- package/dist/{usePositionedLayer-C1NBOsVT.js → usePositionedLayer-Cru9_00b.js} +70 -7
- package/dist/useResizable-DDwPpPe6.d.ts +409 -0
- package/dist/useRestoreFocus-Djw9RUIf.js +153 -0
- package/dist/useScrollbars-C2NJ6Qwq.js +43 -0
- package/dist/{useTimeValue-DWk6oTAZ.js → useTimeValue-6ufHM15W.js} +1 -1
- package/dist/utils-D33VQDnk.js +58 -0
- package/locales/SOURCE.json +1 -1
- package/locales/en.json +445 -1
- package/package.json +19 -2
- package/styles/avatar-group.css +19 -1
- package/styles/avatar.css +34 -13
- package/styles/chat.css +17 -1
- package/styles/dialog-header.css +5 -1
- package/styles/field.css +11 -0
- package/styles/heading.css +9 -0
- package/styles/indicator-focus-ring.css +18 -0
- package/styles/number-input.css +33 -0
- package/styles/pressable.css +44 -0
- package/styles/progress-bar.css +18 -0
- package/styles/scrollbars.css +28 -0
- package/styles/side-nav.css +20 -6
- package/styles/stack.css +4 -2
- package/styles/status-dot.css +18 -0
- package/styles/tab-list.css +38 -2
- package/styles/table.css +66 -6
- package/styles/text.css +9 -0
- package/styles/time-input.css +41 -0
- package/styles/top-nav.css +46 -19
- package/styles/typeahead.css +31 -0
- package/styles.css +2 -0
- package/dist/AvatarGroup-QyzSrpYA.js +0 -60
- package/dist/DateInput-D4XFAEMp.js +0 -743
- package/dist/FieldLabel-DmmJyX7w.js +0 -184
- package/dist/FileInput-DuNwdbAo.js +0 -238
- package/dist/HoverCard-EhbWaGOW.js +0 -443
- package/dist/NumberInput-B4IL3s_8.js +0 -210
- package/dist/Popover-D7zqpFwU.js +0 -215
- package/dist/StatusDot-CaoIapp4.js +0 -27
- package/dist/TimeField-Biiuv0hB.js +0 -214
- package/dist/Tokenizer-rwzamZg4.js +0 -473
- package/dist/Tooltip-C2fh9anJ.js +0 -271
- package/dist/Typeahead-_V11btpv.js +0 -499
- package/dist/index-Blm197N_.d.ts +0 -82
- package/dist/index-Bt7ewoz2.d.ts +0 -119
- package/dist/index-C1HIqW_H.d.ts +0 -38
- package/dist/index-CngORuiq.d.ts +0 -387
- package/dist/index-D4I_obqR.d.ts +0 -58
- package/dist/link-CdcUSxAj.js +0 -12
- package/dist/size-BuTzpgnR.d.ts +0 -14
- package/dist/types-Cp4liug-.d.ts +0 -170
- package/dist/useDismiss-Cj8x_51F.js +0 -62
- package/dist/useNumberField-DL-Radsp.js +0 -49
- package/dist/useResizable-CUoNPmUw.d.ts +0 -72
- package/dist/useRestoreFocus-BvMdXVX9.js +0 -96
- package/dist/utils-C9r3UD_y.js +0 -16
|
@@ -1,10 +1,61 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Icon-bteSId7T.js";
|
|
2
|
-
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, openBlock, provide, renderSlot, shallowRef, toDisplayString, useId, useModel, useTemplateRef, vShow, withCtx, withDirectives } from "vue";
|
|
2
|
+
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, openBlock, provide, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useModel, useTemplateRef, vShow, withCtx, withDirectives } from "vue";
|
|
3
3
|
import "../styles/collapsible.css";
|
|
4
4
|
//#region src/Collapsible/context.ts
|
|
5
5
|
const collapsibleGroupKey = Symbol("collapsibleGroup");
|
|
6
6
|
const collapsibleGroupPresentationKey = Symbol("collapsibleGroupPresentation");
|
|
7
7
|
//#endregion
|
|
8
|
+
//#region src/Collapsible/useCollapsible.ts
|
|
9
|
+
function resolveConfig(value) {
|
|
10
|
+
if (value === false) return null;
|
|
11
|
+
if (value === true || value === void 0) return { defaultIsOpen: true };
|
|
12
|
+
return value;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 对应原版 Astryx 的 `hooks/useCollapsible`:折叠面板的状态机。
|
|
16
|
+
* 支持三种模式——组管理(在 `CollapsibleGroup` 里带 `value`)、受控(`isOpen`)、不受控。
|
|
17
|
+
* `Collapsible` 组件内部也用它,所以自定义折叠 UI 和组件本身的行为一致。
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* const { isOpen, toggle } = useCollapsible({ isCollapsible: true })
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function useCollapsible(options = {}) {
|
|
24
|
+
const config = computed(() => resolveConfig(toValue(options.isCollapsible)));
|
|
25
|
+
const isEnabled = computed(() => config.value != null);
|
|
26
|
+
const group = options.group !== void 0 ? options.group : getCurrentInstance() ? inject(collapsibleGroupKey, null) : null;
|
|
27
|
+
const initialIsOpen = toValue(config.value?.defaultIsOpen) ?? true;
|
|
28
|
+
const localIsOpen = shallowRef(initialIsOpen);
|
|
29
|
+
function groupKey() {
|
|
30
|
+
const key = toValue(options.value);
|
|
31
|
+
return key != null && key !== "" ? key : null;
|
|
32
|
+
}
|
|
33
|
+
const isOpen = computed(() => {
|
|
34
|
+
if (!isEnabled.value) return false;
|
|
35
|
+
const key = groupKey();
|
|
36
|
+
if (group != null && key != null) return group.isOpen(key);
|
|
37
|
+
return config.value?.isOpen?.value ?? localIsOpen.value;
|
|
38
|
+
});
|
|
39
|
+
function toggle() {
|
|
40
|
+
if (!isEnabled.value) return;
|
|
41
|
+
const key = groupKey();
|
|
42
|
+
if (group != null && key != null) {
|
|
43
|
+
group.toggle(key);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const next = !isOpen.value;
|
|
47
|
+
localIsOpen.value = next;
|
|
48
|
+
const controlled = config.value?.isOpen;
|
|
49
|
+
if (controlled != null) controlled.value = next;
|
|
50
|
+
config.value?.onOpenChange?.(next);
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
isEnabled,
|
|
54
|
+
isOpen,
|
|
55
|
+
toggle
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
8
59
|
//#region src/Collapsible/Collapsible.vue
|
|
9
60
|
const _hoisted_1$1 = ["data-density", "data-dividers"];
|
|
10
61
|
const _hoisted_2 = [
|
|
@@ -44,15 +95,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
44
95
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
45
96
|
const props = __props;
|
|
46
97
|
const emit = __emit;
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
return open.value ?? localIsOpen.value;
|
|
98
|
+
const collapsible = useCollapsible({
|
|
99
|
+
value: () => props.value,
|
|
100
|
+
isCollapsible: {
|
|
101
|
+
isOpen: useModel(__props, "isOpen"),
|
|
102
|
+
defaultIsOpen: () => props.defaultIsOpen,
|
|
103
|
+
onOpenChange: (isOpen) => emit("openChange", isOpen)
|
|
104
|
+
}
|
|
55
105
|
});
|
|
106
|
+
const isOpen = collapsible.isOpen;
|
|
107
|
+
const presentation = inject(collapsibleGroupPresentationKey, null);
|
|
56
108
|
const density = computed(() => presentation?.density.value ?? null);
|
|
57
109
|
const hasDividers = computed(() => presentation?.hasDividers.value ?? false);
|
|
58
110
|
const chevronPosition = computed(() => props.chevronPosition ?? presentation?.chevronPosition.value ?? "end");
|
|
@@ -62,14 +114,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
62
114
|
__expose({ element: computed(() => root.value ?? null) });
|
|
63
115
|
function toggle() {
|
|
64
116
|
if (props.isDisabled) return;
|
|
65
|
-
|
|
66
|
-
group.toggle(props.value);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
const next = !isOpen.value;
|
|
70
|
-
localIsOpen.value = next;
|
|
71
|
-
open.value = next;
|
|
72
|
-
emit("openChange", next);
|
|
117
|
+
collapsible.toggle();
|
|
73
118
|
}
|
|
74
119
|
return (_ctx, _cache) => {
|
|
75
120
|
return openBlock(), createElementBlock("div", {
|
|
@@ -82,9 +127,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
82
127
|
type: "button",
|
|
83
128
|
class: "astryx-collapsible-trigger",
|
|
84
129
|
"data-chevron-position": chevronPosition.value,
|
|
85
|
-
"data-open": isOpen
|
|
130
|
+
"data-open": unref(isOpen) ? "open" : void 0,
|
|
86
131
|
"data-disabled": __props.isDisabled ? "disabled" : void 0,
|
|
87
|
-
"aria-expanded": isOpen
|
|
132
|
+
"aria-expanded": unref(isOpen),
|
|
88
133
|
"aria-controls": contentId,
|
|
89
134
|
"aria-disabled": __props.isDisabled || void 0,
|
|
90
135
|
tabindex: __props.isDisabled ? -1 : void 0,
|
|
@@ -112,8 +157,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
112
157
|
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
113
158
|
id: contentId,
|
|
114
159
|
class: "astryx-collapsible-content",
|
|
115
|
-
"data-open": isOpen
|
|
116
|
-
}, [createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "default")])], 8, _hoisted_4), [[vShow, isOpen
|
|
160
|
+
"data-open": unref(isOpen) ? "open" : void 0
|
|
161
|
+
}, [createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "default")])], 8, _hoisted_4), [[vShow, unref(isOpen)]])]),
|
|
117
162
|
_: 3
|
|
118
163
|
})], 8, _hoisted_1$1);
|
|
119
164
|
};
|
|
@@ -189,4 +234,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
189
234
|
}
|
|
190
235
|
});
|
|
191
236
|
//#endregion
|
|
192
|
-
export { _sfc_main$1 as n, _sfc_main as t };
|
|
237
|
+
export { _sfc_main$1 as n, useCollapsible as r, _sfc_main as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default$2, c as CommandPaletteEmits, d as
|
|
2
|
-
export { _default as CommandPalette, type CommandPaletteEmits, _default$1 as CommandPaletteEmpty, _default$2 as CommandPaletteFooter, _default$3 as CommandPaletteGroup, type CommandPaletteGroupProps, _default$4 as CommandPaletteInput, type CommandPaletteInputProps, _default$5 as CommandPaletteItem, type CommandPaletteItemProps, type CommandPaletteItemSlotProps, _default$6 as CommandPaletteList, type CommandPaletteListProps, type CommandPaletteProps, type CommandPaletteSlots };
|
|
1
|
+
import { _ as CommandPaletteSlots, a as _default$2, c as CommandPaletteEmits, d as CommandPaletteInputProps, f as CommandPaletteItemEmits, g as CommandPaletteProps, h as CommandPaletteListProps, i as _default$3, l as CommandPaletteGroupProps, m as CommandPaletteItemSlotProps, n as _default$5, o as _default$1, p as CommandPaletteItemProps, r as _default$4, s as _default, t as _default$6, u as CommandPaletteInputEmits } from "../index-BhpAUzUr.js";
|
|
2
|
+
export { _default as CommandPalette, type CommandPaletteEmits, _default$1 as CommandPaletteEmpty, _default$2 as CommandPaletteFooter, _default$3 as CommandPaletteGroup, type CommandPaletteGroupProps, _default$4 as CommandPaletteInput, type CommandPaletteInputEmits, type CommandPaletteInputProps, _default$5 as CommandPaletteItem, type CommandPaletteItemEmits, type CommandPaletteItemProps, type CommandPaletteItemSlotProps, _default$6 as CommandPaletteList, type CommandPaletteListProps, type CommandPaletteProps, type CommandPaletteSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-
|
|
1
|
+
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-YHsUNg3V.js";
|
|
2
2
|
export { _sfc_main as CommandPalette, _sfc_main$1 as CommandPaletteEmpty, _sfc_main$2 as CommandPaletteFooter, _sfc_main$3 as CommandPaletteGroup, _sfc_main$4 as CommandPaletteInput, _sfc_main$5 as CommandPaletteItem, _sfc_main$6 as CommandPaletteList };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
2
2
|
import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
3
3
|
import { t as _sfc_main$7 } from "./Kbd-BB-Dw6zE.js";
|
|
4
|
-
import { o as useAstryxMessages } from "./context-
|
|
5
|
-
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$8 } from "./Dialog-
|
|
4
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
5
|
+
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$8 } from "./Dialog-FGHfDu5M.js";
|
|
6
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
6
7
|
import { t as _sfc_main$9 } from "./Spinner-9cYUCnDy.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, onMounted, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
8
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, onMounted, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
8
9
|
import "../styles/command-palette.css";
|
|
9
10
|
//#region src/CommandPalette/CommandPaletteEmpty.vue
|
|
10
11
|
const _hoisted_1$6 = { class: "astryx-command-palette-empty" };
|
|
@@ -86,17 +87,20 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
86
87
|
hasAutoFocus: {
|
|
87
88
|
type: Boolean,
|
|
88
89
|
default: true
|
|
89
|
-
}
|
|
90
|
+
},
|
|
91
|
+
value: {}
|
|
90
92
|
},
|
|
91
|
-
|
|
93
|
+
emits: ["valueChange", "update:value"],
|
|
94
|
+
setup(__props, { emit: __emit }) {
|
|
92
95
|
const props = __props;
|
|
96
|
+
const emit = __emit;
|
|
93
97
|
const palette = inject(commandPaletteKey, null);
|
|
94
98
|
const dialog = inject(DIALOG_CONTEXT_KEY, null);
|
|
95
99
|
const messages = useAstryxMessages();
|
|
96
100
|
const inputRef = useTemplateRef("input");
|
|
97
101
|
const placeholder = computed(() => props.placeholder ?? messages.value.commandPalette.placeholder);
|
|
98
|
-
const label = computed(() => props.label ??
|
|
99
|
-
const value = computed(() => palette?.search.value ?? "");
|
|
102
|
+
const label = computed(() => props.label ?? messages.value.commandPalette.inputLabel);
|
|
103
|
+
const value = computed(() => props.value ?? palette?.search.value ?? "");
|
|
100
104
|
const activeDescendant = computed(() => {
|
|
101
105
|
const index = palette?.highlightedIndex.value ?? -1;
|
|
102
106
|
if (palette == null || index < 0) return void 0;
|
|
@@ -104,7 +108,13 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
104
108
|
});
|
|
105
109
|
const shouldFocus = computed(() => props.hasAutoFocus && dialog?.isInline.value !== true);
|
|
106
110
|
function onInput(event) {
|
|
107
|
-
|
|
111
|
+
const next = event.target.value;
|
|
112
|
+
if (props.value == null) {
|
|
113
|
+
palette?.setSearch(next);
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
emit("valueChange", next);
|
|
117
|
+
emit("update:value", next);
|
|
108
118
|
}
|
|
109
119
|
onMounted(() => {
|
|
110
120
|
if (shouldFocus.value) requestAnimationFrame(() => inputRef.value?.focus());
|
|
@@ -119,7 +129,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
119
129
|
ref: "input",
|
|
120
130
|
"aria-activedescendant": activeDescendant.value,
|
|
121
131
|
"aria-autocomplete": "list",
|
|
122
|
-
"aria-controls": unref(palette)
|
|
132
|
+
"aria-controls": unref(palette) && unref(palette).items.value.length > 0 ? unref(palette).listId : void 0,
|
|
123
133
|
"aria-expanded": unref(palette) ? true : void 0,
|
|
124
134
|
"aria-label": label.value,
|
|
125
135
|
class: "astryx-command-palette-field",
|
|
@@ -134,7 +144,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
134
144
|
key: 0,
|
|
135
145
|
class: "astryx-command-palette-spinner",
|
|
136
146
|
size: "sm"
|
|
137
|
-
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "end")])
|
|
147
|
+
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")])])
|
|
138
148
|
]);
|
|
139
149
|
};
|
|
140
150
|
}
|
|
@@ -158,21 +168,42 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
158
168
|
isDisabled: {
|
|
159
169
|
type: Boolean,
|
|
160
170
|
default: false
|
|
161
|
-
}
|
|
171
|
+
},
|
|
172
|
+
isHighlighted: { type: Boolean },
|
|
173
|
+
isSelected: { type: Boolean }
|
|
162
174
|
},
|
|
163
|
-
|
|
175
|
+
emits: ["select"],
|
|
176
|
+
setup(__props, { emit: __emit }) {
|
|
164
177
|
const props = __props;
|
|
178
|
+
const emit = __emit;
|
|
165
179
|
const palette = inject(commandPaletteKey, null);
|
|
180
|
+
const instance = getCurrentInstance();
|
|
181
|
+
/**
|
|
182
|
+
* Vue turns an omitted boolean prop into `false`, so a `??` fallback cannot
|
|
183
|
+
* tell "not passed" from "passed false". The vnode props can.
|
|
184
|
+
*/
|
|
185
|
+
function wasPassed(name) {
|
|
186
|
+
const vnodeProps = instance?.vnode.props;
|
|
187
|
+
if (vnodeProps == null) return false;
|
|
188
|
+
if (Object.hasOwn(vnodeProps, name)) return true;
|
|
189
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
|
|
190
|
+
return Object.hasOwn(vnodeProps, kebab);
|
|
191
|
+
}
|
|
166
192
|
const index = computed(() => palette?.items.value.findIndex((item) => item.id === props.value) ?? -1);
|
|
167
|
-
const
|
|
168
|
-
const
|
|
193
|
+
const derivedHighlighted = computed(() => index.value >= 0 && palette?.highlightedIndex.value === index.value);
|
|
194
|
+
const derivedSelected = computed(() => palette?.value.value != null && palette.value.value === props.value);
|
|
195
|
+
/** An explicit prop wins; without it the state comes from the surrounding palette. */
|
|
196
|
+
const isHighlighted = computed(() => wasPassed("isHighlighted") ? props.isHighlighted : derivedHighlighted.value);
|
|
197
|
+
const isSelected = computed(() => wasPassed("isSelected") ? props.isSelected : derivedSelected.value);
|
|
169
198
|
function onKeyDown(event) {
|
|
170
199
|
if (event.key !== "Enter" && event.key !== " ") return;
|
|
171
200
|
event.preventDefault();
|
|
172
201
|
select();
|
|
173
202
|
}
|
|
174
203
|
function select() {
|
|
175
|
-
if (props.isDisabled
|
|
204
|
+
if (props.isDisabled) return;
|
|
205
|
+
emit("select", props.value);
|
|
206
|
+
if (palette == null || index.value < 0) return;
|
|
176
207
|
const item = palette.items.value[index.value];
|
|
177
208
|
if (item != null) palette.selectItem(item);
|
|
178
209
|
}
|
|
@@ -184,7 +215,6 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
184
215
|
if (palette?.isInline.value && palette.highlightedIndex.value === index.value && index.value === 0) return;
|
|
185
216
|
element.scrollIntoView({ block: "nearest" });
|
|
186
217
|
}
|
|
187
|
-
onMounted(() => {});
|
|
188
218
|
watch(isHighlighted, (highlighted, _previous, onCleanup) => {
|
|
189
219
|
if (!highlighted) return;
|
|
190
220
|
const id = `${palette?.listId}-item-${index.value}`;
|
|
@@ -215,7 +245,11 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
215
245
|
});
|
|
216
246
|
//#endregion
|
|
217
247
|
//#region src/CommandPalette/CommandPaletteList.vue
|
|
218
|
-
const _hoisted_1$1 = [
|
|
248
|
+
const _hoisted_1$1 = [
|
|
249
|
+
"id",
|
|
250
|
+
"role",
|
|
251
|
+
"aria-label"
|
|
252
|
+
];
|
|
219
253
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
220
254
|
name: "AstryxCommandPaletteList",
|
|
221
255
|
__name: "CommandPaletteList",
|
|
@@ -225,12 +259,17 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
225
259
|
const palette = inject(commandPaletteKey, null);
|
|
226
260
|
const messages = useAstryxMessages();
|
|
227
261
|
const label = computed(() => props.label ?? messages.value.commandPalette.listLabel);
|
|
262
|
+
/** 没有可选项时它只是个空容器,不再当作 listbox 暴露给读屏。 */
|
|
263
|
+
const hasOptions = computed(() => palette == null || palette.items.value.length > 0);
|
|
264
|
+
const listEl = useTemplateRef("list");
|
|
265
|
+
useScrollbars(listEl);
|
|
228
266
|
return (_ctx, _cache) => {
|
|
229
267
|
return openBlock(), createElementBlock("div", {
|
|
230
268
|
id: unref(palette)?.listId,
|
|
269
|
+
ref: "list",
|
|
231
270
|
class: "astryx-command-palette-list",
|
|
232
|
-
role: "listbox",
|
|
233
|
-
"aria-label": label.value
|
|
271
|
+
role: hasOptions.value ? "listbox" : void 0,
|
|
272
|
+
"aria-label": hasOptions.value ? label.value : void 0
|
|
234
273
|
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_1$1);
|
|
235
274
|
};
|
|
236
275
|
}
|
|
@@ -282,7 +321,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
282
321
|
"value": { default: void 0 },
|
|
283
322
|
"valueModifiers": {}
|
|
284
323
|
}),
|
|
285
|
-
emits: /*@__PURE__*/ mergeModels(["openChange"], ["update:value"]),
|
|
324
|
+
emits: /*@__PURE__*/ mergeModels(["openChange", "valueChange"], ["update:value"]),
|
|
286
325
|
setup(__props, { emit: __emit }) {
|
|
287
326
|
const props = __props;
|
|
288
327
|
const emit = __emit;
|
|
@@ -353,6 +392,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
353
392
|
function selectItem(item) {
|
|
354
393
|
if (item.disabled) return;
|
|
355
394
|
value.value = item.id;
|
|
395
|
+
emit("valueChange", item.id);
|
|
356
396
|
close();
|
|
357
397
|
}
|
|
358
398
|
function onKeyDown(event) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-
|
|
1
|
+
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-Cde5JvtX.js";
|
|
2
2
|
export { _default as ComplexSelector, _default as default, type ComplexSelectorEmits, type ComplexSelectorHandle, type ComplexSelectorHandleRef, type ComplexSelectorProps, type ComplexSelectorSlotProps, type ComplexSelectorSlots, type ComplexSelectorState, type ComplexSelectorTriggerProps, type ComplexSelectorVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-
|
|
1
|
+
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-DWLdKPGI.js";
|
|
2
2
|
export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { o as useAstryxMessages } from "./context-
|
|
1
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
2
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
2
3
|
import { t as _sfc_main$1 } from "./Icon-bteSId7T.js";
|
|
3
4
|
import { t as _sfc_main$2 } from "./Spinner-9cYUCnDy.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./Field-
|
|
5
|
-
import { t as _sfc_main$4 } from "./Popover-
|
|
6
|
-
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, normalizeProps, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, useId, useModel, useSlots, watch, withCtx } from "vue";
|
|
5
|
+
import { t as _sfc_main$3 } from "./Field-D5gUEGw4.js";
|
|
6
|
+
import { t as _sfc_main$4 } from "./Popover-DJf8POzL.js";
|
|
7
|
+
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, normalizeProps, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
8
|
import "../styles/complex-selector.css";
|
|
8
9
|
//#region src/ComplexSelector/ComplexSelector.vue
|
|
9
10
|
const _hoisted_1 = [
|
|
@@ -63,7 +64,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
63
64
|
"modelValue": { required: true },
|
|
64
65
|
"modelModifiers": {}
|
|
65
66
|
}),
|
|
66
|
-
emits: /*@__PURE__*/ mergeModels([
|
|
67
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
68
|
+
"change",
|
|
69
|
+
"click",
|
|
70
|
+
"keydown",
|
|
71
|
+
"openChange"
|
|
72
|
+
], ["update:modelValue"]),
|
|
67
73
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
68
74
|
const props = __props;
|
|
69
75
|
const emit = __emit;
|
|
@@ -72,6 +78,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
72
78
|
const messages = useAstryxMessages();
|
|
73
79
|
const isOpen = ref(false);
|
|
74
80
|
const isPending = ref(false);
|
|
81
|
+
const contentEl = useTemplateRef("contentEl");
|
|
82
|
+
useScrollbars(contentEl);
|
|
75
83
|
const optimistic = ref(void 0);
|
|
76
84
|
const triggerId = `astryx-complex-selector-${useId()}`;
|
|
77
85
|
const labelId = `${triggerId}-label`;
|
|
@@ -119,15 +127,31 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
119
127
|
isOpen.value = true;
|
|
120
128
|
}
|
|
121
129
|
}
|
|
130
|
+
/** 内置触发器:先让调用方有机会取消打开,再走自己的开关。 */
|
|
131
|
+
function onBuiltinClick(event) {
|
|
132
|
+
emit("click", event);
|
|
133
|
+
if (event.defaultPrevented) event.stopImmediatePropagation();
|
|
134
|
+
}
|
|
135
|
+
/** 内置触发器:内置处理完再透出,每个键都收到。 */
|
|
136
|
+
function onBuiltinKeyDown(event) {
|
|
137
|
+
onTriggerKeyDown(event);
|
|
138
|
+
emit("keydown", event);
|
|
139
|
+
}
|
|
140
|
+
/** 自定义触发器:开关已经做完,点不能取消;内置处理取消的键不外透。 */
|
|
122
141
|
function onCustomClick(event) {
|
|
123
142
|
event.stopImmediatePropagation();
|
|
124
143
|
toggle();
|
|
144
|
+
emit("click", event);
|
|
145
|
+
}
|
|
146
|
+
function onCustomKeyDown(event) {
|
|
147
|
+
onTriggerKeyDown(event);
|
|
148
|
+
if (!event.defaultPrevented) emit("keydown", event);
|
|
125
149
|
}
|
|
126
150
|
const hasCustomTrigger = computed(() => props.renderTrigger != null || slots.trigger != null);
|
|
127
151
|
const triggerProps = computed(() => ({
|
|
128
152
|
"id": triggerId,
|
|
129
153
|
"onClick": onCustomClick,
|
|
130
|
-
"onKeydown":
|
|
154
|
+
"onKeydown": onCustomKeyDown,
|
|
131
155
|
"aria-haspopup": "dialog",
|
|
132
156
|
"aria-expanded": isOpen.value,
|
|
133
157
|
"aria-controls": isOpen.value ? contentId : void 0,
|
|
@@ -141,6 +165,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
141
165
|
toggle,
|
|
142
166
|
isOpen: () => isOpen.value
|
|
143
167
|
};
|
|
168
|
+
watch(isOpen, (open) => {
|
|
169
|
+
emit("openChange", open);
|
|
170
|
+
});
|
|
144
171
|
function publishHandle(value) {
|
|
145
172
|
const target = props.handleRef;
|
|
146
173
|
if (target == null) return;
|
|
@@ -172,13 +199,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
172
199
|
}, {
|
|
173
200
|
content: withCtx(() => [createElementVNode("div", {
|
|
174
201
|
id: contentId,
|
|
202
|
+
ref_key: "contentEl",
|
|
203
|
+
ref: contentEl,
|
|
175
204
|
class: "astryx-complex-selector-content"
|
|
176
205
|
}, [renderSlot(_ctx.$slots, "default", {
|
|
177
206
|
close,
|
|
178
207
|
commit,
|
|
179
208
|
state: state.value,
|
|
180
209
|
value: displayValue.value
|
|
181
|
-
})])]),
|
|
210
|
+
})], 512)]),
|
|
182
211
|
default: withCtx(() => [renderSlot(_ctx.$slots, "trigger", normalizeProps(guardReactiveProps(triggerProps.value)), () => [(openBlock(), createBlock(resolveDynamicComponent(triggerView)))])]),
|
|
183
212
|
_: 3
|
|
184
213
|
}, 8, [
|
|
@@ -218,13 +247,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
218
247
|
}, {
|
|
219
248
|
content: withCtx(() => [createElementVNode("div", {
|
|
220
249
|
id: contentId,
|
|
250
|
+
ref_key: "contentEl",
|
|
251
|
+
ref: contentEl,
|
|
221
252
|
class: "astryx-complex-selector-content"
|
|
222
253
|
}, [renderSlot(_ctx.$slots, "default", {
|
|
223
254
|
close,
|
|
224
255
|
commit,
|
|
225
256
|
state: state.value,
|
|
226
257
|
value: displayValue.value
|
|
227
|
-
})])]),
|
|
258
|
+
})], 512)]),
|
|
228
259
|
default: withCtx(() => [createElementVNode("button", {
|
|
229
260
|
id: triggerId,
|
|
230
261
|
class: "astryx-complex-selector",
|
|
@@ -239,7 +270,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
239
270
|
"aria-required": __props.isRequired || void 0,
|
|
240
271
|
disabled: __props.isDisabled,
|
|
241
272
|
type: "button",
|
|
242
|
-
|
|
273
|
+
onClick: onBuiltinClick,
|
|
274
|
+
onKeydown: onBuiltinKeyDown
|
|
243
275
|
}, [
|
|
244
276
|
__props.startIcon ? (openBlock(), createBlock(_sfc_main$1, {
|
|
245
277
|
key: 0,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $i as ContextMenuItemProps, Bi as _default, Gi as ContextMenuDividerProps, Hi as useContextMenuSize, Ii as _default$7, Ji as ContextMenuGroupProps, Ki as ContextMenuEmits, Li as _default$4, Qi as ContextMenuItemIcon, Ri as _default$3, Ui as ContextMenuCheckboxData, Vi as useContextMenu, Wi as ContextMenuDividerData, Xi as ContextMenuItemData, Yi as ContextMenuGroupSlots, Zi as ContextMenuItemEmits, aa as ContextMenuRadioData, ca as ContextMenuSize, da as ContextMenuSubMenuProps, ea as ContextMenuItemSlots, fa as ContextMenuSubMenuSlots, ha as ContextMenuWidth, ia as ContextMenuProps, la as ContextMenuSlots, ma as ContextMenuVariant, na as ContextMenuOption, oa as ContextMenuRadioOptionData, pa as ContextMenuTriggerElement, qi as ContextMenuEntry, ra as ContextMenuPresentation, sa as ContextMenuSection, ta as ContextMenuItemTarget, ua as ContextMenuSubMenuEmits, zi as _default$2 } from "../index-DUaLJO7l.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-CXEURBcq.js";
|
|
3
3
|
export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-
|
|
2
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-
|
|
1
|
+
import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-DzKGkTho.js";
|
|
2
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-Bq9b3Ti5.js";
|
|
3
3
|
export { _sfc_main as ContextMenu, _sfc_main$1 as ContextMenuCheckboxItem, _sfc_main$2 as ContextMenuDivider, _sfc_main$3 as ContextMenuGroup, _sfc_main$4 as ContextMenuItem, _sfc_main$5 as ContextMenuRadioGroup, _sfc_main$6 as ContextMenuRadioItem, _sfc_main$7 as ContextMenuSubMenu, useContextMenu, useContextMenuSize };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
1
2
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
|
-
import {
|
|
3
|
-
import { o as useAstryxMessages } from "./context-
|
|
4
|
-
import { a as useLongPress, i as useMenuNav, n as useMenuPress, r as isModifiedClick, t as resetMenuPress } from "./useMenuPress-
|
|
3
|
+
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-Cru9_00b.js";
|
|
4
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
5
|
+
import { a as useLongPress, i as useMenuNav, n as useMenuPress, r as isModifiedClick, t as resetMenuPress } from "./useMenuPress-D-FRNrBW.js";
|
|
5
6
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as _sfc_main$6 } from "./BottomSheet-
|
|
7
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
8
|
+
import { t as _sfc_main$6 } from "./BottomSheet-pt7m4CvC.js";
|
|
8
9
|
import { t as _sfc_main$7 } from "./Icon-bteSId7T.js";
|
|
9
|
-
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$8, l as submenuAncestorOpenKey, n as _sfc_main$10, r as _sfc_main$9, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-
|
|
10
|
+
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$8, l as submenuAncestorOpenKey, n as _sfc_main$10, r as _sfc_main$9, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-DzKGkTho.js";
|
|
10
11
|
import { t as _sfc_main$11 } from "./Divider-BtwnL18I.js";
|
|
11
12
|
import { t as _sfc_main$12 } from "./Spinner-9cYUCnDy.js";
|
|
12
13
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
13
|
-
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
|
+
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
15
|
import "../styles/context-menu.css";
|
|
15
16
|
//#region src/ContextMenu/ContextMenuDivider.vue
|
|
16
17
|
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
@@ -95,6 +96,9 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
95
96
|
const props = __props;
|
|
96
97
|
const emit = __emit;
|
|
97
98
|
const menu = useContextMenu();
|
|
99
|
+
const linkComponent = useLinkComponent();
|
|
100
|
+
/** 有链接时用的根组件,没有 provider 时还是 `<a>`。 */
|
|
101
|
+
const linkRoot = computed(() => linkComponent.value == null ? "a" : toRaw(linkComponent.value));
|
|
98
102
|
const size = useContextMenuSize();
|
|
99
103
|
const root = useTemplateRef("root");
|
|
100
104
|
const isDestructive = computed(() => props.variant === "destructive");
|
|
@@ -122,7 +126,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
122
126
|
element.focus({ preventScroll: true });
|
|
123
127
|
}
|
|
124
128
|
return (_ctx, _cache) => {
|
|
125
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.href != null ?
|
|
129
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.href != null ? linkRoot.value : "div"), {
|
|
126
130
|
ref_key: "root",
|
|
127
131
|
ref: root,
|
|
128
132
|
"aria-disabled": __props.isDisabled || void 0,
|
|
@@ -131,6 +135,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
131
135
|
"data-size": unref(size),
|
|
132
136
|
"data-variant": __props.variant,
|
|
133
137
|
href: __props.href,
|
|
138
|
+
to: __props.href != null && linkRoot.value !== "a" ? __props.href : void 0,
|
|
134
139
|
rel: __props.rel,
|
|
135
140
|
role: "menuitem",
|
|
136
141
|
tabindex: __props.isDisabled ? void 0 : -1,
|
|
@@ -156,6 +161,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
156
161
|
"data-size",
|
|
157
162
|
"data-variant",
|
|
158
163
|
"href",
|
|
164
|
+
"to",
|
|
159
165
|
"rel",
|
|
160
166
|
"tabindex",
|
|
161
167
|
"target"
|
|
@@ -898,6 +904,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
898
904
|
const trigger = useTemplateRef("trigger");
|
|
899
905
|
const cursorAnchor = useTemplateRef("cursorAnchor");
|
|
900
906
|
const panel = useTemplateRef("panel");
|
|
907
|
+
useScrollbars(panel);
|
|
901
908
|
const cursorPoint = ref({
|
|
902
909
|
x: 0,
|
|
903
910
|
y: 0
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ai as DateInputNativePicker, Di as DateInputEmits, Ei as _default, Fi as DateInputStatusType, Mi as DateInputProps, Ni as DateInputSlots, Oi as DateInputFormat, Pi as DateInputStatus, ji as DateInputPresentation, ki as DateInputFormatName } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-DT518j5E.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|