@kazee-ds/vue 0.5.5 → 0.7.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/README.md +3 -1
- package/dist/index.js +9057 -4740
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.vue.d.ts +3 -2
- package/dist/types/Avatar.vue.d.ts +31 -0
- package/dist/types/AvatarBadge.vue.d.ts +24 -0
- package/dist/types/AvatarFallback.vue.d.ts +22 -0
- package/dist/types/AvatarGroup.d.ts +79 -0
- package/dist/types/AvatarGroupCount.vue.d.ts +20 -0
- package/dist/types/AvatarImage.vue.d.ts +30 -0
- package/dist/types/Badge.vue.d.ts +20 -8
- package/dist/types/BadgeAnchor.vue.d.ts +19 -0
- package/dist/types/Breadcrumb.vue.d.ts +2 -1
- package/dist/types/Button.vue.d.ts +4 -3
- package/dist/types/ButtonGroup.d.ts +11 -2
- package/dist/types/Calendar.vue.d.ts +47 -0
- package/dist/types/Card.vue.d.ts +11 -2
- package/dist/types/CardAction.vue.d.ts +15 -0
- package/dist/types/CardFooter.vue.d.ts +20 -0
- package/dist/types/CardHeader.vue.d.ts +22 -0
- package/dist/types/CardRoot.vue.d.ts +23 -0
- package/dist/types/CardTitle.vue.d.ts +21 -0
- package/dist/types/Chart.vue.d.ts +2 -1
- package/dist/types/Checkbox.vue.d.ts +5 -4
- package/dist/types/CheckboxIndicator.vue.d.ts +14 -0
- package/dist/types/Combobox.vue.d.ts +2 -1
- package/dist/types/CompositionListBox.vue.d.ts +32 -0
- package/dist/types/CompositionListBoxItem.vue.d.ts +23 -0
- package/dist/types/CompositionListBoxItemIndicator.vue.d.ts +15 -0
- package/dist/types/CompositionListBoxSection.vue.d.ts +15 -0
- package/dist/types/DataTable.vue.d.ts +3 -2
- package/dist/types/DataTableRoot.vue.d.ts +26 -0
- package/dist/types/DataTableSortButton.vue.d.ts +18 -0
- package/dist/types/DateRangePanel.vue.d.ts +4 -3
- package/dist/types/DateRangePicker.vue.d.ts +17 -13
- package/dist/types/Description.vue.d.ts +16 -0
- package/dist/types/Dialog.vue.d.ts +6 -5
- package/dist/types/DropdownMenu.vue.d.ts +9 -6
- package/dist/types/DropdownMenuBranch.vue.d.ts +2 -1
- package/dist/types/Empty.vue.d.ts +2 -1
- package/dist/types/Field.vue.d.ts +4 -3
- package/dist/types/FieldError.vue.d.ts +16 -0
- package/dist/types/FieldFeedback.vue.d.ts +2 -1
- package/dist/types/Form.vue.d.ts +4 -3
- package/dist/types/Input.vue.d.ts +13 -8
- package/dist/types/InputClearButton.vue.d.ts +13 -0
- package/dist/types/InputControl.vue.d.ts +40 -0
- package/dist/types/InputLabel.vue.d.ts +13 -0
- package/dist/types/InputRoot.vue.d.ts +43 -0
- package/dist/types/Label.vue.d.ts +2 -1
- package/dist/types/Listbox.vue.d.ts +5 -4
- package/dist/types/MenuItemContent.vue.d.ts +2 -1
- package/dist/types/MonthYearNavigation.vue.d.ts +23 -0
- package/dist/types/NumberField.vue.d.ts +6 -5
- package/dist/types/Pagination.vue.d.ts +2 -1
- package/dist/types/Popover.vue.d.ts +2 -1
- package/dist/types/RadioGroup.vue.d.ts +5 -4
- package/dist/types/Select.vue.d.ts +5 -4
- package/dist/types/SelectClearButton.vue.d.ts +15 -0
- package/dist/types/SelectGroup.d.ts +11 -2
- package/dist/types/SelectPopover.vue.d.ts +13 -0
- package/dist/types/SelectRoot.vue.d.ts +50 -0
- package/dist/types/SelectTrigger.vue.d.ts +13 -0
- package/dist/types/SelectValue.vue.d.ts +19 -0
- package/dist/types/SelectionValidation.vue.d.ts +2 -2
- package/dist/types/Separator.vue.d.ts +2 -1
- package/dist/types/Sidebar.vue.d.ts +2 -1
- package/dist/types/SidebarNavigation.vue.d.ts +13 -0
- package/dist/types/SidebarRoot.vue.d.ts +26 -0
- package/dist/types/SidebarToggle.vue.d.ts +15 -0
- package/dist/types/Skeleton.vue.d.ts +2 -1
- package/dist/types/Spinner.vue.d.ts +2 -1
- package/dist/types/Switch.vue.d.ts +27 -5
- package/dist/types/SwitchGroup.vue.d.ts +21 -0
- package/dist/types/SwitchRoot.vue.d.ts +37 -0
- package/dist/types/Table.vue.d.ts +2 -1
- package/dist/types/Tabs.vue.d.ts +7 -4
- package/dist/types/TabsListView.vue.d.ts +2 -1
- package/dist/types/TabsRoot.vue.d.ts +32 -0
- package/dist/types/TemporalField.vue.d.ts +20 -0
- package/dist/types/TemporalPanel.vue.d.ts +3 -0
- package/dist/types/TemporalPicker.vue.d.ts +52 -0
- package/dist/types/TemporalRangeField.vue.d.ts +21 -0
- package/dist/types/Textarea.vue.d.ts +6 -5
- package/dist/types/TextareaControl.vue.d.ts +13 -0
- package/dist/types/TimeControls.vue.d.ts +20 -0
- package/dist/types/Toast.vue.d.ts +4 -2
- package/dist/types/ToastActionButton.vue.d.ts +16 -0
- package/dist/types/ToastCloseButton.vue.d.ts +13 -0
- package/dist/types/ToastProvider.vue.d.ts +7 -2
- package/dist/types/ToggleButton.vue.d.ts +4 -3
- package/dist/types/ToggleButtonGroup.vue.d.ts +4 -2
- package/dist/types/ToggleGroup.vue.d.ts +3 -2
- package/dist/types/Tooltip.vue.d.ts +2 -1
- package/dist/types/avatar-context.d.ts +19 -0
- package/dist/types/button-family-context.d.ts +1 -0
- package/dist/types/card-context.d.ts +2 -0
- package/dist/types/card-types.d.ts +12 -0
- package/dist/types/composition-factory.d.ts +20 -0
- package/dist/types/composition.d.ts +575 -0
- package/dist/types/data-table-composition-context.d.ts +8 -0
- package/dist/types/date-range-model.d.ts +3 -1
- package/dist/types/feedback-context.d.ts +8 -0
- package/dist/types/index.d.ts +336 -30
- package/dist/types/input-composition-context.d.ts +15 -0
- package/dist/types/select-composition-context.d.ts +18 -0
- package/dist/types/sidebar-composition-context.d.ts +7 -0
- package/dist/types/styling.d.ts +5 -0
- package/dist/types/switch-context.d.ts +9 -0
- package/dist/types/temporal-components.d.ts +855 -0
- package/dist/types/temporal-context.d.ts +32 -0
- package/dist/types/temporal-model.d.ts +44 -0
- package/dist/types/temporal-parts.d.ts +53 -0
- package/dist/types/temporal-types.d.ts +56 -0
- package/dist/types/toast-composition-context.d.ts +9 -0
- package/dist/types/toggle-group-model.d.ts +1 -1
- package/dist/types/types.d.ts +6 -6
- package/dist/types/visual.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_20: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_20) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_15: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_15) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { DataTableColumn, DataTableRow, TableSort } from './data-table-types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'body' | 'caption' | 'cell' | 'column' | 'empty' | 'error' | 'header' | 'root' | 'row' | 'scroll' | 'sort' | 'status' | 'table'> & {
|
|
3
4
|
caption: string;
|
|
4
5
|
columns: DataTableColumn[];
|
|
5
6
|
rows: DataTableRow[];
|
|
@@ -26,12 +27,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
27
|
"onUpdate:sort"?: ((sort: TableSort) => any) | undefined;
|
|
27
28
|
}>, {
|
|
28
29
|
sort: TableSort | null;
|
|
30
|
+
loading: boolean;
|
|
29
31
|
id: string;
|
|
30
32
|
dir: "ltr" | "rtl";
|
|
31
33
|
disabled: boolean;
|
|
32
34
|
emptyMessage: string;
|
|
33
35
|
errorMessage: string;
|
|
34
|
-
loading: boolean;
|
|
35
36
|
loadingMessage: string;
|
|
36
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TableSort } from './data-table-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
sort?: TableSort | null;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {
|
|
8
|
+
sort: TableSort | null | undefined;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
};
|
|
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
|
+
"update:sort": (sort: TableSort) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:sort"?: ((sort: TableSort) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
columnId: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {
|
|
5
|
+
direction: "ascending" | "descending" | undefined;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
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>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type DateRange, type DateRangeOptions, type DateRangeLabels } from './date-range-model.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'apply' | 'body' | 'calendar' | 'cancel' | 'clear' | 'content' | 'day' | 'field' | 'footer' | 'grid' | 'heading' | 'inputs' | 'intro' | 'jump' | 'main' | 'month' | 'months' | 'nav' | 'navigation' | 'preset' | 'presets' | 'root' | 'summary' | 'validation' | 'weekday'> & {
|
|
3
4
|
options: DateRangeOptions;
|
|
4
5
|
draft: DateRange;
|
|
5
6
|
labels: DateRangeLabels;
|
|
@@ -10,12 +11,12 @@ type __VLS_Props = {
|
|
|
10
11
|
};
|
|
11
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
cancel: () => any;
|
|
13
|
-
draft: (value: DateRange) => any;
|
|
14
14
|
apply: () => any;
|
|
15
|
+
draft: (value: DateRange) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
17
|
onCancel?: (() => any) | undefined;
|
|
17
|
-
onDraft?: ((value: DateRange) => any) | undefined;
|
|
18
18
|
onApply?: (() => any) | undefined;
|
|
19
|
+
onDraft?: ((value: DateRange) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: typeof __VLS_export;
|
|
21
22
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type DateRange, type DateRangeOptions } from './date-range-model.js';
|
|
2
3
|
interface Props extends DateRangeOptions {
|
|
3
4
|
modelValue?: DateRange | null;
|
|
@@ -6,40 +7,43 @@ interface Props extends DateRangeOptions {
|
|
|
6
7
|
required?: boolean;
|
|
7
8
|
invalid?: boolean;
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
type __VLS_Props = StylingProps<'apply' | 'body' | 'calendar' | 'cancel' | 'chevron' | 'clear' | 'content' | 'day' | 'description' | 'error' | 'field' | 'footer' | 'grid' | 'heading' | 'icon' | 'inputs' | 'intro' | 'jump' | 'label' | 'main' | 'month' | 'months' | 'nav' | 'navigation' | 'panel' | 'preset' | 'presets' | 'root' | 'summary' | 'trigger' | 'validation' | 'value' | 'weekday'> & Props;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
"update:modelValue": (value: DateRange | null) => any;
|
|
11
13
|
"update:open": (open: boolean) => any;
|
|
12
14
|
apply: (value: DateRange | null) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
16
|
"onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
|
|
15
17
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
18
|
onApply?: ((value: DateRange | null) => any) | undefined;
|
|
17
19
|
}>, {
|
|
18
20
|
description: string;
|
|
19
|
-
dir: "ltr" | "rtl";
|
|
20
|
-
variant: import("./date-range-model.js").DateRangeVariant;
|
|
21
21
|
size: import("./date-range-model.js").DateRangeSize;
|
|
22
|
-
|
|
22
|
+
variant: import("./date-range-model.js").DateRangeVariant;
|
|
23
|
+
dir: "ltr" | "rtl";
|
|
23
24
|
name: string;
|
|
25
|
+
fullWidth: boolean;
|
|
24
26
|
locale: string;
|
|
25
|
-
|
|
27
|
+
minDate: string;
|
|
28
|
+
maxDate: string;
|
|
26
29
|
modelValue: DateRange | null;
|
|
27
30
|
defaultValue: DateRange | null;
|
|
28
|
-
|
|
29
|
-
defaultOpen: boolean;
|
|
31
|
+
isDateUnavailable: (date: string) => boolean;
|
|
30
32
|
visibleMonths: 1 | 2;
|
|
31
33
|
weekStartsOn: 0 | 1;
|
|
32
|
-
|
|
34
|
+
referenceDate: string;
|
|
35
|
+
errorMessage: string;
|
|
36
|
+
open: boolean;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
display: "dialog" | "inline" | "auto" | "popover";
|
|
39
|
+
commitMode: "immediate" | "apply";
|
|
40
|
+
showActions: boolean;
|
|
33
41
|
showInputs: boolean;
|
|
34
42
|
showMonthYearPicker: boolean;
|
|
35
43
|
triggerDisplay: "text" | "icon";
|
|
36
44
|
presets: import("./date-range-model.js").DateRangePreset[];
|
|
37
45
|
labels: Partial<import("./date-range-model.js").DateRangeLabels>;
|
|
38
46
|
formatRange: (value: DateRange, locale: string) => string;
|
|
39
|
-
referenceDate: string;
|
|
40
|
-
isDateUnavailable: (date: string) => boolean;
|
|
41
|
-
minDate: string;
|
|
42
|
-
maxDate: string;
|
|
43
47
|
minDays: number;
|
|
44
48
|
maxDays: number;
|
|
45
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: 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
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ButtonVariant } from './types.js';
|
|
2
3
|
import type { DialogSize, DialogPlacement, DialogScroll, DialogBackdrop } from './overlay-model.js';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
+
type __VLS_Props = StylingProps<'backdrop' | 'body' | 'close' | 'content' | 'description' | 'footer' | 'footerClose' | 'header' | 'panel' | 'root' | 'title' | 'trigger'> & {
|
|
4
5
|
triggerLabel: string;
|
|
5
6
|
title: string;
|
|
6
7
|
description?: string;
|
|
@@ -32,16 +33,16 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
32
33
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
33
34
|
}>, {
|
|
34
35
|
description: string;
|
|
35
|
-
dir: "ltr" | "rtl";
|
|
36
36
|
size: DialogSize;
|
|
37
|
-
|
|
37
|
+
dir: "ltr" | "rtl";
|
|
38
|
+
placement: DialogPlacement;
|
|
38
39
|
scroll: DialogScroll;
|
|
40
|
+
disabled: boolean;
|
|
39
41
|
open: boolean;
|
|
40
42
|
defaultOpen: boolean;
|
|
43
|
+
backdrop: DialogBackdrop;
|
|
41
44
|
closeLabel: string;
|
|
42
45
|
triggerVariant: ButtonVariant;
|
|
43
|
-
placement: DialogPlacement;
|
|
44
|
-
backdrop: DialogBackdrop;
|
|
45
46
|
dismissable: boolean;
|
|
46
47
|
keyboardDismissDisabled: boolean;
|
|
47
48
|
showCloseButton: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type MenuSelectionMode, type MenuPlacement } from './overlay-model.js';
|
|
2
3
|
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
3
|
-
import type { ButtonVariant } from './types.js';
|
|
4
|
-
type __VLS_Props = {
|
|
4
|
+
import type { ButtonVariant, ButtonSize } from './types.js';
|
|
5
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' | 'icon' | 'item' | 'panel' | 'root' | 'separator' | 'shortcut' | 'text' | 'trigger'> & {
|
|
5
6
|
triggerLabel: string;
|
|
6
7
|
items: DropdownMenuItem[];
|
|
7
8
|
open?: boolean;
|
|
@@ -10,6 +11,7 @@ type __VLS_Props = {
|
|
|
10
11
|
dir?: 'ltr' | 'rtl';
|
|
11
12
|
triggerIconOnly?: boolean;
|
|
12
13
|
triggerVariant?: ButtonVariant;
|
|
14
|
+
triggerSize?: ButtonSize;
|
|
13
15
|
selectionMode?: MenuSelectionMode;
|
|
14
16
|
selectedKeys?: string[];
|
|
15
17
|
defaultSelectedKeys?: string[];
|
|
@@ -23,23 +25,24 @@ type __VLS_Slots = {
|
|
|
23
25
|
}) => unknown;
|
|
24
26
|
};
|
|
25
27
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:open": (open: boolean) => any;
|
|
27
28
|
action: (id: string) => any;
|
|
29
|
+
"update:open": (open: boolean) => any;
|
|
28
30
|
"update:selectedKeys": (keys: string[]) => any;
|
|
29
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
31
32
|
onAction?: ((id: string) => any) | undefined;
|
|
33
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
32
34
|
"onUpdate:selectedKeys"?: ((keys: string[]) => any) | undefined;
|
|
33
35
|
}>, {
|
|
34
36
|
dir: "ltr" | "rtl";
|
|
37
|
+
placement: MenuPlacement;
|
|
35
38
|
disabled: boolean;
|
|
36
39
|
open: boolean;
|
|
37
40
|
defaultOpen: boolean;
|
|
41
|
+
selectionMode: MenuSelectionMode;
|
|
38
42
|
triggerVariant: ButtonVariant;
|
|
39
|
-
placement: MenuPlacement;
|
|
40
43
|
selectedKeys: string[];
|
|
41
|
-
selectionMode: MenuSelectionMode;
|
|
42
44
|
closeOnSelect: boolean;
|
|
45
|
+
triggerSize: ButtonSize;
|
|
43
46
|
defaultSelectedKeys: string[];
|
|
44
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type MenuSelectionMode } from './overlay-model.js';
|
|
2
3
|
import type { DropdownMenuItem as Item } from './dashboard-types.js';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' | 'icon' | 'item' | 'panel' | 'root' | 'separator' | 'shortcut' | 'text'> & {
|
|
4
5
|
items: Item[];
|
|
5
6
|
selectedKeys: string[];
|
|
6
7
|
selectionMode: MenuSelectionMode;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { FieldSlotProps } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'control' | 'description' | 'error' | 'label' | 'root'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
name: string;
|
|
5
6
|
id?: string;
|
|
@@ -19,10 +20,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
19
20
|
id: string;
|
|
20
21
|
required: boolean;
|
|
21
22
|
dir: "ltr" | "rtl";
|
|
22
|
-
disabled: boolean;
|
|
23
23
|
invalid: boolean;
|
|
24
|
-
|
|
24
|
+
disabled: boolean;
|
|
25
25
|
readonly: boolean;
|
|
26
|
+
errorMessage: string;
|
|
26
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: 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
|
+
};
|
package/dist/types/Form.vue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ValidationErrors } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'root'> & {
|
|
3
4
|
validationErrors?: ValidationErrors;
|
|
4
5
|
noValidate?: boolean;
|
|
5
6
|
id?: string;
|
|
@@ -12,11 +13,11 @@ type __VLS_Slots = {} & {
|
|
|
12
13
|
default?: (props: typeof __VLS_1) => any;
|
|
13
14
|
};
|
|
14
15
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
submit: (data: FormData, event: SubmitEvent) => any;
|
|
16
16
|
reset: (event: Event) => any;
|
|
17
|
+
submit: (data: FormData, event: SubmitEvent) => any;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
onSubmit?: ((data: FormData, event: SubmitEvent) => any) | undefined;
|
|
19
19
|
onReset?: ((event: Event) => any) | undefined;
|
|
20
|
+
onSubmit?: ((data: FormData, event: SubmitEvent) => any) | undefined;
|
|
20
21
|
}>, {
|
|
21
22
|
id: string;
|
|
22
23
|
dir: "ltr" | "rtl";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { InputSize, InputType, InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'boundary' | 'clearButton' | 'control' | 'description' | 'error' | 'group' | 'label' | 'prefix' | 'root' | 'suffix'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
defaultValue?: string;
|
|
5
6
|
description?: string;
|
|
@@ -14,6 +15,9 @@ type __VLS_Props = {
|
|
|
14
15
|
size?: InputSize;
|
|
15
16
|
variant?: InputVariant;
|
|
16
17
|
fullWidth?: boolean;
|
|
18
|
+
hideLabel?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
clearLabel?: string;
|
|
17
21
|
name?: string;
|
|
18
22
|
id?: string;
|
|
19
23
|
autoComplete?: string;
|
|
@@ -61,22 +65,23 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
61
65
|
pattern: string;
|
|
62
66
|
type: InputType;
|
|
63
67
|
required: boolean;
|
|
64
|
-
dir: "ltr" | "rtl";
|
|
65
|
-
variant: InputVariant;
|
|
66
68
|
size: InputSize;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
variant: InputVariant;
|
|
70
|
+
dir: "ltr" | "rtl";
|
|
71
|
+
enterKeyHint: InputEnterKeyHint;
|
|
72
|
+
placeholder: string;
|
|
69
73
|
name: string;
|
|
70
74
|
invalid: boolean;
|
|
71
|
-
|
|
75
|
+
fullWidth: boolean;
|
|
76
|
+
disabled: boolean;
|
|
72
77
|
defaultValue: string;
|
|
73
|
-
placeholder: string;
|
|
74
78
|
readonly: boolean;
|
|
79
|
+
errorMessage: string;
|
|
80
|
+
clearLabel: string;
|
|
75
81
|
autoComplete: string;
|
|
76
82
|
maxLength: number;
|
|
77
83
|
minLength: number;
|
|
78
84
|
inputMode: InputMode;
|
|
79
|
-
enterKeyHint: InputEnterKeyHint;
|
|
80
85
|
spellCheck: boolean;
|
|
81
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
87
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
interface NativeControlAttributes {
|
|
2
|
+
id?: string;
|
|
3
|
+
type?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
autocomplete?: string;
|
|
6
|
+
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
7
|
+
min?: string | number;
|
|
8
|
+
max?: string | number;
|
|
9
|
+
step?: string | number;
|
|
10
|
+
minlength?: string | number;
|
|
11
|
+
maxlength?: string | number;
|
|
12
|
+
pattern?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
form?: string;
|
|
18
|
+
rows?: string | number;
|
|
19
|
+
cols?: string | number;
|
|
20
|
+
wrap?: string;
|
|
21
|
+
'aria-label'?: string;
|
|
22
|
+
'aria-labelledby'?: string;
|
|
23
|
+
'aria-describedby'?: string;
|
|
24
|
+
'aria-invalid'?: boolean | 'true' | 'false' | 'grammar' | 'spelling';
|
|
25
|
+
onBlur?: (event: FocusEvent) => void;
|
|
26
|
+
onFocus?: (event: FocusEvent) => void;
|
|
27
|
+
onKeydown?: (event: KeyboardEvent) => void;
|
|
28
|
+
onKeyup?: (event: KeyboardEvent) => void;
|
|
29
|
+
onInput?: (event: Event) => void;
|
|
30
|
+
onChange?: (event: Event) => void;
|
|
31
|
+
}
|
|
32
|
+
interface Props extends /* @vue-ignore */ NativeControlAttributes {
|
|
33
|
+
multiline?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
36
|
+
element: import("vue").Ref<HTMLInputElement | HTMLTextAreaElement | undefined, HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
37
|
+
focus: () => void | undefined;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
import type { InputSize, InputVariant } from './types.js';
|
|
3
|
+
type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
4
|
+
id?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
dir?: 'ltr' | 'rtl';
|
|
14
|
+
size?: InputSize;
|
|
15
|
+
variant?: InputVariant;
|
|
16
|
+
hideLabel?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_1: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
default?: (props: typeof __VLS_1) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: string) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
size: InputSize;
|
|
30
|
+
variant: InputVariant;
|
|
31
|
+
dir: "ltr" | "rtl";
|
|
32
|
+
name: string;
|
|
33
|
+
modelValue: string;
|
|
34
|
+
defaultValue: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type ListboxOption, type ListboxSelectionMode } from './listbox-selection.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'check' | 'description' | 'empty' | 'error' | 'item' | 'label' | 'list' | 'root' | 'text'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
options: ListboxOption[];
|
|
5
6
|
modelValue?: string[];
|
|
@@ -22,13 +23,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
23
|
description: string;
|
|
23
24
|
id: string;
|
|
24
25
|
dir: "ltr" | "rtl";
|
|
25
|
-
disabled: boolean;
|
|
26
26
|
name: string;
|
|
27
27
|
invalid: boolean;
|
|
28
|
-
|
|
29
|
-
errorMessage: string;
|
|
28
|
+
disabled: boolean;
|
|
30
29
|
modelValue: string[];
|
|
31
30
|
defaultValue: string[];
|
|
31
|
+
emptyMessage: string;
|
|
32
|
+
errorMessage: string;
|
|
32
33
|
selectionMode: ListboxSelectionMode;
|
|
33
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
35
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'icon' | 'root' | 'shortcut' | 'text'> & {
|
|
3
4
|
item: DropdownMenuItem;
|
|
4
5
|
selectable: boolean;
|
|
5
6
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
locale?: string;
|
|
4
|
+
minDate?: string;
|
|
5
|
+
maxDate?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
mode?: 'header' | 'month' | 'year';
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
change: (value: string) => any;
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onChange?: ((value: string) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
mode: "header" | "month" | "year";
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
locale: string;
|
|
19
|
+
minDate: string;
|
|
20
|
+
maxDate: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
type
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
type __VLS_Props = StylingProps<'control' | 'description' | 'error' | 'group' | 'label' | 'root' | 'step'> & {
|
|
2
3
|
label: string;
|
|
3
4
|
modelValue?: number | null;
|
|
4
5
|
defaultValue?: number | null;
|
|
@@ -29,17 +30,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
29
30
|
required: boolean;
|
|
30
31
|
dir: "ltr" | "rtl";
|
|
31
32
|
step: number;
|
|
32
|
-
|
|
33
|
+
max: number;
|
|
33
34
|
name: string;
|
|
34
35
|
invalid: boolean;
|
|
36
|
+
disabled: boolean;
|
|
35
37
|
locale: string;
|
|
36
|
-
formatOptions: Intl.NumberFormatOptions;
|
|
37
|
-
errorMessage: string;
|
|
38
38
|
modelValue: number | null;
|
|
39
39
|
defaultValue: number | null;
|
|
40
40
|
readonly: boolean;
|
|
41
|
+
formatOptions: Intl.NumberFormatOptions;
|
|
42
|
+
errorMessage: string;
|
|
41
43
|
min: number;
|
|
42
|
-
max: number;
|
|
43
44
|
incrementLabel: string;
|
|
44
45
|
decrementLabel: string;
|
|
45
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|