@velkymx/vibeui 0.4.2 → 0.5.1
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 +96 -78
- package/dist/components/VibeAccordion.vue.d.ts +12 -4
- package/dist/components/VibeBreadcrumb.vue.d.ts +8 -4
- package/dist/components/VibeCard.vue.d.ts +32 -21
- package/dist/components/VibeCarousel.vue.d.ts +7 -6
- package/dist/components/VibeDataTable.vue.d.ts +68 -255
- package/dist/components/VibeDropdown.vue.d.ts +13 -4
- package/dist/components/VibeFormCheckbox.vue.d.ts +4 -3
- package/dist/components/VibeFormDatepicker.vue.d.ts +5 -4
- package/dist/components/VibeFormInput.vue.d.ts +14 -15
- package/dist/components/VibeFormRadio.vue.d.ts +4 -3
- package/dist/components/VibeFormSelect.vue.d.ts +4 -3
- package/dist/components/VibeFormSpinbutton.vue.d.ts +5 -4
- package/dist/components/VibeFormSwitch.vue.d.ts +4 -3
- package/dist/components/VibeFormTextarea.vue.d.ts +4 -3
- package/dist/components/VibeFormWysiwyg.vue.d.ts +12 -13
- package/dist/components/VibeListGroup.vue.d.ts +15 -4
- package/dist/components/VibeModal.vue.d.ts +6 -2
- package/dist/components/VibeNav.vue.d.ts +15 -4
- package/dist/components/VibeNavbarNav.vue.d.ts +14 -1
- package/dist/components/VibePagination.vue.d.ts +32 -4
- package/dist/components/VibeProgress.vue.d.ts +13 -1
- package/dist/components/VibeTabContent.vue.d.ts +22 -2
- package/dist/components/VibeToast.vue.d.ts +6 -2
- package/dist/components/index.d.ts +4 -20
- package/dist/composables/useFormValidation.d.ts +10 -8
- package/dist/types.d.ts +16 -0
- package/dist/vibeui.css +1 -1
- package/dist/vibeui.es.js +1477 -1627
- package/dist/vibeui.umd.js +1 -1
- package/package.json +10 -1
- package/dist/components/VibeAccordionItem.vue.d.ts +0 -57
- package/dist/components/VibeBreadcrumbItem.vue.d.ts +0 -51
- package/dist/components/VibeCardBody.vue.d.ts +0 -34
- package/dist/components/VibeCardFooter.vue.d.ts +0 -34
- package/dist/components/VibeCardHeader.vue.d.ts +0 -34
- package/dist/components/VibeCardImg.vue.d.ts +0 -44
- package/dist/components/VibeCardText.vue.d.ts +0 -33
- package/dist/components/VibeCardTitle.vue.d.ts +0 -33
- package/dist/components/VibeCarouselSlide.vue.d.ts +0 -80
- package/dist/components/VibeDropdownItem.vue.d.ts +0 -81
- package/dist/components/VibeListGroupItem.vue.d.ts +0 -90
- package/dist/components/VibeNavItem.vue.d.ts +0 -80
- package/dist/components/VibePaginationItem.vue.d.ts +0 -62
- package/dist/components/VibeProgressBar.vue.d.ts +0 -88
- package/dist/components/VibeTabPane.vue.d.ts +0 -70
|
@@ -1,261 +1,74 @@
|
|
|
1
1
|
import { DataTableColumn } from '../types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
2
|
+
declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
4
|
+
variant: string;
|
|
5
|
+
small: boolean;
|
|
6
|
+
items: T[];
|
|
7
|
+
hover: boolean;
|
|
8
|
+
rowKey: string;
|
|
9
|
+
striped: boolean;
|
|
10
|
+
bordered: boolean;
|
|
11
|
+
borderless: boolean;
|
|
12
|
+
responsive: boolean;
|
|
13
|
+
searchable: boolean;
|
|
14
|
+
sortable: boolean;
|
|
15
|
+
paginated: boolean;
|
|
16
|
+
searchPlaceholder: string;
|
|
17
|
+
searchDebounce: number;
|
|
18
|
+
showEmpty: boolean;
|
|
19
|
+
emptyText: string;
|
|
20
|
+
showPerPage: boolean;
|
|
21
|
+
showInfo: boolean;
|
|
22
|
+
infoText: string;
|
|
23
|
+
filteredInfoText: string;
|
|
24
|
+
perPageOptions: number[];
|
|
25
|
+
}> & Omit<{
|
|
26
|
+
readonly small: boolean;
|
|
27
|
+
readonly items: T[];
|
|
28
|
+
readonly hover: boolean;
|
|
29
|
+
readonly columns: DataTableColumn[];
|
|
30
|
+
readonly rowKey: string;
|
|
31
|
+
readonly striped: boolean;
|
|
32
|
+
readonly bordered: boolean;
|
|
33
|
+
readonly borderless: boolean;
|
|
34
|
+
readonly responsive: boolean;
|
|
35
|
+
readonly searchable: boolean;
|
|
36
|
+
readonly sortable: boolean;
|
|
37
|
+
readonly paginated: boolean;
|
|
38
|
+
readonly searchPlaceholder: string;
|
|
39
|
+
readonly searchDebounce: number;
|
|
40
|
+
readonly showEmpty: boolean;
|
|
41
|
+
readonly emptyText: string;
|
|
42
|
+
readonly showPerPage: boolean;
|
|
43
|
+
readonly showInfo: boolean;
|
|
44
|
+
readonly infoText: string;
|
|
45
|
+
readonly filteredInfoText: string;
|
|
46
|
+
readonly perPageOptions: number[];
|
|
47
|
+
readonly variant?: string | undefined;
|
|
48
|
+
readonly "onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
readonly "onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
50
|
+
readonly "onUpdate:perPage"?: ((value: number) => any) | undefined;
|
|
51
|
+
readonly "onUpdate:sortBy"?: ((value: string | undefined) => any) | undefined;
|
|
52
|
+
readonly "onUpdate:sortDesc"?: ((value: boolean) => any) | undefined;
|
|
53
|
+
readonly "onRow-clicked"?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "variant" | "small" | "items" | "hover" | "rowKey" | "striped" | "bordered" | "borderless" | "responsive" | "searchable" | "sortable" | "paginated" | "searchPlaceholder" | "searchDebounce" | "showEmpty" | "emptyText" | "showPerPage" | "showInfo" | "infoText" | "filteredInfoText" | "perPageOptions">, "onComponent-error" | "onUpdate:currentPage" | "columns" | "onUpdate:perPage" | "onUpdate:sortBy" | "onUpdate:sortDesc" | "onRow-clicked" | ("variant" | "small" | "items" | "hover" | "rowKey" | "striped" | "bordered" | "borderless" | "responsive" | "searchable" | "sortable" | "paginated" | "searchPlaceholder" | "searchDebounce" | "showEmpty" | "emptyText" | "showPerPage" | "showInfo" | "infoText" | "filteredInfoText" | "perPageOptions")> & {
|
|
55
|
+
currentPage?: number;
|
|
56
|
+
perPage?: number;
|
|
57
|
+
sortBy?: string | undefined;
|
|
58
|
+
sortDesc?: boolean;
|
|
59
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
60
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
61
|
+
attrs: any;
|
|
4
62
|
slots: Partial<Record<`cell(${string})`, (_: {
|
|
5
|
-
item:
|
|
6
|
-
value:
|
|
63
|
+
item: T;
|
|
64
|
+
value: unknown;
|
|
7
65
|
index: number;
|
|
8
66
|
}) => any>>;
|
|
9
|
-
|
|
10
|
-
|
|
67
|
+
emit: ((event: "component-error" | "row-clicked", ...args: any[]) => void) & (((evt: "update:currentPage", value: number) => void) & ((evt: "update:perPage", value: number) => void) & ((evt: "update:sortBy", value: string | undefined) => void) & ((evt: "update:sortDesc", value: boolean) => void));
|
|
68
|
+
}>) => import('vue').VNode & {
|
|
69
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
11
70
|
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
-
items: {
|
|
15
|
-
type: () => any[];
|
|
16
|
-
default: () => never[];
|
|
17
|
-
};
|
|
18
|
-
columns: {
|
|
19
|
-
type: () => DataTableColumn[];
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
striped: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
bordered: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
borderless: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
hover: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
small: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
responsive: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
variant: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
searchable: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
sortable: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
paginated: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
searchPlaceholder: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
searchDebounce: {
|
|
67
|
-
type: NumberConstructor;
|
|
68
|
-
default: number;
|
|
69
|
-
};
|
|
70
|
-
perPage: {
|
|
71
|
-
type: NumberConstructor;
|
|
72
|
-
default: number;
|
|
73
|
-
};
|
|
74
|
-
currentPage: {
|
|
75
|
-
type: NumberConstructor;
|
|
76
|
-
default: number;
|
|
77
|
-
};
|
|
78
|
-
perPageOptions: {
|
|
79
|
-
type: () => number[];
|
|
80
|
-
default: () => number[];
|
|
81
|
-
};
|
|
82
|
-
sortBy: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: undefined;
|
|
85
|
-
};
|
|
86
|
-
sortDesc: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
|
-
showEmpty: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
emptyText: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
showPerPage: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
showInfo: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
infoText: {
|
|
107
|
-
type: StringConstructor;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
filteredInfoText: {
|
|
111
|
-
type: StringConstructor;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
115
|
-
"component-error": (...args: any[]) => void;
|
|
116
|
-
"update:currentPage": (...args: any[]) => void;
|
|
117
|
-
"update:perPage": (...args: any[]) => void;
|
|
118
|
-
"update:sortBy": (...args: any[]) => void;
|
|
119
|
-
"update:sortDesc": (...args: any[]) => void;
|
|
120
|
-
"row-clicked": (...args: any[]) => void;
|
|
121
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
122
|
-
items: {
|
|
123
|
-
type: () => any[];
|
|
124
|
-
default: () => never[];
|
|
125
|
-
};
|
|
126
|
-
columns: {
|
|
127
|
-
type: () => DataTableColumn[];
|
|
128
|
-
required: true;
|
|
129
|
-
};
|
|
130
|
-
striped: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
default: boolean;
|
|
133
|
-
};
|
|
134
|
-
bordered: {
|
|
135
|
-
type: BooleanConstructor;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
borderless: {
|
|
139
|
-
type: BooleanConstructor;
|
|
140
|
-
default: boolean;
|
|
141
|
-
};
|
|
142
|
-
hover: {
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
default: boolean;
|
|
145
|
-
};
|
|
146
|
-
small: {
|
|
147
|
-
type: BooleanConstructor;
|
|
148
|
-
default: boolean;
|
|
149
|
-
};
|
|
150
|
-
responsive: {
|
|
151
|
-
type: BooleanConstructor;
|
|
152
|
-
default: boolean;
|
|
153
|
-
};
|
|
154
|
-
variant: {
|
|
155
|
-
type: StringConstructor;
|
|
156
|
-
default: undefined;
|
|
157
|
-
};
|
|
158
|
-
searchable: {
|
|
159
|
-
type: BooleanConstructor;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
sortable: {
|
|
163
|
-
type: BooleanConstructor;
|
|
164
|
-
default: boolean;
|
|
165
|
-
};
|
|
166
|
-
paginated: {
|
|
167
|
-
type: BooleanConstructor;
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
|
-
searchPlaceholder: {
|
|
171
|
-
type: StringConstructor;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
searchDebounce: {
|
|
175
|
-
type: NumberConstructor;
|
|
176
|
-
default: number;
|
|
177
|
-
};
|
|
178
|
-
perPage: {
|
|
179
|
-
type: NumberConstructor;
|
|
180
|
-
default: number;
|
|
181
|
-
};
|
|
182
|
-
currentPage: {
|
|
183
|
-
type: NumberConstructor;
|
|
184
|
-
default: number;
|
|
185
|
-
};
|
|
186
|
-
perPageOptions: {
|
|
187
|
-
type: () => number[];
|
|
188
|
-
default: () => number[];
|
|
189
|
-
};
|
|
190
|
-
sortBy: {
|
|
191
|
-
type: StringConstructor;
|
|
192
|
-
default: undefined;
|
|
193
|
-
};
|
|
194
|
-
sortDesc: {
|
|
195
|
-
type: BooleanConstructor;
|
|
196
|
-
default: boolean;
|
|
197
|
-
};
|
|
198
|
-
showEmpty: {
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
emptyText: {
|
|
203
|
-
type: StringConstructor;
|
|
204
|
-
default: string;
|
|
205
|
-
};
|
|
206
|
-
showPerPage: {
|
|
207
|
-
type: BooleanConstructor;
|
|
208
|
-
default: boolean;
|
|
209
|
-
};
|
|
210
|
-
showInfo: {
|
|
211
|
-
type: BooleanConstructor;
|
|
212
|
-
default: boolean;
|
|
213
|
-
};
|
|
214
|
-
infoText: {
|
|
215
|
-
type: StringConstructor;
|
|
216
|
-
default: string;
|
|
217
|
-
};
|
|
218
|
-
filteredInfoText: {
|
|
219
|
-
type: StringConstructor;
|
|
220
|
-
default: string;
|
|
221
|
-
};
|
|
222
|
-
}>> & Readonly<{
|
|
223
|
-
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
224
|
-
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
225
|
-
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
226
|
-
"onUpdate:sortBy"?: ((...args: any[]) => any) | undefined;
|
|
227
|
-
"onUpdate:sortDesc"?: ((...args: any[]) => any) | undefined;
|
|
228
|
-
"onRow-clicked"?: ((...args: any[]) => any) | undefined;
|
|
229
|
-
}>, {
|
|
230
|
-
variant: string;
|
|
231
|
-
small: boolean;
|
|
232
|
-
items: any[];
|
|
233
|
-
currentPage: number;
|
|
234
|
-
striped: boolean;
|
|
235
|
-
hover: boolean;
|
|
236
|
-
bordered: boolean;
|
|
237
|
-
borderless: boolean;
|
|
238
|
-
responsive: boolean;
|
|
239
|
-
searchable: boolean;
|
|
240
|
-
sortable: boolean;
|
|
241
|
-
paginated: boolean;
|
|
242
|
-
searchPlaceholder: string;
|
|
243
|
-
searchDebounce: number;
|
|
244
|
-
perPage: number;
|
|
245
|
-
perPageOptions: number[];
|
|
246
|
-
sortBy: string;
|
|
247
|
-
sortDesc: boolean;
|
|
248
|
-
showEmpty: boolean;
|
|
249
|
-
emptyText: string;
|
|
250
|
-
showPerPage: boolean;
|
|
251
|
-
showInfo: boolean;
|
|
252
|
-
infoText: string;
|
|
253
|
-
filteredInfoText: string;
|
|
254
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
255
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
256
71
|
export default _default;
|
|
257
|
-
type
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
};
|
|
261
|
-
};
|
|
72
|
+
type __VLS_PrettifyLocal<T> = {
|
|
73
|
+
[K in keyof T]: T[K];
|
|
74
|
+
} & {};
|
|
@@ -2,7 +2,15 @@ import { Variant, Size, Direction, DropdownItem } from '../types';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
-
|
|
5
|
+
button?(_: {}): any;
|
|
6
|
+
header?(_: {
|
|
7
|
+
item: DropdownItem;
|
|
8
|
+
index: number;
|
|
9
|
+
}): any;
|
|
10
|
+
item?(_: {
|
|
11
|
+
item: DropdownItem;
|
|
12
|
+
index: number;
|
|
13
|
+
}): any;
|
|
6
14
|
};
|
|
7
15
|
refs: {};
|
|
8
16
|
rootEl: HTMLDivElement;
|
|
@@ -39,10 +47,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
39
47
|
};
|
|
40
48
|
items: {
|
|
41
49
|
type: () => DropdownItem[];
|
|
42
|
-
|
|
50
|
+
required: true;
|
|
43
51
|
};
|
|
44
52
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
53
|
"component-error": (...args: any[]) => void;
|
|
54
|
+
"item-click": (...args: any[]) => void;
|
|
46
55
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
56
|
id: {
|
|
48
57
|
type: StringConstructor;
|
|
@@ -74,15 +83,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
74
83
|
};
|
|
75
84
|
items: {
|
|
76
85
|
type: () => DropdownItem[];
|
|
77
|
-
|
|
86
|
+
required: true;
|
|
78
87
|
};
|
|
79
88
|
}>> & Readonly<{
|
|
80
89
|
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
81
91
|
}>, {
|
|
82
92
|
variant: Variant;
|
|
83
93
|
text: string;
|
|
84
94
|
size: Size;
|
|
85
|
-
items: DropdownItem[];
|
|
86
95
|
split: boolean;
|
|
87
96
|
direction: Direction;
|
|
88
97
|
menuEnd: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
@@ -38,7 +39,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
38
39
|
default: undefined;
|
|
39
40
|
};
|
|
40
41
|
validationRules: {
|
|
41
|
-
type:
|
|
42
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
42
43
|
default: undefined;
|
|
43
44
|
};
|
|
44
45
|
validateOn: {
|
|
@@ -98,7 +99,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
98
99
|
default: undefined;
|
|
99
100
|
};
|
|
100
101
|
validationRules: {
|
|
101
|
-
type:
|
|
102
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
102
103
|
default: undefined;
|
|
103
104
|
};
|
|
104
105
|
validateOn: {
|
|
@@ -127,7 +128,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
127
128
|
value: string | number | boolean;
|
|
128
129
|
validationState: ValidationState;
|
|
129
130
|
validationMessage: string;
|
|
130
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
131
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
131
132
|
validateOn: "blur" | "change";
|
|
132
133
|
helpText: string;
|
|
133
134
|
inline: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
@@ -46,7 +47,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
47
|
default: undefined;
|
|
47
48
|
};
|
|
48
49
|
validationRules: {
|
|
49
|
-
type:
|
|
50
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
50
51
|
default: undefined;
|
|
51
52
|
};
|
|
52
53
|
validateOn: {
|
|
@@ -115,7 +116,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
115
116
|
default: undefined;
|
|
116
117
|
};
|
|
117
118
|
validationRules: {
|
|
118
|
-
type:
|
|
119
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
119
120
|
default: undefined;
|
|
120
121
|
};
|
|
121
122
|
validateOn: {
|
|
@@ -144,13 +145,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
144
145
|
label: string;
|
|
145
146
|
size: Size;
|
|
146
147
|
disabled: boolean;
|
|
147
|
-
max: string;
|
|
148
148
|
readonly: boolean;
|
|
149
149
|
validationState: ValidationState;
|
|
150
150
|
validationMessage: string;
|
|
151
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
151
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
152
152
|
validateOn: "blur" | "change" | "input";
|
|
153
153
|
helpText: string;
|
|
154
154
|
min: string;
|
|
155
|
+
max: string;
|
|
155
156
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
156
157
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { InputType, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
4
|
-
type:
|
|
5
|
+
type: PropType<string | number>;
|
|
5
6
|
default: string;
|
|
6
|
-
validator: (value: any) => boolean;
|
|
7
7
|
};
|
|
8
8
|
type: {
|
|
9
|
-
type:
|
|
9
|
+
type: PropType<InputType>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
id: {
|
|
@@ -34,11 +34,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
size: {
|
|
37
|
-
type:
|
|
37
|
+
type: PropType<Size>;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
40
|
validationState: {
|
|
41
|
-
type:
|
|
41
|
+
type: PropType<ValidationState>;
|
|
42
42
|
default: null;
|
|
43
43
|
};
|
|
44
44
|
validationMessage: {
|
|
@@ -46,11 +46,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
46
|
default: undefined;
|
|
47
47
|
};
|
|
48
48
|
validationRules: {
|
|
49
|
-
type:
|
|
49
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
validateOn: {
|
|
53
|
-
type:
|
|
53
|
+
type: PropType<"input" | "blur" | "change">;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
helpText: {
|
|
@@ -70,12 +70,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
70
|
validate: (...args: any[]) => void;
|
|
71
71
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
72
|
modelValue: {
|
|
73
|
-
type:
|
|
73
|
+
type: PropType<string | number>;
|
|
74
74
|
default: string;
|
|
75
|
-
validator: (value: any) => boolean;
|
|
76
75
|
};
|
|
77
76
|
type: {
|
|
78
|
-
type:
|
|
77
|
+
type: PropType<InputType>;
|
|
79
78
|
default: string;
|
|
80
79
|
};
|
|
81
80
|
id: {
|
|
@@ -103,11 +102,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
103
102
|
default: boolean;
|
|
104
103
|
};
|
|
105
104
|
size: {
|
|
106
|
-
type:
|
|
105
|
+
type: PropType<Size>;
|
|
107
106
|
default: undefined;
|
|
108
107
|
};
|
|
109
108
|
validationState: {
|
|
110
|
-
type:
|
|
109
|
+
type: PropType<ValidationState>;
|
|
111
110
|
default: null;
|
|
112
111
|
};
|
|
113
112
|
validationMessage: {
|
|
@@ -115,11 +114,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
115
114
|
default: undefined;
|
|
116
115
|
};
|
|
117
116
|
validationRules: {
|
|
118
|
-
type:
|
|
117
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
119
118
|
default: undefined;
|
|
120
119
|
};
|
|
121
120
|
validateOn: {
|
|
122
|
-
type:
|
|
121
|
+
type: PropType<"input" | "blur" | "change">;
|
|
123
122
|
default: string;
|
|
124
123
|
};
|
|
125
124
|
helpText: {
|
|
@@ -148,7 +147,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
148
147
|
readonly: boolean;
|
|
149
148
|
validationState: ValidationState;
|
|
150
149
|
validationMessage: string;
|
|
151
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
150
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
152
151
|
validateOn: "blur" | "change" | "input";
|
|
153
152
|
helpText: string;
|
|
154
153
|
plaintext: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
@@ -42,7 +43,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
43
|
default: undefined;
|
|
43
44
|
};
|
|
44
45
|
validationRules: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
46
47
|
default: undefined;
|
|
47
48
|
};
|
|
48
49
|
validateOn: {
|
|
@@ -102,7 +103,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
102
103
|
default: undefined;
|
|
103
104
|
};
|
|
104
105
|
validationRules: {
|
|
105
|
-
type:
|
|
106
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
106
107
|
default: undefined;
|
|
107
108
|
};
|
|
108
109
|
validateOn: {
|
|
@@ -126,7 +127,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
126
127
|
disabled: boolean;
|
|
127
128
|
validationState: ValidationState;
|
|
128
129
|
validationMessage: string;
|
|
129
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
130
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
130
131
|
validateOn: "blur" | "change";
|
|
131
132
|
helpText: string;
|
|
132
133
|
inline: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction, Size, FormSelectOption } from '../types';
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
4
|
attrs: Partial<{}>;
|
|
@@ -55,7 +56,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
55
56
|
default: undefined;
|
|
56
57
|
};
|
|
57
58
|
validationRules: {
|
|
58
|
-
type:
|
|
59
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
59
60
|
default: undefined;
|
|
60
61
|
};
|
|
61
62
|
validateOn: {
|
|
@@ -123,7 +124,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
123
124
|
default: undefined;
|
|
124
125
|
};
|
|
125
126
|
validationRules: {
|
|
126
|
-
type:
|
|
127
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
127
128
|
default: undefined;
|
|
128
129
|
};
|
|
129
130
|
validateOn: {
|
|
@@ -153,7 +154,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
153
154
|
placeholder: string;
|
|
154
155
|
validationState: ValidationState;
|
|
155
156
|
validationMessage: string;
|
|
156
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
157
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
157
158
|
validateOn: "blur" | "change";
|
|
158
159
|
helpText: string;
|
|
159
160
|
options: FormSelectOption[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
@@ -50,7 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
50
51
|
default: undefined;
|
|
51
52
|
};
|
|
52
53
|
validationRules: {
|
|
53
|
-
type:
|
|
54
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
54
55
|
default: undefined;
|
|
55
56
|
};
|
|
56
57
|
validateOn: {
|
|
@@ -129,7 +130,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
129
130
|
default: undefined;
|
|
130
131
|
};
|
|
131
132
|
validationRules: {
|
|
132
|
-
type:
|
|
133
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
133
134
|
default: undefined;
|
|
134
135
|
};
|
|
135
136
|
validateOn: {
|
|
@@ -165,14 +166,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
165
166
|
disabled: boolean;
|
|
166
167
|
vertical: boolean;
|
|
167
168
|
step: number;
|
|
168
|
-
max: number;
|
|
169
169
|
wrap: boolean;
|
|
170
170
|
readonly: boolean;
|
|
171
171
|
validationState: ValidationState;
|
|
172
172
|
validationMessage: string;
|
|
173
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
173
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
174
174
|
validateOn: "blur" | "change" | "input";
|
|
175
175
|
helpText: string;
|
|
176
176
|
min: number;
|
|
177
|
+
max: number;
|
|
177
178
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
178
179
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
@@ -30,7 +31,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
31
|
default: undefined;
|
|
31
32
|
};
|
|
32
33
|
validationRules: {
|
|
33
|
-
type:
|
|
34
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
34
35
|
default: undefined;
|
|
35
36
|
};
|
|
36
37
|
validateOn: {
|
|
@@ -78,7 +79,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
78
79
|
default: undefined;
|
|
79
80
|
};
|
|
80
81
|
validationRules: {
|
|
81
|
-
type:
|
|
82
|
+
type: PropType<ValidationRule[] | ValidatorFunction>;
|
|
82
83
|
default: undefined;
|
|
83
84
|
};
|
|
84
85
|
validateOn: {
|
|
@@ -102,7 +103,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
102
103
|
disabled: boolean;
|
|
103
104
|
validationState: ValidationState;
|
|
104
105
|
validationMessage: string;
|
|
105
|
-
validationRules: ValidatorFunction | ValidationRule[]
|
|
106
|
+
validationRules: ValidatorFunction | ValidationRule[];
|
|
106
107
|
validateOn: "blur" | "change";
|
|
107
108
|
helpText: string;
|
|
108
109
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|