@m3ui-vue/m3ui-vue 0.9.0 → 0.9.1
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 +12 -2
- package/dist/API.md +3661 -0
- package/dist/MIcon-CaEooCmZ.js.map +1 -1
- package/dist/{MTextField-B0wGv1Mx.js → MTextField-pJU1vFaR.js} +3 -3
- package/dist/MTextField-pJU1vFaR.js.map +1 -0
- package/dist/api.json +1 -0
- package/dist/barcode.js.map +1 -1
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +2 -2
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MAbsolute.vue.d.ts +12 -0
- package/dist/components/MAlert.vue.d.ts +4 -0
- package/dist/components/MAppBar.vue.d.ts +12 -0
- package/dist/components/MAppLayout.vue.d.ts +2 -0
- package/dist/components/MAspectRatio.vue.d.ts +1 -0
- package/dist/components/MAutocomplete.vue.d.ts +18 -0
- package/dist/components/MAvatar.vue.d.ts +3 -0
- package/dist/components/MBadge.vue.d.ts +6 -0
- package/dist/components/MBar.vue.d.ts +5 -0
- package/dist/components/MBarcode.vue.d.ts +9 -0
- package/dist/components/MBottomSheet.vue.d.ts +3 -0
- package/dist/components/MBox.vue.d.ts +6 -0
- package/dist/components/MBreadcrumbs.vue.d.ts +2 -0
- package/dist/components/MButton.vue.d.ts +14 -4
- package/dist/components/MButtonGroup.vue.d.ts +7 -0
- package/dist/components/MCalendar.vue.d.ts +8 -0
- package/dist/components/MCard.vue.d.ts +17 -0
- package/dist/components/MCarousel.vue.d.ts +7 -1
- package/dist/components/MCenter.vue.d.ts +1 -0
- package/dist/components/MChart.vue.d.ts +7 -0
- package/dist/components/MChatBubble.vue.d.ts +10 -0
- package/dist/components/MCheckbox.vue.d.ts +5 -0
- package/dist/components/MChip.vue.d.ts +9 -0
- package/dist/components/MCircleProgressBar.vue.d.ts +7 -0
- package/dist/components/MCodeEditor.vue.d.ts +9 -0
- package/dist/components/MColorPicker.vue.d.ts +8 -0
- package/dist/components/MColorPickerModal.vue.d.ts +4 -0
- package/dist/components/MCommandPalette.vue.d.ts +8 -0
- package/dist/components/MConfirmDialog.vue.d.ts +7 -0
- package/dist/components/MContainer.vue.d.ts +4 -0
- package/dist/components/MContextMenu.vue.d.ts +3 -6
- package/dist/components/MCopyButton.vue.d.ts +10 -0
- package/dist/components/MDataTable.vue.d.ts +33 -12
- package/dist/components/MDatePicker.vue.d.ts +16 -0
- package/dist/components/MDatePickerModal.vue.d.ts +9 -0
- package/dist/components/MDateRangePicker.vue.d.ts +18 -0
- package/dist/components/MDateRangePickerModal.vue.d.ts +9 -0
- package/dist/components/MDialog.vue.d.ts +9 -7
- package/dist/components/MDivider.vue.d.ts +6 -0
- package/dist/components/MDragDropList.vue.d.ts +6 -0
- package/dist/components/MEmoji.vue.d.ts +6 -0
- package/dist/components/MEmojiButton.vue.d.ts +5 -0
- package/dist/components/MEmptyState.vue.d.ts +4 -0
- package/dist/components/MExpansionPanel.vue.d.ts +9 -0
- package/dist/components/MExportButton.vue.d.ts +8 -0
- package/dist/components/MFab.vue.d.ts +9 -0
- package/dist/components/MFabMenu.vue.d.ts +14 -0
- package/dist/components/MFileUpload.vue.d.ts +8 -0
- package/dist/components/MFixed.vue.d.ts +10 -0
- package/dist/components/MFlex.vue.d.ts +6 -0
- package/dist/components/MFooter.vue.d.ts +11 -0
- package/dist/components/MFullscreen.vue.d.ts +2 -0
- package/dist/components/MGrid.vue.d.ts +7 -0
- package/dist/components/MHotkeys.vue.d.ts +4 -0
- package/dist/components/MIcon.vue.d.ts +2 -0
- package/dist/components/MIconButton.vue.d.ts +10 -0
- package/dist/components/MInfiniteScroll.vue.d.ts +6 -0
- package/dist/components/MJsonEditor.vue.d.ts +8 -0
- package/dist/components/MJsonViewer.vue.d.ts +4 -0
- package/dist/components/MKanban.vue.d.ts +2 -0
- package/dist/components/MKbd.vue.d.ts +2 -0
- package/dist/components/MLightbox.vue.d.ts +4 -0
- package/dist/components/MList.vue.d.ts +7 -0
- package/dist/components/MListItem.vue.d.ts +24 -0
- package/dist/components/MListSubheader.vue.d.ts +6 -0
- package/dist/components/MLoadingIndicator.vue.d.ts +10 -0
- package/dist/components/MLoadingOverlay.vue.d.ts +5 -0
- package/dist/components/MMarkdown.vue.d.ts +3 -0
- package/dist/components/MMaskField.vue.d.ts +15 -0
- package/dist/components/MMasonry.vue.d.ts +5 -0
- package/dist/components/MMenu.vue.d.ts +3 -6
- package/dist/components/MMenuDivider.vue.d.ts +4 -0
- package/dist/components/MMenuItem.vue.d.ts +5 -0
- package/dist/components/MMultiAutocomplete.vue.d.ts +20 -0
- package/dist/components/MMultiSelect.vue.d.ts +21 -0
- package/dist/components/MNavigationBar.vue.d.ts +2 -0
- package/dist/components/MNavigationDrawer.vue.d.ts +11 -0
- package/dist/components/MNavigationRail.vue.d.ts +9 -6
- package/dist/components/MNavigationSuite.vue.d.ts +5 -3
- package/dist/components/MNumberField.vue.d.ts +17 -0
- package/dist/components/MOverlay.vue.d.ts +3 -0
- package/dist/components/MPageProgress.vue.d.ts +3 -0
- package/dist/components/MPagination.vue.d.ts +3 -0
- package/dist/components/MPasswordMeter.vue.d.ts +1 -0
- package/dist/components/MPinInput.vue.d.ts +11 -0
- package/dist/components/MProgressBar.vue.d.ts +6 -0
- package/dist/components/MPullToRefresh.vue.d.ts +8 -0
- package/dist/components/MQRCode.vue.d.ts +6 -0
- package/dist/components/MRadio.vue.d.ts +5 -0
- package/dist/components/MRadioGroup.vue.d.ts +6 -0
- package/dist/components/MRating.vue.d.ts +11 -0
- package/dist/components/MRelativeTime.vue.d.ts +1 -0
- package/dist/components/MResponsive.vue.d.ts +3 -0
- package/dist/components/MResult.vue.d.ts +6 -0
- package/dist/components/MRichTextEditor.vue.d.ts +8 -0
- package/dist/components/MScheduler.vue.d.ts +10 -0
- package/dist/components/MScrollable.vue.d.ts +3 -0
- package/dist/components/MSearchBar.vue.d.ts +6 -0
- package/dist/components/MSection.vue.d.ts +5 -0
- package/dist/components/MSegmentedButton.vue.d.ts +5 -0
- package/dist/components/MSelect.vue.d.ts +17 -0
- package/dist/components/MShader.vue.d.ts +1 -0
- package/dist/components/MShortNavigationBar.vue.d.ts +8 -9
- package/dist/components/MSideSheet.vue.d.ts +3 -0
- package/dist/components/MSignaturePad.vue.d.ts +7 -0
- package/dist/components/MSimpleCarousel.vue.d.ts +10 -0
- package/dist/components/MSkeleton.vue.d.ts +8 -0
- package/dist/components/MSlider.vue.d.ts +14 -0
- package/dist/components/MSnackbar.vue.d.ts +1 -0
- package/dist/components/MSpinner.vue.d.ts +6 -0
- package/dist/components/MSplitButton.vue.d.ts +7 -0
- package/dist/components/MSplitter.vue.d.ts +4 -0
- package/dist/components/MSpotlightSearch.vue.d.ts +18 -0
- package/dist/components/MStack.vue.d.ts +7 -0
- package/dist/components/MStatCard.vue.d.ts +7 -0
- package/dist/components/MStepper.vue.d.ts +7 -0
- package/dist/components/MSticky.vue.d.ts +2 -0
- package/dist/components/MSubtitle.vue.d.ts +4 -0
- package/dist/components/MSwitch.vue.d.ts +5 -6
- package/dist/components/MTable.vue.d.ts +17 -4
- package/dist/components/MTabs.vue.d.ts +6 -0
- package/dist/components/MTagInput.vue.d.ts +17 -0
- package/dist/components/MTerminal.vue.d.ts +4 -0
- package/dist/components/MText.vue.d.ts +10 -0
- package/dist/components/MTextField.vue.d.ts +18 -0
- package/dist/components/MTimePicker.vue.d.ts +10 -0
- package/dist/components/MTimePickerModal.vue.d.ts +5 -0
- package/dist/components/MTimeline.vue.d.ts +3 -0
- package/dist/components/MTitle.vue.d.ts +4 -0
- package/dist/components/MToggleButton.vue.d.ts +4 -0
- package/dist/components/MToolbar.vue.d.ts +5 -0
- package/dist/components/MTooltip.vue.d.ts +7 -0
- package/dist/components/MTopAppBar.vue.d.ts +8 -0
- package/dist/components/MTour.vue.d.ts +5 -0
- package/dist/components/MTransferList.vue.d.ts +11 -0
- package/dist/components/MTree.vue.d.ts +11 -0
- package/dist/components/MTreeTable.vue.d.ts +7 -0
- package/dist/components/MVirtualTable.vue.d.ts +6 -0
- package/dist/components/MWindow.vue.d.ts +32 -0
- package/dist/composables/useLocale.d.ts +2 -0
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +5239 -5242
- package/dist/m3ui.js.map +1 -1
- package/dist/markdown.js +1 -1
- package/dist/markdown.js.map +1 -1
- package/dist/qrcode.js.map +1 -1
- package/dist/rich-text-editor.js +3 -3
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/terminal.js.map +1 -1
- package/dist/{useLocale-CmI675Ab.js → useLocale-Drihe5G2.js} +13 -10
- package/dist/useLocale-Drihe5G2.js.map +1 -0
- package/package.json +4 -2
- package/src/__tests__/MHotkeys.test.ts +57 -0
- package/src/__tests__/hostLocale.test.ts +57 -0
- package/src/components/MAbsolute.vue +18 -0
- package/src/components/MAlert.vue +12 -0
- package/src/components/MAppBar.vue +12 -0
- package/src/components/MAppLayout.vue +11 -0
- package/src/components/MAspectRatio.vue +6 -0
- package/src/components/MAutocomplete.vue +24 -0
- package/src/components/MAvatar.vue +12 -1
- package/src/components/MBadge.vue +11 -0
- package/src/components/MBar.vue +19 -0
- package/src/components/MBarcode.vue +14 -0
- package/src/components/MBottomSheet.vue +12 -0
- package/src/components/MBox.vue +12 -0
- package/src/components/MBreadcrumbs.vue +7 -0
- package/src/components/MButton.vue +22 -4
- package/src/components/MButtonGroup.vue +13 -0
- package/src/components/MCalendar.vue +14 -0
- package/src/components/MCard.vue +26 -0
- package/src/components/MCarousel.vue +17 -1
- package/src/components/MCenter.vue +6 -0
- package/src/components/MChart.vue +12 -0
- package/src/components/MChatBubble.vue +17 -0
- package/src/components/MCheckbox.vue +11 -0
- package/src/components/MChip.vue +17 -0
- package/src/components/MCircleProgressBar.vue +13 -0
- package/src/components/MCodeEditor.vue +15 -0
- package/src/components/MColorPicker.vue +13 -0
- package/src/components/MColorPickerModal.vue +12 -0
- package/src/components/MCommandPalette.vue +16 -0
- package/src/components/MConfirmDialog.vue +15 -0
- package/src/components/MContainer.vue +9 -0
- package/src/components/MContextMenu.vue +17 -6
- package/src/components/MCopyButton.vue +16 -0
- package/src/components/MDataTable.vue +58 -12
- package/src/components/MDatePicker.vue +21 -0
- package/src/components/MDatePickerModal.vue +16 -0
- package/src/components/MDateRangePicker.vue +23 -0
- package/src/components/MDateRangePickerModal.vue +16 -0
- package/src/components/MDialog.vue +27 -7
- package/src/components/MDivider.vue +6 -0
- package/src/components/MDragDropList.vue +18 -0
- package/src/components/MEmoji.vue +6 -0
- package/src/components/MEmojiButton.vue +11 -0
- package/src/components/MEmojiSelector.vue +7 -0
- package/src/components/MEmptyState.vue +9 -0
- package/src/components/MExpansionPanel.vue +17 -0
- package/src/components/MExportButton.vue +15 -0
- package/src/components/MFab.vue +17 -0
- package/src/components/MFabMenu.vue +20 -0
- package/src/components/MFileUpload.vue +19 -0
- package/src/components/MFixed.vue +16 -0
- package/src/components/MFlex.vue +11 -0
- package/src/components/MFooter.vue +11 -0
- package/src/components/MFullscreen.vue +8 -0
- package/src/components/MGrid.vue +12 -0
- package/src/components/MHotkeys.vue +20 -13
- package/src/components/MIcon.vue +10 -1
- package/src/components/MIconButton.vue +13 -0
- package/src/components/MInfiniteScroll.vue +16 -0
- package/src/components/MJsonEditor.vue +13 -0
- package/src/components/MJsonViewer.vue +7 -0
- package/src/components/MKanban.vue +18 -0
- package/src/components/MKbd.vue +6 -0
- package/src/components/MLightbox.vue +16 -0
- package/src/components/MList.vue +15 -0
- package/src/components/MListDetail.vue +11 -0
- package/src/components/MListItem.vue +37 -0
- package/src/components/MListSubheader.vue +6 -0
- package/src/components/MLoadingIndicator.vue +15 -0
- package/src/components/MLoadingOverlay.vue +12 -0
- package/src/components/MMarkdown.vue +7 -0
- package/src/components/MMaskField.vue +21 -0
- package/src/components/MMasonry.vue +11 -0
- package/src/components/MMenu.vue +16 -6
- package/src/components/MMenuDivider.vue +4 -0
- package/src/components/MMenuItem.vue +16 -0
- package/src/components/MMultiAutocomplete.vue +26 -0
- package/src/components/MMultiSelect.vue +27 -0
- package/src/components/MNavigationBar.vue +7 -0
- package/src/components/MNavigationDrawer.vue +25 -0
- package/src/components/MNavigationRail.vue +24 -6
- package/src/components/MNavigationSuite.vue +20 -3
- package/src/components/MNotificationHost.vue +3 -0
- package/src/components/MNumberField.vue +24 -0
- package/src/components/MOverlay.vue +10 -0
- package/src/components/MPageProgress.vue +7 -0
- package/src/components/MPagination.vue +15 -1
- package/src/components/MPasswordMeter.vue +7 -0
- package/src/components/MPinInput.vue +19 -0
- package/src/components/MProgressBar.vue +9 -0
- package/src/components/MPullToRefresh.vue +17 -0
- package/src/components/MQRCode.vue +12 -0
- package/src/components/MRadio.vue +11 -0
- package/src/components/MRadioGroup.vue +11 -0
- package/src/components/MRating.vue +19 -0
- package/src/components/MRelative.vue +8 -0
- package/src/components/MRelativeTime.vue +6 -0
- package/src/components/MResponsive.vue +9 -0
- package/src/components/MResult.vue +14 -0
- package/src/components/MRichTextEditor.vue +14 -0
- package/src/components/MScheduler.vue +21 -0
- package/src/components/MScrollable.vue +8 -0
- package/src/components/MSearchBar.vue +17 -0
- package/src/components/MSection.vue +13 -0
- package/src/components/MSegmentedButton.vue +10 -0
- package/src/components/MSelect.vue +22 -0
- package/src/components/MShader.vue +13 -0
- package/src/components/MShape.vue +6 -0
- package/src/components/MShortNavigationBar.vue +23 -9
- package/src/components/MSideSheet.vue +13 -0
- package/src/components/MSignaturePad.vue +15 -0
- package/src/components/MSimpleCarousel.vue +18 -0
- package/src/components/MSkeleton.vue +8 -0
- package/src/components/MSlider.vue +21 -0
- package/src/components/MSnackbar.vue +5 -0
- package/src/components/MSpacer.vue +6 -0
- package/src/components/MSpinner.vue +10 -0
- package/src/components/MSplitButton.vue +14 -0
- package/src/components/MSplitter.vue +10 -0
- package/src/components/MSpotlightSearch.vue +27 -0
- package/src/components/MStack.vue +12 -0
- package/src/components/MStatCard.vue +13 -0
- package/src/components/MStepper.vue +12 -0
- package/src/components/MSticky.vue +7 -0
- package/src/components/MSubtitle.vue +9 -0
- package/src/components/MSupportingPane.vue +10 -0
- package/src/components/MSwitch.vue +14 -6
- package/src/components/MTable.vue +33 -4
- package/src/components/MTabs.vue +12 -0
- package/src/components/MTagInput.vue +23 -0
- package/src/components/MTerminal.vue +11 -0
- package/src/components/MText.vue +15 -0
- package/src/components/MTextField.vue +26 -0
- package/src/components/MTimePicker.vue +15 -0
- package/src/components/MTimePickerModal.vue +12 -0
- package/src/components/MTimeline.vue +7 -0
- package/src/components/MTitle.vue +9 -0
- package/src/components/MToggleButton.vue +12 -0
- package/src/components/MToolbar.vue +12 -0
- package/src/components/MTooltip.vue +15 -0
- package/src/components/MTopAppBar.vue +18 -0
- package/src/components/MTour.vue +13 -0
- package/src/components/MTransferList.vue +24 -0
- package/src/components/MTree.vue +11 -0
- package/src/components/MTreeTable.vue +15 -0
- package/src/components/MVirtualTable.vue +12 -0
- package/src/components/MWindow.vue +34 -0
- package/src/composables/useLocale.ts +16 -3
- package/src/plugin.ts +2 -1
- package/dist/MTextField-B0wGv1Mx.js.map +0 -1
- package/dist/useLocale-CmI675Ab.js.map +0 -1
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Default/current emoji shown before any hover cycling or click */
|
|
2
3
|
emoji?: string;
|
|
4
|
+
/** Emoji font size in pixels (the button itself is size + 12px) */
|
|
3
5
|
size?: number;
|
|
6
|
+
/** Accessible label — defaults to 'Emoji {emoji}' */
|
|
4
7
|
label?: string;
|
|
8
|
+
/** Cycle to a random emoji on hover (Discord-style) */
|
|
5
9
|
randomOnHover?: boolean;
|
|
6
10
|
/** Limit random pool to a category id (e.g. 'smileys', 'animals') */
|
|
7
11
|
category?: string;
|
|
12
|
+
/** Disables interaction */
|
|
8
13
|
disabled?: boolean;
|
|
9
14
|
};
|
|
10
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Material Symbol icon */
|
|
2
3
|
icon?: string;
|
|
4
|
+
/** Title text — required */
|
|
3
5
|
title: string;
|
|
6
|
+
/** Supporting description */
|
|
4
7
|
description?: string;
|
|
8
|
+
/** Smaller variant (24px icon in a 48px circle, less padding) */
|
|
5
9
|
compact?: boolean;
|
|
6
10
|
};
|
|
7
11
|
declare var __VLS_6: {};
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Panel header text */
|
|
2
3
|
title: string;
|
|
4
|
+
/** Secondary text in the header, below the title */
|
|
3
5
|
subtitle?: string;
|
|
6
|
+
/** Leading Material Symbol icon in the header */
|
|
4
7
|
icon?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally
|
|
10
|
+
* (uncontrolled).
|
|
11
|
+
*/
|
|
5
12
|
modelValue?: boolean;
|
|
13
|
+
/** Disables toggling */
|
|
6
14
|
disabled?: boolean;
|
|
15
|
+
/** Visual style of the panel container */
|
|
7
16
|
variant?: 'outlined' | 'filled' | 'elevated';
|
|
8
17
|
};
|
|
9
18
|
declare var __VLS_11: {};
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Array of objects to export */
|
|
2
3
|
data: Record<string, unknown>[];
|
|
4
|
+
/** Export format */
|
|
3
5
|
format?: 'csv' | 'json';
|
|
6
|
+
/** Filename without extension — the extension is added automatically */
|
|
4
7
|
filename?: string;
|
|
8
|
+
/** Button label (overridden by the default slot) */
|
|
5
9
|
label?: string;
|
|
10
|
+
/** Leading Material Symbol icon */
|
|
6
11
|
icon?: string;
|
|
12
|
+
/** Visual style (same as MButton) */
|
|
7
13
|
variant?: 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
|
|
14
|
+
/** Button size */
|
|
8
15
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
16
|
+
/** Disables the button */
|
|
9
17
|
disabled?: boolean;
|
|
10
18
|
};
|
|
11
19
|
declare var __VLS_10: {};
|
|
@@ -5,14 +5,23 @@ export interface SpeedDialItem {
|
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Material Symbol icon name */
|
|
8
9
|
icon: string;
|
|
10
|
+
/** Extended FAB label text */
|
|
9
11
|
label?: string;
|
|
12
|
+
/** Color scheme */
|
|
10
13
|
color?: 'primary' | 'secondary' | 'tertiary' | 'surface';
|
|
14
|
+
/** FAB size */
|
|
11
15
|
size?: 'small' | 'regular' | 'medium' | 'large';
|
|
16
|
+
/** Disables interaction */
|
|
12
17
|
disabled?: boolean;
|
|
18
|
+
/** Speed-dial child items (see `SpeedDialItem`) */
|
|
13
19
|
items?: SpeedDialItem[];
|
|
20
|
+
/** Speed-dial expand direction */
|
|
14
21
|
direction?: 'up' | 'down' | 'left' | 'right' | 'radial';
|
|
22
|
+
/** Vue Router destination — renders as RouterLink instead of button */
|
|
15
23
|
to?: string | Record<string, any>;
|
|
24
|
+
/** Keep speed-dial open after clicking an item or clicking outside */
|
|
16
25
|
persistent?: boolean;
|
|
17
26
|
/** For the `up`/`down` #content panel only: which edge it anchors to when
|
|
18
27
|
* it's wider than the FAB itself. 'start' (default) keeps its left edge
|
|
@@ -8,19 +8,33 @@ export interface FabMenuItem {
|
|
|
8
8
|
color?: 'primary' | 'secondary' | 'tertiary' | 'surface';
|
|
9
9
|
}
|
|
10
10
|
type __VLS_Props = {
|
|
11
|
+
/**
|
|
12
|
+
* Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open
|
|
13
|
+
* (turning a + into a ×)
|
|
14
|
+
*/
|
|
11
15
|
icon: string;
|
|
12
16
|
/** Shows the trigger as an extended FAB (icon + text) instead of icon-only. */
|
|
13
17
|
label?: string;
|
|
18
|
+
/** The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row. */
|
|
14
19
|
items: FabMenuItem[];
|
|
20
|
+
/** Color scheme applied to both the trigger FAB and every menu item row */
|
|
15
21
|
color?: 'primary' | 'secondary' | 'tertiary' | 'surface';
|
|
16
22
|
/** Trigger FAB size — independent from `itemSize` below. */
|
|
17
23
|
size?: 'small' | 'regular' | 'large';
|
|
18
24
|
/** Menu item row size — independent from the trigger FAB's own `size`. */
|
|
19
25
|
itemSize?: 'small' | 'regular' | 'large';
|
|
26
|
+
/** Which side of the FAB the menu list opens toward */
|
|
20
27
|
direction?: 'up' | 'down';
|
|
28
|
+
/**
|
|
29
|
+
* Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen
|
|
30
|
+
* when the FAB sits in a bottom-right corner
|
|
31
|
+
*/
|
|
21
32
|
align?: 'start' | 'end';
|
|
33
|
+
/** Dim the rest of the screen while the menu is open */
|
|
22
34
|
scrim?: boolean;
|
|
35
|
+
/** Keep the menu open after clicking an item or clicking outside */
|
|
23
36
|
persistent?: boolean;
|
|
37
|
+
/** Disables the trigger FAB */
|
|
24
38
|
disabled?: boolean;
|
|
25
39
|
};
|
|
26
40
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -6,13 +6,21 @@ export interface UploadFile {
|
|
|
6
6
|
preview?: string;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Accepted file types (e.g. ".png,.jpg", "image/*") */
|
|
9
10
|
accept?: string;
|
|
11
|
+
/** Allow multiple files */
|
|
10
12
|
multiple?: boolean;
|
|
13
|
+
/** Max file size in bytes — oversized files are silently filtered out */
|
|
11
14
|
maxSize?: number;
|
|
15
|
+
/** Disables the upload area */
|
|
12
16
|
disabled?: boolean;
|
|
17
|
+
/** Drop zone main text (defaults to the locale string) */
|
|
13
18
|
dropText?: string;
|
|
19
|
+
/** Drop zone select link text (defaults to the locale string) */
|
|
14
20
|
selectText?: string;
|
|
21
|
+
/** Prefix shown before the formatted max size (defaults to the locale string) */
|
|
15
22
|
maxSizePrefix?: string;
|
|
23
|
+
/** Aria label for each file row's remove button (defaults to the locale string) */
|
|
16
24
|
removeLabel?: string;
|
|
17
25
|
/** Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself. */
|
|
18
26
|
modelValue?: UploadFile[];
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import type { Placement } from './MAbsolute.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Preset corner/edge placement */
|
|
3
4
|
placement?: Placement;
|
|
5
|
+
/** Distance from edges when using placement (applies to both axes) */
|
|
4
6
|
offset?: string | number;
|
|
7
|
+
/** Horizontal offset — overrides offset for the X axis */
|
|
5
8
|
offsetX?: string | number;
|
|
9
|
+
/** Vertical offset — overrides offset for the Y axis */
|
|
6
10
|
offsetY?: string | number;
|
|
11
|
+
/** Top offset (number = px) */
|
|
7
12
|
top?: string | number;
|
|
13
|
+
/** Right offset */
|
|
8
14
|
right?: string | number;
|
|
15
|
+
/** Bottom offset */
|
|
9
16
|
bottom?: string | number;
|
|
17
|
+
/** Left offset */
|
|
10
18
|
left?: string | number;
|
|
19
|
+
/** Set all sides to 0 */
|
|
11
20
|
inset?: boolean;
|
|
21
|
+
/** Z-index value */
|
|
12
22
|
zIndex?: number;
|
|
13
23
|
};
|
|
14
24
|
declare var __VLS_1: {};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Flex direction */
|
|
2
3
|
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
4
|
+
/** Cross-axis alignment (align-items) */
|
|
3
5
|
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
6
|
+
/** Main-axis alignment (justify-content) */
|
|
4
7
|
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
8
|
+
/** Gap between items */
|
|
5
9
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
+
/** Allow items to wrap */
|
|
6
11
|
wrap?: boolean;
|
|
12
|
+
/** Use inline-flex instead of flex */
|
|
7
13
|
inline?: boolean;
|
|
8
14
|
};
|
|
9
15
|
declare var __VLS_1: {};
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to
|
|
3
|
+
* screen size.
|
|
4
|
+
*
|
|
5
|
+
* @slot brand Logo and tagline area (top)
|
|
6
|
+
* @slot default Main content area (navigation columns, etc.)
|
|
7
|
+
* @slot social Social media icon buttons (flex row with gap)
|
|
8
|
+
* @slot bottom Bottom bar with copyright / legal links (separated by a top border)
|
|
9
|
+
*/
|
|
1
10
|
type __VLS_Props = {
|
|
11
|
+
/** Add a top border (border-outline-variant) */
|
|
2
12
|
bordered?: boolean;
|
|
13
|
+
/** Background surface color */
|
|
3
14
|
surface?: 'default' | 'container' | 'container-low' | 'container-high' | 'inverse';
|
|
4
15
|
};
|
|
5
16
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Default column count */
|
|
2
3
|
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
4
|
+
/** Columns at sm breakpoint */
|
|
3
5
|
sm?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
6
|
+
/** Columns at md breakpoint */
|
|
4
7
|
md?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
8
|
+
/** Columns at lg breakpoint */
|
|
5
9
|
lg?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
10
|
+
/** Columns at xl breakpoint */
|
|
6
11
|
xl?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
12
|
+
/** Gap between items */
|
|
7
13
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
/** Vertical alignment */
|
|
8
15
|
alignItems?: 'start' | 'center' | 'end' | 'stretch';
|
|
9
16
|
};
|
|
10
17
|
declare var __VLS_1: {};
|
|
@@ -6,7 +6,11 @@ export interface HotkeyBinding {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Array of key combos to register globally; see `HotkeyBinding` */
|
|
9
10
|
bindings: HotkeyBinding[];
|
|
11
|
+
/**
|
|
12
|
+
* Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)
|
|
13
|
+
*/
|
|
10
14
|
showOverlay?: boolean;
|
|
11
15
|
};
|
|
12
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Material Symbol name (e.g. "settings", "favorite") */
|
|
2
3
|
name: string;
|
|
4
|
+
/** Icon size in px */
|
|
3
5
|
size?: number;
|
|
4
6
|
};
|
|
5
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Material Symbol icon name */
|
|
2
3
|
icon: string;
|
|
4
|
+
/** Accessible label (aria-label and title) */
|
|
3
5
|
label?: string;
|
|
6
|
+
/** Visual style */
|
|
4
7
|
variant?: 'standard' | 'filled' | 'tonal' | 'outlined';
|
|
8
|
+
/**
|
|
9
|
+
* Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md,
|
|
10
|
+
* 28px lg/xl)
|
|
11
|
+
*/
|
|
5
12
|
shape?: 'rounded' | 'squared';
|
|
13
|
+
/** M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value */
|
|
6
14
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
|
|
15
|
+
/** Disables interaction */
|
|
7
16
|
disabled?: boolean;
|
|
17
|
+
/** Vue Router destination — renders as RouterLink instead of button */
|
|
8
18
|
to?: string | Record<string, any>;
|
|
9
19
|
};
|
|
10
20
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Currently loading more items — shows the loading slot */
|
|
2
3
|
loading?: boolean;
|
|
4
|
+
/** Disable the load trigger entirely (no observer attached) */
|
|
3
5
|
disabled?: boolean;
|
|
6
|
+
/** Distance in px from the sentinel before it triggers load */
|
|
4
7
|
threshold?: number;
|
|
8
|
+
/** Text shown while loading (defaults to the locale string, 'Loading...') */
|
|
5
9
|
loadingText?: string;
|
|
10
|
+
/** Text shown when ended (defaults to the locale string, 'No more items') */
|
|
6
11
|
endText?: string;
|
|
12
|
+
/** No more items to load — shows the end slot and stops observing */
|
|
7
13
|
ended?: boolean;
|
|
8
14
|
};
|
|
9
15
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {};
|
|
@@ -5,10 +5,18 @@ export interface JsonEditorLabels {
|
|
|
5
5
|
minify?: string;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** JSON data (v-model, any valid JSON) */
|
|
8
9
|
modelValue: unknown;
|
|
10
|
+
/** Read-only mode */
|
|
9
11
|
readonly?: boolean;
|
|
12
|
+
/** Min height */
|
|
10
13
|
minHeight?: string;
|
|
14
|
+
/** Max height */
|
|
11
15
|
maxHeight?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come
|
|
18
|
+
* from useLocale()
|
|
19
|
+
*/
|
|
12
20
|
labels?: JsonEditorLabels;
|
|
13
21
|
};
|
|
14
22
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -3,9 +3,13 @@ export interface JsonViewerLabels {
|
|
|
3
3
|
fields?: string;
|
|
4
4
|
}
|
|
5
5
|
type __VLS_Props = {
|
|
6
|
+
/** Data to display (any JSON-compatible value) */
|
|
6
7
|
data: unknown;
|
|
8
|
+
/** Name for the root node */
|
|
7
9
|
rootName?: string;
|
|
10
|
+
/** Levels to expand by default */
|
|
8
11
|
expandDepth?: number;
|
|
12
|
+
/** Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale() */
|
|
9
13
|
labels?: JsonViewerLabels;
|
|
10
14
|
/** @internal — used by recursive instances */
|
|
11
15
|
_depth?: number;
|
|
@@ -11,7 +11,9 @@ export interface KanbanColumn {
|
|
|
11
11
|
limit?: number;
|
|
12
12
|
}
|
|
13
13
|
type __VLS_Props = {
|
|
14
|
+
/** Columns with their cards (v-model). Required */
|
|
14
15
|
modelValue: KanbanColumn[];
|
|
16
|
+
/** Text shown in a column with no cards (defaults to the locale string) */
|
|
15
17
|
emptyText?: string;
|
|
16
18
|
};
|
|
17
19
|
type __VLS_Slots = {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
/** A '+'-delimited string ("Ctrl+Shift+K") or an array of keys (['Ctrl', 'Shift', 'K']). */
|
|
3
3
|
keys: string | string[];
|
|
4
|
+
/** Key chip size */
|
|
4
5
|
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
/** Separator rendered between keys */
|
|
5
7
|
separator?: string;
|
|
6
8
|
};
|
|
7
9
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -4,11 +4,15 @@ export interface LightboxItem {
|
|
|
4
4
|
caption?: string;
|
|
5
5
|
}
|
|
6
6
|
type __VLS_Props = {
|
|
7
|
+
/** v-model — open/closed state */
|
|
7
8
|
modelValue?: boolean;
|
|
8
9
|
/** Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead. */
|
|
9
10
|
items?: LightboxItem[];
|
|
11
|
+
/** v-model:index — current image index */
|
|
10
12
|
index?: number;
|
|
13
|
+
/** Wrap around when navigating past the first/last image */
|
|
11
14
|
loop?: boolean;
|
|
15
|
+
/** Overrides the close button aria-label (defaults to the active locale) */
|
|
12
16
|
closeLabel?: string;
|
|
13
17
|
/** Show a row of clickable thumbnails at the bottom for jumping directly to an image. */
|
|
14
18
|
showThumbnails?: boolean;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Compact vertical padding on child items */
|
|
2
3
|
dense?: boolean;
|
|
4
|
+
/** Show separators between items — 'inset' aligns the line past a leading icon/avatar */
|
|
3
5
|
dividers?: boolean | 'inset';
|
|
6
|
+
/** Navigation variant with rounded (pill) active items, ideal for drawers */
|
|
4
7
|
nav?: boolean;
|
|
8
|
+
/** Segmented style — items each get an individual rounded background instead of a flat list */
|
|
5
9
|
segmented?: boolean;
|
|
10
|
+
/** Enable single-item selection — items compare their value prop against selected */
|
|
6
11
|
selectable?: boolean;
|
|
12
|
+
/** Currently selected item value (v-model:selected) */
|
|
7
13
|
selected?: string | number | null;
|
|
14
|
+
/** Default line count for child items that don't set their own lines prop */
|
|
8
15
|
lines?: 1 | 2 | 3;
|
|
9
16
|
};
|
|
10
17
|
declare var __VLS_1: {};
|
|
@@ -1,27 +1,51 @@
|
|
|
1
1
|
export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container';
|
|
2
2
|
export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
/** Primary text (headline) */
|
|
4
5
|
title?: string;
|
|
6
|
+
/** Small label above the title */
|
|
5
7
|
overline?: string;
|
|
8
|
+
/** Secondary text (line 2) */
|
|
6
9
|
subtitle?: string;
|
|
10
|
+
/** Tertiary text (line 3) */
|
|
7
11
|
description?: string;
|
|
12
|
+
/** Number of text lines — auto-detected from which text props/parent MList lines are set when omitted */
|
|
8
13
|
lines?: 1 | 2 | 3;
|
|
14
|
+
/** Leading Material Symbol icon */
|
|
9
15
|
icon?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted
|
|
18
|
+
*/
|
|
10
19
|
leading?: ListItemLeading;
|
|
20
|
+
/** Name for the avatar (when leading='avatar') */
|
|
11
21
|
avatarName?: string;
|
|
22
|
+
/** Image URL (when leading='image') */
|
|
12
23
|
image?: string;
|
|
24
|
+
/** Icon container background color (when leading='icon-container') */
|
|
13
25
|
iconContainerColor?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success';
|
|
26
|
+
/** Trailing icon name */
|
|
14
27
|
trailingIcon?: string;
|
|
28
|
+
/** Trailing text label */
|
|
15
29
|
trailingText?: string;
|
|
30
|
+
/** Trailing element type — auto-resolves from trailingIcon/trailingText when omitted */
|
|
16
31
|
trailing?: ListItemTrailing;
|
|
32
|
+
/** Value for a trailing switch/checkbox (v-model:trailingValue) */
|
|
17
33
|
trailingValue?: boolean;
|
|
34
|
+
/** Selection value — compared against the parent MList selected prop */
|
|
18
35
|
value?: string | number;
|
|
36
|
+
/** Force the active/highlighted state regardless of parent list selection */
|
|
19
37
|
active?: boolean;
|
|
38
|
+
/** Disabled state (38% opacity, blocks interaction) */
|
|
20
39
|
disabled?: boolean;
|
|
40
|
+
/** Force interactive styling/behavior (auto-true when href, to, @click, selectable, or expandable apply) */
|
|
21
41
|
clickable?: boolean;
|
|
42
|
+
/** Link URL — renders the item as an `<a>` */
|
|
22
43
|
href?: string;
|
|
44
|
+
/** Vue Router destination — renders the item as a router-link */
|
|
23
45
|
to?: string | object;
|
|
46
|
+
/** Show an expand/collapse chevron revealing the #children slot */
|
|
24
47
|
expandable?: boolean;
|
|
48
|
+
/** Control the expanded state (v-model:expanded) — otherwise managed internally */
|
|
25
49
|
expanded?: boolean;
|
|
26
50
|
};
|
|
27
51
|
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_23: {}, __VLS_34: {}, __VLS_56: {}, __VLS_58: {}, __VLS_60: {};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A small heading that labels a group of items inside an MList.
|
|
3
|
+
*
|
|
4
|
+
* @slot default Subheader text/content
|
|
5
|
+
*/
|
|
1
6
|
type __VLS_Props = {
|
|
7
|
+
/** Align with items that have a leading icon (adds left padding) */
|
|
2
8
|
inset?: boolean;
|
|
3
9
|
};
|
|
4
10
|
declare var __VLS_1: {};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it
|
|
4
|
+
* scales to 55% of size.
|
|
5
|
+
*/
|
|
2
6
|
size?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of
|
|
9
|
+
* the bare X role
|
|
10
|
+
*/
|
|
3
11
|
contained?: boolean;
|
|
12
|
+
/** Active shape (and container, when contained) color */
|
|
4
13
|
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
14
|
+
/** Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted */
|
|
5
15
|
label?: string;
|
|
6
16
|
};
|
|
7
17
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Show/hide the overlay */
|
|
2
3
|
visible: boolean;
|
|
4
|
+
/** Loading text message shown below the spinner */
|
|
3
5
|
text?: string;
|
|
6
|
+
/** Cover the entire viewport via Teleport, instead of overlaying just the #content slot */
|
|
4
7
|
fullscreen?: boolean;
|
|
8
|
+
/** Solid surface background instead of a translucent, blurred one */
|
|
5
9
|
opaque?: boolean;
|
|
10
|
+
/** Spinner size in px */
|
|
6
11
|
spinnerSize?: number;
|
|
7
12
|
};
|
|
8
13
|
declare var __VLS_18: {}, __VLS_20: {}, __VLS_33: {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Markdown source text */
|
|
2
3
|
source: string;
|
|
4
|
+
/** Convert single newlines to `<br>` */
|
|
3
5
|
breaks?: boolean;
|
|
6
|
+
/** Auto-detect bare URLs and turn them into links */
|
|
4
7
|
linkify?: boolean;
|
|
5
8
|
};
|
|
6
9
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Masked value (v-model) */
|
|
3
4
|
modelValue: string;
|
|
5
|
+
/** Field label */
|
|
4
6
|
label: string;
|
|
7
|
+
/** Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`) */
|
|
5
8
|
mask: string | MaskPreset;
|
|
9
|
+
/** Visual style */
|
|
6
10
|
variant?: 'filled' | 'outlined';
|
|
11
|
+
/** Error state */
|
|
7
12
|
error?: boolean;
|
|
13
|
+
/** Error message shown when error is true */
|
|
8
14
|
errorLabel?: string;
|
|
15
|
+
/** Hint text */
|
|
9
16
|
hint?: string;
|
|
17
|
+
/** Disables the field */
|
|
10
18
|
disabled?: boolean;
|
|
19
|
+
/** Marks as required — adds a red asterisk after the label */
|
|
11
20
|
required?: boolean;
|
|
21
|
+
/** Material Symbol icon */
|
|
12
22
|
leadingIcon?: string;
|
|
23
|
+
/** Show clear button */
|
|
13
24
|
clearable?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Overrides the auto-detected background color used to cut the floating label out of the outlined border
|
|
27
|
+
*/
|
|
14
28
|
fieldBg?: string;
|
|
29
|
+
/** Delay (ms) before firing the @debounced event */
|
|
15
30
|
debounce?: number;
|
|
16
31
|
};
|
|
17
32
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Default column count */
|
|
2
3
|
cols?: number;
|
|
4
|
+
/** Columns at sm breakpoint (640px) */
|
|
3
5
|
smCols?: number;
|
|
6
|
+
/** Columns at md breakpoint (768px) */
|
|
4
7
|
mdCols?: number;
|
|
8
|
+
/** Columns at lg breakpoint (1024px) */
|
|
5
9
|
lgCols?: number;
|
|
10
|
+
/** Gap between items */
|
|
6
11
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
12
|
};
|
|
8
13
|
declare var __VLS_1: {};
|
|
@@ -9,12 +9,9 @@ type __VLS_Props = {
|
|
|
9
9
|
*/
|
|
10
10
|
submenuMode?: 'flyout' | 'push';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* (
|
|
14
|
-
*
|
|
15
|
-
* (`SegmentedMenuTokens.ContainerShape`/`CornerLarge`). Combine with
|
|
16
|
-
* `<MMenuDivider gap />` to split the panel into independently-rounded
|
|
17
|
-
* groups with a visible gap between them, instead of a plain line.
|
|
12
|
+
* 'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling
|
|
13
|
+
* (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups
|
|
14
|
+
* with a visible gap, instead of a plain divider line.
|
|
18
15
|
*/
|
|
19
16
|
variant?: 'standard' | 'expressive';
|
|
20
17
|
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Material Symbol icon name */
|
|
2
3
|
icon?: string;
|
|
4
|
+
/** Keyboard shortcut hint displayed on the right (e.g. "Ctrl+C") — hidden when the item has #children */
|
|
3
5
|
shortcut?: string;
|
|
6
|
+
/** Vue Router destination — renders as RouterLink instead of button */
|
|
4
7
|
to?: string | Record<string, any>;
|
|
8
|
+
/** Disables the item */
|
|
5
9
|
disabled?: boolean;
|
|
10
|
+
/** Danger/destructive styling (error color) */
|
|
6
11
|
danger?: boolean;
|
|
7
12
|
/** Keep the menu open after this item is clicked (e.g. checkable/toggle items). */
|
|
8
13
|
keepOpen?: boolean;
|
|
@@ -1,22 +1,42 @@
|
|
|
1
1
|
import type { MultiSelectOption } from './MMultiSelect.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Selected values (v-model) */
|
|
3
4
|
modelValue: unknown[];
|
|
5
|
+
/** The options to choose from; see `MultiSelectOption`. */
|
|
4
6
|
options: MultiSelectOption[];
|
|
7
|
+
/** Floating label text */
|
|
5
8
|
label?: string;
|
|
9
|
+
/** Input placeholder */
|
|
6
10
|
placeholder?: string;
|
|
11
|
+
/** Field style */
|
|
7
12
|
variant?: 'filled' | 'outlined';
|
|
13
|
+
/** Dropdown mode: docked (inline) or modal (dialog) */
|
|
8
14
|
mode?: 'docked' | 'modal';
|
|
15
|
+
/** Disables the field */
|
|
9
16
|
disabled?: boolean;
|
|
17
|
+
/** Error state */
|
|
10
18
|
error?: boolean;
|
|
19
|
+
/** Error message shown when error is true */
|
|
11
20
|
errorLabel?: string;
|
|
21
|
+
/** Helper text below field */
|
|
12
22
|
hint?: string;
|
|
23
|
+
/** Marks as required — adds a red asterisk after the label */
|
|
13
24
|
required?: boolean;
|
|
25
|
+
/** Material Symbol icon name */
|
|
14
26
|
leadingIcon?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Overrides the auto-detected background color used to cut the floating label out of the outlined border
|
|
29
|
+
*/
|
|
15
30
|
fieldBg?: string;
|
|
31
|
+
/** Show a clear-all button */
|
|
16
32
|
clearable?: boolean;
|
|
33
|
+
/** Max visible chips before "+N" */
|
|
17
34
|
maxChips?: number;
|
|
35
|
+
/** Text when no options match */
|
|
18
36
|
noResultsText?: string;
|
|
37
|
+
/** Remove already-selected options from the dropdown */
|
|
19
38
|
hideSelected?: boolean;
|
|
39
|
+
/** Delay (ms) before filtering and firing @debounced. Selection is always instant */
|
|
20
40
|
debounce?: number;
|
|
21
41
|
};
|
|
22
42
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|