@enos5/enos-vue 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -10
- package/dist/components/ActionCard.vue.d.ts +33 -0
- package/dist/components/ActionMessage.vue.d.ts +16 -0
- package/dist/components/ActionSection.vue.d.ts +14 -0
- package/dist/components/ApplicationLogo.vue.d.ts +3 -0
- package/dist/components/AuthenticationCard.vue.d.ts +15 -0
- package/dist/components/Badge.vue.d.ts +59 -0
- package/dist/components/Banner.vue.d.ts +3 -0
- package/dist/components/Button.vue.d.ts +40 -0
- package/dist/components/Card.vue.d.ts +95 -0
- package/dist/components/CardTabs.vue.d.ts +32 -0
- package/dist/components/Checkbox.vue.d.ts +28 -0
- package/dist/components/CheckboxInput.vue.d.ts +55 -0
- package/dist/components/CheckboxMultipleInput.vue.d.ts +37 -0
- package/dist/components/ConfirmationModal.vue.d.ts +59 -0
- package/dist/components/CustomSelect.vue.d.ts +190 -0
- package/dist/components/DateInput.vue.d.ts +48 -0
- package/dist/components/DialogModal.vue.d.ts +48 -0
- package/dist/components/Divider.vue.d.ts +10 -0
- package/dist/components/Dropdown.vue.d.ts +44 -0
- package/dist/components/DropdownLink.vue.d.ts +20 -0
- package/dist/components/FormSection.vue.d.ts +20 -0
- package/dist/components/ImageInput.vue.d.ts +55 -0
- package/dist/components/InputError.vue.d.ts +7 -0
- package/dist/components/InputGroup.vue.d.ts +282 -0
- package/dist/components/InputLabel.vue.d.ts +14 -0
- package/dist/components/LinkButton.vue.d.ts +68 -0
- package/dist/components/Modal.vue.d.ts +55 -0
- package/dist/components/NavLink.vue.d.ts +18 -0
- package/dist/components/NotationInput.vue.d.ts +37 -0
- package/dist/components/RadioInput.vue.d.ts +55 -0
- package/dist/components/RadioMultipleInput.vue.d.ts +46 -0
- package/dist/components/ResponsiveNavLink.vue.d.ts +24 -0
- package/dist/components/SectionBorder.vue.d.ts +3 -0
- package/dist/components/SectionTitle.vue.d.ts +17 -0
- package/dist/components/SelectInput.vue.d.ts +190 -0
- package/dist/components/SortControls.vue.d.ts +67 -0
- package/dist/components/TableList.vue.d.ts +126 -0
- package/dist/components/TableListForm.vue.d.ts +258 -0
- package/dist/components/TextArea.vue.d.ts +41 -0
- package/dist/components/TextInput.vue.d.ts +41 -0
- package/dist/components/ThSortable.vue.d.ts +39 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +2628 -1749
- package/dist/index.js.map +1 -0
- package/dist/plugin.d.ts +5 -0
- package/package.json +10 -4
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | null)[];
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
modelModifiers: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
placeholderDisabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
softDeleteAware: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
labelKey: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
valueKey: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
deletedKey: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
optionLabel: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
default: null;
|
|
47
|
+
};
|
|
48
|
+
baseClass: {
|
|
49
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
normalTextClass: {
|
|
53
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
deletedSelectedClass: {
|
|
57
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
optionClass: {
|
|
61
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
deletedOptionClass: {
|
|
65
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
placeholderClass: {
|
|
69
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
dropdownClass: {
|
|
73
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
dropdownOptionClass: {
|
|
77
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
dropdownSelectedClass: {
|
|
81
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
85
|
+
"update:modelValue": (...args: any[]) => void;
|
|
86
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
modelValue: {
|
|
88
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | null)[];
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
modelModifiers: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
options: {
|
|
96
|
+
type: ArrayConstructor;
|
|
97
|
+
default: () => never[];
|
|
98
|
+
};
|
|
99
|
+
placeholder: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
placeholderDisabled: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
softDeleteAware: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
labelKey: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
valueKey: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
deletedKey: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
optionLabel: {
|
|
128
|
+
type: FunctionConstructor;
|
|
129
|
+
default: null;
|
|
130
|
+
};
|
|
131
|
+
baseClass: {
|
|
132
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
normalTextClass: {
|
|
136
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
deletedSelectedClass: {
|
|
140
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
optionClass: {
|
|
144
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
deletedOptionClass: {
|
|
148
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
placeholderClass: {
|
|
152
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
dropdownClass: {
|
|
156
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
dropdownOptionClass: {
|
|
160
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
dropdownSelectedClass: {
|
|
164
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
}>> & Readonly<{
|
|
168
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
169
|
+
}>, {
|
|
170
|
+
disabled: boolean;
|
|
171
|
+
modelValue: string | number | boolean | null;
|
|
172
|
+
modelModifiers: Record<string, any>;
|
|
173
|
+
options: unknown[];
|
|
174
|
+
placeholder: string;
|
|
175
|
+
placeholderDisabled: boolean;
|
|
176
|
+
softDeleteAware: boolean;
|
|
177
|
+
labelKey: string;
|
|
178
|
+
valueKey: string;
|
|
179
|
+
deletedKey: string;
|
|
180
|
+
optionLabel: Function;
|
|
181
|
+
baseClass: string | unknown[] | Record<string, any>;
|
|
182
|
+
normalTextClass: string | unknown[] | Record<string, any>;
|
|
183
|
+
deletedSelectedClass: string | unknown[] | Record<string, any>;
|
|
184
|
+
optionClass: string | unknown[] | Record<string, any>;
|
|
185
|
+
deletedOptionClass: string | unknown[] | Record<string, any>;
|
|
186
|
+
placeholderClass: string | unknown[] | Record<string, any>;
|
|
187
|
+
dropdownClass: string | unknown[] | Record<string, any>;
|
|
188
|
+
dropdownOptionClass: string | unknown[] | Record<string, any>;
|
|
189
|
+
dropdownSelectedClass: string | unknown[] | Record<string, any>;
|
|
190
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
fields: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
validator: (value: unknown) => any;
|
|
8
|
+
};
|
|
9
|
+
currentSortField: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
currentDirection: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: unknown) => boolean;
|
|
17
|
+
};
|
|
18
|
+
count: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
countLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
sortByLabel: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
sort: (...args: any[]) => void;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
fields: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
validator: (value: unknown) => any;
|
|
37
|
+
};
|
|
38
|
+
currentSortField: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
currentDirection: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
validator: (value: unknown) => boolean;
|
|
46
|
+
};
|
|
47
|
+
count: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
countLabel: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
sortByLabel: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{
|
|
60
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
currentSortField: string;
|
|
63
|
+
currentDirection: string;
|
|
64
|
+
count: number;
|
|
65
|
+
countLabel: string;
|
|
66
|
+
sortByLabel: string;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
data: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
columns: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
sortField: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
sortDirection: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
emptyState: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: () => {
|
|
27
|
+
icon: string;
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
actionText: null;
|
|
31
|
+
actionUrl: null;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
rowClasses: {
|
|
35
|
+
type: FunctionConstructor;
|
|
36
|
+
default: (item: any, index: any) => string[];
|
|
37
|
+
};
|
|
38
|
+
maxTextLength: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
isCard: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
actionsLabel: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
deletedLabel: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
+
sort: (...args: any[]) => void;
|
|
56
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
data: {
|
|
58
|
+
type: ArrayConstructor;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
columns: {
|
|
62
|
+
type: ArrayConstructor;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
sortField: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
sortDirection: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
emptyState: {
|
|
74
|
+
type: ObjectConstructor;
|
|
75
|
+
default: () => {
|
|
76
|
+
icon: string;
|
|
77
|
+
title: string;
|
|
78
|
+
description: string;
|
|
79
|
+
actionText: null;
|
|
80
|
+
actionUrl: null;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
rowClasses: {
|
|
84
|
+
type: FunctionConstructor;
|
|
85
|
+
default: (item: any, index: any) => string[];
|
|
86
|
+
};
|
|
87
|
+
maxTextLength: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
isCard: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
actionsLabel: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
deletedLabel: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
sortField: string;
|
|
107
|
+
sortDirection: string;
|
|
108
|
+
emptyState: Record<string, any>;
|
|
109
|
+
rowClasses: Function;
|
|
110
|
+
maxTextLength: number;
|
|
111
|
+
isCard: boolean;
|
|
112
|
+
actionsLabel: string;
|
|
113
|
+
deletedLabel: string;
|
|
114
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
type __VLS_Slots = {
|
|
116
|
+
[x: string]: ((props: {
|
|
117
|
+
item: unknown;
|
|
118
|
+
column: unknown;
|
|
119
|
+
index: number;
|
|
120
|
+
}) => any) | undefined;
|
|
121
|
+
} & {
|
|
122
|
+
actions?: ((props: {
|
|
123
|
+
item: unknown;
|
|
124
|
+
index: number;
|
|
125
|
+
}) => any) | undefined;
|
|
126
|
+
};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
data: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
columns: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
sortField: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
sortDirection: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
emptyState: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: () => {
|
|
27
|
+
icon: string;
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
actionText: null;
|
|
31
|
+
actionUrl: null;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
rowClasses: {
|
|
35
|
+
type: FunctionConstructor;
|
|
36
|
+
default: (item: any) => string[];
|
|
37
|
+
};
|
|
38
|
+
getErrorMessage: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: () => null;
|
|
41
|
+
};
|
|
42
|
+
search: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
searchPlaceholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
rowKey: {
|
|
51
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
isDeletedFn: {
|
|
55
|
+
type: FunctionConstructor;
|
|
56
|
+
default: (item: any) => boolean;
|
|
57
|
+
};
|
|
58
|
+
mutateRows: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
isCard: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
actionsLabel: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
deletedLabel: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
maxTextLength: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
rowEditing: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
editingRowKey: {
|
|
83
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
canEditRow: {
|
|
87
|
+
type: FunctionConstructor;
|
|
88
|
+
default: () => boolean;
|
|
89
|
+
};
|
|
90
|
+
editLabel: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
cancelLabel: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
|
+
sort: (...args: any[]) => void;
|
|
100
|
+
update: (...args: any[]) => void;
|
|
101
|
+
"update:editingRowKey": (...args: any[]) => void;
|
|
102
|
+
"edit-start": (...args: any[]) => void;
|
|
103
|
+
"edit-cancel": (...args: any[]) => void;
|
|
104
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
data: {
|
|
106
|
+
type: ArrayConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
columns: {
|
|
110
|
+
type: ArrayConstructor;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
sortField: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
sortDirection: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
emptyState: {
|
|
122
|
+
type: ObjectConstructor;
|
|
123
|
+
default: () => {
|
|
124
|
+
icon: string;
|
|
125
|
+
title: string;
|
|
126
|
+
description: string;
|
|
127
|
+
actionText: null;
|
|
128
|
+
actionUrl: null;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
rowClasses: {
|
|
132
|
+
type: FunctionConstructor;
|
|
133
|
+
default: (item: any) => string[];
|
|
134
|
+
};
|
|
135
|
+
getErrorMessage: {
|
|
136
|
+
type: FunctionConstructor;
|
|
137
|
+
default: () => null;
|
|
138
|
+
};
|
|
139
|
+
search: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
searchPlaceholder: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
rowKey: {
|
|
148
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
isDeletedFn: {
|
|
152
|
+
type: FunctionConstructor;
|
|
153
|
+
default: (item: any) => boolean;
|
|
154
|
+
};
|
|
155
|
+
mutateRows: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
isCard: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
actionsLabel: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
deletedLabel: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
maxTextLength: {
|
|
172
|
+
type: NumberConstructor;
|
|
173
|
+
default: number;
|
|
174
|
+
};
|
|
175
|
+
rowEditing: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
editingRowKey: {
|
|
180
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
183
|
+
canEditRow: {
|
|
184
|
+
type: FunctionConstructor;
|
|
185
|
+
default: () => boolean;
|
|
186
|
+
};
|
|
187
|
+
editLabel: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
cancelLabel: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
}>> & Readonly<{
|
|
196
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
197
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
198
|
+
"onUpdate:editingRowKey"?: ((...args: any[]) => any) | undefined;
|
|
199
|
+
"onEdit-start"?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
"onEdit-cancel"?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
}>, {
|
|
202
|
+
search: boolean;
|
|
203
|
+
sortField: string;
|
|
204
|
+
sortDirection: string;
|
|
205
|
+
emptyState: Record<string, any>;
|
|
206
|
+
rowClasses: Function;
|
|
207
|
+
maxTextLength: number;
|
|
208
|
+
isCard: boolean;
|
|
209
|
+
actionsLabel: string;
|
|
210
|
+
deletedLabel: string;
|
|
211
|
+
getErrorMessage: Function;
|
|
212
|
+
searchPlaceholder: string;
|
|
213
|
+
rowKey: string | Function;
|
|
214
|
+
isDeletedFn: Function;
|
|
215
|
+
mutateRows: boolean;
|
|
216
|
+
rowEditing: boolean;
|
|
217
|
+
editingRowKey: string | number | null;
|
|
218
|
+
canEditRow: Function;
|
|
219
|
+
editLabel: string;
|
|
220
|
+
cancelLabel: string;
|
|
221
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
type __VLS_Slots = {
|
|
223
|
+
[x: string]: ((props: {
|
|
224
|
+
item: any;
|
|
225
|
+
column: any;
|
|
226
|
+
index: any;
|
|
227
|
+
isEditing: boolean;
|
|
228
|
+
draft: {};
|
|
229
|
+
rowKey: any;
|
|
230
|
+
updateDraft: (field: any, value: any) => void;
|
|
231
|
+
startEdit: () => void;
|
|
232
|
+
cancelEdit: () => void;
|
|
233
|
+
}) => any) | undefined;
|
|
234
|
+
} & {
|
|
235
|
+
[x: string]: ((props: {
|
|
236
|
+
item: any;
|
|
237
|
+
column: any;
|
|
238
|
+
index: any;
|
|
239
|
+
isEditing: boolean;
|
|
240
|
+
draft: {};
|
|
241
|
+
rowKey: any;
|
|
242
|
+
updateDraft: (field: any, value: any) => void;
|
|
243
|
+
startEdit: () => void;
|
|
244
|
+
cancelEdit: () => void;
|
|
245
|
+
}) => any) | undefined;
|
|
246
|
+
} & {
|
|
247
|
+
actions?: ((props: {
|
|
248
|
+
item: any;
|
|
249
|
+
column: any;
|
|
250
|
+
index: any;
|
|
251
|
+
isEditing: boolean;
|
|
252
|
+
draft: {};
|
|
253
|
+
rowKey: any;
|
|
254
|
+
updateDraft: (field: any, value: any) => void;
|
|
255
|
+
startEdit: () => void;
|
|
256
|
+
cancelEdit: () => void;
|
|
257
|
+
}) => any) | undefined;
|
|
258
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: StringConstructor;
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
disabledClass: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
autoResize: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
focus: () => any;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
modelValue: StringConstructor;
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
disabledClass: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
autoResize: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
disabledClass: string;
|
|
40
|
+
autoResize: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|