@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,10 +1,32 @@
|
|
|
1
|
+
import { Ref } from "vue";
|
|
1
2
|
//#region src/MultiSelector/types.d.ts
|
|
2
3
|
type MultiSelectorSize = 'sm' | 'md' | 'lg';
|
|
3
4
|
type MultiSelectorVariant = 'input' | 'ghost';
|
|
4
5
|
type MultiSelectorPresentation = 'popover' | 'bottom-sheet';
|
|
5
6
|
type MultiSelectorStatus = 'default' | 'success' | 'warning' | 'error';
|
|
7
|
+
type MultiSelectorStatusVariant = 'attached' | 'detached' | 'tooltip';
|
|
6
8
|
type MultiSelectorTriggerDisplay = 'count' | 'labels' | 'badges';
|
|
7
9
|
type MultiSelectorCheckboxPosition = 'start' | 'end';
|
|
10
|
+
interface MultiSelectorSelectedItem {
|
|
11
|
+
value: string | number;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
/** 只有创建会带这个描述。普通勾选仍然只传新的值数组。 */
|
|
15
|
+
interface MultiSelectorCreateChange {
|
|
16
|
+
type: 'create';
|
|
17
|
+
query: string;
|
|
18
|
+
}
|
|
19
|
+
interface MultiSelectorHandle {
|
|
20
|
+
open: () => void;
|
|
21
|
+
close: () => void;
|
|
22
|
+
toggle: () => void;
|
|
23
|
+
isOpen: () => boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 模板里的 ref 会被自动解包,`:handle-ref="someRef"` 会拿到 null。
|
|
27
|
+
* 模板里传回调,或者在脚本里把 ref 对象本身传进来。
|
|
28
|
+
*/
|
|
29
|
+
type MultiSelectorHandleRef = Ref<MultiSelectorHandle | null> | ((handle: MultiSelectorHandle | null) => void);
|
|
8
30
|
interface MultiSelectorOptionData {
|
|
9
31
|
value: string | number;
|
|
10
32
|
label: string;
|
|
@@ -31,6 +53,11 @@ interface MultiSelectorProps {
|
|
|
31
53
|
disabledReason?: string;
|
|
32
54
|
status?: MultiSelectorStatus;
|
|
33
55
|
statusMessage?: string;
|
|
56
|
+
/**
|
|
57
|
+
* 状态文案怎么放。工具栏里的 ghost 会把 attached 收成独立说明,避免把行高撑开。
|
|
58
|
+
* tooltip 把说明留在图标上。
|
|
59
|
+
*/
|
|
60
|
+
statusVariant?: MultiSelectorStatusVariant;
|
|
34
61
|
size?: MultiSelectorSize;
|
|
35
62
|
/** input 是带边框的表单控件,ghost 适合放在工具栏里。 */
|
|
36
63
|
variant?: MultiSelectorVariant;
|
|
@@ -53,10 +80,34 @@ interface MultiSelectorProps {
|
|
|
53
80
|
optional?: boolean;
|
|
54
81
|
name?: string;
|
|
55
82
|
width?: number | string;
|
|
83
|
+
/**
|
|
84
|
+
* 只读。已选值还在,可以聚焦,也会随表单提交,但打不开列表,也没有清除和展开箭头。
|
|
85
|
+
* 不会变暗。和 disabled 同时设置时按禁用处理。
|
|
86
|
+
*/
|
|
87
|
+
isReadOnly?: boolean;
|
|
88
|
+
/** 触发器里显示加载指示。加载时不提供创建行,面板也不声称没有选项。 */
|
|
89
|
+
isLoading?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* 自定义关闭后的文字。只在 count 和 labels 两种展示里使用,badges 忽略。
|
|
92
|
+
* 没有任何选中项时不调用,触发器继续显示占位符。
|
|
93
|
+
*/
|
|
94
|
+
formatValue?: (items: MultiSelectorSelectedItem[]) => string;
|
|
95
|
+
/**
|
|
96
|
+
* 和 searchable 一起用。输入的文字和任何选项标签都不相同(忽略大小写)时,
|
|
97
|
+
* 列表第一行是「创建」。选中后 change 会多带 `{ type: 'create', query }`,
|
|
98
|
+
* 调用方要在同一次更新里把这个选项加进 options。没有搜索时不会出现创建行。
|
|
99
|
+
*/
|
|
100
|
+
hasCreate?: boolean;
|
|
101
|
+
/** 从外面打开、关闭或查询面板。只读和禁用时 open 不会打开。 */
|
|
102
|
+
handleRef?: MultiSelectorHandleRef;
|
|
103
|
+
/** 面板里没有任何选项时的文案。 */
|
|
104
|
+
emptyText?: string;
|
|
105
|
+
/** 搜索没有命中时的文案。 */
|
|
106
|
+
emptySearchText?: string;
|
|
56
107
|
}
|
|
57
108
|
interface MultiSelectorEmits {
|
|
58
109
|
'update:modelValue': [value: (string | number)[]];
|
|
59
|
-
'change': [value: (string | number)[]];
|
|
110
|
+
'change': [value: (string | number)[], change?: MultiSelectorCreateChange];
|
|
60
111
|
'search': [query: string];
|
|
61
112
|
'openChange': [isOpen: boolean];
|
|
62
113
|
}
|
|
@@ -73,34 +124,42 @@ interface MultiSelectorSlots {
|
|
|
73
124
|
//#region src/MultiSelector/MultiSelector.vue.d.ts
|
|
74
125
|
type __VLS_Slots = MultiSelectorSlots;
|
|
75
126
|
declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
127
|
+
open: () => void;
|
|
128
|
+
close: () => void;
|
|
129
|
+
toggle: () => void;
|
|
130
|
+
isOpen: () => boolean;
|
|
76
131
|
focus: () => void | undefined;
|
|
77
132
|
blur: () => void | undefined;
|
|
78
133
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
134
|
+
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
79
135
|
search: (query: string) => any;
|
|
80
|
-
change: (value: (string | number)[]) => any;
|
|
81
136
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
82
137
|
openChange: (isOpen: boolean) => any;
|
|
83
138
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
139
|
+
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
84
140
|
onSearch?: ((query: string) => any) | undefined;
|
|
85
|
-
onChange?: ((value: (string | number)[]) => any) | undefined;
|
|
86
141
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
87
142
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
88
143
|
}>, {
|
|
89
144
|
size: MultiSelectorSize;
|
|
90
145
|
required: boolean;
|
|
146
|
+
isLoading: boolean;
|
|
91
147
|
variant: MultiSelectorVariant;
|
|
92
148
|
status: MultiSelectorStatus;
|
|
93
149
|
modelValue: readonly (string | number)[];
|
|
94
|
-
|
|
150
|
+
statusVariant: MultiSelectorStatusVariant;
|
|
95
151
|
labelHidden: boolean;
|
|
152
|
+
disabled: boolean;
|
|
96
153
|
clearable: boolean;
|
|
97
154
|
optional: boolean;
|
|
155
|
+
isReadOnly: boolean;
|
|
98
156
|
presentation: MultiSelectorPresentation;
|
|
99
157
|
searchable: boolean;
|
|
100
158
|
selectAll: boolean;
|
|
101
159
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
102
160
|
maxBadges: number;
|
|
103
161
|
checkboxPosition: MultiSelectorCheckboxPosition;
|
|
162
|
+
hasCreate: boolean;
|
|
104
163
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
105
164
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
106
165
|
declare const _default: typeof __VLS_export;
|
|
@@ -123,4 +182,4 @@ interface MultiSelectorRow {
|
|
|
123
182
|
*/
|
|
124
183
|
declare function flattenOptions(options: readonly MultiSelectorOption[], query: string): MultiSelectorRow[];
|
|
125
184
|
//#endregion
|
|
126
|
-
export {
|
|
185
|
+
export { MultiSelectorSlots as _, MultiSelectorCreateChange as a, MultiSelectorTriggerDisplay as b, MultiSelectorHandle as c, MultiSelectorOptionData as d, MultiSelectorPresentation as f, MultiSelectorSize as g, MultiSelectorSelectedItem as h, MultiSelectorCheckboxPosition as i, MultiSelectorHandleRef as l, MultiSelectorSection as m, flattenOptions as n, MultiSelectorDivider as o, MultiSelectorProps as p, _default as r, MultiSelectorEmits as s, SELECT_ALL_VALUE as t, MultiSelectorOption as u, MultiSelectorStatus as v, MultiSelectorVariant as x, MultiSelectorStatusVariant as y };
|
|
@@ -45,6 +45,11 @@ interface BottomSheetProps {
|
|
|
45
45
|
* heading to derive a name from.
|
|
46
46
|
*/
|
|
47
47
|
label: string;
|
|
48
|
+
/**
|
|
49
|
+
* 放进 `BottomSheetSwitcher` 时的名字。切换器靠它决定哪一张是当前页。
|
|
50
|
+
* 单独使用时可以不传。
|
|
51
|
+
*/
|
|
52
|
+
sheetId?: string;
|
|
48
53
|
/**
|
|
49
54
|
* Renders the panel in the document flow instead of a native `<dialog>`,
|
|
50
55
|
* without a scrim, focus trap, or motion. Used to preview the surface inside
|
|
@@ -107,13 +112,13 @@ interface BottomSheetSlots {
|
|
|
107
112
|
}
|
|
108
113
|
//#endregion
|
|
109
114
|
//#region src/BottomSheet/BottomSheet.vue.d.ts
|
|
110
|
-
type __VLS_Props = BottomSheetProps;
|
|
111
|
-
type __VLS_Slots = BottomSheetSlots;
|
|
112
|
-
type __VLS_ModelProps = {
|
|
115
|
+
type __VLS_Props$1 = BottomSheetProps;
|
|
116
|
+
type __VLS_Slots$1 = BottomSheetSlots;
|
|
117
|
+
type __VLS_ModelProps$1 = {
|
|
113
118
|
'isOpen'?: boolean;
|
|
114
119
|
};
|
|
115
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
116
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
120
|
+
type __VLS_PublicProps$1 = __VLS_Props$1 & __VLS_ModelProps$1;
|
|
121
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
117
122
|
element: import("vue").ComputedRef<HTMLElement | null>;
|
|
118
123
|
focus: (options?: FocusOptions) => void | undefined;
|
|
119
124
|
blur: () => void | undefined;
|
|
@@ -123,7 +128,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
123
128
|
motionStart: (motion: BottomSheetMotion) => any;
|
|
124
129
|
motionComplete: (motion: BottomSheetMotion) => any;
|
|
125
130
|
snap: (visibleHeight: number) => any;
|
|
126
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
131
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
127
132
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
128
133
|
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
129
134
|
onMotionStart?: ((motion: BottomSheetMotion) => any) | undefined;
|
|
@@ -133,11 +138,48 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
133
138
|
padding: BottomSheetPadding;
|
|
134
139
|
height: string | number;
|
|
135
140
|
isInline: boolean;
|
|
136
|
-
snapPoints: readonly BottomSheetSnapPoint[];
|
|
137
141
|
purpose: BottomSheetPurpose;
|
|
138
142
|
hasScrim: boolean;
|
|
143
|
+
snapPoints: readonly BottomSheetSnapPoint[];
|
|
139
144
|
finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
|
|
140
145
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
146
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
147
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
148
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
149
|
+
new (): {
|
|
150
|
+
$slots: S;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/BottomSheet/BottomSheetSwitcher.vue.d.ts
|
|
155
|
+
type __VLS_Props = {
|
|
156
|
+
/** 整段流程的无障碍名。不传时用当前那张底栏的 `label`。 */
|
|
157
|
+
label?: string;
|
|
158
|
+
/**
|
|
159
|
+
* 整段流程怎么被关掉。不传时跟当前那张底栏的 `purpose` 走。
|
|
160
|
+
*/
|
|
161
|
+
purpose?: BottomSheetPurpose;
|
|
162
|
+
/**
|
|
163
|
+
* 是否给整段流程一块遮罩。换页时遮罩留着,直到流程关掉。
|
|
164
|
+
* @default true
|
|
165
|
+
*/
|
|
166
|
+
hasScrim?: boolean;
|
|
167
|
+
};
|
|
168
|
+
type __VLS_ModelProps = {
|
|
169
|
+
'activeSheet'?: string | null;
|
|
170
|
+
};
|
|
171
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
172
|
+
declare var __VLS_1: {};
|
|
173
|
+
type __VLS_Slots = {} & {
|
|
174
|
+
default?: (props: typeof __VLS_1) => any;
|
|
175
|
+
};
|
|
176
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
+
"update:activeSheet": (value: string | null) => any;
|
|
178
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
179
|
+
"onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
|
|
180
|
+
}>, {
|
|
181
|
+
hasScrim: boolean;
|
|
182
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
141
183
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
142
184
|
declare const _default: typeof __VLS_export;
|
|
143
185
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -146,4 +188,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
146
188
|
};
|
|
147
189
|
};
|
|
148
190
|
//#endregion
|
|
149
|
-
export {
|
|
191
|
+
export { BottomSheetMotion as a, BottomSheetPurpose as c, BottomSheetState as d, BottomSheetHeight as i, BottomSheetSlots as l, _default$1 as n, BottomSheetPadding as o, BottomSheetEmits as r, BottomSheetProps as s, _default as t, BottomSheetSnapPoint as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as DropdownMenuSize, y as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-CXEURBcq.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/Breadcrumbs/types.d.ts
|
|
4
4
|
type BreadcrumbsVariant = 'default' | 'supporting';
|
|
@@ -46,6 +46,8 @@ interface BreadcrumbItemProps {
|
|
|
46
46
|
type __VLS_Slots$1 = {
|
|
47
47
|
default: () => unknown;
|
|
48
48
|
startIcon: () => unknown;
|
|
49
|
+
/** Compound menu rows. Used instead of the `menu` array. */
|
|
50
|
+
menu?: () => unknown;
|
|
49
51
|
};
|
|
50
52
|
declare const __VLS_base$1: import("vue").DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
51
53
|
click: (event: MouseEvent) => any;
|
|
@@ -36,14 +36,22 @@ interface TooltipProps {
|
|
|
36
36
|
isOpen?: boolean;
|
|
37
37
|
/** 挂载时是否默认显示。 */
|
|
38
38
|
isDefaultOpen?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 为 true 时不再包一层 span,默认插槽的根元素自己当触发器。
|
|
41
|
+
* 标题和段落不能放进 span。
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
anchorsOnSelf?: boolean;
|
|
39
45
|
}
|
|
40
46
|
//#endregion
|
|
41
47
|
//#region src/Tooltip/Tooltip.vue.d.ts
|
|
42
|
-
declare var __VLS_1: {},
|
|
48
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_11: {};
|
|
43
49
|
type __VLS_Slots = {} & {
|
|
44
50
|
default?: (props: typeof __VLS_1) => any;
|
|
45
51
|
} & {
|
|
46
|
-
|
|
52
|
+
default?: (props: typeof __VLS_3) => any;
|
|
53
|
+
} & {
|
|
54
|
+
content?: (props: typeof __VLS_11) => any;
|
|
47
55
|
};
|
|
48
56
|
declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
57
|
openChange: (isOpen: boolean) => any;
|
|
@@ -61,6 +69,7 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
61
69
|
isEnabled: boolean;
|
|
62
70
|
hasHoverIndication: boolean | "auto";
|
|
63
71
|
isDefaultOpen: boolean;
|
|
72
|
+
anchorsOnSelf: boolean;
|
|
64
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
65
74
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
66
75
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as LinkRoot } from "./types-D_J66aPN.js";
|
|
1
2
|
//#region src/Avatar/types.d.ts
|
|
2
3
|
type AvatarNamedSize = 'xsm' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
4
|
type AvatarNumericSize = 16 | 20 | 24 | 32 | 36 | 40 | 48 | 60 | 64 | 72 | 96 | 128 | 144 | 180;
|
|
@@ -36,6 +37,11 @@ interface AvatarProps {
|
|
|
36
37
|
* When set, the avatar renders as a link.
|
|
37
38
|
*/
|
|
38
39
|
href?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Custom link component used when `href` is set. Receives `href` and `to`.
|
|
42
|
+
* Without `href`, the avatar stays a button or a span.
|
|
43
|
+
*/
|
|
44
|
+
as?: LinkRoot;
|
|
39
45
|
/**
|
|
40
46
|
* HTML target for the link. Only applies when `href` is set.
|
|
41
47
|
*/
|
|
@@ -493,13 +493,13 @@ type __VLS_Slots$10 = ChatComposerSlots;
|
|
|
493
493
|
declare const __VLS_base$10: import("vue").DefineComponent<ChatComposerProps, {
|
|
494
494
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
495
495
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
496
|
-
submit: (value: string) => any;
|
|
497
496
|
change: (value: string) => any;
|
|
497
|
+
submit: (value: string) => any;
|
|
498
498
|
"update:modelValue": (value: string) => any;
|
|
499
499
|
stop: () => any;
|
|
500
500
|
}, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
|
|
501
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
502
501
|
onChange?: ((value: string) => any) | undefined;
|
|
502
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
503
503
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
504
504
|
onStop?: (() => any) | undefined;
|
|
505
505
|
}>, {
|
|
@@ -541,14 +541,14 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region src/Chat/ChatComposerInput.vue.d.ts
|
|
543
543
|
declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
544
|
-
submit: (value: string) => any;
|
|
545
544
|
change: (value: string) => any;
|
|
545
|
+
submit: (value: string) => any;
|
|
546
546
|
"update:modelValue": (value: string) => any;
|
|
547
547
|
keydown: (event: KeyboardEvent) => any;
|
|
548
548
|
files: (files: File[]) => any;
|
|
549
549
|
}, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
|
|
550
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
551
550
|
onChange?: ((value: string) => any) | undefined;
|
|
551
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
552
552
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
553
553
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
554
554
|
onFiles?: ((files: File[]) => any) | undefined;
|
|
@@ -565,7 +565,7 @@ declare const _default$14: typeof __VLS_export$14;
|
|
|
565
565
|
//#endregion
|
|
566
566
|
//#region src/Chat/ChatDictationButton.vue.d.ts
|
|
567
567
|
declare const __VLS_export$13: import("vue").DefineComponent<ChatDictationButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatDictationButtonProps> & Readonly<{}>, {
|
|
568
|
-
size: "
|
|
568
|
+
size: "md" | "sm";
|
|
569
569
|
isHiddenWhenUnsupported: boolean;
|
|
570
570
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
571
571
|
declare const _default$13: typeof __VLS_export$13;
|
|
@@ -687,7 +687,7 @@ declare const __VLS_base$2: import("vue").DefineComponent<ChatSendButtonProps, {
|
|
|
687
687
|
onStop?: (() => any) | undefined;
|
|
688
688
|
onSend?: (() => any) | undefined;
|
|
689
689
|
}>, {
|
|
690
|
-
size: "
|
|
690
|
+
size: "md" | "sm";
|
|
691
691
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
692
692
|
declare const __VLS_export$5: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
693
693
|
declare const _default$5: typeof __VLS_export$5;
|
|
@@ -18,8 +18,8 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
label?: (props: typeof __VLS_1) => any;
|
|
19
19
|
};
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
21
|
-
variant: DividerVariant;
|
|
22
21
|
orientation: DividerOrientation;
|
|
22
|
+
variant: DividerVariant;
|
|
23
23
|
isFullBleed: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as PowerSearchMessages } from "./power-search-DrDfcoL1.js";
|
|
2
2
|
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
|
|
3
3
|
//#region src/locale/types.d.ts
|
|
4
|
+
/** 内置文案的两种语言。其他语言用 `loadAstryxCatalog` 接原版 JSON。 */
|
|
4
5
|
type AstryxLocale = 'en' | 'zh-CN';
|
|
5
6
|
//#endregion
|
|
6
7
|
//#region src/locale/messages/calendar.d.ts
|
|
@@ -8,6 +9,12 @@ interface CalendarMessages {
|
|
|
8
9
|
label: string;
|
|
9
10
|
previousMonth: string;
|
|
10
11
|
nextMonth: string;
|
|
12
|
+
rangeStart: (date: string) => string;
|
|
13
|
+
rangeCleared: (date: string) => string;
|
|
14
|
+
rangeComplete: (start: string, end: string) => string;
|
|
15
|
+
rangeStartName: (date: string) => string;
|
|
16
|
+
rangeEndName: (date: string) => string;
|
|
17
|
+
rangeBoth: (date: string) => string;
|
|
11
18
|
}
|
|
12
19
|
//#endregion
|
|
13
20
|
//#region src/locale/messages/carousel.d.ts
|
|
@@ -59,6 +66,11 @@ interface ChatMessages {
|
|
|
59
66
|
noResults: string;
|
|
60
67
|
}
|
|
61
68
|
//#endregion
|
|
69
|
+
//#region src/locale/messages/checkbox-list.d.ts
|
|
70
|
+
interface CheckboxListMessages {
|
|
71
|
+
loading: string;
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
62
74
|
//#region src/locale/messages/citation.d.ts
|
|
63
75
|
interface CitationMessages {
|
|
64
76
|
label: (number: number, title: string) => string;
|
|
@@ -86,6 +98,8 @@ interface DateInputMessages {
|
|
|
86
98
|
openCalendar: string;
|
|
87
99
|
closeCalendar: string;
|
|
88
100
|
clear: (label?: string) => string;
|
|
101
|
+
invalidDate: string;
|
|
102
|
+
loading: string;
|
|
89
103
|
}
|
|
90
104
|
//#endregion
|
|
91
105
|
//#region src/locale/messages/date-range-input.d.ts
|
|
@@ -102,6 +116,12 @@ interface DateTimeInputMessages {
|
|
|
102
116
|
clear: (label?: string) => string;
|
|
103
117
|
}
|
|
104
118
|
//#endregion
|
|
119
|
+
//#region src/locale/messages/dropdown-menu.d.ts
|
|
120
|
+
interface DropdownMenuMessages {
|
|
121
|
+
back: string;
|
|
122
|
+
backTo: (parent: string) => string;
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
105
125
|
//#region src/locale/messages/file-input.d.ts
|
|
106
126
|
interface FileInputMessages {
|
|
107
127
|
placeholder: string;
|
|
@@ -115,6 +135,19 @@ interface FileInputMessages {
|
|
|
115
135
|
errorCount: (maxFiles: number) => string;
|
|
116
136
|
}
|
|
117
137
|
//#endregion
|
|
138
|
+
//#region src/locale/messages/input.d.ts
|
|
139
|
+
interface InputMessages {
|
|
140
|
+
statusError: string;
|
|
141
|
+
statusWarning: string;
|
|
142
|
+
statusSuccess: string;
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/locale/messages/keyboard-hint.d.ts
|
|
146
|
+
interface KeyboardHintMessages {
|
|
147
|
+
/** 方向键提示里,按键后面的那句说明。 */
|
|
148
|
+
navigate: string;
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
118
151
|
//#region src/locale/messages/layout.d.ts
|
|
119
152
|
interface LayoutMessages {
|
|
120
153
|
skipToContent: string;
|
|
@@ -156,9 +189,15 @@ interface MultiSelectorMessages {
|
|
|
156
189
|
search: string;
|
|
157
190
|
clear: string;
|
|
158
191
|
empty: string;
|
|
192
|
+
emptySearch: string;
|
|
159
193
|
selectAll: string;
|
|
160
194
|
selected: (count: number) => string;
|
|
161
195
|
more: (count: number) => string;
|
|
196
|
+
resultCount: (count: number) => string;
|
|
197
|
+
create: (query: string) => string;
|
|
198
|
+
created: (label: string) => string;
|
|
199
|
+
readOnly: string;
|
|
200
|
+
loading: string;
|
|
162
201
|
}
|
|
163
202
|
//#endregion
|
|
164
203
|
//#region src/locale/messages/nav.d.ts
|
|
@@ -176,6 +215,8 @@ interface NavMessages {
|
|
|
176
215
|
expandItem: (label: string) => string;
|
|
177
216
|
collapseItem: (label: string) => string;
|
|
178
217
|
submenu: (label: string) => string;
|
|
218
|
+
resizeSidebar: string;
|
|
219
|
+
opensInNewTab: string;
|
|
179
220
|
}
|
|
180
221
|
//#endregion
|
|
181
222
|
//#region src/locale/messages/number-input.d.ts
|
|
@@ -203,6 +244,20 @@ interface PaginationMessages {
|
|
|
203
244
|
compact: (page: number, totalPages: number) => string;
|
|
204
245
|
/** compact 变体的「Page X of Y」。 */
|
|
205
246
|
pageOf: (page: number, totalPages: number) => string;
|
|
247
|
+
/** 跳到第一页。 */
|
|
248
|
+
first: string;
|
|
249
|
+
/** 跳到最后一页。 */
|
|
250
|
+
last: string;
|
|
251
|
+
/** 一次后退多页时,上一页按钮的无障碍名。 */
|
|
252
|
+
previousBy: (step: number) => string;
|
|
253
|
+
/** 一次前进多页时,下一页按钮的无障碍名。 */
|
|
254
|
+
nextBy: (step: number) => string;
|
|
255
|
+
/** `input` 变体输入框前面的名词,例如 Page。 */
|
|
256
|
+
pageLabel: string;
|
|
257
|
+
/** 输入框自己的无障碍名。 */
|
|
258
|
+
goToPage: string;
|
|
259
|
+
/** 输入框后面的「/ 总页数」。 */
|
|
260
|
+
ofTotal: (totalPages: number) => string;
|
|
206
261
|
}
|
|
207
262
|
//#endregion
|
|
208
263
|
//#region src/locale/messages/selector.d.ts
|
|
@@ -211,6 +266,10 @@ interface SelectorMessages {
|
|
|
211
266
|
search: string;
|
|
212
267
|
clear: string;
|
|
213
268
|
empty: string;
|
|
269
|
+
emptySearch: string;
|
|
270
|
+
resultCount: (count: number) => string;
|
|
271
|
+
readOnly: string;
|
|
272
|
+
loading: string;
|
|
214
273
|
}
|
|
215
274
|
//#endregion
|
|
216
275
|
//#region src/locale/messages/stepper.d.ts
|
|
@@ -321,12 +380,16 @@ interface AstryxMessages {
|
|
|
321
380
|
calendar: CalendarMessages;
|
|
322
381
|
carousel: CarouselMessages;
|
|
323
382
|
chat: ChatMessages;
|
|
383
|
+
checkboxList: CheckboxListMessages;
|
|
324
384
|
citation: CitationMessages;
|
|
325
385
|
commandPalette: CommandPaletteMessages;
|
|
326
386
|
dateInput: DateInputMessages;
|
|
327
387
|
dateRangeInput: DateRangeInputMessages;
|
|
328
388
|
dateTimeInput: DateTimeInputMessages;
|
|
389
|
+
dropdownMenu: DropdownMenuMessages;
|
|
329
390
|
fileInput: FileInputMessages;
|
|
391
|
+
input: InputMessages;
|
|
392
|
+
keyboardHint: KeyboardHintMessages;
|
|
330
393
|
layout: LayoutMessages;
|
|
331
394
|
lightbox: LightboxMessages;
|
|
332
395
|
markdown: MarkdownMessages;
|
|
@@ -350,14 +413,66 @@ interface AstryxMessages {
|
|
|
350
413
|
}
|
|
351
414
|
//#endregion
|
|
352
415
|
//#region src/locale/context.d.ts
|
|
353
|
-
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<
|
|
354
|
-
declare
|
|
355
|
-
|
|
356
|
-
|
|
416
|
+
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
|
|
417
|
+
declare const astryxMessagesKey: InjectionKey<MaybeRefOrGetter<AstryxMessages>>;
|
|
418
|
+
/**
|
|
419
|
+
* 把语言标签收成组件能用的写法。
|
|
420
|
+
* `en` 和 `en-*` 收成 `en`。`zh`、`zh-CN`、`zh-Hans` 收成 `zh-CN`。
|
|
421
|
+
* `zh-TW` 以及其他标签保留规范写法,用来接 `loadAstryxCatalog` 的结果。
|
|
422
|
+
* 空值和解析不了的标签回到 `en`。
|
|
423
|
+
*/
|
|
424
|
+
declare function normalizeLocale(locale: string | null | undefined): string;
|
|
425
|
+
declare function provideAstryxLocale(locale: MaybeRefOrGetter<string>, messages?: MaybeRefOrGetter<AstryxMessages>): void;
|
|
426
|
+
declare function useAstryxLocale(): ComputedRef<string>;
|
|
357
427
|
declare function useAstryxMessages(): ComputedRef<AstryxMessages>;
|
|
358
428
|
//#endregion
|
|
359
429
|
//#region src/locale/format.d.ts
|
|
360
|
-
declare function formatCalendarMonth(year: number, month: number, locale:
|
|
361
|
-
declare function weekdayNames(locale:
|
|
362
|
-
//#endregion
|
|
363
|
-
|
|
430
|
+
declare function formatCalendarMonth(year: number, month: number, locale: string): string;
|
|
431
|
+
declare function weekdayNames(locale: string, style: 'long' | 'narrow' | 'short'): string[];
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/locale/loadCatalog.d.ts
|
|
434
|
+
/** 原版 `locales/*.json` 里的一条。运行时目录也可以只给字符串。 */
|
|
435
|
+
type AstryxUpstreamMessage = string | {
|
|
436
|
+
defaultMessage: string;
|
|
437
|
+
description?: string;
|
|
438
|
+
};
|
|
439
|
+
/** 原版语言目录。键是 `@astryx.*`。 */
|
|
440
|
+
type AstryxUpstreamCatalog = Record<string, AstryxUpstreamMessage>;
|
|
441
|
+
type UnmappedUpstreamReason = 'no-slot' | 'invalid-entry' | 'unsupported-message' | 'placeholder-mismatch' | 'slot-taken';
|
|
442
|
+
interface UnmappedUpstreamEntry {
|
|
443
|
+
key: string;
|
|
444
|
+
/** 原句。解析不了时保留目录里的原文,不丢掉。 */
|
|
445
|
+
message: string;
|
|
446
|
+
reason: UnmappedUpstreamReason;
|
|
447
|
+
}
|
|
448
|
+
interface LoadedAstryxLocale {
|
|
449
|
+
locale: string;
|
|
450
|
+
messages: AstryxMessages;
|
|
451
|
+
/** 这份 JSON 里没有写进 `messages` 的键,原文在 `message`。 */
|
|
452
|
+
unmapped: readonly UnmappedUpstreamEntry[];
|
|
453
|
+
/** 映射表里有,但这份 JSON 没给的键。这些字段继续用英文。 */
|
|
454
|
+
missingKeys: readonly string[];
|
|
455
|
+
/** 没有任何原版键写进来、因此仍是英文的字段路径。 */
|
|
456
|
+
fallbackFields: readonly string[];
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* 把一份原版 Astryx locale JSON 映射成 `AstryxMessages`。
|
|
460
|
+
* 内置的 `en` 和 `zh-CN` 不会被改掉。返回值要交给 `provideAstryxLocale` 的第二个参数。
|
|
461
|
+
* `unmapped` 列出每一个没写进文案树的键。
|
|
462
|
+
*/
|
|
463
|
+
declare function loadAstryxCatalog(locale: string, catalog: AstryxUpstreamCatalog): LoadedAstryxLocale;
|
|
464
|
+
//#endregion
|
|
465
|
+
//#region src/locale/useCollator.d.ts
|
|
466
|
+
/**
|
|
467
|
+
* 按当前语言比较字符串,对应原版的 `useCollator`。
|
|
468
|
+
* 没提供语言时用 `en`。`options` 用 ref 或 computed 包起来,变了才会重建比较器。
|
|
469
|
+
*
|
|
470
|
+
* @example
|
|
471
|
+
* ```ts
|
|
472
|
+
* const collator = useCollator({ numeric: true })
|
|
473
|
+
* items.sort((a, b) => collator.value.compare(a.name, b.name))
|
|
474
|
+
* ```
|
|
475
|
+
*/
|
|
476
|
+
declare function useCollator(options?: MaybeRefOrGetter<Intl.CollatorOptions | undefined>): ComputedRef<Intl.Collator>;
|
|
477
|
+
//#endregion
|
|
478
|
+
export { AstryxLocale as _, UnmappedUpstreamEntry as a, formatCalendarMonth as c, astryxMessagesKey as d, normalizeLocale as f, AstryxMessages as g, useAstryxMessages as h, LoadedAstryxLocale as i, weekdayNames as l, useAstryxLocale as m, AstryxUpstreamCatalog as n, UnmappedUpstreamReason as o, provideAstryxLocale as p, AstryxUpstreamMessage as r, loadAstryxCatalog as s, useCollator as t, astryxLocaleKey as u };
|
|
@@ -47,7 +47,7 @@ declare const __VLS_export: import("vue").DefineComponent<NumberInputProps, {},
|
|
|
47
47
|
onChange?: ((value: number | null) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
-
size: "
|
|
50
|
+
size: "md" | "sm" | "lg";
|
|
51
51
|
step: number;
|
|
52
52
|
modelValue: number | null;
|
|
53
53
|
placeholder: string;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
//#region src/ProgressBar/types.d.ts
|
|
2
2
|
type ProgressBarSize = 'sm' | 'md' | 'lg';
|
|
3
3
|
type ProgressBarVariant = 'accent' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
|
|
4
|
+
/** 轨道上的目标刻度。`value` 和进度条用同一把尺子,`label` 是无障碍名,也是悬停和聚焦时的提示。 */
|
|
5
|
+
interface ProgressBarMark {
|
|
6
|
+
value: number;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
4
9
|
interface ProgressBarProps {
|
|
5
10
|
value?: number;
|
|
6
11
|
min?: number;
|
|
@@ -23,6 +28,11 @@ interface ProgressBarProps {
|
|
|
23
28
|
valueText?: string;
|
|
24
29
|
/** 用当前值和最大值生成数值文案,例如 `3.2 GB / 5 GB`。 */
|
|
25
30
|
formatValueLabel?: (value: number, max: number) => string;
|
|
31
|
+
/**
|
|
32
|
+
* 轨道上的目标刻度。不确定进度时不画。
|
|
33
|
+
* 落在填充色里的刻度用填充色上的前景色,还在轨道上的用主要文字色。
|
|
34
|
+
*/
|
|
35
|
+
marks?: readonly ProgressBarMark[];
|
|
26
36
|
width?: number | string;
|
|
27
37
|
}
|
|
28
38
|
//#endregion
|
|
@@ -37,4 +47,4 @@ declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {},
|
|
|
37
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
48
|
declare const _default: typeof __VLS_export;
|
|
39
49
|
//#endregion
|
|
40
|
-
export { ProgressBarVariant as i,
|
|
50
|
+
export { ProgressBarVariant as a, ProgressBarSize as i, ProgressBarMark as n, ProgressBarProps as r, _default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as ListItemSlots, a as ItemLayout, b as ListSlots, g as ListItemProps, h as ListEdgeCompensation, m as ListDensity, o as ItemProps, r as ItemElement, s as ItemSlots, t as ItemAlign, v as ListMarkerStyle, y as ListProps } from "./types-DGYHIu4I.js";
|
|
2
2
|
import { ComputedRef, InjectionKey } from "vue";
|
|
3
3
|
//#region src/List/context.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
2
|
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-3eXh_5os.js";
|
|
3
|
-
import { t as ExtendedIconName } from "./types-
|
|
3
|
+
import { t as ExtendedIconName } from "./types-CwyibrRB.js";
|
|
4
4
|
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-Db3Owy8Q.js";
|
|
5
5
|
import { Component, Ref, VNode } from "vue";
|
|
6
6
|
//#region src/ComplexSelector/types.d.ts
|