@astryx-vue/core 0.2.3 → 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 +2 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-ovx4cBjM.js → AlertDialog-B6UeBCE7.js} +2 -2
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Dd-D4bA2.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 +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CWGfgLNK.js → Breadcrumbs-D6G7f5WL.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-CnOsSjMY.js → Calendar-DmTeM7PO.js} +2 -2
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-JA7ilqI_.js → Carousel-CIKrcA2r.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C7WrCOE4.js → Chat-BFox3u9D.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CnCGnkZk.js → CheckboxList-BlPf7vPe.js} +4 -4
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CtwrU33I.js → Citation-BG-vg9ia.js} +1 -1
- 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-BvefYRpx.js → Code-XnPuGxey.js} +1 -1
- package/dist/{CodeBlock-BZGzYeoL.js → CodeBlock-B2pnEOJY.js} +145 -15
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BNbM9T9y.js → CommandPalette-DKgHzmJk.js} +10 -10
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-LtbLlrcj.js → ComplexSelector-Dv44FFhN.js} +1 -1
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DVQl0xL5.js → ContextMenu-BeJO5HYx.js} +4 -369
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-zm8sNc0t.js → DateInput-D4XFAEMp.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DlVFzrf7.js → DateRangeInput-Cp6AZfew.js} +2 -2
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-C7Z-p6Yd.js → DateTimeInput-B6MPPp76.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BoZChdev.js → DropdownMenu--lnUeJEG.js} +3 -3
- package/dist/{DropdownMenu-u1psFjis.js → DropdownMenu-6E9jFdFe.js} +4 -4
- package/dist/{DropdownMenuRadioItem.vue-uVM0FD2f.d.ts → DropdownMenuRadioItem.vue-CXEURBcq.d.ts} +1 -1
- 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-QdlZn7qK.js → FileInput-DuNwdbAo.js} +1 -1
- 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/Indicator/index.d.ts +2 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Item-DrYJL1TG.js +590 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BSzfqZ-u.js → Lightbox-Br3o0SyQ.js} +1 -1
- 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-B6tSqenv.js → Markdown-Bz0R3kNj.js} +274 -30
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-aN1tRn6W.js → MetadataList-CFaocx6j.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-fqcSafkc.js → MobileNavToggle-Dh3uLivq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B3brqdK_.js → MoreMenu-B95nRSe8.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BD5PMgez.js → MultiSelector-DuF5TECE.js} +4 -4
- package/dist/{NavDisclosure-DbYLDXK0.js → NavDisclosure-C6sPZ89n.js} +4 -1
- package/dist/NavHeadingSurface-Cb3x9iDx.js +287 -0
- package/dist/NavItem/index.d.ts +1 -1
- 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-DrwIMHKO.js → NavMenuItem-E7S8gBh-.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CBeU4lEl.js → NumberInput-B4IL3s_8.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline--HVMSB6i.js → Outline-DBUuchi9.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-FMh7r-r_.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-DlIvESjx.js → Pagination-CNe9F6Fl.js} +181 -45
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CMG7Rb69.js → PowerSearch-C6U8Sq1Y.js} +13 -13
- 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/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-CXpvj1TZ.js → ResizeHandle-DYy0e3v9.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BpPnuWH3.js → Selector-5N-hq2nF.js} +3 -3
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D4TupqgE.js → SideNav-CT9lfspi.js} +225 -229
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-H-6-T5Ps.js → Stepper-BqhVCgC-.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-nqA_njNz.js → Table-CsdH8fCB.js} +4 -4
- 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 -3
- package/dist/Theme/index.js +2 -2
- package/dist/Theme-CtaUWo4g.js +1246 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CXb3m_Hv.js → Thumbnail-BnQwX1cQ.js} +2 -2
- package/dist/{TimeField-B3cndWb0.js → TimeField-Biiuv0hB.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BHQ_LKGm.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-Cfuxbb3i.js → Timestamp-D7bd_nF3.js} +2 -2
- 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-CdVLH0_H.js → Token-D2GsI_Ei.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DlD-S_8-.js → Tokenizer-rwzamZg4.js} +3 -3
- 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-DzV874G7.js → TopNav-arWFLTBM.js} +112 -42
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DEwvlZRV.js → TreeList-C9xvMpJZ.js} +1 -1
- 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/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/composables-CWw6t-RJ.js +520 -0
- package/dist/{context-DmOLCubj.js → context-CPh7kE-a.js} +58 -10
- package/dist/{index-BRfR0lhb.d.ts → index-12QYAbiz.d.ts} +1 -1
- package/dist/{index-DMQG6kdM.d.ts → index-6yB8BtEu.d.ts} +2 -2
- package/dist/{index-f4NGT-e2.d.ts → index-B4OOtNP8.d.ts} +3 -3
- package/dist/index-BBtJt5_A.d.ts +26 -0
- package/dist/{index-Ch6BbxCP.d.ts → index-BH9PzQ1F.d.ts} +13 -8
- package/dist/{index-MPcg1Pm4.d.ts → index-BKr7yvVv.d.ts} +1 -1
- package/dist/{index-D_UEJIU5.d.ts → index-BPwD6aBv.d.ts} +1 -1
- package/dist/{index-D1Twv_fL.d.ts → index-BcZI402h.d.ts} +4 -4
- package/dist/{index-C8wDPDcP.d.ts → index-Bi49IrAJ.d.ts} +50 -8
- package/dist/{index-B1x05arQ.d.ts → index-BlOIC_AM.d.ts} +1 -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-BMn9ghAX.d.ts → index-Bu0Zd1uw.d.ts} +3 -3
- package/dist/{index-Ctu32CLv.d.ts → index-BxhJqiZ7.d.ts} +2 -2
- package/dist/{index-CA6RbRWx.d.ts → index-By2mSzUA.d.ts} +1 -1
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-LIyvJTW3.d.ts → index-C3GaPqvJ.d.ts} +84 -8
- package/dist/{index-DAiGhkNZ.d.ts → index-CFIXnk5D.d.ts} +1 -1
- package/dist/{index-ViSV0RBx.d.ts → index-CI9kyg74.d.ts} +12 -2
- package/dist/{index-C-QpeUlQ.d.ts → index-CNjbOgty.d.ts} +2 -2
- package/dist/{index-BB5yVIN-.d.ts → index-CUCcYKxl.d.ts} +3 -3
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-xfkEuGLY.d.ts → index-CZeoAr0a.d.ts} +2 -2
- package/dist/{index-C2sfHfBw.d.ts → index-D-ezcKaY.d.ts} +3 -3
- package/dist/{index-BcJBLWJ0.d.ts → index-DA52oIdw.d.ts} +2 -2
- package/dist/{index-D7-WTV6I.d.ts → index-D_nYxnNv.d.ts} +1 -1
- package/dist/{index-Cm_TiLXU.d.ts → index-Dgg0bHVM.d.ts} +7 -3
- package/dist/index-DxR1FChm.d.ts +158 -0
- package/dist/{index-BTAgQRP0.d.ts → index-EtZgovdH.d.ts} +169 -81
- package/dist/{index-B9f1rUEv.d.ts → index-XuAAcYiP.d.ts} +1 -1
- 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-D8o50qOE.d.ts → index-cL3q7O4R.d.ts} +32 -3
- package/dist/{index-CGZ2xi3r.d.ts → index-eshFLli0.d.ts} +40 -3
- package/dist/{index-DkVEBdWa.d.ts → index-fa72tWIU.d.ts} +2 -2
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-foQMNKZO.d.ts → index-hCpxKePE.d.ts} +49 -3
- package/dist/{index-DxsKyAxq.d.ts → index-vizlhXVs.d.ts} +131 -2
- package/dist/{index-DfgHJE7H.d.ts → index-z3uLM1O6.d.ts} +153 -24
- package/dist/index.d.ts +81 -80
- package/dist/index.js +118 -115
- 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-DN0HeRRB.js → searchResultMessage-CCnq-_ce.js} +1 -1
- package/dist/syntaxTheme-CwVEcVDk.d.ts +57 -0
- package/dist/{syntaxTheme-ClpWALZX.js → syntaxTheme-R7xnu5x5.js} +24 -3
- 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/{useMenuDrillIn-OaEwjK44.js → useMenuDrillIn-BgjJcY3K.js} +1 -1
- package/dist/useMenuPress-DUmEy4TB.js +425 -0
- package/dist/{composables-DDI08XFF.js → useResizable-B3ahKLoZ.js} +73 -248
- 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 +3 -1
- package/styles/bottom-sheet.css +27 -0
- package/styles/code.css +62 -0
- package/styles/container-reveal.css +104 -0
- package/styles/heading.css +47 -0
- 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/pagination.css +30 -0
- package/styles/progress-bar.css +49 -0
- 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 +2 -0
- package/dist/Heading-Dugosn6j.js +0 -43
- package/dist/Item-C1z6gXn8.js +0 -289
- package/dist/Link-DqdQZ37C.js +0 -141
- package/dist/Text-BHVghsWo.js +0 -53
- package/dist/Theme-CejS9MHm.js +0 -447
- package/dist/Typeahead-DQ3tmqYe.js +0 -375
- package/dist/index-Bqb_Fyju.d.ts +0 -80
- package/dist/index-Dg3ZmwEg.d.ts +0 -75
- package/dist/locale-CCwVnyMZ.js +0 -42
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +0 -38
- package/dist/types-jmqqnkKA.d.ts +0 -163
- package/dist/useHotkeys-dABSK1o9.js +0 -80
- package/dist/useLongPress-Cyxwa73s.js +0 -60
- package/dist/{index-BXkNZF3q.d.ts → index-IdK2g5B4.d.ts} +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as LinkProps, t as LinkColor } from "./types-D_J66aPN.js";
|
|
2
|
+
//#region src/Link/Link.vue.d.ts
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
click: (event: MouseEvent) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{
|
|
9
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
isDisabled: boolean;
|
|
12
|
+
color: LinkColor;
|
|
13
|
+
maxLines: number;
|
|
14
|
+
isExternalLink: boolean;
|
|
15
|
+
hasUnderline: boolean;
|
|
16
|
+
isStandalone: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { _default as t };
|
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as ThemeProps, i as MediaThemeProps, n as DefineThemeInput, o as ThemeDefinition, s as ThemeMode } from "./types-gKsEkk2g.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
|
-
//#region src/Theme/
|
|
4
|
-
declare function isDefinedTheme(value: unknown): value is ThemeDefinition;
|
|
3
|
+
//#region src/Theme/tokenName.d.ts
|
|
5
4
|
/** Accept `--color-accent`, `--astryx-color-accent`, or `color-accent`. */
|
|
6
5
|
declare function normalizeTokenName(name: string): string;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/Theme/defineTheme.d.ts
|
|
8
|
+
declare function isDefinedTheme(value: unknown): value is ThemeDefinition;
|
|
7
9
|
/**
|
|
8
10
|
* Create a theme object that `Theme` can apply to a subtree.
|
|
9
11
|
*
|
|
10
12
|
* Token names are the upstream names (`--color-accent`) or this package's
|
|
11
13
|
* prefixed names (`--astryx-color-accent`). A `[light, dark]` tuple becomes
|
|
12
|
-
* `light-dark()`.
|
|
14
|
+
* `light-dark()`. `color`, `typography`, `radius`, and `motion` generate
|
|
15
|
+
* tokens; an explicit `tokens` entry wins for that name.
|
|
16
|
+
*
|
|
17
|
+
* `var(--color-accent)` inside a value is rewritten to the prefixed name.
|
|
13
18
|
*/
|
|
14
19
|
declare function defineTheme(input: DefineThemeInput): ThemeDefinition;
|
|
15
20
|
/** Neutral, with no token overrides. Colors come from `@astryx-vue/themes/neutral.css`. */
|
|
16
21
|
declare const neutralTheme: ThemeDefinition;
|
|
17
22
|
//#endregion
|
|
18
23
|
//#region src/Theme/MediaTheme.vue.d.ts
|
|
19
|
-
declare var __VLS_1
|
|
24
|
+
declare var __VLS_1: {};
|
|
20
25
|
type __VLS_Slots$1 = {} & {
|
|
21
|
-
default?: (props: typeof __VLS_1
|
|
26
|
+
default?: (props: typeof __VLS_1) => any;
|
|
22
27
|
};
|
|
23
28
|
declare const __VLS_base$1: import("vue").DefineComponent<MediaThemeProps, {
|
|
24
29
|
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
@@ -34,9 +39,9 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
34
39
|
};
|
|
35
40
|
//#endregion
|
|
36
41
|
//#region src/Theme/Theme.vue.d.ts
|
|
37
|
-
declare var
|
|
42
|
+
declare var __VLS_6: {};
|
|
38
43
|
type __VLS_Slots = {} & {
|
|
39
|
-
default?: (props: typeof
|
|
44
|
+
default?: (props: typeof __VLS_6) => any;
|
|
40
45
|
};
|
|
41
46
|
declare const __VLS_base: import("vue").DefineComponent<ThemeProps, {
|
|
42
47
|
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
@@ -35,8 +35,8 @@ type __VLS_Slots$1 = {
|
|
|
35
35
|
default: () => unknown;
|
|
36
36
|
};
|
|
37
37
|
declare const __VLS_base$1: import("vue").DefineComponent<StackItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackItemProps> & Readonly<{}>, {
|
|
38
|
-
as: StackElement;
|
|
39
38
|
size: StackItemSize;
|
|
39
|
+
as: StackElement;
|
|
40
40
|
isScrollable: boolean;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -55,8 +55,8 @@ interface InputGroupTextSlots {
|
|
|
55
55
|
//#region src/InputGroup/InputGroup.vue.d.ts
|
|
56
56
|
type __VLS_Slots$1 = InputGroupSlots;
|
|
57
57
|
declare const __VLS_base$1: import("vue").DefineComponent<InputGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupProps> & Readonly<{}>, {
|
|
58
|
-
isOptional: boolean;
|
|
59
58
|
size: InputGroupSize;
|
|
59
|
+
isOptional: boolean;
|
|
60
60
|
isLabelHidden: boolean;
|
|
61
61
|
isRequired: boolean;
|
|
62
62
|
disabled: boolean;
|
|
@@ -141,15 +141,15 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
141
141
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
142
142
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
143
143
|
}>, {
|
|
144
|
-
|
|
144
|
+
size: MultiSelectorSize;
|
|
145
145
|
required: boolean;
|
|
146
|
-
status: MultiSelectorStatus;
|
|
147
146
|
isLoading: boolean;
|
|
148
|
-
|
|
147
|
+
variant: MultiSelectorVariant;
|
|
148
|
+
status: MultiSelectorStatus;
|
|
149
149
|
modelValue: readonly (string | number)[];
|
|
150
150
|
statusVariant: MultiSelectorStatusVariant;
|
|
151
|
-
disabled: boolean;
|
|
152
151
|
labelHidden: boolean;
|
|
152
|
+
disabled: boolean;
|
|
153
153
|
clearable: boolean;
|
|
154
154
|
optional: boolean;
|
|
155
155
|
isReadOnly: boolean;
|
|
@@ -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 { A as DropdownMenuSize, y as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-
|
|
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';
|
|
@@ -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
|
*/
|
|
@@ -12,14 +12,14 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
13
13
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
padding: PopoverPadding;
|
|
16
|
-
width: string | number;
|
|
17
15
|
label: string;
|
|
16
|
+
width: string | number;
|
|
17
|
+
padding: PopoverPadding;
|
|
18
18
|
isOpen: boolean;
|
|
19
19
|
placement: LayerPlacement;
|
|
20
20
|
alignment: LayerAlignment;
|
|
21
|
-
hasAutoFocus: boolean;
|
|
22
21
|
isEnabled: boolean;
|
|
22
|
+
hasAutoFocus: boolean;
|
|
23
23
|
role: PopoverRole;
|
|
24
24
|
isModal: boolean;
|
|
25
25
|
hasCloseButton: boolean;
|
|
@@ -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;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
"onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
|
|
53
53
|
onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
height: AppShellHeight;
|
|
56
55
|
variant: AppShellVariant;
|
|
56
|
+
height: AppShellHeight;
|
|
57
57
|
mobileNav: false | AppShellMobileNav;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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
|
|
@@ -141,6 +142,12 @@ interface InputMessages {
|
|
|
141
142
|
statusSuccess: string;
|
|
142
143
|
}
|
|
143
144
|
//#endregion
|
|
145
|
+
//#region src/locale/messages/keyboard-hint.d.ts
|
|
146
|
+
interface KeyboardHintMessages {
|
|
147
|
+
/** 方向键提示里,按键后面的那句说明。 */
|
|
148
|
+
navigate: string;
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
144
151
|
//#region src/locale/messages/layout.d.ts
|
|
145
152
|
interface LayoutMessages {
|
|
146
153
|
skipToContent: string;
|
|
@@ -208,6 +215,8 @@ interface NavMessages {
|
|
|
208
215
|
expandItem: (label: string) => string;
|
|
209
216
|
collapseItem: (label: string) => string;
|
|
210
217
|
submenu: (label: string) => string;
|
|
218
|
+
resizeSidebar: string;
|
|
219
|
+
opensInNewTab: string;
|
|
211
220
|
}
|
|
212
221
|
//#endregion
|
|
213
222
|
//#region src/locale/messages/number-input.d.ts
|
|
@@ -235,6 +244,20 @@ interface PaginationMessages {
|
|
|
235
244
|
compact: (page: number, totalPages: number) => string;
|
|
236
245
|
/** compact 变体的「Page X of Y」。 */
|
|
237
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;
|
|
238
261
|
}
|
|
239
262
|
//#endregion
|
|
240
263
|
//#region src/locale/messages/selector.d.ts
|
|
@@ -366,6 +389,7 @@ interface AstryxMessages {
|
|
|
366
389
|
dropdownMenu: DropdownMenuMessages;
|
|
367
390
|
fileInput: FileInputMessages;
|
|
368
391
|
input: InputMessages;
|
|
392
|
+
keyboardHint: KeyboardHintMessages;
|
|
369
393
|
layout: LayoutMessages;
|
|
370
394
|
lightbox: LightboxMessages;
|
|
371
395
|
markdown: MarkdownMessages;
|
|
@@ -389,14 +413,66 @@ interface AstryxMessages {
|
|
|
389
413
|
}
|
|
390
414
|
//#endregion
|
|
391
415
|
//#region src/locale/context.d.ts
|
|
392
|
-
declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<
|
|
393
|
-
declare
|
|
394
|
-
|
|
395
|
-
|
|
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>;
|
|
396
427
|
declare function useAstryxMessages(): ComputedRef<AstryxMessages>;
|
|
397
428
|
//#endregion
|
|
398
429
|
//#region src/locale/format.d.ts
|
|
399
|
-
declare function formatCalendarMonth(year: number, month: number, locale:
|
|
400
|
-
declare function weekdayNames(locale:
|
|
401
|
-
//#endregion
|
|
402
|
-
|
|
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,8 +47,8 @@ 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: "md" | "sm" | "lg";
|
|
50
51
|
step: number;
|
|
51
|
-
size: "sm" | "md" | "lg";
|
|
52
52
|
modelValue: number | null;
|
|
53
53
|
placeholder: string;
|
|
54
54
|
disabled: boolean;
|
|
@@ -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,18 +28,23 @@ 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
|
|
29
39
|
//#region src/ProgressBar/ProgressBar.vue.d.ts
|
|
30
40
|
declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
31
|
-
variant: ProgressBarVariant;
|
|
32
41
|
size: ProgressBarSize;
|
|
33
42
|
value: number;
|
|
43
|
+
variant: ProgressBarVariant;
|
|
34
44
|
isLabelHidden: boolean;
|
|
35
45
|
min: number;
|
|
36
46
|
max: number;
|
|
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 };
|
|
@@ -100,11 +100,11 @@ type __VLS_Slots = {
|
|
|
100
100
|
default: () => unknown;
|
|
101
101
|
};
|
|
102
102
|
declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
103
|
-
change: (value: string) => any;
|
|
104
103
|
"update:value": (value: string) => any;
|
|
104
|
+
change: (value: string) => any;
|
|
105
105
|
}, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
|
|
106
|
-
onChange?: ((value: string) => any) | undefined;
|
|
107
106
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
107
|
+
onChange?: ((value: string) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
size: TabListSize;
|
|
110
110
|
isFullBleed: boolean;
|
|
@@ -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
|
/**
|
|
@@ -32,10 +32,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
32
32
|
focus: typeof focus;
|
|
33
33
|
blur: typeof blur;
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
|
-
isSelected: boolean;
|
|
36
35
|
isDisabled: boolean;
|
|
37
|
-
density: ListDensity;
|
|
38
36
|
as: ItemElement;
|
|
37
|
+
density: ListDensity;
|
|
38
|
+
isSelected: boolean;
|
|
39
39
|
align: ItemAlign;
|
|
40
40
|
layout: ItemLayout;
|
|
41
41
|
isHighlighted: boolean;
|
|
@@ -85,8 +85,8 @@ interface StepSlots {
|
|
|
85
85
|
type __VLS_Slots$1 = StepSlots;
|
|
86
86
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
87
|
isDisabled: boolean;
|
|
88
|
-
indicator: StepIndicator;
|
|
89
88
|
isOptional: boolean;
|
|
89
|
+
indicator: StepIndicator;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
92
92
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -64,9 +64,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
64
64
|
}, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
|
|
65
65
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
|
-
padding: DialogPadding;
|
|
68
|
-
width: string | number;
|
|
69
67
|
variant: DialogVariant;
|
|
68
|
+
width: string | number;
|
|
69
|
+
padding: DialogPadding;
|
|
70
70
|
isInline: boolean;
|
|
71
71
|
position: DialogPosition;
|
|
72
72
|
purpose: DialogPurpose;
|
|
@@ -129,12 +129,12 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
129
129
|
onSearch?: ((query: string) => any) | undefined;
|
|
130
130
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
131
131
|
}>, {
|
|
132
|
+
size: SelectorSize;
|
|
133
|
+
isLoading: boolean;
|
|
132
134
|
variant: SelectorVariant;
|
|
133
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
134
135
|
status: SelectorStatusInput;
|
|
135
136
|
isOptional: boolean;
|
|
136
|
-
|
|
137
|
-
size: SelectorSize;
|
|
137
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
138
138
|
modelValue: string | number | null;
|
|
139
139
|
isLabelHidden: boolean;
|
|
140
140
|
isRequired: boolean;
|
|
@@ -150,11 +150,11 @@ type __VLS_ModelProps = {
|
|
|
150
150
|
};
|
|
151
151
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
152
152
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
153
|
-
change: (value: CollapsibleGroupValue) => any;
|
|
154
153
|
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
154
|
+
change: (value: CollapsibleGroupValue) => any;
|
|
155
155
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
156
|
-
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
157
156
|
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
157
|
+
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
158
158
|
}>, {
|
|
159
159
|
type: CollapsibleGroupType;
|
|
160
160
|
hasDividers: boolean;
|
|
@@ -82,8 +82,8 @@ type __VLS_Slots = CardSlots;
|
|
|
82
82
|
declare const __VLS_base: import("vue").DefineComponent<CardProps, {
|
|
83
83
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
84
84
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
85
|
-
variant: CardVariant;
|
|
86
85
|
elevation: CardElevation;
|
|
86
|
+
variant: CardVariant;
|
|
87
87
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
88
88
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
89
89
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TextProps, c as TextType, i as TextJustify, n as TextColor, r as TextDisplay, s as TextTruncateTooltip, t as TextAs } from "./types-D9nP_X-c.js";
|
|
2
2
|
//#region src/Text/Text.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_13: {}, __VLS_21: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_13) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_21) => any;
|
|
6
8
|
};
|
|
7
9
|
declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextProps> & Readonly<{}>, {
|
|
8
10
|
type: TextType;
|
|
9
11
|
as: TextAs;
|
|
10
12
|
color: TextColor;
|
|
11
13
|
display: TextDisplay;
|
|
14
|
+
justify: TextJustify;
|
|
12
15
|
maxLines: number;
|
|
16
|
+
hasTruncateTooltip: TextTruncateTooltip;
|
|
13
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
19
|
declare const _default: typeof __VLS_export;
|