@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,28 @@
|
|
|
1
|
+
import type { BadgeTone } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
tone?: BadgeTone;
|
|
6
|
+
announcement?: 'off' | 'polite' | 'assertive';
|
|
7
|
+
id?: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
actions?: (props: typeof __VLS_3) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
description: string;
|
|
17
|
+
tone: BadgeTone;
|
|
18
|
+
announcement: "off" | "polite" | "assertive";
|
|
19
|
+
id: string;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BadgeTone } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tone?: BadgeTone;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => 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
|
+
tone: BadgeTone;
|
|
11
|
+
}, {}, {}, {}, 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,14 @@
|
|
|
1
|
+
import type { BreadcrumbItem } from './dashboard-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: BreadcrumbItem[];
|
|
4
|
+
label?: string;
|
|
5
|
+
dir?: 'ltr' | 'rtl';
|
|
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
|
+
dir: "ltr" | "rtl";
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { ButtonSize, ButtonVariant } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Visual style. Use `danger` for destructive actions such as delete. */
|
|
4
|
+
variant?: ButtonVariant;
|
|
5
|
+
/** Accessible name for icon-only buttons. */
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
/** ID of an element supplying the accessible name. */
|
|
8
|
+
ariaLabelledby?: string;
|
|
9
|
+
/** Size of the button. */
|
|
10
|
+
size?: ButtonSize;
|
|
11
|
+
/** Fill the container width. Icon-only buttons retain their square shape. */
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
/** Button type inside a form. Defaults to `button`. */
|
|
14
|
+
type?: 'button' | 'submit' | 'reset';
|
|
15
|
+
/** Disables the button. Vue uses `disabled`, where the React package uses `isDisabled`. */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Square icon button; supply aria-label or aria-labelledby. */
|
|
18
|
+
iconOnly?: boolean;
|
|
19
|
+
/** Blocks actions while retaining keyboard focus. */
|
|
20
|
+
pending?: boolean;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = {
|
|
23
|
+
default?: (state: {
|
|
24
|
+
pending: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
hovered: boolean;
|
|
27
|
+
pressed: boolean;
|
|
28
|
+
focused: boolean;
|
|
29
|
+
focusVisible: boolean;
|
|
30
|
+
}) => unknown;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
press: (event: MouseEvent) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
onPress?: ((event: MouseEvent) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
type: "button" | "submit" | "reset";
|
|
38
|
+
variant: ButtonVariant;
|
|
39
|
+
ariaLabel: string;
|
|
40
|
+
ariaLabelledby: string;
|
|
41
|
+
size: ButtonSize;
|
|
42
|
+
fullWidth: boolean;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
iconOnly: boolean;
|
|
45
|
+
pending: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
import type { ButtonSize, ButtonVariant } from './types.js';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
variant: {
|
|
9
|
+
type: PropType<ButtonVariant>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<ButtonSize>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
fullWidth: BooleanConstructor;
|
|
21
|
+
orientation: {
|
|
22
|
+
type: PropType<"horizontal" | "vertical">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
dir: {
|
|
26
|
+
type: PropType<"ltr" | "rtl">;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
label: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
variant: {
|
|
37
|
+
type: PropType<ButtonVariant>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: PropType<ButtonSize>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
fullWidth: BooleanConstructor;
|
|
49
|
+
orientation: {
|
|
50
|
+
type: PropType<"horizontal" | "vertical">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
dir: {
|
|
54
|
+
type: PropType<"ltr" | "rtl">;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
dir: "ltr" | "rtl";
|
|
59
|
+
variant: ButtonVariant;
|
|
60
|
+
size: ButtonSize;
|
|
61
|
+
fullWidth: boolean;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
orientation: "horizontal" | "vertical";
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?: () => unknown;
|
|
8
|
+
header?: () => unknown;
|
|
9
|
+
'title-extras'?: () => unknown;
|
|
10
|
+
actions?: () => unknown;
|
|
11
|
+
footer?: () => unknown;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
headingLevel: 2 | 3 | 4 | 5 | 6;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ChartDatum } from './dashboard-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
data: ChartDatum[];
|
|
5
|
+
type?: 'bar' | 'line';
|
|
6
|
+
description?: string;
|
|
7
|
+
locale?: string;
|
|
8
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
9
|
+
categoryLabel?: string;
|
|
10
|
+
valueLabel?: string;
|
|
11
|
+
emptyMessage?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
dir?: 'ltr' | 'rtl';
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
description: string;
|
|
17
|
+
id: string;
|
|
18
|
+
type: "line" | "bar";
|
|
19
|
+
dir: "ltr" | "rtl";
|
|
20
|
+
locale: string;
|
|
21
|
+
formatOptions: Intl.NumberFormatOptions;
|
|
22
|
+
categoryLabel: string;
|
|
23
|
+
valueLabel: string;
|
|
24
|
+
emptyMessage: string;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
defaultValue?: boolean;
|
|
5
|
+
indeterminate?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
dir?: 'ltr' | 'rtl';
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
description: string;
|
|
22
|
+
id: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
dir: "ltr" | "rtl";
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
name: string;
|
|
27
|
+
invalid: boolean;
|
|
28
|
+
errorMessage: string;
|
|
29
|
+
modelValue: boolean;
|
|
30
|
+
defaultValue: boolean;
|
|
31
|
+
indeterminate: boolean;
|
|
32
|
+
value: string;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type SelectOption } from './selection-options.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
options: SelectOption[];
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
description?: string;
|
|
13
|
+
errorMessage?: string;
|
|
14
|
+
requiredMessage?: string;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
clearLabel?: string;
|
|
17
|
+
toggleLabel?: string;
|
|
18
|
+
emptyMessage?: string;
|
|
19
|
+
dir?: 'ltr' | 'rtl';
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Slots = {
|
|
22
|
+
start?: () => unknown;
|
|
23
|
+
option?: (props: {
|
|
24
|
+
option: SelectOption;
|
|
25
|
+
}) => unknown;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { DataTableColumn, DataTableRow, TableSort } from './data-table-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
caption: string;
|
|
4
|
+
columns: DataTableColumn[];
|
|
5
|
+
rows: DataTableRow[];
|
|
6
|
+
sort?: TableSort | null;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
emptyMessage?: string;
|
|
10
|
+
loadingMessage?: string;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
dir?: 'ltr' | 'rtl';
|
|
13
|
+
id?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_10: {
|
|
16
|
+
row: DataTableRow;
|
|
17
|
+
column: DataTableColumn;
|
|
18
|
+
value: string | number | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
cell?: (props: typeof __VLS_10) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:sort": (sort: TableSort) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
"onUpdate:sort"?: ((sort: TableSort) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
sort: TableSort | null;
|
|
29
|
+
id: string;
|
|
30
|
+
dir: "ltr" | "rtl";
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
emptyMessage: string;
|
|
33
|
+
errorMessage: string;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
loadingMessage: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type DateRange, type DateRangeOptions, type DateRangeLabels } from './date-range-model.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options: DateRangeOptions;
|
|
4
|
+
draft: DateRange;
|
|
5
|
+
labels: DateRangeLabels;
|
|
6
|
+
id: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
cancel: () => any;
|
|
13
|
+
draft: (value: DateRange) => any;
|
|
14
|
+
apply: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onCancel?: (() => any) | undefined;
|
|
17
|
+
onDraft?: ((value: DateRange) => any) | undefined;
|
|
18
|
+
onApply?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type DateRange, type DateRangeOptions } from './date-range-model.js';
|
|
2
|
+
interface Props extends DateRangeOptions {
|
|
3
|
+
modelValue?: DateRange | null;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: DateRange | null) => any;
|
|
11
|
+
"update:open": (open: boolean) => any;
|
|
12
|
+
apply: (value: DateRange | null) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
|
|
15
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
|
+
onApply?: ((value: DateRange | null) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
description: string;
|
|
19
|
+
dir: "ltr" | "rtl";
|
|
20
|
+
variant: import("./date-range-model.js").DateRangeVariant;
|
|
21
|
+
size: import("./date-range-model.js").DateRangeSize;
|
|
22
|
+
fullWidth: boolean;
|
|
23
|
+
name: string;
|
|
24
|
+
locale: string;
|
|
25
|
+
errorMessage: string;
|
|
26
|
+
modelValue: DateRange | null;
|
|
27
|
+
defaultValue: DateRange | null;
|
|
28
|
+
open: boolean;
|
|
29
|
+
defaultOpen: boolean;
|
|
30
|
+
visibleMonths: 1 | 2;
|
|
31
|
+
weekStartsOn: 0 | 1;
|
|
32
|
+
display: "inline" | "popover";
|
|
33
|
+
showInputs: boolean;
|
|
34
|
+
showMonthYearPicker: boolean;
|
|
35
|
+
triggerDisplay: "text" | "icon";
|
|
36
|
+
presets: import("./date-range-model.js").DateRangePreset[];
|
|
37
|
+
labels: Partial<import("./date-range-model.js").DateRangeLabels>;
|
|
38
|
+
formatRange: (value: DateRange, locale: string) => string;
|
|
39
|
+
referenceDate: string;
|
|
40
|
+
isDateUnavailable: (date: string) => boolean;
|
|
41
|
+
minDate: string;
|
|
42
|
+
maxDate: string;
|
|
43
|
+
minDays: number;
|
|
44
|
+
maxDays: number;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ButtonVariant } from './types.js';
|
|
2
|
+
import type { DialogSize, DialogPlacement, DialogScroll, DialogBackdrop } from './overlay-model.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
triggerLabel: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
closeLabel?: string;
|
|
11
|
+
dir?: 'ltr' | 'rtl';
|
|
12
|
+
triggerIconOnly?: boolean;
|
|
13
|
+
triggerVariant?: ButtonVariant;
|
|
14
|
+
size?: DialogSize;
|
|
15
|
+
placement?: DialogPlacement;
|
|
16
|
+
scroll?: DialogScroll;
|
|
17
|
+
backdrop?: DialogBackdrop;
|
|
18
|
+
dismissable?: boolean;
|
|
19
|
+
keyboardDismissDisabled?: boolean;
|
|
20
|
+
showCloseButton?: boolean;
|
|
21
|
+
showFooterClose?: boolean;
|
|
22
|
+
closeIconLabel?: string;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {
|
|
25
|
+
default?: () => unknown;
|
|
26
|
+
footer?: () => unknown;
|
|
27
|
+
trigger?: () => unknown;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:open": (open: boolean) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
description: string;
|
|
35
|
+
dir: "ltr" | "rtl";
|
|
36
|
+
size: DialogSize;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
scroll: DialogScroll;
|
|
39
|
+
open: boolean;
|
|
40
|
+
defaultOpen: boolean;
|
|
41
|
+
closeLabel: string;
|
|
42
|
+
triggerVariant: ButtonVariant;
|
|
43
|
+
placement: DialogPlacement;
|
|
44
|
+
backdrop: DialogBackdrop;
|
|
45
|
+
dismissable: boolean;
|
|
46
|
+
keyboardDismissDisabled: boolean;
|
|
47
|
+
showCloseButton: boolean;
|
|
48
|
+
showFooterClose: boolean;
|
|
49
|
+
closeIconLabel: string;
|
|
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
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type MenuSelectionMode, type MenuPlacement } from './overlay-model.js';
|
|
2
|
+
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
3
|
+
import type { ButtonVariant } from './types.js';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
triggerLabel: string;
|
|
6
|
+
items: DropdownMenuItem[];
|
|
7
|
+
open?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
dir?: 'ltr' | 'rtl';
|
|
11
|
+
triggerIconOnly?: boolean;
|
|
12
|
+
triggerVariant?: ButtonVariant;
|
|
13
|
+
selectionMode?: MenuSelectionMode;
|
|
14
|
+
selectedKeys?: string[];
|
|
15
|
+
defaultSelectedKeys?: string[];
|
|
16
|
+
closeOnSelect?: boolean;
|
|
17
|
+
placement?: MenuPlacement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {
|
|
20
|
+
trigger?: () => unknown;
|
|
21
|
+
icon?: (props: {
|
|
22
|
+
item: DropdownMenuItem;
|
|
23
|
+
}) => unknown;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:open": (open: boolean) => any;
|
|
27
|
+
action: (id: string) => any;
|
|
28
|
+
"update:selectedKeys": (keys: string[]) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
31
|
+
onAction?: ((id: string) => any) | undefined;
|
|
32
|
+
"onUpdate:selectedKeys"?: ((keys: string[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
dir: "ltr" | "rtl";
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
open: boolean;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
triggerVariant: ButtonVariant;
|
|
39
|
+
placement: MenuPlacement;
|
|
40
|
+
selectedKeys: string[];
|
|
41
|
+
selectionMode: MenuSelectionMode;
|
|
42
|
+
closeOnSelect: boolean;
|
|
43
|
+
defaultSelectedKeys: string[];
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type MenuSelectionMode } from './overlay-model.js';
|
|
2
|
+
import type { DropdownMenuItem as Item } from './dashboard-types.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
items: Item[];
|
|
5
|
+
selectedKeys: string[];
|
|
6
|
+
selectionMode: MenuSelectionMode;
|
|
7
|
+
closeOnSelect: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
dir?: 'ltr' | 'rtl';
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
icon?: (props: {
|
|
13
|
+
item: Item;
|
|
14
|
+
}) => unknown;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
action: (id: string) => any;
|
|
18
|
+
selection: (id: string, checked: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onAction?: ((id: string) => any) | undefined;
|
|
21
|
+
onSelection?: ((id: string, checked: boolean) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
id?: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
} & {
|
|
11
|
+
actions?: (props: typeof __VLS_9) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
headingLevel: 2 | 3 | 4 | 5 | 6;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { FieldSlotProps } from './types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
dir?: 'ltr' | 'rtl';
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = {
|
|
15
|
+
default(props: FieldSlotProps): unknown;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
description: string;
|
|
19
|
+
id: string;
|
|
20
|
+
required: boolean;
|
|
21
|
+
dir: "ltr" | "rtl";
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
invalid: boolean;
|
|
24
|
+
errorMessage: string;
|
|
25
|
+
readonly: boolean;
|
|
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,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
controlId: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
errorMessage?: string;
|
|
5
|
+
showError: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
description: string;
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|