@mozaic-ds/vue 1.0.0-beta.4 → 1.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +33 -166
  2. package/dist/mozaic-vue.css +1 -1
  3. package/dist/mozaic-vue.d.ts +347 -65
  4. package/dist/mozaic-vue.js +670 -328
  5. package/dist/mozaic-vue.js.map +1 -1
  6. package/dist/mozaic-vue.umd.cjs +1 -1
  7. package/dist/mozaic-vue.umd.cjs.map +1 -1
  8. package/package.json +3 -2
  9. package/src/components/GettingStarted.mdx +16 -5
  10. package/src/components/Introduction.mdx +35 -9
  11. package/src/components/Support.mdx +1 -1
  12. package/src/components/breadcrumb/MBreadcrumb.spec.ts +105 -0
  13. package/src/components/breadcrumb/MBreadcrumb.stories.ts +84 -0
  14. package/src/components/breadcrumb/MBreadcrumb.vue +70 -0
  15. package/src/components/button/MButton.stories.ts +1 -1
  16. package/src/components/checkbox/MCheckbox.stories.ts +1 -1
  17. package/src/components/checkboxgroup/MCheckboxGroup.stories.ts +1 -1
  18. package/src/components/checkboxgroup/MCheckboxGroup.vue +2 -2
  19. package/src/components/field/MField.stories.ts +1 -1
  20. package/src/components/fieldgroup/MFieldGroup.stories.ts +175 -26
  21. package/src/components/iconbutton/MIconButton.stories.ts +1 -1
  22. package/src/components/link/MLink.vue +1 -1
  23. package/src/components/loader/MLoader.stories.ts +1 -1
  24. package/src/components/numberbadge/MNumberBadge.spec.ts +56 -0
  25. package/src/components/{badge/MBadge.stories.ts → numberbadge/MNumberBadge.stories.ts} +8 -8
  26. package/src/components/{badge/MBadge.vue → numberbadge/MNumberBadge.vue} +4 -4
  27. package/src/components/passwordinput/MPasswordInput.spec.ts +104 -0
  28. package/src/components/passwordinput/MPasswordInput.stories.ts +75 -0
  29. package/src/components/passwordinput/MPasswordInput.vue +149 -0
  30. package/src/components/quantityselector/MQuantitySelector.stories.ts +1 -1
  31. package/src/components/radio/MRadio.stories.ts +1 -1
  32. package/src/components/radiogroup/MRadioGroup.stories.ts +1 -1
  33. package/src/components/select/MSelect.stories.ts +1 -1
  34. package/src/components/statusbadge/MStatusBadge.stories.ts +5 -5
  35. package/src/components/statusbadge/MStatusBadge.vue +6 -6
  36. package/src/components/statusdot/MStatusDot.spec.ts +51 -0
  37. package/src/components/statusdot/MStatusDot.stories.ts +48 -0
  38. package/src/components/{statusbadge → statusdot}/MStatusDot.vue +8 -4
  39. package/src/components/statusnotification/MStatusNotification.spec.ts +99 -0
  40. package/src/components/statusnotification/MStatusNotification.stories.ts +96 -0
  41. package/src/components/statusnotification/MStatusNotification.vue +106 -0
  42. package/src/components/textarea/MTextArea.stories.ts +1 -1
  43. package/src/components/textinput/MTextInput.stories.ts +1 -1
  44. package/src/components/toggle/MToggle.stories.ts +2 -2
  45. package/src/components/togglegroup/MToggleGroup.spec.ts +78 -0
  46. package/src/components/togglegroup/MToggleGroup.stories.ts +61 -0
  47. package/src/components/togglegroup/MToggleGroup.vue +97 -0
  48. package/src/main.ts +22 -39
  49. package/src/components/badge/MBadge.spec.ts +0 -16
@@ -1,8 +1,24 @@
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { ComponentCustomProperties } from 'vue';
3
+ import { ComponentCustomProps } from 'vue';
4
+ import { ComponentInternalInstance } from 'vue';
5
+ import { ComponentOptionsBase } from 'vue';
1
6
  import { ComponentOptionsMixin } from 'vue';
2
7
  import { ComponentProvideOptions } from 'vue';
8
+ import { ComponentPublicInstance } from 'vue';
9
+ import { DebuggerEvent } from 'vue';
3
10
  import { DefineComponent } from 'vue';
11
+ import { GlobalComponents } from 'vue';
12
+ import { GlobalDirectives } from 'vue';
13
+ import { nextTick } from 'vue';
14
+ import { OnCleanup } from '@vue/reactivity';
4
15
  import { PublicProps } from 'vue';
16
+ import { ShallowUnwrapRef } from 'vue';
17
+ import { Slot } from 'vue';
5
18
  import { VNode } from 'vue';
19
+ import { VNodeProps } from 'vue';
20
+ import { WatchOptions } from 'vue';
21
+ import { WatchStopHandle } from 'vue';
6
22
 
7
23
  declare const __VLS_component: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
8
24
  appearance: "standard" | "accent" | "danger" | "inverse";
@@ -21,29 +37,64 @@ type: "button" | "reset" | "submit";
21
37
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
22
38
 
23
39
  declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
40
+ iconPosition: "left" | "right";
24
41
  appearance: "secondary" | "accent" | "inverse" | "standard";
25
42
  size: "s" | "m";
26
- iconPosition: "left" | "right";
27
- target: string;
28
43
  href: string;
44
+ target: "_self" | "_blank" | "_parent" | "_top";
29
45
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
30
46
 
31
- declare const __VLS_component_6: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
47
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
48
+
49
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
50
+ close: () => any;
51
+ }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
52
+ onClose?: (() => any) | undefined;
53
+ }>, {
54
+ status: "info" | "success" | "warning" | "error";
55
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
32
56
 
33
- declare const __VLS_component_7: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
57
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
34
58
  "update:modelValue": (value: string | number) => any;
35
- }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
59
+ }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
36
60
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
37
61
  }>, {
38
62
  size: "s" | "m";
39
- inputType: "date" | "email" | "number" | "password" | "search" | "tel" | "text";
40
63
  clearLabel: string;
64
+ inputType: "date" | "email" | "number" | "password" | "search" | "tel" | "text";
41
65
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
42
66
 
43
67
  /**
44
- * A badge indicates the status of an entity and can evolve at any time.
68
+ * 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.
45
69
  */
46
70
  declare type __VLS_Props = {
71
+ /**
72
+ * Allows to define the breadcrumb style
73
+ */
74
+ appearance?: 'standard' | 'inverse';
75
+ /**
76
+ * Links of the breadcrumb
77
+ */
78
+ links?: Array<{
79
+ /**
80
+ * The label displayed for the link.
81
+ */
82
+ label: string;
83
+ /**
84
+ * URL for the link (for external links or the `to` prop for `router-link`).
85
+ */
86
+ href: string;
87
+ /**
88
+ * If `true`, the link will be rendered as a `router-link` for internal navigation (Vue Router).
89
+ */
90
+ router?: boolean;
91
+ }>;
92
+ };
93
+
94
+ /**
95
+ * A badge indicates the status of an entity and can evolve at any time.
96
+ */
97
+ declare type __VLS_Props_10 = {
47
98
  /**
48
99
  * Content of the badge
49
100
  */
@@ -61,7 +112,7 @@ declare type __VLS_Props = {
61
112
  /**
62
113
  * 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.
63
114
  */
64
- declare type __VLS_Props_10 = {
115
+ declare type __VLS_Props_11 = {
65
116
  /**
66
117
  * Controls the visibility of the overlay.
67
118
  */
@@ -72,10 +123,59 @@ declare type __VLS_Props_10 = {
72
123
  dialogLabel?: string;
73
124
  };
74
125
 
126
+ /**
127
+ * 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
+ */
129
+ declare type __VLS_Props_12 = {
130
+ /**
131
+ * A unique identifier for the password input element, used to associate the label with the form element.
132
+ */
133
+ id: string;
134
+ /**
135
+ * The name attribute for the password input element, typically used for form submission.
136
+ */
137
+ name?: string;
138
+ /**
139
+ * The current value of the password input field.
140
+ */
141
+ modelValue?: string | number;
142
+ /**
143
+ * A placeholder text to show in the password input when it is empty.
144
+ */
145
+ placeholder?: string;
146
+ /**
147
+ * If `true`, applies an invalid state to the password input.
148
+ */
149
+ isInvalid?: boolean;
150
+ /**
151
+ * If `true`, disables the password input, making it non-interactive.
152
+ */
153
+ disabled?: boolean;
154
+ /**
155
+ * If `true`, the password input is read-only (cannot be edited).
156
+ */
157
+ readonly?: boolean;
158
+ /**
159
+ * If `true`, a clear button will appear when the password input has a value.
160
+ */
161
+ isClearable?: boolean;
162
+ /**
163
+ * The label text for the clear button
164
+ */
165
+ clearLabel?: string;
166
+ /**
167
+ * Labels of the button displayed when showing or hiding the password
168
+ */
169
+ buttonLabel?: {
170
+ show: string;
171
+ hide: string;
172
+ };
173
+ };
174
+
75
175
  /**
76
176
  * 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.
77
177
  */
78
- declare type __VLS_Props_11 = {
178
+ declare type __VLS_Props_13 = {
79
179
  /**
80
180
  * A unique identifier for the quantity selector element, used to associate the label with the form element.
81
181
  */
@@ -129,7 +229,7 @@ declare type __VLS_Props_11 = {
129
229
  /**
130
230
  * A radio button is used to offer a unique choice to your user in a form. Unlike checkboxes, it can not be used alone.
131
231
  */
132
- declare type __VLS_Props_12 = {
232
+ declare type __VLS_Props_14 = {
133
233
  /**
134
234
  * A unique identifier for the radio, used to associate the label with the form element.
135
235
  */
@@ -159,7 +259,7 @@ declare type __VLS_Props_12 = {
159
259
  /**
160
260
  * A radio button is used to offer a unique choice to your user in a form. Unlike checkboxes, it can not be used alone.
161
261
  */
162
- declare type __VLS_Props_13 = {
262
+ declare type __VLS_Props_15 = {
163
263
  /**
164
264
  * The name attribute for the radio element, typically used for form submission.
165
265
  */
@@ -191,7 +291,7 @@ declare type __VLS_Props_13 = {
191
291
  /**
192
292
  * A select is a form element for multi-line text input, ideal for longer content like comments or descriptions.
193
293
  */
194
- declare type __VLS_Props_14 = {
294
+ declare type __VLS_Props_16 = {
195
295
  /**
196
296
  * A unique identifier for the select, used to associate the label with the form element.
197
297
  */
@@ -239,7 +339,7 @@ declare type __VLS_Props_14 = {
239
339
  /**
240
340
  * A status badge indicates the status of an entity and can evolve at any time.
241
341
  */
242
- declare type __VLS_Props_15 = {
342
+ declare type __VLS_Props_17 = {
243
343
  /**
244
344
  * Content of the Status Badge
245
345
  */
@@ -247,13 +347,35 @@ declare type __VLS_Props_15 = {
247
347
  /**
248
348
  * Allows to define the Status Badge style
249
349
  */
250
- appearance?: 'info' | 'success' | 'warning' | 'danger' | 'neutral';
350
+ status?: 'info' | 'success' | 'warning' | 'error' | 'neutral';
351
+ };
352
+
353
+ /**
354
+ * 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
+ */
356
+ declare type __VLS_Props_18 = {
357
+ /**
358
+ * Title of the Status Notification
359
+ */
360
+ title: string;
361
+ /**
362
+ * Description of the Status Notification
363
+ */
364
+ description: string;
365
+ /**
366
+ * Allows to define the Status Notification style
367
+ */
368
+ status?: 'info' | 'success' | 'warning' | 'error';
369
+ /**
370
+ * if `true`, display the close button.
371
+ */
372
+ closable?: boolean;
251
373
  };
252
374
 
253
375
  /**
254
376
  * A textarea is a form element for multi-line text input, ideal for longer content like comments or descriptions.
255
377
  */
256
- declare type __VLS_Props_16 = {
378
+ declare type __VLS_Props_19 = {
257
379
  /**
258
380
  * A unique identifier for the textarea, used to associate the label with the form element.
259
381
  */
@@ -296,10 +418,48 @@ declare type __VLS_Props_16 = {
296
418
  readonly?: boolean;
297
419
  };
298
420
 
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
+
299
459
  /**
300
460
  * Inputs are used to create input fields with text on a single line. Their states depends on the user interaction or the context.
301
461
  */
302
- declare type __VLS_Props_17 = {
462
+ declare type __VLS_Props_20 = {
303
463
  /**
304
464
  * A unique identifier for the input element, used to associate the label with the form element.
305
465
  */
@@ -349,7 +509,7 @@ declare type __VLS_Props_17 = {
349
509
  /**
350
510
  * 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.
351
511
  */
352
- declare type __VLS_Props_18 = {
512
+ declare type __VLS_Props_21 = {
353
513
  /**
354
514
  * A unique identifier for the toggle, used to associate the label with the form element.
355
515
  */
@@ -377,41 +537,33 @@ declare type __VLS_Props_18 = {
377
537
  };
378
538
 
379
539
  /**
380
- * Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
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.
381
541
  */
382
- declare type __VLS_Props_2 = {
383
- /**
384
- * Defines the visual style of the button.
385
- */
386
- appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
542
+ declare type __VLS_Props_22 = {
387
543
  /**
388
- * Determines the size of the button.
389
- */
390
- size?: 's' | 'm' | 'l';
391
- /**
392
- * If `true`, disables the button, making it non-interactive.
393
- */
394
- disabled?: boolean;
395
- /**
396
- * If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
397
- */
398
- ghost?: boolean;
399
- /**
400
- * If `true`, the button gets an outlined style, usually with just the border and no solid background.
544
+ * The name attribute for the toggle element, typically used for form submission.
401
545
  */
402
- outlined?: boolean;
546
+ name: string;
403
547
  /**
404
- * Controls the positioning of an icon in the button.
548
+ * Property used to manage the values checked by v-model
549
+ * (Do not use directly)
405
550
  */
406
- iconPosition?: 'left' | 'right' | 'only';
551
+ modelValue?: Array<string>;
407
552
  /**
408
- * Specifies the button's HTML `type` attribute.
553
+ * list of properties of each toggle of the toggle group
409
554
  */
410
- type?: 'button' | 'reset' | 'submit';
555
+ options: Array<{
556
+ id: string;
557
+ label: string;
558
+ value: string;
559
+ disabled?: boolean;
560
+ isInvalid?: boolean;
561
+ size?: 's' | 'm';
562
+ }>;
411
563
  /**
412
- * If `true`, a loading state is displayed.
564
+ * If `true`, make the form element of the group inline.
413
565
  */
414
- isLoading?: boolean;
566
+ inline?: boolean;
415
567
  };
416
568
 
417
569
  /**
@@ -453,7 +605,7 @@ declare type __VLS_Props_3 = {
453
605
  */
454
606
  declare type __VLS_Props_4 = {
455
607
  /**
456
- * The name attribute for the radio element, typically used for form submission.
608
+ * The name attribute for the checkbox element, typically used for form submission.
457
609
  */
458
610
  name: string;
459
611
  /**
@@ -462,7 +614,7 @@ declare type __VLS_Props_4 = {
462
614
  */
463
615
  modelValue?: Array<string>;
464
616
  /**
465
- * list of properties of each radio button of the radio group
617
+ * list of properties of each checkbox button of the checkbox group
466
618
  */
467
619
  options: Array<{
468
620
  id: string;
@@ -606,7 +758,7 @@ declare type __VLS_Props_8 = {
606
758
  /**
607
759
  * Where to open the link
608
760
  */
609
- target?: string;
761
+ target?: '_self' | '_blank' | '_parent' | '_top';
610
762
  /**
611
763
  * Specify wether the link is inline
612
764
  */
@@ -754,6 +906,23 @@ declare function __VLS_template_6(): {
754
906
  };
755
907
 
756
908
  declare function __VLS_template_7(): {
909
+ attrs: Partial<{}>;
910
+ slots: Readonly<{
911
+ /**
912
+ * Use this slot to insert a button or a link in the footer
913
+ */
914
+ footer?: VNode;
915
+ }> & {
916
+ /**
917
+ * Use this slot to insert a button or a link in the footer
918
+ */
919
+ footer?: VNode;
920
+ };
921
+ refs: {};
922
+ rootEl: HTMLElement;
923
+ };
924
+
925
+ declare function __VLS_template_8(): {
757
926
  attrs: Partial<{}>;
758
927
  slots: Readonly<{
759
928
  /**
@@ -784,6 +953,8 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
784
953
 
785
954
  declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
786
955
 
956
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
957
+
787
958
  declare type __VLS_WithTemplateSlots<T, S> = T & {
788
959
  new (): {
789
960
  $slots: S;
@@ -826,10 +997,13 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
826
997
  };
827
998
  };
828
999
 
829
- export declare const MBadge: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
830
- appearance: "danger" | "accent" | "inverse" | "standard";
831
- size: "s" | "m";
832
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
1000
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1001
+ new (): {
1002
+ $slots: S;
1003
+ };
1004
+ };
1005
+
1006
+ export declare const MBreadcrumb: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
833
1007
 
834
1008
  export declare const MButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
835
1009
 
@@ -858,11 +1032,111 @@ appearance: "standard" | "accent" | "inverse";
858
1032
  size: "s" | "m" | "l";
859
1033
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
860
1034
 
1035
+ export declare const MNumberBadge: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
1036
+ appearance: "danger" | "accent" | "inverse" | "standard";
1037
+ size: "s" | "m";
1038
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
1039
+
861
1040
  export declare const MOverlay: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
862
1041
 
863
- export declare const MQuantitySelector: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1042
+ export declare const MPasswordInput: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1043
+ "update:modelValue": (value: string | number) => any;
1044
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
1045
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
1046
+ }>, {
1047
+ clearLabel: string;
1048
+ buttonLabel: {
1049
+ show: string;
1050
+ hide: string;
1051
+ };
1052
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1053
+ button: ({
1054
+ $: ComponentInternalInstance;
1055
+ $data: {};
1056
+ $props: {
1057
+ readonly appearance?: "standard" | "accent" | "danger" | "inverse" | undefined;
1058
+ readonly size?: "s" | "m" | "l" | undefined;
1059
+ readonly disabled?: boolean | undefined;
1060
+ readonly ghost?: boolean | undefined;
1061
+ readonly outlined?: boolean | undefined;
1062
+ readonly iconPosition?: "left" | "right" | "only" | undefined;
1063
+ readonly type?: "button" | "reset" | "submit" | undefined;
1064
+ readonly isLoading?: boolean | undefined;
1065
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1066
+ $attrs: {
1067
+ [x: string]: unknown;
1068
+ };
1069
+ $refs: {
1070
+ [x: string]: unknown;
1071
+ };
1072
+ $slots: Readonly<{
1073
+ [name: string]: Slot<any> | undefined;
1074
+ }>;
1075
+ $root: ComponentPublicInstance | null;
1076
+ $parent: ComponentPublicInstance | null;
1077
+ $host: Element | null;
1078
+ $emit: (event: string, ...args: any[]) => void;
1079
+ $el: HTMLButtonElement;
1080
+ $options: ComponentOptionsBase<Readonly<{
1081
+ appearance?: "standard" | "accent" | "danger" | "inverse";
1082
+ size?: "s" | "m" | "l";
1083
+ disabled?: boolean;
1084
+ ghost?: boolean;
1085
+ outlined?: boolean;
1086
+ iconPosition?: "left" | "right" | "only";
1087
+ type?: "button" | "reset" | "submit";
1088
+ isLoading?: boolean;
1089
+ }> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1090
+ appearance: "standard" | "accent" | "danger" | "inverse";
1091
+ size: "s" | "m" | "l";
1092
+ type: "button" | "reset" | "submit";
1093
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1094
+ beforeCreate?: (() => void) | (() => void)[];
1095
+ created?: (() => void) | (() => void)[];
1096
+ beforeMount?: (() => void) | (() => void)[];
1097
+ mounted?: (() => void) | (() => void)[];
1098
+ beforeUpdate?: (() => void) | (() => void)[];
1099
+ updated?: (() => void) | (() => void)[];
1100
+ activated?: (() => void) | (() => void)[];
1101
+ deactivated?: (() => void) | (() => void)[];
1102
+ beforeDestroy?: (() => void) | (() => void)[];
1103
+ beforeUnmount?: (() => void) | (() => void)[];
1104
+ destroyed?: (() => void) | (() => void)[];
1105
+ unmounted?: (() => void) | (() => void)[];
1106
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1107
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1108
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1109
+ };
1110
+ $forceUpdate: () => void;
1111
+ $nextTick: nextTick;
1112
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1113
+ } & Readonly<{
1114
+ appearance: "standard" | "accent" | "danger" | "inverse";
1115
+ size: "s" | "m" | "l";
1116
+ type: "button" | "reset" | "submit";
1117
+ }> & Omit<Readonly<{
1118
+ appearance?: "standard" | "accent" | "danger" | "inverse";
1119
+ size?: "s" | "m" | "l";
1120
+ disabled?: boolean;
1121
+ ghost?: boolean;
1122
+ outlined?: boolean;
1123
+ iconPosition?: "left" | "right" | "only";
1124
+ type?: "button" | "reset" | "submit";
1125
+ isLoading?: boolean;
1126
+ }> & Readonly<{}>, "appearance" | "size" | "type"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1127
+ $slots: Readonly<{
1128
+ default: string;
1129
+ icon?: VNode;
1130
+ }> & {
1131
+ default: string;
1132
+ icon?: VNode;
1133
+ };
1134
+ }) | null;
1135
+ }, HTMLDivElement>;
1136
+
1137
+ export declare const MQuantitySelector: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
864
1138
  "update:modelValue": (value: number) => any;
865
- }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
1139
+ }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
866
1140
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
867
1141
  }>, {
868
1142
  size: "s" | "m";
@@ -875,46 +1149,54 @@ incrementlabel: string;
875
1149
  decrementLabel: string;
876
1150
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
877
1151
 
878
- export declare const MRadio: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1152
+ export declare const MRadio: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
879
1153
  "update:modelValue": (value: boolean) => any;
880
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
1154
+ }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
881
1155
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
882
1156
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
883
1157
 
884
- export declare const MRadioGroup: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1158
+ export declare const MRadioGroup: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
885
1159
  "update:modelValue": (value: string) => any;
886
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
1160
+ }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
887
1161
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
888
1162
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
889
1163
 
890
- export declare const MSelect: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1164
+ export declare const MSelect: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
891
1165
  "update:modelValue": (value: string | number) => any;
892
- }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
1166
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
893
1167
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
894
1168
  }>, {
895
1169
  size: "s" | "m";
896
1170
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSelectElement>;
897
1171
 
898
- export declare const MStatusBadge: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
899
- appearance: "info" | "success" | "warning" | "danger" | "neutral";
1172
+ export declare const MStatusBadge: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
1173
+ status: "info" | "success" | "warning" | "error" | "neutral";
900
1174
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
901
1175
 
902
- export declare const MTextArea: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1176
+ export declare const MStatusNotification: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1177
+
1178
+ export declare const MTextArea: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
903
1179
  "update:modelValue": (value: string | number) => any;
904
- }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
1180
+ }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
905
1181
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
906
1182
  }>, {
907
1183
  rows: number;
908
1184
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTextAreaElement>;
909
1185
 
910
- export declare const MTextInput: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1186
+ export declare const MTextInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
911
1187
 
912
- export declare const MToggle: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1188
+ export declare const MToggle: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
913
1189
  "update:modelValue": (value: boolean) => any;
914
- }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
1190
+ }, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
915
1191
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
916
1192
  }>, {
917
1193
  size: "s" | "m";
918
1194
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
919
1195
 
1196
+ export declare const MToggleGroup: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1197
+ "update:modelValue": (value: string[]) => any;
1198
+ }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
1199
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
1200
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1201
+
920
1202
  export { }