@a-vision-software/vue-input-components 1.4.31 → 2.0.2
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/src/App.vue.d.ts +2 -0
- package/dist/src/components/Action.vue.d.ts +9 -49
- package/dist/src/components/Checkbox.vue.d.ts +19 -81
- package/dist/src/components/Dropdown.vue.d.ts +22 -83
- package/dist/src/components/FileUpload.vue.d.ts +12 -20
- package/dist/src/components/List.vue.d.ts +18 -36
- package/dist/src/components/Modal.vue.d.ts +22 -58
- package/dist/src/components/Navigation.vue.d.ts +5 -15
- package/dist/src/components/TextInput.vue.d.ts +0 -1
- package/dist/src/global.d.ts +0 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/types/list.d.ts +1 -1
- package/dist/src/types/textinput.d.ts +2 -0
- package/dist/src/views/ActionTestView.vue.d.ts +2 -0
- package/dist/src/views/CheckboxTestView.vue.d.ts +2 -0
- package/dist/src/views/DashboardView.vue.d.ts +2 -0
- package/dist/src/views/DropdownTestView.vue.d.ts +2 -0
- package/dist/src/views/FileUploadTestView.vue.d.ts +2 -0
- package/dist/src/views/ListTestView.vue.d.ts +2 -0
- package/dist/src/views/ModalTestView.vue.d.ts +2 -0
- package/dist/src/views/NavigationTestView.vue.d.ts +2 -0
- package/dist/src/views/TextInputTestView.vue.d.ts +2 -0
- package/dist/vue-input-components.cjs.js +38 -2
- package/dist/vue-input-components.css +2 -1
- package/dist/vue-input-components.es.js +15325 -9896
- package/dist/vue-input-components.umd.js +38 -2
- package/package.json +27 -26
- package/src/components/Dropdown.vue +9 -4
- package/src/components/List.vue +60 -2
- package/src/components/TextInput.vue +15 -4
- package/src/types/list.ts +1 -0
- package/src/types/textinput.ts +3 -0
- package/src/views/ListTestView.vue +2 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,58 +1,18 @@
|
|
|
1
1
|
import { ActionProps } from '../types/action';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
icon: undefined;
|
|
6
|
-
label: undefined;
|
|
7
|
-
href: undefined;
|
|
8
|
-
type: string;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
color: string;
|
|
11
|
-
size: string;
|
|
12
|
-
variant: string;
|
|
13
|
-
presentation: string;
|
|
14
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
click: (event: MouseEvent, action: ActionProps) => void;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ActionProps>, {
|
|
17
|
-
id: undefined;
|
|
18
|
-
icon: undefined;
|
|
19
|
-
label: undefined;
|
|
20
|
-
href: undefined;
|
|
21
|
-
type: string;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
color: string;
|
|
24
|
-
size: string;
|
|
25
|
-
variant: string;
|
|
26
|
-
presentation: string;
|
|
27
|
-
}>>> & Readonly<{
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ActionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
click: (event: MouseEvent, action: ActionProps) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<ActionProps> & Readonly<{
|
|
28
5
|
onClick?: ((event: MouseEvent, action: ActionProps) => any) | undefined;
|
|
29
6
|
}>, {
|
|
7
|
+
label: string;
|
|
8
|
+
icon: string;
|
|
30
9
|
disabled: boolean;
|
|
31
|
-
type: "
|
|
10
|
+
type: "button" | "submit" | "reset";
|
|
11
|
+
size: "small" | "regular" | "large";
|
|
32
12
|
id: string;
|
|
33
|
-
icon: string;
|
|
34
|
-
label: string;
|
|
35
|
-
href: string;
|
|
36
13
|
color: string;
|
|
14
|
+
href: string;
|
|
37
15
|
variant: "solid" | "transparent";
|
|
38
|
-
size: "small" | "regular" | "large";
|
|
39
16
|
presentation: "default" | "minimal";
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
18
|
export default _default;
|
|
42
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
44
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
-
} : {
|
|
47
|
-
type: import('vue').PropType<T[K]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
type __VLS_Prettify<T> = {
|
|
57
|
-
[K in keyof T]: T[K];
|
|
58
|
-
} & {};
|
|
@@ -1,95 +1,33 @@
|
|
|
1
1
|
import { CheckboxProps, CheckboxOption } from '../types/checkbox';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
disabledColor: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
borderRadius: string;
|
|
14
|
-
padding: string;
|
|
15
|
-
icon: string;
|
|
16
|
-
iconSize: string;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
4
|
+
changed: () => any;
|
|
5
|
+
saved: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
8
|
+
onChanged?: (() => any) | undefined;
|
|
9
|
+
onSaved?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
17
11
|
required: boolean;
|
|
18
|
-
error: string;
|
|
19
12
|
label: string;
|
|
20
|
-
labelPosition:
|
|
21
|
-
labelAlign:
|
|
13
|
+
labelPosition: "top" | "left";
|
|
14
|
+
labelAlign: "left" | "center" | "right";
|
|
22
15
|
labelWidth: string;
|
|
23
|
-
columns: number;
|
|
24
|
-
presentation: string;
|
|
25
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (value: string | string[]) => void;
|
|
27
|
-
changed: () => void;
|
|
28
|
-
saved: () => void;
|
|
29
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CheckboxProps>, {
|
|
30
|
-
multiple: boolean;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
options: () => never[];
|
|
33
16
|
width: string;
|
|
34
|
-
color: string;
|
|
35
|
-
hoverColor: string;
|
|
36
|
-
activeColor: string;
|
|
37
|
-
disabledColor: string;
|
|
38
|
-
backgroundColor: string;
|
|
39
|
-
borderRadius: string;
|
|
40
|
-
padding: string;
|
|
41
17
|
icon: string;
|
|
42
|
-
iconSize: string;
|
|
43
|
-
required: boolean;
|
|
44
|
-
error: string;
|
|
45
|
-
label: string;
|
|
46
|
-
labelPosition: string;
|
|
47
|
-
labelAlign: string;
|
|
48
|
-
labelWidth: string;
|
|
49
|
-
columns: number;
|
|
50
|
-
presentation: string;
|
|
51
|
-
}>>> & Readonly<{
|
|
52
|
-
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
53
|
-
onChanged?: (() => any) | undefined;
|
|
54
|
-
onSaved?: (() => any) | undefined;
|
|
55
|
-
}>, {
|
|
56
|
-
error: string;
|
|
57
18
|
disabled: boolean;
|
|
58
|
-
|
|
59
|
-
label: string;
|
|
19
|
+
error: string;
|
|
60
20
|
color: string;
|
|
61
|
-
presentation: "default" | "minimal";
|
|
62
|
-
backgroundColor: string;
|
|
63
|
-
options: CheckboxOption[];
|
|
64
21
|
multiple: boolean;
|
|
65
|
-
width: string;
|
|
66
|
-
hoverColor: string;
|
|
67
22
|
activeColor: string;
|
|
23
|
+
hoverColor: string;
|
|
68
24
|
disabledColor: string;
|
|
69
|
-
borderRadius: string;
|
|
70
25
|
padding: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
26
|
+
borderRadius: string;
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
iconSize: "normal" | "large";
|
|
29
|
+
presentation: "default" | "minimal";
|
|
30
|
+
options: CheckboxOption[];
|
|
76
31
|
columns: number;
|
|
77
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
78
33
|
export default _default;
|
|
79
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
80
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
81
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
82
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
83
|
-
} : {
|
|
84
|
-
type: import('vue').PropType<T[K]>;
|
|
85
|
-
required: true;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
type __VLS_WithDefaults<P, D> = {
|
|
89
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
90
|
-
default: D[K];
|
|
91
|
-
}> : P[K];
|
|
92
|
-
};
|
|
93
|
-
type __VLS_Prettify<T> = {
|
|
94
|
-
[K in keyof T]: T[K];
|
|
95
|
-
} & {};
|
|
@@ -1,98 +1,37 @@
|
|
|
1
1
|
import { DropdownProps } from '../types/dropdown';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
hoverColor: string;
|
|
12
|
-
activeColor: string;
|
|
13
|
-
disabledColor: string;
|
|
14
|
-
backgroundColor: string;
|
|
15
|
-
borderRadius: string;
|
|
16
|
-
padding: string;
|
|
17
|
-
icon: string;
|
|
18
|
-
iconSize: string;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
4
|
+
changed: () => any;
|
|
5
|
+
saved: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
8
|
+
onChanged?: (() => any) | undefined;
|
|
9
|
+
onSaved?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
19
11
|
required: boolean;
|
|
20
|
-
|
|
12
|
+
placeholder: string;
|
|
21
13
|
label: string;
|
|
22
|
-
labelPosition:
|
|
23
|
-
labelAlign:
|
|
14
|
+
labelPosition: "top" | "left";
|
|
15
|
+
labelAlign: "left" | "center" | "right";
|
|
24
16
|
labelWidth: string;
|
|
25
|
-
readonly: boolean;
|
|
26
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (value: string | string[]) => void;
|
|
28
|
-
changed: () => void;
|
|
29
|
-
saved: () => void;
|
|
30
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DropdownProps>, {
|
|
31
|
-
multiple: boolean;
|
|
32
|
-
placeholder: string;
|
|
33
|
-
filterable: boolean;
|
|
34
|
-
disabled: boolean;
|
|
35
|
-
maxHeight: string;
|
|
36
17
|
width: string;
|
|
37
|
-
color: string;
|
|
38
|
-
hoverColor: string;
|
|
39
|
-
activeColor: string;
|
|
40
|
-
disabledColor: string;
|
|
41
|
-
backgroundColor: string;
|
|
42
|
-
borderRadius: string;
|
|
43
|
-
padding: string;
|
|
44
18
|
icon: string;
|
|
45
|
-
|
|
46
|
-
required: boolean;
|
|
47
|
-
error: string;
|
|
48
|
-
label: string;
|
|
49
|
-
labelPosition: string;
|
|
50
|
-
labelAlign: string;
|
|
51
|
-
labelWidth: string;
|
|
19
|
+
disabled: boolean;
|
|
52
20
|
readonly: boolean;
|
|
53
|
-
|
|
54
|
-
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
55
|
-
onChanged?: (() => any) | undefined;
|
|
56
|
-
onSaved?: (() => any) | undefined;
|
|
57
|
-
}>, {
|
|
21
|
+
maxHeight: string;
|
|
58
22
|
error: string;
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
icon: string;
|
|
61
|
-
label: string;
|
|
62
23
|
color: string;
|
|
63
|
-
backgroundColor: string;
|
|
64
24
|
multiple: boolean;
|
|
65
|
-
width: string;
|
|
66
|
-
hoverColor: string;
|
|
67
25
|
activeColor: string;
|
|
26
|
+
hoverColor: string;
|
|
68
27
|
disabledColor: string;
|
|
69
|
-
borderRadius: string;
|
|
70
28
|
padding: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
labelAlign: "left" | "center" | "right";
|
|
75
|
-
labelWidth: string;
|
|
76
|
-
placeholder: string;
|
|
29
|
+
borderRadius: string;
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
iconSize: "normal" | "large";
|
|
77
32
|
filterable: boolean;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
dropdownRef: HTMLDivElement;
|
|
35
|
+
filterInput: HTMLInputElement;
|
|
36
|
+
}, HTMLDivElement>;
|
|
81
37
|
export default _default;
|
|
82
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
83
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
84
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
85
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
86
|
-
} : {
|
|
87
|
-
type: import('vue').PropType<T[K]>;
|
|
88
|
-
required: true;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
type __VLS_WithDefaults<P, D> = {
|
|
92
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
93
|
-
default: D[K];
|
|
94
|
-
}> : P[K];
|
|
95
|
-
};
|
|
96
|
-
type __VLS_Prettify<T> = {
|
|
97
|
-
[K in keyof T]: T[K];
|
|
98
|
-
} & {};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { FileUploadProps, UploadStatus } from '../types/fileupload';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"upload-
|
|
7
|
-
"upload-
|
|
8
|
-
"upload-
|
|
9
|
-
"upload-
|
|
10
|
-
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FileUploadProps>>> & Readonly<{
|
|
2
|
+
declare const _default: import('vue').DefineComponent<FileUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"files-selected": (files: File[]) => any;
|
|
4
|
+
"start-upload": (files: File[]) => any;
|
|
5
|
+
"upload-started": (files: File[]) => any;
|
|
6
|
+
"upload-complete": (files: File[]) => any;
|
|
7
|
+
"upload-progress": (progress: number) => any;
|
|
8
|
+
"upload-success": (status: UploadStatus) => any;
|
|
9
|
+
"upload-error": (status: UploadStatus) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<FileUploadProps> & Readonly<{
|
|
12
11
|
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
13
12
|
"onStart-upload"?: ((files: File[]) => any) | undefined;
|
|
14
13
|
"onUpload-started"?: ((files: File[]) => any) | undefined;
|
|
@@ -16,14 +15,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
16
15
|
"onUpload-progress"?: ((progress: number) => any) | undefined;
|
|
17
16
|
"onUpload-success"?: ((status: UploadStatus) => any) | undefined;
|
|
18
17
|
"onUpload-error"?: ((status: UploadStatus) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
fileInput: HTMLInputElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
20
21
|
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,50 +1,32 @@
|
|
|
1
1
|
import { ListProps } from '../types/list';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header_extras?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<ListProps, {
|
|
8
12
|
focus: () => void;
|
|
9
13
|
blur: () => void;
|
|
10
14
|
clearFilter: () => void;
|
|
11
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
"update:filter": (value: string) =>
|
|
13
|
-
"row-click": (row: any, index: number) =>
|
|
14
|
-
"row-dblclick": (row: any, index: number) =>
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
16
|
-
presentation: string;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
width: string;
|
|
19
|
-
}>>> & Readonly<{
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:filter": (value: string) => any;
|
|
17
|
+
"row-click": (row: any, index: number) => any;
|
|
18
|
+
"row-dblclick": (row: any, index: number) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<ListProps> & Readonly<{
|
|
20
20
|
"onUpdate:filter"?: ((value: string) => any) | undefined;
|
|
21
21
|
"onRow-click"?: ((row: any, index: number) => any) | undefined;
|
|
22
22
|
"onRow-dblclick"?: ((row: any, index: number) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
presentation: "default" | "minimal";
|
|
25
24
|
width: string;
|
|
26
25
|
loading: boolean;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
presentation: "default" | "minimal";
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
29
|
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type __VLS_WithDefaults<P, D> = {
|
|
41
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
-
default: D[K];
|
|
43
|
-
}> : P[K];
|
|
44
|
-
};
|
|
45
|
-
type __VLS_Prettify<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
|
48
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
31
|
new (): {
|
|
50
32
|
$slots: S;
|
|
@@ -1,75 +1,39 @@
|
|
|
1
1
|
import { ModalProps } from '../types/modal';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
isLargeIcon: boolean;
|
|
15
|
-
iconColor: string;
|
|
16
|
-
}>>, {
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<ModalProps, {
|
|
17
14
|
open: () => void;
|
|
18
15
|
close: () => void;
|
|
19
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (value: boolean) =>
|
|
21
|
-
close: () =>
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
23
|
-
modelValue: boolean;
|
|
24
|
-
class: string;
|
|
25
|
-
title: string;
|
|
26
|
-
minWidth: string;
|
|
27
|
-
maxWidth: string;
|
|
28
|
-
minHeight: string;
|
|
29
|
-
maxHeight: string;
|
|
30
|
-
titleBarColor: string;
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
icon: undefined;
|
|
33
|
-
isLargeIcon: boolean;
|
|
34
|
-
iconColor: string;
|
|
35
|
-
}>>> & Readonly<{
|
|
36
|
-
onClose?: (() => any) | undefined;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: boolean) => any;
|
|
18
|
+
close: () => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<ModalProps> & Readonly<{
|
|
37
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
38
22
|
}>, {
|
|
39
23
|
icon: string;
|
|
40
|
-
backgroundColor: string;
|
|
41
|
-
title: string;
|
|
42
|
-
modelValue: boolean;
|
|
43
24
|
maxHeight: string;
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
title: string;
|
|
44
27
|
iconColor: string;
|
|
28
|
+
backgroundColor: string;
|
|
45
29
|
minWidth: string;
|
|
46
30
|
maxWidth: string;
|
|
47
31
|
minHeight: string;
|
|
48
32
|
titleBarColor: string;
|
|
49
33
|
isLargeIcon: boolean;
|
|
50
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
51
|
-
|
|
52
|
-
default?(_: {}): any;
|
|
53
|
-
footer?(_: {}): any;
|
|
54
|
-
}>;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
36
|
export default _default;
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: import('vue').PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
type __VLS_WithDefaults<P, D> = {
|
|
66
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
-
default: D[K];
|
|
68
|
-
}> : P[K];
|
|
69
|
-
};
|
|
70
|
-
type __VLS_Prettify<T> = {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} & {};
|
|
73
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
38
|
new (): {
|
|
75
39
|
$slots: S;
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { NavigationProps, NavigationItem } from '../types/navigation';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<NavigationProps>>> & Readonly<{
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NavigationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:activeItem": (value: string) => any;
|
|
4
|
+
"item-click": (item: NavigationItem) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<NavigationProps> & Readonly<{
|
|
7
6
|
"onUpdate:activeItem"?: ((value: string) => any) | undefined;
|
|
8
7
|
"onItem-click"?: ((item: NavigationItem) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
10
9
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
package/dist/src/global.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { default as Dropdown } from './components/Dropdown.vue';
|
|
|
6
6
|
import { default as Checkbox } from './components/Checkbox.vue';
|
|
7
7
|
import { default as List } from './components/List.vue';
|
|
8
8
|
import { default as Modal } from './components/Modal.vue';
|
|
9
|
-
|
|
10
9
|
declare module '@vue/runtime-core' {
|
|
11
10
|
interface GlobalComponents {
|
|
12
11
|
TextInput: typeof TextInput;
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/main.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/src/types/list.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ListActionProps } from './action';
|
|
2
|
-
|
|
3
2
|
type ListPresentation = 'default' | 'minimal';
|
|
4
3
|
type ListDataType = 'text' | 'number' | 'date' | 'action' | 'checkbox' | 'icon' | 'email' | 'datetime' | 'time';
|
|
5
4
|
interface ListAction {
|
|
@@ -37,6 +36,7 @@ interface ListProps {
|
|
|
37
36
|
data: ListRowData[];
|
|
38
37
|
actions?: ListActionProps[];
|
|
39
38
|
CSVDownload?: string;
|
|
39
|
+
XLSXDownload?: string;
|
|
40
40
|
filter?: {
|
|
41
41
|
placeholder?: string;
|
|
42
42
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FormatsConfig } from '@vuepic/vue-datepicker';
|
|
1
2
|
export type TextInputProps = {
|
|
2
3
|
required?: boolean;
|
|
3
4
|
placeholder?: string;
|
|
@@ -16,6 +17,7 @@ export type TextInputProps = {
|
|
|
16
17
|
maxHeight?: string;
|
|
17
18
|
bgColor?: string;
|
|
18
19
|
currencyFormatter?: Intl.NumberFormat;
|
|
20
|
+
dateformat?: FormatsConfig | null;
|
|
19
21
|
autosave?: (value: string) => Promise<void>;
|
|
20
22
|
autosaveOnBlur?: boolean;
|
|
21
23
|
error?: string;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|