@mozaic-ds/vue 1.0.0-beta.7 → 1.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.d.ts +298 -115
- package/dist/mozaic-vue.js +860 -531
- package/dist/mozaic-vue.js.map +1 -1
- package/dist/mozaic-vue.umd.cjs +1 -1
- package/dist/mozaic-vue.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/src/components/divider/MDivider.spec.ts +57 -0
- package/src/components/divider/MDivider.stories.ts +64 -0
- package/src/components/divider/MDivider.vue +56 -0
- package/src/components/pagination/MPagination.spec.ts +123 -0
- package/src/components/pagination/MPagination.stories.ts +83 -0
- package/src/components/pagination/MPagination.vue +140 -0
- package/src/components/tabs/MTabs.stories.ts +104 -0
- package/src/components/tabs/MTabs.vue +113 -0
- package/src/components/tabs/Mtabs.spec.ts +154 -0
- package/src/components/tag/MTag.spec.ts +107 -0
- package/src/components/tag/MTag.stories.ts +75 -0
- package/src/components/tag/MTag.vue +154 -0
- package/src/main.ts +4 -0
package/dist/mozaic-vue.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { Component } from 'vue';
|
|
2
3
|
import { ComponentCustomProperties } from 'vue';
|
|
3
4
|
import { ComponentCustomProps } from 'vue';
|
|
4
5
|
import { ComponentInternalInstance } from 'vue';
|
|
@@ -26,17 +27,23 @@ size: "s" | "m" | "l";
|
|
|
26
27
|
type: "button" | "reset" | "submit";
|
|
27
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
29
|
|
|
29
|
-
declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
30
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
31
|
+
size: "s" | "m" | "l";
|
|
32
|
+
style: "primary" | "secondary" | "tertiary" | "inverse";
|
|
33
|
+
orientation: "vertical" | "horizontal";
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
|
|
36
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
37
|
|
|
31
|
-
declare const
|
|
38
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
32
39
|
|
|
33
|
-
declare const
|
|
40
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
|
|
34
41
|
appearance: "standard" | "accent" | "danger" | "inverse";
|
|
35
42
|
size: "s" | "m" | "l";
|
|
36
43
|
type: "button" | "reset" | "submit";
|
|
37
44
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
38
45
|
|
|
39
|
-
declare const
|
|
46
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
40
47
|
iconPosition: "left" | "right";
|
|
41
48
|
appearance: "secondary" | "accent" | "inverse" | "standard";
|
|
42
49
|
size: "s" | "m";
|
|
@@ -44,19 +51,19 @@ href: string;
|
|
|
44
51
|
target: "_self" | "_blank" | "_parent" | "_top";
|
|
45
52
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
53
|
|
|
47
|
-
declare const
|
|
54
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
55
|
|
|
49
|
-
declare const
|
|
56
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
50
57
|
close: () => any;
|
|
51
|
-
}, string, PublicProps, Readonly<
|
|
58
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
52
59
|
onClose?: (() => any) | undefined;
|
|
53
60
|
}>, {
|
|
54
61
|
status: "info" | "success" | "warning" | "error";
|
|
55
62
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
56
63
|
|
|
57
|
-
declare const
|
|
64
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
58
65
|
"update:modelValue": (value: string | number) => any;
|
|
59
|
-
}, string, PublicProps, Readonly<
|
|
66
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
60
67
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
61
68
|
}>, {
|
|
62
69
|
size: "s" | "m";
|
|
@@ -92,9 +99,27 @@ declare type __VLS_Props = {
|
|
|
92
99
|
};
|
|
93
100
|
|
|
94
101
|
/**
|
|
95
|
-
* A
|
|
102
|
+
* A loader indicates that content or data is being loaded or processed, providing visual feedback to users during wait times.
|
|
96
103
|
*/
|
|
97
104
|
declare type __VLS_Props_10 = {
|
|
105
|
+
/**
|
|
106
|
+
* Specifies the visual appearance of the loader.
|
|
107
|
+
*/
|
|
108
|
+
appearance?: 'standard' | 'accent' | 'inverse';
|
|
109
|
+
/**
|
|
110
|
+
* Defines the size of the loader.
|
|
111
|
+
*/
|
|
112
|
+
size?: 's' | 'm' | 'l';
|
|
113
|
+
/**
|
|
114
|
+
* Text to display alongside the loader when using the loader inside an `Overlay`.
|
|
115
|
+
*/
|
|
116
|
+
text?: string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* A badge indicates the status of an entity and can evolve at any time.
|
|
121
|
+
*/
|
|
122
|
+
declare type __VLS_Props_11 = {
|
|
98
123
|
/**
|
|
99
124
|
* Content of the badge
|
|
100
125
|
*/
|
|
@@ -112,7 +137,7 @@ declare type __VLS_Props_10 = {
|
|
|
112
137
|
/**
|
|
113
138
|
* An overlay component is a UI element that appears above the main content to display additional information or interactions, often blocking or dimming the background.
|
|
114
139
|
*/
|
|
115
|
-
declare type
|
|
140
|
+
declare type __VLS_Props_12 = {
|
|
116
141
|
/**
|
|
117
142
|
* Controls the visibility of the overlay.
|
|
118
143
|
*/
|
|
@@ -123,10 +148,40 @@ declare type __VLS_Props_11 = {
|
|
|
123
148
|
dialogLabel?: string;
|
|
124
149
|
};
|
|
125
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Pagination is a navigation component that allows users to browse through large sets of content by dividing it into discrete pages. It typically includes previous and next buttons, numeric page selectors, or dropdowns to jump between pages efficiently. Pagination improves usability and performance in content-heavy applications such as tables, search results, and articles by preventing long scrolls and reducing page load times.
|
|
153
|
+
*/
|
|
154
|
+
declare type __VLS_Props_13 = {
|
|
155
|
+
/**
|
|
156
|
+
* A unique identifier for the pagination.
|
|
157
|
+
*/
|
|
158
|
+
id: string;
|
|
159
|
+
/**
|
|
160
|
+
* The current value of the selected page.
|
|
161
|
+
*/
|
|
162
|
+
modelValue: number;
|
|
163
|
+
/**
|
|
164
|
+
* If `true`, display a compact version without the select.
|
|
165
|
+
*/
|
|
166
|
+
compact?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Define the available choices for the pagination select element.
|
|
169
|
+
*/
|
|
170
|
+
options: Array<{
|
|
171
|
+
id?: string;
|
|
172
|
+
text: string;
|
|
173
|
+
value: number;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* Accessible label for the select of the pagination.
|
|
177
|
+
*/
|
|
178
|
+
selectLabel?: string;
|
|
179
|
+
};
|
|
180
|
+
|
|
126
181
|
/**
|
|
127
182
|
* A password input is a specialized input field used to securely enter and manage passwords. It typically masks the characters entered to protect sensitive information from being seen. It includes a toggle button to show or hide the password, improving usability while maintaining security. Password inputs are commonly used in login forms, account creation, and authentication flows.
|
|
128
183
|
*/
|
|
129
|
-
declare type
|
|
184
|
+
declare type __VLS_Props_14 = {
|
|
130
185
|
/**
|
|
131
186
|
* A unique identifier for the password input element, used to associate the label with the form element.
|
|
132
187
|
*/
|
|
@@ -175,7 +230,7 @@ declare type __VLS_Props_12 = {
|
|
|
175
230
|
/**
|
|
176
231
|
* The quantity selector is a form element used to enter or select a number. This type of input is best used when the user needs to choose the quantity of a selected item, like a product before adding to cart for example.
|
|
177
232
|
*/
|
|
178
|
-
declare type
|
|
233
|
+
declare type __VLS_Props_15 = {
|
|
179
234
|
/**
|
|
180
235
|
* A unique identifier for the quantity selector element, used to associate the label with the form element.
|
|
181
236
|
*/
|
|
@@ -229,7 +284,7 @@ declare type __VLS_Props_13 = {
|
|
|
229
284
|
/**
|
|
230
285
|
* A radio button is used to offer a unique choice to your user in a form. Unlike checkboxes, it can not be used alone.
|
|
231
286
|
*/
|
|
232
|
-
declare type
|
|
287
|
+
declare type __VLS_Props_16 = {
|
|
233
288
|
/**
|
|
234
289
|
* A unique identifier for the radio, used to associate the label with the form element.
|
|
235
290
|
*/
|
|
@@ -259,7 +314,7 @@ declare type __VLS_Props_14 = {
|
|
|
259
314
|
/**
|
|
260
315
|
* A radio button is used to offer a unique choice to your user in a form. Unlike checkboxes, it can not be used alone.
|
|
261
316
|
*/
|
|
262
|
-
declare type
|
|
317
|
+
declare type __VLS_Props_17 = {
|
|
263
318
|
/**
|
|
264
319
|
* The name attribute for the radio element, typically used for form submission.
|
|
265
320
|
*/
|
|
@@ -291,7 +346,7 @@ declare type __VLS_Props_15 = {
|
|
|
291
346
|
/**
|
|
292
347
|
* A select is a form element for multi-line text input, ideal for longer content like comments or descriptions.
|
|
293
348
|
*/
|
|
294
|
-
declare type
|
|
349
|
+
declare type __VLS_Props_18 = {
|
|
295
350
|
/**
|
|
296
351
|
* A unique identifier for the select, used to associate the label with the form element.
|
|
297
352
|
*/
|
|
@@ -339,7 +394,7 @@ declare type __VLS_Props_16 = {
|
|
|
339
394
|
/**
|
|
340
395
|
* A status badge indicates the status of an entity and can evolve at any time.
|
|
341
396
|
*/
|
|
342
|
-
declare type
|
|
397
|
+
declare type __VLS_Props_19 = {
|
|
343
398
|
/**
|
|
344
399
|
* Content of the Status Badge
|
|
345
400
|
*/
|
|
@@ -350,10 +405,48 @@ declare type __VLS_Props_17 = {
|
|
|
350
405
|
status?: 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
351
406
|
};
|
|
352
407
|
|
|
408
|
+
/**
|
|
409
|
+
* Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
|
|
410
|
+
*/
|
|
411
|
+
declare type __VLS_Props_2 = {
|
|
412
|
+
/**
|
|
413
|
+
* Defines the visual style of the button.
|
|
414
|
+
*/
|
|
415
|
+
appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
|
|
416
|
+
/**
|
|
417
|
+
* Determines the size of the button.
|
|
418
|
+
*/
|
|
419
|
+
size?: 's' | 'm' | 'l';
|
|
420
|
+
/**
|
|
421
|
+
* If `true`, disables the button, making it non-interactive.
|
|
422
|
+
*/
|
|
423
|
+
disabled?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
|
|
426
|
+
*/
|
|
427
|
+
ghost?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* If `true`, the button gets an outlined style, usually with just the border and no solid background.
|
|
430
|
+
*/
|
|
431
|
+
outlined?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Controls the positioning of an icon in the button.
|
|
434
|
+
*/
|
|
435
|
+
iconPosition?: 'left' | 'right' | 'only';
|
|
436
|
+
/**
|
|
437
|
+
* Specifies the button's HTML `type` attribute.
|
|
438
|
+
*/
|
|
439
|
+
type?: 'button' | 'reset' | 'submit';
|
|
440
|
+
/**
|
|
441
|
+
* If `true`, a loading state is displayed.
|
|
442
|
+
*/
|
|
443
|
+
isLoading?: boolean;
|
|
444
|
+
};
|
|
445
|
+
|
|
353
446
|
/**
|
|
354
447
|
* A Status Notification is used to draw the user’s attention to important information that needs to be acknowledged. It often provides feedback on a process, highlights a status update, or alerts users about an issue. Notifications are typically triggered by user actions or system events and are designed to be easily noticeable while maintaining a non-intrusive experience.
|
|
355
448
|
*/
|
|
356
|
-
declare type
|
|
449
|
+
declare type __VLS_Props_20 = {
|
|
357
450
|
/**
|
|
358
451
|
* Title of the Status Notification
|
|
359
452
|
*/
|
|
@@ -372,10 +465,91 @@ declare type __VLS_Props_18 = {
|
|
|
372
465
|
closable?: boolean;
|
|
373
466
|
};
|
|
374
467
|
|
|
468
|
+
/**
|
|
469
|
+
* Tabs are a navigation component that allows users to switch between different sections within the same context. They help organize content efficiently by displaying only one section at a time, reducing clutter and improving accessibility. Tabs can include icons, labels, and notification badges to provide additional context. They are commonly used in dashboards, product management, and settings interfaces.
|
|
470
|
+
*/
|
|
471
|
+
declare type __VLS_Props_21 = {
|
|
472
|
+
/**
|
|
473
|
+
* A description indicating the purpose of the set of tabs. Useful for improving the accessibility of the component.
|
|
474
|
+
*/
|
|
475
|
+
description?: string;
|
|
476
|
+
/**
|
|
477
|
+
* If `true`, the divider will appear.
|
|
478
|
+
*/
|
|
479
|
+
divider?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* If `true`, the tabs of the component will be centered.
|
|
482
|
+
*/
|
|
483
|
+
centered?: boolean;
|
|
484
|
+
/**
|
|
485
|
+
* The selected tab index, bound via v-model.
|
|
486
|
+
*/
|
|
487
|
+
modelValue?: number;
|
|
488
|
+
/**
|
|
489
|
+
* An array of objects that allows you to provide all the data needed to generate the content for each tab.
|
|
490
|
+
*/
|
|
491
|
+
tabs: Array<{
|
|
492
|
+
/**
|
|
493
|
+
* The icon displayed for the tab from Mozaic-icon-vue.
|
|
494
|
+
*/
|
|
495
|
+
icon?: Component;
|
|
496
|
+
/**
|
|
497
|
+
* The label displayed for the tab.
|
|
498
|
+
*/
|
|
499
|
+
label: string;
|
|
500
|
+
/**
|
|
501
|
+
* If `true`, the tab will be disabled.
|
|
502
|
+
*/
|
|
503
|
+
disabled?: boolean;
|
|
504
|
+
}>;
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* A Tag is a UI element used to filter data, categorize, select or deselect an option. It can appear standalone, in a group, or embedded within other components. Depending on its use, a tag can be interactive (clickable, removable, selectable) or static (serving as a visual indicator).
|
|
509
|
+
*/
|
|
510
|
+
declare type __VLS_Props_22 = {
|
|
511
|
+
/**
|
|
512
|
+
* Defines the behavior and layout of the tag.
|
|
513
|
+
*/
|
|
514
|
+
type?: 'informative' | 'interactive' | 'contextualised' | 'removable' | 'selectable';
|
|
515
|
+
/**
|
|
516
|
+
* Determines the size of the tag.
|
|
517
|
+
*/
|
|
518
|
+
size?: 's' | 'm' | 'l';
|
|
519
|
+
/**
|
|
520
|
+
* A unique identifier for the tag, used to associate the label with the form element. **Required** when type is 'selectable' or 'removable'.
|
|
521
|
+
*/
|
|
522
|
+
id?: string;
|
|
523
|
+
/**
|
|
524
|
+
* The name attribute for the tag element, typically used for form submission. (only relevant for type: 'selectable').
|
|
525
|
+
*/
|
|
526
|
+
name?: string;
|
|
527
|
+
/**
|
|
528
|
+
* The text label displayed next to the tag.
|
|
529
|
+
*/
|
|
530
|
+
label: string;
|
|
531
|
+
/**
|
|
532
|
+
* The tag's checked state, bound via v-model. Used only for type: 'selectable'.
|
|
533
|
+
*/
|
|
534
|
+
modelValue?: boolean;
|
|
535
|
+
/**
|
|
536
|
+
* If `true`, disables the tag, making it non-interactive. Applicable to selectable, interactive, and contextualised types.
|
|
537
|
+
*/
|
|
538
|
+
disabled?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* A number displayed in the badge when the tag is contextualised.
|
|
541
|
+
*/
|
|
542
|
+
contextualisedNumber?: number;
|
|
543
|
+
/**
|
|
544
|
+
* Accessible label text for the remove button in removable tags.
|
|
545
|
+
*/
|
|
546
|
+
removableLabel?: string;
|
|
547
|
+
};
|
|
548
|
+
|
|
375
549
|
/**
|
|
376
550
|
* A textarea is a form element for multi-line text input, ideal for longer content like comments or descriptions.
|
|
377
551
|
*/
|
|
378
|
-
declare type
|
|
552
|
+
declare type __VLS_Props_23 = {
|
|
379
553
|
/**
|
|
380
554
|
* A unique identifier for the textarea, used to associate the label with the form element.
|
|
381
555
|
*/
|
|
@@ -418,48 +592,10 @@ declare type __VLS_Props_19 = {
|
|
|
418
592
|
readonly?: boolean;
|
|
419
593
|
};
|
|
420
594
|
|
|
421
|
-
/**
|
|
422
|
-
* Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
|
|
423
|
-
*/
|
|
424
|
-
declare type __VLS_Props_2 = {
|
|
425
|
-
/**
|
|
426
|
-
* Defines the visual style of the button.
|
|
427
|
-
*/
|
|
428
|
-
appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
|
|
429
|
-
/**
|
|
430
|
-
* Determines the size of the button.
|
|
431
|
-
*/
|
|
432
|
-
size?: 's' | 'm' | 'l';
|
|
433
|
-
/**
|
|
434
|
-
* If `true`, disables the button, making it non-interactive.
|
|
435
|
-
*/
|
|
436
|
-
disabled?: boolean;
|
|
437
|
-
/**
|
|
438
|
-
* If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
|
|
439
|
-
*/
|
|
440
|
-
ghost?: boolean;
|
|
441
|
-
/**
|
|
442
|
-
* If `true`, the button gets an outlined style, usually with just the border and no solid background.
|
|
443
|
-
*/
|
|
444
|
-
outlined?: boolean;
|
|
445
|
-
/**
|
|
446
|
-
* Controls the positioning of an icon in the button.
|
|
447
|
-
*/
|
|
448
|
-
iconPosition?: 'left' | 'right' | 'only';
|
|
449
|
-
/**
|
|
450
|
-
* Specifies the button's HTML `type` attribute.
|
|
451
|
-
*/
|
|
452
|
-
type?: 'button' | 'reset' | 'submit';
|
|
453
|
-
/**
|
|
454
|
-
* If `true`, a loading state is displayed.
|
|
455
|
-
*/
|
|
456
|
-
isLoading?: boolean;
|
|
457
|
-
};
|
|
458
|
-
|
|
459
595
|
/**
|
|
460
596
|
* Inputs are used to create input fields with text on a single line. Their states depends on the user interaction or the context.
|
|
461
597
|
*/
|
|
462
|
-
declare type
|
|
598
|
+
declare type __VLS_Props_24 = {
|
|
463
599
|
/**
|
|
464
600
|
* A unique identifier for the input element, used to associate the label with the form element.
|
|
465
601
|
*/
|
|
@@ -509,7 +645,7 @@ declare type __VLS_Props_20 = {
|
|
|
509
645
|
/**
|
|
510
646
|
* A toggle is used to choose between two possibilities and when the user needs instant feedback. It is common to use toggles when you need to show or hide content and "on/off" switch.
|
|
511
647
|
*/
|
|
512
|
-
declare type
|
|
648
|
+
declare type __VLS_Props_25 = {
|
|
513
649
|
/**
|
|
514
650
|
* A unique identifier for the toggle, used to associate the label with the form element.
|
|
515
651
|
*/
|
|
@@ -539,7 +675,7 @@ declare type __VLS_Props_21 = {
|
|
|
539
675
|
/**
|
|
540
676
|
* A toggle is used to choose between two possibilities and when the user needs instant feedback. It is common to use toggles when you need to show or hide content and "on/off" switch.
|
|
541
677
|
*/
|
|
542
|
-
declare type
|
|
678
|
+
declare type __VLS_Props_26 = {
|
|
543
679
|
/**
|
|
544
680
|
* The name attribute for the toggle element, typically used for form submission.
|
|
545
681
|
*/
|
|
@@ -630,9 +766,27 @@ declare type __VLS_Props_4 = {
|
|
|
630
766
|
};
|
|
631
767
|
|
|
632
768
|
/**
|
|
633
|
-
*
|
|
769
|
+
* A Divider serves as a visual divider to separate content, providing a clear distinction between sections.
|
|
634
770
|
*/
|
|
635
771
|
declare type __VLS_Props_5 = {
|
|
772
|
+
/**
|
|
773
|
+
* Determines the orientation of the divider
|
|
774
|
+
*/
|
|
775
|
+
orientation?: 'vertical' | 'horizontal';
|
|
776
|
+
/**
|
|
777
|
+
* Determines the style of the divider
|
|
778
|
+
*/
|
|
779
|
+
style?: 'primary' | 'secondary' | 'tertiary' | 'inverse';
|
|
780
|
+
/**
|
|
781
|
+
* Determines the size of the divider
|
|
782
|
+
*/
|
|
783
|
+
size?: 's' | 'm' | 'l';
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* This component creates a structured form field with a label, optional help text, error and validation message handling.
|
|
788
|
+
*/
|
|
789
|
+
declare type __VLS_Props_6 = {
|
|
636
790
|
/**
|
|
637
791
|
* A unique identifier for the form field, used to associate the label with the form element.
|
|
638
792
|
*/
|
|
@@ -674,7 +828,7 @@ declare type __VLS_Props_5 = {
|
|
|
674
828
|
/**
|
|
675
829
|
* This component creates a structured form field for group field such as Radio Group, Checkbox Group or Toggle Group with a label, optional help text, error and validation message handling.
|
|
676
830
|
*/
|
|
677
|
-
declare type
|
|
831
|
+
declare type __VLS_Props_7 = {
|
|
678
832
|
/**
|
|
679
833
|
* A unique identifier for the form field, used to associate the label with the form element.
|
|
680
834
|
*/
|
|
@@ -708,7 +862,7 @@ declare type __VLS_Props_6 = {
|
|
|
708
862
|
/**
|
|
709
863
|
* Icon Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
|
|
710
864
|
*/
|
|
711
|
-
declare type
|
|
865
|
+
declare type __VLS_Props_8 = {
|
|
712
866
|
/**
|
|
713
867
|
* Defines the visual style of the icon button.
|
|
714
868
|
*/
|
|
@@ -738,7 +892,7 @@ declare type __VLS_Props_7 = {
|
|
|
738
892
|
/**
|
|
739
893
|
* A link is a component used exclusively to navigate to internal or external webpages or to anchors in the current page.
|
|
740
894
|
*/
|
|
741
|
-
declare type
|
|
895
|
+
declare type __VLS_Props_9 = {
|
|
742
896
|
/**
|
|
743
897
|
* Position of the icon relative to the text.
|
|
744
898
|
*/
|
|
@@ -769,24 +923,6 @@ declare type __VLS_Props_8 = {
|
|
|
769
923
|
router?: boolean;
|
|
770
924
|
};
|
|
771
925
|
|
|
772
|
-
/**
|
|
773
|
-
* A loader indicates that content or data is being loaded or processed, providing visual feedback to users during wait times.
|
|
774
|
-
*/
|
|
775
|
-
declare type __VLS_Props_9 = {
|
|
776
|
-
/**
|
|
777
|
-
* Specifies the visual appearance of the loader.
|
|
778
|
-
*/
|
|
779
|
-
appearance?: 'standard' | 'accent' | 'inverse';
|
|
780
|
-
/**
|
|
781
|
-
* Defines the size of the loader.
|
|
782
|
-
*/
|
|
783
|
-
size?: 's' | 'm' | 'l';
|
|
784
|
-
/**
|
|
785
|
-
* Text to display alongside the loader when using the loader inside an `Overlay`.
|
|
786
|
-
*/
|
|
787
|
-
text?: string;
|
|
788
|
-
};
|
|
789
|
-
|
|
790
926
|
declare function __VLS_template(): {
|
|
791
927
|
attrs: Partial<{}>;
|
|
792
928
|
slots: Readonly<{
|
|
@@ -813,6 +949,15 @@ declare function __VLS_template(): {
|
|
|
813
949
|
};
|
|
814
950
|
|
|
815
951
|
declare function __VLS_template_2(): {
|
|
952
|
+
attrs: Partial<{}>;
|
|
953
|
+
slots: {
|
|
954
|
+
default?(_: {}): any;
|
|
955
|
+
};
|
|
956
|
+
refs: {};
|
|
957
|
+
rootEl: HTMLDivElement;
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
declare function __VLS_template_3(): {
|
|
816
961
|
attrs: Partial<{}>;
|
|
817
962
|
slots: Readonly<{
|
|
818
963
|
/**
|
|
@@ -829,7 +974,7 @@ declare function __VLS_template_2(): {
|
|
|
829
974
|
rootEl: HTMLDivElement;
|
|
830
975
|
};
|
|
831
976
|
|
|
832
|
-
declare function
|
|
977
|
+
declare function __VLS_template_4(): {
|
|
833
978
|
attrs: Partial<{}>;
|
|
834
979
|
slots: Readonly<{
|
|
835
980
|
/**
|
|
@@ -846,7 +991,7 @@ declare function __VLS_template_3(): {
|
|
|
846
991
|
rootEl: HTMLFieldSetElement;
|
|
847
992
|
};
|
|
848
993
|
|
|
849
|
-
declare function
|
|
994
|
+
declare function __VLS_template_5(): {
|
|
850
995
|
attrs: Partial<{}>;
|
|
851
996
|
slots: Readonly<{
|
|
852
997
|
/**
|
|
@@ -863,7 +1008,7 @@ declare function __VLS_template_4(): {
|
|
|
863
1008
|
rootEl: HTMLButtonElement;
|
|
864
1009
|
};
|
|
865
1010
|
|
|
866
|
-
declare function
|
|
1011
|
+
declare function __VLS_template_6(): {
|
|
867
1012
|
attrs: Partial<{}>;
|
|
868
1013
|
slots: Readonly<{
|
|
869
1014
|
/**
|
|
@@ -888,7 +1033,7 @@ declare function __VLS_template_5(): {
|
|
|
888
1033
|
rootEl: any;
|
|
889
1034
|
};
|
|
890
1035
|
|
|
891
|
-
declare function
|
|
1036
|
+
declare function __VLS_template_7(): {
|
|
892
1037
|
attrs: Partial<{}>;
|
|
893
1038
|
slots: Readonly<{
|
|
894
1039
|
/**
|
|
@@ -905,7 +1050,7 @@ declare function __VLS_template_6(): {
|
|
|
905
1050
|
rootEl: HTMLDivElement;
|
|
906
1051
|
};
|
|
907
1052
|
|
|
908
|
-
declare function
|
|
1053
|
+
declare function __VLS_template_8(): {
|
|
909
1054
|
attrs: Partial<{}>;
|
|
910
1055
|
slots: Readonly<{
|
|
911
1056
|
/**
|
|
@@ -922,7 +1067,7 @@ declare function __VLS_template_7(): {
|
|
|
922
1067
|
rootEl: HTMLElement;
|
|
923
1068
|
};
|
|
924
1069
|
|
|
925
|
-
declare function
|
|
1070
|
+
declare function __VLS_template_9(): {
|
|
926
1071
|
attrs: Partial<{}>;
|
|
927
1072
|
slots: Readonly<{
|
|
928
1073
|
/**
|
|
@@ -955,6 +1100,8 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
|
955
1100
|
|
|
956
1101
|
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
957
1102
|
|
|
1103
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1104
|
+
|
|
958
1105
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
959
1106
|
new (): {
|
|
960
1107
|
$slots: S;
|
|
@@ -1003,6 +1150,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
1003
1150
|
};
|
|
1004
1151
|
};
|
|
1005
1152
|
|
|
1153
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1154
|
+
new (): {
|
|
1155
|
+
$slots: S;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1006
1159
|
export declare const MBreadcrumb: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1007
1160
|
|
|
1008
1161
|
export declare const MButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1019,29 +1172,37 @@ export declare const MCheckboxGroup: DefineComponent<__VLS_Props_4, {}, {}, {},
|
|
|
1019
1172
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1020
1173
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1021
1174
|
|
|
1022
|
-
export declare const
|
|
1175
|
+
export declare const MDivider: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1176
|
+
|
|
1177
|
+
export declare const MField: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1023
1178
|
|
|
1024
|
-
export declare const MFieldGroup:
|
|
1179
|
+
export declare const MFieldGroup: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1025
1180
|
|
|
1026
|
-
export declare const MIconButton:
|
|
1181
|
+
export declare const MIconButton: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1027
1182
|
|
|
1028
|
-
export declare const MLink:
|
|
1183
|
+
export declare const MLink: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1029
1184
|
|
|
1030
|
-
export declare const MLoader: DefineComponent<
|
|
1185
|
+
export declare const MLoader: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
|
|
1031
1186
|
appearance: "standard" | "accent" | "inverse";
|
|
1032
1187
|
size: "s" | "m" | "l";
|
|
1033
1188
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1034
1189
|
|
|
1035
|
-
export declare const MNumberBadge: DefineComponent<
|
|
1190
|
+
export declare const MNumberBadge: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
1036
1191
|
appearance: "danger" | "accent" | "inverse" | "standard";
|
|
1037
1192
|
size: "s" | "m";
|
|
1038
1193
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1039
1194
|
|
|
1040
|
-
export declare const MOverlay:
|
|
1195
|
+
export declare const MOverlay: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1196
|
+
|
|
1197
|
+
export declare const MPagination: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1198
|
+
"update:modelValue": (value: number) => any;
|
|
1199
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
1200
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1201
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1041
1202
|
|
|
1042
|
-
export declare const MPasswordInput: DefineComponent<
|
|
1203
|
+
export declare const MPasswordInput: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1043
1204
|
"update:modelValue": (value: string | number) => any;
|
|
1044
|
-
}, string, PublicProps, Readonly<
|
|
1205
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1045
1206
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1046
1207
|
}>, {
|
|
1047
1208
|
clearLabel: string;
|
|
@@ -1134,68 +1295,90 @@ icon?: VNode;
|
|
|
1134
1295
|
}) | null;
|
|
1135
1296
|
}, HTMLDivElement>;
|
|
1136
1297
|
|
|
1137
|
-
export declare const MQuantitySelector: DefineComponent<
|
|
1298
|
+
export declare const MQuantitySelector: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1138
1299
|
"update:modelValue": (value: number) => any;
|
|
1139
|
-
}, string, PublicProps, Readonly<
|
|
1300
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
1140
1301
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1141
1302
|
}>, {
|
|
1142
1303
|
size: "s" | "m";
|
|
1143
1304
|
name: string;
|
|
1144
1305
|
modelValue: number;
|
|
1306
|
+
step: number;
|
|
1145
1307
|
min: number;
|
|
1146
1308
|
max: number;
|
|
1147
|
-
step: number;
|
|
1148
1309
|
incrementlabel: string;
|
|
1149
1310
|
decrementLabel: string;
|
|
1150
1311
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1151
1312
|
|
|
1152
|
-
export declare const MRadio: DefineComponent<
|
|
1313
|
+
export declare const MRadio: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1153
1314
|
"update:modelValue": (value: boolean) => any;
|
|
1154
|
-
}, string, PublicProps, Readonly<
|
|
1315
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1155
1316
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1156
1317
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1157
1318
|
|
|
1158
|
-
export declare const MRadioGroup: DefineComponent<
|
|
1319
|
+
export declare const MRadioGroup: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1159
1320
|
"update:modelValue": (value: string) => any;
|
|
1160
|
-
}, string, PublicProps, Readonly<
|
|
1321
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1161
1322
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1162
1323
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1163
1324
|
|
|
1164
|
-
export declare const MSelect: DefineComponent<
|
|
1325
|
+
export declare const MSelect: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1165
1326
|
"update:modelValue": (value: string | number) => any;
|
|
1166
|
-
}, string, PublicProps, Readonly<
|
|
1327
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1167
1328
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1168
1329
|
}>, {
|
|
1169
1330
|
size: "s" | "m";
|
|
1170
1331
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSelectElement>;
|
|
1171
1332
|
|
|
1172
|
-
export declare const MStatusBadge: DefineComponent<
|
|
1333
|
+
export declare const MStatusBadge: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
|
|
1173
1334
|
status: "info" | "success" | "warning" | "error" | "neutral";
|
|
1174
1335
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1175
1336
|
|
|
1176
|
-
export declare const MStatusNotification:
|
|
1337
|
+
export declare const MStatusNotification: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1338
|
+
|
|
1339
|
+
export declare const MTabs: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1340
|
+
"update:modelValue": (value: number) => any;
|
|
1341
|
+
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
1342
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1343
|
+
}>, {
|
|
1344
|
+
modelValue: number;
|
|
1345
|
+
divider: boolean;
|
|
1346
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1347
|
+
tab: HTMLButtonElement;
|
|
1348
|
+
}, HTMLElement>;
|
|
1349
|
+
|
|
1350
|
+
export declare const MTag: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1351
|
+
"update:modelValue": (value: boolean) => any;
|
|
1352
|
+
"remove-tag": (id: string) => any;
|
|
1353
|
+
}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
|
|
1354
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1355
|
+
"onRemove-tag"?: ((id: string) => any) | undefined;
|
|
1356
|
+
}>, {
|
|
1357
|
+
type: "informative" | "interactive" | "contextualised" | "removable" | "selectable";
|
|
1358
|
+
contextualisedNumber: number;
|
|
1359
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1177
1360
|
|
|
1178
|
-
export declare const MTextArea: DefineComponent<
|
|
1361
|
+
export declare const MTextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1179
1362
|
"update:modelValue": (value: string | number) => any;
|
|
1180
|
-
}, string, PublicProps, Readonly<
|
|
1363
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
1181
1364
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1182
1365
|
}>, {
|
|
1183
1366
|
rows: number;
|
|
1184
1367
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTextAreaElement>;
|
|
1185
1368
|
|
|
1186
|
-
export declare const MTextInput:
|
|
1369
|
+
export declare const MTextInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1187
1370
|
|
|
1188
|
-
export declare const MToggle: DefineComponent<
|
|
1371
|
+
export declare const MToggle: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1189
1372
|
"update:modelValue": (value: boolean) => any;
|
|
1190
|
-
}, string, PublicProps, Readonly<
|
|
1373
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
1191
1374
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1192
1375
|
}>, {
|
|
1193
1376
|
size: "s" | "m";
|
|
1194
1377
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1195
1378
|
|
|
1196
|
-
export declare const MToggleGroup: DefineComponent<
|
|
1379
|
+
export declare const MToggleGroup: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1197
1380
|
"update:modelValue": (value: string[]) => any;
|
|
1198
|
-
}, string, PublicProps, Readonly<
|
|
1381
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
1199
1382
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1200
1383
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1201
1384
|
|