@indielayer/ui 1.0.3 → 1.0.5
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/lib/common/icons.d.ts +15 -0
- package/lib/common/utils.d.ts +32 -0
- package/lib/components/alert/Alert.theme.d.ts +8 -0
- package/lib/components/alert/Alert.vue.d.ts +31 -0
- package/lib/components/alert/__tests__/Alert.spec.d.ts +1 -0
- package/lib/components/avatar/Avatar.theme.d.ts +8 -0
- package/lib/components/avatar/Avatar.vue.d.ts +46 -0
- package/lib/components/avatar/__tests__/Avatar.spec.d.ts +1 -0
- package/lib/components/badge/Badge.theme.d.ts +8 -0
- package/lib/components/badge/Badge.vue.d.ts +74 -0
- package/lib/components/badge/__tests__/Badge.spec.d.ts +1 -0
- package/lib/components/breadcrumbs/Breadcrumbs.theme.d.ts +8 -0
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +41 -0
- package/lib/components/breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +1 -0
- package/lib/components/button/Button.theme.d.ts +10 -0
- package/lib/components/button/Button.vue.d.ts +81 -0
- package/lib/components/button/ButtonGroup.theme.d.ts +6 -0
- package/lib/components/button/ButtonGroup.vue.d.ts +52 -0
- package/lib/components/button/__tests__/ Button.spec.d.ts +1 -0
- package/lib/components/button/__tests__/ ButtonGroup.spec.d.ts +1 -0
- package/lib/components/card/Card.theme.d.ts +7 -0
- package/lib/components/card/Card.vue.d.ts +17 -0
- package/lib/components/card/__tests__/Card.spec.d.ts +1 -0
- package/lib/components/checkbox/Checkbox.theme.d.ts +11 -0
- package/lib/components/checkbox/Checkbox.vue.d.ts +77 -0
- package/lib/components/checkbox/__tests__/Checkbox.spec.d.ts +1 -0
- package/lib/components/collapse/Collapse.theme.d.ts +9 -0
- package/lib/components/collapse/Collapse.vue.d.ts +40 -0
- package/lib/components/collapse/__tests__/Collapse.spec.d.ts +1 -0
- package/lib/components/container/Container.theme.d.ts +6 -0
- package/lib/components/container/Container.vue.d.ts +14 -0
- package/lib/components/container/__tests__/Container.spec.d.ts +1 -0
- package/lib/components/divider/Divider.theme.d.ts +9 -0
- package/lib/components/divider/Divider.vue.d.ts +10 -0
- package/lib/components/divider/__tests__/Divider.spec.d.ts +1 -0
- package/lib/components/drawer/Drawer.theme.d.ts +7 -0
- package/lib/components/drawer/Drawer.vue.d.ts +61 -0
- package/lib/components/drawer/__tests__/Drawer.spec.d.ts +1 -0
- package/lib/components/form/Form.theme.d.ts +6 -0
- package/lib/components/form/Form.vue.d.ts +48 -0
- package/lib/components/form/__tests__/Form.spec.d.ts +1 -0
- package/lib/components/helpers/InputError.d.ts +8 -0
- package/lib/components/icon/Icon.theme.d.ts +7 -0
- package/lib/components/icon/Icon.vue.d.ts +36 -0
- package/lib/components/icon/__tests__/Icon.spec.d.ts +1 -0
- package/lib/components/image/Image.theme.d.ts +6 -0
- package/lib/components/image/Image.vue.d.ts +6 -0
- package/lib/components/image/__tests__/Image.spec.d.ts +1 -0
- package/lib/components/index.d.ts +45 -0
- package/lib/components/input/Input.theme.d.ts +11 -0
- package/lib/components/input/Input.vue.d.ts +119 -0
- package/lib/components/input/__tests__/Input.spec.d.ts +1 -0
- package/lib/components/link/Link.theme.d.ts +8 -0
- package/lib/components/link/Link.vue.d.ts +34 -0
- package/lib/components/link/__tests__/Link.spec.d.ts +1 -0
- package/lib/components/menu/Menu.theme.d.ts +6 -0
- package/lib/components/menu/Menu.vue.d.ts +65 -0
- package/lib/components/menu/MenuItem.theme.d.ts +8 -0
- package/lib/components/menu/MenuItem.vue.d.ts +89 -0
- package/lib/components/menu/__tests__/Menu.spec.d.ts +1 -0
- package/lib/components/menu/__tests__/MenuItem.spec.d.ts +1 -0
- package/lib/components/modal/Modal.theme.d.ts +13 -0
- package/lib/components/modal/Modal.vue.d.ts +29 -0
- package/lib/components/modal/__tests__/Modal.spec.d.ts +1 -0
- package/lib/components/notifications/Notifications.theme.d.ts +8 -0
- package/lib/components/notifications/Notifications.vue.d.ts +91 -0
- package/lib/components/notifications/__tests__/Notifications.spec.d.ts +1 -0
- package/lib/components/pagination/Pagination.theme.d.ts +9 -0
- package/lib/components/pagination/Pagination.vue.d.ts +49 -0
- package/lib/components/pagination/PaginationItem.theme.d.ts +7 -0
- package/lib/components/pagination/PaginationItem.vue.d.ts +33 -0
- package/lib/components/pagination/__tests__/Pagination.spec.d.ts +1 -0
- package/lib/components/pagination/__tests__/PaginationItem.spec.d.ts +1 -0
- package/lib/components/popover/Popover.theme.d.ts +7 -0
- package/lib/components/popover/Popover.vue.d.ts +64 -0
- package/lib/components/popover/PopoverContainer.theme.d.ts +6 -0
- package/lib/components/popover/PopoverContainer.vue.d.ts +14 -0
- package/lib/components/popover/__tests__/Popover.spec.d.ts +1 -0
- package/lib/components/popover/__tests__/PopoverContainer.spec.d.ts +1 -0
- package/lib/components/progress/Progress.theme.d.ts +10 -0
- package/lib/components/progress/Progress.vue.d.ts +40 -0
- package/lib/components/progress/__tests__/Progress.spec.d.ts +1 -0
- package/lib/components/radio/Radio.theme.d.ts +12 -0
- package/lib/components/radio/Radio.vue.d.ts +78 -0
- package/lib/components/radio/__tests__/Radio.spec.d.ts +1 -0
- package/lib/components/scroll/Scroll.theme.d.ts +6 -0
- package/lib/components/scroll/Scroll.vue.d.ts +23 -0
- package/lib/components/scroll/__tests__/Scroll.spec.d.ts +1 -0
- package/lib/components/select/Select.theme.d.ts +13 -0
- package/lib/components/select/Select.vue.d.ts +80 -0
- package/lib/components/select/__tests__/Select.spec.d.ts +1 -0
- package/lib/components/skeleton/Skeleton.theme.d.ts +6 -0
- package/lib/components/skeleton/Skeleton.vue.d.ts +14 -0
- package/lib/components/skeleton/__tests__/Skeleton.spec.d.ts +1 -0
- package/lib/components/slider/Slider.theme.d.ts +10 -0
- package/lib/components/slider/Slider.vue.d.ts +87 -0
- package/lib/components/slider/__tests__/Slider.spec.d.ts +1 -0
- package/lib/components/spacer/Spacer.d.ts +2 -0
- package/lib/components/spacer/__tests__/Spacer.spec.d.ts +1 -0
- package/lib/components/spinner/Spinner.vue.d.ts +25 -0
- package/lib/components/spinner/__tests__/Spinner.spec.d.ts +1 -0
- package/lib/components/tab/Tab.theme.d.ts +9 -0
- package/lib/components/tab/Tab.vue.d.ts +43 -0
- package/lib/components/tab/TabGroup.theme.d.ts +10 -0
- package/lib/components/tab/TabGroup.vue.d.ts +57 -0
- package/lib/components/tab/__tests__/Tab.spec.d.ts +1 -0
- package/lib/components/tab/__tests__/TabGroup.spec.d.ts +1 -0
- package/lib/components/table/Table.theme.d.ts +8 -0
- package/lib/components/table/Table.vue.d.ts +78 -0
- package/lib/components/table/TableBody.d.ts +2 -0
- package/lib/components/table/TableCell.theme.d.ts +7 -0
- package/lib/components/table/TableCell.vue.d.ts +33 -0
- package/lib/components/table/TableHead.d.ts +2 -0
- package/lib/components/table/TableHeader.vue.d.ts +33 -0
- package/lib/components/table/TableRow.vue.d.ts +23 -0
- package/lib/components/table/__tests__/Table.spec.d.ts +1 -0
- package/lib/components/tag/Tag.theme.d.ts +9 -0
- package/lib/components/tag/Tag.vue.d.ts +45 -0
- package/lib/components/tag/__tests__/Tag.spec.d.ts +1 -0
- package/lib/components/textarea/Textarea.theme.d.ts +10 -0
- package/lib/components/textarea/Textarea.vue.d.ts +100 -0
- package/lib/components/textarea/__tests__/Textarea.spec.d.ts +1 -0
- package/lib/components/toggle/Toggle.theme.d.ts +11 -0
- package/lib/components/toggle/Toggle.vue.d.ts +78 -0
- package/lib/components/toggle/__tests__/Toggle.spec.d.ts +1 -0
- package/lib/components/tooltip/Tooltip.theme.d.ts +11 -0
- package/lib/components/tooltip/Tooltip.vue.d.ts +2 -0
- package/lib/components/tooltip/__tests__/Tooltip.spec.d.ts +1 -0
- package/lib/composables/colors-utils.d.ts +7 -0
- package/lib/composables/colors.d.ts +30 -0
- package/lib/composables/common.d.ts +15 -0
- package/lib/composables/css.d.ts +6 -0
- package/lib/composables/index.d.ts +7 -0
- package/lib/composables/inputtable.d.ts +37 -0
- package/lib/composables/interactive.d.ts +15 -0
- package/lib/composables/keys.d.ts +8 -0
- package/lib/composables/notifications.d.ts +1 -0
- package/lib/composables/theme.d.ts +20 -0
- package/lib/create.d.ts +13 -0
- package/lib/index.cjs.js +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.es.js +2 -2
- package/lib/install.d.ts +4 -0
- package/lib/version.d.ts +2 -0
- package/package.json +4 -3
- package/src/components/alert/Alert.vue +1 -1
- package/src/components/select/Select.vue +1 -1
- package/src/components/tag/Tag.vue +1 -1
- package/src/version.ts +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
size: {
|
|
4
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
modelValue: BooleanConstructor;
|
|
8
|
+
showClose: BooleanConstructor;
|
|
9
|
+
backdrop: BooleanConstructor;
|
|
10
|
+
}, {
|
|
11
|
+
open: () => void;
|
|
12
|
+
close: () => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
modelValue: BooleanConstructor;
|
|
19
|
+
showClose: BooleanConstructor;
|
|
20
|
+
backdrop: BooleanConstructor;
|
|
21
|
+
}>> & {
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
backdrop: boolean;
|
|
27
|
+
showClose: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
export declare type NotificationAlign = 'left' | 'right';
|
|
3
|
+
export declare type NotificationPosition = 'bottom' | 'top';
|
|
4
|
+
export declare type NotificationAction = {
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
label: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type NotificationEvent = {
|
|
10
|
+
id?: number;
|
|
11
|
+
icon?: string;
|
|
12
|
+
action?: NotificationAction;
|
|
13
|
+
iconColor?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
style?: string;
|
|
16
|
+
message?: string;
|
|
17
|
+
timeout?: number;
|
|
18
|
+
removable?: boolean;
|
|
19
|
+
align?: NotificationAlign;
|
|
20
|
+
position?: NotificationPosition;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("vue").DefineComponent<{
|
|
23
|
+
align: {
|
|
24
|
+
type: PropType<NotificationAlign>;
|
|
25
|
+
default: string;
|
|
26
|
+
validator: (value: string) => boolean;
|
|
27
|
+
};
|
|
28
|
+
position: {
|
|
29
|
+
type: PropType<NotificationPosition>;
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (value: string) => boolean;
|
|
32
|
+
};
|
|
33
|
+
timeout: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
removable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
injectKey: {
|
|
42
|
+
type: (SymbolConstructor | StringConstructor)[];
|
|
43
|
+
default: import("vue").InjectionKey<any>;
|
|
44
|
+
};
|
|
45
|
+
color: {
|
|
46
|
+
readonly type: StringConstructor;
|
|
47
|
+
readonly default: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
log: (notification: NotificationEvent | string) => void;
|
|
51
|
+
info: (notification: NotificationEvent | string) => void;
|
|
52
|
+
success: (notification: NotificationEvent | string) => void;
|
|
53
|
+
warn: (notification: NotificationEvent | string) => void;
|
|
54
|
+
warning: (notification: NotificationEvent | string) => void;
|
|
55
|
+
error: (notification: NotificationEvent | string) => void;
|
|
56
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
align: {
|
|
58
|
+
type: PropType<NotificationAlign>;
|
|
59
|
+
default: string;
|
|
60
|
+
validator: (value: string) => boolean;
|
|
61
|
+
};
|
|
62
|
+
position: {
|
|
63
|
+
type: PropType<NotificationPosition>;
|
|
64
|
+
default: string;
|
|
65
|
+
validator: (value: string) => boolean;
|
|
66
|
+
};
|
|
67
|
+
timeout: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
removable: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
injectKey: {
|
|
76
|
+
type: (SymbolConstructor | StringConstructor)[];
|
|
77
|
+
default: import("vue").InjectionKey<any>;
|
|
78
|
+
};
|
|
79
|
+
color: {
|
|
80
|
+
readonly type: StringConstructor;
|
|
81
|
+
readonly default: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
}>>, {
|
|
84
|
+
removable: boolean;
|
|
85
|
+
color: string;
|
|
86
|
+
position: NotificationPosition;
|
|
87
|
+
align: NotificationAlign;
|
|
88
|
+
timeout: number;
|
|
89
|
+
injectKey: string | symbol;
|
|
90
|
+
}>;
|
|
91
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
classes: {
|
|
4
|
+
wrapper: ({ props }: ThemeParams) => "flex items-center" | "flex items-center space-x-2" | "flex space-x-6";
|
|
5
|
+
dots: ({ props }: ThemeParams) => "h-4 w-4" | "h-5 w-5" | "h-2 w-2" | "h-3 w-3";
|
|
6
|
+
};
|
|
7
|
+
styles: ({ props, css, colors }: ThemeParams) => string;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
links: BooleanConstructor;
|
|
4
|
+
totalPages: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: PropType<"simple" | "dots" | "quick">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
readonly type: PropType<import("../../composables/common").Size>;
|
|
18
|
+
readonly default: "md";
|
|
19
|
+
readonly validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
links: BooleanConstructor;
|
|
23
|
+
totalPages: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
variant: {
|
|
32
|
+
type: PropType<"simple" | "dots" | "quick">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
readonly type: PropType<import("../../composables/common").Size>;
|
|
37
|
+
readonly default: "md";
|
|
38
|
+
readonly validator: (value: string) => boolean;
|
|
39
|
+
};
|
|
40
|
+
}>> & {
|
|
41
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
size: import("../../composables/common").Size;
|
|
44
|
+
modelValue: number;
|
|
45
|
+
links: boolean;
|
|
46
|
+
totalPages: number;
|
|
47
|
+
variant: "simple" | "dots" | "quick";
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
classes: {
|
|
4
|
+
wrapper: ({ props }: ThemeParams) => "!leading-none !p-1 min-w-[1.375rem]" | "!leading-none !p-2 min-w-[2rem]" | "!leading-none !p-3 min-w-[2.75rem]" | "!leading-none !p-4 min-w-[3.375rem]" | "!leading-none !p-2 min-w-[2.125rem]";
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
selected: BooleanConstructor;
|
|
7
|
+
links: BooleanConstructor;
|
|
8
|
+
size: {
|
|
9
|
+
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
10
|
+
readonly default: "md";
|
|
11
|
+
readonly validator: (value: string) => boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
value: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
selected: BooleanConstructor;
|
|
19
|
+
links: BooleanConstructor;
|
|
20
|
+
size: {
|
|
21
|
+
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
22
|
+
readonly default: "md";
|
|
23
|
+
readonly validator: (value: string) => boolean;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
size: import("../../composables/common").Size;
|
|
29
|
+
value: number;
|
|
30
|
+
selected: boolean;
|
|
31
|
+
links: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
align: {
|
|
4
|
+
type: PropType<"top" | "bottom" | "left" | "right" | "center">;
|
|
5
|
+
default: string;
|
|
6
|
+
validator: (value: string) => boolean;
|
|
7
|
+
};
|
|
8
|
+
position: {
|
|
9
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
10
|
+
default: string;
|
|
11
|
+
validator: (value: string) => boolean;
|
|
12
|
+
};
|
|
13
|
+
dismissOnClick: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
autoAlign: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
disabled: BooleanConstructor;
|
|
22
|
+
hover: BooleanConstructor;
|
|
23
|
+
block: BooleanConstructor;
|
|
24
|
+
}, {
|
|
25
|
+
open: () => void;
|
|
26
|
+
close: () => void;
|
|
27
|
+
toggle: () => void;
|
|
28
|
+
isOpen: import("vue").Ref<boolean>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "toggle" | "open")[], "toggle" | "open" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
align: {
|
|
31
|
+
type: PropType<"top" | "bottom" | "left" | "right" | "center">;
|
|
32
|
+
default: string;
|
|
33
|
+
validator: (value: string) => boolean;
|
|
34
|
+
};
|
|
35
|
+
position: {
|
|
36
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: string) => boolean;
|
|
39
|
+
};
|
|
40
|
+
dismissOnClick: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
autoAlign: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: BooleanConstructor;
|
|
49
|
+
hover: BooleanConstructor;
|
|
50
|
+
block: BooleanConstructor;
|
|
51
|
+
}>> & {
|
|
52
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
hover: boolean;
|
|
57
|
+
position: "top" | "bottom" | "left" | "right";
|
|
58
|
+
align: "top" | "bottom" | "left" | "right" | "center";
|
|
59
|
+
block: boolean;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
dismissOnClick: boolean;
|
|
62
|
+
autoAlign: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
tag: {
|
|
3
|
+
default: string;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
tag: {
|
|
8
|
+
default: string;
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
tag: string;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
classes: {
|
|
4
|
+
wrapper: ({ props }: ThemeParams) => string;
|
|
5
|
+
list: string;
|
|
6
|
+
item: string;
|
|
7
|
+
};
|
|
8
|
+
styles: ({ props, colors, css }: ThemeParams) => Record<string, string>[];
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
percentage: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
validator: (value: number) => boolean;
|
|
6
|
+
};
|
|
7
|
+
gradient: BooleanConstructor;
|
|
8
|
+
animate: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
thick: BooleanConstructor;
|
|
13
|
+
color: {
|
|
14
|
+
readonly type: StringConstructor;
|
|
15
|
+
readonly default: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
percentage: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
validator: (value: number) => boolean;
|
|
22
|
+
};
|
|
23
|
+
gradient: BooleanConstructor;
|
|
24
|
+
animate: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
thick: BooleanConstructor;
|
|
29
|
+
color: {
|
|
30
|
+
readonly type: StringConstructor;
|
|
31
|
+
readonly default: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
color: string;
|
|
35
|
+
animate: boolean;
|
|
36
|
+
thick: boolean;
|
|
37
|
+
percentage: number;
|
|
38
|
+
gradient: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
classes: {
|
|
4
|
+
wrapper: string;
|
|
5
|
+
circle: ({ props }: ThemeParams) => string;
|
|
6
|
+
circleIcon: ({ props, data }: ThemeParams) => string[];
|
|
7
|
+
label: ({ props, data }: ThemeParams) => string;
|
|
8
|
+
content: ({ props }: ThemeParams) => string;
|
|
9
|
+
};
|
|
10
|
+
styles: ({ props, colors, css, data }: ThemeParams) => Record<string, string> | (string | Record<string, string>)[];
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
value: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor | FunctionConstructor | BooleanConstructor)[];
|
|
3
|
+
label: StringConstructor;
|
|
4
|
+
helper: StringConstructor;
|
|
5
|
+
glow: BooleanConstructor;
|
|
6
|
+
modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
7
|
+
name: StringConstructor;
|
|
8
|
+
readonly: BooleanConstructor;
|
|
9
|
+
required: BooleanConstructor;
|
|
10
|
+
validateOnInput: {
|
|
11
|
+
readonly type: BooleanConstructor;
|
|
12
|
+
readonly default: true;
|
|
13
|
+
};
|
|
14
|
+
error: StringConstructor;
|
|
15
|
+
rules: {
|
|
16
|
+
readonly type: ArrayConstructor;
|
|
17
|
+
readonly default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
disabled: BooleanConstructor;
|
|
20
|
+
loading: BooleanConstructor;
|
|
21
|
+
color: {
|
|
22
|
+
readonly type: StringConstructor;
|
|
23
|
+
readonly default: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
27
|
+
readonly default: "md";
|
|
28
|
+
readonly validator: (value: string) => boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
focus: () => void | undefined;
|
|
32
|
+
blur: () => void | undefined;
|
|
33
|
+
reset: () => void;
|
|
34
|
+
validate: (val: any) => boolean;
|
|
35
|
+
setError: (val: string) => void;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
value: (ObjectConstructor | NumberConstructor | StringConstructor | ArrayConstructor | FunctionConstructor | BooleanConstructor)[];
|
|
38
|
+
label: StringConstructor;
|
|
39
|
+
helper: StringConstructor;
|
|
40
|
+
glow: BooleanConstructor;
|
|
41
|
+
modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
42
|
+
name: StringConstructor;
|
|
43
|
+
readonly: BooleanConstructor;
|
|
44
|
+
required: BooleanConstructor;
|
|
45
|
+
validateOnInput: {
|
|
46
|
+
readonly type: BooleanConstructor;
|
|
47
|
+
readonly default: true;
|
|
48
|
+
};
|
|
49
|
+
error: StringConstructor;
|
|
50
|
+
rules: {
|
|
51
|
+
readonly type: ArrayConstructor;
|
|
52
|
+
readonly default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
disabled: BooleanConstructor;
|
|
55
|
+
loading: BooleanConstructor;
|
|
56
|
+
color: {
|
|
57
|
+
readonly type: StringConstructor;
|
|
58
|
+
readonly default: string | undefined;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
62
|
+
readonly default: "md";
|
|
63
|
+
readonly validator: (value: string) => boolean;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
66
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
readonly: boolean;
|
|
69
|
+
size: import("../../composables/common").Size;
|
|
70
|
+
required: boolean;
|
|
71
|
+
glow: boolean;
|
|
72
|
+
color: string;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
loading: boolean;
|
|
75
|
+
validateOnInput: boolean;
|
|
76
|
+
rules: unknown[];
|
|
77
|
+
}>;
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
shadow: BooleanConstructor;
|
|
3
|
+
horizontal: BooleanConstructor;
|
|
4
|
+
mousewheel: BooleanConstructor;
|
|
5
|
+
scrollbar: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
shadow: BooleanConstructor;
|
|
11
|
+
horizontal: BooleanConstructor;
|
|
12
|
+
mousewheel: BooleanConstructor;
|
|
13
|
+
scrollbar: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>>, {
|
|
18
|
+
shadow: boolean;
|
|
19
|
+
horizontal: boolean;
|
|
20
|
+
scrollbar: boolean;
|
|
21
|
+
mousewheel: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
classes: {
|
|
4
|
+
wrapper: string;
|
|
5
|
+
label: ({ props }: ThemeParams) => string;
|
|
6
|
+
box: ({ props, data }: ThemeParams) => string;
|
|
7
|
+
content: string;
|
|
8
|
+
iconWrapper: string;
|
|
9
|
+
icon: ({ props }: ThemeParams) => "h-6 w-6" | "h-5 w-5" | "h-3 w-3" | "h-7 w-7";
|
|
10
|
+
};
|
|
11
|
+
styles: ({ props, colors, css }: ThemeParams) => string;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
export declare type SelectOption = {
|
|
3
|
+
value: number | string;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
placeholder: StringConstructor;
|
|
9
|
+
options: PropType<SelectOption[]>;
|
|
10
|
+
multiple: BooleanConstructor;
|
|
11
|
+
label: StringConstructor;
|
|
12
|
+
helper: StringConstructor;
|
|
13
|
+
flat: BooleanConstructor;
|
|
14
|
+
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
15
|
+
name: StringConstructor;
|
|
16
|
+
readonly: BooleanConstructor;
|
|
17
|
+
required: BooleanConstructor;
|
|
18
|
+
validateOnInput: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: true;
|
|
21
|
+
};
|
|
22
|
+
error: StringConstructor;
|
|
23
|
+
rules: {
|
|
24
|
+
readonly type: ArrayConstructor;
|
|
25
|
+
readonly default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
disabled: BooleanConstructor;
|
|
28
|
+
loading: BooleanConstructor;
|
|
29
|
+
size: {
|
|
30
|
+
readonly type: PropType<import("../../composables/common").Size>;
|
|
31
|
+
readonly default: "md";
|
|
32
|
+
readonly validator: (value: string) => boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
focus: () => void | undefined;
|
|
36
|
+
blur: () => void | undefined;
|
|
37
|
+
reset: () => void;
|
|
38
|
+
validate: (val: any) => boolean;
|
|
39
|
+
setError: (val: string) => void;
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
placeholder: StringConstructor;
|
|
42
|
+
options: PropType<SelectOption[]>;
|
|
43
|
+
multiple: BooleanConstructor;
|
|
44
|
+
label: StringConstructor;
|
|
45
|
+
helper: StringConstructor;
|
|
46
|
+
flat: BooleanConstructor;
|
|
47
|
+
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
48
|
+
name: StringConstructor;
|
|
49
|
+
readonly: BooleanConstructor;
|
|
50
|
+
required: BooleanConstructor;
|
|
51
|
+
validateOnInput: {
|
|
52
|
+
readonly type: BooleanConstructor;
|
|
53
|
+
readonly default: true;
|
|
54
|
+
};
|
|
55
|
+
error: StringConstructor;
|
|
56
|
+
rules: {
|
|
57
|
+
readonly type: ArrayConstructor;
|
|
58
|
+
readonly default: () => never[];
|
|
59
|
+
};
|
|
60
|
+
disabled: BooleanConstructor;
|
|
61
|
+
loading: BooleanConstructor;
|
|
62
|
+
size: {
|
|
63
|
+
readonly type: PropType<import("../../composables/common").Size>;
|
|
64
|
+
readonly default: "md";
|
|
65
|
+
readonly validator: (value: string) => boolean;
|
|
66
|
+
};
|
|
67
|
+
}>> & {
|
|
68
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
readonly: boolean;
|
|
71
|
+
flat: boolean;
|
|
72
|
+
size: import("../../composables/common").Size;
|
|
73
|
+
required: boolean;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
loading: boolean;
|
|
76
|
+
validateOnInput: boolean;
|
|
77
|
+
rules: unknown[];
|
|
78
|
+
multiple: boolean;
|
|
79
|
+
}>;
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
tag: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
tag: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
tag: string;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|