@indielayer/ui 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/lib/index.cjs.js +1 -1
- package/lib/index.es.js +113 -103
- package/package.json +3 -2
- package/src/components/avatar/Avatar.vue +12 -10
- package/src/components/button/Button.theme.ts +1 -1
- package/src/components/drawer/Drawer.vue +23 -16
- package/src/components/image/Image.vue +12 -10
- package/src/components/modal/Modal.vue +1 -1
- package/src/components/notifications/Notifications.theme.ts +1 -1
- package/src/components/slider/Slider.vue +6 -4
- package/src/components/textarea/Textarea.vue +3 -10
- package/src/composables/colors-utils.ts +1 -1
- package/src/version.ts +1 -1
- package/lib/common/icons.d.ts +0 -15
- package/lib/common/utils.d.ts +0 -32
- package/lib/components/alert/Alert.theme.d.ts +0 -8
- package/lib/components/alert/Alert.vue.d.ts +0 -31
- package/lib/components/alert/__tests__/Alert.spec.d.ts +0 -1
- package/lib/components/avatar/Avatar.theme.d.ts +0 -8
- package/lib/components/avatar/Avatar.vue.d.ts +0 -46
- package/lib/components/avatar/__tests__/Avatar.spec.d.ts +0 -1
- package/lib/components/badge/Badge.theme.d.ts +0 -8
- package/lib/components/badge/Badge.vue.d.ts +0 -74
- package/lib/components/badge/__tests__/Badge.spec.d.ts +0 -1
- package/lib/components/breadcrumbs/Breadcrumbs.theme.d.ts +0 -8
- package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +0 -41
- package/lib/components/breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
- package/lib/components/button/Button.theme.d.ts +0 -10
- package/lib/components/button/Button.vue.d.ts +0 -81
- package/lib/components/button/ButtonGroup.theme.d.ts +0 -6
- package/lib/components/button/ButtonGroup.vue.d.ts +0 -52
- package/lib/components/button/__tests__/ Button.spec.d.ts +0 -1
- package/lib/components/button/__tests__/ ButtonGroup.spec.d.ts +0 -1
- package/lib/components/card/Card.theme.d.ts +0 -7
- package/lib/components/card/Card.vue.d.ts +0 -17
- package/lib/components/card/__tests__/Card.spec.d.ts +0 -1
- package/lib/components/checkbox/Checkbox.theme.d.ts +0 -11
- package/lib/components/checkbox/Checkbox.vue.d.ts +0 -77
- package/lib/components/checkbox/__tests__/Checkbox.spec.d.ts +0 -1
- package/lib/components/collapse/Collapse.theme.d.ts +0 -9
- package/lib/components/collapse/Collapse.vue.d.ts +0 -40
- package/lib/components/collapse/__tests__/Collapse.spec.d.ts +0 -1
- package/lib/components/container/Container.theme.d.ts +0 -6
- package/lib/components/container/Container.vue.d.ts +0 -14
- package/lib/components/container/__tests__/Container.spec.d.ts +0 -1
- package/lib/components/divider/Divider.theme.d.ts +0 -9
- package/lib/components/divider/Divider.vue.d.ts +0 -10
- package/lib/components/divider/__tests__/Divider.spec.d.ts +0 -1
- package/lib/components/drawer/Drawer.theme.d.ts +0 -7
- package/lib/components/drawer/Drawer.vue.d.ts +0 -61
- package/lib/components/drawer/__tests__/Drawer.spec.d.ts +0 -1
- package/lib/components/form/Form.theme.d.ts +0 -6
- package/lib/components/form/Form.vue.d.ts +0 -48
- package/lib/components/form/__tests__/Form.spec.d.ts +0 -1
- package/lib/components/helpers/InputError.d.ts +0 -8
- package/lib/components/icon/Icon.theme.d.ts +0 -7
- package/lib/components/icon/Icon.vue.d.ts +0 -36
- package/lib/components/icon/__tests__/Icon.spec.d.ts +0 -1
- package/lib/components/image/Image.theme.d.ts +0 -6
- package/lib/components/image/Image.vue.d.ts +0 -6
- package/lib/components/image/__tests__/Image.spec.d.ts +0 -1
- package/lib/components/index.d.ts +0 -45
- package/lib/components/input/Input.theme.d.ts +0 -11
- package/lib/components/input/Input.vue.d.ts +0 -119
- package/lib/components/input/__tests__/Input.spec.d.ts +0 -1
- package/lib/components/link/Link.theme.d.ts +0 -8
- package/lib/components/link/Link.vue.d.ts +0 -34
- package/lib/components/link/__tests__/Link.spec.d.ts +0 -1
- package/lib/components/menu/Menu.theme.d.ts +0 -6
- package/lib/components/menu/Menu.vue.d.ts +0 -65
- package/lib/components/menu/MenuItem.theme.d.ts +0 -8
- package/lib/components/menu/MenuItem.vue.d.ts +0 -89
- package/lib/components/menu/__tests__/Menu.spec.d.ts +0 -1
- package/lib/components/menu/__tests__/MenuItem.spec.d.ts +0 -1
- package/lib/components/modal/Modal.theme.d.ts +0 -13
- package/lib/components/modal/Modal.vue.d.ts +0 -29
- package/lib/components/modal/__tests__/Modal.spec.d.ts +0 -1
- package/lib/components/notifications/Notifications.theme.d.ts +0 -8
- package/lib/components/notifications/Notifications.vue.d.ts +0 -91
- package/lib/components/notifications/__tests__/Notifications.spec.d.ts +0 -1
- package/lib/components/pagination/Pagination.theme.d.ts +0 -9
- package/lib/components/pagination/Pagination.vue.d.ts +0 -49
- package/lib/components/pagination/PaginationItem.theme.d.ts +0 -7
- package/lib/components/pagination/PaginationItem.vue.d.ts +0 -33
- package/lib/components/pagination/__tests__/Pagination.spec.d.ts +0 -1
- package/lib/components/pagination/__tests__/PaginationItem.spec.d.ts +0 -1
- package/lib/components/popover/Popover.theme.d.ts +0 -7
- package/lib/components/popover/Popover.vue.d.ts +0 -64
- package/lib/components/popover/PopoverContainer.theme.d.ts +0 -6
- package/lib/components/popover/PopoverContainer.vue.d.ts +0 -14
- package/lib/components/popover/__tests__/Popover.spec.d.ts +0 -1
- package/lib/components/popover/__tests__/PopoverContainer.spec.d.ts +0 -1
- package/lib/components/progress/Progress.theme.d.ts +0 -10
- package/lib/components/progress/Progress.vue.d.ts +0 -40
- package/lib/components/progress/__tests__/Progress.spec.d.ts +0 -1
- package/lib/components/radio/Radio.theme.d.ts +0 -12
- package/lib/components/radio/Radio.vue.d.ts +0 -78
- package/lib/components/radio/__tests__/Radio.spec.d.ts +0 -1
- package/lib/components/scroll/Scroll.theme.d.ts +0 -6
- package/lib/components/scroll/Scroll.vue.d.ts +0 -23
- package/lib/components/scroll/__tests__/Scroll.spec.d.ts +0 -1
- package/lib/components/select/Select.theme.d.ts +0 -13
- package/lib/components/select/Select.vue.d.ts +0 -80
- package/lib/components/select/__tests__/Select.spec.d.ts +0 -1
- package/lib/components/skeleton/Skeleton.theme.d.ts +0 -6
- package/lib/components/skeleton/Skeleton.vue.d.ts +0 -14
- package/lib/components/skeleton/__tests__/Skeleton.spec.d.ts +0 -1
- package/lib/components/slider/Slider.theme.d.ts +0 -10
- package/lib/components/slider/Slider.vue.d.ts +0 -87
- package/lib/components/slider/__tests__/Slider.spec.d.ts +0 -1
- package/lib/components/spacer/Spacer.d.ts +0 -2
- package/lib/components/spacer/__tests__/Spacer.spec.d.ts +0 -1
- package/lib/components/spinner/Spinner.vue.d.ts +0 -25
- package/lib/components/spinner/__tests__/Spinner.spec.d.ts +0 -1
- package/lib/components/tab/Tab.theme.d.ts +0 -9
- package/lib/components/tab/Tab.vue.d.ts +0 -43
- package/lib/components/tab/TabGroup.theme.d.ts +0 -10
- package/lib/components/tab/TabGroup.vue.d.ts +0 -57
- package/lib/components/tab/__tests__/Tab.spec.d.ts +0 -1
- package/lib/components/tab/__tests__/TabGroup.spec.d.ts +0 -1
- package/lib/components/table/Table.theme.d.ts +0 -8
- package/lib/components/table/Table.vue.d.ts +0 -78
- package/lib/components/table/TableBody.d.ts +0 -2
- package/lib/components/table/TableCell.theme.d.ts +0 -7
- package/lib/components/table/TableCell.vue.d.ts +0 -33
- package/lib/components/table/TableHead.d.ts +0 -2
- package/lib/components/table/TableHeader.vue.d.ts +0 -33
- package/lib/components/table/TableRow.vue.d.ts +0 -23
- package/lib/components/table/__tests__/Table.spec.d.ts +0 -1
- package/lib/components/tag/Tag.theme.d.ts +0 -9
- package/lib/components/tag/Tag.vue.d.ts +0 -45
- package/lib/components/tag/__tests__/Tag.spec.d.ts +0 -1
- package/lib/components/textarea/Textarea.theme.d.ts +0 -10
- package/lib/components/textarea/Textarea.vue.d.ts +0 -100
- package/lib/components/textarea/__tests__/Textarea.spec.d.ts +0 -1
- package/lib/components/toggle/Toggle.theme.d.ts +0 -11
- package/lib/components/toggle/Toggle.vue.d.ts +0 -78
- package/lib/components/toggle/__tests__/Toggle.spec.d.ts +0 -1
- package/lib/components/tooltip/Tooltip.theme.d.ts +0 -11
- package/lib/components/tooltip/Tooltip.vue.d.ts +0 -2
- package/lib/components/tooltip/__tests__/Tooltip.spec.d.ts +0 -1
- package/lib/composables/colors-utils.d.ts +0 -7
- package/lib/composables/colors.d.ts +0 -30
- package/lib/composables/common.d.ts +0 -15
- package/lib/composables/css.d.ts +0 -6
- package/lib/composables/index.d.ts +0 -7
- package/lib/composables/inputtable.d.ts +0 -37
- package/lib/composables/interactive.d.ts +0 -15
- package/lib/composables/keys.d.ts +0 -8
- package/lib/composables/notifications.d.ts +0 -1
- package/lib/composables/theme.d.ts +0 -20
- package/lib/create.d.ts +0 -13
- package/lib/index.d.ts +0 -6
- package/lib/install.d.ts +0 -4
- package/lib/version.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import { type Align } from './TableHeader.vue';
|
|
3
|
-
export declare type Header = {
|
|
4
|
-
sortable?: boolean;
|
|
5
|
-
sort?: string[];
|
|
6
|
-
align?: Align;
|
|
7
|
-
value?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
width?: string | number;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: import("vue").DefineComponent<{
|
|
12
|
-
headers: {
|
|
13
|
-
type: PropType<Header[]>;
|
|
14
|
-
default: () => never[];
|
|
15
|
-
};
|
|
16
|
-
items: {
|
|
17
|
-
type: ArrayConstructor;
|
|
18
|
-
default: () => never[];
|
|
19
|
-
};
|
|
20
|
-
sort: {
|
|
21
|
-
type: PropType<string[]>;
|
|
22
|
-
default: () => never[];
|
|
23
|
-
};
|
|
24
|
-
loading: BooleanConstructor;
|
|
25
|
-
dense: BooleanConstructor;
|
|
26
|
-
fixed: BooleanConstructor;
|
|
27
|
-
striped: BooleanConstructor;
|
|
28
|
-
pointer: BooleanConstructor;
|
|
29
|
-
scrollable: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
stickyHeader: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:sort" | "click-row")[], "update:sort" | "click-row", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
headers: {
|
|
39
|
-
type: PropType<Header[]>;
|
|
40
|
-
default: () => never[];
|
|
41
|
-
};
|
|
42
|
-
items: {
|
|
43
|
-
type: ArrayConstructor;
|
|
44
|
-
default: () => never[];
|
|
45
|
-
};
|
|
46
|
-
sort: {
|
|
47
|
-
type: PropType<string[]>;
|
|
48
|
-
default: () => never[];
|
|
49
|
-
};
|
|
50
|
-
loading: BooleanConstructor;
|
|
51
|
-
dense: BooleanConstructor;
|
|
52
|
-
fixed: BooleanConstructor;
|
|
53
|
-
striped: BooleanConstructor;
|
|
54
|
-
pointer: BooleanConstructor;
|
|
55
|
-
scrollable: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
stickyHeader: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
64
|
-
"onUpdate:sort"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
"onClick-row"?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
fixed: boolean;
|
|
68
|
-
sort: string[];
|
|
69
|
-
items: unknown[];
|
|
70
|
-
loading: boolean;
|
|
71
|
-
pointer: boolean;
|
|
72
|
-
dense: boolean;
|
|
73
|
-
stickyHeader: boolean;
|
|
74
|
-
striped: boolean;
|
|
75
|
-
headers: Header[];
|
|
76
|
-
scrollable: boolean;
|
|
77
|
-
}>;
|
|
78
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
textAlign: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
validator: (value: string) => boolean;
|
|
5
|
-
};
|
|
6
|
-
truncate: BooleanConstructor;
|
|
7
|
-
dense: BooleanConstructor;
|
|
8
|
-
fixed: BooleanConstructor;
|
|
9
|
-
verticalAlign: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
validator: (value: string) => boolean;
|
|
13
|
-
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
textAlign: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
validator: (value: string) => boolean;
|
|
18
|
-
};
|
|
19
|
-
truncate: BooleanConstructor;
|
|
20
|
-
dense: BooleanConstructor;
|
|
21
|
-
fixed: BooleanConstructor;
|
|
22
|
-
verticalAlign: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
|
-
};
|
|
27
|
-
}>>, {
|
|
28
|
-
fixed: boolean;
|
|
29
|
-
dense: boolean;
|
|
30
|
-
verticalAlign: string;
|
|
31
|
-
truncate: boolean;
|
|
32
|
-
}>;
|
|
33
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
export declare type Sort = 1 | -1 | undefined;
|
|
3
|
-
export declare type Align = 'left' | 'center' | 'right' | 'justify' | undefined;
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
sort: {
|
|
6
|
-
type: PropType<Sort>;
|
|
7
|
-
validator: (value: number) => boolean;
|
|
8
|
-
};
|
|
9
|
-
sortable: BooleanConstructor;
|
|
10
|
-
textAlign: {
|
|
11
|
-
type: PropType<Align>;
|
|
12
|
-
default: string;
|
|
13
|
-
validator: (value: string) => boolean;
|
|
14
|
-
};
|
|
15
|
-
stickyHeader: BooleanConstructor;
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
sort: {
|
|
18
|
-
type: PropType<Sort>;
|
|
19
|
-
validator: (value: number) => boolean;
|
|
20
|
-
};
|
|
21
|
-
sortable: BooleanConstructor;
|
|
22
|
-
textAlign: {
|
|
23
|
-
type: PropType<Align>;
|
|
24
|
-
default: string;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
|
-
};
|
|
27
|
-
stickyHeader: BooleanConstructor;
|
|
28
|
-
}>>, {
|
|
29
|
-
textAlign: Align;
|
|
30
|
-
sortable: boolean;
|
|
31
|
-
stickyHeader: boolean;
|
|
32
|
-
}>;
|
|
33
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
pointer: BooleanConstructor;
|
|
4
|
-
striped: BooleanConstructor;
|
|
5
|
-
verticalAlign: {
|
|
6
|
-
type: PropType<"top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top">;
|
|
7
|
-
default: string;
|
|
8
|
-
validator: (value: string) => boolean;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
pointer: BooleanConstructor;
|
|
12
|
-
striped: BooleanConstructor;
|
|
13
|
-
verticalAlign: {
|
|
14
|
-
type: PropType<"top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top">;
|
|
15
|
-
default: string;
|
|
16
|
-
validator: (value: string) => boolean;
|
|
17
|
-
};
|
|
18
|
-
}>>, {
|
|
19
|
-
pointer: boolean;
|
|
20
|
-
verticalAlign: "top" | "bottom" | "baseline" | "middle" | "text-bottom" | "text-top";
|
|
21
|
-
striped: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
classes: {
|
|
4
|
-
wrapper: ({ props, data }: ThemeParams) => string;
|
|
5
|
-
loadingWrapper: string;
|
|
6
|
-
};
|
|
7
|
-
styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
tag: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
rounded: BooleanConstructor;
|
|
7
|
-
removable: BooleanConstructor;
|
|
8
|
-
outlined: BooleanConstructor;
|
|
9
|
-
color: {
|
|
10
|
-
readonly type: StringConstructor;
|
|
11
|
-
readonly default: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
15
|
-
readonly default: "md";
|
|
16
|
-
readonly validator: (value: string) => boolean;
|
|
17
|
-
};
|
|
18
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
tag: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
rounded: BooleanConstructor;
|
|
24
|
-
removable: BooleanConstructor;
|
|
25
|
-
outlined: BooleanConstructor;
|
|
26
|
-
color: {
|
|
27
|
-
readonly type: StringConstructor;
|
|
28
|
-
readonly default: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
size: {
|
|
31
|
-
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
32
|
-
readonly default: "md";
|
|
33
|
-
readonly validator: (value: string) => boolean;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
onRemove?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
size: import("../../composables/common").Size;
|
|
39
|
-
outlined: boolean;
|
|
40
|
-
removable: boolean;
|
|
41
|
-
color: string;
|
|
42
|
-
tag: string;
|
|
43
|
-
rounded: boolean;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
classes: {
|
|
4
|
-
wrapper: string;
|
|
5
|
-
label: ({ props }: ThemeParams) => string;
|
|
6
|
-
input: ({ props, data }: ThemeParams) => string[];
|
|
7
|
-
};
|
|
8
|
-
styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
helper: StringConstructor;
|
|
3
|
-
label: StringConstructor;
|
|
4
|
-
dir: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
rows: (NumberConstructor | StringConstructor)[];
|
|
9
|
-
max: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
maxlength: (NumberConstructor | StringConstructor)[];
|
|
11
|
-
min: (NumberConstructor | StringConstructor)[];
|
|
12
|
-
minlength: (NumberConstructor | StringConstructor)[];
|
|
13
|
-
placeholder: StringConstructor;
|
|
14
|
-
adjustToText: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
preventEnter: BooleanConstructor;
|
|
19
|
-
block: BooleanConstructor;
|
|
20
|
-
modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
21
|
-
name: StringConstructor;
|
|
22
|
-
readonly: BooleanConstructor;
|
|
23
|
-
required: BooleanConstructor;
|
|
24
|
-
validateOnInput: {
|
|
25
|
-
readonly type: BooleanConstructor;
|
|
26
|
-
readonly default: true;
|
|
27
|
-
};
|
|
28
|
-
error: StringConstructor;
|
|
29
|
-
rules: {
|
|
30
|
-
readonly type: ArrayConstructor;
|
|
31
|
-
readonly default: () => never[];
|
|
32
|
-
};
|
|
33
|
-
disabled: BooleanConstructor;
|
|
34
|
-
loading: BooleanConstructor;
|
|
35
|
-
size: {
|
|
36
|
-
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
37
|
-
readonly default: "md";
|
|
38
|
-
readonly validator: (value: string) => boolean;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
focus: () => void | undefined;
|
|
42
|
-
blur: () => void | undefined;
|
|
43
|
-
reset: () => void;
|
|
44
|
-
validate: (val: any) => boolean;
|
|
45
|
-
setError: (val: string) => void;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
helper: StringConstructor;
|
|
48
|
-
label: StringConstructor;
|
|
49
|
-
dir: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
rows: (NumberConstructor | StringConstructor)[];
|
|
54
|
-
max: (NumberConstructor | StringConstructor)[];
|
|
55
|
-
maxlength: (NumberConstructor | StringConstructor)[];
|
|
56
|
-
min: (NumberConstructor | StringConstructor)[];
|
|
57
|
-
minlength: (NumberConstructor | StringConstructor)[];
|
|
58
|
-
placeholder: StringConstructor;
|
|
59
|
-
adjustToText: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
preventEnter: BooleanConstructor;
|
|
64
|
-
block: BooleanConstructor;
|
|
65
|
-
modelValue: import("vue").PropType<string | number | boolean | object | any[] | undefined>;
|
|
66
|
-
name: StringConstructor;
|
|
67
|
-
readonly: BooleanConstructor;
|
|
68
|
-
required: BooleanConstructor;
|
|
69
|
-
validateOnInput: {
|
|
70
|
-
readonly type: BooleanConstructor;
|
|
71
|
-
readonly default: true;
|
|
72
|
-
};
|
|
73
|
-
error: StringConstructor;
|
|
74
|
-
rules: {
|
|
75
|
-
readonly type: ArrayConstructor;
|
|
76
|
-
readonly default: () => never[];
|
|
77
|
-
};
|
|
78
|
-
disabled: BooleanConstructor;
|
|
79
|
-
loading: BooleanConstructor;
|
|
80
|
-
size: {
|
|
81
|
-
readonly type: import("vue").PropType<import("../../composables/common").Size>;
|
|
82
|
-
readonly default: "md";
|
|
83
|
-
readonly validator: (value: string) => boolean;
|
|
84
|
-
};
|
|
85
|
-
}>> & {
|
|
86
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
87
|
-
}, {
|
|
88
|
-
readonly: boolean;
|
|
89
|
-
size: import("../../composables/common").Size;
|
|
90
|
-
required: boolean;
|
|
91
|
-
dir: string;
|
|
92
|
-
block: boolean;
|
|
93
|
-
disabled: boolean;
|
|
94
|
-
loading: boolean;
|
|
95
|
-
validateOnInput: boolean;
|
|
96
|
-
rules: unknown[];
|
|
97
|
-
adjustToText: boolean;
|
|
98
|
-
preventEnter: boolean;
|
|
99
|
-
}>;
|
|
100
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
classes: {
|
|
4
|
-
wrapper: string;
|
|
5
|
-
label: ({ props }: ThemeParams) => string;
|
|
6
|
-
buttonWrapper: ({ props }: ThemeParams) => string;
|
|
7
|
-
button: ({ props }: ThemeParams) => string;
|
|
8
|
-
};
|
|
9
|
-
styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
id: StringConstructor;
|
|
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
|
-
id: StringConstructor;
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ThemeParams } from '../../composables/theme';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
classes: {
|
|
4
|
-
wrapper: string;
|
|
5
|
-
label: ({ props }: ThemeParams) => string;
|
|
6
|
-
buttonWrapper: ({ props }: ThemeParams) => string;
|
|
7
|
-
button: ({ props }: ThemeParams) => string;
|
|
8
|
-
};
|
|
9
|
-
styles: ({ colors, props, css }: ThemeParams) => Record<string, string>;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Tone, ColorLibrary } from './colors';
|
|
2
|
-
export declare const setOpacity: (color: string, opacity: number) => string;
|
|
3
|
-
export declare const isValidColor: (color: string) => boolean;
|
|
4
|
-
export declare const colorShade: (color: string, percentage: number) => string;
|
|
5
|
-
export declare const shades: Tone[];
|
|
6
|
-
export declare const indielayerColors: string[];
|
|
7
|
-
export declare const tailwindColors: ColorLibrary;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare type Tone = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
2
|
-
export interface ColorPalette {
|
|
3
|
-
50: string;
|
|
4
|
-
100: string;
|
|
5
|
-
200: string;
|
|
6
|
-
300: string;
|
|
7
|
-
400: string;
|
|
8
|
-
500: string;
|
|
9
|
-
600: string;
|
|
10
|
-
700: string;
|
|
11
|
-
800: string;
|
|
12
|
-
900: string;
|
|
13
|
-
}
|
|
14
|
-
export declare type ColorLibrary = Record<string, ColorPalette>;
|
|
15
|
-
export interface ColorsProps {
|
|
16
|
-
color?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ColorComposition {
|
|
19
|
-
getPalette: (color: string) => ColorPalette;
|
|
20
|
-
getColorOpacity: (color: string, opacity: number) => string;
|
|
21
|
-
}
|
|
22
|
-
export declare const useColors: {
|
|
23
|
-
(): ColorComposition;
|
|
24
|
-
props(defaultColor?: string | undefined): {
|
|
25
|
-
readonly color: {
|
|
26
|
-
readonly type: StringConstructor;
|
|
27
|
-
readonly default: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined;
|
|
3
|
-
export declare const useCommon: {
|
|
4
|
-
(): void;
|
|
5
|
-
props(): {
|
|
6
|
-
readonly size: {
|
|
7
|
-
readonly type: PropType<Size>;
|
|
8
|
-
readonly default: "md";
|
|
9
|
-
readonly validator: (value: string) => boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
validators(): {
|
|
13
|
-
size: string[];
|
|
14
|
-
};
|
|
15
|
-
};
|
package/lib/composables/css.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface CSSComposition {
|
|
2
|
-
get: (name: string, value: string, theme?: string, modifier?: string) => string;
|
|
3
|
-
variable: (name: string, theme?: string, modifier?: string) => string;
|
|
4
|
-
variables: (object: Record<string, string | object>, theme?: string, modifier?: string) => Record<string, string>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useCSS: (namespace?: string | undefined) => CSSComposition;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { Ref, PropType } from 'vue';
|
|
2
|
-
export interface XFormInputMethods {
|
|
3
|
-
focus: () => void;
|
|
4
|
-
validate: (val: any) => boolean;
|
|
5
|
-
setError: (val: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const useInputtable: {
|
|
8
|
-
(props: any, { focus, emit, withListeners }: {
|
|
9
|
-
focus: () => void;
|
|
10
|
-
emit: any;
|
|
11
|
-
withListeners?: boolean | undefined;
|
|
12
|
-
}): {
|
|
13
|
-
isFirstValidation: Ref<boolean>;
|
|
14
|
-
errorInternal: any;
|
|
15
|
-
isInsideForm: any;
|
|
16
|
-
inputListeners: {};
|
|
17
|
-
reset: () => void;
|
|
18
|
-
validate: (val: any) => boolean;
|
|
19
|
-
setError: (val: string) => void;
|
|
20
|
-
};
|
|
21
|
-
emits(withListeners?: boolean): string[];
|
|
22
|
-
props(): {
|
|
23
|
-
readonly modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
24
|
-
readonly name: StringConstructor;
|
|
25
|
-
readonly readonly: BooleanConstructor;
|
|
26
|
-
readonly required: BooleanConstructor;
|
|
27
|
-
readonly validateOnInput: {
|
|
28
|
-
readonly type: BooleanConstructor;
|
|
29
|
-
readonly default: true;
|
|
30
|
-
};
|
|
31
|
-
readonly error: StringConstructor;
|
|
32
|
-
readonly rules: {
|
|
33
|
-
readonly type: ArrayConstructor;
|
|
34
|
-
readonly default: () => never[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
export interface InteractiveProps {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const useInteractive: {
|
|
7
|
-
(el: Ref<HTMLElement | null>): {
|
|
8
|
-
focus: () => void | undefined;
|
|
9
|
-
blur: () => void | undefined;
|
|
10
|
-
};
|
|
11
|
-
props(): {
|
|
12
|
-
readonly disabled: BooleanConstructor;
|
|
13
|
-
readonly loading: BooleanConstructor;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { InjectionKey } from 'vue';
|
|
2
|
-
export declare const injectTabKey: InjectionKey<any>;
|
|
3
|
-
export declare const injectFormKey: InjectionKey<any>;
|
|
4
|
-
export declare const injectThemeKey: InjectionKey<any>;
|
|
5
|
-
export declare const injectIconsKey: InjectionKey<any>;
|
|
6
|
-
export declare const injectColorsKey: InjectionKey<any>;
|
|
7
|
-
export declare const injectButtonGroupKey: InjectionKey<any>;
|
|
8
|
-
export declare const injectNotificationKey: InjectionKey<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useNotifications: (key?: string | symbol | undefined) => any;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type StyleValue } from 'vue';
|
|
2
|
-
import { type ColorComposition } from './colors';
|
|
3
|
-
import { type CSSComposition } from './css';
|
|
4
|
-
import type { Slots } from 'vue';
|
|
5
|
-
export declare type ThemeParams = {
|
|
6
|
-
props: any;
|
|
7
|
-
slots: Slots;
|
|
8
|
-
colors: ColorComposition;
|
|
9
|
-
css: CSSComposition;
|
|
10
|
-
rtl?: boolean;
|
|
11
|
-
data?: any;
|
|
12
|
-
};
|
|
13
|
-
export declare const useTheme: (namespace: string, defaultTheme: any, props: any, data?: any) => {
|
|
14
|
-
classPrefix: import("vue").ComputedRef<any>;
|
|
15
|
-
className: import("vue").ComputedRef<string>;
|
|
16
|
-
colors: ColorComposition;
|
|
17
|
-
classes: import("vue").ComputedRef<any>;
|
|
18
|
-
styles: import("vue").ComputedRef<StyleValue>;
|
|
19
|
-
css: CSSComposition;
|
|
20
|
-
};
|