@mozaic-ds/vue 2.16.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.css +2 -1
- package/dist/mozaic-vue.d.ts +134 -91
- package/dist/mozaic-vue.js +17184 -10878
- package/dist/mozaic-vue.js.map +1 -1
- package/dist/mozaic-vue.umd.cjs +23 -22
- package/dist/mozaic-vue.umd.cjs.map +1 -1
- package/package.json +10 -5
- package/src/components/BrandPresets.mdx +2 -2
- package/src/components/ComponentsMapping.mdx +98 -0
- package/src/components/accordionlist/MAccordionList.figma.ts +43 -0
- package/src/components/accordionlistitem/MAccordionListItem.figma.ts +27 -0
- package/src/components/actionbottombar/MActionBottomBar.figma.ts +24 -0
- package/src/components/actionlistbox/MActionListbox.figma.ts +30 -0
- package/src/components/avatar/MAvatar.figma.ts +31 -0
- package/src/components/breadcrumb/MBreadcrumb.figma.ts +31 -0
- package/src/components/builtinmenu/MBuiltInMenu.figma.ts +23 -0
- package/src/components/button/MButton.figma.ts +41 -0
- package/src/components/callout/MCallout.figma.ts +29 -0
- package/src/components/carousel/MCarousel.figma.ts +32 -0
- package/src/components/checkbox/MCheckbox.figma.ts +45 -0
- package/src/components/checkboxgroup/MCheckboxGroup.figma.ts +30 -0
- package/src/components/checklistmenu/MCheckListMenu.figma.ts +29 -0
- package/src/components/circularprogressbar/MCircularProgressbar.figma.ts +31 -0
- package/src/components/combobox/MCombobox.figma.ts +48 -0
- package/src/components/combobox/MCombobox.spec.ts +1 -1
- package/src/components/combobox/MCombobox.vue +18 -9
- package/src/components/combobox/README.md +2 -2
- package/src/components/container/MContainer.figma.ts +30 -0
- package/src/components/datatable/DataTable.stories.ts +277 -0
- package/src/components/datatable/DataTableCells.stories.ts +251 -0
- package/src/components/datatable/DataTableEmpty.stories.ts +102 -0
- package/src/components/datatable/DataTableExpandable.stories.ts +95 -0
- package/src/components/datatable/DataTableNested.stories.ts +96 -0
- package/src/components/datatable/DataTableSelectable.stories.ts +124 -0
- package/src/components/datatable/DataTableSortable.stories.ts +164 -0
- package/src/components/datatable/MDataTable.types.ts +54 -0
- package/src/components/datatable/assets/styles.scss +10 -0
- package/src/components/datatable/datatable.mdx +62 -0
- package/src/components/datatable/tools/data.js +8 -0
- package/src/components/datatable/tools/data.json +2018 -0
- package/src/components/datatable/utils.js +19 -0
- package/src/components/datepicker/MDatepicker.figma.ts +20 -0
- package/src/components/divider/MDivider.figma.ts +30 -0
- package/src/components/drawer/MDrawer.figma.ts +37 -0
- package/src/components/drawer/README.md +1 -1
- package/src/components/field/MField.figma.ts +30 -0
- package/src/components/fileuploader/MFileUploader.figma.ts +23 -0
- package/src/components/fileuploaderitem/MFileUploaderItem.figma.ts +27 -0
- package/src/components/flag/MFlag.figma.ts +26 -0
- package/src/components/iconbutton/MIconButton.figma.ts +54 -0
- package/src/components/kpiitem/MKpiItem.figma.ts +33 -0
- package/src/components/linearprogressbarbuffer/MLinearProgressbarBuffer.figma.ts +31 -0
- package/src/components/linearprogressbarpercentage/MLinearProgressbarPercentage.figma.ts +26 -0
- package/src/components/link/MLink.figma.ts +32 -0
- package/src/components/loader/MLoader.figma.ts +30 -0
- package/src/components/loadingoverlay/MLoadingOverlay.figma.ts +18 -0
- package/src/components/modal/MModal.figma.ts +27 -0
- package/src/components/navigationindicator/MNavigationIndicator.figma.ts +24 -0
- package/src/components/numberbadge/MNumberBadge.figma.ts +31 -0
- package/src/components/optionListbox/MOptionListbox.figma.ts +36 -0
- package/src/components/optionListbox/MOptionListbox.vue +18 -18
- package/src/components/optionListbox/README.md +1 -1
- package/src/components/overlay/MOverlay.figma.ts +20 -0
- package/src/components/pageheader/MPageHeader.figma.ts +21 -0
- package/src/components/pagination/MPagination.figma.ts +34 -0
- package/src/components/passwordinput/MPasswordInput.figma.ts +30 -0
- package/src/components/phonenumber/MPhoneNumber.figma.ts +47 -0
- package/src/components/pincode/MPincode.figma.ts +41 -0
- package/src/components/pincode/MPincode.spec.ts +1 -4
- package/src/components/pincode/MPincode.vue +11 -15
- package/src/components/popover/MPopover.figma.ts +42 -0
- package/src/components/quantityselector/MQuantitySelector.figma.ts +50 -0
- package/src/components/radio/MRadio.figma.ts +40 -0
- package/src/components/radiogroup/MRadioGroup.figma.ts +30 -0
- package/src/components/segmentedcontrol/MSegmentedControl.figma.ts +33 -0
- package/src/components/select/MSelect.figma.ts +49 -0
- package/src/components/sidebar/MSidebar.figma.ts +28 -0
- package/src/components/sidebarexpandableitem/MSidebarExpandableItem.figma.ts +19 -0
- package/src/components/sidebarfooter/MSidebarFooter.figma.ts +21 -0
- package/src/components/sidebarheader/MSidebarHeader.figma.ts +18 -0
- package/src/components/sidebarnavitem/MSidebarNavItem.figma.ts +23 -0
- package/src/components/sidebarshortcutitem/MSidebarShortcutItem.figma.ts +20 -0
- package/src/components/starrating/MStarRating.figma.ts +35 -0
- package/src/components/statusbadge/MStatusBadge.figma.ts +27 -0
- package/src/components/statusdot/MStatusDot.figma.ts +31 -0
- package/src/components/statusmessage/MStatusMessage.figma.ts +28 -0
- package/src/components/statusmessage/MStatusMessage.spec.ts +15 -0
- package/src/components/statusmessage/MStatusMessage.stories.ts +4 -0
- package/src/components/statusmessage/MStatusMessage.vue +7 -0
- package/src/components/statusmessage/README.md +2 -0
- package/src/components/statusnotification/MStatusNotification.figma.ts +29 -0
- package/src/components/stepperbottombar/MStepperBottomBar.figma.ts +20 -0
- package/src/components/steppercompact/MStepperCompact.figma.ts +21 -0
- package/src/components/stepperinline/MStepperInline.figma.ts +23 -0
- package/src/components/stepperstacked/MStepperStacked.figma.ts +23 -0
- package/src/components/tabs/MTabs.figma.ts +33 -0
- package/src/components/tag/MTag.figma.ts +26 -0
- package/src/components/tag/MTag.stories.ts +13 -3
- package/src/components/tag/MTag.vue +11 -1
- package/src/components/tag/README.md +6 -0
- package/src/components/textarea/MTextArea.figma.ts +28 -0
- package/src/components/textinput/MTextInput.figma.ts +51 -0
- package/src/components/tile/MTile.figma.ts +31 -0
- package/src/components/tileclickable/MTileClickable.figma.ts +31 -0
- package/src/components/tileexpandable/MTileExpandable.figma.ts +31 -0
- package/src/components/tileselectable/MTileSelectable.figma.ts +29 -0
- package/src/components/toaster/MToaster.figma.ts +25 -0
- package/src/components/toggle/MToggle.figma.ts +39 -0
- package/src/components/togglegroup/MToggleGroup.figma.ts +30 -0
- package/src/components/tooltip/MTooltip.figma.ts +29 -0
package/dist/mozaic-vue.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import { OnCleanup } from '@vue/reactivity';
|
|
|
18
18
|
import { PublicProps } from 'vue';
|
|
19
19
|
import { Ref } from 'vue';
|
|
20
20
|
import { ShallowRef } from 'vue';
|
|
21
|
-
import { ShallowUnwrapRef } from 'vue';
|
|
22
21
|
import { Slot } from 'vue';
|
|
23
22
|
import { VNode } from 'vue';
|
|
24
23
|
import { VNodeProps } from 'vue';
|
|
@@ -207,9 +206,9 @@ onListboxKeydown: (event: KeyboardEvent) => void;
|
|
|
207
206
|
hideFloatingItem: () => void;
|
|
208
207
|
}> & Readonly<{
|
|
209
208
|
"onLog-out"?: (() => any) | undefined;
|
|
210
|
-
}>, "container"> &
|
|
211
|
-
container:
|
|
212
|
-
}
|
|
209
|
+
}>, "container"> & {
|
|
210
|
+
container: HTMLDivElement | null;
|
|
211
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
213
212
|
$slots: {
|
|
214
213
|
default?(_: {}): any;
|
|
215
214
|
};
|
|
@@ -230,7 +229,19 @@ onClose?: (() => any) | undefined;
|
|
|
230
229
|
status: "info" | "success" | "warning" | "error";
|
|
231
230
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
232
231
|
|
|
233
|
-
declare const __VLS_component_28: DefineComponent<
|
|
232
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_62, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
233
|
+
"update:modelValue": (value: boolean) => any;
|
|
234
|
+
"remove-tag": (id: string) => any;
|
|
235
|
+
}, string, PublicProps, Readonly<__VLS_Props_62> & Readonly<{
|
|
236
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
237
|
+
"onRemove-tag"?: ((id: string) => any) | undefined;
|
|
238
|
+
}>, {
|
|
239
|
+
type: "informative" | "interactive" | "contextualised" | "removable" | "selectable";
|
|
240
|
+
contextualisedNumber: number;
|
|
241
|
+
removableLabel: string;
|
|
242
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
243
|
+
|
|
244
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_64, {
|
|
234
245
|
focus: typeof focus_2;
|
|
235
246
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
236
247
|
"update:modelValue": (value: string | number) => any;
|
|
@@ -244,14 +255,14 @@ clearLabel: string;
|
|
|
244
255
|
textInput: HTMLInputElement;
|
|
245
256
|
}, any>;
|
|
246
257
|
|
|
247
|
-
declare const
|
|
258
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
259
|
+
|
|
260
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_65, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_65> & Readonly<{}>, {
|
|
248
261
|
appearance: "primary" | "secondary" | "inverse";
|
|
249
262
|
bordered: boolean;
|
|
250
263
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
251
264
|
|
|
252
|
-
declare const
|
|
253
|
-
|
|
254
|
-
declare const __VLS_component_30: DefineComponent<__VLS_Props_66, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
265
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_66, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
255
266
|
action: () => any;
|
|
256
267
|
}, string, PublicProps, Readonly<__VLS_Props_66> & Readonly<{
|
|
257
268
|
onAction?: (() => any) | undefined;
|
|
@@ -261,14 +272,14 @@ iconPosition: "bottom" | "right";
|
|
|
261
272
|
bordered: boolean;
|
|
262
273
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
263
274
|
|
|
264
|
-
declare const
|
|
275
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_67, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_67> & Readonly<{}>, {
|
|
265
276
|
appearance: "primary" | "secondary";
|
|
266
277
|
label: string;
|
|
267
278
|
trigger: "container" | "icon" | "button";
|
|
268
279
|
bordered: boolean;
|
|
269
280
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
270
281
|
|
|
271
|
-
declare const
|
|
282
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_68, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
272
283
|
"update:modelValue": (value: boolean) => any;
|
|
273
284
|
}, string, PublicProps, Readonly<__VLS_Props_68> & Readonly<{
|
|
274
285
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -278,7 +289,7 @@ bordered: boolean;
|
|
|
278
289
|
inputPosition: "left" | "right";
|
|
279
290
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
280
291
|
|
|
281
|
-
declare const
|
|
292
|
+
declare const __VLS_component_34: DefineComponent<__VLS_Props_69, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
282
293
|
"update:open": (value: boolean) => any;
|
|
283
294
|
}, string, PublicProps, Readonly<__VLS_Props_69> & Readonly<{
|
|
284
295
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -287,7 +298,7 @@ status: "info" | "success" | "warning" | "error";
|
|
|
287
298
|
closable: boolean;
|
|
288
299
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
289
300
|
|
|
290
|
-
declare const
|
|
301
|
+
declare const __VLS_component_35: DefineComponent<__VLS_Props_72, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_72> & Readonly<{}>, {
|
|
291
302
|
position: "top" | "bottom" | "left" | "right";
|
|
292
303
|
pointer: boolean;
|
|
293
304
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -337,7 +348,6 @@ placeholder: string;
|
|
|
337
348
|
clearLabel: string;
|
|
338
349
|
searchPlaceholder: string;
|
|
339
350
|
selectLabel: string;
|
|
340
|
-
counterLabel: string;
|
|
341
351
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
342
352
|
combobox: HTMLDivElement;
|
|
343
353
|
comboboxControl: HTMLButtonElement;
|
|
@@ -463,9 +473,9 @@ prefix?: string;
|
|
|
463
473
|
suffix?: string;
|
|
464
474
|
}> & Readonly<{
|
|
465
475
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
466
|
-
}>, "focus" | ("size" | "inputType" | "clearLabel")> &
|
|
476
|
+
}>, "focus" | ("size" | "inputType" | "clearLabel")> & {
|
|
467
477
|
focus: () => void;
|
|
468
|
-
}
|
|
478
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
469
479
|
$slots: Readonly<{
|
|
470
480
|
icon?: VNode;
|
|
471
481
|
}> & {
|
|
@@ -553,17 +563,21 @@ options: Array<ListboxOption>;
|
|
|
553
563
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null) => any) | undefined;
|
|
554
564
|
onOpen?: (() => any) | undefined;
|
|
555
565
|
onClose?: (() => any) | undefined;
|
|
556
|
-
}>, "listboxEl" | "handleKeydown" | "toggleValue" | "clearSelection" | "activeIndex" | ("clearLabel" | "searchPlaceholder" | "selectLabel")> &
|
|
566
|
+
}>, "listboxEl" | "handleKeydown" | "toggleValue" | "clearSelection" | "activeIndex" | ("clearLabel" | "searchPlaceholder" | "selectLabel")> & {
|
|
557
567
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
558
568
|
toggleValue: (item?: ListboxOption) => void;
|
|
559
569
|
clearSelection: () => void;
|
|
560
|
-
listboxEl:
|
|
561
|
-
activeIndex:
|
|
562
|
-
}
|
|
570
|
+
listboxEl: HTMLDivElement | null;
|
|
571
|
+
activeIndex: number;
|
|
572
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
563
573
|
$slots: Readonly<{
|
|
564
|
-
|
|
574
|
+
item(props: {
|
|
575
|
+
item: ListboxOption;
|
|
576
|
+
}): VNode;
|
|
565
577
|
}> & {
|
|
566
|
-
|
|
578
|
+
item(props: {
|
|
579
|
+
item: ListboxOption;
|
|
580
|
+
}): VNode;
|
|
567
581
|
};
|
|
568
582
|
}) | null;
|
|
569
583
|
}, HTMLDivElement>;
|
|
@@ -1982,6 +1996,11 @@ declare type __VLS_Props_56 = {
|
|
|
1982
1996
|
* Allows to define the status message style.
|
|
1983
1997
|
*/
|
|
1984
1998
|
status?: 'info' | 'success' | 'warning' | 'error' | 'neutral' | 'inprogress';
|
|
1999
|
+
/**
|
|
2000
|
+
* Allows to define the status message appearance.
|
|
2001
|
+
* The accent status is used to highlight a specific message.
|
|
2002
|
+
*/
|
|
2003
|
+
appearance?: 'standard' | 'accent';
|
|
1985
2004
|
/**
|
|
1986
2005
|
* Label of the status message.
|
|
1987
2006
|
*/
|
|
@@ -3134,9 +3153,9 @@ declare function __VLS_template_25(): {
|
|
|
3134
3153
|
hideFloatingItem: () => void;
|
|
3135
3154
|
}> & Readonly<{
|
|
3136
3155
|
"onLog-out"?: (() => any) | undefined;
|
|
3137
|
-
}>, "container"> &
|
|
3138
|
-
|
|
3139
|
-
}
|
|
3156
|
+
}>, "container"> & {
|
|
3157
|
+
container: HTMLDivElement | null;
|
|
3158
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
3140
3159
|
$slots: {
|
|
3141
3160
|
default?(_: {}): any;
|
|
3142
3161
|
};
|
|
@@ -3187,18 +3206,16 @@ declare function __VLS_template_28(): {
|
|
|
3187
3206
|
attrs: Partial<{}>;
|
|
3188
3207
|
slots: Readonly<{
|
|
3189
3208
|
/**
|
|
3190
|
-
* Use this slot to insert an icon in the
|
|
3209
|
+
* Use this slot to insert an icon in the tag.
|
|
3191
3210
|
*/
|
|
3192
3211
|
icon?: VNode;
|
|
3193
3212
|
}> & {
|
|
3194
3213
|
/**
|
|
3195
|
-
* Use this slot to insert an icon in the
|
|
3214
|
+
* Use this slot to insert an icon in the tag.
|
|
3196
3215
|
*/
|
|
3197
3216
|
icon?: VNode;
|
|
3198
3217
|
};
|
|
3199
|
-
refs: {
|
|
3200
|
-
textInput: HTMLInputElement;
|
|
3201
|
-
};
|
|
3218
|
+
refs: {};
|
|
3202
3219
|
rootEl: any;
|
|
3203
3220
|
};
|
|
3204
3221
|
|
|
@@ -3206,33 +3223,19 @@ declare function __VLS_template_29(): {
|
|
|
3206
3223
|
attrs: Partial<{}>;
|
|
3207
3224
|
slots: Readonly<{
|
|
3208
3225
|
/**
|
|
3209
|
-
*
|
|
3210
|
-
*/
|
|
3211
|
-
default?: VNode[];
|
|
3212
|
-
/**
|
|
3213
|
-
* Named slot for additional content shown below the main content.
|
|
3214
|
-
*/
|
|
3215
|
-
details?: VNode[];
|
|
3216
|
-
/**
|
|
3217
|
-
* Named slot for action element, such as a button or link.
|
|
3226
|
+
* Use this slot to insert an icon in the input.
|
|
3218
3227
|
*/
|
|
3219
|
-
|
|
3228
|
+
icon?: VNode;
|
|
3220
3229
|
}> & {
|
|
3221
3230
|
/**
|
|
3222
|
-
*
|
|
3223
|
-
*/
|
|
3224
|
-
default?: VNode[];
|
|
3225
|
-
/**
|
|
3226
|
-
* Named slot for additional content shown below the main content.
|
|
3227
|
-
*/
|
|
3228
|
-
details?: VNode[];
|
|
3229
|
-
/**
|
|
3230
|
-
* Named slot for action element, such as a button or link.
|
|
3231
|
+
* Use this slot to insert an icon in the input.
|
|
3231
3232
|
*/
|
|
3232
|
-
|
|
3233
|
+
icon?: VNode;
|
|
3233
3234
|
};
|
|
3234
|
-
refs: {
|
|
3235
|
-
|
|
3235
|
+
refs: {
|
|
3236
|
+
textInput: HTMLInputElement;
|
|
3237
|
+
};
|
|
3238
|
+
rootEl: any;
|
|
3236
3239
|
};
|
|
3237
3240
|
|
|
3238
3241
|
declare function __VLS_template_3(): {
|
|
@@ -3261,6 +3264,39 @@ declare function __VLS_template_3(): {
|
|
|
3261
3264
|
};
|
|
3262
3265
|
|
|
3263
3266
|
declare function __VLS_template_30(): {
|
|
3267
|
+
attrs: Partial<{}>;
|
|
3268
|
+
slots: Readonly<{
|
|
3269
|
+
/**
|
|
3270
|
+
* Default slot for the main content of the tile.
|
|
3271
|
+
*/
|
|
3272
|
+
default?: VNode[];
|
|
3273
|
+
/**
|
|
3274
|
+
* Named slot for additional content shown below the main content.
|
|
3275
|
+
*/
|
|
3276
|
+
details?: VNode[];
|
|
3277
|
+
/**
|
|
3278
|
+
* Named slot for action element, such as a button or link.
|
|
3279
|
+
*/
|
|
3280
|
+
action?: VNode[];
|
|
3281
|
+
}> & {
|
|
3282
|
+
/**
|
|
3283
|
+
* Default slot for the main content of the tile.
|
|
3284
|
+
*/
|
|
3285
|
+
default?: VNode[];
|
|
3286
|
+
/**
|
|
3287
|
+
* Named slot for additional content shown below the main content.
|
|
3288
|
+
*/
|
|
3289
|
+
details?: VNode[];
|
|
3290
|
+
/**
|
|
3291
|
+
* Named slot for action element, such as a button or link.
|
|
3292
|
+
*/
|
|
3293
|
+
action?: VNode[];
|
|
3294
|
+
};
|
|
3295
|
+
refs: {};
|
|
3296
|
+
rootEl: HTMLDivElement;
|
|
3297
|
+
};
|
|
3298
|
+
|
|
3299
|
+
declare function __VLS_template_31(): {
|
|
3264
3300
|
attrs: Partial<{}>;
|
|
3265
3301
|
slots: Readonly<{
|
|
3266
3302
|
/**
|
|
@@ -3285,7 +3321,7 @@ declare function __VLS_template_30(): {
|
|
|
3285
3321
|
rootEl: any;
|
|
3286
3322
|
};
|
|
3287
3323
|
|
|
3288
|
-
declare function
|
|
3324
|
+
declare function __VLS_template_32(): {
|
|
3289
3325
|
attrs: Partial<{}>;
|
|
3290
3326
|
slots: Readonly<{
|
|
3291
3327
|
/**
|
|
@@ -3310,7 +3346,7 @@ declare function __VLS_template_31(): {
|
|
|
3310
3346
|
rootEl: HTMLDivElement;
|
|
3311
3347
|
};
|
|
3312
3348
|
|
|
3313
|
-
declare function
|
|
3349
|
+
declare function __VLS_template_33(): {
|
|
3314
3350
|
attrs: Partial<{}>;
|
|
3315
3351
|
slots: Readonly<{
|
|
3316
3352
|
/**
|
|
@@ -3335,7 +3371,7 @@ declare function __VLS_template_32(): {
|
|
|
3335
3371
|
rootEl: HTMLDivElement;
|
|
3336
3372
|
};
|
|
3337
3373
|
|
|
3338
|
-
declare function
|
|
3374
|
+
declare function __VLS_template_34(): {
|
|
3339
3375
|
attrs: Partial<{}>;
|
|
3340
3376
|
slots: Readonly<{
|
|
3341
3377
|
/**
|
|
@@ -3352,7 +3388,7 @@ declare function __VLS_template_33(): {
|
|
|
3352
3388
|
rootEl: HTMLElement;
|
|
3353
3389
|
};
|
|
3354
3390
|
|
|
3355
|
-
declare function
|
|
3391
|
+
declare function __VLS_template_35(): {
|
|
3356
3392
|
attrs: Partial<{}>;
|
|
3357
3393
|
slots: Readonly<{
|
|
3358
3394
|
/**
|
|
@@ -3486,14 +3522,18 @@ declare function __VLS_template_9(): {
|
|
|
3486
3522
|
attrs: Partial<{}>;
|
|
3487
3523
|
slots: Readonly<{
|
|
3488
3524
|
/**
|
|
3489
|
-
* Use this slot to
|
|
3525
|
+
* Use this slot to customize the content of each item.
|
|
3490
3526
|
*/
|
|
3491
|
-
|
|
3527
|
+
item(props: {
|
|
3528
|
+
item: ListboxOption;
|
|
3529
|
+
}): VNode;
|
|
3492
3530
|
}> & {
|
|
3493
3531
|
/**
|
|
3494
|
-
* Use this slot to
|
|
3532
|
+
* Use this slot to customize the content of each item.
|
|
3495
3533
|
*/
|
|
3496
|
-
|
|
3534
|
+
item(props: {
|
|
3535
|
+
item: ListboxOption;
|
|
3536
|
+
}): VNode;
|
|
3497
3537
|
};
|
|
3498
3538
|
refs: {
|
|
3499
3539
|
combobox: HTMLDivElement;
|
|
@@ -3620,9 +3660,9 @@ declare function __VLS_template_9(): {
|
|
|
3620
3660
|
suffix?: string;
|
|
3621
3661
|
}> & Readonly<{
|
|
3622
3662
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
3623
|
-
}>, "focus" | ("size" | "inputType" | "clearLabel")> &
|
|
3624
|
-
|
|
3625
|
-
}
|
|
3663
|
+
}>, "focus" | ("size" | "inputType" | "clearLabel")> & {
|
|
3664
|
+
focus: () => void;
|
|
3665
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
3626
3666
|
$slots: Readonly<{
|
|
3627
3667
|
icon?: VNode;
|
|
3628
3668
|
}> & {
|
|
@@ -3710,17 +3750,21 @@ declare function __VLS_template_9(): {
|
|
|
3710
3750
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null) => any) | undefined;
|
|
3711
3751
|
onOpen?: (() => any) | undefined;
|
|
3712
3752
|
onClose?: (() => any) | undefined;
|
|
3713
|
-
}>, "listboxEl" | "handleKeydown" | "toggleValue" | "clearSelection" | "activeIndex" | ("clearLabel" | "searchPlaceholder" | "selectLabel")> &
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
}
|
|
3753
|
+
}>, "listboxEl" | "handleKeydown" | "toggleValue" | "clearSelection" | "activeIndex" | ("clearLabel" | "searchPlaceholder" | "selectLabel")> & {
|
|
3754
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
3755
|
+
toggleValue: (item?: ListboxOption) => void;
|
|
3756
|
+
clearSelection: () => void;
|
|
3757
|
+
listboxEl: HTMLDivElement | null;
|
|
3758
|
+
activeIndex: number;
|
|
3759
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
3720
3760
|
$slots: Readonly<{
|
|
3721
|
-
|
|
3761
|
+
item(props: {
|
|
3762
|
+
item: ListboxOption;
|
|
3763
|
+
}): VNode;
|
|
3722
3764
|
}> & {
|
|
3723
|
-
|
|
3765
|
+
item(props: {
|
|
3766
|
+
item: ListboxOption;
|
|
3767
|
+
}): VNode;
|
|
3724
3768
|
};
|
|
3725
3769
|
}) | null;
|
|
3726
3770
|
};
|
|
@@ -3783,6 +3827,8 @@ declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
|
3783
3827
|
|
|
3784
3828
|
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
3785
3829
|
|
|
3830
|
+
declare type __VLS_TemplateResult_35 = ReturnType<typeof __VLS_template_35>;
|
|
3831
|
+
|
|
3786
3832
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
3787
3833
|
|
|
3788
3834
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -3963,6 +4009,12 @@ declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
|
3963
4009
|
};
|
|
3964
4010
|
};
|
|
3965
4011
|
|
|
4012
|
+
declare type __VLS_WithTemplateSlots_35<T, S> = T & {
|
|
4013
|
+
new (): {
|
|
4014
|
+
$slots: S;
|
|
4015
|
+
};
|
|
4016
|
+
};
|
|
4017
|
+
|
|
3966
4018
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
3967
4019
|
new (): {
|
|
3968
4020
|
$slots: S;
|
|
@@ -4314,7 +4366,7 @@ outlined?: boolean;
|
|
|
4314
4366
|
iconPosition?: "left" | "right" | "only";
|
|
4315
4367
|
type?: "button" | "reset" | "submit";
|
|
4316
4368
|
isLoading?: boolean;
|
|
4317
|
-
}> & Readonly<{}>, "appearance" | "type" | "size"> &
|
|
4369
|
+
}> & Readonly<{}>, "appearance" | "type" | "size"> & {} & ComponentCustomProperties & {} & {
|
|
4318
4370
|
$slots: Readonly<{
|
|
4319
4371
|
default: string;
|
|
4320
4372
|
icon?: VNode;
|
|
@@ -4435,6 +4487,7 @@ status: "info" | "success" | "warning" | "error" | "neutral";
|
|
|
4435
4487
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
4436
4488
|
|
|
4437
4489
|
export declare const MStatusMessage: DefineComponent<__VLS_Props_56, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_56> & Readonly<{}>, {
|
|
4490
|
+
appearance: "standard" | "accent";
|
|
4438
4491
|
status: "info" | "success" | "warning" | "error" | "neutral" | "inprogress";
|
|
4439
4492
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4440
4493
|
|
|
@@ -4492,17 +4545,7 @@ divider: boolean;
|
|
|
4492
4545
|
tab: HTMLButtonElement;
|
|
4493
4546
|
}, HTMLElement>;
|
|
4494
4547
|
|
|
4495
|
-
export declare const MTag:
|
|
4496
|
-
"update:modelValue": (value: boolean) => any;
|
|
4497
|
-
"remove-tag": (id: string) => any;
|
|
4498
|
-
}, string, PublicProps, Readonly<__VLS_Props_62> & Readonly<{
|
|
4499
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
4500
|
-
"onRemove-tag"?: ((id: string) => any) | undefined;
|
|
4501
|
-
}>, {
|
|
4502
|
-
type: "informative" | "interactive" | "contextualised" | "removable" | "selectable";
|
|
4503
|
-
contextualisedNumber: number;
|
|
4504
|
-
removableLabel: string;
|
|
4505
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4548
|
+
export declare const MTag: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
4506
4549
|
|
|
4507
4550
|
export declare const MTextArea: DefineComponent<__VLS_Props_63, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4508
4551
|
"update:modelValue": (value: string | number) => any;
|
|
@@ -4512,17 +4555,17 @@ export declare const MTextArea: DefineComponent<__VLS_Props_63, {}, {}, {}, {},
|
|
|
4512
4555
|
rows: number;
|
|
4513
4556
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4514
4557
|
|
|
4515
|
-
export declare const MTextInput:
|
|
4558
|
+
export declare const MTextInput: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
4516
4559
|
|
|
4517
|
-
export declare const MTile:
|
|
4560
|
+
export declare const MTile: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
4518
4561
|
|
|
4519
|
-
export declare const MTileClickable:
|
|
4562
|
+
export declare const MTileClickable: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
4520
4563
|
|
|
4521
|
-
export declare const MTileExpandable:
|
|
4564
|
+
export declare const MTileExpandable: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
4522
4565
|
|
|
4523
|
-
export declare const MTileSelectable:
|
|
4566
|
+
export declare const MTileSelectable: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
4524
4567
|
|
|
4525
|
-
export declare const MToaster:
|
|
4568
|
+
export declare const MToaster: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
4526
4569
|
|
|
4527
4570
|
export declare const MToggle: DefineComponent<__VLS_Props_70, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4528
4571
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -4538,7 +4581,7 @@ export declare const MToggleGroup: DefineComponent<__VLS_Props_71, {}, {}, {}, {
|
|
|
4538
4581
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
4539
4582
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4540
4583
|
|
|
4541
|
-
export declare const MTooltip:
|
|
4584
|
+
export declare const MTooltip: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, __VLS_TemplateResult_35["slots"]>;
|
|
4542
4585
|
|
|
4543
4586
|
declare type NormalizedFile = {
|
|
4544
4587
|
name: string;
|