@astryx-vue/core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BylcA4vV.js → AlertDialog-ovx4cBjM.js} +1 -1
- package/dist/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-EiGyPFbA.js +249 -0
- package/dist/AspectRatio/index.d.ts +2 -0
- package/dist/AspectRatio/index.js +2 -0
- package/dist/AspectRatio-Bij7e-tq.js +40 -0
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-BEyrkUtr.js → Calendar-BG7wEsro.js} +1 -1
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/index.js +2 -0
- package/dist/Carousel-BTtHkKea.js +363 -0
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CO3mCs9A.js → Chat-DjNxw5gv.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C86o3XoG.js → CheckboxInput-CMsEE1_4.js} +4 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BL2sDOWK.js → CheckboxList-EsIEXjK_.js} +2 -2
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BqwJvw7o.js → Citation-DijdbUUu.js} +2 -2
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Code/index.d.ts +3 -2
- package/dist/Code/index.js +4 -2
- package/dist/Code-yb_KOFtJ.js +299 -0
- package/dist/{CodeBlock-BQdooQy2.js → CodeBlock-CxTb6j9_.js} +8 -2
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-9MC08X39.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-BD2iODF5.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-D9iXd5cH.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-dA-ppaRQ.js → ContextMenu-HS_WqYIg.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BOIb0zAp.js → DateInput-DE2TN1Rq.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-1bhPGG2s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-SnPdgk6P.js} +4 -4
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-B0gogrvG.js → DropdownMenu-UJGych6v.js} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Bhlqgsg4.js → EmptyState-CUJdTYKV.js} +1 -1
- package/dist/Field/index.js +2 -2
- package/dist/{Field-VlTBsIEo.js → Field-8zRxzDHE.js} +11 -3
- package/dist/{FieldLabel-B1NRyQlS.js → FieldLabel-DmmJyX7w.js} +6 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CYvEV503.js → FileInput-BQiwE-GB.js} +3 -3
- package/dist/FormLayout/index.d.ts +2 -0
- package/dist/FormLayout/index.js +2 -0
- package/dist/FormLayout-D47FjiOq.js +40 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Icon/index.js +2 -0
- package/dist/{Icon-5MdZQ18k.js → Icon-Dfr4k6-S.js} +1 -1
- package/dist/Layout/index.d.ts +2 -0
- package/dist/Layout/index.js +3 -0
- package/dist/Layout-Bed3kP0M.js +56 -0
- package/dist/LayoutPanel-C34uOq3e.js +358 -0
- package/dist/Lightbox/index.d.ts +2 -0
- package/dist/Lightbox/index.js +2 -0
- package/dist/Lightbox-CshKoB0r.js +384 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Dnlp8cVx.js → Markdown-D-Ua055V.js} +2 -2
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-sYph_d8Q.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-DD9D01aj.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BXL6Dqsu.js → MoreMenu-BVrK5kkk.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DiYov9sF.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenuItem-mzNQESpB.js → NavMenuItem-B-k7olt5.js} +2 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C3S-4dIu.js → NumberInput-CTYiQxHq.js} +1 -1
- package/dist/Outline/index.d.ts +2 -0
- package/dist/Outline/index.js +2 -0
- package/dist/Outline-DQfEBxlc.js +325 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-BU5VCntl.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-HdhtykeF.js} +2 -2
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DS6oTV_j.js → RadioGroup-BqjdSCfJ.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-pwr93I-z.js → RadioList-DI8ujXcT.js} +1 -1
- package/dist/Resizable/index.d.ts +2 -0
- package/dist/Resizable/index.js +2 -0
- package/dist/Resizable-BhSMfO5B.js +261 -0
- package/dist/ScrollableArea/index.d.ts +2 -0
- package/dist/ScrollableArea/index.js +2 -0
- package/dist/ScrollableArea-DQDYjnxO.js +78 -0
- package/dist/Section/index.d.ts +2 -0
- package/dist/Section/index.js +2 -0
- package/dist/Section-C48Wqfc7.js +68 -0
- package/dist/SelectableCard/index.d.ts +2 -0
- package/dist/SelectableCard/index.js +2 -0
- package/dist/SelectableCard-Bj5s_tIN.js +108 -0
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DvEUIVEC.js → Selector-Da-2BO3q.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-B-Om6Bz3.js} +49 -27
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DTnWxtnb.js → Slider-D8h_RKcF.js} +1 -1
- package/dist/Stepper/index.d.ts +2 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Stepper-BZ_8SEZt.js +423 -0
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CNdnr5TP.js → Switch-SesQzPGZ.js} +4 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +2 -2
- package/dist/TabList-Cnc2Hs1H.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-D-LhAy_J.js} +6 -6
- package/dist/Text/index.d.ts +3 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CKd7e3gK.js → Text-BHVghsWo.js} +12 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BL0NuB99.js → TextArea-Cv9UVbzS.js} +5 -3
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-B0IKC7g5.js → TextInput-BasnjVvy.js} +5 -3
- package/dist/Theme/index.d.ts +2 -0
- package/dist/Theme/index.js +2 -0
- package/dist/Theme-BuUiiJNr.js +429 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-Dc1UpykG.js} +2 -2
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-C7t9Knq9.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-BXxCOY98.js} +2 -2
- package/dist/Timer/index.d.ts +2 -0
- package/dist/Timer/index.js +2 -0
- package/dist/Timer-B7GV6hqd.js +134 -0
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DlZSmgCJ.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-CV2J94bn.js → Token-wt4e80IM.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-nmTqdS9n.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-BH_s3uap.js → TopNav-notp-mJx.js} +58 -32
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-s1xBQ0qq.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-VAuiCurV.js} +3 -3
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +5 -2
- package/dist/composables-CVfjp9h4.js +502 -0
- package/dist/context-BjNya0v8.js +19 -0
- package/dist/context-Cfjh8te1.js +29 -0
- package/dist/{context-BshXcNYX.js → context-Dbo22sck.js} +138 -0
- package/dist/context-O2Vb8cJl.js +57 -0
- package/dist/index-1AZ4KZhg.d.ts +96 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-FEy8qFSD.d.ts → index-BHqRH7QW.d.ts} +2 -2
- package/dist/index-BMrggCw-.d.ts +52 -0
- package/dist/{index-BlWLperN.d.ts → index-BUXNRekN.d.ts} +2 -2
- package/dist/index-Bainr_3n.d.ts +31 -0
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/{index-DXDGk38y.d.ts → index-Bn_odHQ9.d.ts} +1 -1
- package/dist/index-BrJzFA5X.d.ts +38 -0
- package/dist/{index-AkMWQ97a.d.ts → index-BtPZKO20.d.ts} +3 -3
- package/dist/index-Bu0Zd1uw.d.ts +38 -0
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/index-By2mSzUA.d.ts +67 -0
- package/dist/index-C59PdX9L.d.ts +141 -0
- package/dist/{index-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-CQ9F1f_F.d.ts → index-C6iJwTL0.d.ts} +324 -145
- package/dist/{index-B4OOtNP8.d.ts → index-C7mxUcDR.d.ts} +2 -2
- package/dist/{index-BSRk8MFK.d.ts → index-C8wDPDcP.d.ts} +1 -1
- package/dist/index-CDdRQQF3.d.ts +170 -0
- package/dist/index-COqjznX0.d.ts +47 -0
- package/dist/index-CRizexSC.d.ts +147 -0
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-Cm_TiLXU.d.ts +22 -0
- package/dist/index-Cn-sSds-.d.ts +68 -0
- package/dist/index-CsVS37na.d.ts +81 -0
- package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/{index-g03bmR4K.d.ts → index-D0TlUOtG.d.ts} +2 -2
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DOUEn7V0.d.ts} +4 -4
- package/dist/{index-CCA4R0Mf.d.ts → index-DT9S92sh.d.ts} +31 -6
- package/dist/{index-CR6sUmRT.d.ts → index-DXSs3rwa.d.ts} +3 -107
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-CNcQmDrK.d.ts → index-DoFCm2Q2.d.ts} +71 -0
- package/dist/{index-mQ6EPmaG.d.ts → index-DsyKhauk.d.ts} +78 -9
- package/dist/{index-12ObcW99.d.ts → index-DtjAdYEc.d.ts} +2 -2
- package/dist/{index-Byar3h1e.d.ts → index-HV6W3xCx.d.ts} +1 -1
- package/dist/{index-CsJpQElv.d.ts → index-NzLDrOkk.d.ts} +2 -2
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- package/dist/{index-Bqb_Fyju.d.ts → index-jdjcb3Js.d.ts} +2 -2
- package/dist/{index-BhYFxnjV.d.ts → index-kaKBOZSU.d.ts} +2 -2
- package/dist/index-nKlTsNfV.d.ts +42 -0
- package/dist/index.d.ts +84 -63
- package/dist/index.js +118 -91
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/size-BuTzpgnR.d.ts +14 -0
- package/dist/size-xcIqExkS.js +79 -0
- package/dist/syntaxTheme-Bcs1YMF7.d.ts +38 -0
- package/dist/syntaxTheme-ClpWALZX.js +75 -0
- package/dist/types-Bt-lSgYX.d.ts +65 -0
- package/dist/types-DZoEm_DG.d.ts +97 -0
- package/dist/{index-Bovw9_8d.d.ts → types-Db3Owy8Q.d.ts} +1 -36
- package/dist/types-JktRxujg.d.ts +107 -0
- package/dist/useAppShellMobile-DTsyuAJ4.js +19 -0
- package/dist/useClickableContainer-DyNpnSEa.js +112 -0
- package/dist/useResizable-CeESZS1v.d.ts +72 -0
- package/dist/useScrollableArea-DDk_CluT.js +172 -0
- package/package.json +73 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- package/styles/carousel.css +120 -0
- package/styles/clickable-card.css +101 -0
- package/styles/collapsible.css +37 -0
- package/styles/command-palette.css +183 -0
- package/styles/complex-selector.css +114 -0
- package/styles/field.css +12 -0
- package/styles/form-layout.css +31 -0
- package/styles/heading.css +25 -19
- package/styles/layout.css +280 -0
- package/styles/lightbox.css +144 -0
- package/styles/media-theme.css +51 -0
- package/styles/outline.css +124 -0
- package/styles/resize-handle.css +128 -0
- package/styles/scrollable-area.css +50 -0
- package/styles/section.css +60 -0
- package/styles/side-nav.css +26 -0
- package/styles/stepper.css +357 -0
- package/styles/tab-menu.css +91 -0
- package/styles/text.css +63 -14
- package/styles/theme.css +29 -0
- package/styles/timer.css +34 -0
- package/styles.css +18 -0
- package/dist/Collapsible-BYg9soTk.js +0 -102
- package/dist/TabList-LV1U4ZD6.js +0 -184
- package/dist/composables-Dq9RS33w.js +0 -111
- package/dist/index-BzqRns96.d.ts +0 -64
- package/dist/index-TnaIHsCS.d.ts +0 -87
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { a as SyntaxTokenKey, i as SyntaxThemeTokens, n as SyntaxThemeDefinition } from "./syntaxTheme-Bcs1YMF7.js";
|
|
1
2
|
import "./useClipboard-CU-kfqeJ.js";
|
|
2
|
-
import { VNodeChild } from "vue";
|
|
3
|
+
import { ComputedRef, VNodeChild } from "vue";
|
|
3
4
|
//#region src/Code/types.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* The text color of inline code.
|
|
@@ -71,6 +72,13 @@ interface CodeBlockProps {
|
|
|
71
72
|
* @default 'plaintext'
|
|
72
73
|
*/
|
|
73
74
|
language?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Syntax colors for this block.
|
|
77
|
+
*
|
|
78
|
+
* Shorthand for wrapping the block in `SyntaxTheme`. A surrounding
|
|
79
|
+
* `SyntaxTheme` still themes every code component in that region.
|
|
80
|
+
*/
|
|
81
|
+
syntaxTheme?: SyntaxThemeDefinition;
|
|
74
82
|
/** A filename or label shown in the header bar next to the language. */
|
|
75
83
|
title?: string;
|
|
76
84
|
/**
|
|
@@ -168,22 +176,22 @@ interface CodeBlockEmits {
|
|
|
168
176
|
}
|
|
169
177
|
//#endregion
|
|
170
178
|
//#region src/Code/Code.vue.d.ts
|
|
171
|
-
type __VLS_Slots = CodeSlots;
|
|
172
|
-
declare const __VLS_base: import("vue").DefineComponent<CodeProps, {
|
|
179
|
+
type __VLS_Slots$1 = CodeSlots;
|
|
180
|
+
declare const __VLS_base$1: import("vue").DefineComponent<CodeProps, {
|
|
173
181
|
element: import("vue").ComputedRef<HTMLElement | null>;
|
|
174
182
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeProps> & Readonly<{}>, {
|
|
175
183
|
color: CodeColor;
|
|
176
184
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
177
|
-
declare const __VLS_export$
|
|
178
|
-
declare const _default$
|
|
179
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
185
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
186
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
187
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
180
188
|
new (): {
|
|
181
189
|
$slots: S;
|
|
182
190
|
};
|
|
183
191
|
};
|
|
184
192
|
//#endregion
|
|
185
193
|
//#region src/Code/CodeBlock.vue.d.ts
|
|
186
|
-
declare const __VLS_export: import("vue").DefineComponent<CodeBlockProps, {
|
|
194
|
+
declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
|
|
187
195
|
element: import("vue").ComputedRef<HTMLPreElement | null>;
|
|
188
196
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
189
197
|
copy: () => any;
|
|
@@ -205,7 +213,7 @@ declare const __VLS_export: import("vue").DefineComponent<CodeBlockProps, {
|
|
|
205
213
|
copiedLabel: string;
|
|
206
214
|
codeLabel: string;
|
|
207
215
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
208
|
-
declare const _default: typeof __VLS_export;
|
|
216
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
209
217
|
//#endregion
|
|
210
218
|
//#region src/Code/highlightRanges.d.ts
|
|
211
219
|
/** Token types painted by the stylesheet, so they never need a generated rule. */
|
|
@@ -217,6 +225,50 @@ declare const HIGHLIGHTED_TOKEN_TYPES: readonly ["keyword", "string", "comment",
|
|
|
217
225
|
*/
|
|
218
226
|
declare function applyHighlightRanges(codeElement: HTMLElement, tokenLines: TokenLine[]): () => void;
|
|
219
227
|
//#endregion
|
|
228
|
+
//#region src/Code/syntaxPresets.d.ts
|
|
229
|
+
/** One Dark Pro (Binaryify), MIT. */
|
|
230
|
+
declare const oneDarkPro: SyntaxThemeDefinition;
|
|
231
|
+
/** Dracula (Zeno Rocha), MIT. */
|
|
232
|
+
declare const dracula: SyntaxThemeDefinition;
|
|
233
|
+
/** Monokai (Wimer Hazenberg), MIT. */
|
|
234
|
+
declare const monokai: SyntaxThemeDefinition;
|
|
235
|
+
/** Nord (Sven Greb), MIT. */
|
|
236
|
+
declare const nord: SyntaxThemeDefinition;
|
|
237
|
+
/** Tokyo Night (enkia), MIT. */
|
|
238
|
+
declare const tokyoNight: SyntaxThemeDefinition;
|
|
239
|
+
/** Catppuccin Mocha, MIT. */
|
|
240
|
+
declare const catppuccinMocha: SyntaxThemeDefinition;
|
|
241
|
+
/** GitHub Light (GitHub Primer team), MIT. */
|
|
242
|
+
declare const githubLight: SyntaxThemeDefinition;
|
|
243
|
+
/** Solarized Light (Ethan Schoonover), MIT. */
|
|
244
|
+
declare const solarizedLight: SyntaxThemeDefinition;
|
|
245
|
+
/** One Light (GitHub / Atom), MIT. */
|
|
246
|
+
declare const oneLight: SyntaxThemeDefinition;
|
|
247
|
+
/** Catppuccin Latte, MIT. */
|
|
248
|
+
declare const catppuccinLatte: SyntaxThemeDefinition;
|
|
249
|
+
/** Tokyo Night Light (enkia), MIT. */
|
|
250
|
+
declare const tokyoNightLight: SyntaxThemeDefinition;
|
|
251
|
+
declare const darkSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
|
|
252
|
+
declare const lightSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
|
|
253
|
+
declare const allSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition];
|
|
254
|
+
//#endregion
|
|
255
|
+
//#region src/Code/SyntaxTheme.vue.d.ts
|
|
256
|
+
type __VLS_Props = {
|
|
257
|
+
theme: SyntaxThemeDefinition;
|
|
258
|
+
};
|
|
259
|
+
declare var __VLS_1: {};
|
|
260
|
+
type __VLS_Slots = {} & {
|
|
261
|
+
default?: (props: typeof __VLS_1) => any;
|
|
262
|
+
};
|
|
263
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
264
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
265
|
+
declare const _default: typeof __VLS_export;
|
|
266
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
267
|
+
new (): {
|
|
268
|
+
$slots: S;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
//#endregion
|
|
220
272
|
//#region src/Code/tokenizer.d.ts
|
|
221
273
|
/** Code shorter than this is tokenized synchronously instead of in chunks. */
|
|
222
274
|
declare const SYNC_TOKENIZE_THRESHOLD = 2000;
|
|
@@ -237,4 +289,21 @@ declare function tokenizeAsync(code: string, language: string, signal?: AbortSig
|
|
|
237
289
|
*/
|
|
238
290
|
declare function flatTokensToLines(tokens: SyntaxToken[], code: string): TokenLine[];
|
|
239
291
|
//#endregion
|
|
240
|
-
|
|
292
|
+
//#region src/Code/useSyntaxTheme.d.ts
|
|
293
|
+
interface UseSyntaxThemeReturn {
|
|
294
|
+
/** Syntax theme name. Empty when the provider has no theme. */
|
|
295
|
+
name: ComputedRef<string>;
|
|
296
|
+
/** Mode used to pick a `light-dark()` stop. */
|
|
297
|
+
mode: ComputedRef<'light' | 'dark'>;
|
|
298
|
+
/** One syntax token for the effective mode. */
|
|
299
|
+
token: (name: SyntaxTokenKey) => string;
|
|
300
|
+
/** Every syntax token for the effective mode, or null when no theme applies. */
|
|
301
|
+
tokens: ComputedRef<SyntaxThemeTokens | null>;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Read the nearest SyntaxTheme, or the syntax field of the nearest Theme.
|
|
305
|
+
* Returns null when neither is present.
|
|
306
|
+
*/
|
|
307
|
+
declare function useSyntaxTheme(): UseSyntaxThemeReturn | null;
|
|
308
|
+
//#endregion
|
|
309
|
+
export { CodeBlockTokenizer as A, applyHighlightRanges as C, CodeBlockEmits as D, CodeBlockContainer as E, CodeSlots as F, SyntaxToken as I, TokenLine as L, CodeHighlightMode as M, CodeProps as N, CodeBlockProps as O, CodeSize as P, HIGHLIGHTED_TOKEN_TYPES as S, _default$2 as T, 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, CodeColor as j, CodeBlockSize 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, _default$1 as w, tokyoNightLight as x, solarizedLight as y };
|
|
@@ -51,9 +51,9 @@ declare const __VLS_base: import("vue").DefineComponent<DateInputProps, {}, {},
|
|
|
51
51
|
onChange?: ((value: Date | null) => any) | undefined;
|
|
52
52
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
size: "
|
|
54
|
+
size: "sm" | "md" | "lg";
|
|
55
|
+
status: "default" | "success" | "warning" | "error";
|
|
55
56
|
modelValue: Date | null;
|
|
56
|
-
status: "default" | "error" | "warning" | "success";
|
|
57
57
|
disabled: boolean;
|
|
58
58
|
clearable: boolean;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -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
|
-
orientation: DividerOrientation;
|
|
22
21
|
variant: DividerVariant;
|
|
22
|
+
orientation: DividerOrientation;
|
|
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>;
|
|
@@ -34,11 +34,11 @@ declare const __VLS_export: import("vue").DefineComponent<NumberInputProps, {},
|
|
|
34
34
|
onChange?: ((value: number | null) => any) | undefined;
|
|
35
35
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
size: "
|
|
37
|
+
size: "sm" | "md" | "lg";
|
|
38
|
+
step: number;
|
|
38
39
|
modelValue: number | null;
|
|
39
40
|
placeholder: string;
|
|
40
41
|
disabled: boolean;
|
|
41
|
-
step: number;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
44
44
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "./useClipboard-CU-kfqeJ.js";
|
|
2
2
|
import "./useAsyncSource-xpQovjV_.js";
|
|
3
|
-
import
|
|
3
|
+
import "./useResizable-CeESZS1v.js";
|
|
4
|
+
import { CSSProperties, ComputedRef, InjectionKey, MaybeRefOrGetter, Ref } from "vue";
|
|
4
5
|
import { CalendarDate } from "@internationalized/date";
|
|
5
6
|
//#region src/composables/internal/announce.d.ts
|
|
6
7
|
/**
|
|
@@ -13,6 +14,22 @@ type AnnouncePoliteness = 'polite' | 'assertive';
|
|
|
13
14
|
type AnnounceFn = (message: string, politeness?: AnnouncePoliteness) => void;
|
|
14
15
|
declare function useAnnounce(): AnnounceFn;
|
|
15
16
|
//#endregion
|
|
17
|
+
//#region src/composables/useAppShellMobile.d.ts
|
|
18
|
+
interface AppShellMobile {
|
|
19
|
+
isMobile: boolean;
|
|
20
|
+
isMobileNavOpen: boolean;
|
|
21
|
+
mobileNavId?: string;
|
|
22
|
+
isMobileNavEnabled: boolean;
|
|
23
|
+
hasAutoToggle: boolean;
|
|
24
|
+
hasSideNav: boolean;
|
|
25
|
+
toggleMobileNav: () => void;
|
|
26
|
+
openMobileNav: () => void;
|
|
27
|
+
closeMobileNav: () => void;
|
|
28
|
+
}
|
|
29
|
+
declare const appShellMobileKey: InjectionKey<AppShellMobile>;
|
|
30
|
+
/** 外壳外面、或者关掉了移动导航时,返回一组不会做事的默认值。 */
|
|
31
|
+
declare function useAppShellMobile(): AppShellMobile;
|
|
32
|
+
//#endregion
|
|
16
33
|
//#region src/composables/useChatNewMessages.d.ts
|
|
17
34
|
/** Class that marks a transcript row `useChatNewMessages` watches. */
|
|
18
35
|
declare const CHAT_MESSAGE_CLASS = "astryx-chat-message";
|
|
@@ -107,6 +124,38 @@ interface UseChatStreamScrollReturn {
|
|
|
107
124
|
*/
|
|
108
125
|
declare function useChatStreamScroll(options: UseChatStreamScrollOptions): UseChatStreamScrollReturn;
|
|
109
126
|
//#endregion
|
|
127
|
+
//#region src/composables/useClickableContainer.d.ts
|
|
128
|
+
/**
|
|
129
|
+
* 对应原版 Astryx 的 `hooks/useClickableContainer`。
|
|
130
|
+
*
|
|
131
|
+
* 让整块容器可点,同时把点在嵌套按钮、链接、输入框上的点击留给那些控件自己。
|
|
132
|
+
* ClickableCard 和 SelectableCard 都走这里,避免两套“点到谁算谁”的判断。
|
|
133
|
+
*/
|
|
134
|
+
declare const INTERACTIVE_SELECTORS: string;
|
|
135
|
+
interface UseClickableContainerOptions {
|
|
136
|
+
/** 外层容器。 */
|
|
137
|
+
containerRef: Ref<HTMLElement | null>;
|
|
138
|
+
/** 容器里真正获得键盘焦点的控件,例如视觉上隐藏的链接或复选框。 */
|
|
139
|
+
interactiveRef?: Ref<HTMLElement | null>;
|
|
140
|
+
/** 点在容器表面上时调用。 */
|
|
141
|
+
onClick?: (event: MouseEvent) => void;
|
|
142
|
+
/** 有地址时,点表面会导航到这里。 */
|
|
143
|
+
href?: string;
|
|
144
|
+
/** 链接的 target。`_blank` 会在新标签打开。 */
|
|
145
|
+
target?: string;
|
|
146
|
+
/** 停用后,表面点击和中键都不再响应。 */
|
|
147
|
+
disabled?: boolean;
|
|
148
|
+
}
|
|
149
|
+
interface ClickableContainerHandlers {
|
|
150
|
+
onClick: (event: MouseEvent) => void;
|
|
151
|
+
onMouseUp: (event: MouseEvent) => void;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* 把容器的 click / mouseup 交给调用方绑到根元素上。
|
|
155
|
+
* 组件挂载后会给容器加上 `data-pressable-container`,嵌套的可点容器因此不会互相抢走点击。
|
|
156
|
+
*/
|
|
157
|
+
declare function useClickableContainer(options: UseClickableContainerOptions): ClickableContainerHandlers;
|
|
158
|
+
//#endregion
|
|
110
159
|
//#region src/composables/useCoarsePointer.d.ts
|
|
111
160
|
/** 粗指针(触摸)为 true。服务端和细指针设备为 false。 */
|
|
112
161
|
declare function useCoarsePointer(): ComputedRef<boolean>;
|
|
@@ -632,9 +681,57 @@ interface RestoreFocus {
|
|
|
632
681
|
*/
|
|
633
682
|
declare function useRestoreFocus(options: UseRestoreFocusOptions): RestoreFocus;
|
|
634
683
|
//#endregion
|
|
684
|
+
//#region src/composables/useScrollableArea.d.ts
|
|
685
|
+
type ScrollAxis = 'inline' | 'block' | 'both';
|
|
686
|
+
type ScrollOverscroll = 'allow' | 'contain';
|
|
687
|
+
type ScrollStickyContainment = 'whenScrollable' | 'always';
|
|
688
|
+
type ScrollRole = 'group' | 'region';
|
|
689
|
+
interface ScrollAxisState {
|
|
690
|
+
isScrollable: boolean;
|
|
691
|
+
atStart: boolean;
|
|
692
|
+
atEnd: boolean;
|
|
693
|
+
}
|
|
694
|
+
interface ScrollableAreaState {
|
|
695
|
+
inline: ScrollAxisState;
|
|
696
|
+
block: ScrollAxisState;
|
|
697
|
+
}
|
|
698
|
+
interface UseScrollableAreaOptions {
|
|
699
|
+
axis?: ScrollAxis;
|
|
700
|
+
label: string;
|
|
701
|
+
role?: ScrollRole;
|
|
702
|
+
overscroll?: ScrollOverscroll;
|
|
703
|
+
stickyContainment?: ScrollStickyContainment;
|
|
704
|
+
}
|
|
705
|
+
declare function useScrollableArea(options: UseScrollableAreaOptions): UseScrollableAreaResult;
|
|
706
|
+
interface UseScrollableAreaResult {
|
|
707
|
+
viewport: (element: unknown) => void;
|
|
708
|
+
content: Ref<HTMLElement | null>;
|
|
709
|
+
viewportAttrs: ComputedRef<Record<string, string | number | undefined>>;
|
|
710
|
+
viewportStyle: ComputedRef<CSSProperties>;
|
|
711
|
+
state: ComputedRef<ScrollableAreaState>;
|
|
712
|
+
}
|
|
713
|
+
//#endregion
|
|
635
714
|
//#region src/composables/internal/scrollLock.d.ts
|
|
636
715
|
declare function useScrollLock(isLocked: Ref<boolean>): void;
|
|
637
716
|
//#endregion
|
|
717
|
+
//#region src/composables/useScrollOverflow.d.ts
|
|
718
|
+
interface ScrollOverflowState {
|
|
719
|
+
overflowStart: boolean;
|
|
720
|
+
overflowEnd: boolean;
|
|
721
|
+
hasOverflow: boolean;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* 观察一个横向滚动容器,报告起始边和结束边有没有被挡住。
|
|
725
|
+
* 容差 1px,滚动和尺寸变化都会重新量。
|
|
726
|
+
*/
|
|
727
|
+
declare function useScrollOverflow(): UseScrollOverflowResult;
|
|
728
|
+
interface UseScrollOverflowResult {
|
|
729
|
+
scrollRef: (node: HTMLElement | null) => void;
|
|
730
|
+
overflowStart: Ref<boolean>;
|
|
731
|
+
overflowEnd: Ref<boolean>;
|
|
732
|
+
hasOverflow: Ref<boolean>;
|
|
733
|
+
}
|
|
734
|
+
//#endregion
|
|
638
735
|
//#region src/composables/useStreamingText.d.ts
|
|
639
736
|
type StreamingTextSpeed = 'natural' | 'fast' | 'instant';
|
|
640
737
|
interface UseStreamingTextOptions {
|
|
@@ -715,4 +812,4 @@ interface UseTypeaheadReturn {
|
|
|
715
812
|
*/
|
|
716
813
|
declare function useTypeahead(options: UseTypeaheadOptions): UseTypeaheadReturn;
|
|
717
814
|
//#endregion
|
|
718
|
-
export {
|
|
815
|
+
export { useLongPress as $, useAppShellMobile as $t, UseScrollableAreaOptions as A, spanDays as At, computeOverflow as B, INTERACTIVE_SELECTORS as Bt, useScrollLock as C, compareISODate as Ct, ScrollRole as D, isSameRange as Dt, ScrollOverscroll as E, isRangeWithinSpan as Et, useRestoreFocus as F, ComboboxOption as Ft, addMonths as G, UseChatStreamScrollReturn as Gt, NumberField as H, useClickableContainer as Ht, ComputeOverflowInput as I, UseComboboxOptions as It, toISODate as J, UseChatNewMessagesOptions as Jt, buildMonthGrid as K, useChatStreamScroll as Kt, ComputeOverflowResult as L, useCombobox as Lt, useScrollableArea as M, UseControllableStateOptions as Mt, RestoreFocus as N, useControllableState as Nt, ScrollStickyContainment as O, orderRange as Ot, UseRestoreFocusOptions as P, Combobox as Pt, LongPressOptions as Q, appShellMobileKey as Qt, UseOverflowOptions as R, useCoarsePointer as Rt, useScrollOverflow as S, applyRangeClick as St, ScrollAxisState as T, isDayOutsideSpan as Tt, UseNumberFieldOptions as U, ChatScrollToBottomOptions as Ut, useOverflow as V, UseClickableContainerOptions as Vt, useNumberField as W, UseChatStreamScrollOptions as Wt, useMediaQuery as X, useChatNewMessages as Xt, todayISODate as Y, UseChatNewMessagesReturn as Yt, LongPressHandlers as Z, AppShellMobile as Zt, UseStreamingTextOptions as _, UseDismissOptions as _t, ISOTimeString as a, useHotkeys as at, ScrollOverflowState as b, RangeClickResult as bt, TimePresentation as c, useGridRovingFocus as ct, isTimeInRange as d, useFocusTrap as dt, AnnounceFn as en, ListFocus as et, parseDisplayTime as f, FileRejection as ft, StreamingTextSpeed as g, selectFiles as gt, shiftTime as h, formatFileSize as ht, HourFormat as i, Hotkey as it, UseScrollableAreaResult as j, ControllableState as jt, ScrollableAreaState as k, resolveWeekStart as kt, formatDisplayTime as l, FocusTrap as lt, resolveTimeSurface as m, FileSelectionResult as mt, UseTypeaheadReturn as n, useAnnounce as nn, UseListFocusOptions as nt, NativePicker as o, GridRovingFocus as ot, parseISOTime as p, FileSelectionOptions as pt, parseISODate as q, CHAT_MESSAGE_CLASS as qt, useTypeahead as r, useListFocus as rt, ParsedTime as s, UseGridRovingFocusOptions as st, UseTypeaheadOptions as t, AnnouncePoliteness as tn, ListFocusOrientation as tt, formatISOTime as u, UseFocusTrapOptions as ut, snapToGraphemeBoundary as v, useDismiss as vt, ScrollAxis as w, formatDateRange as wt, UseScrollOverflowResult as x, WeekStartsOn as xt, useStreamingText as y, ISODateRange as yt, UseOverflowReturn as z, ClickableContainerHandlers as zt };
|
|
@@ -27,8 +27,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
27
27
|
size: NavItemSize;
|
|
28
28
|
isDisabled: boolean;
|
|
29
29
|
isIconOnly: boolean;
|
|
30
|
-
block: boolean;
|
|
31
30
|
isSelected: boolean;
|
|
31
|
+
block: boolean;
|
|
32
32
|
plain: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -57,8 +57,8 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
|
|
|
57
57
|
//#region src/Typeahead/Typeahead.vue.d.ts
|
|
58
58
|
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<{
|
|
59
59
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
|
|
60
|
-
onChange?: ((value: T | null) => any) | undefined;
|
|
61
60
|
onSearch?: ((query: string) => any) | undefined;
|
|
61
|
+
onChange?: ((value: T | null) => any) | undefined;
|
|
62
62
|
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
63
63
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
64
64
|
}> & (typeof globalThis extends {
|
|
@@ -70,7 +70,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
70
70
|
}>) => void;
|
|
71
71
|
attrs: any;
|
|
72
72
|
slots: TypeaheadSlots<T>;
|
|
73
|
-
emit: ((evt: "
|
|
73
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
74
74
|
}>) => import("vue").VNode & {
|
|
75
75
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
76
76
|
};
|
|
@@ -85,16 +85,16 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
85
85
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
label: string;
|
|
88
|
-
|
|
88
|
+
isOpen: boolean;
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
|
+
content: string;
|
|
91
92
|
delay: number;
|
|
92
93
|
hideDelay: number;
|
|
93
94
|
focusTrigger: HoverCardFocusTrigger;
|
|
94
95
|
touchTrigger: HoverCardTouchTrigger;
|
|
95
96
|
isEnabled: boolean;
|
|
96
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
97
|
-
isOpen: boolean;
|
|
98
98
|
isDefaultOpen: boolean;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
100
100
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { n as SizeValue, t as PaddingInput } from "./size-BuTzpgnR.js";
|
|
2
|
+
import { VNodeChild } from "vue";
|
|
3
|
+
//#region src/Section/types.d.ts
|
|
4
|
+
type SectionVariant = 'section' | 'transparent' | 'muted';
|
|
5
|
+
type SectionDivider = 'top' | 'bottom' | 'start' | 'end';
|
|
6
|
+
interface SectionProps extends PaddingInput {
|
|
7
|
+
/**
|
|
8
|
+
* 背景。section 用表面色,muted 用弱化底,transparent 不铺底。
|
|
9
|
+
* @default 'section'
|
|
10
|
+
*/
|
|
11
|
+
variant?: SectionVariant;
|
|
12
|
+
/** 宽度。数字是像素,字符串原样使用。 */
|
|
13
|
+
width?: SizeValue;
|
|
14
|
+
/** 高度。数字是像素,字符串原样使用。 */
|
|
15
|
+
height?: SizeValue;
|
|
16
|
+
/** 最大宽度。数字是像素,字符串原样使用。 */
|
|
17
|
+
maxWidth?: SizeValue;
|
|
18
|
+
/** 最小高度。数字是像素,字符串原样使用。 */
|
|
19
|
+
minHeight?: SizeValue;
|
|
20
|
+
/** 哪些边画分隔线。start / end 随书写方向翻转。 */
|
|
21
|
+
dividers?: SectionDivider[];
|
|
22
|
+
}
|
|
23
|
+
interface SectionSlots {
|
|
24
|
+
default?: () => VNodeChild;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/Section/Section.vue.d.ts
|
|
28
|
+
type __VLS_Slots = SectionSlots;
|
|
29
|
+
declare const __VLS_base: import("vue").DefineComponent<SectionProps, {
|
|
30
|
+
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SectionProps> & Readonly<{}>, {
|
|
32
|
+
variant: SectionVariant;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { SectionVariant as a, SectionSlots as i, SectionDivider as n, SectionProps as r, _default as t };
|