@astryx-vue/core 0.2.2 → 0.2.4
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 +4 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cb41gIAj.js → AppShell-CeBmB0Q9.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-jmHInHwj.js → Avatar-BB4Z4LF1.js} +10 -4
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +2 -2
- package/dist/BottomSheet/index.js +3 -2
- package/dist/{BottomSheet-Dg95HB1s.js → BottomSheet-BV6vfgGu.js} +82 -22
- package/dist/BottomSheet-o7xw-TOi.js +153 -0
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-D6G7f5WL.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-DmTeM7PO.js +656 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-X0cuQkvg.js → Carousel-CIKrcA2r.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-BFox3u9D.js} +3 -3
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-BlPf7vPe.js} +78 -25
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1veUk5p.js → Citation-BG-vg9ia.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +3 -3
- package/dist/Code/index.js +4 -4
- package/dist/{Code-yb_KOFtJ.js → Code-XnPuGxey.js} +3 -2
- package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-B2pnEOJY.js} +146 -16
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-DKgHzmJk.js} +10 -10
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-Dv44FFhN.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-BeJO5HYx.js} +206 -423
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-D4XFAEMp.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-Cp6AZfew.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-B6MPPp76.js} +54 -15
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu--lnUeJEG.js} +309 -64
- package/dist/DropdownMenu-6E9jFdFe.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-CXEURBcq.d.ts +564 -0
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CUJdTYKV.js → EmptyState-0RWymQUS.js} +2 -2
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLO6V12n.js → FileInput-DuNwdbAo.js} +2 -2
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-B9C3LZlS.js +94 -0
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Item-DrYJL1TG.js +590 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CdFCS_EA.js → Lightbox-Br3o0SyQ.js} +2 -2
- package/dist/Link/index.d.ts +3 -2
- package/dist/Link/index.js +1 -1
- package/dist/Link-DCZ6922-.js +196 -0
- package/dist/List/index.d.ts +3 -3
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-pGxvn6QJ.js → ListItem-CcRHWuEm.js} +8 -2
- package/dist/Markdown/index.d.ts +2 -2
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-BqKloI3w.js → Markdown-Bz0R3kNj.js} +280 -33
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-CFaocx6j.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-Dh3uLivq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B95nRSe8.js} +3 -3
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-DuF5TECE.js} +304 -122
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-C6sPZ89n.js} +5 -2
- package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
- package/dist/NavMenu/index.d.ts +2 -2
- package/dist/NavMenu/index.js +4 -3
- package/dist/NavMenu-ClIgMaxE.js +176 -0
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-E7S8gBh-.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-B4IL3s_8.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline-DBUuchi9.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-aDd_oem0.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cb66HMEf.js → Pagination-CNe9F6Fl.js} +181 -45
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-C6U8Sq1Y.js} +16 -16
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DO9Chic6.js → ProgressBar-DF6WZNCI.js} +45 -6
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → ResizeHandle-DYy0e3v9.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-5N-hq2nF.js +618 -0
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.js → SideNav-CT9lfspi.js} +226 -230
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D2ZIcUNx.js → Stepper-BqhVCgC-.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-CsdH8fCB.js} +7 -7
- package/dist/Text/index.d.ts +3 -3
- package/dist/Text/index.js +1 -1
- package/dist/Text-DIzZw6FA.js +86 -0
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -2
- package/dist/Theme/index.js +2 -2
- package/dist/Theme-CtaUWo4g.js +1246 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-BnQwX1cQ.js} +3 -3
- package/dist/{TimeField-DpHFrNv0.js → TimeField-Biiuv0hB.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.js → TimeInput-C9gptCOK.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-B7GV6hqd.js → Timer-kxzQx3tp.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-GKNjjt5g.js → Timestamp-D7bd_nF3.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Chu_eCVs.js → Token-D2GsI_Ei.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-rwzamZg4.js} +4 -4
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-mp0NMh_Y.js → Tooltip-C2fh9anJ.js} +23 -8
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CEyWddtA.js → TopNav-arWFLTBM.js} +113 -43
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-C9xvMpJZ.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +3 -2
- package/dist/Typeahead-_V11btpv.js +499 -0
- package/dist/{TypeaheadMenu-CGvo0Tud.js → TypeaheadMenu-BEObzonz.js} +46 -10
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +12 -7
- package/dist/composables-CWw6t-RJ.js +520 -0
- package/dist/{context-CiKncNSH.js → context-CPh7kE-a.js} +140 -18
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{index-CJlBAXwj.d.ts → index-12QYAbiz.d.ts} +41 -4
- package/dist/{index-Cs5pcwY3.d.ts → index-6yB8BtEu.d.ts} +3 -3
- package/dist/{index-C7mxUcDR.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-BBtJt5_A.d.ts +26 -0
- package/dist/{index-CRizexSC.d.ts → index-BH9PzQ1F.d.ts} +13 -73
- package/dist/index-BPwD6aBv.d.ts +83 -0
- package/dist/{index-DOUEn7V0.d.ts → index-BcZI402h.d.ts} +64 -5
- package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
- package/dist/{index-DimuSES0.d.ts → index-BlOIC_AM.d.ts} +3 -1
- package/dist/{index-C5p2NeCr.d.ts → index-Blm197N_.d.ts} +11 -2
- package/dist/{index-Bu3oXIIS.d.ts → index-BmmdzwT9.d.ts} +6 -0
- package/dist/{index-kVhSuA9t.d.ts → index-BxhJqiZ7.d.ts} +6 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-qiZtHnGK.d.ts → index-C3GaPqvJ.d.ts} +123 -8
- package/dist/{index-D4I_obqR.d.ts → index-CFIXnk5D.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-CI9kyg74.d.ts} +11 -1
- package/dist/{index-D-ZuubCK.d.ts → index-CUCcYKxl.d.ts} +1 -1
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-DGXviOlp.d.ts → index-D-ezcKaY.d.ts} +30 -4
- package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
- package/dist/index-DxR1FChm.d.ts +158 -0
- package/dist/{index-DNRBbwp_.d.ts → index-EtZgovdH.d.ts} +842 -107
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/index-XuAAcYiP.d.ts +77 -0
- package/dist/{index-D0TlUOtG.d.ts → index-YmSe1ujk.d.ts} +76 -3
- package/dist/{index-BMrggCw-.d.ts → index-bvr3WHvs.d.ts} +1 -1
- package/dist/{index-CDDMDHJM.d.ts → index-c67ca7eJ.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-cL3q7O4R.d.ts} +31 -2
- package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
- package/dist/{index-DsyKhauk.d.ts → index-hCpxKePE.d.ts} +48 -2
- package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-B1TG2GPS.d.ts → index-vizlhXVs.d.ts} +246 -45
- package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
- package/dist/index.d.ts +82 -80
- package/dist/index.js +127 -116
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/locale-sLw5Caia.js +917 -0
- package/dist/searchResultMessage-CCnq-_ce.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
- package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/{types-Bt-lSgYX.d.ts → types-D9nP_X-c.d.ts} +14 -1
- package/dist/{types-CAZY4Xua.d.ts → types-DGYHIu4I.d.ts} +30 -1
- package/dist/types-D_J66aPN.d.ts +85 -0
- package/dist/types-gKsEkk2g.d.ts +320 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-BgjJcY3K.js +520 -0
- package/dist/useMenuPress-DUmEy4TB.js +425 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/{composables-CVfjp9h4.js → useResizable-B3ahKLoZ.js} +74 -152
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/dist/useTruncation-B5qXQzAP.js +53 -0
- package/locales/SOURCE.json +37 -0
- package/locales/af-ZA.json +1482 -0
- package/locales/ar-SA.json +1482 -0
- package/locales/ca-ES.json +1482 -0
- package/locales/cs-CZ.json +1482 -0
- package/locales/da-DK.json +1482 -0
- package/locales/de-DE.json +1482 -0
- package/locales/el-GR.json +1482 -0
- package/locales/en.json +1646 -0
- package/locales/es-ES.json +1482 -0
- package/locales/fi-FI.json +1482 -0
- package/locales/fr-FR.json +1482 -0
- package/locales/he-IL.json +1482 -0
- package/locales/hu-HU.json +1482 -0
- package/locales/it-IT.json +1482 -0
- package/locales/ja-JP.json +1482 -0
- package/locales/ko-KR.json +1482 -0
- package/locales/nl-NL.json +1482 -0
- package/locales/no-NO.json +1482 -0
- package/locales/pl-PL.json +1482 -0
- package/locales/pt-BR.json +1482 -0
- package/locales/pt-PT.json +1482 -0
- package/locales/ro-RO.json +1482 -0
- package/locales/ru-RU.json +1482 -0
- package/locales/sr-SP.json +1482 -0
- package/locales/sv-SE.json +1482 -0
- package/locales/tr-TR.json +1482 -0
- package/locales/uk-UA.json +1482 -0
- package/locales/vi-VN.json +1482 -0
- package/locales/zh-CN.json +1482 -0
- package/locales/zh-TW.json +1482 -0
- package/package.json +7 -1
- package/styles/bottom-sheet.css +27 -0
- package/styles/calendar.css +38 -3
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/code.css +62 -0
- package/styles/container-reveal.css +104 -0
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/heading.css +47 -0
- package/styles/icon.css +51 -3
- package/styles/input-group.css +32 -3
- package/styles/keyboard-hint.css +28 -0
- package/styles/link.css +34 -0
- package/styles/list.css +88 -1
- package/styles/markdown.css +12 -0
- package/styles/multi-selector.css +26 -0
- package/styles/pagination.css +30 -0
- package/styles/progress-bar.css +49 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles/side-nav.css +36 -1
- package/styles/text.css +18 -0
- package/styles/top-nav.css +145 -6
- package/styles/typeahead.css +24 -0
- package/styles.css +4 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/Heading-Dugosn6j.js +0 -43
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Item-C1z6gXn8.js +0 -289
- package/dist/Link-DqdQZ37C.js +0 -141
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/Text-BHVghsWo.js +0 -53
- package/dist/Theme-BuUiiJNr.js +0 -429
- package/dist/Typeahead-P7cCqtaQ.js +0 -375
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- package/dist/index-Dg3ZmwEg.d.ts +0 -75
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/index-jdjcb3Js.d.ts +0 -80
- package/dist/locale-Cpk_nrLA.js +0 -18
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- package/dist/useHotkeys-dABSK1o9.js +0 -80
- package/dist/useLongPress-Cyxwa73s.js +0 -60
- package/dist/{index-BUXNRekN.d.ts → index-IdK2g5B4.d.ts} +2 -2
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
import { a as useAstryxMessages } from "./context-CiKncNSH.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./Spinner-9cYUCnDy.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Field-8zRxzDHE.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./Token-Chu_eCVs.js";
|
|
5
|
-
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-7W90Ny-9.js";
|
|
6
|
-
import { n as useTypeaheadMenu, t as _sfc_main$4 } from "./TypeaheadMenu-CGvo0Tud.js";
|
|
7
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
8
|
-
import "../styles/visually-hidden-utility.css";
|
|
9
|
-
import "../styles/typeahead.css";
|
|
10
|
-
//#region src/Typeahead/Typeahead.vue
|
|
11
|
-
const _hoisted_1 = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "astryx-typeahead-icon",
|
|
14
|
-
"aria-hidden": "true"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_2 = [
|
|
17
|
-
"placeholder",
|
|
18
|
-
"value",
|
|
19
|
-
"disabled",
|
|
20
|
-
"readonly",
|
|
21
|
-
"aria-disabled",
|
|
22
|
-
"aria-expanded",
|
|
23
|
-
"aria-activedescendant",
|
|
24
|
-
"aria-describedby",
|
|
25
|
-
"aria-required",
|
|
26
|
-
"title"
|
|
27
|
-
];
|
|
28
|
-
const _hoisted_3 = ["aria-label"];
|
|
29
|
-
const _hoisted_4 = ["name", "value"];
|
|
30
|
-
const _hoisted_5 = ["aria-label", "data-placement"];
|
|
31
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
32
|
-
name: "AstryxTypeahead",
|
|
33
|
-
inheritAttrs: false,
|
|
34
|
-
__name: "Typeahead",
|
|
35
|
-
props: {
|
|
36
|
-
modelValue: { default: null },
|
|
37
|
-
searchSource: {},
|
|
38
|
-
label: {},
|
|
39
|
-
labelHidden: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: false
|
|
42
|
-
},
|
|
43
|
-
description: {},
|
|
44
|
-
placeholder: {},
|
|
45
|
-
disabled: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: false
|
|
48
|
-
},
|
|
49
|
-
disabledReason: {},
|
|
50
|
-
status: { default: "default" },
|
|
51
|
-
statusMessage: {},
|
|
52
|
-
size: { default: "md" },
|
|
53
|
-
clearable: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: true
|
|
56
|
-
},
|
|
57
|
-
debounceMs: { default: 150 },
|
|
58
|
-
maxMenuItems: { default: 10 },
|
|
59
|
-
showOnFocus: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: false
|
|
62
|
-
},
|
|
63
|
-
emptyText: {},
|
|
64
|
-
required: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: false
|
|
67
|
-
},
|
|
68
|
-
optional: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: false
|
|
71
|
-
},
|
|
72
|
-
name: {},
|
|
73
|
-
width: {}
|
|
74
|
-
},
|
|
75
|
-
emits: [
|
|
76
|
-
"update:modelValue",
|
|
77
|
-
"change",
|
|
78
|
-
"search",
|
|
79
|
-
"openChange"
|
|
80
|
-
],
|
|
81
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
82
|
-
const props = __props;
|
|
83
|
-
const emit = __emit;
|
|
84
|
-
const messages = useAstryxMessages();
|
|
85
|
-
const inputId = `astryx-typeahead-${useId()}`;
|
|
86
|
-
const listboxId = `${inputId}-listbox`;
|
|
87
|
-
const disabledId = `${inputId}-disabled`;
|
|
88
|
-
const editing = ref(false);
|
|
89
|
-
let suppressFocusOpen = false;
|
|
90
|
-
const inputRef = useTemplateRef("inputRef");
|
|
91
|
-
const anchorRef = useTemplateRef("anchorRef");
|
|
92
|
-
const listboxRef = useTemplateRef("listboxRef");
|
|
93
|
-
const placeholder = computed(() => props.placeholder ?? messages.value.typeahead.placeholder);
|
|
94
|
-
const emptyText = computed(() => props.emptyText ?? messages.value.typeahead.empty);
|
|
95
|
-
const clearLabel = computed(() => messages.value.typeahead.clear);
|
|
96
|
-
const focusableDisabled = computed(() => props.disabled && Boolean(props.disabledReason?.trim()));
|
|
97
|
-
const fieldStatus = computed(() => {
|
|
98
|
-
if (!props.statusMessage || props.status === "default") return void 0;
|
|
99
|
-
return {
|
|
100
|
-
type: props.status,
|
|
101
|
-
message: props.statusMessage
|
|
102
|
-
};
|
|
103
|
-
});
|
|
104
|
-
const menu = useTypeaheadMenu({
|
|
105
|
-
source: () => props.searchSource,
|
|
106
|
-
debounceMs: () => props.debounceMs,
|
|
107
|
-
showOnFocus: () => props.showOnFocus,
|
|
108
|
-
maxItems: () => props.maxMenuItems,
|
|
109
|
-
disabled: () => props.disabled,
|
|
110
|
-
onSelect: (entry) => {
|
|
111
|
-
commit(entry.item);
|
|
112
|
-
},
|
|
113
|
-
onEscape: () => {
|
|
114
|
-
restoreSelection();
|
|
115
|
-
},
|
|
116
|
-
onQueryChange: (query) => {
|
|
117
|
-
emit("search", query);
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
const anchored = useAnchoredListbox({
|
|
121
|
-
anchor: anchorRef,
|
|
122
|
-
layer: listboxRef,
|
|
123
|
-
isOpen: menu.combobox.isOpen,
|
|
124
|
-
onDismiss: () => {
|
|
125
|
-
menu.close();
|
|
126
|
-
restoreSelection();
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
const selected = computed(() => props.modelValue ?? null);
|
|
130
|
-
const showToken = computed(() => selected.value != null && !editing.value);
|
|
131
|
-
const describedBy = computed(() => {
|
|
132
|
-
return [
|
|
133
|
-
props.description ? `${inputId}-description` : void 0,
|
|
134
|
-
props.statusMessage ? `${inputId}-status` : void 0,
|
|
135
|
-
focusableDisabled.value ? disabledId : void 0
|
|
136
|
-
].filter(Boolean).join(" ") || void 0;
|
|
137
|
-
});
|
|
138
|
-
watch(() => menu.combobox.isOpen.value, (isOpen) => {
|
|
139
|
-
emit("openChange", isOpen);
|
|
140
|
-
});
|
|
141
|
-
watch(() => menu.combobox.activeIndex.value, (index) => {
|
|
142
|
-
if (index < 0 || !menu.combobox.isOpen.value) return;
|
|
143
|
-
nextTick(() => {
|
|
144
|
-
scrollOptionIntoView(listboxRef.value, menu.entries.value[index]?.id);
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
function commit(item) {
|
|
148
|
-
editing.value = false;
|
|
149
|
-
menu.query.value = "";
|
|
150
|
-
menu.close();
|
|
151
|
-
emit("update:modelValue", item);
|
|
152
|
-
emit("change", item);
|
|
153
|
-
suppressFocusOpen = item != null;
|
|
154
|
-
nextTick(() => {
|
|
155
|
-
inputRef.value?.focus();
|
|
156
|
-
suppressFocusOpen = false;
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
function restoreSelection() {
|
|
160
|
-
if (selected.value == null) return;
|
|
161
|
-
editing.value = false;
|
|
162
|
-
menu.query.value = "";
|
|
163
|
-
}
|
|
164
|
-
function startEdit() {
|
|
165
|
-
if (props.disabled || selected.value == null || editing.value) return;
|
|
166
|
-
editing.value = true;
|
|
167
|
-
menu.setQuery(selected.value.label);
|
|
168
|
-
nextTick(() => {
|
|
169
|
-
inputRef.value?.focus();
|
|
170
|
-
inputRef.value?.select();
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
function highlight(index) {
|
|
174
|
-
const entry = menu.entries.value[index];
|
|
175
|
-
if (entry && !entry.disabled) menu.combobox.activeIndex.value = index;
|
|
176
|
-
}
|
|
177
|
-
function onInput(event) {
|
|
178
|
-
if (props.disabled) return;
|
|
179
|
-
menu.setQuery(event.target.value);
|
|
180
|
-
}
|
|
181
|
-
function onFocus() {
|
|
182
|
-
if (props.disabled || suppressFocusOpen) return;
|
|
183
|
-
if (showToken.value) {
|
|
184
|
-
startEdit();
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
if (props.showOnFocus) menu.open();
|
|
188
|
-
}
|
|
189
|
-
function onBlur(event) {
|
|
190
|
-
const next = event.relatedTarget;
|
|
191
|
-
if (next instanceof Node && (anchorRef.value?.contains(next) || listboxRef.value?.contains(next))) return;
|
|
192
|
-
menu.close();
|
|
193
|
-
restoreSelection();
|
|
194
|
-
}
|
|
195
|
-
function onControlClick(event) {
|
|
196
|
-
if (props.disabled) return;
|
|
197
|
-
const target = event.target;
|
|
198
|
-
if (target instanceof Element && target.closest("button, a")) return;
|
|
199
|
-
if (showToken.value) startEdit();
|
|
200
|
-
else inputRef.value?.focus();
|
|
201
|
-
}
|
|
202
|
-
function onClear(event) {
|
|
203
|
-
event.stopPropagation();
|
|
204
|
-
commit(null);
|
|
205
|
-
}
|
|
206
|
-
function onMenuSelect(id) {
|
|
207
|
-
const entry = menu.entries.value.find((item) => item.id === id);
|
|
208
|
-
if (entry && !entry.disabled) commit(entry.item);
|
|
209
|
-
}
|
|
210
|
-
function optionSelected(id) {
|
|
211
|
-
return selected.value?.id === id;
|
|
212
|
-
}
|
|
213
|
-
__expose({
|
|
214
|
-
focus: () => inputRef.value?.focus(),
|
|
215
|
-
blur: () => inputRef.value?.blur()
|
|
216
|
-
});
|
|
217
|
-
return (_ctx, _cache) => {
|
|
218
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(_sfc_main$2, {
|
|
219
|
-
class: normalizeClass(["astryx-typeahead", [`size-${props.size}`]]),
|
|
220
|
-
label: props.label,
|
|
221
|
-
"input-id": inputId,
|
|
222
|
-
description: props.description,
|
|
223
|
-
"is-label-hidden": props.labelHidden,
|
|
224
|
-
"is-disabled": props.disabled,
|
|
225
|
-
"is-required": props.required,
|
|
226
|
-
"is-optional": props.optional,
|
|
227
|
-
status: fieldStatus.value,
|
|
228
|
-
width: props.width
|
|
229
|
-
}, {
|
|
230
|
-
default: withCtx(() => [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/no-static-element-interactions -- 点空白处只是把焦点交给组合框;键盘用户直接 Tab 到输入框。 "), createElementVNode("div", {
|
|
231
|
-
ref_key: "anchorRef",
|
|
232
|
-
ref: anchorRef,
|
|
233
|
-
class: normalizeClass(["astryx-typeahead-control", [`status-${props.status}`, {
|
|
234
|
-
"is-open": unref(menu).combobox.isOpen.value,
|
|
235
|
-
"is-disabled": props.disabled
|
|
236
|
-
}]]),
|
|
237
|
-
onClick: onControlClick
|
|
238
|
-
}, [
|
|
239
|
-
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true),
|
|
240
|
-
showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
241
|
-
key: 1,
|
|
242
|
-
class: "astryx-typeahead-value",
|
|
243
|
-
label: selected.value.label,
|
|
244
|
-
size: props.size,
|
|
245
|
-
disabled: props.disabled,
|
|
246
|
-
onClick: startEdit
|
|
247
|
-
}, null, 8, [
|
|
248
|
-
"label",
|
|
249
|
-
"size",
|
|
250
|
-
"disabled"
|
|
251
|
-
])) : createCommentVNode("v-if", true),
|
|
252
|
-
createElementVNode("input", {
|
|
253
|
-
id: inputId,
|
|
254
|
-
ref_key: "inputRef",
|
|
255
|
-
ref: inputRef,
|
|
256
|
-
class: normalizeClass(["astryx-typeahead-input", { "is-hidden": showToken.value }]),
|
|
257
|
-
type: "text",
|
|
258
|
-
role: "combobox",
|
|
259
|
-
autocomplete: "off",
|
|
260
|
-
autocapitalize: "off",
|
|
261
|
-
placeholder: showToken.value ? void 0 : placeholder.value,
|
|
262
|
-
value: showToken.value ? "" : unref(menu).query.value,
|
|
263
|
-
disabled: props.disabled && !focusableDisabled.value,
|
|
264
|
-
readonly: focusableDisabled.value || void 0,
|
|
265
|
-
"aria-disabled": focusableDisabled.value ? "true" : void 0,
|
|
266
|
-
"aria-expanded": unref(menu).combobox.isOpen.value,
|
|
267
|
-
"aria-controls": listboxId,
|
|
268
|
-
"aria-autocomplete": "list",
|
|
269
|
-
"aria-activedescendant": unref(menu).activeId.value ? `${listboxId}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
|
|
270
|
-
"aria-describedby": describedBy.value,
|
|
271
|
-
"aria-required": props.required || void 0,
|
|
272
|
-
title: props.disabledReason,
|
|
273
|
-
onInput,
|
|
274
|
-
onFocus,
|
|
275
|
-
onBlur,
|
|
276
|
-
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(menu).onKeyDown && unref(menu).onKeyDown(...args))
|
|
277
|
-
}, null, 42, _hoisted_2),
|
|
278
|
-
unref(menu).status.value === "loading" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
279
|
-
key: 2,
|
|
280
|
-
class: "astryx-typeahead-spinner",
|
|
281
|
-
size: "sm",
|
|
282
|
-
"aria-label": unref(messages).typeahead.loading
|
|
283
|
-
}, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
|
|
284
|
-
props.clearable && selected.value && !props.disabled ? (openBlock(), createElementBlock("button", {
|
|
285
|
-
key: 3,
|
|
286
|
-
type: "button",
|
|
287
|
-
class: "astryx-typeahead-clear",
|
|
288
|
-
"aria-label": clearLabel.value,
|
|
289
|
-
onClick: onClear
|
|
290
|
-
}, [..._cache[1] || (_cache[1] = [createElementVNode("svg", {
|
|
291
|
-
width: "16",
|
|
292
|
-
height: "16",
|
|
293
|
-
viewBox: "0 0 16 16",
|
|
294
|
-
fill: "none",
|
|
295
|
-
"aria-hidden": "true"
|
|
296
|
-
}, [createElementVNode("path", {
|
|
297
|
-
d: "M12 4L4 12M4 4L12 12",
|
|
298
|
-
stroke: "currentColor",
|
|
299
|
-
"stroke-width": "1.5",
|
|
300
|
-
"stroke-linecap": "round"
|
|
301
|
-
})], -1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true),
|
|
302
|
-
focusableDisabled.value ? (openBlock(), createElementBlock("span", {
|
|
303
|
-
key: 4,
|
|
304
|
-
id: disabledId,
|
|
305
|
-
class: "astryx-visually-hidden"
|
|
306
|
-
}, toDisplayString(props.disabledReason), 1)) : createCommentVNode("v-if", true),
|
|
307
|
-
props.name ? (openBlock(), createElementBlock("input", {
|
|
308
|
-
key: 5,
|
|
309
|
-
type: "hidden",
|
|
310
|
-
name: props.name,
|
|
311
|
-
value: selected.value?.id ?? ""
|
|
312
|
-
}, null, 8, _hoisted_4)) : createCommentVNode("v-if", true)
|
|
313
|
-
], 2)]),
|
|
314
|
-
_: 3
|
|
315
|
-
}, 8, [
|
|
316
|
-
"class",
|
|
317
|
-
"label",
|
|
318
|
-
"description",
|
|
319
|
-
"is-label-hidden",
|
|
320
|
-
"is-disabled",
|
|
321
|
-
"is-required",
|
|
322
|
-
"is-optional",
|
|
323
|
-
"status",
|
|
324
|
-
"width"
|
|
325
|
-
]), (openBlock(), createBlock(Teleport, { to: "body" }, [withDirectives(createElementVNode("div", {
|
|
326
|
-
id: listboxId,
|
|
327
|
-
ref_key: "listboxRef",
|
|
328
|
-
ref: listboxRef,
|
|
329
|
-
class: "astryx-typeahead-listbox",
|
|
330
|
-
role: "listbox",
|
|
331
|
-
"aria-label": unref(messages).typeahead.results,
|
|
332
|
-
"data-placement": unref(anchored).position.value.placement,
|
|
333
|
-
style: normalizeStyle(unref(anchored).style.value),
|
|
334
|
-
tabindex: "-1"
|
|
335
|
-
}, [createVNode(_sfc_main$4, {
|
|
336
|
-
entries: unref(menu).entries.value.map((entry) => ({
|
|
337
|
-
id: entry.id,
|
|
338
|
-
label: entry.label,
|
|
339
|
-
description: entry.description,
|
|
340
|
-
disabled: entry.disabled,
|
|
341
|
-
selected: optionSelected(entry.item.id)
|
|
342
|
-
})),
|
|
343
|
-
"active-index": unref(menu).combobox.activeIndex.value,
|
|
344
|
-
status: unref(menu).status.value,
|
|
345
|
-
"listbox-id": listboxId,
|
|
346
|
-
"empty-text": emptyText.value,
|
|
347
|
-
"loading-text": unref(messages).typeahead.loading,
|
|
348
|
-
"error-text": unref(messages).typeahead.error,
|
|
349
|
-
onSelect: onMenuSelect,
|
|
350
|
-
onHighlight: highlight
|
|
351
|
-
}, createSlots({ _: 2 }, [_ctx.$slots.item ? {
|
|
352
|
-
name: "item",
|
|
353
|
-
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, "item", {
|
|
354
|
-
item: unref(menu).entries.value.find((entry) => entry.id === slotProps.entry.id).item,
|
|
355
|
-
isActive: slotProps.isActive,
|
|
356
|
-
isSelected: slotProps.isSelected
|
|
357
|
-
})]),
|
|
358
|
-
key: "0"
|
|
359
|
-
} : void 0, _ctx.$slots.empty ? {
|
|
360
|
-
name: "empty",
|
|
361
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
362
|
-
key: "1"
|
|
363
|
-
} : void 0]), 1032, [
|
|
364
|
-
"entries",
|
|
365
|
-
"active-index",
|
|
366
|
-
"status",
|
|
367
|
-
"empty-text",
|
|
368
|
-
"loading-text",
|
|
369
|
-
"error-text"
|
|
370
|
-
])], 12, _hoisted_5), [[vShow, unref(menu).combobox.isOpen.value]])]))], 64);
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
});
|
|
374
|
-
//#endregion
|
|
375
|
-
export { _sfc_main as t };
|
package/dist/index-Bgv4ZmBl.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { CalendarDate } from "@internationalized/date";
|
|
2
|
-
//#region src/Calendar/types.d.ts
|
|
3
|
-
interface CalendarRangeValue {
|
|
4
|
-
start: Date | null;
|
|
5
|
-
end: Date | null;
|
|
6
|
-
}
|
|
7
|
-
interface CalendarProps {
|
|
8
|
-
/** 当前选中的日期。`mode="range"` 时改用 `range`。 */
|
|
9
|
-
modelValue?: Date | null;
|
|
10
|
-
/** 选一天,或选一段起止日期。 */
|
|
11
|
-
mode?: 'single' | 'range';
|
|
12
|
-
/** 范围模式下的起止日期,用 `v-model:range` 绑定。 */
|
|
13
|
-
range?: CalendarRangeValue | null;
|
|
14
|
-
/** 并排显示的月份数。 */
|
|
15
|
-
numberOfMonths?: 1 | 2;
|
|
16
|
-
/** 打开时先显示这一天所在的月份。 */
|
|
17
|
-
focusDate?: Date;
|
|
18
|
-
/** 最小可选日期 */
|
|
19
|
-
min?: Date;
|
|
20
|
-
/** 最大可选日期 */
|
|
21
|
-
max?: Date;
|
|
22
|
-
/** 禁用的日期判断函数 */
|
|
23
|
-
isDateDisabled?: (date: Date) => boolean;
|
|
24
|
-
/** 日历标签 */
|
|
25
|
-
label?: string;
|
|
26
|
-
/** 是否禁用 */
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
}
|
|
29
|
-
interface CalendarEmits {
|
|
30
|
-
(event: 'update:modelValue', value: Date | null): void;
|
|
31
|
-
(event: 'update:range', value: CalendarRangeValue): void;
|
|
32
|
-
(event: 'change', value: Date | null): void;
|
|
33
|
-
}
|
|
34
|
-
interface CalendarSlots {
|
|
35
|
-
/** 自定义日期单元格 */
|
|
36
|
-
day?: (props: {
|
|
37
|
-
date: CalendarDate;
|
|
38
|
-
isSelected: boolean;
|
|
39
|
-
isDisabled: boolean;
|
|
40
|
-
isToday: boolean;
|
|
41
|
-
isInMonth: boolean;
|
|
42
|
-
}) => any;
|
|
43
|
-
/** 自定义头部 */
|
|
44
|
-
header?: () => any;
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/Calendar/Calendar.vue.d.ts
|
|
48
|
-
type __VLS_Slots = CalendarSlots;
|
|
49
|
-
declare const __VLS_base: import("vue").DefineComponent<CalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
-
change: (value: Date | null) => any;
|
|
51
|
-
"update:modelValue": (value: Date | null) => any;
|
|
52
|
-
"update:range": (value: CalendarRangeValue) => any;
|
|
53
|
-
}, string, import("vue").PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
54
|
-
onChange?: ((value: Date | null) => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
56
|
-
"onUpdate:range"?: ((value: CalendarRangeValue) => any) | undefined;
|
|
57
|
-
}>, {
|
|
58
|
-
modelValue: Date | null;
|
|
59
|
-
mode: "single" | "range";
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
range: CalendarRangeValue | null;
|
|
62
|
-
numberOfMonths: 1 | 2;
|
|
63
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
65
|
-
declare const _default: typeof __VLS_export;
|
|
66
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
//#endregion
|
|
72
|
-
export { CalendarSlots as a, CalendarRangeValue as i, CalendarEmits as n, CalendarProps as r, _default as t };
|