@mozaic-ds/vue 1.0.0-beta.7 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.d.ts +605 -210
- package/dist/mozaic-vue.js +1281 -629
- 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 +8 -11
- package/src/components/Contributing.mdx +1 -1
- package/src/components/GettingStarted.mdx +2 -7
- package/src/components/Introduction.mdx +41 -21
- package/src/components/Support.mdx +1 -1
- package/src/components/breadcrumb/MBreadcrumb.stories.ts +11 -13
- package/src/components/breadcrumb/MBreadcrumb.vue +1 -1
- package/src/components/button/MButton.stories.ts +1 -8
- package/src/components/checkbox/MCheckbox.stories.ts +2 -2
- package/src/components/checkboxgroup/MCheckboxGroup.stories.ts +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/drawer/MDrawer.spec.ts +100 -0
- package/src/components/drawer/MDrawer.stories.ts +128 -0
- package/src/components/drawer/MDrawer.vue +140 -0
- package/src/components/field/MField.stories.ts +2 -9
- package/src/components/fieldgroup/MFieldGroup.stories.ts +2 -9
- package/src/components/iconbutton/MIconButton.stories.ts +12 -4
- package/src/components/link/MLink.stories.ts +3 -12
- package/src/components/loader/MLoader.stories.ts +3 -5
- package/src/components/loader/MLoader.vue +1 -0
- package/src/components/loadingoverlay/MLoadingOverlay.spec.ts +37 -0
- package/src/components/loadingoverlay/MLoadingOverlay.stories.ts +40 -0
- package/src/components/loadingoverlay/MLoadingOverlay.vue +28 -0
- package/src/components/modal/MModal.spec.ts +103 -0
- package/src/components/modal/MModal.stories.ts +127 -0
- package/src/components/modal/MModal.vue +131 -0
- package/src/components/numberbadge/MNumberBadge.stories.ts +3 -5
- package/src/components/overlay/MOverlay.stories.ts +3 -8
- package/src/components/pagination/MPagination.spec.ts +123 -0
- package/src/components/pagination/MPagination.stories.ts +83 -0
- package/src/components/pagination/MPagination.vue +142 -0
- package/src/components/passwordinput/MPasswordInput.stories.ts +2 -2
- package/src/components/passwordinput/MPasswordInput.vue +2 -5
- package/src/components/pincode/MPincode.spec.ts +126 -0
- package/src/components/pincode/MPincode.stories.ts +68 -0
- package/src/components/pincode/MPincode.vue +139 -0
- package/src/components/quantityselector/MQuantitySelector.stories.ts +2 -2
- package/src/components/radio/MRadio.stories.ts +2 -2
- package/src/components/radiogroup/MRadioGroup.stories.ts +2 -2
- package/src/components/select/MSelect.stories.ts +2 -2
- package/src/components/statusbadge/MStatusBadge.stories.ts +1 -1
- package/src/components/statusdot/MStatusDot.stories.ts +1 -1
- package/src/components/statusnotification/MStatusNotification.spec.ts +12 -8
- package/src/components/statusnotification/MStatusNotification.stories.ts +2 -9
- package/src/components/statusnotification/MStatusNotification.vue +8 -8
- package/src/components/tabs/MTabs.stories.ts +104 -0
- package/src/components/tabs/MTabs.vue +113 -0
- package/src/components/tabs/Mtabs.spec.ts +149 -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 +151 -0
- package/src/components/textarea/MTextArea.stories.ts +2 -2
- package/src/components/textinput/MTextInput.stories.ts +2 -9
- package/src/components/toggle/MToggle.stories.ts +2 -2
- package/src/components/togglegroup/MToggleGroup.stories.ts +2 -2
- package/src/components/usingIcons.mdx +5 -13
- package/src/components/usingPresets.mdx +12 -9
- package/src/main.ts +8 -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,49 @@ size: "s" | "m" | "l";
|
|
|
26
27
|
type: "button" | "reset" | "submit";
|
|
27
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
29
|
|
|
29
|
-
declare const
|
|
30
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
31
|
+
close: () => any;
|
|
32
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
33
|
+
onClose?: (() => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
status: "info" | "success" | "warning" | "error";
|
|
36
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
30
37
|
|
|
31
|
-
declare const
|
|
38
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
39
|
+
"update:modelValue": (value: string | number) => any;
|
|
40
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
size: "s" | "m";
|
|
44
|
+
clearLabel: string;
|
|
45
|
+
inputType: "date" | "email" | "number" | "password" | "search" | "tel" | "text";
|
|
46
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
47
|
|
|
33
|
-
declare const
|
|
48
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
49
|
+
size: "s" | "m" | "l";
|
|
50
|
+
style: "primary" | "secondary" | "tertiary" | "inverse";
|
|
51
|
+
orientation: "vertical" | "horizontal";
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
53
|
+
|
|
54
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
55
|
+
back: () => any;
|
|
56
|
+
"update:open": (value: boolean) => any;
|
|
57
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
58
|
+
onBack?: (() => any) | undefined;
|
|
59
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
60
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
61
|
+
|
|
62
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
63
|
+
|
|
64
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
65
|
+
|
|
66
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
34
67
|
appearance: "standard" | "accent" | "danger" | "inverse";
|
|
35
68
|
size: "s" | "m" | "l";
|
|
36
69
|
type: "button" | "reset" | "submit";
|
|
37
70
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
38
71
|
|
|
39
|
-
declare const
|
|
72
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
|
|
40
73
|
iconPosition: "left" | "right";
|
|
41
74
|
appearance: "secondary" | "accent" | "inverse" | "standard";
|
|
42
75
|
size: "s" | "m";
|
|
@@ -44,26 +77,16 @@ href: string;
|
|
|
44
77
|
target: "_self" | "_blank" | "_parent" | "_top";
|
|
45
78
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
79
|
|
|
47
|
-
declare const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
52
|
-
onClose?: (() => any) | undefined;
|
|
53
|
-
}>, {
|
|
54
|
-
status: "info" | "success" | "warning" | "error";
|
|
55
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
56
|
-
|
|
57
|
-
declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
58
|
-
"update:modelValue": (value: string | number) => any;
|
|
59
|
-
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
60
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
80
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
81
|
+
"update:open": (value: boolean) => any;
|
|
82
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
83
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
61
84
|
}>, {
|
|
62
|
-
|
|
63
|
-
clearLabel: string;
|
|
64
|
-
inputType: "date" | "email" | "number" | "password" | "search" | "tel" | "text";
|
|
85
|
+
closable: boolean;
|
|
65
86
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
66
87
|
|
|
88
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
89
|
+
|
|
67
90
|
/**
|
|
68
91
|
* A breadcrumb is a navigation help that displays the hierarchical path of the current page within a website or application. It helps users understand their location and allows them to navigate back to previous levels easily. Breadcrumbs improve usability and accessibility, especially in multi-level websites, dashboards, and e-commerce platforms.
|
|
69
92
|
*/
|
|
@@ -75,7 +98,7 @@ declare type __VLS_Props = {
|
|
|
75
98
|
/**
|
|
76
99
|
* Links of the breadcrumb
|
|
77
100
|
*/
|
|
78
|
-
links
|
|
101
|
+
links: Array<{
|
|
79
102
|
/**
|
|
80
103
|
* The label displayed for the link.
|
|
81
104
|
*/
|
|
@@ -92,9 +115,97 @@ declare type __VLS_Props = {
|
|
|
92
115
|
};
|
|
93
116
|
|
|
94
117
|
/**
|
|
95
|
-
* A
|
|
118
|
+
* A link is a component used exclusively to navigate to internal or external webpages or to anchors in the current page.
|
|
96
119
|
*/
|
|
97
120
|
declare type __VLS_Props_10 = {
|
|
121
|
+
/**
|
|
122
|
+
* Position of the icon relative to the text.
|
|
123
|
+
*/
|
|
124
|
+
iconPosition?: 'left' | 'right';
|
|
125
|
+
/**
|
|
126
|
+
* Allows to define the link style
|
|
127
|
+
*/
|
|
128
|
+
appearance?: 'secondary' | 'accent' | 'inverse' | 'standard';
|
|
129
|
+
/**
|
|
130
|
+
* Allows to define the link size
|
|
131
|
+
*/
|
|
132
|
+
size?: 's' | 'm';
|
|
133
|
+
/**
|
|
134
|
+
* URL for the link (for external links or the `to` prop for `router-link`).
|
|
135
|
+
*/
|
|
136
|
+
href?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Where to open the link
|
|
139
|
+
*/
|
|
140
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
141
|
+
/**
|
|
142
|
+
* Specify wether the link is inline
|
|
143
|
+
*/
|
|
144
|
+
inline?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* If `true`, the link will be rendered as a `router-link` for internal navigation (Vue Router).
|
|
147
|
+
*/
|
|
148
|
+
router?: boolean;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* A loader indicates that content or data is being loaded or processed, providing visual feedback to users during wait times.
|
|
153
|
+
*/
|
|
154
|
+
declare type __VLS_Props_11 = {
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the visual appearance of the loader.
|
|
157
|
+
*/
|
|
158
|
+
appearance?: 'standard' | 'accent' | 'inverse';
|
|
159
|
+
/**
|
|
160
|
+
* Defines the size of the loader.
|
|
161
|
+
*/
|
|
162
|
+
size?: 's' | 'm' | 'l';
|
|
163
|
+
/**
|
|
164
|
+
* Text to display alongside the loader when using the loader inside an `Overlay`.
|
|
165
|
+
*/
|
|
166
|
+
text?: string;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* A loading overlay is a full-screen or container-level layer that indicates a process is in progress, preventing user interaction until the task is completed. It includes a progress indicator, and a message to inform users about the loading state. Loading Overlays are commonly used in data-heavy applications, form submissions, and page transitions to enhance user experience by managing wait times effectively.
|
|
171
|
+
*/
|
|
172
|
+
declare type __VLS_Props_12 = {
|
|
173
|
+
/**
|
|
174
|
+
* Controls the visibility of the loading overlay.
|
|
175
|
+
*/
|
|
176
|
+
isVisible?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Text of the loading overlay.
|
|
179
|
+
*/
|
|
180
|
+
text?: string;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* A modal is a dialog window that appears on top of the main content, requiring user interaction before returning to the main interface. It is used to focus attention on a specific task, provide important information, or request confirmation for an action. Modals typically include a title, description, and primary/secondary actions and should be used for single, focused tasks to avoid disrupting the user experience.
|
|
185
|
+
*/
|
|
186
|
+
declare type __VLS_Props_13 = {
|
|
187
|
+
/**
|
|
188
|
+
* if `true`, display the modal.
|
|
189
|
+
*/
|
|
190
|
+
open?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Title of the modal
|
|
193
|
+
*/
|
|
194
|
+
title: string;
|
|
195
|
+
/**
|
|
196
|
+
* Description of the modal
|
|
197
|
+
*/
|
|
198
|
+
description?: string;
|
|
199
|
+
/**
|
|
200
|
+
* if `true`, display the close button.
|
|
201
|
+
*/
|
|
202
|
+
closable?: boolean;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* A badge indicates the status of an entity and can evolve at any time.
|
|
207
|
+
*/
|
|
208
|
+
declare type __VLS_Props_14 = {
|
|
98
209
|
/**
|
|
99
210
|
* Content of the badge
|
|
100
211
|
*/
|
|
@@ -112,7 +223,7 @@ declare type __VLS_Props_10 = {
|
|
|
112
223
|
/**
|
|
113
224
|
* 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
225
|
*/
|
|
115
|
-
declare type
|
|
226
|
+
declare type __VLS_Props_15 = {
|
|
116
227
|
/**
|
|
117
228
|
* Controls the visibility of the overlay.
|
|
118
229
|
*/
|
|
@@ -123,10 +234,40 @@ declare type __VLS_Props_11 = {
|
|
|
123
234
|
dialogLabel?: string;
|
|
124
235
|
};
|
|
125
236
|
|
|
237
|
+
/**
|
|
238
|
+
* 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.
|
|
239
|
+
*/
|
|
240
|
+
declare type __VLS_Props_16 = {
|
|
241
|
+
/**
|
|
242
|
+
* A unique identifier for the pagination.
|
|
243
|
+
*/
|
|
244
|
+
id: string;
|
|
245
|
+
/**
|
|
246
|
+
* The current value of the selected page.
|
|
247
|
+
*/
|
|
248
|
+
modelValue: number;
|
|
249
|
+
/**
|
|
250
|
+
* If `true`, display a compact version without the select.
|
|
251
|
+
*/
|
|
252
|
+
compact?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Define the available choices for the pagination select element.
|
|
255
|
+
*/
|
|
256
|
+
options: Array<{
|
|
257
|
+
id?: string;
|
|
258
|
+
text: string;
|
|
259
|
+
value: number;
|
|
260
|
+
}>;
|
|
261
|
+
/**
|
|
262
|
+
* Accessible label for the select of the pagination.
|
|
263
|
+
*/
|
|
264
|
+
selectLabel?: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
126
267
|
/**
|
|
127
268
|
* 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
269
|
*/
|
|
129
|
-
declare type
|
|
270
|
+
declare type __VLS_Props_17 = {
|
|
130
271
|
/**
|
|
131
272
|
* A unique identifier for the password input element, used to associate the label with the form element.
|
|
132
273
|
*/
|
|
@@ -172,10 +313,44 @@ declare type __VLS_Props_12 = {
|
|
|
172
313
|
};
|
|
173
314
|
};
|
|
174
315
|
|
|
316
|
+
/**
|
|
317
|
+
* A pincode input is a specialized input field used to enter short numeric codes, such as verification codes, security PINs, or authentication tokens. It typically separates each digit into individual fields to improve readability and ease of entry. This component is commonly used in two-factor authentication (2FA), password recovery, and secure access flows, ensuring a structured and user-friendly experience.
|
|
318
|
+
*/
|
|
319
|
+
declare type __VLS_Props_18 = {
|
|
320
|
+
/**
|
|
321
|
+
* A unique identifier for the pincode element, used to associate the label with the form element.
|
|
322
|
+
*/
|
|
323
|
+
id: string;
|
|
324
|
+
/**
|
|
325
|
+
* The number of input displayed in the pincode element.
|
|
326
|
+
*/
|
|
327
|
+
length?: 4 | 5 | 6;
|
|
328
|
+
/**
|
|
329
|
+
* The name attribute for the pincode element, typically used for form submission.
|
|
330
|
+
*/
|
|
331
|
+
name?: string;
|
|
332
|
+
/**
|
|
333
|
+
* The current value of the pincode field.
|
|
334
|
+
*/
|
|
335
|
+
modelValue?: string | number;
|
|
336
|
+
/**
|
|
337
|
+
* If `true`, applies an invalid state to the pincode.
|
|
338
|
+
*/
|
|
339
|
+
isInvalid?: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* If `true`, disables the pincode, making it non-interactive.
|
|
342
|
+
*/
|
|
343
|
+
disabled?: boolean;
|
|
344
|
+
/**
|
|
345
|
+
* If `true`, the pincode is read-only (cannot be edited).
|
|
346
|
+
*/
|
|
347
|
+
readonly?: boolean;
|
|
348
|
+
};
|
|
349
|
+
|
|
175
350
|
/**
|
|
176
351
|
* 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
352
|
*/
|
|
178
|
-
declare type
|
|
353
|
+
declare type __VLS_Props_19 = {
|
|
179
354
|
/**
|
|
180
355
|
* A unique identifier for the quantity selector element, used to associate the label with the form element.
|
|
181
356
|
*/
|
|
@@ -226,10 +401,48 @@ declare type __VLS_Props_13 = {
|
|
|
226
401
|
decrementLabel?: string;
|
|
227
402
|
};
|
|
228
403
|
|
|
404
|
+
/**
|
|
405
|
+
* Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
|
|
406
|
+
*/
|
|
407
|
+
declare type __VLS_Props_2 = {
|
|
408
|
+
/**
|
|
409
|
+
* Defines the visual style of the button.
|
|
410
|
+
*/
|
|
411
|
+
appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
|
|
412
|
+
/**
|
|
413
|
+
* Determines the size of the button.
|
|
414
|
+
*/
|
|
415
|
+
size?: 's' | 'm' | 'l';
|
|
416
|
+
/**
|
|
417
|
+
* If `true`, disables the button, making it non-interactive.
|
|
418
|
+
*/
|
|
419
|
+
disabled?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
|
|
422
|
+
*/
|
|
423
|
+
ghost?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* If `true`, the button gets an outlined style, usually with just the border and no solid background.
|
|
426
|
+
*/
|
|
427
|
+
outlined?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Controls the positioning of an icon in the button.
|
|
430
|
+
*/
|
|
431
|
+
iconPosition?: 'left' | 'right' | 'only';
|
|
432
|
+
/**
|
|
433
|
+
* Specifies the button's HTML `type` attribute.
|
|
434
|
+
*/
|
|
435
|
+
type?: 'button' | 'reset' | 'submit';
|
|
436
|
+
/**
|
|
437
|
+
* If `true`, a loading state is displayed.
|
|
438
|
+
*/
|
|
439
|
+
isLoading?: boolean;
|
|
440
|
+
};
|
|
441
|
+
|
|
229
442
|
/**
|
|
230
443
|
* 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
444
|
*/
|
|
232
|
-
declare type
|
|
445
|
+
declare type __VLS_Props_20 = {
|
|
233
446
|
/**
|
|
234
447
|
* A unique identifier for the radio, used to associate the label with the form element.
|
|
235
448
|
*/
|
|
@@ -259,7 +472,7 @@ declare type __VLS_Props_14 = {
|
|
|
259
472
|
/**
|
|
260
473
|
* 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
474
|
*/
|
|
262
|
-
declare type
|
|
475
|
+
declare type __VLS_Props_21 = {
|
|
263
476
|
/**
|
|
264
477
|
* The name attribute for the radio element, typically used for form submission.
|
|
265
478
|
*/
|
|
@@ -291,7 +504,7 @@ declare type __VLS_Props_15 = {
|
|
|
291
504
|
/**
|
|
292
505
|
* A select is a form element for multi-line text input, ideal for longer content like comments or descriptions.
|
|
293
506
|
*/
|
|
294
|
-
declare type
|
|
507
|
+
declare type __VLS_Props_22 = {
|
|
295
508
|
/**
|
|
296
509
|
* A unique identifier for the select, used to associate the label with the form element.
|
|
297
510
|
*/
|
|
@@ -339,7 +552,7 @@ declare type __VLS_Props_16 = {
|
|
|
339
552
|
/**
|
|
340
553
|
* A status badge indicates the status of an entity and can evolve at any time.
|
|
341
554
|
*/
|
|
342
|
-
declare type
|
|
555
|
+
declare type __VLS_Props_23 = {
|
|
343
556
|
/**
|
|
344
557
|
* Content of the Status Badge
|
|
345
558
|
*/
|
|
@@ -353,7 +566,7 @@ declare type __VLS_Props_17 = {
|
|
|
353
566
|
/**
|
|
354
567
|
* 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
568
|
*/
|
|
356
|
-
declare type
|
|
569
|
+
declare type __VLS_Props_24 = {
|
|
357
570
|
/**
|
|
358
571
|
* Title of the Status Notification
|
|
359
572
|
*/
|
|
@@ -372,10 +585,91 @@ declare type __VLS_Props_18 = {
|
|
|
372
585
|
closable?: boolean;
|
|
373
586
|
};
|
|
374
587
|
|
|
588
|
+
/**
|
|
589
|
+
* 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.
|
|
590
|
+
*/
|
|
591
|
+
declare type __VLS_Props_25 = {
|
|
592
|
+
/**
|
|
593
|
+
* A description indicating the purpose of the set of tabs. Useful for improving the accessibility of the component.
|
|
594
|
+
*/
|
|
595
|
+
description?: string;
|
|
596
|
+
/**
|
|
597
|
+
* If `true`, the divider will appear.
|
|
598
|
+
*/
|
|
599
|
+
divider?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* If `true`, the tabs of the component will be centered.
|
|
602
|
+
*/
|
|
603
|
+
centered?: boolean;
|
|
604
|
+
/**
|
|
605
|
+
* The selected tab index, bound via v-model.
|
|
606
|
+
*/
|
|
607
|
+
modelValue?: number;
|
|
608
|
+
/**
|
|
609
|
+
* An array of objects that allows you to provide all the data needed to generate the content for each tab.
|
|
610
|
+
*/
|
|
611
|
+
tabs: Array<{
|
|
612
|
+
/**
|
|
613
|
+
* The icon displayed for the tab from Mozaic-icon-vue.
|
|
614
|
+
*/
|
|
615
|
+
icon?: Component;
|
|
616
|
+
/**
|
|
617
|
+
* The label displayed for the tab.
|
|
618
|
+
*/
|
|
619
|
+
label: string;
|
|
620
|
+
/**
|
|
621
|
+
* If `true`, the tab will be disabled.
|
|
622
|
+
*/
|
|
623
|
+
disabled?: boolean;
|
|
624
|
+
}>;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* 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).
|
|
629
|
+
*/
|
|
630
|
+
declare type __VLS_Props_26 = {
|
|
631
|
+
/**
|
|
632
|
+
* Defines the behavior and layout of the tag.
|
|
633
|
+
*/
|
|
634
|
+
type?: 'informative' | 'interactive' | 'contextualised' | 'removable' | 'selectable';
|
|
635
|
+
/**
|
|
636
|
+
* Determines the size of the tag.
|
|
637
|
+
*/
|
|
638
|
+
size?: 's' | 'm' | 'l';
|
|
639
|
+
/**
|
|
640
|
+
* A unique identifier for the tag, used to associate the label with the form element. **Required** when type is 'selectable' or 'removable'.
|
|
641
|
+
*/
|
|
642
|
+
id?: string;
|
|
643
|
+
/**
|
|
644
|
+
* The name attribute for the tag element, typically used for form submission. (only relevant for type: 'selectable').
|
|
645
|
+
*/
|
|
646
|
+
name?: string;
|
|
647
|
+
/**
|
|
648
|
+
* The text label displayed next to the tag.
|
|
649
|
+
*/
|
|
650
|
+
label: string;
|
|
651
|
+
/**
|
|
652
|
+
* The tag's checked state, bound via v-model. Used only for type: 'selectable'.
|
|
653
|
+
*/
|
|
654
|
+
modelValue?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* If `true`, disables the tag, making it non-interactive. Applicable to selectable, interactive, and contextualised types.
|
|
657
|
+
*/
|
|
658
|
+
disabled?: boolean;
|
|
659
|
+
/**
|
|
660
|
+
* A number displayed in the badge when the tag is contextualised.
|
|
661
|
+
*/
|
|
662
|
+
contextualisedNumber?: number;
|
|
663
|
+
/**
|
|
664
|
+
* Accessible label text for the remove button in removable tags.
|
|
665
|
+
*/
|
|
666
|
+
removableLabel?: string;
|
|
667
|
+
};
|
|
668
|
+
|
|
375
669
|
/**
|
|
376
670
|
* A textarea is a form element for multi-line text input, ideal for longer content like comments or descriptions.
|
|
377
671
|
*/
|
|
378
|
-
declare type
|
|
672
|
+
declare type __VLS_Props_27 = {
|
|
379
673
|
/**
|
|
380
674
|
* A unique identifier for the textarea, used to associate the label with the form element.
|
|
381
675
|
*/
|
|
@@ -418,48 +712,10 @@ declare type __VLS_Props_19 = {
|
|
|
418
712
|
readonly?: boolean;
|
|
419
713
|
};
|
|
420
714
|
|
|
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
715
|
/**
|
|
460
716
|
* Inputs are used to create input fields with text on a single line. Their states depends on the user interaction or the context.
|
|
461
717
|
*/
|
|
462
|
-
declare type
|
|
718
|
+
declare type __VLS_Props_28 = {
|
|
463
719
|
/**
|
|
464
720
|
* A unique identifier for the input element, used to associate the label with the form element.
|
|
465
721
|
*/
|
|
@@ -509,7 +765,7 @@ declare type __VLS_Props_20 = {
|
|
|
509
765
|
/**
|
|
510
766
|
* 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
767
|
*/
|
|
512
|
-
declare type
|
|
768
|
+
declare type __VLS_Props_29 = {
|
|
513
769
|
/**
|
|
514
770
|
* A unique identifier for the toggle, used to associate the label with the form element.
|
|
515
771
|
*/
|
|
@@ -536,36 +792,6 @@ declare type __VLS_Props_21 = {
|
|
|
536
792
|
disabled?: boolean;
|
|
537
793
|
};
|
|
538
794
|
|
|
539
|
-
/**
|
|
540
|
-
* 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
|
-
*/
|
|
542
|
-
declare type __VLS_Props_22 = {
|
|
543
|
-
/**
|
|
544
|
-
* The name attribute for the toggle element, typically used for form submission.
|
|
545
|
-
*/
|
|
546
|
-
name: string;
|
|
547
|
-
/**
|
|
548
|
-
* Property used to manage the values checked by v-model
|
|
549
|
-
* (Do not use directly)
|
|
550
|
-
*/
|
|
551
|
-
modelValue?: Array<string>;
|
|
552
|
-
/**
|
|
553
|
-
* list of properties of each toggle of the toggle group
|
|
554
|
-
*/
|
|
555
|
-
options: Array<{
|
|
556
|
-
id: string;
|
|
557
|
-
label: string;
|
|
558
|
-
value: string;
|
|
559
|
-
disabled?: boolean;
|
|
560
|
-
isInvalid?: boolean;
|
|
561
|
-
size?: 's' | 'm';
|
|
562
|
-
}>;
|
|
563
|
-
/**
|
|
564
|
-
* If `true`, make the form element of the group inline.
|
|
565
|
-
*/
|
|
566
|
-
inline?: boolean;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
795
|
/**
|
|
570
796
|
* Checkboxes are used to select one or multiple options in a list. They usually find their place in forms and are also used to accept some mentions.
|
|
571
797
|
*/
|
|
@@ -595,9 +821,39 @@ declare type __VLS_Props_3 = {
|
|
|
595
821
|
*/
|
|
596
822
|
isInvalid?: boolean;
|
|
597
823
|
/**
|
|
598
|
-
* If `true`, disables the checkbox, making it non-interactive.
|
|
824
|
+
* If `true`, disables the checkbox, making it non-interactive.
|
|
825
|
+
*/
|
|
826
|
+
disabled?: boolean;
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* 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.
|
|
831
|
+
*/
|
|
832
|
+
declare type __VLS_Props_30 = {
|
|
833
|
+
/**
|
|
834
|
+
* The name attribute for the toggle element, typically used for form submission.
|
|
835
|
+
*/
|
|
836
|
+
name: string;
|
|
837
|
+
/**
|
|
838
|
+
* Property used to manage the values checked by v-model
|
|
839
|
+
* (Do not use directly)
|
|
840
|
+
*/
|
|
841
|
+
modelValue?: Array<string>;
|
|
842
|
+
/**
|
|
843
|
+
* list of properties of each toggle of the toggle group
|
|
844
|
+
*/
|
|
845
|
+
options: Array<{
|
|
846
|
+
id: string;
|
|
847
|
+
label: string;
|
|
848
|
+
value: string;
|
|
849
|
+
disabled?: boolean;
|
|
850
|
+
isInvalid?: boolean;
|
|
851
|
+
size?: 's' | 'm';
|
|
852
|
+
}>;
|
|
853
|
+
/**
|
|
854
|
+
* If `true`, make the form element of the group inline.
|
|
599
855
|
*/
|
|
600
|
-
|
|
856
|
+
inline?: boolean;
|
|
601
857
|
};
|
|
602
858
|
|
|
603
859
|
/**
|
|
@@ -630,9 +886,57 @@ declare type __VLS_Props_4 = {
|
|
|
630
886
|
};
|
|
631
887
|
|
|
632
888
|
/**
|
|
633
|
-
*
|
|
889
|
+
* A Divider serves as a visual divider to separate content, providing a clear distinction between sections.
|
|
634
890
|
*/
|
|
635
891
|
declare type __VLS_Props_5 = {
|
|
892
|
+
/**
|
|
893
|
+
* Determines the orientation of the divider
|
|
894
|
+
*/
|
|
895
|
+
orientation?: 'vertical' | 'horizontal';
|
|
896
|
+
/**
|
|
897
|
+
* Determines the style of the divider
|
|
898
|
+
*/
|
|
899
|
+
style?: 'primary' | 'secondary' | 'tertiary' | 'inverse';
|
|
900
|
+
/**
|
|
901
|
+
* Determines the size of the divider
|
|
902
|
+
*/
|
|
903
|
+
size?: 's' | 'm' | 'l';
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* A drawer is a sliding panel that appears from the side of the screen, providing additional content, settings, or actions without disrupting the main view. It is often used for filtering options, or contextual details. It enhances usability by keeping interfaces clean while offering expandable functionality.
|
|
908
|
+
*/
|
|
909
|
+
declare type __VLS_Props_6 = {
|
|
910
|
+
/**
|
|
911
|
+
* If `true`, display the drawer.
|
|
912
|
+
*/
|
|
913
|
+
open?: boolean;
|
|
914
|
+
/**
|
|
915
|
+
* Position of the drawer
|
|
916
|
+
*/
|
|
917
|
+
position?: 'left' | 'right';
|
|
918
|
+
/**
|
|
919
|
+
* If `true`, the drawer have a bigger width.
|
|
920
|
+
*/
|
|
921
|
+
extended?: boolean;
|
|
922
|
+
/**
|
|
923
|
+
* If `true`, display the back button.
|
|
924
|
+
*/
|
|
925
|
+
back?: boolean;
|
|
926
|
+
/**
|
|
927
|
+
* Title of the drawer
|
|
928
|
+
*/
|
|
929
|
+
title: string;
|
|
930
|
+
/**
|
|
931
|
+
* Title of the content of the drawer
|
|
932
|
+
*/
|
|
933
|
+
contentTitle?: string;
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* This component creates a structured form field with a label, optional help text, error and validation message handling.
|
|
938
|
+
*/
|
|
939
|
+
declare type __VLS_Props_7 = {
|
|
636
940
|
/**
|
|
637
941
|
* A unique identifier for the form field, used to associate the label with the form element.
|
|
638
942
|
*/
|
|
@@ -674,7 +978,7 @@ declare type __VLS_Props_5 = {
|
|
|
674
978
|
/**
|
|
675
979
|
* 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
980
|
*/
|
|
677
|
-
declare type
|
|
981
|
+
declare type __VLS_Props_8 = {
|
|
678
982
|
/**
|
|
679
983
|
* A unique identifier for the form field, used to associate the label with the form element.
|
|
680
984
|
*/
|
|
@@ -708,7 +1012,7 @@ declare type __VLS_Props_6 = {
|
|
|
708
1012
|
/**
|
|
709
1013
|
* Icon Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
|
|
710
1014
|
*/
|
|
711
|
-
declare type
|
|
1015
|
+
declare type __VLS_Props_9 = {
|
|
712
1016
|
/**
|
|
713
1017
|
* Defines the visual style of the icon button.
|
|
714
1018
|
*/
|
|
@@ -735,58 +1039,6 @@ declare type __VLS_Props_7 = {
|
|
|
735
1039
|
type?: 'button' | 'reset' | 'submit';
|
|
736
1040
|
};
|
|
737
1041
|
|
|
738
|
-
/**
|
|
739
|
-
* A link is a component used exclusively to navigate to internal or external webpages or to anchors in the current page.
|
|
740
|
-
*/
|
|
741
|
-
declare type __VLS_Props_8 = {
|
|
742
|
-
/**
|
|
743
|
-
* Position of the icon relative to the text.
|
|
744
|
-
*/
|
|
745
|
-
iconPosition?: 'left' | 'right';
|
|
746
|
-
/**
|
|
747
|
-
* Allows to define the link style
|
|
748
|
-
*/
|
|
749
|
-
appearance?: 'secondary' | 'accent' | 'inverse' | 'standard';
|
|
750
|
-
/**
|
|
751
|
-
* Allows to define the link size
|
|
752
|
-
*/
|
|
753
|
-
size?: 's' | 'm';
|
|
754
|
-
/**
|
|
755
|
-
* URL for the link (for external links or the `to` prop for `router-link`).
|
|
756
|
-
*/
|
|
757
|
-
href?: string;
|
|
758
|
-
/**
|
|
759
|
-
* Where to open the link
|
|
760
|
-
*/
|
|
761
|
-
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
762
|
-
/**
|
|
763
|
-
* Specify wether the link is inline
|
|
764
|
-
*/
|
|
765
|
-
inline?: boolean;
|
|
766
|
-
/**
|
|
767
|
-
* If `true`, the link will be rendered as a `router-link` for internal navigation (Vue Router).
|
|
768
|
-
*/
|
|
769
|
-
router?: boolean;
|
|
770
|
-
};
|
|
771
|
-
|
|
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
1042
|
declare function __VLS_template(): {
|
|
791
1043
|
attrs: Partial<{}>;
|
|
792
1044
|
slots: Readonly<{
|
|
@@ -812,7 +1064,75 @@ declare function __VLS_template(): {
|
|
|
812
1064
|
rootEl: HTMLButtonElement;
|
|
813
1065
|
};
|
|
814
1066
|
|
|
1067
|
+
declare function __VLS_template_10(): {
|
|
1068
|
+
attrs: Partial<{}>;
|
|
1069
|
+
slots: Readonly<{
|
|
1070
|
+
/**
|
|
1071
|
+
* Use this slot to insert a button or a link in the footer
|
|
1072
|
+
*/
|
|
1073
|
+
footer?: VNode;
|
|
1074
|
+
}> & {
|
|
1075
|
+
/**
|
|
1076
|
+
* Use this slot to insert a button or a link in the footer
|
|
1077
|
+
*/
|
|
1078
|
+
footer?: VNode;
|
|
1079
|
+
};
|
|
1080
|
+
refs: {};
|
|
1081
|
+
rootEl: HTMLElement;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
declare function __VLS_template_11(): {
|
|
1085
|
+
attrs: Partial<{}>;
|
|
1086
|
+
slots: Readonly<{
|
|
1087
|
+
/**
|
|
1088
|
+
* Use this slot to insert an icon in the input
|
|
1089
|
+
*/
|
|
1090
|
+
icon?: VNode;
|
|
1091
|
+
}> & {
|
|
1092
|
+
/**
|
|
1093
|
+
* Use this slot to insert an icon in the input
|
|
1094
|
+
*/
|
|
1095
|
+
icon?: VNode;
|
|
1096
|
+
};
|
|
1097
|
+
refs: {};
|
|
1098
|
+
rootEl: HTMLDivElement;
|
|
1099
|
+
};
|
|
1100
|
+
|
|
815
1101
|
declare function __VLS_template_2(): {
|
|
1102
|
+
attrs: Partial<{}>;
|
|
1103
|
+
slots: {
|
|
1104
|
+
default?(_: {}): any;
|
|
1105
|
+
};
|
|
1106
|
+
refs: {};
|
|
1107
|
+
rootEl: HTMLDivElement;
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
declare function __VLS_template_3(): {
|
|
1111
|
+
attrs: Partial<{}>;
|
|
1112
|
+
slots: Readonly<{
|
|
1113
|
+
/**
|
|
1114
|
+
* Use this slot to insert the content of the drawer
|
|
1115
|
+
*/
|
|
1116
|
+
default?: VNode;
|
|
1117
|
+
/**
|
|
1118
|
+
* Use this slot to insert buttons in the footer
|
|
1119
|
+
*/
|
|
1120
|
+
footer?: VNode;
|
|
1121
|
+
}> & {
|
|
1122
|
+
/**
|
|
1123
|
+
* Use this slot to insert the content of the drawer
|
|
1124
|
+
*/
|
|
1125
|
+
default?: VNode;
|
|
1126
|
+
/**
|
|
1127
|
+
* Use this slot to insert buttons in the footer
|
|
1128
|
+
*/
|
|
1129
|
+
footer?: VNode;
|
|
1130
|
+
};
|
|
1131
|
+
refs: {};
|
|
1132
|
+
rootEl: HTMLDivElement;
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
declare function __VLS_template_4(): {
|
|
816
1136
|
attrs: Partial<{}>;
|
|
817
1137
|
slots: Readonly<{
|
|
818
1138
|
/**
|
|
@@ -829,7 +1149,7 @@ declare function __VLS_template_2(): {
|
|
|
829
1149
|
rootEl: HTMLDivElement;
|
|
830
1150
|
};
|
|
831
1151
|
|
|
832
|
-
declare function
|
|
1152
|
+
declare function __VLS_template_5(): {
|
|
833
1153
|
attrs: Partial<{}>;
|
|
834
1154
|
slots: Readonly<{
|
|
835
1155
|
/**
|
|
@@ -846,7 +1166,7 @@ declare function __VLS_template_3(): {
|
|
|
846
1166
|
rootEl: HTMLFieldSetElement;
|
|
847
1167
|
};
|
|
848
1168
|
|
|
849
|
-
declare function
|
|
1169
|
+
declare function __VLS_template_6(): {
|
|
850
1170
|
attrs: Partial<{}>;
|
|
851
1171
|
slots: Readonly<{
|
|
852
1172
|
/**
|
|
@@ -863,7 +1183,7 @@ declare function __VLS_template_4(): {
|
|
|
863
1183
|
rootEl: HTMLButtonElement;
|
|
864
1184
|
};
|
|
865
1185
|
|
|
866
|
-
declare function
|
|
1186
|
+
declare function __VLS_template_7(): {
|
|
867
1187
|
attrs: Partial<{}>;
|
|
868
1188
|
slots: Readonly<{
|
|
869
1189
|
/**
|
|
@@ -888,52 +1208,59 @@ declare function __VLS_template_5(): {
|
|
|
888
1208
|
rootEl: any;
|
|
889
1209
|
};
|
|
890
1210
|
|
|
891
|
-
declare function
|
|
1211
|
+
declare function __VLS_template_8(): {
|
|
892
1212
|
attrs: Partial<{}>;
|
|
893
1213
|
slots: Readonly<{
|
|
894
1214
|
/**
|
|
895
|
-
* Use this slot to insert
|
|
1215
|
+
* Use this slot to insert an icon next to the title of the modal
|
|
896
1216
|
*/
|
|
897
|
-
|
|
898
|
-
}> & {
|
|
1217
|
+
icon?: VNode;
|
|
899
1218
|
/**
|
|
900
|
-
* Use this slot to insert
|
|
1219
|
+
* Use this slot to insert the content of the modal
|
|
901
1220
|
*/
|
|
902
1221
|
default?: VNode;
|
|
903
|
-
};
|
|
904
|
-
refs: {};
|
|
905
|
-
rootEl: HTMLDivElement;
|
|
906
|
-
};
|
|
907
|
-
|
|
908
|
-
declare function __VLS_template_7(): {
|
|
909
|
-
attrs: Partial<{}>;
|
|
910
|
-
slots: Readonly<{
|
|
911
1222
|
/**
|
|
912
|
-
* Use this slot to insert a
|
|
1223
|
+
* Use this slot to insert a link in the footer
|
|
1224
|
+
*/
|
|
1225
|
+
link?: VNode;
|
|
1226
|
+
/**
|
|
1227
|
+
* Use this slot to insert buttons in the footer
|
|
913
1228
|
*/
|
|
914
1229
|
footer?: VNode;
|
|
915
1230
|
}> & {
|
|
916
1231
|
/**
|
|
917
|
-
* Use this slot to insert
|
|
1232
|
+
* Use this slot to insert an icon next to the title of the modal
|
|
1233
|
+
*/
|
|
1234
|
+
icon?: VNode;
|
|
1235
|
+
/**
|
|
1236
|
+
* Use this slot to insert the content of the modal
|
|
1237
|
+
*/
|
|
1238
|
+
default?: VNode;
|
|
1239
|
+
/**
|
|
1240
|
+
* Use this slot to insert a link in the footer
|
|
1241
|
+
*/
|
|
1242
|
+
link?: VNode;
|
|
1243
|
+
/**
|
|
1244
|
+
* Use this slot to insert buttons in the footer
|
|
918
1245
|
*/
|
|
919
1246
|
footer?: VNode;
|
|
920
1247
|
};
|
|
921
1248
|
refs: {};
|
|
922
|
-
rootEl:
|
|
1249
|
+
rootEl: HTMLDivElement;
|
|
923
1250
|
};
|
|
924
1251
|
|
|
925
|
-
declare function
|
|
1252
|
+
declare function __VLS_template_9(): {
|
|
926
1253
|
attrs: Partial<{}>;
|
|
927
1254
|
slots: Readonly<{
|
|
928
1255
|
/**
|
|
929
|
-
* Use this slot to insert
|
|
1256
|
+
* Use this slot to insert a centered content inside the overlay
|
|
930
1257
|
*/
|
|
931
|
-
|
|
1258
|
+
default?: VNode;
|
|
932
1259
|
}> & {
|
|
933
1260
|
/**
|
|
934
|
-
* Use this slot to insert
|
|
1261
|
+
* Use this slot to insert a centered content inside the overlay
|
|
935
1262
|
*/
|
|
936
|
-
|
|
1263
|
+
default?: VNode;
|
|
937
1264
|
};
|
|
938
1265
|
refs: {};
|
|
939
1266
|
rootEl: HTMLDivElement;
|
|
@@ -941,6 +1268,10 @@ declare function __VLS_template_8(): {
|
|
|
941
1268
|
|
|
942
1269
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
943
1270
|
|
|
1271
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1272
|
+
|
|
1273
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1274
|
+
|
|
944
1275
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
945
1276
|
|
|
946
1277
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -955,12 +1286,26 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
|
955
1286
|
|
|
956
1287
|
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
957
1288
|
|
|
1289
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1290
|
+
|
|
958
1291
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
959
1292
|
new (): {
|
|
960
1293
|
$slots: S;
|
|
961
1294
|
};
|
|
962
1295
|
};
|
|
963
1296
|
|
|
1297
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1298
|
+
new (): {
|
|
1299
|
+
$slots: S;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1304
|
+
new (): {
|
|
1305
|
+
$slots: S;
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
|
|
964
1309
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
965
1310
|
new (): {
|
|
966
1311
|
$slots: S;
|
|
@@ -1003,6 +1348,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
1003
1348
|
};
|
|
1004
1349
|
};
|
|
1005
1350
|
|
|
1351
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1352
|
+
new (): {
|
|
1353
|
+
$slots: S;
|
|
1354
|
+
};
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1006
1357
|
export declare const MBreadcrumb: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1007
1358
|
|
|
1008
1359
|
export declare const MButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1019,29 +1370,43 @@ export declare const MCheckboxGroup: DefineComponent<__VLS_Props_4, {}, {}, {},
|
|
|
1019
1370
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1020
1371
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1021
1372
|
|
|
1022
|
-
export declare const
|
|
1373
|
+
export declare const MDivider: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1023
1374
|
|
|
1024
|
-
export declare const
|
|
1375
|
+
export declare const MDrawer: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1025
1376
|
|
|
1026
|
-
export declare const
|
|
1377
|
+
export declare const MField: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1027
1378
|
|
|
1028
|
-
export declare const
|
|
1379
|
+
export declare const MFieldGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1029
1380
|
|
|
1030
|
-
export declare const
|
|
1381
|
+
export declare const MIconButton: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1382
|
+
|
|
1383
|
+
export declare const MLink: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1384
|
+
|
|
1385
|
+
export declare const MLoader: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
1031
1386
|
appearance: "standard" | "accent" | "inverse";
|
|
1032
1387
|
size: "s" | "m" | "l";
|
|
1033
1388
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1034
1389
|
|
|
1035
|
-
export declare const
|
|
1390
|
+
export declare const MLoadingOverlay: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1391
|
+
|
|
1392
|
+
export declare const MModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1393
|
+
|
|
1394
|
+
export declare const MNumberBadge: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
1036
1395
|
appearance: "danger" | "accent" | "inverse" | "standard";
|
|
1037
1396
|
size: "s" | "m";
|
|
1038
1397
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1039
1398
|
|
|
1040
|
-
export declare const MOverlay:
|
|
1399
|
+
export declare const MOverlay: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1041
1400
|
|
|
1042
|
-
export declare const
|
|
1401
|
+
export declare const MPagination: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1402
|
+
"update:modelValue": (value: number) => any;
|
|
1403
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1404
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1405
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1406
|
+
|
|
1407
|
+
export declare const MPasswordInput: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1043
1408
|
"update:modelValue": (value: string | number) => any;
|
|
1044
|
-
}, string, PublicProps, Readonly<
|
|
1409
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1045
1410
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1046
1411
|
}>, {
|
|
1047
1412
|
clearLabel: string;
|
|
@@ -1134,68 +1499,98 @@ icon?: VNode;
|
|
|
1134
1499
|
}) | null;
|
|
1135
1500
|
}, HTMLDivElement>;
|
|
1136
1501
|
|
|
1137
|
-
export declare const
|
|
1502
|
+
export declare const MPincode: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1503
|
+
"update:modelValue": (value: string) => any;
|
|
1504
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1505
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1506
|
+
}>, {
|
|
1507
|
+
length: 4 | 5 | 6;
|
|
1508
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1509
|
+
|
|
1510
|
+
export declare const MQuantitySelector: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1138
1511
|
"update:modelValue": (value: number) => any;
|
|
1139
|
-
}, string, PublicProps, Readonly<
|
|
1512
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
1140
1513
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1141
1514
|
}>, {
|
|
1142
1515
|
size: "s" | "m";
|
|
1143
1516
|
name: string;
|
|
1144
1517
|
modelValue: number;
|
|
1518
|
+
step: number;
|
|
1145
1519
|
min: number;
|
|
1146
1520
|
max: number;
|
|
1147
|
-
step: number;
|
|
1148
1521
|
incrementlabel: string;
|
|
1149
1522
|
decrementLabel: string;
|
|
1150
1523
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1151
1524
|
|
|
1152
|
-
export declare const MRadio: DefineComponent<
|
|
1525
|
+
export declare const MRadio: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1153
1526
|
"update:modelValue": (value: boolean) => any;
|
|
1154
|
-
}, string, PublicProps, Readonly<
|
|
1527
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
1155
1528
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1156
1529
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1157
1530
|
|
|
1158
|
-
export declare const MRadioGroup: DefineComponent<
|
|
1531
|
+
export declare const MRadioGroup: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1159
1532
|
"update:modelValue": (value: string) => any;
|
|
1160
|
-
}, string, PublicProps, Readonly<
|
|
1533
|
+
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
1161
1534
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1162
1535
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1163
1536
|
|
|
1164
|
-
export declare const MSelect: DefineComponent<
|
|
1537
|
+
export declare const MSelect: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1165
1538
|
"update:modelValue": (value: string | number) => any;
|
|
1166
|
-
}, string, PublicProps, Readonly<
|
|
1539
|
+
}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
|
|
1167
1540
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1168
1541
|
}>, {
|
|
1169
1542
|
size: "s" | "m";
|
|
1170
1543
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSelectElement>;
|
|
1171
1544
|
|
|
1172
|
-
export declare const MStatusBadge: DefineComponent<
|
|
1545
|
+
export declare const MStatusBadge: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
1173
1546
|
status: "info" | "success" | "warning" | "error" | "neutral";
|
|
1174
1547
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1175
1548
|
|
|
1176
|
-
export declare const MStatusNotification:
|
|
1549
|
+
export declare const MStatusNotification: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1550
|
+
|
|
1551
|
+
export declare const MTabs: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1552
|
+
"update:modelValue": (value: number) => any;
|
|
1553
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
1554
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1555
|
+
}>, {
|
|
1556
|
+
modelValue: number;
|
|
1557
|
+
divider: boolean;
|
|
1558
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1559
|
+
tab: HTMLButtonElement;
|
|
1560
|
+
}, HTMLElement>;
|
|
1561
|
+
|
|
1562
|
+
export declare const MTag: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1563
|
+
"update:modelValue": (value: boolean) => any;
|
|
1564
|
+
"remove-tag": (id: string) => any;
|
|
1565
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
1566
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1567
|
+
"onRemove-tag"?: ((id: string) => any) | undefined;
|
|
1568
|
+
}>, {
|
|
1569
|
+
type: "informative" | "interactive" | "contextualised" | "removable" | "selectable";
|
|
1570
|
+
contextualisedNumber: number;
|
|
1571
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1177
1572
|
|
|
1178
|
-
export declare const MTextArea: DefineComponent<
|
|
1573
|
+
export declare const MTextArea: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1179
1574
|
"update:modelValue": (value: string | number) => any;
|
|
1180
|
-
}, string, PublicProps, Readonly<
|
|
1575
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
1181
1576
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1182
1577
|
}>, {
|
|
1183
1578
|
rows: number;
|
|
1184
1579
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTextAreaElement>;
|
|
1185
1580
|
|
|
1186
|
-
export declare const MTextInput:
|
|
1581
|
+
export declare const MTextInput: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1187
1582
|
|
|
1188
|
-
export declare const MToggle: DefineComponent<
|
|
1583
|
+
export declare const MToggle: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1189
1584
|
"update:modelValue": (value: boolean) => any;
|
|
1190
|
-
}, string, PublicProps, Readonly<
|
|
1585
|
+
}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{
|
|
1191
1586
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1192
1587
|
}>, {
|
|
1193
1588
|
size: "s" | "m";
|
|
1194
1589
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1195
1590
|
|
|
1196
|
-
export declare const MToggleGroup: DefineComponent<
|
|
1591
|
+
export declare const MToggleGroup: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1197
1592
|
"update:modelValue": (value: string[]) => any;
|
|
1198
|
-
}, string, PublicProps, Readonly<
|
|
1593
|
+
}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
|
|
1199
1594
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
1200
1595
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1201
1596
|
|