@velkymx/vibeui 0.2.0 → 0.4.0
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 +592 -1
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/HelloWorld.vue.d.ts +5 -0
- package/dist/components/VibeAccordion.vue.d.ts +51 -0
- package/dist/components/VibeAccordionItem.vue.d.ts +57 -0
- package/dist/components/VibeAlert.vue.d.ts +61 -0
- package/dist/components/VibeBadge.vue.d.ts +52 -0
- package/dist/components/VibeBreadcrumb.vue.d.ts +43 -0
- package/dist/components/VibeBreadcrumbItem.vue.d.ts +51 -0
- package/dist/components/VibeButton.vue.d.ts +99 -0
- package/dist/components/VibeButtonGroup.vue.d.ts +61 -0
- package/dist/components/VibeCard.vue.d.ts +126 -0
- package/dist/components/VibeCardBody.vue.d.ts +34 -0
- package/dist/components/VibeCardFooter.vue.d.ts +34 -0
- package/dist/components/VibeCardHeader.vue.d.ts +34 -0
- package/dist/components/VibeCardImg.vue.d.ts +44 -0
- package/dist/components/VibeCardText.vue.d.ts +33 -0
- package/dist/components/VibeCardTitle.vue.d.ts +33 -0
- package/dist/components/VibeCarousel.vue.d.ts +137 -0
- package/dist/components/VibeCarouselSlide.vue.d.ts +80 -0
- package/dist/components/VibeCloseButton.vue.d.ts +38 -0
- package/dist/components/VibeCol.vue.d.ts +206 -0
- package/dist/components/VibeCollapse.vue.d.ts +70 -0
- package/dist/components/VibeContainer.vue.d.ts +44 -0
- package/dist/components/VibeDataTable.vue.d.ts +261 -0
- package/dist/components/VibeDropdown.vue.d.ts +96 -0
- package/dist/components/VibeDropdownItem.vue.d.ts +81 -0
- package/dist/components/VibeFormCheckbox.vue.d.ts +134 -0
- package/dist/components/VibeFormDatepicker.vue.d.ts +154 -0
- package/dist/components/VibeFormGroup.vue.d.ts +112 -0
- package/dist/components/VibeFormInput.vue.d.ts +154 -0
- package/dist/components/VibeFormRadio.vue.d.ts +132 -0
- package/dist/components/VibeFormSelect.vue.d.ts +167 -0
- package/dist/components/VibeFormSpinbutton.vue.d.ts +176 -0
- package/dist/components/VibeFormSwitch.vue.d.ts +107 -0
- package/dist/components/VibeFormTextarea.vue.d.ts +163 -0
- package/dist/components/VibeFormWysiwyg.vue.d.ts +156 -0
- package/dist/components/VibeIcon.vue.d.ts +83 -0
- package/dist/components/VibeListGroup.vue.d.ts +63 -0
- package/dist/components/VibeListGroupItem.vue.d.ts +90 -0
- package/dist/components/VibeModal.vue.d.ts +126 -0
- package/dist/components/VibeNav.vue.d.ts +81 -0
- package/dist/components/VibeNavItem.vue.d.ts +80 -0
- package/dist/components/VibeNavbar.vue.d.ts +71 -0
- package/dist/components/VibeNavbarBrand.vue.d.ts +42 -0
- package/dist/components/VibeNavbarNav.vue.d.ts +36 -0
- package/dist/components/VibeNavbarToggle.vue.d.ts +26 -0
- package/dist/components/VibeOffcanvas.vue.d.ts +89 -0
- package/dist/components/VibePagination.vue.d.ts +72 -0
- package/dist/components/VibePaginationItem.vue.d.ts +62 -0
- package/dist/components/VibePlaceholder.vue.d.ts +70 -0
- package/dist/components/VibePopover.vue.d.ts +69 -0
- package/dist/components/VibeProgress.vue.d.ts +33 -0
- package/dist/components/VibeProgressBar.vue.d.ts +88 -0
- package/dist/components/VibeRow.vue.d.ts +269 -0
- package/dist/components/VibeScrollspy.vue.d.ts +71 -0
- package/dist/components/VibeSpinner.vue.d.ts +55 -0
- package/dist/components/VibeTabContent.vue.d.ts +44 -0
- package/dist/components/VibeTabPane.vue.d.ts +70 -0
- package/dist/components/VibeToast.vue.d.ts +90 -0
- package/dist/components/VibeTooltip.vue.d.ts +60 -0
- package/dist/components/index.d.ts +63 -0
- package/dist/composables/useFormValidation.d.ts +26 -0
- package/dist/index.d.ts +3 -0
- package/dist/main.d.ts +0 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types.d.ts +100 -0
- package/dist/vibeui.css +1 -1
- package/dist/vibeui.es.js +1936 -704
- package/dist/vibeui.umd.js +1 -1
- package/package.json +14 -4
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { DataTableColumn } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Partial<Record<`cell(${string})`, (_: {
|
|
5
|
+
item: any;
|
|
6
|
+
value: any;
|
|
7
|
+
index: number;
|
|
8
|
+
}) => any>>;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
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
|
+
export default _default;
|
|
257
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
258
|
+
new (): {
|
|
259
|
+
$slots: S;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Variant, Size, Direction, DropdownItem } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
id: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
text: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
type: () => Variant;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: () => Size;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
split: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
direction: {
|
|
33
|
+
type: () => Direction;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
menuEnd: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
items: {
|
|
41
|
+
type: () => DropdownItem[];
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"component-error": (...args: any[]) => void;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
id: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
text: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
variant: {
|
|
56
|
+
type: () => Variant;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
size: {
|
|
60
|
+
type: () => Size;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
split: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
direction: {
|
|
68
|
+
type: () => Direction;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
menuEnd: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
items: {
|
|
76
|
+
type: () => DropdownItem[];
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
}>> & Readonly<{
|
|
80
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
variant: Variant;
|
|
83
|
+
text: string;
|
|
84
|
+
size: Size;
|
|
85
|
+
items: DropdownItem[];
|
|
86
|
+
split: boolean;
|
|
87
|
+
direction: Direction;
|
|
88
|
+
menuEnd: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
90
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
active: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
href: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
to: {
|
|
25
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
divider: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
header: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
"component-error": (...args: any[]) => void;
|
|
38
|
+
click: (...args: any[]) => void;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
active: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
href: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
to: {
|
|
53
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
divider: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
header: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{
|
|
65
|
+
"onComponent-error"?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
header: boolean;
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
href: string;
|
|
71
|
+
to: string | Record<string, any>;
|
|
72
|
+
active: boolean;
|
|
73
|
+
divider: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
78
|
+
new (): {
|
|
79
|
+
$slots: S;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: (BooleanConstructor | ArrayConstructor)[];
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
required: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
inline: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
validationState: {
|
|
32
|
+
type: () => ValidationState;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
validationMessage: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
validationRules: {
|
|
40
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
validateOn: {
|
|
44
|
+
type: () => "change" | "blur";
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
helpText: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
indeterminate: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:modelValue": (...args: any[]) => void;
|
|
57
|
+
blur: (...args: any[]) => void;
|
|
58
|
+
change: (...args: any[]) => void;
|
|
59
|
+
focus: (...args: any[]) => void;
|
|
60
|
+
validate: (...args: any[]) => void;
|
|
61
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
modelValue: {
|
|
63
|
+
type: (BooleanConstructor | ArrayConstructor)[];
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
id: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
value: {
|
|
75
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
disabled: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
required: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
inline: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
validationState: {
|
|
91
|
+
type: () => ValidationState;
|
|
92
|
+
default: null;
|
|
93
|
+
};
|
|
94
|
+
validationMessage: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
validationRules: {
|
|
99
|
+
type: () => ValidationRule[] | ValidatorFunction | undefined;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
validateOn: {
|
|
103
|
+
type: () => "change" | "blur";
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
helpText: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
indeterminate: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{
|
|
115
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
}>, {
|
|
121
|
+
modelValue: boolean | unknown[];
|
|
122
|
+
required: boolean;
|
|
123
|
+
label: string;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
value: string | number | boolean;
|
|
126
|
+
validationState: ValidationState;
|
|
127
|
+
validationMessage: string;
|
|
128
|
+
validationRules: ValidatorFunction | ValidationRule[] | undefined;
|
|
129
|
+
validateOn: "blur" | "change";
|
|
130
|
+
helpText: string;
|
|
131
|
+
inline: boolean;
|
|
132
|
+
indeterminate: boolean;
|
|
133
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
134
|
+
export default _default;
|