@m3ui-vue/m3ui-vue 0.8.8 → 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 +25 -5
- package/dist/API.md +3661 -0
- package/dist/MIcon-CaEooCmZ.js.map +1 -1
- package/dist/{MMenuItem-5xojJYAL.js → MTextField-pJU1vFaR.js} +374 -364
- package/dist/MTextField-pJU1vFaR.js.map +1 -0
- package/dist/api.json +1 -0
- package/dist/barcode.js +9 -11
- 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 +61 -36
- 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 +10 -6
- 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/MEmojiSelector.vue.d.ts +21 -5
- 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 +15 -1
- 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 +7 -1
- 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 +19 -5
- 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 +48 -1
- 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/MShape.vue.d.ts +1 -1
- 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 +12 -2
- package/dist/components/MSkeleton.vue.d.ts +8 -0
- package/dist/components/MSlider.vue.d.ts +15 -1
- 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 +8 -1
- 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 +6 -1
- 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 +33 -1
- package/dist/composables/_carouselStrategy.d.ts +101 -0
- package/dist/composables/useLocale.d.ts +21 -0
- package/dist/data/emoji-names/emoji-names-de.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-en.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-es.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-fr.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-ja.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-ko.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-pt.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-zh.d.ts +2 -0
- package/dist/data/emojis.d.ts +7 -1
- package/dist/emoji-names-de-BphO5XpV.js +1877 -0
- package/dist/emoji-names-de-BphO5XpV.js.map +1 -0
- package/dist/emoji-names-en-9ZvMRvzi.js +1877 -0
- package/dist/emoji-names-en-9ZvMRvzi.js.map +1 -0
- package/dist/emoji-names-es-DvfWU3Pj.js +1877 -0
- package/dist/emoji-names-es-DvfWU3Pj.js.map +1 -0
- package/dist/emoji-names-fr-B-jhUlsP.js +1877 -0
- package/dist/emoji-names-fr-B-jhUlsP.js.map +1 -0
- package/dist/emoji-names-ja-l8cMFJo1.js +1877 -0
- package/dist/emoji-names-ja-l8cMFJo1.js.map +1 -0
- package/dist/emoji-names-ko-YP-o9G0c.js +1877 -0
- package/dist/emoji-names-ko-YP-o9G0c.js.map +1 -0
- package/dist/emoji-names-pt-DGj_Js4M.js +1877 -0
- package/dist/emoji-names-pt-DGj_Js4M.js.map +1 -0
- package/dist/emoji-names-zh-Dzecwtw_.js +1877 -0
- package/dist/emoji-names-zh-Dzecwtw_.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/locales/index.js +140 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +6642 -5160
- package/dist/m3ui.js.map +1 -1
- package/dist/markdown.js +1 -1
- package/dist/markdown.js.map +1 -1
- package/dist/plugin.d.ts +6 -0
- package/dist/qrcode.js.map +1 -1
- package/dist/rich-text-editor.js +10 -10
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/terminal.js +34 -27
- package/dist/terminal.js.map +1 -1
- package/dist/{useLocale-D3ZWZ8jY.js → useLocale-Drihe5G2.js} +33 -11
- package/dist/useLocale-Drihe5G2.js.map +1 -0
- package/package.json +4 -2
- package/src/__tests__/MCarousel.test.ts +183 -21
- package/src/__tests__/MDialog.test.ts +18 -0
- package/src/__tests__/MEmojiSelector.test.ts +138 -0
- package/src/__tests__/MHotkeys.test.ts +57 -0
- package/src/__tests__/MLightbox.test.ts +313 -5
- package/src/__tests__/MScheduler.test.ts +122 -0
- package/src/__tests__/MTerminal.test.ts +63 -0
- package/src/__tests__/attrsFallthrough.test.ts +65 -0
- package/src/__tests__/hostLocale.test.ts +57 -0
- package/src/__tests__/plugin.test.ts +28 -1
- 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 +18 -2
- package/src/components/MBottomSheet.vue +13 -1
- 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 +542 -200
- 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 +18 -2
- package/src/components/MColorPicker.vue +13 -0
- package/src/components/MColorPickerModal.vue +12 -0
- package/src/components/MCommandPalette.vue +17 -1
- package/src/components/MConfirmDialog.vue +15 -0
- package/src/components/MContainer.vue +9 -0
- package/src/components/MContextMenu.vue +20 -7
- 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 +17 -1
- package/src/components/MDateRangePicker.vue +23 -0
- package/src/components/MDateRangePickerModal.vue +17 -1
- package/src/components/MDialog.vue +43 -10
- 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 +486 -78
- 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 +20 -1
- 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 +766 -268
- 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 +18 -1
- 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 +19 -7
- 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 +30 -1
- package/src/components/MNavigationRail.vue +27 -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 +11 -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 +303 -115
- 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 +14 -1
- 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 +17 -1
- package/src/components/MSplitter.vue +10 -0
- package/src/components/MSpotlightSearch.vue +28 -1
- 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 +33 -10
- 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 +13 -1
- 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 +18 -0
- package/src/components/MTopAppBar.vue +18 -0
- package/src/components/MTour.vue +15 -2
- 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/_carouselStrategy.ts +712 -0
- package/src/composables/useLocale.ts +54 -3
- package/src/data/emoji-names/emoji-names-de.ts +1875 -0
- package/src/data/emoji-names/emoji-names-en.ts +1875 -0
- package/src/data/emoji-names/emoji-names-es.ts +1875 -0
- package/src/data/emoji-names/emoji-names-fr.ts +1875 -0
- package/src/data/emoji-names/emoji-names-ja.ts +1875 -0
- package/src/data/emoji-names/emoji-names-ko.ts +1875 -0
- package/src/data/emoji-names/emoji-names-pt.ts +1875 -0
- package/src/data/emoji-names/emoji-names-zh.ts +1875 -0
- package/src/data/emojis.ts +29 -198
- package/src/index.ts +2 -2
- package/src/locales/de.ts +19 -0
- package/src/locales/es.ts +19 -0
- package/src/locales/fr.ts +19 -0
- package/src/locales/ja.ts +19 -0
- package/src/locales/ko.ts +19 -0
- package/src/locales/pt.ts +19 -0
- package/src/locales/zh.ts +19 -0
- package/src/plugin.ts +14 -2
- package/dist/MMenuItem-5xojJYAL.js.map +0 -1
- package/dist/useLocale-D3ZWZ8jY.js.map +0 -1
|
@@ -5,7 +5,9 @@ export interface BreadcrumbItem {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Breadcrumb items (see `BreadcrumbItem`) */
|
|
8
9
|
items: BreadcrumbItem[];
|
|
10
|
+
/** Material Symbol separator icon */
|
|
9
11
|
separator?: string;
|
|
10
12
|
};
|
|
11
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Visual style of the button */
|
|
2
3
|
variant?: 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
|
|
3
4
|
/**
|
|
4
5
|
* Named semantic color ('primary' | 'error') OR any CSS color string
|
|
@@ -6,18 +7,27 @@ type __VLS_Props = {
|
|
|
6
7
|
* When a CSS color is passed, --color-primary is overridden for this button.
|
|
7
8
|
*/
|
|
8
9
|
color?: string;
|
|
10
|
+
/** HTML button type */
|
|
9
11
|
type?: 'button' | 'submit' | 'reset';
|
|
12
|
+
/** Disables interaction */
|
|
10
13
|
disabled?: boolean;
|
|
14
|
+
/** Shows a spinner and disables the button */
|
|
11
15
|
loading?: boolean;
|
|
16
|
+
/** Material Symbol icon name shown next to the label */
|
|
12
17
|
icon?: string;
|
|
18
|
+
/** Which side of the label the icon renders on */
|
|
19
|
+
iconPos?: 'leading' | 'trailing';
|
|
13
20
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* either way at every tier, so this only changes render order, not spacing.
|
|
21
|
+
* M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are
|
|
22
|
+
* meant for hero-style prominent buttons, not everyday UI
|
|
17
23
|
*/
|
|
18
|
-
iconPos?: 'leading' | 'trailing';
|
|
19
24
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
25
|
+
/**
|
|
26
|
+
* Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md,
|
|
27
|
+
* 28px lg/xl)
|
|
28
|
+
*/
|
|
20
29
|
shape?: 'rounded' | 'squared';
|
|
30
|
+
/** Vue Router destination — renders as RouterLink instead of button */
|
|
21
31
|
to?: string | Record<string, any>;
|
|
22
32
|
};
|
|
23
33
|
declare var __VLS_20: {};
|
|
@@ -5,12 +5,19 @@ export interface ButtonGroupOption {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Selected value(s) — any type (v-model) */
|
|
8
9
|
modelValue: unknown;
|
|
10
|
+
/** The options to choose from; see `ButtonGroupOption`. */
|
|
9
11
|
options: ButtonGroupOption[];
|
|
12
|
+
/** Standard (separated) or connected (joined) */
|
|
10
13
|
variant?: 'standard' | 'connected';
|
|
14
|
+
/** Button size */
|
|
11
15
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
16
|
+
/** Allow multiple selections */
|
|
12
17
|
multiSelect?: boolean;
|
|
18
|
+
/** At least one must be selected */
|
|
13
19
|
selectionRequired?: boolean;
|
|
20
|
+
/** Selected button color */
|
|
14
21
|
color?: 'primary' | 'secondary' | 'tertiary';
|
|
15
22
|
};
|
|
16
23
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -6,10 +6,18 @@ export interface CalendarEvent {
|
|
|
6
6
|
icon?: string;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Array of events to render on the grid (see `CalendarEvent`) */
|
|
9
10
|
events?: CalendarEvent[];
|
|
11
|
+
/**
|
|
12
|
+
* Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale
|
|
13
|
+
* (createM3UI({ locale })) — same pattern as MRelativeTime
|
|
14
|
+
*/
|
|
10
15
|
locale?: string;
|
|
16
|
+
/** Label for the Today button — falls back to the locale's own string when unset */
|
|
11
17
|
todayLabel?: string;
|
|
18
|
+
/** Aria label for the previous-month button — falls back to the locale's own string when unset */
|
|
12
19
|
prevMonthLabel?: string;
|
|
20
|
+
/** Aria label for the next-month button — falls back to the locale's own string when unset */
|
|
13
21
|
nextMonthLabel?: string;
|
|
14
22
|
};
|
|
15
23
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Card surface style */
|
|
2
3
|
variant?: 'elevated' | 'filled' | 'outlined';
|
|
4
|
+
/**
|
|
5
|
+
* Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus
|
|
6
|
+
* ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse
|
|
7
|
+
*/
|
|
3
8
|
clickable?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Shortcut that forces the elevated variant regardless of variant — true is equivalent to
|
|
11
|
+
* variant='elevated'
|
|
12
|
+
*/
|
|
4
13
|
elevated?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable,
|
|
16
|
+
* blocks interaction entirely
|
|
17
|
+
*/
|
|
5
18
|
disabled?: boolean;
|
|
6
19
|
/** src URL for a full-bleed header image */
|
|
7
20
|
image?: string;
|
|
21
|
+
/** Alt text for the header image */
|
|
8
22
|
imageAlt?: string;
|
|
23
|
+
/** Tailwind height class for the image */
|
|
9
24
|
imageHeight?: string;
|
|
25
|
+
/** Card title text */
|
|
10
26
|
title?: string;
|
|
27
|
+
/** Supporting text below the title */
|
|
11
28
|
subtitle?: string;
|
|
12
29
|
};
|
|
13
30
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
@@ -3,41 +3,66 @@ export interface CarouselItem {
|
|
|
3
3
|
alt?: string;
|
|
4
4
|
label?: string;
|
|
5
5
|
}
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
/** Target width of the large, fully-visible focal item, in px (preferredItemWidth). */
|
|
9
|
-
itemWidth?: number;
|
|
10
|
-
/** Spacing between item slots, in px. Real default (CarouselDefaults.ItemSpacing) is 0. */
|
|
11
|
-
itemSpacing?: number;
|
|
12
|
-
/** Real default (CarouselDefaults.MinSmallItemSize) is 40. */
|
|
13
|
-
minSmallItemWidth?: number;
|
|
14
|
-
/** Real default (CarouselDefaults.MaxSmallItemSize) is 56. */
|
|
15
|
-
maxSmallItemWidth?: number;
|
|
16
|
-
height?: string;
|
|
17
|
-
showArrows?: boolean;
|
|
18
|
-
autoplay?: boolean;
|
|
19
|
-
interval?: number;
|
|
20
|
-
};
|
|
21
|
-
declare function scrollToItem(index: number): void;
|
|
22
|
-
declare function next(): void;
|
|
23
|
-
declare function prev(): void;
|
|
24
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
25
|
-
next: typeof next;
|
|
26
|
-
prev: typeof prev;
|
|
27
|
-
scrollToItem: typeof scrollToItem;
|
|
28
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
change: (index: number) => any;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
-
onChange?: ((index: number) => any) | undefined;
|
|
32
|
-
}>, {
|
|
33
|
-
height: string;
|
|
34
|
-
itemWidth: number;
|
|
35
|
-
itemSpacing: number;
|
|
36
|
-
minSmallItemWidth: number;
|
|
37
|
-
maxSmallItemWidth: number;
|
|
38
|
-
showArrows: boolean;
|
|
39
|
-
autoplay: boolean;
|
|
40
|
-
interval: number;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen';
|
|
7
|
+
export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap';
|
|
42
8
|
declare const _default: typeof __VLS_export;
|
|
43
9
|
export default _default;
|
|
10
|
+
declare const __VLS_export: <T = CarouselItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
12
|
+
/** Items to render, required. CarouselItem by default; any type with an #item slot */
|
|
13
|
+
items: T[];
|
|
14
|
+
/** Index of the current (snapped) item; use with v-model to follow or drive it. */
|
|
15
|
+
modelValue?: number;
|
|
16
|
+
/** Carousel layout */
|
|
17
|
+
variant?: CarouselVariant;
|
|
18
|
+
/** Scroll axis */
|
|
19
|
+
orientation?: "horizontal" | "vertical";
|
|
20
|
+
/**
|
|
21
|
+
* Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the
|
|
22
|
+
* preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero
|
|
23
|
+
* without it fills the container minus its small items; full-screen ignores it.
|
|
24
|
+
*/
|
|
25
|
+
itemSize?: number;
|
|
26
|
+
/** Space between items, in px (M3 uses 8). */
|
|
27
|
+
itemSpacing?: number;
|
|
28
|
+
/** Padding at both ends of the scroll axis, in px. Items scroll under it. */
|
|
29
|
+
contentPadding?: number;
|
|
30
|
+
/** Smallest size a small item can take (multi-browse, hero) */
|
|
31
|
+
minSmallItemSize?: number;
|
|
32
|
+
/** Largest size a small item can take (multi-browse, hero) */
|
|
33
|
+
maxSmallItemSize?: number;
|
|
34
|
+
/** What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise. */
|
|
35
|
+
flingBehavior?: CarouselFlingBehavior;
|
|
36
|
+
/** Allow dragging, wheel and keyboard scrolling */
|
|
37
|
+
userScrollEnabled?: boolean;
|
|
38
|
+
/** Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen. */
|
|
39
|
+
height?: string;
|
|
40
|
+
/** Accessible name of the carousel. */
|
|
41
|
+
label?: string;
|
|
42
|
+
} & {
|
|
43
|
+
"onUpdate:modelValue"?: ((index: number) => any) | undefined;
|
|
44
|
+
onItemClick?: ((item: T, index: number) => any) | undefined;
|
|
45
|
+
}> & (typeof globalThis extends {
|
|
46
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
47
|
+
} ? P : {});
|
|
48
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
49
|
+
scrollToItem: (index: number, animate?: boolean) => void;
|
|
50
|
+
next: () => void;
|
|
51
|
+
prev: () => void;
|
|
52
|
+
}>) => void;
|
|
53
|
+
attrs: any;
|
|
54
|
+
slots: {
|
|
55
|
+
item?: (scope: {
|
|
56
|
+
item: T;
|
|
57
|
+
index: number;
|
|
58
|
+
}) => unknown;
|
|
59
|
+
};
|
|
60
|
+
emit: ((evt: "update:modelValue", index: number) => void) & ((evt: "itemClick", item: T, index: number) => void);
|
|
61
|
+
}>) => import("vue").VNode & {
|
|
62
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
63
|
+
};
|
|
64
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} : {
|
|
67
|
+
[K in keyof T as K]: T[K];
|
|
68
|
+
}) & {};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Chart type. Required — there is no default. */
|
|
3
4
|
type: ChartType;
|
|
5
|
+
/** Chart.js data object with labels and datasets. Required — there is no default. */
|
|
4
6
|
data: Record<string, any>;
|
|
7
|
+
/**
|
|
8
|
+
* Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that
|
|
9
|
+
* track the active theme automatically)
|
|
10
|
+
*/
|
|
5
11
|
options?: Record<string, any>;
|
|
12
|
+
/** Chart height */
|
|
6
13
|
height?: string;
|
|
7
14
|
};
|
|
8
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Message text (or use the default slot for custom content) */
|
|
2
3
|
text?: string;
|
|
4
|
+
/** Sender name shown above the bubble (left-side only) */
|
|
3
5
|
sender?: string;
|
|
6
|
+
/** Timestamp string (e.g. "10:32") */
|
|
4
7
|
time?: string;
|
|
8
|
+
/** Left = received, right = sent */
|
|
5
9
|
side?: 'left' | 'right';
|
|
10
|
+
/** Avatar name — shows an MAvatar with these initials (left-side only) */
|
|
6
11
|
avatar?: string;
|
|
12
|
+
/** Message status icon next to the timestamp (right-side only) */
|
|
7
13
|
status?: 'sent' | 'delivered' | 'read';
|
|
14
|
+
/** Bubble color for sent (right-side) messages */
|
|
8
15
|
color?: 'primary' | 'secondary' | 'tertiary';
|
|
16
|
+
/** Show the bubble tail (a sharper corner on the side nearest the sender) */
|
|
9
17
|
tail?: boolean;
|
|
18
|
+
/** Text size (body-small / body-medium / body-large) */
|
|
10
19
|
size?: 'small' | 'medium' | 'large';
|
|
20
|
+
/** Max bubble width (px, %, or var()) — supports a CSS variable for responsive control */
|
|
11
21
|
maxWidth?: string;
|
|
12
22
|
/** Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio. */
|
|
13
23
|
typing?: 'text' | 'audio';
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Checked state (v-model) */
|
|
2
3
|
modelValue: boolean;
|
|
4
|
+
/** Indeterminate state */
|
|
3
5
|
indeterminate?: boolean;
|
|
6
|
+
/** Disables the checkbox */
|
|
4
7
|
disabled?: boolean;
|
|
8
|
+
/** Label text — overridden by the default slot when present */
|
|
5
9
|
label?: string;
|
|
10
|
+
/** Checked/indeterminate color */
|
|
6
11
|
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
7
12
|
/** Accessible name for the input when there's no visible label (e.g. a list row's checkbox). */
|
|
8
13
|
ariaLabel?: string;
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Color tone or any CSS color string */
|
|
2
3
|
tone?: string;
|
|
4
|
+
/** Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected */
|
|
3
5
|
selected?: boolean;
|
|
6
|
+
/** Show a remove (X) button */
|
|
4
7
|
removable?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain
|
|
10
|
+
* `<span>`)
|
|
11
|
+
*/
|
|
5
12
|
clickable?: boolean;
|
|
13
|
+
/** Disables interaction */
|
|
6
14
|
disabled?: boolean;
|
|
15
|
+
/** Leading Material Symbol icon */
|
|
7
16
|
icon?: string;
|
|
8
17
|
};
|
|
9
18
|
declare var __VLS_15: {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Progress 0–100 (omit when indeterminate) */
|
|
2
3
|
value?: number;
|
|
4
|
+
/** Spinning arc — no value needed. Identical for both variants. */
|
|
3
5
|
indeterminate?: boolean;
|
|
6
|
+
/** Ring color */
|
|
4
7
|
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
8
|
+
/** wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc */
|
|
5
9
|
variant?: "circle" | "wavy";
|
|
10
|
+
/** Label text below the circle */
|
|
6
11
|
label?: string;
|
|
12
|
+
/** Diameter in px — matches the real M3 WaveSize/Size tokens per variant */
|
|
7
13
|
size?: number;
|
|
14
|
+
/** Stroke width of the ring/wave in px, matching the real M3 token */
|
|
8
15
|
thickness?: number;
|
|
9
16
|
};
|
|
10
17
|
declare var __VLS_1: {};
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Editor content (v-model) */
|
|
3
4
|
modelValue: string;
|
|
5
|
+
/** Syntax language */
|
|
4
6
|
language?: Language;
|
|
7
|
+
/** Read-only mode */
|
|
5
8
|
readonly?: boolean;
|
|
9
|
+
/** Show line numbers */
|
|
6
10
|
lineNumbers?: boolean;
|
|
11
|
+
/** Color theme */
|
|
7
12
|
theme?: 'light' | 'dark';
|
|
13
|
+
/** Minimum editor height */
|
|
8
14
|
minHeight?: string;
|
|
15
|
+
/** Maximum editor height */
|
|
9
16
|
maxHeight?: string;
|
|
17
|
+
/** Placeholder text shown via CodeMirror when the editor is empty */
|
|
10
18
|
placeholder?: string;
|
|
19
|
+
/** Word wrap */
|
|
11
20
|
wrap?: boolean;
|
|
12
21
|
};
|
|
13
22
|
declare var __VLS_1: {};
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Selected color in hex format (v-model) */
|
|
2
3
|
modelValue: string;
|
|
4
|
+
/** Field label */
|
|
3
5
|
label?: string;
|
|
6
|
+
/** Preset color swatches shown in the panel */
|
|
4
7
|
presets?: string[];
|
|
8
|
+
/** Disables the picker */
|
|
5
9
|
disabled?: boolean;
|
|
10
|
+
/** Error state */
|
|
6
11
|
error?: boolean;
|
|
12
|
+
/** Error message shown when error is true */
|
|
7
13
|
errorLabel?: string;
|
|
14
|
+
/** Hint text below the field */
|
|
8
15
|
hint?: string;
|
|
16
|
+
/** Overrides the auto-detected background color used to cut the floating label out of the border */
|
|
9
17
|
fieldBg?: string;
|
|
10
18
|
};
|
|
11
19
|
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
|
+
/** Selected color in hex format (v-model) */
|
|
2
3
|
modelValue: string;
|
|
4
|
+
/** Controls dialog visibility (v-model:show) */
|
|
3
5
|
show?: boolean;
|
|
6
|
+
/** Preset color swatches shown in the dialog */
|
|
4
7
|
presets?: string[];
|
|
8
|
+
/** Dialog title */
|
|
5
9
|
title?: string;
|
|
6
10
|
};
|
|
7
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8,13 +8,21 @@ export interface CommandItem {
|
|
|
8
8
|
onSelect?: () => void;
|
|
9
9
|
}
|
|
10
10
|
type __VLS_Props = {
|
|
11
|
+
/** Open/closed state (v-model). Required — there is no default. */
|
|
11
12
|
modelValue: boolean;
|
|
13
|
+
/** Commands to search over (see `CommandItem`). Required — there is no default. */
|
|
12
14
|
items: CommandItem[];
|
|
15
|
+
/** Search input placeholder — falls back to the locale's own string when unset */
|
|
13
16
|
placeholder?: string;
|
|
17
|
+
/** Empty-state text — falls back to the locale's own string when unset */
|
|
14
18
|
noResultsText?: string;
|
|
19
|
+
/** Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette */
|
|
15
20
|
hotkey?: string;
|
|
21
|
+
/** Footer hint text for the arrow keys — falls back to the locale's own string when unset */
|
|
16
22
|
navigateHint?: string;
|
|
23
|
+
/** Footer hint text for Enter — falls back to the locale's own string when unset */
|
|
17
24
|
selectHint?: string;
|
|
25
|
+
/** Footer hint text for Escape — falls back to the locale's own string when unset */
|
|
18
26
|
closeHint?: string;
|
|
19
27
|
};
|
|
20
28
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Open/closed state (v-model) */
|
|
2
3
|
modelValue: boolean;
|
|
4
|
+
/** Dialog title */
|
|
3
5
|
title: string;
|
|
6
|
+
/** Confirmation message body */
|
|
4
7
|
message: string;
|
|
8
|
+
/** Confirm button label — falls back to the locale string when omitted */
|
|
5
9
|
confirmLabel?: string;
|
|
10
|
+
/** Cancel button label — falls back to the locale string when omitted */
|
|
6
11
|
cancelLabel?: string;
|
|
12
|
+
/** Error color on the confirm button, for destructive actions */
|
|
7
13
|
danger?: boolean;
|
|
14
|
+
/** Shows a spinner on the confirm button and disables cancel */
|
|
8
15
|
loading?: boolean;
|
|
9
16
|
/** Passed straight through to MDialog's `closable` — show/hide the header close (X) button. */
|
|
10
17
|
closable?: boolean;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Maximum width breakpoint */
|
|
2
3
|
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
4
|
+
/** Full-width (no max constraint) */
|
|
3
5
|
fluid?: boolean;
|
|
6
|
+
/** Center horizontally with mx-auto */
|
|
4
7
|
centered?: boolean;
|
|
8
|
+
/** Add responsive horizontal padding */
|
|
5
9
|
padding?: boolean;
|
|
6
10
|
};
|
|
7
11
|
declare var __VLS_1: {};
|
|
@@ -7,12 +7,9 @@ type __VLS_Props = {
|
|
|
7
7
|
*/
|
|
8
8
|
submenuMode?: 'flyout' | 'push';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* (
|
|
12
|
-
*
|
|
13
|
-
* (`SegmentedMenuTokens.ContainerShape`/`CornerLarge`). Combine with
|
|
14
|
-
* `<MMenuDivider gap />` to split the panel into independently-rounded
|
|
15
|
-
* groups with a visible gap between them, instead of a plain line.
|
|
10
|
+
* 'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling
|
|
11
|
+
* (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups
|
|
12
|
+
* with a visible gap, instead of a plain divider line.
|
|
16
13
|
*/
|
|
17
14
|
variant?: 'standard' | 'expressive';
|
|
18
15
|
};
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Text copied to the clipboard on click */
|
|
2
3
|
value: string;
|
|
4
|
+
/** Icon shown in the idle state */
|
|
3
5
|
icon?: string;
|
|
6
|
+
/** Icon shown right after a successful copy */
|
|
4
7
|
copiedIcon?: string;
|
|
8
|
+
/** aria-label in the idle state */
|
|
5
9
|
label?: string;
|
|
10
|
+
/** aria-label right after a successful copy */
|
|
6
11
|
copiedLabel?: string;
|
|
12
|
+
/** Visual style (same as MIconButton) */
|
|
7
13
|
variant?: 'standard' | 'filled' | 'tonal' | 'outlined';
|
|
14
|
+
/** Button shape */
|
|
8
15
|
shape?: 'rounded' | 'squared';
|
|
16
|
+
/** Button size */
|
|
9
17
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
|
|
18
|
+
/** Disables the button */
|
|
10
19
|
disabled?: boolean;
|
|
20
|
+
/** Milliseconds before the icon reverts to idle after copying */
|
|
11
21
|
resetDelay?: number;
|
|
12
22
|
};
|
|
13
23
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -15,45 +15,66 @@ export interface DataTableGroup {
|
|
|
15
15
|
label: string;
|
|
16
16
|
}
|
|
17
17
|
type __VLS_Props = {
|
|
18
|
+
/** Column definitions; see `DataTableColumn` */
|
|
18
19
|
columns: DataTableColumn[];
|
|
20
|
+
/** Table data rows */
|
|
19
21
|
rows: Record<string, any>[];
|
|
22
|
+
/** Show skeleton loading state */
|
|
20
23
|
loading?: boolean;
|
|
24
|
+
/** Text when no rows (defaults to the locale string) */
|
|
21
25
|
emptyText?: string;
|
|
26
|
+
/** Unique key field in each row */
|
|
22
27
|
rowKey?: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
* `rowClick`, así una tabla puede seleccionar filas y a la vez abrirlas al click.
|
|
28
|
+
/**
|
|
29
|
+
* Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself
|
|
30
|
+
* still emits row-click)
|
|
27
31
|
*/
|
|
32
|
+
selectable?: boolean;
|
|
33
|
+
/** With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click */
|
|
28
34
|
selectOnRowClick?: boolean;
|
|
35
|
+
/** Selected rows (v-model) */
|
|
29
36
|
modelValue?: Record<string, any>[];
|
|
37
|
+
/** Rows per page */
|
|
30
38
|
perPage?: number;
|
|
39
|
+
/** Show search input */
|
|
31
40
|
searchable?: boolean;
|
|
41
|
+
/** Enable row expansion (requires the row-expand slot) */
|
|
32
42
|
expandable?: boolean;
|
|
43
|
+
/** Alternate row colors */
|
|
33
44
|
striped?: boolean;
|
|
45
|
+
/** Compact row height */
|
|
34
46
|
dense?: boolean;
|
|
47
|
+
/** Sticky table header */
|
|
35
48
|
stickyHeader?: boolean;
|
|
49
|
+
/** Group rows by this column key */
|
|
36
50
|
groupBy?: string;
|
|
51
|
+
/** Allow hiding/showing columns from a menu */
|
|
37
52
|
columnToggle?: boolean;
|
|
53
|
+
/** Show an export-to-CSV button */
|
|
38
54
|
exportable?: boolean;
|
|
55
|
+
/** Emit fetch instead of local filtering. Requires :total. */
|
|
39
56
|
serverSide?: boolean;
|
|
57
|
+
/** Total rows (for server-side pagination) */
|
|
40
58
|
total?: number;
|
|
59
|
+
/** Current page (v-model via update:page) */
|
|
41
60
|
page?: number;
|
|
61
|
+
/** Placeholder for search input (defaults to the locale string) */
|
|
42
62
|
searchPlaceholder?: string;
|
|
63
|
+
/** Text for selected count badge (defaults to the locale string) */
|
|
43
64
|
selectedText?: string;
|
|
65
|
+
/** Text for total records count (defaults to the locale string) */
|
|
44
66
|
recordsText?: string;
|
|
67
|
+
/** Aria label for the expand button (defaults to the locale string) */
|
|
45
68
|
expandLabel?: string;
|
|
69
|
+
/** Label for the column-toggle button (defaults to the locale string) */
|
|
46
70
|
columnsLabel?: string;
|
|
71
|
+
/** Label for the export button (defaults to the locale string) */
|
|
47
72
|
exportLabel?: string;
|
|
73
|
+
/** Text for the ungrouped-rows bucket (defaults to the locale string) */
|
|
48
74
|
noGroupText?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* (default), la tabla vuelve a su comportamiento natural: alto según la cantidad real de filas,
|
|
53
|
-
* sin piso reservado — usalo sólo en tablas puntuales que necesiten ese piso (p. ej. una agenda
|
|
54
|
-
* diaria que suele tener pocos o cero elementos y no debería verse minúscula al filtrar a un día
|
|
55
|
-
* vacío). El estado vacío siempre reserva un mínimo propio independientemente de este prop, ver
|
|
56
|
-
* `emptyStateMinHeight`.
|
|
75
|
+
/**
|
|
76
|
+
* Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between
|
|
77
|
+
* loading/empty/loaded doesn't visibly resize the table. Off by default.
|
|
57
78
|
*/
|
|
58
79
|
minHeight?: string;
|
|
59
80
|
};
|
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Selected date (YYYY-MM-DD, v-model) */
|
|
2
3
|
modelValue: string | null;
|
|
4
|
+
/** Field label */
|
|
3
5
|
label?: string;
|
|
6
|
+
/** Placeholder shown when no date is selected — falls back to label, then the current locale's string */
|
|
4
7
|
placeholder?: string;
|
|
8
|
+
/** Minimum selectable date (YYYY-MM-DD) */
|
|
5
9
|
min?: string;
|
|
10
|
+
/** Maximum selectable date (YYYY-MM-DD) */
|
|
6
11
|
max?: string;
|
|
12
|
+
/** Disables the picker */
|
|
7
13
|
disabled?: boolean;
|
|
14
|
+
/** Error state */
|
|
8
15
|
error?: boolean;
|
|
16
|
+
/** Error message shown when error is true */
|
|
9
17
|
errorLabel?: string;
|
|
18
|
+
/** Hint text below the field */
|
|
10
19
|
hint?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same
|
|
22
|
+
* pattern as MRelativeTime
|
|
23
|
+
*/
|
|
11
24
|
locale?: string;
|
|
25
|
+
/** Overrides the auto-detected background color used to cut the floating label out of the border */
|
|
12
26
|
fieldBg?: string;
|
|
27
|
+
/** Aria label for the previous-month button — defaults to the current locale's string */
|
|
13
28
|
prevMonthLabel?: string;
|
|
29
|
+
/** Aria label for the next-month button — defaults to the current locale's string */
|
|
14
30
|
nextMonthLabel?: string;
|
|
15
31
|
};
|
|
16
32
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Selected date in YYYY-MM-DD format (v-model) */
|
|
2
3
|
modelValue: string | null;
|
|
4
|
+
/** Controls dialog visibility (v-model:show) */
|
|
3
5
|
show?: boolean;
|
|
6
|
+
/** Minimum selectable date (YYYY-MM-DD) */
|
|
4
7
|
min?: string;
|
|
8
|
+
/** Maximum selectable date (YYYY-MM-DD) */
|
|
5
9
|
max?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same
|
|
12
|
+
* pattern as MRelativeTime
|
|
13
|
+
*/
|
|
6
14
|
locale?: string;
|
|
15
|
+
/** Dialog title */
|
|
7
16
|
title?: string;
|
|
8
17
|
};
|
|
9
18
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|