@robuust-digital/vue-components 2.2.0-rc.0 → 2.2.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/_shared/{ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js → ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js} +1 -1
  3. package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-D1vKMJok.js → Combobox.vue_vue_type_script_setup_true_lang-CP3x2DUA.js} +3 -3
  4. package/dist/_shared/{Drawer.vue_vue_type_script_setup_true_lang-DT6tBBZ7.js → Drawer.vue_vue_type_script_setup_true_lang-CD5914Fk.js} +5 -6
  5. package/dist/_shared/{Dropdown.vue_vue_type_script_setup_true_lang-D5vTFLkq.js → Dropdown.vue_vue_type_script_setup_true_lang-CmYj-7WQ.js} +1 -1
  6. package/dist/_shared/{Lightswitch.vue_vue_type_script_setup_true_lang-CvN-2WJt.js → Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js} +8 -9
  7. package/dist/_shared/{Modal.vue_vue_type_script_setup_true_lang-DBEOIZnO.js → Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js} +4 -5
  8. package/dist/_shared/{RichTextEditor.vue_vue_type_script_setup_true_lang-Bs4WdJhA.js → RichTextEditor.vue_vue_type_script_setup_true_lang-CIVhqJtE.js} +1 -1
  9. package/dist/_shared/{Tabs.vue_vue_type_script_setup_true_lang-CsGx6wBK.js → Tabs.vue_vue_type_script_setup_true_lang-BgOTdYXd.js} +1 -1
  10. package/dist/_shared/{Toast.vue_vue_type_script_setup_true_lang-FEeRXoIx.js → Toast.vue_vue_type_script_setup_true_lang-Be3i_0zE.js} +26 -23
  11. package/dist/_shared/{icon-spinner-CmxIOqaK.js → icon-spinner-CP0VP_YM.js} +2 -2
  12. package/dist/combobox/index.js +1 -1
  13. package/dist/combobox.d.ts +132 -4
  14. package/dist/core/index.js +2 -2
  15. package/dist/core.d.ts +669 -27
  16. package/dist/dialogs/index.js +2 -2
  17. package/dist/dialogs.d.ts +226 -5
  18. package/dist/dropdown/index.js +1 -1
  19. package/dist/dropdown.d.ts +145 -4
  20. package/dist/index/index.js +9 -9
  21. package/dist/index.d.ts +1343 -8
  22. package/dist/lightswitch/index.js +1 -1
  23. package/dist/lightswitch.d.ts +39 -4
  24. package/dist/rich-text-editor/index.js +1 -1
  25. package/dist/rich-text-editor.d.ts +89 -4
  26. package/dist/toast/index.js +1 -1
  27. package/dist/toast.d.ts +66 -4
  28. package/dist/tooltip.d.ts +61 -4
  29. package/package.json +25 -28
  30. package/dist/components/Accordion.vue.d.ts +0 -37
  31. package/dist/components/Alert.vue.d.ts +0 -39
  32. package/dist/components/Badge.vue.d.ts +0 -32
  33. package/dist/components/ButtonBase.vue.d.ts +0 -50
  34. package/dist/components/Checkbox.vue.d.ts +0 -39
  35. package/dist/components/Combobox.vue.d.ts +0 -112
  36. package/dist/components/DataTable.vue.d.ts +0 -122
  37. package/dist/components/Drawer.vue.d.ts +0 -103
  38. package/dist/components/Dropdown.vue.d.ts +0 -120
  39. package/dist/components/EmptyState.vue.d.ts +0 -23
  40. package/dist/components/FormInput.vue.d.ts +0 -49
  41. package/dist/components/FormSelect.vue.d.ts +0 -58
  42. package/dist/components/FormTextarea.vue.d.ts +0 -16
  43. package/dist/components/Lightswitch.vue.d.ts +0 -26
  44. package/dist/components/Modal.vue.d.ts +0 -98
  45. package/dist/components/Pagination.vue.d.ts +0 -60
  46. package/dist/components/Radio.vue.d.ts +0 -34
  47. package/dist/components/RichTextEditor.vue.d.ts +0 -71
  48. package/dist/components/Tabs.vue.d.ts +0 -26
  49. package/dist/components/Toast.vue.d.ts +0 -46
  50. package/dist/components/Tooltip.vue.d.ts +0 -45
  51. package/dist/composables/useDialogContext.d.ts +0 -18
  52. package/dist/composables/useForm.d.ts +0 -6
  53. package/dist/types/shared.d.ts +0 -3
package/dist/core.d.ts CHANGED
@@ -1,27 +1,669 @@
1
- import { default as Accordion } from './components/Accordion.vue';
2
- import { default as Alert } from './components/Alert.vue';
3
- import { default as Badge } from './components/Badge.vue';
4
- import { default as ButtonBase } from './components/ButtonBase.vue';
5
- import { default as Checkbox } from './components/Checkbox.vue';
6
- import { default as DataTable } from './components/DataTable.vue';
7
- import { default as EmptyState } from './components/EmptyState.vue';
8
- import { default as FormInput } from './components/FormInput.vue';
9
- import { default as FormSelect } from './components/FormSelect.vue';
10
- import { default as FormTextarea } from './components/FormTextarea.vue';
11
- import { default as Pagination } from './components/Pagination.vue';
12
- import { default as Radio } from './components/Radio.vue';
13
- import { default as Tabs } from './components/Tabs.vue';
14
- export type { AccordionProps, AccordionItem } from './components/Accordion.vue';
15
- export type { AlertProps, AlertType } from './components/Alert.vue';
16
- export type { BadgeProps, BadgeColor, BadgeSize } from './components/Badge.vue';
17
- export type { ButtonProps } from './components/ButtonBase.vue';
18
- export type { CheckboxProps, CheckboxModelValue } from './components/Checkbox.vue';
19
- export type { DataTableProps, DataTableHeader, DataTableItem, DataTableSortBy, DataTablePagination, } from './components/DataTable.vue';
20
- export type { EmptyStateProps } from './components/EmptyState.vue';
21
- export type { FormInputProps, FormInputModelValue, FormInputSize } from './components/FormInput.vue';
22
- export type { FormSelectProps, FormSelectModelValue, FormSelectSize, FormSelectOption, } from './components/FormSelect.vue';
23
- export type { FormTextareaProps, FormTextareaSize } from './components/FormTextarea.vue';
24
- export type { PaginationProps, PaginationData, PaginationLink } from './components/Pagination.vue';
25
- export type { RadioProps, RadioModelValue } from './components/Radio.vue';
26
- export type { TabsProps, TabItem, TabStyle } from './components/Tabs.vue';
27
- export { Accordion, Alert, Badge, ButtonBase, Checkbox, DataTable, EmptyState, FormInput, FormSelect, FormTextarea, Pagination, Radio, Tabs, };
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { DefineComponent } from 'vue';
4
+ import { FunctionalComponent } from 'vue';
5
+ import { HTMLAttributes } from 'vue';
6
+ import { PublicProps } from 'vue';
7
+ import { SVGAttributes } from 'vue';
8
+ import { VNodeProps } from 'vue';
9
+
10
+ declare const __VLS_component: DefineComponent<AccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+
12
+ declare const __VLS_component_10: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
+ "pagination:change": (url: string) => any;
14
+ "pagination:perPage": (perPage: number) => any;
15
+ }, string, PublicProps, Readonly<PaginationProps> & Readonly<{
16
+ "onPagination:change"?: ((url: string) => any) | undefined;
17
+ "onPagination:perPage"?: ((perPage: number) => any) | undefined;
18
+ }>, {
19
+ perPage: number;
20
+ perPageLabel: string;
21
+ perPageOptions: number[];
22
+ fromLabel: string;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
+
25
+ declare const __VLS_component_11: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
26
+ "update:modelValue": (value: RadioModelValue) => any;
27
+ }, string, PublicProps, Readonly<RadioProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: RadioModelValue) => any) | undefined;
29
+ }>, {
30
+ label: string;
31
+ modelValue: RadioModelValue;
32
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
33
+ input: HTMLInputElement;
34
+ }, any>;
35
+
36
+ declare const __VLS_component_2: DefineComponent<AlertProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
37
+ "alert:close": () => any;
38
+ }, string, PublicProps, Readonly<AlertProps> & Readonly<{
39
+ "onAlert:close"?: (() => any) | undefined;
40
+ }>, {
41
+ title: string;
42
+ close: boolean;
43
+ as: string;
44
+ icon: Icon | null;
45
+ type: AlertType;
46
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
+
48
+ declare const __VLS_component_3: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
49
+ label: string;
50
+ as: string;
51
+ size: BadgeSize;
52
+ color: BadgeColor;
53
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
54
+
55
+ declare const __VLS_component_4: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
56
+ label: string;
57
+ as: string;
58
+ icon: Icon | null;
59
+ size: "sm" | "base";
60
+ color: "primary" | "secondary" | "tertiary" | "light" | "dark" | "green" | "red" | "yellow" | "blue" | "green-soft" | "red-soft" | "yellow-soft" | "blue-soft" | `custom-${string}` | "clear";
61
+ bindAs: string;
62
+ iconOnly: boolean;
63
+ iconLeft: boolean;
64
+ spinning: boolean;
65
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
66
+
67
+ declare const __VLS_component_5: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
68
+ "update:modelValue": (value: CheckboxModelValue) => any;
69
+ }, string, PublicProps, Readonly<CheckboxProps> & Readonly<{
70
+ "onUpdate:modelValue"?: ((value: CheckboxModelValue) => any) | undefined;
71
+ }>, {
72
+ label: string;
73
+ modelValue: CheckboxModelValue;
74
+ rootClass: string;
75
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
76
+ input: HTMLInputElement;
77
+ }, any>;
78
+
79
+ declare const __VLS_component_6: DefineComponent<DataTableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
80
+ "pagination:change": (value: string) => any;
81
+ "pagination:perPage": (value: number) => any;
82
+ "table:sortBy": (value: DataTableSortBy | null) => any;
83
+ }, string, PublicProps, Readonly<DataTableProps> & Readonly<{
84
+ "onPagination:change"?: ((value: string) => any) | undefined;
85
+ "onPagination:perPage"?: ((value: number) => any) | undefined;
86
+ "onTable:sortBy"?: ((value: DataTableSortBy | null) => any) | undefined;
87
+ }>, {
88
+ spinning: boolean;
89
+ pagination: DataTablePagination | null;
90
+ headers: DataTableHeader[];
91
+ noResultsText: string;
92
+ loadingText: string;
93
+ striped: boolean;
94
+ wrapperClass: string;
95
+ defaultSort: DataTableSortBy | null;
96
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
97
+
98
+ declare const __VLS_component_7: DefineComponent<EmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
99
+
100
+ declare const __VLS_component_8: DefineComponent<FormInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
101
+ "update:modelValue": (value: FormInputModelValue) => any;
102
+ }, string, PublicProps, Readonly<FormInputProps> & Readonly<{
103
+ "onUpdate:modelValue"?: ((value: FormInputModelValue) => any) | undefined;
104
+ }>, {
105
+ icon: Icon | null;
106
+ size: FormInputSize;
107
+ modelValue: string | number;
108
+ rootClass: string;
109
+ prefixIcon: Icon | null;
110
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
111
+ input: HTMLInputElement;
112
+ }, any>;
113
+
114
+ declare const __VLS_component_9: DefineComponent<FormSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
115
+ "update:modelValue": (value: FormSelectModelValue) => any;
116
+ }, string, PublicProps, Readonly<FormSelectProps> & Readonly<{
117
+ "onUpdate:modelValue"?: ((value: FormSelectModelValue) => any) | undefined;
118
+ }>, {
119
+ icon: Icon | null;
120
+ size: FormSelectSize;
121
+ modelValue: FormSelectModelValue;
122
+ rootClass: string;
123
+ prefixIcon: Icon | null;
124
+ options: FormSelectOption[];
125
+ optionLabel: string;
126
+ optionValue: string;
127
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
128
+ select: HTMLSelectElement;
129
+ }, any>;
130
+
131
+ declare function __VLS_template(): {
132
+ attrs: Partial<{}>;
133
+ slots: {
134
+ summary?(_: {
135
+ item: AccordionItem;
136
+ index: number;
137
+ }): any;
138
+ icon?(_: {
139
+ classList: string;
140
+ }): any;
141
+ content?(_: {
142
+ item: AccordionItem;
143
+ }): any;
144
+ };
145
+ refs: {};
146
+ rootEl: HTMLDivElement;
147
+ };
148
+
149
+ declare function __VLS_template_10(): {
150
+ attrs: Partial<{}>;
151
+ slots: {
152
+ perPage?(_: {
153
+ perPage: number;
154
+ total: number;
155
+ from: number;
156
+ to: number;
157
+ links: PaginationLink[];
158
+ }): any;
159
+ info?(_: {
160
+ fromLabel: string;
161
+ total: number;
162
+ from: number;
163
+ to: number;
164
+ links: PaginationLink[];
165
+ }): any;
166
+ };
167
+ refs: {};
168
+ rootEl: any;
169
+ };
170
+
171
+ declare function __VLS_template_11(): {
172
+ attrs: Partial<{}>;
173
+ slots: {
174
+ input?(_: {}): any;
175
+ default?(_: {}): any;
176
+ };
177
+ refs: {
178
+ input: HTMLInputElement;
179
+ };
180
+ rootEl: any;
181
+ };
182
+
183
+ declare function __VLS_template_2(): {
184
+ attrs: Partial<{}>;
185
+ slots: {
186
+ icon?(_: {}): any;
187
+ title?(_: {}): any;
188
+ default?(_: {}): any;
189
+ close?(_: {}): any;
190
+ };
191
+ refs: {};
192
+ rootEl: any;
193
+ };
194
+
195
+ declare function __VLS_template_3(): {
196
+ attrs: Partial<{}>;
197
+ slots: {
198
+ default?(_: {
199
+ label: string;
200
+ }): any;
201
+ };
202
+ refs: {};
203
+ rootEl: any;
204
+ };
205
+
206
+ declare function __VLS_template_4(): {
207
+ attrs: Partial<{}>;
208
+ slots: {
209
+ default?(_: {
210
+ label: string;
211
+ }): any;
212
+ default?(_: {
213
+ label: string;
214
+ }): any;
215
+ icon?(_: {
216
+ icon: Icon | null;
217
+ }): any;
218
+ spinner?(_: {
219
+ spinning: boolean;
220
+ }): any;
221
+ };
222
+ refs: {};
223
+ rootEl: any;
224
+ };
225
+
226
+ declare function __VLS_template_5(): {
227
+ attrs: Partial<{}>;
228
+ slots: {
229
+ input?(_: {}): any;
230
+ icon?(_: {}): any;
231
+ default?(_: {
232
+ label: string;
233
+ }): any;
234
+ };
235
+ refs: {
236
+ input: HTMLInputElement;
237
+ };
238
+ rootEl: any;
239
+ };
240
+
241
+ declare function __VLS_template_6(): {
242
+ attrs: Partial<{}>;
243
+ slots: {
244
+ headers?(_: {
245
+ headers: DataTableHeader[];
246
+ }): any;
247
+ header?(_: {
248
+ header: DataTableHeader;
249
+ index: number;
250
+ }): any;
251
+ 'header-label'?(_: {
252
+ sortBy: {
253
+ key: string;
254
+ direction: "asc" | "desc";
255
+ } | null;
256
+ header: DataTableHeader;
257
+ }): any;
258
+ 'header-label'?(_: {
259
+ sortBy: {
260
+ key: string;
261
+ direction: "asc" | "desc";
262
+ } | null;
263
+ header: DataTableHeader;
264
+ }): any;
265
+ items?(_: {
266
+ item: DataTableItem;
267
+ index: number;
268
+ }): any;
269
+ item?(_: {
270
+ item: DataTableItem;
271
+ index: number;
272
+ }): any;
273
+ spinner?(_: {
274
+ spinning: boolean;
275
+ label: string;
276
+ }): any;
277
+ footer?(_: {
278
+ headers: DataTableHeader[];
279
+ items: DataTableItem[];
280
+ }): any;
281
+ pagination?(_: {
282
+ [key: string]: unknown;
283
+ data: DataTableItem[];
284
+ total: number;
285
+ from: number;
286
+ to: number;
287
+ links: Array<{
288
+ url: string | null;
289
+ label: string;
290
+ active: boolean;
291
+ }>;
292
+ }): any;
293
+ };
294
+ refs: {};
295
+ rootEl: HTMLDivElement;
296
+ };
297
+
298
+ declare function __VLS_template_7(): {
299
+ attrs: Partial<{}>;
300
+ slots: {
301
+ default?(_: {}): any;
302
+ };
303
+ refs: {};
304
+ rootEl: HTMLDivElement;
305
+ };
306
+
307
+ declare function __VLS_template_8(): {
308
+ attrs: Partial<{}>;
309
+ slots: {
310
+ prefix?(_: {}): any;
311
+ prefixIcon?(_: {
312
+ icon: Icon | null;
313
+ }): any;
314
+ input?(_: {}): any;
315
+ suffix?(_: {}): any;
316
+ icon?(_: {
317
+ icon: Icon | null;
318
+ }): any;
319
+ };
320
+ refs: {
321
+ input: HTMLInputElement;
322
+ };
323
+ rootEl: any;
324
+ };
325
+
326
+ declare function __VLS_template_9(): {
327
+ attrs: Partial<{}>;
328
+ slots: {
329
+ prefixIcon?(_: {
330
+ icon: Icon;
331
+ }): any;
332
+ select?(_: {}): any;
333
+ default?(_: {}): any;
334
+ default?(_: {}): any;
335
+ icon?(_: {
336
+ icon: Icon | null;
337
+ }): any;
338
+ };
339
+ refs: {
340
+ select: HTMLSelectElement;
341
+ };
342
+ rootEl: any;
343
+ };
344
+
345
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
346
+
347
+ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
348
+
349
+ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
350
+
351
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
352
+
353
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
354
+
355
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
356
+
357
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
358
+
359
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
360
+
361
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
362
+
363
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
364
+
365
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
366
+
367
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
368
+ new (): {
369
+ $slots: S;
370
+ };
371
+ };
372
+
373
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
374
+ new (): {
375
+ $slots: S;
376
+ };
377
+ };
378
+
379
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
380
+ new (): {
381
+ $slots: S;
382
+ };
383
+ };
384
+
385
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
386
+ new (): {
387
+ $slots: S;
388
+ };
389
+ };
390
+
391
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
392
+ new (): {
393
+ $slots: S;
394
+ };
395
+ };
396
+
397
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
398
+ new (): {
399
+ $slots: S;
400
+ };
401
+ };
402
+
403
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
404
+ new (): {
405
+ $slots: S;
406
+ };
407
+ };
408
+
409
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
410
+ new (): {
411
+ $slots: S;
412
+ };
413
+ };
414
+
415
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
416
+ new (): {
417
+ $slots: S;
418
+ };
419
+ };
420
+
421
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
422
+ new (): {
423
+ $slots: S;
424
+ };
425
+ };
426
+
427
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
428
+ new (): {
429
+ $slots: S;
430
+ };
431
+ };
432
+
433
+ export declare const Accordion: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
434
+
435
+ declare interface AccordionItem {
436
+ title: string;
437
+ content: string;
438
+ [key: string]: unknown;
439
+ }
440
+
441
+ declare interface AccordionProps {
442
+ items: AccordionItem[];
443
+ name?: string;
444
+ defaultOpenIndex?: number;
445
+ contentClass?: string;
446
+ }
447
+
448
+ export declare const Alert: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
449
+
450
+ declare interface AlertProps {
451
+ as?: string;
452
+ title?: string;
453
+ icon?: Icon | null;
454
+ type?: AlertType;
455
+ close?: boolean;
456
+ }
457
+
458
+ declare type AlertType = 'success' | 'warning' | 'danger' | 'info';
459
+
460
+ export declare const Badge: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
461
+
462
+ declare type BadgeColor = 'default' | 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'violet' | 'purple' | 'pink' | `custom-${string}`;
463
+
464
+ declare interface BadgeProps {
465
+ as?: string;
466
+ label?: string;
467
+ size?: BadgeSize;
468
+ color?: BadgeColor;
469
+ }
470
+
471
+ declare type BadgeSize = 'sm' | 'base';
472
+
473
+ export declare const ButtonBase: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
474
+
475
+ declare interface ButtonProps {
476
+ as?: string;
477
+ bindAs?: string;
478
+ label?: string;
479
+ icon?: Icon | null;
480
+ iconOnly?: boolean;
481
+ iconLeft?: boolean;
482
+ size?: 'sm' | 'base';
483
+ spinning?: boolean;
484
+ color?: 'primary' | 'secondary' | 'tertiary' | 'light' | 'dark' | 'green' | 'red' | 'yellow' | 'blue' | 'green-soft' | 'red-soft' | 'yellow-soft' | 'blue-soft' | `custom-${string}` | 'clear';
485
+ }
486
+
487
+ export declare const Checkbox: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
488
+
489
+ declare type CheckboxModelValue = number | string | object | Array<unknown> | boolean | null;
490
+
491
+ declare interface CheckboxProps {
492
+ modelValue?: CheckboxModelValue;
493
+ label?: string;
494
+ rootClass?: string;
495
+ }
496
+
497
+ export declare const DataTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
498
+
499
+ declare interface DataTableHeader {
500
+ id: string | number;
501
+ label: string;
502
+ key?: string;
503
+ align?: 'left' | 'center' | 'right';
504
+ sortable?: boolean;
505
+ [key: string]: unknown;
506
+ }
507
+
508
+ declare interface DataTableItem {
509
+ id: string | number;
510
+ attrs?: Record<string, unknown>;
511
+ [key: string]: unknown;
512
+ }
513
+
514
+ declare interface DataTablePagination {
515
+ data: DataTableItem[];
516
+ total: number;
517
+ from: number;
518
+ to: number;
519
+ links: Array<{
520
+ url: string | null;
521
+ label: string;
522
+ active: boolean;
523
+ }>;
524
+ [key: string]: unknown;
525
+ }
526
+
527
+ declare interface DataTableProps {
528
+ headers?: DataTableHeader[];
529
+ items: DataTableItem[];
530
+ noResultsText?: string;
531
+ loadingText?: string;
532
+ striped?: boolean;
533
+ spinning?: boolean;
534
+ pagination?: DataTablePagination | null;
535
+ wrapperClass?: string;
536
+ defaultSort?: DataTableSortBy | null;
537
+ }
538
+
539
+ declare interface DataTableSortBy {
540
+ key: string;
541
+ direction: 'asc' | 'desc';
542
+ }
543
+
544
+ export declare const EmptyState: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
545
+
546
+ declare interface EmptyStateProps {
547
+ title: string;
548
+ background?: boolean;
549
+ icon?: Icon | null;
550
+ }
551
+
552
+ export declare const FormInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
553
+
554
+ declare type FormInputModelValue = string | number | undefined;
555
+
556
+ declare interface FormInputProps {
557
+ modelValue?: FormInputModelValue;
558
+ rootClass?: string;
559
+ prefixIcon?: Icon | null;
560
+ icon?: Icon | null;
561
+ size?: FormInputSize;
562
+ }
563
+
564
+ declare type FormInputSize = 'sm' | 'base';
565
+
566
+ export declare const FormSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
567
+
568
+ declare type FormSelectModelValue = string | number | object | boolean | null;
569
+
570
+ declare interface FormSelectOption {
571
+ [key: string]: unknown;
572
+ }
573
+
574
+ declare interface FormSelectProps {
575
+ modelValue?: FormSelectModelValue;
576
+ rootClass?: string;
577
+ prefixIcon?: Icon | null;
578
+ icon?: Icon | null;
579
+ size?: FormSelectSize;
580
+ options?: FormSelectOption[];
581
+ optionLabel?: string;
582
+ optionValue?: string;
583
+ }
584
+
585
+ declare type FormSelectSize = 'sm' | 'base';
586
+
587
+ export declare const FormTextarea: DefineComponent<FormTextareaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
588
+ "update:modelValue": (value: string) => any;
589
+ }, string, PublicProps, Readonly<FormTextareaProps> & Readonly<{
590
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
591
+ }>, {
592
+ size: FormTextareaSize;
593
+ modelValue: string;
594
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
595
+ textarea: HTMLTextAreaElement;
596
+ }, any>;
597
+
598
+ declare interface FormTextareaProps {
599
+ modelValue?: string;
600
+ size?: FormTextareaSize;
601
+ }
602
+
603
+ declare type FormTextareaSize = 'sm' | 'base';
604
+
605
+ declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
606
+
607
+ export declare const Pagination: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
608
+
609
+ declare interface PaginationData {
610
+ total: number;
611
+ from: number;
612
+ to: number;
613
+ links: PaginationLink[];
614
+ [key: string]: unknown;
615
+ }
616
+
617
+ declare interface PaginationLink {
618
+ url: string | null;
619
+ label: string;
620
+ active: boolean;
621
+ }
622
+
623
+ declare interface PaginationProps {
624
+ pagination: PaginationData;
625
+ perPage?: number;
626
+ perPageLabel?: string;
627
+ perPageOptions?: number[];
628
+ fromLabel?: string;
629
+ }
630
+
631
+ export declare const Radio: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
632
+
633
+ declare type RadioModelValue = boolean | string | Array<unknown> | object | number | null;
634
+
635
+ declare interface RadioProps {
636
+ modelValue?: RadioModelValue;
637
+ label?: string;
638
+ }
639
+
640
+ declare interface TabItem {
641
+ name: string;
642
+ active?: boolean;
643
+ as?: string;
644
+ bindAs?: string;
645
+ selectEvent?: () => void;
646
+ [key: string]: unknown;
647
+ }
648
+
649
+ export declare const Tabs: DefineComponent<TabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
650
+ "update:modelValue": (value: number) => any;
651
+ "tabs:change": (tab: TabItem) => any;
652
+ }, string, PublicProps, Readonly<TabsProps> & Readonly<{
653
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
654
+ "onTabs:change"?: ((tab: TabItem) => any) | undefined;
655
+ }>, {
656
+ modelValue: number;
657
+ tabs: TabItem[];
658
+ tabStyle: TabStyle;
659
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
660
+
661
+ declare interface TabsProps {
662
+ modelValue?: number;
663
+ tabs: TabItem[];
664
+ tabStyle?: TabStyle;
665
+ }
666
+
667
+ declare type TabStyle = 'buttons' | 'default';
668
+
669
+ export { }
@@ -1,5 +1,5 @@
1
- import { _ as a } from "../_shared/Drawer.vue_vue_type_script_setup_true_lang-DT6tBBZ7.js";
2
- import { _ as f } from "../_shared/Modal.vue_vue_type_script_setup_true_lang-DBEOIZnO.js";
1
+ import { _ as a } from "../_shared/Drawer.vue_vue_type_script_setup_true_lang-CD5914Fk.js";
2
+ import { _ as f } from "../_shared/Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js";
3
3
  export {
4
4
  a as Drawer,
5
5
  f as Modal