@kazee-ds/vue 0.0.0-stage → 0.5.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/index.js +5703 -0
- package/dist/index.js.map +1 -0
- package/dist/types/Alert.vue.d.ts +28 -0
- package/dist/types/Badge.vue.d.ts +19 -0
- package/dist/types/Breadcrumb.vue.d.ts +14 -0
- package/dist/types/Button.vue.d.ts +54 -0
- package/dist/types/ButtonGroup.d.ts +65 -0
- package/dist/types/ButtonGroupSeparator.d.ts +4 -0
- package/dist/types/Card.vue.d.ts +25 -0
- package/dist/types/Chart.vue.d.ts +27 -0
- package/dist/types/CheckIcon.vue.d.ts +3 -0
- package/dist/types/Checkbox.vue.d.ts +35 -0
- package/dist/types/ChevronIcon.vue.d.ts +3 -0
- package/dist/types/CloseIcon.vue.d.ts +3 -0
- package/dist/types/Combobox.vue.d.ts +39 -0
- package/dist/types/DataTable.vue.d.ts +44 -0
- package/dist/types/DateRangePanel.vue.d.ts +21 -0
- package/dist/types/DateRangePicker.vue.d.ts +47 -0
- package/dist/types/Dialog.vue.d.ts +58 -0
- package/dist/types/DropdownMenu.vue.d.ts +52 -0
- package/dist/types/DropdownMenuBranch.vue.d.ts +30 -0
- package/dist/types/Empty.vue.d.ts +25 -0
- package/dist/types/Field.vue.d.ts +34 -0
- package/dist/types/FieldFeedback.vue.d.ts +12 -0
- package/dist/types/Form.vue.d.ts +35 -0
- package/dist/types/Input.vue.d.ts +89 -0
- package/dist/types/Label.vue.d.ts +20 -0
- package/dist/types/Listbox.vue.d.ts +35 -0
- package/dist/types/MenuItemContent.vue.d.ts +19 -0
- package/dist/types/NumberField.vue.d.ts +47 -0
- package/dist/types/Pagination.vue.d.ts +33 -0
- package/dist/types/Popover.vue.d.ts +34 -0
- package/dist/types/RadioGroup.vue.d.ts +37 -0
- package/dist/types/Select.vue.d.ts +53 -0
- package/dist/types/SelectGroup.d.ts +56 -0
- package/dist/types/SelectionValidation.vue.d.ts +14 -0
- package/dist/types/Separator.vue.d.ts +10 -0
- package/dist/types/Sidebar.vue.d.ts +25 -0
- package/dist/types/Skeleton.vue.d.ts +10 -0
- package/dist/types/Spinner.vue.d.ts +15 -0
- package/dist/types/Switch.vue.d.ts +31 -0
- package/dist/types/Table.vue.d.ts +16 -0
- package/dist/types/Tabs.vue.d.ts +58 -0
- package/dist/types/TabsListView.vue.d.ts +22 -0
- package/dist/types/Textarea.vue.d.ts +47 -0
- package/dist/types/Toast.vue.d.ts +35 -0
- package/dist/types/ToastProvider.vue.d.ts +41 -0
- package/dist/types/ToggleButton.vue.d.ts +36 -0
- package/dist/types/ToggleButtonGroup.vue.d.ts +35 -0
- package/dist/types/ToggleGroup.vue.d.ts +39 -0
- package/dist/types/Tooltip.vue.d.ts +36 -0
- package/dist/types/button-family-context.d.ts +8 -0
- package/dist/types/chart-model.d.ts +12 -0
- package/dist/types/dashboard-types.d.ts +27 -0
- package/dist/types/data-table-types.d.ts +13 -0
- package/dist/types/date-range-model.d.ts +69 -0
- package/dist/types/form-context.d.ts +3 -0
- package/dist/types/index.d.ts +61 -0
- package/dist/types/listbox-selection.d.ts +8 -0
- package/dist/types/overlay-model.d.ts +14 -0
- package/dist/types/pagination-model.d.ts +5 -0
- package/dist/types/selection-options.d.ts +8 -0
- package/dist/types/tabs-indicator.d.ts +1 -0
- package/dist/types/toast-model.d.ts +64 -0
- package/dist/types/toggle-group-model.d.ts +9 -0
- package/dist/types/types.d.ts +43 -0
- package/dist/types/useDisclosure.d.ts +7 -0
- package/dist/types/useFeedback.d.ts +10 -0
- package/dist/types/useToast.d.ts +5 -0
- package/package.json +50 -3
- package/README.md +0 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ValidationErrors } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
validationErrors?: ValidationErrors;
|
|
4
|
+
noValidate?: boolean;
|
|
5
|
+
id?: string;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
ariaLabelledby?: string;
|
|
8
|
+
dir?: 'ltr' | 'rtl';
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
submit: (data: FormData, event: SubmitEvent) => any;
|
|
16
|
+
reset: (event: Event) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onSubmit?: ((data: FormData, event: SubmitEvent) => any) | undefined;
|
|
19
|
+
onReset?: ((event: Event) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
id: string;
|
|
22
|
+
dir: "ltr" | "rtl";
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
ariaLabelledby: string;
|
|
25
|
+
validationErrors: Readonly<Record<string, string | undefined>>;
|
|
26
|
+
noValidate: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { InputSize, InputType, InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Shown only when invalid is true; the application owns validation. */
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
type?: InputType;
|
|
14
|
+
size?: InputSize;
|
|
15
|
+
variant?: InputVariant;
|
|
16
|
+
fullWidth?: boolean;
|
|
17
|
+
name?: string;
|
|
18
|
+
id?: string;
|
|
19
|
+
autoComplete?: string;
|
|
20
|
+
maxLength?: number;
|
|
21
|
+
minLength?: number;
|
|
22
|
+
pattern?: string;
|
|
23
|
+
inputMode?: InputMode;
|
|
24
|
+
enterKeyHint?: InputEnterKeyHint;
|
|
25
|
+
autoFocus?: boolean;
|
|
26
|
+
spellCheck?: boolean;
|
|
27
|
+
form?: string;
|
|
28
|
+
dir?: 'ltr' | 'rtl';
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Slots = {
|
|
31
|
+
prefix?: () => unknown;
|
|
32
|
+
suffix?: () => unknown;
|
|
33
|
+
};
|
|
34
|
+
declare function focus(): void;
|
|
35
|
+
declare function select(): void;
|
|
36
|
+
type __VLS_ModelProps = {
|
|
37
|
+
/** Controlled v-model values are strings; clear with an empty string. */
|
|
38
|
+
modelValue?: string;
|
|
39
|
+
};
|
|
40
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
41
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
42
|
+
focus: typeof focus;
|
|
43
|
+
select: typeof select;
|
|
44
|
+
element: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
45
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
blur: (event: FocusEvent) => any;
|
|
47
|
+
focus: (event: FocusEvent) => any;
|
|
48
|
+
keydown: (event: KeyboardEvent) => any;
|
|
49
|
+
keyup: (event: KeyboardEvent) => any;
|
|
50
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
52
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
53
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
54
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
55
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
description: string;
|
|
59
|
+
id: string;
|
|
60
|
+
form: string;
|
|
61
|
+
pattern: string;
|
|
62
|
+
type: InputType;
|
|
63
|
+
required: boolean;
|
|
64
|
+
dir: "ltr" | "rtl";
|
|
65
|
+
variant: InputVariant;
|
|
66
|
+
size: InputSize;
|
|
67
|
+
fullWidth: boolean;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
name: string;
|
|
70
|
+
invalid: boolean;
|
|
71
|
+
errorMessage: string;
|
|
72
|
+
defaultValue: string;
|
|
73
|
+
placeholder: string;
|
|
74
|
+
readonly: boolean;
|
|
75
|
+
autoComplete: string;
|
|
76
|
+
maxLength: number;
|
|
77
|
+
minLength: number;
|
|
78
|
+
inputMode: InputMode;
|
|
79
|
+
enterKeyHint: InputEnterKeyHint;
|
|
80
|
+
spellCheck: boolean;
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
83
|
+
declare const _default: typeof __VLS_export;
|
|
84
|
+
export default _default;
|
|
85
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
86
|
+
new (): {
|
|
87
|
+
$slots: S;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
for?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
id: string;
|
|
11
|
+
for: string;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ListboxOption, type ListboxSelectionMode } from './listbox-selection.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
options: ListboxOption[];
|
|
5
|
+
modelValue?: string[];
|
|
6
|
+
defaultValue?: string[];
|
|
7
|
+
selectionMode?: ListboxSelectionMode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
name?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
dir?: 'ltr' | 'rtl';
|
|
15
|
+
emptyMessage?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: string[]) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
description: string;
|
|
23
|
+
id: string;
|
|
24
|
+
dir: "ltr" | "rtl";
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
name: string;
|
|
27
|
+
invalid: boolean;
|
|
28
|
+
emptyMessage: string;
|
|
29
|
+
errorMessage: string;
|
|
30
|
+
modelValue: string[];
|
|
31
|
+
defaultValue: string[];
|
|
32
|
+
selectionMode: ListboxSelectionMode;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: DropdownMenuItem;
|
|
4
|
+
selectable: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
icon?: (props: {
|
|
8
|
+
item: DropdownMenuItem;
|
|
9
|
+
}) => unknown;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
modelValue?: number | null;
|
|
4
|
+
defaultValue?: number | null;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
locale?: string;
|
|
9
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
10
|
+
description?: string;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
name?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
dir?: 'ltr' | 'rtl';
|
|
19
|
+
incrementLabel?: string;
|
|
20
|
+
decrementLabel?: string;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: number | null) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
description: string;
|
|
28
|
+
id: string;
|
|
29
|
+
required: boolean;
|
|
30
|
+
dir: "ltr" | "rtl";
|
|
31
|
+
step: number;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
name: string;
|
|
34
|
+
invalid: boolean;
|
|
35
|
+
locale: string;
|
|
36
|
+
formatOptions: Intl.NumberFormatOptions;
|
|
37
|
+
errorMessage: string;
|
|
38
|
+
modelValue: number | null;
|
|
39
|
+
defaultValue: number | null;
|
|
40
|
+
readonly: boolean;
|
|
41
|
+
min: number;
|
|
42
|
+
max: number;
|
|
43
|
+
incrementLabel: string;
|
|
44
|
+
decrementLabel: string;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
totalItems: number;
|
|
3
|
+
pageSize?: number;
|
|
4
|
+
modelValue?: number;
|
|
5
|
+
defaultValue?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
siblingCount?: number;
|
|
8
|
+
label?: string;
|
|
9
|
+
previousLabel?: string;
|
|
10
|
+
nextLabel?: string;
|
|
11
|
+
pageLabel?: string;
|
|
12
|
+
dir?: 'ltr' | 'rtl';
|
|
13
|
+
id?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (page: number) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((page: number) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
dir: "ltr" | "rtl";
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
modelValue: number;
|
|
25
|
+
defaultValue: number;
|
|
26
|
+
pageSize: number;
|
|
27
|
+
siblingCount: number;
|
|
28
|
+
previousLabel: string;
|
|
29
|
+
nextLabel: string;
|
|
30
|
+
pageLabel: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
triggerLabel: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
closeLabel?: string;
|
|
9
|
+
dir?: 'ltr' | 'rtl';
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_27: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_27) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:open": (open: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
description: string;
|
|
21
|
+
dir: "ltr" | "rtl";
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
open: boolean;
|
|
24
|
+
defaultOpen: boolean;
|
|
25
|
+
closeLabel: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { RadioOption } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
options: RadioOption[];
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
orientation?: 'vertical' | 'horizontal';
|
|
14
|
+
dir?: 'ltr' | 'rtl';
|
|
15
|
+
};
|
|
16
|
+
type __VLS_ModelProps = {
|
|
17
|
+
modelValue?: string;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
description: string;
|
|
26
|
+
id: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
dir: "ltr" | "rtl";
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
orientation: "horizontal" | "vertical";
|
|
31
|
+
name: string;
|
|
32
|
+
invalid: boolean;
|
|
33
|
+
errorMessage: string;
|
|
34
|
+
defaultValue: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type SelectOption } from './selection-options.js';
|
|
2
|
+
import type { SelectSize, SelectVariant } from './types.js';
|
|
3
|
+
declare const __VLS_export: <M extends "single" | "multiple" = "single">(__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<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
5
|
+
label: string;
|
|
6
|
+
options: SelectOption[];
|
|
7
|
+
size?: SelectSize;
|
|
8
|
+
variant?: SelectVariant;
|
|
9
|
+
hideLabel?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
selectionMode?: M;
|
|
13
|
+
modelValue?: M extends "multiple" ? string[] : string | undefined;
|
|
14
|
+
defaultValue?: M extends "multiple" ? string[] : string | undefined;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
description?: string;
|
|
19
|
+
errorMessage?: string;
|
|
20
|
+
requiredMessage?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
dir?: "ltr" | "rtl";
|
|
23
|
+
clearable?: boolean;
|
|
24
|
+
clearLabel?: string;
|
|
25
|
+
} & {
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
onClear?: (() => any) | undefined;
|
|
28
|
+
"onUpdate:modelValue"?: ((value: M extends "multiple" ? string[] : string | undefined) => any) | undefined;
|
|
29
|
+
}> & (typeof globalThis extends {
|
|
30
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
31
|
+
} ? P : {});
|
|
32
|
+
expose: (exposed: {}) => void;
|
|
33
|
+
attrs: any;
|
|
34
|
+
slots: {
|
|
35
|
+
start?: () => unknown;
|
|
36
|
+
option?: (props: {
|
|
37
|
+
option: SelectOption;
|
|
38
|
+
}) => unknown;
|
|
39
|
+
value?: (props: {
|
|
40
|
+
selected: SelectOption[];
|
|
41
|
+
}) => unknown;
|
|
42
|
+
};
|
|
43
|
+
emit: ((evt: "close") => void) & ((evt: "clear") => void) & ((evt: "update:modelValue", value: M extends "multiple" ? string[] : string | undefined) => void);
|
|
44
|
+
}>) => import("vue").VNode & {
|
|
45
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
46
|
+
};
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} : {
|
|
52
|
+
[K in keyof T as K]: T[K];
|
|
53
|
+
}) & {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
import type { SelectSize, SelectVariant } from './types.js';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<SelectSize>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: PropType<SelectVariant>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
fullWidth: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
disabled: BooleanConstructor;
|
|
21
|
+
dir: {
|
|
22
|
+
type: PropType<"ltr" | "rtl">;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
label: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: PropType<SelectSize>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
variant: {
|
|
37
|
+
type: PropType<SelectVariant>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
fullWidth: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
dir: {
|
|
46
|
+
type: PropType<"ltr" | "rtl">;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
dir: "ltr" | "rtl";
|
|
51
|
+
variant: SelectVariant;
|
|
52
|
+
size: SelectSize;
|
|
53
|
+
fullWidth: boolean;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
hasValue: boolean;
|
|
3
|
+
required?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
reset: (cancelled: boolean) => any;
|
|
8
|
+
invalid: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onReset?: ((cancelled: boolean) => any) | undefined;
|
|
11
|
+
onInvalid?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3
|
+
decorative?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
orientation: "horizontal" | "vertical";
|
|
7
|
+
decorative: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { NavigationItem } from './dashboard-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
items: NavigationItem[];
|
|
5
|
+
currentId?: string;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
toggleLabel?: string;
|
|
9
|
+
dir?: 'ltr' | 'rtl';
|
|
10
|
+
id?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:open": (open: boolean) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
id: string;
|
|
18
|
+
dir: "ltr" | "rtl";
|
|
19
|
+
toggleLabel: string;
|
|
20
|
+
open: boolean;
|
|
21
|
+
defaultOpen: boolean;
|
|
22
|
+
currentId: string;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
shape?: 'rectangle' | 'circle';
|
|
3
|
+
animated?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
shape: "circle" | "rectangle";
|
|
7
|
+
animated: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SpinnerSize, SpinnerColor } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
size?: SpinnerSize;
|
|
4
|
+
color?: SpinnerColor;
|
|
5
|
+
label?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
id: string;
|
|
10
|
+
label: string;
|
|
11
|
+
size: SpinnerSize;
|
|
12
|
+
color: SpinnerColor;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
defaultValue?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
invalid?: boolean;
|
|
7
|
+
description?: string;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
dir?: 'ltr' | 'rtl';
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: boolean) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
description: string;
|
|
20
|
+
id: string;
|
|
21
|
+
dir: "ltr" | "rtl";
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
name: string;
|
|
24
|
+
invalid: boolean;
|
|
25
|
+
errorMessage: string;
|
|
26
|
+
modelValue: boolean;
|
|
27
|
+
defaultValue: boolean;
|
|
28
|
+
value: string;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
caption: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { TabItem, ButtonSize, TabsVariant } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
variant?: TabsVariant;
|
|
5
|
+
size?: ButtonSize;
|
|
6
|
+
orientation?: 'horizontal' | 'vertical';
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
/** Remove track inset and gaps; pill uses an outlined track. */
|
|
10
|
+
inset?: 'default' | 'none';
|
|
11
|
+
showSeparators?: boolean;
|
|
12
|
+
previousLabel?: string;
|
|
13
|
+
nextLabel?: string;
|
|
14
|
+
items: TabItem[];
|
|
15
|
+
modelValue?: string;
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
activationMode?: 'automatic' | 'manual';
|
|
18
|
+
dir?: 'ltr' | 'rtl';
|
|
19
|
+
id?: string;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Slots = {
|
|
22
|
+
default?: (props: {
|
|
23
|
+
item: TabItem;
|
|
24
|
+
}) => unknown;
|
|
25
|
+
extras?: () => unknown;
|
|
26
|
+
actions?: () => unknown;
|
|
27
|
+
icon?: (props: {
|
|
28
|
+
item: TabItem;
|
|
29
|
+
}) => unknown;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: string) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
id: string;
|
|
37
|
+
dir: "ltr" | "rtl";
|
|
38
|
+
variant: TabsVariant;
|
|
39
|
+
size: ButtonSize;
|
|
40
|
+
fullWidth: boolean;
|
|
41
|
+
orientation: "horizontal" | "vertical";
|
|
42
|
+
modelValue: string;
|
|
43
|
+
defaultValue: string;
|
|
44
|
+
align: "center" | "start" | "end";
|
|
45
|
+
previousLabel: string;
|
|
46
|
+
nextLabel: string;
|
|
47
|
+
showSeparators: boolean;
|
|
48
|
+
inset: "none" | "default";
|
|
49
|
+
activationMode: "automatic" | "manual";
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|