@astryx-vue/core 0.1.1 → 0.1.3
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/AppShell/index.d.ts +2 -0
- package/dist/AppShell/index.js +2 -0
- package/dist/AppShell-b0PWt9Fz.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/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-BEyrkUtr.js → Calendar-CYhGDT6f.js} +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CO3mCs9A.js → Chat-C1aWl5V3.js} +1 -1
- 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-C1X0Rde8.js} +1 -1
- package/dist/ClickableCard/index.d.ts +2 -0
- package/dist/ClickableCard/index.js +2 -0
- package/dist/ClickableCard-Bhds4RRe.js +112 -0
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/Collapsible-BS9ctCQV.js +192 -0
- package/dist/CommandPalette/index.d.ts +2 -0
- package/dist/CommandPalette/index.js +2 -0
- package/dist/CommandPalette-u5h_E05P.js +489 -0
- package/dist/ComplexSelector/index.d.ts +2 -0
- package/dist/ComplexSelector/index.js +2 -0
- package/dist/ComplexSelector-BHmGWml0.js +293 -0
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BOIb0zAp.js → DateInput-D2ErjXYO.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLcbgUBi.js → DateRangeInput-fmQlr_A7.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-RitYX_Yx.js → DateTimeInput-Bs1JmcIp.js} +4 -4
- 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-CmAfOpkA.js} +2 -2
- 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/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/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-CwtLr3f_.js} +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-DIsqS1Qb.js → MetadataList-DlXQTLog.js} +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-aUZiDwHm.js → MobileNavToggle-CgQamG6E.js} +19 -12
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Bh8or2S6.js → MultiSelector-DT8ZccMI.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C3S-4dIu.js → NumberInput-DspJO6z6.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Kr4iJrNV.js → OverflowList-zXg3g6fy.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BRStpeSB.js → Pagination-DXfgMUKJ.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-BuGKvU9I.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-DlZpQh42.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -1
- package/dist/{SideNav-B7LX4RcP.js → SideNav-Cdrigq2A.js} +48 -26
- 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-DxmLfh8O.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-C411uNQU.js +380 -0
- package/dist/Table/index.d.ts +2 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D5zWaITo.js → Table-7qRmlIQd.js} +5 -5
- 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/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DMOgWncm.js → Thumbnail-BWVzLLyI.js} +1 -1
- package/dist/{TimeField-DeQ1ukHl.js → TimeField-l3QzU6vC.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-jb1nLqZk.js → TimeInput-OkgX-xbQ.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DrWwVQBL.js → Timestamp-DUoP9ari.js} +1 -1
- 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-C4KD0fZD.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DF9r4hTW.js → Tokenizer-BA8sTMPZ.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-CZokS7E_.js} +57 -31
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-D9cR-w7r.js → TreeList-CIbAGOMf.js} +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-s4DC1Qem.js → Typeahead-DIw-K4aa.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-D6ECRdc5.js} +84 -0
- package/dist/index-1uRMrk63.d.ts +54 -0
- package/dist/{index-CsJpQElv.d.ts → index-2u4l3wq8.d.ts} +1 -1
- package/dist/{index-BlWLperN.d.ts → index-4FM5lQdV.d.ts} +1 -1
- package/dist/index-Be1czg3M.d.ts +167 -0
- package/dist/{index-Dbmgcm8a.d.ts → index-BeR-1LgF.d.ts} +2 -0
- package/dist/index-BrJzFA5X.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-BkIgRYGz.d.ts → index-C5p2NeCr.d.ts} +2 -2
- package/dist/{index-AkMWQ97a.d.ts → index-C6RecznD.d.ts} +1 -1
- 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-g03bmR4K.d.ts → index-CT8KEpec.d.ts} +2 -2
- package/dist/{index-Bc0dgVM5.d.ts → index-CTolyeii.d.ts} +4 -4
- package/dist/index-CVn0GBdB.d.ts +115 -0
- package/dist/index-CX97hlld.d.ts +158 -0
- package/dist/index-CjtAH60j.d.ts +38 -0
- package/dist/{index-5R_pi3eT.d.ts → index-D-ZuubCK.d.ts} +3 -3
- package/dist/index-DA52oIdw.d.ts +171 -0
- package/dist/{index-D3V7yRUP.d.ts → index-DGNqi2za.d.ts} +1 -1
- 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-CNcQmDrK.d.ts → index-DYChvBOM.d.ts} +42 -0
- package/dist/{index-CQ9F1f_F.d.ts → index-Df2YvC8o.d.ts} +297 -125
- package/dist/{index--dh0s8Li.d.ts → index-DfgHJE7H.d.ts} +1 -1
- package/dist/{index-BnNh5Iml.d.ts → index-SMh42NI8.d.ts} +99 -2
- package/dist/{index-12ObcW99.d.ts → index-ZJyk8RtQ.d.ts} +1 -1
- package/dist/{index-Q4gqBSIZ.d.ts → index-fa72tWIU.d.ts} +1 -1
- 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 +75 -63
- package/dist/index.js +108 -89
- 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/{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 +49 -1
- package/styles/app-shell.css +151 -0
- package/styles/aspect-ratio.css +49 -0
- package/styles/card.css +5 -1
- 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 +19 -17
- package/styles/layout.css +280 -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.css +12 -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-TnaIHsCS.d.ts +0 -87
|
@@ -305,12 +305,12 @@ declare const __VLS_base$3: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
305
305
|
focus: () => void | undefined;
|
|
306
306
|
open: () => void;
|
|
307
307
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
308
|
-
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
309
308
|
openChange: (isOpen: boolean) => any;
|
|
309
|
+
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
310
310
|
"update:isOpen": (...args: unknown[]) => any;
|
|
311
311
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
312
|
-
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
313
312
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
313
|
+
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
314
314
|
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
315
315
|
}>, {
|
|
316
316
|
label: string;
|
|
@@ -365,11 +365,11 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
365
365
|
//#region src/ContextMenu/ContextMenuSubMenu.vue.d.ts
|
|
366
366
|
type __VLS_Slots = ContextMenuSubMenuSlots;
|
|
367
367
|
declare const __VLS_base: import("vue").DefineComponent<ContextMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
368
|
-
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
369
368
|
openChange: (isOpen: boolean) => any;
|
|
369
|
+
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
370
370
|
}, string, import("vue").PublicProps, Readonly<ContextMenuSubMenuProps> & Readonly<{
|
|
371
|
-
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
372
371
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
372
|
+
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
373
373
|
}>, {
|
|
374
374
|
isDisabled: boolean;
|
|
375
375
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
//#region src/Stepper/types.d.ts
|
|
3
|
+
type StepperOrientation = 'horizontal' | 'vertical';
|
|
4
|
+
type StepperDensity = 'compact' | 'balanced' | 'spacious';
|
|
5
|
+
type StepperIndicatorPosition = 'separated' | 'on-track';
|
|
6
|
+
type StepStatus = 'accent' | 'success' | 'warning' | 'error';
|
|
7
|
+
type StepProgress = 'completed' | 'in-progress' | 'not-started';
|
|
8
|
+
type StepIndicator = 'auto' | 'number' | 'none';
|
|
9
|
+
type StepperCollapsedVariant = 'withLabelAndControls' | 'withLabel' | 'hiddenLabel';
|
|
10
|
+
interface StepperHorizontalOptions {
|
|
11
|
+
/**
|
|
12
|
+
* Collapse a horizontal stepper when its width is below this value times
|
|
13
|
+
* the step count. The collapsed view keeps the track.
|
|
14
|
+
* @default 112
|
|
15
|
+
*/
|
|
16
|
+
minimumStepWidth?: number;
|
|
17
|
+
/**
|
|
18
|
+
* What the collapsed row shows. Controls appear only for
|
|
19
|
+
* `withLabelAndControls` when `onStepClick` is set.
|
|
20
|
+
* @default 'withLabelAndControls'
|
|
21
|
+
*/
|
|
22
|
+
collapsedVariant?: StepperCollapsedVariant;
|
|
23
|
+
}
|
|
24
|
+
interface StepperProps {
|
|
25
|
+
/** Zero-based index of the current step. */
|
|
26
|
+
activeStep: number;
|
|
27
|
+
/** @default 'horizontal' */
|
|
28
|
+
orientation?: StepperOrientation;
|
|
29
|
+
/**
|
|
30
|
+
* When set, steps render as buttons and call this with the zero-based index.
|
|
31
|
+
* `@step-click` fills the same prop.
|
|
32
|
+
*/
|
|
33
|
+
onStepClick?: (index: number) => void;
|
|
34
|
+
/** Accessible name of the list. */
|
|
35
|
+
label?: string;
|
|
36
|
+
/** @default 'balanced' */
|
|
37
|
+
density?: StepperDensity;
|
|
38
|
+
/** @default 'separated' */
|
|
39
|
+
indicatorPosition?: StepperIndicatorPosition;
|
|
40
|
+
/**
|
|
41
|
+
* In a narrow horizontal stepper, hide every label except the current one.
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
hasCollapsibleLabels?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Narrow-width behavior for a horizontal stepper. `minimumStepWidth` defaults
|
|
47
|
+
* to 112: a horizontal stepper narrower than that times the step count
|
|
48
|
+
* collapses to the current step. `collapsedVariant` chooses a label with
|
|
49
|
+
* controls, the label alone, or the track with no compact row.
|
|
50
|
+
*/
|
|
51
|
+
horizontalOptions?: StepperHorizontalOptions;
|
|
52
|
+
}
|
|
53
|
+
interface StepperSlots {
|
|
54
|
+
default?: () => VNode[];
|
|
55
|
+
}
|
|
56
|
+
interface StepProps {
|
|
57
|
+
/** Zero-based index of this step. */
|
|
58
|
+
step: number;
|
|
59
|
+
label: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
/** Recolors the indicator only. The connector stays on the progress color. */
|
|
62
|
+
status?: StepStatus;
|
|
63
|
+
/** @default false */
|
|
64
|
+
isDisabled?: boolean;
|
|
65
|
+
/** @default false */
|
|
66
|
+
isOptional?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* `auto` shows a check, a ring, or a number. `number` always shows the
|
|
69
|
+
* step number. `none` leaves the indicator empty.
|
|
70
|
+
* @default 'auto'
|
|
71
|
+
*/
|
|
72
|
+
indicator?: StepIndicator;
|
|
73
|
+
density?: StepperDensity;
|
|
74
|
+
}
|
|
75
|
+
interface StepSlots {
|
|
76
|
+
/** Content under the label. In a vertical separated step it sits outside the button. */
|
|
77
|
+
default?: () => VNode[];
|
|
78
|
+
/** Replaces the built-in indicator artwork. */
|
|
79
|
+
icon?: () => VNode[];
|
|
80
|
+
/** Trailing content on the label row. */
|
|
81
|
+
end?: () => VNode[];
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/Stepper/Step.vue.d.ts
|
|
85
|
+
type __VLS_Slots$1 = StepSlots;
|
|
86
|
+
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
|
+
isDisabled: boolean;
|
|
88
|
+
isOptional: boolean;
|
|
89
|
+
indicator: StepIndicator;
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
92
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
93
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/Stepper/Stepper.vue.d.ts
|
|
100
|
+
type __VLS_Slots = StepperSlots;
|
|
101
|
+
declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
|
|
102
|
+
orientation: StepperOrientation;
|
|
103
|
+
density: StepperDensity;
|
|
104
|
+
indicatorPosition: StepperIndicatorPosition;
|
|
105
|
+
hasCollapsibleLabels: boolean;
|
|
106
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
|
+
declare const _default: typeof __VLS_export;
|
|
109
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
110
|
+
new (): {
|
|
111
|
+
$slots: S;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
//#endregion
|
|
115
|
+
export { StepProps as a, StepperCollapsedVariant as c, StepperIndicatorPosition as d, StepperOrientation as f, StepProgress as i, StepperDensity as l, StepperSlots as m, _default$1 as n, StepSlots as o, StepperProps as p, StepIndicator as r, StepStatus as s, _default as t, StepperHorizontalOptions as u };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { s as ButtonSize } from "./types-WlmsNL1I.js";
|
|
2
|
+
import { l as FieldStatusVariant, o as FieldStatusInput } from "./types-3eXh_5os.js";
|
|
3
|
+
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-Db3Owy8Q.js";
|
|
4
|
+
import { Component, Ref, VNode, VNodeChild } from "vue";
|
|
5
|
+
//#region src/Icon/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* The semantic names of the artwork astryx-vue keeps for its own chrome.
|
|
8
|
+
*
|
|
9
|
+
* A name describes what the icon is for, not one particular drawing, so a theme
|
|
10
|
+
* can replace the artwork with one declaration. Applications never pass these
|
|
11
|
+
* names: the artwork is a library implementation detail, and a `icon` prop or
|
|
12
|
+
* slot takes a CSS icon class or the application's own component instead.
|
|
13
|
+
*/
|
|
14
|
+
type IconName = 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'check' | 'moreHorizontal' | 'copy' | 'calendar' | 'clock' | 'upload' | 'arrowUp' | 'arrowDown' | 'close' | 'funnel' | 'image';
|
|
15
|
+
/**
|
|
16
|
+
* A built-in name, or any other string.
|
|
17
|
+
*
|
|
18
|
+
* The `(string & {})` intersection keeps the built-in names available for
|
|
19
|
+
* autocomplete while allowing keys contributed by a component or application.
|
|
20
|
+
*/
|
|
21
|
+
type ExtendedIconName = IconName | (string & {});
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/ComplexSelector/types.d.ts
|
|
24
|
+
interface ComplexSelectorState {
|
|
25
|
+
isOpen: boolean;
|
|
26
|
+
isBusy: boolean;
|
|
27
|
+
triggerId: string;
|
|
28
|
+
contentId: string;
|
|
29
|
+
}
|
|
30
|
+
type ComplexSelectorVariant = 'input' | 'ghost';
|
|
31
|
+
interface ComplexSelectorHandle {
|
|
32
|
+
/** Open the popup. */
|
|
33
|
+
open: () => void;
|
|
34
|
+
/** Close the popup. */
|
|
35
|
+
close: () => void;
|
|
36
|
+
/** Open when closed, and close when open. */
|
|
37
|
+
toggle: () => void;
|
|
38
|
+
/** Whether the popup is open. */
|
|
39
|
+
isOpen: () => boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A Vue ref or a callback. In a template, pass a callback: template refs are
|
|
43
|
+
* unwrapped, so `:handle-ref="someRef"` would hand over `null`.
|
|
44
|
+
*/
|
|
45
|
+
type ComplexSelectorHandleRef = Ref<ComplexSelectorHandle | null> | ((handle: ComplexSelectorHandle | null) => void);
|
|
46
|
+
interface ComplexSelectorTriggerProps {
|
|
47
|
+
'id': string;
|
|
48
|
+
'onClick': (event: MouseEvent) => void;
|
|
49
|
+
'onKeydown': (event: KeyboardEvent) => void;
|
|
50
|
+
'aria-haspopup': 'dialog';
|
|
51
|
+
'aria-expanded': boolean;
|
|
52
|
+
'aria-controls': string | undefined;
|
|
53
|
+
'aria-busy': true | undefined;
|
|
54
|
+
'aria-label': string;
|
|
55
|
+
}
|
|
56
|
+
interface ComplexSelectorSlotProps<Value> {
|
|
57
|
+
/** The value shown in the field, including a pending optimistic value. */
|
|
58
|
+
value: Value;
|
|
59
|
+
/** Commit the next value and run `changeAction` when one was provided. */
|
|
60
|
+
commit: (value: Value) => void;
|
|
61
|
+
/** Close the popup. */
|
|
62
|
+
close: () => void;
|
|
63
|
+
state: ComplexSelectorState;
|
|
64
|
+
}
|
|
65
|
+
interface ComplexSelectorProps<Value = unknown> {
|
|
66
|
+
/** Field label. It also names the popup. */
|
|
67
|
+
label: string;
|
|
68
|
+
/** Current value. Bind with `v-model`. */
|
|
69
|
+
modelValue: Value;
|
|
70
|
+
/** Text shown on the trigger. Falls back to `placeholder`. */
|
|
71
|
+
triggerLabel?: string;
|
|
72
|
+
/** Shown when `triggerLabel` is empty. */
|
|
73
|
+
placeholder?: string;
|
|
74
|
+
/** Hide the visible label. The accessible name stays. */
|
|
75
|
+
isLabelHidden?: boolean;
|
|
76
|
+
/** Supporting text under the label. */
|
|
77
|
+
description?: string;
|
|
78
|
+
/** @default false */
|
|
79
|
+
isOptional?: boolean;
|
|
80
|
+
/** @default false */
|
|
81
|
+
isRequired?: boolean;
|
|
82
|
+
/** @default false */
|
|
83
|
+
isDisabled?: boolean;
|
|
84
|
+
/** @default false */
|
|
85
|
+
isLoading?: boolean;
|
|
86
|
+
status?: FieldStatusInput;
|
|
87
|
+
/** @default 'attached' */
|
|
88
|
+
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
89
|
+
labelTooltip?: string;
|
|
90
|
+
/** @default 'md' */
|
|
91
|
+
size?: ButtonSize;
|
|
92
|
+
width?: number | string;
|
|
93
|
+
/** @default 'below' */
|
|
94
|
+
placement?: PopoverPlacement;
|
|
95
|
+
/**
|
|
96
|
+
* Popup alignment along the placement axis.
|
|
97
|
+
* @default 'start'
|
|
98
|
+
*/
|
|
99
|
+
alignment?: PopoverAlignment;
|
|
100
|
+
/**
|
|
101
|
+
* Icon at the start of the built-in trigger. A CSS icon class, a chrome
|
|
102
|
+
* name, or a component.
|
|
103
|
+
*/
|
|
104
|
+
startIcon?: ExtendedIconName | Component;
|
|
105
|
+
/**
|
|
106
|
+
* `input` is the bordered field. `ghost` matches a toolbar button.
|
|
107
|
+
* @default 'input'
|
|
108
|
+
*/
|
|
109
|
+
variant?: ComplexSelectorVariant;
|
|
110
|
+
/**
|
|
111
|
+
* Replaces the field and the built-in trigger. Spread the argument onto the
|
|
112
|
+
* control the popup should hang off. `label` still names the popup.
|
|
113
|
+
*/
|
|
114
|
+
renderTrigger?: (props: ComplexSelectorTriggerProps) => VNode;
|
|
115
|
+
/**
|
|
116
|
+
* Imperative open, close, toggle, and isOpen. A template `ref` on the
|
|
117
|
+
* component exposes the same methods.
|
|
118
|
+
*/
|
|
119
|
+
handleRef?: ComplexSelectorHandleRef;
|
|
120
|
+
/**
|
|
121
|
+
* Runs after the value changes. While it is pending the trigger shows a
|
|
122
|
+
* spinner and the slot sees the value that was just committed.
|
|
123
|
+
*/
|
|
124
|
+
changeAction?: (value: Value) => void | Promise<void>;
|
|
125
|
+
}
|
|
126
|
+
interface ComplexSelectorEmits<Value> {
|
|
127
|
+
change: [value: Value];
|
|
128
|
+
}
|
|
129
|
+
interface ComplexSelectorSlots<Value> {
|
|
130
|
+
default?: (props: ComplexSelectorSlotProps<Value>) => VNode[];
|
|
131
|
+
/**
|
|
132
|
+
* Replaces the field and the built-in trigger, the same job as
|
|
133
|
+
* `renderTrigger`. Spread the bindings onto the control.
|
|
134
|
+
*/
|
|
135
|
+
trigger?: (props: ComplexSelectorTriggerProps) => VNode[];
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/ComplexSelector/ComplexSelector.vue.d.ts
|
|
139
|
+
declare const __VLS_export: <Value>(__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<{
|
|
140
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
141
|
+
modelValue: Value;
|
|
142
|
+
}) & {
|
|
143
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
144
|
+
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
145
|
+
}> & (typeof globalThis extends {
|
|
146
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
147
|
+
} ? P : {});
|
|
148
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
149
|
+
attrs: any;
|
|
150
|
+
slots: ComplexSelectorSlots<Value>;
|
|
151
|
+
emit: ((evt: "change", value: Value) => void) & ((event: "update:modelValue", value: Value) => void);
|
|
152
|
+
}>) => import("vue").VNode & {
|
|
153
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
154
|
+
};
|
|
155
|
+
declare const _default: typeof __VLS_export;
|
|
156
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
157
|
+
//#endregion
|
|
158
|
+
export { ComplexSelectorProps as a, ComplexSelectorState as c, ComplexSelectorHandleRef as i, ComplexSelectorTriggerProps as l, ComplexSelectorEmits as n, ComplexSelectorSlotProps as o, ComplexSelectorHandle as r, ComplexSelectorSlots as s, _default as t, ComplexSelectorVariant as u };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
+
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding } from "./types-Db3Owy8Q.js";
|
|
3
|
+
//#region src/Popover/Popover.vue.d.ts
|
|
4
|
+
declare var __VLS_1: {}, __VLS_9: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
content?: (props: typeof __VLS_9) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
openChange: (isOpen: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
13
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
label: string;
|
|
16
|
+
width: string | number;
|
|
17
|
+
padding: PopoverPadding;
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
placement: LayerPlacement;
|
|
20
|
+
alignment: LayerAlignment;
|
|
21
|
+
hasAutoFocus: boolean;
|
|
22
|
+
isEnabled: boolean;
|
|
23
|
+
role: PopoverRole;
|
|
24
|
+
isModal: boolean;
|
|
25
|
+
hasCloseButton: boolean;
|
|
26
|
+
closeButtonLabel: string;
|
|
27
|
+
hasLightDismiss: boolean;
|
|
28
|
+
hasEscapeDismiss: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { _default as t };
|
|
@@ -34,10 +34,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
35
|
isDisabled: boolean;
|
|
36
36
|
as: ItemElement;
|
|
37
|
-
align: ItemAlign;
|
|
38
|
-
layout: ItemLayout;
|
|
39
37
|
density: ListDensity;
|
|
40
38
|
isSelected: boolean;
|
|
39
|
+
align: ItemAlign;
|
|
40
|
+
layout: ItemLayout;
|
|
41
41
|
isHighlighted: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -53,8 +53,8 @@ type __VLS_Slots$1 = ListSlots;
|
|
|
53
53
|
declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
|
|
54
54
|
element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
|
|
55
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
56
|
-
start: number;
|
|
57
56
|
density: ListDensity;
|
|
57
|
+
start: number;
|
|
58
58
|
hasDividers: boolean;
|
|
59
59
|
listStyle: ListMarkerStyle;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey, VNode } from "vue";
|
|
2
|
+
//#region src/Collapsible/types.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Logical side of the trigger label that carries the disclosure chevron.
|
|
5
|
+
*
|
|
6
|
+
* `end` is a trailing status indicator: it follows the label, points down while
|
|
7
|
+
* the content is collapsed, and flips up when it expands. `start` is a leading
|
|
8
|
+
* disclosure arrow: it sits before the label, points inward toward the content
|
|
9
|
+
* while collapsed — mirrored under RTL — and turns down when it expands.
|
|
10
|
+
*/
|
|
11
|
+
type CollapsibleChevronPosition = 'start' | 'end';
|
|
12
|
+
interface CollapsibleProps {
|
|
13
|
+
/**
|
|
14
|
+
* Plain-text trigger label.
|
|
15
|
+
*
|
|
16
|
+
* Use the `trigger` slot when the label needs markup, a heading, or
|
|
17
|
+
* additional controls; the slot replaces this prop entirely.
|
|
18
|
+
*/
|
|
19
|
+
trigger?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Open state the component starts in while `isOpen` stays unbound.
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
defaultIsOpen?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the trigger can be operated.
|
|
27
|
+
*
|
|
28
|
+
* A disabled trigger is dimmed, announces itself as disabled, and leaves the
|
|
29
|
+
* tab order. Disabling never collapses content that is already open.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
isDisabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Logical side of the trigger label that carries the disclosure chevron.
|
|
35
|
+
* @default 'end'
|
|
36
|
+
*/
|
|
37
|
+
chevronPosition?: CollapsibleChevronPosition;
|
|
38
|
+
/**
|
|
39
|
+
* Controlled open state, bound with `v-model:isOpen`. Leave it unbound to let
|
|
40
|
+
* the component own its state, starting from `defaultIsOpen`.
|
|
41
|
+
*
|
|
42
|
+
* Inside a `CollapsibleGroup`, the group owns the open state and this prop
|
|
43
|
+
* is ignored.
|
|
44
|
+
*/
|
|
45
|
+
isOpen?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Identifier used by a parent `CollapsibleGroup`. A collapsible without a
|
|
48
|
+
* `value` keeps its own open state even when it sits inside a group.
|
|
49
|
+
*/
|
|
50
|
+
value?: string;
|
|
51
|
+
}
|
|
52
|
+
interface CollapsibleEmits {
|
|
53
|
+
/**
|
|
54
|
+
* Emitted with the open state the trigger asks for. In uncontrolled usage it
|
|
55
|
+
* reports the change; in controlled usage it is the request to update the
|
|
56
|
+
* bound state.
|
|
57
|
+
*/
|
|
58
|
+
openChange: [isOpen: boolean];
|
|
59
|
+
}
|
|
60
|
+
interface CollapsibleSlots {
|
|
61
|
+
/** The content hidden while collapsed and revealed while expanded. */
|
|
62
|
+
default?: () => VNode[];
|
|
63
|
+
/** The trigger label. Replaces the `trigger` prop. */
|
|
64
|
+
trigger?: () => VNode[];
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Collapsible/Collapsible.vue.d.ts
|
|
68
|
+
type __VLS_Props$1 = Omit<CollapsibleProps, 'isOpen'>;
|
|
69
|
+
type __VLS_Slots$1 = CollapsibleSlots;
|
|
70
|
+
type __VLS_ModelProps$1 = {
|
|
71
|
+
'isOpen'?: boolean | undefined;
|
|
72
|
+
};
|
|
73
|
+
type __VLS_PublicProps$1 = __VLS_Props$1 & __VLS_ModelProps$1;
|
|
74
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
75
|
+
element: import("vue").ComputedRef<HTMLDivElement | null>;
|
|
76
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
+
openChange: (isOpen: boolean) => any;
|
|
78
|
+
"update:isOpen": (value: boolean | undefined) => any;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
80
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
81
|
+
"onUpdate:isOpen"?: ((value: boolean | undefined) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
isDisabled: boolean;
|
|
84
|
+
defaultIsOpen: boolean;
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
86
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
87
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
88
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Collapsible/context.d.ts
|
|
95
|
+
type CollapsibleGroupDensity = 'compact' | 'balanced' | 'spacious';
|
|
96
|
+
type CollapsibleGroupType = 'single' | 'multiple';
|
|
97
|
+
type CollapsibleGroupValue = string | string[];
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/Collapsible/groupTypes.d.ts
|
|
100
|
+
interface CollapsibleGroupProps {
|
|
101
|
+
/**
|
|
102
|
+
* `single` keeps one section open and lets a second click close it.
|
|
103
|
+
* `multiple` toggles each section on its own.
|
|
104
|
+
* @default 'single'
|
|
105
|
+
*/
|
|
106
|
+
type?: CollapsibleGroupType;
|
|
107
|
+
/**
|
|
108
|
+
* Open section when the group owns its state. A string in single mode, a
|
|
109
|
+
* list in multiple mode.
|
|
110
|
+
*/
|
|
111
|
+
defaultValue?: CollapsibleGroupValue;
|
|
112
|
+
/**
|
|
113
|
+
* Controlled open section, bound with `v-model:value`.
|
|
114
|
+
*/
|
|
115
|
+
value?: CollapsibleGroupValue;
|
|
116
|
+
/**
|
|
117
|
+
* Draw a hairline between sections and give them accordion padding.
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
hasDividers?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Trigger and content padding. With `hasDividers` and no density, the group
|
|
123
|
+
* uses `balanced`.
|
|
124
|
+
*/
|
|
125
|
+
density?: CollapsibleGroupDensity;
|
|
126
|
+
/**
|
|
127
|
+
* Chevron side for the group's sections. A section can still set its own
|
|
128
|
+
* `chevronPosition`.
|
|
129
|
+
* @default 'end'
|
|
130
|
+
*/
|
|
131
|
+
chevronPosition?: CollapsibleChevronPosition;
|
|
132
|
+
}
|
|
133
|
+
interface CollapsibleGroupEmits {
|
|
134
|
+
/**
|
|
135
|
+
* The next open value: a string in single mode (`''` when everything is
|
|
136
|
+
* closed) or a list in multiple mode.
|
|
137
|
+
*/
|
|
138
|
+
change: [value: CollapsibleGroupValue];
|
|
139
|
+
}
|
|
140
|
+
interface CollapsibleGroupSlots {
|
|
141
|
+
/** `Collapsible` sections. Give each one a `value` so the group can coordinate it. */
|
|
142
|
+
default?: () => VNode[];
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/Collapsible/CollapsibleGroup.vue.d.ts
|
|
146
|
+
type __VLS_Props = CollapsibleGroupProps;
|
|
147
|
+
type __VLS_Slots = CollapsibleGroupSlots;
|
|
148
|
+
type __VLS_ModelProps = {
|
|
149
|
+
'value'?: CollapsibleGroupValue;
|
|
150
|
+
};
|
|
151
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
152
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
153
|
+
"update:value": (value: CollapsibleGroupValue | undefined) => any;
|
|
154
|
+
change: (value: CollapsibleGroupValue) => any;
|
|
155
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
156
|
+
"onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
|
|
157
|
+
onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
|
|
158
|
+
}>, {
|
|
159
|
+
type: CollapsibleGroupType;
|
|
160
|
+
hasDividers: boolean;
|
|
161
|
+
chevronPosition: CollapsibleChevronPosition;
|
|
162
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
163
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
164
|
+
declare const _default: typeof __VLS_export;
|
|
165
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
166
|
+
new (): {
|
|
167
|
+
$slots: S;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
export { CollapsibleGroupDensity as a, _default$1 as c, CollapsibleProps as d, CollapsibleSlots as f, CollapsibleGroupSlots as i, CollapsibleChevronPosition as l, CollapsibleGroupEmits as n, CollapsibleGroupType as o, CollapsibleGroupProps as r, CollapsibleGroupValue as s, _default as t, CollapsibleEmits as u };
|
|
@@ -89,8 +89,8 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
89
89
|
size: MultiSelectorSize;
|
|
90
90
|
required: boolean;
|
|
91
91
|
variant: MultiSelectorVariant;
|
|
92
|
-
modelValue: readonly (string | number)[];
|
|
93
92
|
status: MultiSelectorStatus;
|
|
93
|
+
modelValue: readonly (string | number)[];
|
|
94
94
|
labelHidden: boolean;
|
|
95
95
|
disabled: boolean;
|
|
96
96
|
clearable: boolean;
|
|
@@ -23,6 +23,21 @@ interface TabListProps {
|
|
|
23
23
|
*/
|
|
24
24
|
hasDivider?: boolean;
|
|
25
25
|
}
|
|
26
|
+
interface TabMenuOption {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
/** CSS icon class, for example `i-carbon-settings`. */
|
|
30
|
+
iconClass?: string;
|
|
31
|
+
}
|
|
32
|
+
interface TabMenuProps {
|
|
33
|
+
/**
|
|
34
|
+
* Trigger text when none of the options is the selected tab, and the
|
|
35
|
+
* accessible name of the menu.
|
|
36
|
+
*/
|
|
37
|
+
label: string;
|
|
38
|
+
/** Secondary tabs collected behind the trigger. */
|
|
39
|
+
options: TabMenuOption[];
|
|
40
|
+
}
|
|
26
41
|
interface TabProps {
|
|
27
42
|
/**
|
|
28
43
|
* Unique value for this tab.
|
|
@@ -42,6 +57,12 @@ interface TabListTab {
|
|
|
42
57
|
value: string;
|
|
43
58
|
disabled: boolean;
|
|
44
59
|
el: HTMLElement;
|
|
60
|
+
/**
|
|
61
|
+
* When false, arrowing onto this stop focuses it without changing the
|
|
62
|
+
* selected value. TabMenu uses that so the overflow trigger is in the
|
|
63
|
+
* roving order without becoming a tab value of its own.
|
|
64
|
+
*/
|
|
65
|
+
selectsOnFocus?: boolean;
|
|
45
66
|
}
|
|
46
67
|
//#endregion
|
|
47
68
|
//#region src/TabList/Tab.vue.d.ts
|
|
@@ -52,8 +73,8 @@ type __VLS_Slots$1 = {} & {
|
|
|
52
73
|
declare const __VLS_base$1: import("vue").DefineComponent<TabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabProps> & Readonly<{}>, {
|
|
53
74
|
disabled: boolean;
|
|
54
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const __VLS_export$
|
|
56
|
-
declare const _default$
|
|
76
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
77
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
57
78
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
58
79
|
new (): {
|
|
59
80
|
$slots: S;
|
|
@@ -72,15 +93,19 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
|
|
|
72
93
|
onChange?: ((value: string) => any) | undefined;
|
|
73
94
|
}>, {
|
|
74
95
|
size: TabListSize;
|
|
75
|
-
layout: TabListLayout;
|
|
76
96
|
hasDivider: boolean;
|
|
97
|
+
layout: TabListLayout;
|
|
77
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
79
|
-
declare const _default: typeof __VLS_export;
|
|
99
|
+
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
100
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
80
101
|
type __VLS_WithSlots<T, S> = T & {
|
|
81
102
|
new (): {
|
|
82
103
|
$slots: S;
|
|
83
104
|
};
|
|
84
105
|
};
|
|
85
106
|
//#endregion
|
|
86
|
-
|
|
107
|
+
//#region src/TabList/TabMenu.vue.d.ts
|
|
108
|
+
declare const __VLS_export: import("vue").DefineComponent<TabMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
109
|
+
declare const _default: typeof __VLS_export;
|
|
110
|
+
//#endregion
|
|
111
|
+
export { TabListProps as a, TabMenuOption as c, TabListLayout as i, TabMenuProps as l, _default$1 as n, TabListSize as o, _default$2 as r, TabListTab as s, _default as t, TabProps as u };
|