@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,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ci as DateRangeInputEmits, Si as DateRange, Ti as DateRangePreset, wi as DateRangeInputProps, xi as _default } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-Bqi5tlIA.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { n as useButtonTooltip } from "./Button-B6Hj_O_s.js";
|
|
3
|
+
import { t as _sfc_main$3 } from "./ButtonTooltip-nWWrth8j.js";
|
|
1
4
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-CIXoE_8k.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
5
|
+
import { t as _sfc_main$4 } from "./FieldIcon--NTgW5IU.js";
|
|
6
|
+
import { t as _sfc_main$5 } from "./IconButton-DDNgNl7B.js";
|
|
7
|
+
import { a as useAstryxLocale, o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
8
|
+
import { a as standaloneShortWeekdayNames, i as formatCalendarMonth, o as weekdayNames } from "./locale-DgkZEMTn.js";
|
|
4
9
|
import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-fGHSSrFc.js";
|
|
5
10
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as _sfc_main$
|
|
8
|
-
import { t as _sfc_main$
|
|
9
|
-
import { t as _sfc_main$
|
|
10
|
-
import { t as _sfc_main$
|
|
11
|
-
import {
|
|
12
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useId, useModel, withCtx } from "vue";
|
|
11
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
12
|
+
import { t as _sfc_main$6 } from "./Icon-bteSId7T.js";
|
|
13
|
+
import { t as _sfc_main$7 } from "./Spinner-9cYUCnDy.js";
|
|
14
|
+
import { t as _sfc_main$8 } from "./Field-D5gUEGw4.js";
|
|
15
|
+
import { t as _sfc_main$9 } from "./Popover-DJf8POzL.js";
|
|
16
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
13
17
|
import "../styles/calendar.css";
|
|
14
18
|
import "../styles/date-range-input.css";
|
|
15
19
|
import "../styles/bordered-control.css";
|
|
@@ -20,7 +24,7 @@ const _hoisted_3$1 = ["aria-label"];
|
|
|
20
24
|
const _hoisted_4$1 = { class: "astryx-calendar-month-year" };
|
|
21
25
|
const _hoisted_5$1 = ["aria-label"];
|
|
22
26
|
const _hoisted_6$1 = { class: "astryx-date-range-months" };
|
|
23
|
-
const _hoisted_7
|
|
27
|
+
const _hoisted_7 = { class: "astryx-calendar-weekdays" };
|
|
24
28
|
const _hoisted_8 = ["aria-label"];
|
|
25
29
|
const _hoisted_9 = [
|
|
26
30
|
"disabled",
|
|
@@ -103,7 +107,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
103
107
|
class: "astryx-calendar-nav-button",
|
|
104
108
|
"aria-label": unref(messages).calendar.previousMonth,
|
|
105
109
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("shift", -1))
|
|
106
|
-
}, [createVNode(_sfc_main$
|
|
110
|
+
}, [createVNode(_sfc_main$6, {
|
|
107
111
|
icon: "chevronLeft",
|
|
108
112
|
size: "sm"
|
|
109
113
|
})], 8, _hoisted_3$1),
|
|
@@ -113,7 +117,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
113
117
|
class: "astryx-calendar-nav-button",
|
|
114
118
|
"aria-label": unref(messages).calendar.nextMonth,
|
|
115
119
|
onClick: _cache[1] || (_cache[1] = ($event) => emit("shift", 1))
|
|
116
|
-
}, [createVNode(_sfc_main$
|
|
120
|
+
}, [createVNode(_sfc_main$6, {
|
|
117
121
|
icon: "chevronRight",
|
|
118
122
|
size: "sm"
|
|
119
123
|
})], 8, _hoisted_5$1)
|
|
@@ -121,7 +125,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
121
125
|
return openBlock(), createElementBlock("div", {
|
|
122
126
|
key: `${month.year}-${month.month}`,
|
|
123
127
|
class: "astryx-date-range-month"
|
|
124
|
-
}, [createElementVNode("div", _hoisted_7
|
|
128
|
+
}, [createElementVNode("div", _hoisted_7, [(openBlock(true), createElementBlock(Fragment, null, renderList(weekDays.value, (day) => {
|
|
125
129
|
return openBlock(), createElementBlock("div", {
|
|
126
130
|
key: day.label,
|
|
127
131
|
class: "astryx-calendar-weekday",
|
|
@@ -172,16 +176,16 @@ const _hoisted_2 = [
|
|
|
172
176
|
"aria-describedby",
|
|
173
177
|
"aria-invalid",
|
|
174
178
|
"aria-busy",
|
|
175
|
-
"aria-required"
|
|
179
|
+
"aria-required",
|
|
180
|
+
"aria-disabled"
|
|
176
181
|
];
|
|
177
182
|
const _hoisted_3 = ["data-placeholder"];
|
|
178
183
|
const _hoisted_4 = { class: "astryx-date-range-popover" };
|
|
179
|
-
const _hoisted_5 = {
|
|
180
|
-
const _hoisted_6 = {
|
|
184
|
+
const _hoisted_5 = {
|
|
181
185
|
key: 0,
|
|
182
186
|
class: "astryx-date-range-presets"
|
|
183
187
|
};
|
|
184
|
-
const
|
|
188
|
+
const _hoisted_6 = ["disabled", "onClick"];
|
|
185
189
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
186
190
|
name: "AstryxDateRangeInput",
|
|
187
191
|
__name: "DateRangeInput",
|
|
@@ -206,6 +210,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
206
210
|
clearLabel: {},
|
|
207
211
|
size: { default: "md" },
|
|
208
212
|
isDisabled: { type: Boolean },
|
|
213
|
+
disabledMessage: {},
|
|
209
214
|
isLoading: {
|
|
210
215
|
type: Boolean,
|
|
211
216
|
default: false
|
|
@@ -241,6 +246,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
241
246
|
const action = usePendingChange(() => props.changeAction);
|
|
242
247
|
const busy = computed(() => props.isLoading || action.busy.value);
|
|
243
248
|
const locked = computed(() => props.isDisabled || busy.value);
|
|
249
|
+
const disabledMessageId = `${generatedId}-disabled`;
|
|
250
|
+
const disabledMessage = computed(() => props.disabledMessage?.trim() || void 0);
|
|
251
|
+
const showsDisabledMessage = computed(() => locked.value && disabledMessage.value != null);
|
|
252
|
+
const disabledTooltip = useButtonTooltip(showsDisabledMessage);
|
|
253
|
+
const containerRef = useTemplateRef("containerRef");
|
|
254
|
+
const panelEl = useTemplateRef("panelEl");
|
|
255
|
+
useScrollbars(panelEl);
|
|
244
256
|
const visibleMonths = computed(() => props.numberOfMonths ?? props.monthCount);
|
|
245
257
|
const display = computed(() => formatDateRange(model.value, locale.value));
|
|
246
258
|
const placeholder = computed(() => props.placeholder ?? messages.value.dateRangeInput.placeholder);
|
|
@@ -289,130 +301,166 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
289
301
|
open.value = false;
|
|
290
302
|
}
|
|
291
303
|
return (_ctx, _cache) => {
|
|
292
|
-
return openBlock(),
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
default: withCtx((field) => [createVNode(_sfc_main$7, {
|
|
306
|
-
"is-open": open.value,
|
|
307
|
-
"is-enabled": !locked.value,
|
|
308
|
-
placement: "below",
|
|
309
|
-
alignment: "start",
|
|
310
|
-
padding: 0,
|
|
311
|
-
width: "min(40rem, calc(100vw - 16px))",
|
|
312
|
-
"has-close-button": false,
|
|
313
|
-
"is-modal": false,
|
|
314
|
-
role: "dialog",
|
|
315
|
-
label: unref(messages).dateRangeInput.dialogLabel,
|
|
316
|
-
onOpenChange
|
|
304
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
305
|
+
createVNode(_sfc_main$8, {
|
|
306
|
+
label: __props.label,
|
|
307
|
+
"input-id": inputId.value,
|
|
308
|
+
description: __props.description,
|
|
309
|
+
width: __props.width,
|
|
310
|
+
"is-label-hidden": __props.isLabelHidden,
|
|
311
|
+
"is-disabled": locked.value,
|
|
312
|
+
"is-optional": __props.isOptional,
|
|
313
|
+
"is-required": __props.isRequired,
|
|
314
|
+
"label-tooltip": __props.labelTooltip,
|
|
315
|
+
status: __props.status,
|
|
316
|
+
"status-variant": __props.statusVariant
|
|
317
317
|
}, {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
"
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
"
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
"
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
class: "astryx-date-range-
|
|
374
|
-
"data-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
318
|
+
default: withCtx((field) => [createVNode(_sfc_main$9, {
|
|
319
|
+
"is-open": open.value,
|
|
320
|
+
"is-enabled": !locked.value,
|
|
321
|
+
placement: "below",
|
|
322
|
+
alignment: "start",
|
|
323
|
+
padding: 0,
|
|
324
|
+
width: "min(40rem, calc(100vw - 16px))",
|
|
325
|
+
"has-close-button": false,
|
|
326
|
+
"is-modal": false,
|
|
327
|
+
role: "dialog",
|
|
328
|
+
label: unref(messages).dateRangeInput.dialogLabel,
|
|
329
|
+
onOpenChange
|
|
330
|
+
}, {
|
|
331
|
+
content: withCtx(() => [createElementVNode("div", _hoisted_4, [createElementVNode("div", {
|
|
332
|
+
ref_key: "panelEl",
|
|
333
|
+
ref: panelEl,
|
|
334
|
+
class: "astryx-date-range-panel"
|
|
335
|
+
}, [__props.presets?.length ? (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.presets, (preset) => {
|
|
336
|
+
return openBlock(), createElementBlock("button", {
|
|
337
|
+
key: preset.label,
|
|
338
|
+
type: "button",
|
|
339
|
+
class: "astryx-date-range-preset",
|
|
340
|
+
disabled: presetDisabled(preset),
|
|
341
|
+
onClick: ($event) => applyPreset(preset)
|
|
342
|
+
}, toDisplayString(preset.label), 9, _hoisted_6);
|
|
343
|
+
}), 128))])) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, {
|
|
344
|
+
"cursor-year": cursor.value.year,
|
|
345
|
+
"cursor-month": cursor.value.month,
|
|
346
|
+
"month-count": visibleMonths.value,
|
|
347
|
+
range: model.value,
|
|
348
|
+
pending: pending.value,
|
|
349
|
+
min: __props.min,
|
|
350
|
+
max: __props.max,
|
|
351
|
+
"date-constraints": __props.dateConstraints,
|
|
352
|
+
"min-range-span": __props.minRangeSpan,
|
|
353
|
+
"max-range-span": __props.maxRangeSpan,
|
|
354
|
+
"week-starts-on": __props.weekStartsOn,
|
|
355
|
+
onSelect,
|
|
356
|
+
onShift
|
|
357
|
+
}, null, 8, [
|
|
358
|
+
"cursor-year",
|
|
359
|
+
"cursor-month",
|
|
360
|
+
"month-count",
|
|
361
|
+
"range",
|
|
362
|
+
"pending",
|
|
363
|
+
"min",
|
|
364
|
+
"max",
|
|
365
|
+
"date-constraints",
|
|
366
|
+
"min-range-span",
|
|
367
|
+
"max-range-span",
|
|
368
|
+
"week-starts-on"
|
|
369
|
+
])], 512)])]),
|
|
370
|
+
default: withCtx(() => [createElementVNode("div", {
|
|
371
|
+
ref_key: "containerRef",
|
|
372
|
+
ref: containerRef,
|
|
373
|
+
class: "astryx-date-range-input astryx-bordered-control",
|
|
374
|
+
"data-size": __props.size,
|
|
375
|
+
"data-status": __props.status?.type,
|
|
376
|
+
"data-disabled": locked.value || void 0,
|
|
377
|
+
onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
378
|
+
onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
|
|
379
|
+
}, [
|
|
380
|
+
createElementVNode("button", {
|
|
381
|
+
id: inputId.value,
|
|
382
|
+
type: "button",
|
|
383
|
+
class: "astryx-date-range-trigger",
|
|
384
|
+
disabled: locked.value && !showsDisabledMessage.value,
|
|
385
|
+
"aria-describedby": [field.describedBy, showsDisabledMessage.value ? disabledMessageId : void 0].filter(Boolean).join(" ") || void 0,
|
|
386
|
+
"aria-invalid": __props.status?.type === "error" || void 0,
|
|
387
|
+
"aria-busy": busy.value || void 0,
|
|
388
|
+
"aria-required": __props.isRequired || void 0,
|
|
389
|
+
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
390
|
+
onFocus: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onFocus && unref(disabledTooltip).onFocus(...args)),
|
|
391
|
+
onBlur: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args))
|
|
392
|
+
}, [createVNode(_sfc_main$6, {
|
|
393
|
+
class: "astryx-date-range-icon",
|
|
394
|
+
icon: "calendar",
|
|
395
|
+
size: "sm"
|
|
396
|
+
}), createElementVNode("span", {
|
|
397
|
+
class: "astryx-date-range-value",
|
|
398
|
+
"data-placeholder": !display.value || void 0
|
|
399
|
+
}, toDisplayString(display.value || placeholder.value), 9, _hoisted_3)], 40, _hoisted_2),
|
|
400
|
+
__props.hasClear && model.value && !locked.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
401
|
+
key: 0,
|
|
402
|
+
class: "astryx-input-clear-button",
|
|
403
|
+
variant: "ghost",
|
|
404
|
+
size: "sm",
|
|
405
|
+
label: clearLabel.value,
|
|
406
|
+
onClick: clear
|
|
407
|
+
}, {
|
|
408
|
+
default: withCtx(() => [createVNode(_sfc_main$4, { type: "clear" })]),
|
|
409
|
+
_: 1
|
|
410
|
+
}, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
411
|
+
busy.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
412
|
+
key: 1,
|
|
413
|
+
size: "sm",
|
|
414
|
+
"aria-label": unref(messages).dateInput.loading
|
|
415
|
+
}, null, 8, ["aria-label"])) : __props.status ? (openBlock(), createBlock(_sfc_main$4, {
|
|
416
|
+
key: 2,
|
|
417
|
+
type: __props.status.type
|
|
418
|
+
}, null, 8, ["type"])) : createCommentVNode("v-if", true)
|
|
419
|
+
], 40, _hoisted_1)]),
|
|
420
|
+
_: 2
|
|
421
|
+
}, 1032, [
|
|
422
|
+
"is-open",
|
|
423
|
+
"is-enabled",
|
|
424
|
+
"label"
|
|
425
|
+
])]),
|
|
426
|
+
_: 1
|
|
427
|
+
}, 8, [
|
|
428
|
+
"label",
|
|
429
|
+
"input-id",
|
|
430
|
+
"description",
|
|
431
|
+
"width",
|
|
432
|
+
"is-label-hidden",
|
|
433
|
+
"is-disabled",
|
|
434
|
+
"is-optional",
|
|
435
|
+
"is-required",
|
|
436
|
+
"label-tooltip",
|
|
437
|
+
"status",
|
|
438
|
+
"status-variant"
|
|
439
|
+
]),
|
|
440
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
441
|
+
key: 0,
|
|
442
|
+
id: disabledMessageId
|
|
443
|
+
}, {
|
|
444
|
+
default: withCtx(() => [createTextVNode(toDisplayString(disabledMessage.value), 1)]),
|
|
445
|
+
_: 1
|
|
446
|
+
})) : createCommentVNode("v-if", true),
|
|
447
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
448
|
+
key: 1,
|
|
449
|
+
id: `${disabledMessageId}-tooltip`,
|
|
450
|
+
anchor: containerRef.value,
|
|
451
|
+
open: unref(disabledTooltip).isOpen.value,
|
|
452
|
+
text: disabledMessage.value ?? "",
|
|
453
|
+
onPointerEnter: unref(disabledTooltip).onTooltipPointerEnter,
|
|
454
|
+
onPointerLeave: unref(disabledTooltip).onTooltipPointerLeave
|
|
455
|
+
}, null, 8, [
|
|
456
|
+
"id",
|
|
457
|
+
"anchor",
|
|
458
|
+
"open",
|
|
459
|
+
"text",
|
|
460
|
+
"onPointerEnter",
|
|
461
|
+
"onPointerLeave"
|
|
462
|
+
])) : createCommentVNode("v-if", true)
|
|
463
|
+
], 64);
|
|
416
464
|
};
|
|
417
465
|
}
|
|
418
466
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _i as _default, bi as DateTimeInputSize, vi as DateTimeInputEmits, yi as DateTimeInputProps } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-A7m2O3bg.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
1
|
+
import { a as parseISOTime, n as formatISOTime } from "./useTimeValue-6ufHM15W.js";
|
|
3
2
|
import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-DDNgNl7B.js";
|
|
4
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
5
|
+
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
5
6
|
import { t as _sfc_main$3 } from "./Spinner-9cYUCnDy.js";
|
|
6
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
7
|
-
import { t as _sfc_main$5 } from "./DateInput-
|
|
8
|
-
import { t as _sfc_main$6 } from "./TimeField-
|
|
7
|
+
import { t as _sfc_main$4 } from "./Field-D5gUEGw4.js";
|
|
8
|
+
import { t as _sfc_main$5 } from "./DateInput-DT518j5E.js";
|
|
9
|
+
import { t as _sfc_main$6 } from "./TimeField-CoHDGmsP.js";
|
|
9
10
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeModels, openBlock, ref, unref, useId, useModel, watch, withCtx } from "vue";
|
|
10
11
|
import "../styles/date-time-input.css";
|
|
11
12
|
//#region src/DateTimeInput/DateTimeInput.vue
|
|
@@ -33,6 +34,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
33
34
|
},
|
|
34
35
|
clearLabel: {},
|
|
35
36
|
size: { default: "md" },
|
|
37
|
+
hasSeconds: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
},
|
|
41
|
+
timeIncrement: { default: 1 },
|
|
42
|
+
timeOptionInterval: {},
|
|
43
|
+
timeLabel: {},
|
|
44
|
+
timePlaceholder: {},
|
|
45
|
+
disabledMessage: {},
|
|
36
46
|
min: {},
|
|
37
47
|
max: {},
|
|
38
48
|
dateConstraints: {},
|
|
@@ -80,17 +90,26 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
80
90
|
return new Date(year, month - 1, day);
|
|
81
91
|
}
|
|
82
92
|
function parseTime(value) {
|
|
83
|
-
const
|
|
84
|
-
return
|
|
93
|
+
const parsed = parseISOTime(value?.slice(11) ?? "");
|
|
94
|
+
return parsed ? formatISOTime(parsed, props.hasSeconds) : null;
|
|
85
95
|
}
|
|
86
96
|
function formatDate(date) {
|
|
87
97
|
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
88
98
|
const day = String(date.getDate()).padStart(2, "0");
|
|
89
99
|
return `${date.getFullYear()}-${month}-${day}`;
|
|
90
100
|
}
|
|
101
|
+
/** 取 ISO 日期时间里的时间部分,给只用时间的那一半做范围限制。 */
|
|
102
|
+
function timePart(value) {
|
|
103
|
+
const raw = value?.slice(11) ?? "";
|
|
104
|
+
const parsed = parseISOTime(raw);
|
|
105
|
+
return parsed ? formatISOTime(parsed, true) : void 0;
|
|
106
|
+
}
|
|
107
|
+
const timeMin = computed(() => timePart(props.min));
|
|
108
|
+
const timeMax = computed(() => timePart(props.max));
|
|
91
109
|
const dateValue = computed(() => draftDate.value !== void 0 ? draftDate.value : parseDate(model.value));
|
|
92
110
|
const timeValue = computed(() => draftTime.value !== void 0 ? draftTime.value : parseTime(model.value));
|
|
93
111
|
const clearLabel = computed(() => messages.value.dateTimeInput.clear());
|
|
112
|
+
const resolvedTimeLabel = computed(() => props.timeLabel || messages.value.dateTimeInput.timeLabel);
|
|
94
113
|
function publish() {
|
|
95
114
|
const date = dateValue.value;
|
|
96
115
|
const time = timeValue.value;
|
|
@@ -162,6 +181,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
162
181
|
"week-starts-on": __props.weekStartsOn,
|
|
163
182
|
presentation: datePresentation.value,
|
|
164
183
|
"native-picker": __props.nativePicker,
|
|
184
|
+
"disabled-message": __props.disabledMessage,
|
|
165
185
|
"onUpdate:modelValue": onDate
|
|
166
186
|
}, null, 8, [
|
|
167
187
|
"model-value",
|
|
@@ -174,33 +194,44 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
174
194
|
"number-of-months",
|
|
175
195
|
"week-starts-on",
|
|
176
196
|
"presentation",
|
|
177
|
-
"native-picker"
|
|
197
|
+
"native-picker",
|
|
198
|
+
"disabled-message"
|
|
178
199
|
]), createVNode(_sfc_main$6, {
|
|
179
200
|
"model-value": timeValue.value,
|
|
180
|
-
label:
|
|
201
|
+
label: resolvedTimeLabel.value,
|
|
181
202
|
"described-by": field.describedBy,
|
|
203
|
+
placeholder: __props.timePlaceholder,
|
|
182
204
|
"hour-format": __props.hourFormat,
|
|
183
205
|
presentation: __props.presentation,
|
|
184
206
|
"native-picker": __props.nativePicker,
|
|
185
|
-
|
|
186
|
-
|
|
207
|
+
"has-seconds": __props.hasSeconds,
|
|
208
|
+
increment: __props.timeIncrement,
|
|
209
|
+
"option-interval": __props.timeOptionInterval,
|
|
210
|
+
min: timeMin.value,
|
|
211
|
+
max: timeMax.value,
|
|
187
212
|
size: __props.size,
|
|
188
213
|
"is-disabled": locked.value,
|
|
189
214
|
"is-read-only": __props.isReadOnly,
|
|
215
|
+
"disabled-message": __props.disabledMessage,
|
|
190
216
|
status: __props.status,
|
|
191
217
|
"onUpdate:modelValue": onTime
|
|
192
218
|
}, null, 8, [
|
|
193
219
|
"model-value",
|
|
194
220
|
"label",
|
|
195
221
|
"described-by",
|
|
222
|
+
"placeholder",
|
|
196
223
|
"hour-format",
|
|
197
224
|
"presentation",
|
|
198
225
|
"native-picker",
|
|
226
|
+
"has-seconds",
|
|
227
|
+
"increment",
|
|
228
|
+
"option-interval",
|
|
199
229
|
"min",
|
|
200
230
|
"max",
|
|
201
231
|
"size",
|
|
202
232
|
"is-disabled",
|
|
203
233
|
"is-read-only",
|
|
234
|
+
"disabled-message",
|
|
204
235
|
"status"
|
|
205
236
|
])]), busy.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
206
237
|
key: 0,
|
package/dist/Dialog/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default, c as DialogPadding, d as DialogPurpose, f as DialogVariant, i as _default$1, l as DialogPosition, n as ImperativeDialogReturn, o as DialogBlockPosition, r as useImperativeDialog, s as DialogHeaderProps, t as ImperativeDialogOptions, u as DialogProps } from "../index-
|
|
1
|
+
import { a as _default, c as DialogPadding, d as DialogPurpose, f as DialogVariant, i as _default$1, l as DialogPosition, n as ImperativeDialogReturn, o as DialogBlockPosition, r as useImperativeDialog, s as DialogHeaderProps, t as ImperativeDialogOptions, u as DialogProps } from "../index-CqE4Bf3Q.js";
|
|
2
2
|
export { _default as Dialog, type DialogBlockPosition, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useImperativeDialog };
|
package/dist/Dialog/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Dialog-
|
|
2
|
-
import { n as _sfc_main$1, t as useImperativeDialog } from "../Dialog-
|
|
1
|
+
import { t as _sfc_main } from "../Dialog-FGHfDu5M.js";
|
|
2
|
+
import { n as _sfc_main$1, t as useImperativeDialog } from "../Dialog-BiOSKQso.js";
|
|
3
3
|
export { _sfc_main as Dialog, _sfc_main$1 as DialogHeader, useImperativeDialog };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as _sfc_main$2 } from "./
|
|
1
|
+
import { t as _sfc_main$1 } from "./IconButton-DDNgNl7B.js";
|
|
2
|
+
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$2 } from "./Dialog-FGHfDu5M.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, h, inject, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, readonly, ref, renderSlot, shallowRef, toDisplayString, useAttrs, useId, useSlots, withCtx } from "vue";
|
|
4
4
|
import "../styles/dialog-header.css";
|
|
5
5
|
//#region src/Dialog/DialogHeader.vue
|
|
@@ -24,6 +24,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
24
24
|
type: Boolean,
|
|
25
25
|
default: false
|
|
26
26
|
},
|
|
27
|
+
hasDivider: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
30
|
+
},
|
|
27
31
|
closeButtonLabel: { default: "Close" }
|
|
28
32
|
},
|
|
29
33
|
emits: ["openChange"],
|
|
@@ -47,7 +51,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
47
51
|
return attrs;
|
|
48
52
|
}
|
|
49
53
|
return (_ctx, _cache) => {
|
|
50
|
-
return openBlock(), createElementBlock("div", mergeProps(rootAttrs(), { class: "astryx-dialog-header" }), [
|
|
54
|
+
return openBlock(), createElementBlock("div", mergeProps(rootAttrs(), { class: ["astryx-dialog-header", { "astryx-dialog-header--divider": __props.hasDivider }] }), [
|
|
51
55
|
slots.startContent ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "startContent")])) : createCommentVNode("v-if", true),
|
|
52
56
|
createElementVNode("div", _hoisted_2, [createElementVNode("div", {
|
|
53
57
|
id: titleId.value,
|
|
@@ -60,7 +64,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
60
64
|
slots.endContent || __props.hasCloseButton ? (openBlock(), createElementBlock("div", {
|
|
61
65
|
key: 1,
|
|
62
66
|
class: normalizeClass(["astryx-dialog-header__actions", { "astryx-dialog-header__actions--compensated": __props.hasCloseButton }])
|
|
63
|
-
}, [renderSlot(_ctx.$slots, "endContent"), __props.hasCloseButton ? (openBlock(), createBlock(_sfc_main$
|
|
67
|
+
}, [renderSlot(_ctx.$slots, "endContent"), __props.hasCloseButton ? (openBlock(), createBlock(_sfc_main$1, {
|
|
64
68
|
key: 0,
|
|
65
69
|
class: "astryx-dialog-header__close",
|
|
66
70
|
variant: "ghost",
|
|
@@ -117,7 +121,7 @@ function useImperativeDialog(defaultOptions = {}) {
|
|
|
117
121
|
const Host = defineComponent({
|
|
118
122
|
name: "AstryxImperativeDialogHost",
|
|
119
123
|
setup() {
|
|
120
|
-
return () => h(_sfc_main$
|
|
124
|
+
return () => h(_sfc_main$2, {
|
|
121
125
|
...options.value,
|
|
122
126
|
isOpen: isOpen.value,
|
|
123
127
|
onOpenChange: (open) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-
|
|
1
|
+
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-Djw9RUIf.js";
|
|
2
2
|
import { t as useScrollLock } from "./scrollLock-BzIvIimL.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, useAttrs, useId, useTemplateRef, watch } from "vue";
|
|
4
4
|
import "../styles/dialog.css";
|
package/dist/Divider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-
|
|
1
|
+
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-Byar3h1e.js";
|
|
2
2
|
export { _default as Divider, type DividerOrientation, type DividerProps, type DividerVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-
|
|
2
|
-
import { a as _sfc_main$2, i as _sfc_main$3, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu
|
|
3
|
-
import { t as _sfc_main$7 } from "../DropdownMenu-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-DzKGkTho.js";
|
|
2
|
+
import { a as _sfc_main$2, i as _sfc_main$3, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu-DEb2dSSP.js";
|
|
3
|
+
import { t as _sfc_main$7 } from "../DropdownMenu-CoOQVlRp.js";
|
|
4
4
|
export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
|