@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
|
@@ -72,8 +72,8 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
72
72
|
//#region src/Tokenizer/Tokenizer.vue.d.ts
|
|
73
73
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
74
74
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
75
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
76
75
|
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
76
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
78
78
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
79
79
|
}> & (typeof globalThis extends {
|
|
@@ -85,7 +85,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
85
85
|
}>) => void;
|
|
86
86
|
attrs: any;
|
|
87
87
|
slots: TokenizerSlots<T>;
|
|
88
|
-
emit: ((evt: "
|
|
88
|
+
emit: ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "search", query: string) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
89
89
|
}>) => import("vue").VNode & {
|
|
90
90
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
91
91
|
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { C as IndicatorComponent, D as IndicatorName, S as CoreIndicatorName, j as IndicatorSize, k as IndicatorProps, o as ThemeDefinition } from "./types-gKsEkk2g.js";
|
|
2
|
+
import { ComputedRef, VNodeChild } from "vue";
|
|
3
|
+
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
|
+
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
5
|
+
declare var __VLS_1$1: {};
|
|
6
|
+
type __VLS_Slots$1 = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_Props$1, {
|
|
10
|
+
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{}>, {
|
|
12
|
+
size: IndicatorSize;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
15
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
16
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Indicator/isRenderable.d.ts
|
|
23
|
+
/**
|
|
24
|
+
* Whether a slot or vnode should replace an indicator's own mark.
|
|
25
|
+
*
|
|
26
|
+
* Null, undefined, booleans, and the empty string do not count. An element
|
|
27
|
+
* does, even when that element later renders nothing. A host writes
|
|
28
|
+
* `v-if="busy"` around a spinner, and `false` must not delete the mark.
|
|
29
|
+
*/
|
|
30
|
+
declare function isRenderable(value: VNodeChild | VNodeChild[] | undefined): boolean;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/Indicator/RadioIndicator.vue.d.ts
|
|
33
|
+
type __VLS_Props = IndicatorProps<'singleSelection'>;
|
|
34
|
+
declare var __VLS_1: {};
|
|
35
|
+
type __VLS_Slots = {} & {
|
|
36
|
+
default?: (props: typeof __VLS_1) => any;
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
39
|
+
element: Readonly<import("vue").ShallowRef<HTMLSpanElement | null>>;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/Indicator/registry.d.ts
|
|
50
|
+
/**
|
|
51
|
+
* The graphics this package ships.
|
|
52
|
+
*
|
|
53
|
+
* A theme's `indicators` entries replace these by name. The set is closed:
|
|
54
|
+
* a name added by augmentation is not in here.
|
|
55
|
+
*/
|
|
56
|
+
declare const defaultIndicators: { [N in CoreIndicatorName]: IndicatorComponent; };
|
|
57
|
+
declare function isCoreIndicatorName(name: string): name is CoreIndicatorName;
|
|
58
|
+
/**
|
|
59
|
+
* Resolve one graphic by name.
|
|
60
|
+
*
|
|
61
|
+
* A core name always resolves. A name this package does not know resolves
|
|
62
|
+
* only when the theme supplies it.
|
|
63
|
+
*/
|
|
64
|
+
declare function getIndicator<N extends CoreIndicatorName>(name: N, theme?: ThemeDefinition | null): IndicatorComponent;
|
|
65
|
+
declare function getIndicator(name: IndicatorName | (string & {}), theme?: ThemeDefinition | null): IndicatorComponent | undefined;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Indicator/useIndicator.d.ts
|
|
68
|
+
/**
|
|
69
|
+
* The indicator graphic from the nearest theme.
|
|
70
|
+
*
|
|
71
|
+
* A core name always resolves. Any other name resolves only when that theme
|
|
72
|
+
* supplies a component.
|
|
73
|
+
*/
|
|
74
|
+
declare function useIndicator<N extends CoreIndicatorName>(name: N): ComputedRef<IndicatorComponent>;
|
|
75
|
+
declare function useIndicator(name: string): ComputedRef<IndicatorComponent | undefined>;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { _default as a, isCoreIndicatorName as i, defaultIndicators as n, isRenderable as o, getIndicator as r, _default$1 as s, useIndicator as t };
|
|
@@ -69,15 +69,50 @@ interface NavDisclosureSlots {
|
|
|
69
69
|
focusRequest: NavMenuFocusRequest;
|
|
70
70
|
}) => unknown;
|
|
71
71
|
}
|
|
72
|
+
interface NavHeadingMenuProps {
|
|
73
|
+
/** 菜单的无障碍名称。标题没传时可以自己写。 */
|
|
74
|
+
label?: string;
|
|
75
|
+
/** 菜单宽度档,也会传给每一项的内边距。 @default 'md' */
|
|
76
|
+
size?: NavMenuSize;
|
|
77
|
+
/** 覆盖按档位算出的最小宽度。数字按像素。 */
|
|
78
|
+
minWidth?: number | string;
|
|
79
|
+
/** 键盘打开后聚焦第一项或最后一项。 */
|
|
80
|
+
focusRequest?: NavMenuFocusRequest;
|
|
81
|
+
}
|
|
82
|
+
interface NavHeadingMenuEmits {
|
|
83
|
+
close: [];
|
|
84
|
+
}
|
|
85
|
+
interface NavHeadingMenuItemProps {
|
|
86
|
+
/** 主文字。自定义内容用默认插槽,插槽优先。 */
|
|
87
|
+
label?: string;
|
|
88
|
+
/** 主文字下面的辅助说明。 */
|
|
89
|
+
description?: string;
|
|
90
|
+
/** 有地址时渲染成链接。 */
|
|
91
|
+
href?: string;
|
|
92
|
+
/** 链接根组件。 */
|
|
93
|
+
as?: NavLinkComponent;
|
|
94
|
+
/** 图标 CSS class。 */
|
|
95
|
+
iconClass?: string;
|
|
96
|
+
/** 禁用后不响应点击,方向键和首字母查找也会跳过。 @default false */
|
|
97
|
+
isDisabled?: boolean;
|
|
98
|
+
}
|
|
99
|
+
interface NavHeadingMenuItemEmits {
|
|
100
|
+
click: [event: MouseEvent];
|
|
101
|
+
}
|
|
102
|
+
interface NavHeadingMenuItemSlots {
|
|
103
|
+
/** 自定义主文字。有插槽时不再显示 `label`。 */
|
|
104
|
+
default?: () => unknown;
|
|
105
|
+
icon?: () => unknown;
|
|
106
|
+
}
|
|
72
107
|
//#endregion
|
|
73
108
|
//#region src/NavMenu/NavDisclosure.vue.d.ts
|
|
74
109
|
type __VLS_Props = NavDisclosureProps;
|
|
75
|
-
type __VLS_Slots$
|
|
110
|
+
type __VLS_Slots$4 = NavDisclosureSlots;
|
|
76
111
|
type __VLS_ModelProps = {
|
|
77
112
|
'isOpen'?: boolean;
|
|
78
113
|
};
|
|
79
114
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
80
|
-
declare const __VLS_base$
|
|
115
|
+
declare const __VLS_base$4: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
116
|
openChange: (isOpen: boolean) => any;
|
|
82
117
|
"update:isOpen": (value: boolean) => any;
|
|
83
118
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -90,6 +125,44 @@ declare const __VLS_base$2: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
90
125
|
hover: boolean;
|
|
91
126
|
showDelay: number;
|
|
92
127
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
128
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
129
|
+
declare const _default$4: typeof __VLS_export$4;
|
|
130
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
131
|
+
new (): {
|
|
132
|
+
$slots: S;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/NavMenu/NavHeadingMenu.vue.d.ts
|
|
137
|
+
declare var __VLS_1$1: {};
|
|
138
|
+
type __VLS_Slots$3 = {} & {
|
|
139
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
140
|
+
};
|
|
141
|
+
declare const __VLS_base$3: import("vue").DefineComponent<NavHeadingMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
142
|
+
close: () => any;
|
|
143
|
+
}, string, import("vue").PublicProps, Readonly<NavHeadingMenuProps> & Readonly<{
|
|
144
|
+
onClose?: (() => any) | undefined;
|
|
145
|
+
}>, {
|
|
146
|
+
size: NavMenuSize;
|
|
147
|
+
focusRequest: NavMenuFocusRequest;
|
|
148
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
149
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
150
|
+
declare const _default$3: typeof __VLS_export$3;
|
|
151
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
152
|
+
new (): {
|
|
153
|
+
$slots: S;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/NavMenu/NavHeadingMenuItem.vue.d.ts
|
|
158
|
+
type __VLS_Slots$2 = NavHeadingMenuItemSlots;
|
|
159
|
+
declare const __VLS_base$2: import("vue").DefineComponent<NavHeadingMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
160
|
+
click: (event: MouseEvent) => any;
|
|
161
|
+
}, string, import("vue").PublicProps, Readonly<NavHeadingMenuItemProps> & Readonly<{
|
|
162
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
163
|
+
}>, {
|
|
164
|
+
isDisabled: boolean;
|
|
165
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
166
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
94
167
|
declare const _default$2: typeof __VLS_export$2;
|
|
95
168
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -138,4 +211,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
138
211
|
};
|
|
139
212
|
};
|
|
140
213
|
//#endregion
|
|
141
|
-
export {
|
|
214
|
+
export { _default$4 as a, NavHeadingMenuItemEmits as c, NavMenuEmits as d, NavMenuItemEmits as f, NavMenuSize as g, NavMenuFocusRequest as h, _default$3 as i, NavHeadingMenuItemProps as l, NavMenuProps as m, _default$1 as n, NavDisclosureProps as o, NavMenuItemProps as p, _default$2 as r, NavHeadingMenuEmits as s, _default as t, NavHeadingMenuProps as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from "./types-D9nP_X-c.js";
|
|
2
2
|
//#region src/Timer/format.d.ts
|
|
3
3
|
type TimerFormat = 'elapsed' | 'clock';
|
|
4
4
|
interface TimerPresentation {
|
|
@@ -142,8 +142,8 @@ type __VLS_Slots$1 = GridSlots;
|
|
|
142
142
|
declare const __VLS_base$1: import("vue").DefineComponent<GridProps, {
|
|
143
143
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
144
144
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GridProps> & Readonly<{}>, {
|
|
145
|
-
align: GridAlignment;
|
|
146
145
|
justify: GridAlignment;
|
|
146
|
+
align: GridAlignment;
|
|
147
147
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
148
148
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
149
149
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/Pagination/types.d.ts
|
|
2
2
|
/** 上一页和下一页之间显示什么。 */
|
|
3
|
-
type PaginationVariant = 'pages' | 'count' | 'compact' | 'dots' | 'none';
|
|
3
|
+
type PaginationVariant = 'pages' | 'count' | 'compact' | 'dots' | 'input' | 'none';
|
|
4
4
|
/** 控件尺寸。 */
|
|
5
5
|
type PaginationSize = 'sm' | 'md';
|
|
6
6
|
interface PaginationProps {
|
|
@@ -17,10 +17,37 @@ interface PaginationProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* 中间区域的形态。
|
|
19
19
|
* `pages` 是页码,`count` 是「起–止 / 总数」,`compact` 是「第几页 / 共几页」,
|
|
20
|
-
* `dots` 是圆点,`none` 只留上一页和下一页。
|
|
20
|
+
* `dots` 是圆点,`input` 是可输入的页码,`none` 只留上一页和下一页。
|
|
21
21
|
* @default 'pages'
|
|
22
22
|
*/
|
|
23
23
|
variant?: PaginationVariant;
|
|
24
|
+
/**
|
|
25
|
+
* `pages` 形态下,当前页两侧各留几个页码。不传时宽容器是 1,窄容器会再收一档。
|
|
26
|
+
*/
|
|
27
|
+
siblingCount?: number;
|
|
28
|
+
/**
|
|
29
|
+
* 上一页 / 下一页每次跳几页。越过边界时停在第一页或最后一页。
|
|
30
|
+
* @default 1
|
|
31
|
+
*/
|
|
32
|
+
step?: number;
|
|
33
|
+
/**
|
|
34
|
+
* 总数还不知道时,后面是否还有内容。`total` 大于 0 时以总条目数为准,这个值不再生效。
|
|
35
|
+
*/
|
|
36
|
+
hasMore?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* `input` 形态里,输入框前面的名词。不传时用当前语言的「Page」或「页」。
|
|
39
|
+
*/
|
|
40
|
+
pageLabel?: string;
|
|
41
|
+
/**
|
|
42
|
+
* 是否在上一页 / 下一页外侧放跳到首尾的按钮。
|
|
43
|
+
* 不传时只在 `input` 形态、并且总页数已知时显示。
|
|
44
|
+
* `null` 和缺省是同一件事。布尔属性缺省会被当成 false,所以这里用 null 表示没指定。
|
|
45
|
+
*/
|
|
46
|
+
hasFirstLast?: boolean | null;
|
|
47
|
+
/**
|
|
48
|
+
* 页码已经提交之后再跑的动作。控件会在它结束前标成忙碌,失败也不会把页码改回去。
|
|
49
|
+
*/
|
|
50
|
+
changeAction?: (page: number) => void | Promise<void>;
|
|
24
51
|
/**
|
|
25
52
|
* 控件高度。
|
|
26
53
|
* @default 'md'
|
|
@@ -68,10 +95,12 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
68
95
|
}>, {
|
|
69
96
|
size: PaginationSize;
|
|
70
97
|
variant: PaginationVariant;
|
|
98
|
+
step: number;
|
|
71
99
|
disabled: boolean;
|
|
72
100
|
page: number;
|
|
73
101
|
pageSize: number;
|
|
74
102
|
total: number;
|
|
103
|
+
hasFirstLast: boolean | null;
|
|
75
104
|
showSizeChanger: boolean;
|
|
76
105
|
pageSizeOptions: number[];
|
|
77
106
|
showTotal: boolean;
|
|
@@ -4,6 +4,10 @@ type HeadingType = 'display-1' | 'display-2' | 'display-3' | 'body' | 'large' |
|
|
|
4
4
|
type HeadingColor = 'primary' | 'secondary' | 'accent' | 'inherit';
|
|
5
5
|
type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
6
6
|
type HeadingDisplay = 'block' | 'inline';
|
|
7
|
+
type HeadingWrap = 'wrap' | 'nowrap' | 'balance' | 'pretty';
|
|
8
|
+
type HeadingWordBreak = 'break-word' | 'break-all';
|
|
9
|
+
type HeadingJustify = 'start' | 'center' | 'end';
|
|
10
|
+
type HeadingTruncateTooltip = boolean | 'above' | 'below' | 'start' | 'end';
|
|
7
11
|
interface HeadingProps {
|
|
8
12
|
/**
|
|
9
13
|
* Heading level (1-6). Determines the semantic HTML element (h1–h6).
|
|
@@ -27,22 +31,55 @@ interface HeadingProps {
|
|
|
27
31
|
* @default 'block'
|
|
28
32
|
*/
|
|
29
33
|
display?: HeadingDisplay;
|
|
34
|
+
/**
|
|
35
|
+
* Document outline level when it should differ from the visual `level`.
|
|
36
|
+
* The element stays `h{level}`; assistive technology reads this instead.
|
|
37
|
+
*/
|
|
38
|
+
accessibilityLevel?: HeadingLevel;
|
|
39
|
+
/**
|
|
40
|
+
* CSS `text-wrap` behavior.
|
|
41
|
+
*/
|
|
42
|
+
textWrap?: HeadingWrap;
|
|
43
|
+
/**
|
|
44
|
+
* How long unbroken strings break. Single-line truncation defaults to
|
|
45
|
+
* `break-all`; more than one line defaults to `break-word`.
|
|
46
|
+
*/
|
|
47
|
+
wordBreak?: HeadingWordBreak;
|
|
48
|
+
/**
|
|
49
|
+
* Text alignment. `start` and `end` follow the writing direction.
|
|
50
|
+
* @default 'start'
|
|
51
|
+
*/
|
|
52
|
+
justify?: HeadingJustify;
|
|
53
|
+
/**
|
|
54
|
+
* Draws a line through the text.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
hasStrikethrough?: boolean;
|
|
30
58
|
/**
|
|
31
59
|
* Maximum lines before truncation. 0 means no truncation.
|
|
32
60
|
* @default 0
|
|
33
61
|
*/
|
|
34
62
|
maxLines?: number;
|
|
63
|
+
/**
|
|
64
|
+
* 截断之后要不要把全文放进提示。`true` 出现在上方,方位字符串指定位置,`false` 关掉。
|
|
65
|
+
* @default true
|
|
66
|
+
*/
|
|
67
|
+
hasTruncateTooltip?: HeadingTruncateTooltip;
|
|
35
68
|
}
|
|
36
69
|
//#endregion
|
|
37
70
|
//#region src/Heading/Heading.vue.d.ts
|
|
38
|
-
declare var
|
|
71
|
+
declare var __VLS_13: {}, __VLS_21: {};
|
|
39
72
|
type __VLS_Slots = {} & {
|
|
40
|
-
default?: (props: typeof
|
|
73
|
+
default?: (props: typeof __VLS_13) => any;
|
|
74
|
+
} & {
|
|
75
|
+
default?: (props: typeof __VLS_21) => any;
|
|
41
76
|
};
|
|
42
77
|
declare const __VLS_base: import("vue").DefineComponent<HeadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
43
78
|
color: HeadingColor;
|
|
44
79
|
display: HeadingDisplay;
|
|
80
|
+
justify: HeadingJustify;
|
|
45
81
|
maxLines: number;
|
|
82
|
+
hasTruncateTooltip: HeadingTruncateTooltip;
|
|
46
83
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
85
|
declare const _default: typeof __VLS_export;
|
|
@@ -52,4 +89,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
52
89
|
};
|
|
53
90
|
};
|
|
54
91
|
//#endregion
|
|
55
|
-
export {
|
|
92
|
+
export { HeadingLevel as a, HeadingType as c, HeadingWrap as d, HeadingJustify as i, HeadingWeight as l, HeadingColor as n, HeadingProps as o, HeadingDisplay as r, HeadingTruncateTooltip as s, _default as t, HeadingWordBreak as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as SyntaxThemeDefinition, o as SyntaxThemeTokens, s as SyntaxTokenKey } from "./syntaxTheme-CwVEcVDk.js";
|
|
2
2
|
import "./useClipboard-CU-kfqeJ.js";
|
|
3
3
|
import { ComputedRef, VNodeChild } from "vue";
|
|
4
4
|
//#region src/Code/types.d.ts
|
|
@@ -96,6 +96,17 @@ interface CodeBlockProps {
|
|
|
96
96
|
hasLineNumbers?: boolean;
|
|
97
97
|
/** One-indexed line numbers to emphasize with an accent background. */
|
|
98
98
|
highlightLines?: number[];
|
|
99
|
+
/**
|
|
100
|
+
* Paint the code as a unified diff over `language`.
|
|
101
|
+
*
|
|
102
|
+
* A line starting with `+` is added, `-` is removed, and `@@` is a hunk
|
|
103
|
+
* header. A `--- ` line directly followed by a `+++ ` line and then `@@`
|
|
104
|
+
* is a file header. The glyph sits in its own column. The rest of every
|
|
105
|
+
* line keeps this language's syntax colors. Copy still writes `code`,
|
|
106
|
+
* glyphs included. The header reads `diff`, or `<language> diff`.
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
isDiff?: boolean;
|
|
99
110
|
/**
|
|
100
111
|
* Whether to show the copy button.
|
|
101
112
|
* @default true
|
|
@@ -204,6 +215,7 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
|
|
|
204
215
|
language: string;
|
|
205
216
|
hasLanguageLabel: boolean;
|
|
206
217
|
hasLineNumbers: boolean;
|
|
218
|
+
isDiff: boolean;
|
|
207
219
|
hasCopyButton: boolean;
|
|
208
220
|
isWrapped: boolean;
|
|
209
221
|
isCollapsible: boolean;
|
|
@@ -215,6 +227,40 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
|
|
|
215
227
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
216
228
|
declare const _default$1: typeof __VLS_export$1;
|
|
217
229
|
//#endregion
|
|
230
|
+
//#region src/Code/diff.d.ts
|
|
231
|
+
/** How a unified-diff line reads: what it adds, removes, frames, or keeps. */
|
|
232
|
+
type DiffLineKind = 'added' | 'removed' | 'header' | 'context';
|
|
233
|
+
interface DiffLines {
|
|
234
|
+
kinds: DiffLineKind[];
|
|
235
|
+
glyphs: string[];
|
|
236
|
+
content: string[];
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Read a fence info string the way a diff layer does.
|
|
240
|
+
* `diff` is the layer over plaintext. `diff-<lang>` is the layer over that
|
|
241
|
+
* language. Anything else, including `patch`, is just a language name.
|
|
242
|
+
*/
|
|
243
|
+
declare function parseFenceLanguage(info: string | undefined): {
|
|
244
|
+
language: string;
|
|
245
|
+
isDiff: boolean;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Split a diff into the glyph column and the code the base language sees.
|
|
249
|
+
* Added, removed, and space-led context lines lose their first character.
|
|
250
|
+
* A context line with no leading space keeps all of it. Header lines
|
|
251
|
+
* contribute an empty line so token offsets stay per line; the renderer
|
|
252
|
+
* paints those rows from the original text.
|
|
253
|
+
*/
|
|
254
|
+
declare function splitDiffLines(lines: readonly string[]): DiffLines;
|
|
255
|
+
/**
|
|
256
|
+
* Classify one line by its first character.
|
|
257
|
+
* `+` is added, `-` is removed, `@@` is a hunk header. A `--- ` line
|
|
258
|
+
* directly followed by a `+++ ` line and then an `@@` line is a file header
|
|
259
|
+
* wherever it occurs. Every other `---` or `+++` line is a change, so
|
|
260
|
+
* `---i;` is never mistaken for a header.
|
|
261
|
+
*/
|
|
262
|
+
declare function diffLineKind(line: string, isFileHeader?: boolean): DiffLineKind;
|
|
263
|
+
//#endregion
|
|
218
264
|
//#region src/Code/highlightRanges.d.ts
|
|
219
265
|
/** Token types painted by the stylesheet, so they never need a generated rule. */
|
|
220
266
|
declare const HIGHLIGHTED_TOKEN_TYPES: readonly ["keyword", "string", "comment", "number", "function", "type", "tag", "attribute", "property", "operator", "constant", "punctuation", "variable"];
|
|
@@ -306,4 +352,4 @@ interface UseSyntaxThemeReturn {
|
|
|
306
352
|
*/
|
|
307
353
|
declare function useSyntaxTheme(): UseSyntaxThemeReturn | null;
|
|
308
354
|
//#endregion
|
|
309
|
-
export {
|
|
355
|
+
export { _default$2 as A, CodeSlots as B, applyHighlightRanges as C, parseFenceLanguage as D, diffLineKind as E, CodeBlockTokenizer as F, TokenLine as H, CodeColor as I, CodeHighlightMode as L, CodeBlockEmits as M, CodeBlockProps as N, splitDiffLines as O, CodeBlockSize as P, CodeProps as R, HIGHLIGHTED_TOKEN_TYPES as S, DiffLines as T, SyntaxToken as V, oneDarkPro as _, tokenize as a, tokyoNight as b, allSyntaxPresets as c, darkSyntaxPresets as d, dracula as f, nord as g, monokai as h, flatTokensToLines as i, CodeBlockContainer as j, _default$1 as k, catppuccinLatte as l, lightSyntaxPresets as m, useSyntaxTheme as n, tokenizeAsync as o, githubLight as p, SYNC_TOKENIZE_THRESHOLD as r, _default as s, UseSyntaxThemeReturn as t, catppuccinMocha as u, oneLight as v, DiffLineKind as w, tokyoNightLight as x, solarizedLight as y, CodeSize as z };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "./types-
|
|
1
|
+
import { i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "./types-CwyibrRB.js";
|
|
2
|
+
import { ComputedRef, MaybeRefOrGetter } from "vue";
|
|
2
3
|
//#region src/Icon/glyphs.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* A name that resolves to built-in artwork: one of the semantic names the
|
|
@@ -10,7 +11,7 @@ type IconGlyphName = IconName | `${string}:${string}`;
|
|
|
10
11
|
* The artwork kept for the components' own chrome. Applications bring their own
|
|
11
12
|
* icons; this list only has to cover what astryx-vue draws itself.
|
|
12
13
|
*/
|
|
13
|
-
declare const ICON_GLYPHS: readonly ["chevronDown", "chevronLeft", "chevronRight", "check", "
|
|
14
|
+
declare const ICON_GLYPHS: readonly ["close", "chevronDown", "chevronLeft", "chevronRight", "chevronsLeft", "chevronsRight", "check", "success", "error", "warning", "info", "calendar", "clock", "externalLink", "menu", "moreHorizontal", "search", "upload", "arrowUp", "arrowDown", "arrowsUpDown", "funnel", "eyeSlash", "viewColumns", "copy", "checkDouble", "wrench", "stop", "microphone", "image"];
|
|
14
15
|
declare function isIconGlyph(value: string): value is IconGlyphName;
|
|
15
16
|
/** The CSS-safe form of a name, used as the `astryx-icon--<slug>` class. */
|
|
16
17
|
declare function iconGlyphSlug(name: IconGlyphName): string;
|
|
@@ -28,4 +29,13 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
//#endregion
|
|
31
|
-
|
|
32
|
+
//#region src/Icon/useSemanticIcon.d.ts
|
|
33
|
+
/**
|
|
34
|
+
* The Iconify id for a semantic icon name, from the nearest theme.
|
|
35
|
+
*
|
|
36
|
+
* Returns undefined when the name is not a semantic icon and the theme does
|
|
37
|
+
* not map it. Callers then keep the built-in glyph or a CSS class.
|
|
38
|
+
*/
|
|
39
|
+
declare function useSemanticIcon(name: MaybeRefOrGetter<string | undefined>): ComputedRef<string | undefined>;
|
|
40
|
+
//#endregion
|
|
41
|
+
export { iconGlyphSlug as a, IconGlyphName as i, _default as n, isIconGlyph as o, ICON_GLYPHS as r, useSemanticIcon as t };
|