@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
|
@@ -1,39 +1,86 @@
|
|
|
1
1
|
export interface SchedulerEvent {
|
|
2
2
|
id: string | number;
|
|
3
3
|
title: string;
|
|
4
|
+
/**
|
|
5
|
+
* Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date
|
|
6
|
+
* (`2026-10-17`).
|
|
7
|
+
*/
|
|
4
8
|
start: string;
|
|
9
|
+
/** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */
|
|
5
10
|
end: string;
|
|
11
|
+
/** Shown in the all-day row instead of the time grid. Events that span days go there too. */
|
|
12
|
+
allDay?: boolean;
|
|
6
13
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success';
|
|
7
14
|
}
|
|
8
15
|
type __VLS_Props = {
|
|
16
|
+
/** Events to show (see `SchedulerEvent`) */
|
|
9
17
|
events?: SchedulerEvent[];
|
|
18
|
+
/** 'week' or 'day'; use v-model:view to follow the header's toggle. */
|
|
10
19
|
view?: 'week' | 'day';
|
|
20
|
+
/** The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation. */
|
|
21
|
+
date?: string;
|
|
22
|
+
/** First visible hour */
|
|
11
23
|
startHour?: number;
|
|
24
|
+
/** Hour the grid ends at */
|
|
12
25
|
endHour?: number;
|
|
26
|
+
/** First day of the week: 0 = Sunday, 1 = Monday. */
|
|
27
|
+
weekStartsOn?: 0 | 1;
|
|
28
|
+
/** Height of one hour row, in px. */
|
|
29
|
+
hourHeight?: number;
|
|
30
|
+
/** A line across today's column at the current time. */
|
|
31
|
+
nowIndicator?: boolean;
|
|
32
|
+
/** Locale for dates and times (Intl). Falls back to the app's configured locale */
|
|
13
33
|
locale?: string;
|
|
34
|
+
/** Aria label of the previous button (defaults to the locale string) */
|
|
14
35
|
prevLabel?: string;
|
|
36
|
+
/** Aria label of the next button (defaults to the locale string) */
|
|
15
37
|
nextLabel?: string;
|
|
38
|
+
/** Label of the Today button (defaults to the locale string) */
|
|
16
39
|
todayLabel?: string;
|
|
40
|
+
/** Label of the Day toggle (defaults to the locale string) */
|
|
17
41
|
dayViewLabel?: string;
|
|
42
|
+
/** Label of the Week toggle (defaults to the locale string) */
|
|
18
43
|
weekViewLabel?: string;
|
|
44
|
+
/** Label of the all-day row (defaults to the locale string) */
|
|
45
|
+
allDayLabel?: string;
|
|
19
46
|
};
|
|
20
|
-
|
|
47
|
+
type __VLS_Slots = {
|
|
48
|
+
/** Content of an event block. */
|
|
49
|
+
event?: (scope: {
|
|
50
|
+
event: SchedulerEvent;
|
|
51
|
+
allDay: boolean;
|
|
52
|
+
}) => unknown;
|
|
53
|
+
};
|
|
54
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
55
|
eventClick: (args_0: SchedulerEvent) => any;
|
|
22
56
|
slotClick: (args_0: {
|
|
23
57
|
date: string;
|
|
24
58
|
hour: number;
|
|
25
59
|
}) => any;
|
|
60
|
+
"update:date": (args_0: string) => any;
|
|
61
|
+
"update:view": (args_0: "week" | "day") => any;
|
|
26
62
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
63
|
onEventClick?: ((args_0: SchedulerEvent) => any) | undefined;
|
|
28
64
|
onSlotClick?: ((args_0: {
|
|
29
65
|
date: string;
|
|
30
66
|
hour: number;
|
|
31
67
|
}) => any) | undefined;
|
|
68
|
+
"onUpdate:date"?: ((args_0: string) => any) | undefined;
|
|
69
|
+
"onUpdate:view"?: ((args_0: "week" | "day") => any) | undefined;
|
|
32
70
|
}>, {
|
|
33
71
|
view: "week" | "day";
|
|
34
72
|
events: SchedulerEvent[];
|
|
35
73
|
startHour: number;
|
|
36
74
|
endHour: number;
|
|
75
|
+
weekStartsOn: 0 | 1;
|
|
76
|
+
hourHeight: number;
|
|
77
|
+
nowIndicator: boolean;
|
|
37
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
80
|
declare const _default: typeof __VLS_export;
|
|
39
81
|
export default _default;
|
|
82
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Search query (v-model) */
|
|
2
3
|
modelValue?: string;
|
|
3
4
|
/** Controls the expanded/collapsed state — also works uncontrolled if omitted. */
|
|
4
5
|
expanded?: boolean;
|
|
6
|
+
/** Defaults to the locale's "Search..." */
|
|
5
7
|
placeholder?: string;
|
|
6
8
|
/** 'docked' grows into a rounded panel anchored below the bar (default).
|
|
7
9
|
* 'fullscreen' takes over the whole viewport, matching M3's mobile
|
|
8
10
|
* search pattern — the leading icon becomes a back button either way. */
|
|
9
11
|
variant?: 'docked' | 'fullscreen';
|
|
12
|
+
/** Icon shown in the collapsed bar */
|
|
10
13
|
leadingIcon?: string;
|
|
11
14
|
/** Which side of the *collapsed* bar the leading icon sits on. The
|
|
12
15
|
* expanded panel's back button always stays at the start regardless —
|
|
@@ -15,8 +18,11 @@ type __VLS_Props = {
|
|
|
15
18
|
/** Centers the input/placeholder text instead of the M3-standard start
|
|
16
19
|
* alignment (an iOS-style look some apps use for the collapsed bar). */
|
|
17
20
|
textAlign?: 'start' | 'center';
|
|
21
|
+
/** Shows a spinner in the expanded header instead of the clear button */
|
|
18
22
|
loading?: boolean;
|
|
23
|
+
/** Shows a clear (×) button once there is a query */
|
|
19
24
|
clearable?: boolean;
|
|
25
|
+
/** Disables the collapsed bar */
|
|
20
26
|
disabled?: boolean;
|
|
21
27
|
};
|
|
22
28
|
declare var __VLS_1: {}, __VLS_13: {}, __VLS_44: {}, __VLS_46: {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { TextVariant } from './MText.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/** Section title text */
|
|
3
4
|
title?: string;
|
|
5
|
+
/** Section subtitle text */
|
|
4
6
|
subtitle?: string;
|
|
7
|
+
/** Show divider below header */
|
|
5
8
|
divider?: boolean;
|
|
9
|
+
/** Gap between header and content */
|
|
6
10
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
11
|
+
/** Typography variant for the title */
|
|
7
12
|
titleVariant?: TextVariant;
|
|
8
13
|
};
|
|
9
14
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
@@ -5,10 +5,15 @@ export interface SegmentedOption {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Selected value(s) */
|
|
8
9
|
modelValue: string | number | (string | number)[];
|
|
10
|
+
/** The options to choose from; see `SegmentedOption`. */
|
|
9
11
|
options: SegmentedOption[];
|
|
12
|
+
/** Allow multiple selections */
|
|
10
13
|
multiSelect?: boolean;
|
|
14
|
+
/** Button density */
|
|
11
15
|
density?: 'default' | 'comfortable' | 'compact';
|
|
16
|
+
/** Selected segment color */
|
|
12
17
|
color?: 'primary' | 'secondary' | 'tertiary';
|
|
13
18
|
};
|
|
14
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -4,20 +4,37 @@ export interface SelectOption {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
}
|
|
6
6
|
type __VLS_Props = {
|
|
7
|
+
/** Selected value (any type — v-model) */
|
|
7
8
|
modelValue: unknown;
|
|
9
|
+
/** The options to choose from; see `SelectOption`. */
|
|
8
10
|
options: SelectOption[];
|
|
11
|
+
/** Field label */
|
|
9
12
|
label?: string;
|
|
13
|
+
/** Placeholder when no value selected */
|
|
10
14
|
placeholder?: string;
|
|
15
|
+
/** Visual style */
|
|
11
16
|
variant?: 'filled' | 'outlined';
|
|
17
|
+
/** Dropdown mode: docked (inline) or modal (dialog) */
|
|
12
18
|
mode?: 'docked' | 'modal';
|
|
19
|
+
/** Disables the select */
|
|
13
20
|
disabled?: boolean;
|
|
21
|
+
/** Error state */
|
|
14
22
|
error?: boolean;
|
|
23
|
+
/** Error message shown when error is true */
|
|
15
24
|
errorLabel?: string;
|
|
25
|
+
/** Hint text below the field */
|
|
16
26
|
hint?: string;
|
|
27
|
+
/** Marks as required — adds a red asterisk after the label */
|
|
17
28
|
required?: boolean;
|
|
29
|
+
/** Material Symbol shown before the trigger */
|
|
18
30
|
leadingIcon?: string;
|
|
31
|
+
/** Show a clear button to reset the selection */
|
|
19
32
|
clearable?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Overrides the auto-detected background color used to cut the floating label out of the outlined border
|
|
35
|
+
*/
|
|
20
36
|
fieldBg?: string;
|
|
37
|
+
/** Text shown when options is empty — defaults to the current locale's string */
|
|
21
38
|
noResultsText?: string;
|
|
22
39
|
};
|
|
23
40
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
renderer?: ShaderRenderer;
|
|
12
12
|
/** Custom uniforms. Keys/shape are locked in at mount time; only values are reactive per frame. */
|
|
13
13
|
uniforms?: Record<string, number | number[]>;
|
|
14
|
+
/** Freezes the render loop and the shader clock */
|
|
14
15
|
paused?: boolean;
|
|
15
16
|
/** Device pixel ratio to render at. Defaults to devicePixelRatio, capped at 2 for performance. */
|
|
16
17
|
pixelRatio?: number;
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
*/
|
|
39
39
|
speed?: number;
|
|
40
40
|
}> & Readonly<{}>, {
|
|
41
|
-
animate: boolean;
|
|
42
41
|
fill: string;
|
|
42
|
+
animate: boolean;
|
|
43
43
|
speed: number;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
45
45
|
default?: (props: {}) => any;
|
|
@@ -11,20 +11,19 @@ export interface ShortNavBarItem {
|
|
|
11
11
|
to?: ItemLink;
|
|
12
12
|
}
|
|
13
13
|
type __VLS_Props = {
|
|
14
|
+
/** Active item value, v-model */
|
|
14
15
|
modelValue: string | number;
|
|
16
|
+
/** Array of nav bar items (see `ShortNavBarItem`) */
|
|
15
17
|
items: ShortNavBarItem[];
|
|
16
18
|
/**
|
|
17
|
-
* 'equal' (
|
|
18
|
-
* for
|
|
19
|
-
* of stretching edge to edge — recommended for medium-width screens, paired with iconPosition
|
|
20
|
-
* 'start'. Real Compose computes this via a custom MeasurePolicy at layout time; ported here as
|
|
21
|
-
* the same closed-form percentage formula (calculateCenteredContentHorizontalPadding), since it
|
|
22
|
-
* only ever depends on the item count, not on measured content size.
|
|
19
|
+
* 'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead,
|
|
20
|
+
* recommended for medium/landscape screens
|
|
23
21
|
*/
|
|
24
22
|
arrangement?: 'equal' | 'centered';
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
23
|
+
/**
|
|
24
|
+
* 'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically
|
|
25
|
+
* paired with arrangement='centered'
|
|
26
|
+
*/
|
|
28
27
|
iconPosition?: 'top' | 'start';
|
|
29
28
|
};
|
|
30
29
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Open/closed state (v-model) */
|
|
2
3
|
modelValue: boolean;
|
|
4
|
+
/** Sheet header title, ignored if the header slot is used */
|
|
3
5
|
title?: string;
|
|
6
|
+
/** Tailwind width class for the panel (capped at max-w-[90vw]) */
|
|
4
7
|
width?: string;
|
|
5
8
|
};
|
|
6
9
|
declare var __VLS_16: {}, __VLS_23: {}, __VLS_25: {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Canvas width in px */
|
|
2
3
|
width?: number;
|
|
4
|
+
/** Canvas height in px */
|
|
3
5
|
height?: number;
|
|
6
|
+
/** Stroke width */
|
|
4
7
|
lineWidth?: number;
|
|
8
|
+
/** Stroke color */
|
|
5
9
|
color?: string;
|
|
10
|
+
/** Canvas background color */
|
|
6
11
|
background?: string;
|
|
12
|
+
/** Container border style */
|
|
7
13
|
variant?: 'filled' | 'outlined';
|
|
14
|
+
/** Disables drawing */
|
|
8
15
|
disabled?: boolean;
|
|
9
16
|
};
|
|
10
17
|
declare function clear(): void;
|
|
@@ -6,15 +6,25 @@ export interface SimpleCarouselItem {
|
|
|
6
6
|
ratio?: number;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Slides to render — required */
|
|
9
10
|
items: SimpleCarouselItem[];
|
|
11
|
+
/** Carousel layout style */
|
|
10
12
|
layout?: 'hero' | 'multi-browse' | 'uncontained';
|
|
13
|
+
/** Track height */
|
|
11
14
|
height?: string;
|
|
15
|
+
/** Show prev/next arrow buttons (fade in on hover) */
|
|
12
16
|
showArrows?: boolean;
|
|
17
|
+
/** Show dot indicators below the track */
|
|
13
18
|
showIndicators?: boolean;
|
|
19
|
+
/** Auto-advance slides — pauses while the pointer is over the carousel */
|
|
14
20
|
autoplay?: boolean;
|
|
21
|
+
/** Autoplay interval in ms */
|
|
15
22
|
interval?: number;
|
|
23
|
+
/** Gap between items in pixels */
|
|
16
24
|
gap?: number;
|
|
25
|
+
/** Number of visible items (multi-browse layout only) */
|
|
17
26
|
visibleItems?: number;
|
|
27
|
+
/** Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only) */
|
|
18
28
|
animated?: boolean;
|
|
19
29
|
};
|
|
20
30
|
declare function scrollToItem(index: number): void;
|
|
@@ -33,11 +43,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
33
43
|
}>, {
|
|
34
44
|
height: string;
|
|
35
45
|
layout: "hero" | "multi-browse" | "uncontained";
|
|
46
|
+
gap: number;
|
|
36
47
|
showArrows: boolean;
|
|
48
|
+
showIndicators: boolean;
|
|
37
49
|
autoplay: boolean;
|
|
38
50
|
interval: number;
|
|
39
|
-
gap: number;
|
|
40
|
-
showIndicators: boolean;
|
|
41
51
|
visibleItems: number;
|
|
42
52
|
animated: boolean;
|
|
43
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.
|
|
3
|
+
*/
|
|
1
4
|
type __VLS_Props = {
|
|
5
|
+
/** Skeleton shape */
|
|
2
6
|
variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
|
|
7
|
+
/** CSS width (defaults to 100%, or 40px for circular) */
|
|
3
8
|
width?: string;
|
|
9
|
+
/** CSS height (defaults to 14px for text, 40px for circular, 100px otherwise) */
|
|
4
10
|
height?: string;
|
|
11
|
+
/** Number of text lines (text variant only) — the last line renders at 60% width */
|
|
5
12
|
lines?: number;
|
|
13
|
+
/** Animation style */
|
|
6
14
|
animation?: 'pulse' | 'wave' | 'none';
|
|
7
15
|
};
|
|
8
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,17 +1,31 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Current value — a tuple when variant is range */
|
|
2
3
|
modelValue: number | [number, number];
|
|
4
|
+
/** Minimum value */
|
|
3
5
|
min?: number;
|
|
6
|
+
/** Maximum value */
|
|
4
7
|
max?: number;
|
|
8
|
+
/** Step increment */
|
|
5
9
|
step?: number;
|
|
10
|
+
/** Disables the slider */
|
|
6
11
|
disabled?: boolean;
|
|
12
|
+
/** Label text */
|
|
7
13
|
label?: string;
|
|
14
|
+
/** Show current value beside label */
|
|
8
15
|
showValue?: boolean;
|
|
16
|
+
/** Show value tooltip while dragging */
|
|
9
17
|
showTooltip?: boolean;
|
|
18
|
+
/** Slider orientation */
|
|
10
19
|
orientation?: 'horizontal' | 'vertical';
|
|
20
|
+
/** Track and thumb size */
|
|
11
21
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
22
|
+
/** Standard, centered (from middle), or range (two thumbs) */
|
|
12
23
|
variant?: 'standard' | 'centered' | 'range';
|
|
24
|
+
/** Show stop dots at each step (max 30 visible) */
|
|
13
25
|
stops?: boolean;
|
|
26
|
+
/** Material Symbol icon shown before the slider — hides once the fill reaches it */
|
|
14
27
|
icon?: string;
|
|
28
|
+
/** Base color — used for the fill and thumb unless overridden by fillColor/thumbColor */
|
|
15
29
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
16
30
|
/** Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token. */
|
|
17
31
|
fillColor?: string;
|
|
@@ -30,11 +44,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
30
44
|
variant: "standard" | "centered" | "range";
|
|
31
45
|
disabled: boolean;
|
|
32
46
|
max: number;
|
|
47
|
+
orientation: "horizontal" | "vertical";
|
|
33
48
|
min: number;
|
|
34
49
|
step: number;
|
|
35
50
|
showValue: boolean;
|
|
36
51
|
showTooltip: boolean;
|
|
37
|
-
orientation: "horizontal" | "vertical";
|
|
38
52
|
stops: boolean;
|
|
39
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
54
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Accessible label of each toast's close button. Defaults to the locale's "Close". */
|
|
2
3
|
closeAriaLabel?: string;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Size in px */
|
|
2
3
|
size?: number;
|
|
4
|
+
/**
|
|
5
|
+
* M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a
|
|
6
|
+
* plain spin
|
|
7
|
+
*/
|
|
3
8
|
wavy?: boolean;
|
|
9
|
+
/** Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted */
|
|
4
10
|
label?: string;
|
|
5
11
|
};
|
|
6
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -5,12 +5,19 @@ export interface SplitButtonItem {
|
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Main button label */
|
|
8
9
|
label: string;
|
|
10
|
+
/** Main button icon */
|
|
9
11
|
icon?: string;
|
|
12
|
+
/** Visual style */
|
|
10
13
|
variant?: 'filled' | 'tonal' | 'outlined' | 'elevated';
|
|
14
|
+
/** Color scheme */
|
|
11
15
|
color?: 'primary' | 'secondary' | 'tertiary';
|
|
16
|
+
/** Button size */
|
|
12
17
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
18
|
+
/** Disables both parts */
|
|
13
19
|
disabled?: boolean;
|
|
20
|
+
/** Dropdown menu items; see `SplitButtonItem` */
|
|
14
21
|
items?: SplitButtonItem[];
|
|
15
22
|
};
|
|
16
23
|
declare var __VLS_34: {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Split direction */
|
|
2
3
|
direction?: 'horizontal' | 'vertical';
|
|
4
|
+
/** Initial split percentage */
|
|
3
5
|
initialSplit?: number;
|
|
6
|
+
/** Minimum panel percentage */
|
|
4
7
|
min?: number;
|
|
8
|
+
/** Maximum panel percentage */
|
|
5
9
|
max?: number;
|
|
6
10
|
};
|
|
7
11
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
@@ -6,15 +6,33 @@ export interface SpotlightResult {
|
|
|
6
6
|
category?: string;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Open/closed state (v-model). Required — there is no default. */
|
|
9
10
|
modelValue: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Results to render — the component does no filtering itself, it just displays whatever you pass via the
|
|
13
|
+
* search event handler
|
|
14
|
+
*/
|
|
10
15
|
results?: SpotlightResult[];
|
|
16
|
+
/** Search input placeholder — falls back to the locale's own string when unset */
|
|
11
17
|
placeholder?: string;
|
|
18
|
+
/** Shows a spinner in place of the clear button, e.g. while an async search is in flight */
|
|
12
19
|
loading?: boolean;
|
|
20
|
+
/** Empty-state text — falls back to the locale's own string when unset */
|
|
13
21
|
noResultsText?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text
|
|
24
|
+
* input/textarea/contenteditable
|
|
25
|
+
*/
|
|
14
26
|
hotkey?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke
|
|
29
|
+
*/
|
|
15
30
|
debounce?: number;
|
|
31
|
+
/** Footer hint text for the arrow keys — falls back to the locale's own string when unset */
|
|
16
32
|
navigateHint?: string;
|
|
33
|
+
/** Footer hint text for Enter — falls back to the locale's own string when unset */
|
|
17
34
|
openHint?: string;
|
|
35
|
+
/** Footer hint text for Escape — falls back to the locale's own string when unset */
|
|
18
36
|
closeHint?: string;
|
|
19
37
|
};
|
|
20
38
|
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
|
+
/** Stack direction */
|
|
2
3
|
direction?: 'column' | 'row';
|
|
4
|
+
/** Gap between items (ignored when divider is true) */
|
|
3
5
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
/** Cross-axis alignment */
|
|
4
7
|
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
8
|
+
/** Main-axis alignment */
|
|
5
9
|
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
10
|
+
/** Allow items to wrap */
|
|
6
11
|
wrap?: boolean;
|
|
12
|
+
/** Show dividers between items instead of a gap */
|
|
7
13
|
divider?: boolean;
|
|
14
|
+
/** Use inline-flex */
|
|
8
15
|
inline?: boolean;
|
|
9
16
|
};
|
|
10
17
|
declare var __VLS_6: {};
|
|
@@ -13,8 +20,8 @@ type __VLS_Slots = {} & {
|
|
|
13
20
|
};
|
|
14
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
22
|
wrap: boolean;
|
|
16
|
-
gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
17
23
|
inline: boolean;
|
|
24
|
+
gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
18
25
|
direction: "column" | "row";
|
|
19
26
|
align: "start" | "center" | "end" | "stretch" | "baseline";
|
|
20
27
|
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Stat label text — required */
|
|
2
3
|
title: string;
|
|
4
|
+
/** Main stat value — required */
|
|
3
5
|
value: string | number;
|
|
6
|
+
/** Material Symbol icon shown in a colored container on the right */
|
|
4
7
|
icon?: string;
|
|
8
|
+
/** Percentage change — positive shows green/up, negative red/down, zero neutral/flat */
|
|
5
9
|
trend?: number;
|
|
10
|
+
/** Text next to the trend indicator (e.g. "vs last month") */
|
|
6
11
|
trendLabel?: string;
|
|
12
|
+
/** Icon container color */
|
|
7
13
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success';
|
|
14
|
+
/** Show a skeleton placeholder instead of the value */
|
|
8
15
|
loading?: boolean;
|
|
9
16
|
};
|
|
10
17
|
declare var __VLS_11: {};
|
|
@@ -6,9 +6,16 @@ export interface StepItem {
|
|
|
6
6
|
error?: boolean;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
/** Step definitions (see `StepItem`) */
|
|
9
10
|
steps: StepItem[];
|
|
11
|
+
/** Active step index (0-based), v-model */
|
|
10
12
|
modelValue: number;
|
|
13
|
+
/** Layout direction */
|
|
11
14
|
direction?: 'horizontal' | 'vertical';
|
|
15
|
+
/**
|
|
16
|
+
* When true, steps are not clickable — only the active step changes via v-model from outside. When false, any
|
|
17
|
+
* non-active step can be clicked to jump to it.
|
|
18
|
+
*/
|
|
12
19
|
linear?: boolean;
|
|
13
20
|
};
|
|
14
21
|
declare var __VLS_32: `step-${number}`, __VLS_33: {};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Subtitle size (maps to body-large/medium/small) */
|
|
2
3
|
size?: 'large' | 'medium' | 'small';
|
|
4
|
+
/** Text color */
|
|
3
5
|
color?: 'on-surface' | 'on-surface-variant' | 'primary' | 'secondary' | 'tertiary' | 'error' | 'inherit';
|
|
6
|
+
/** Text alignment */
|
|
4
7
|
align?: 'left' | 'center' | 'right';
|
|
8
|
+
/** Truncate text with ellipsis on overflow */
|
|
5
9
|
truncate?: boolean;
|
|
6
10
|
};
|
|
7
11
|
declare var __VLS_8: {};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
/** Toggle state (v-model) */
|
|
2
3
|
modelValue: boolean;
|
|
4
|
+
/** Disables the switch */
|
|
3
5
|
disabled?: boolean;
|
|
6
|
+
/** Label text */
|
|
4
7
|
label?: string;
|
|
8
|
+
/** Track/thumb color when on */
|
|
5
9
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
6
|
-
/**
|
|
7
|
-
* M3 officially has two Switch variants: with a check icon inside the thumb (the
|
|
8
|
-
* `thumbContent` slot filled), and without (Compose's actual default — `thumbContent`
|
|
9
|
-
* defaults to `null`). Defaults to `true` here to keep this component's existing look;
|
|
10
|
-
* pass `false` for the plain/no-icon variant.
|
|
11
|
-
*/
|
|
10
|
+
/** Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon. */
|
|
12
11
|
icon?: boolean;
|
|
13
12
|
};
|
|
14
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -13,25 +13,38 @@ export interface TableFetchParams {
|
|
|
13
13
|
sortDir: 'asc' | 'desc' | '';
|
|
14
14
|
}
|
|
15
15
|
type __VLS_Props = {
|
|
16
|
+
/** Column definitions: { key, label, sortable?, width?, align? } */
|
|
16
17
|
columns: TableColumn[];
|
|
18
|
+
/** Table data rows */
|
|
17
19
|
rows: Record<string, any>[];
|
|
20
|
+
/** Show skeleton loading state */
|
|
18
21
|
loading?: boolean;
|
|
22
|
+
/** Text when no rows (defaults to the locale string) */
|
|
19
23
|
emptyText?: string;
|
|
24
|
+
/** Unique key field in each row */
|
|
20
25
|
rowKey?: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
* `rowClick`, así una tabla puede seleccionar filas y a la vez abrirlas al click.
|
|
26
|
+
/**
|
|
27
|
+
* Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself
|
|
28
|
+
* still emits row-click)
|
|
25
29
|
*/
|
|
30
|
+
selectable?: boolean;
|
|
31
|
+
/** With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click */
|
|
26
32
|
selectOnRowClick?: boolean;
|
|
33
|
+
/** Selected rows (v-model) */
|
|
27
34
|
modelValue?: Record<string, any>[];
|
|
35
|
+
/** Rows per page */
|
|
28
36
|
perPage?: number;
|
|
37
|
+
/** Show search input */
|
|
29
38
|
searchable?: boolean;
|
|
30
39
|
/** Emit `fetch` instead of filtering locally. Requires :total. */
|
|
31
40
|
serverSide?: boolean;
|
|
41
|
+
/** Total rows (for server-side pagination) */
|
|
32
42
|
total?: number;
|
|
43
|
+
/** Current page (v-model via update:page) */
|
|
33
44
|
page?: number;
|
|
45
|
+
/** Placeholder for search input (defaults to the locale string) */
|
|
34
46
|
searchPlaceholder?: string;
|
|
47
|
+
/** Text for selected count badge, pluralized with 's' (defaults to the locale string) */
|
|
35
48
|
selectedText?: string;
|
|
36
49
|
};
|
|
37
50
|
declare var __VLS_11: {}, __VLS_41: {}, __VLS_56: `cell-${string}`, __VLS_57: {
|
|
@@ -5,8 +5,14 @@ interface Tab {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
|
+
/** Active tab value (v-model) */
|
|
8
9
|
modelValue: string | number;
|
|
10
|
+
/** Tab definitions */
|
|
9
11
|
tabs: Tab[];
|
|
12
|
+
/**
|
|
13
|
+
* Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width
|
|
14
|
+
* underline spanning the entire tab, text-only.
|
|
15
|
+
*/
|
|
10
16
|
variant?: 'primary' | 'secondary';
|
|
11
17
|
/** Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs. */
|
|
12
18
|
scrollable?: boolean;
|