@m3ui-vue/m3ui-vue 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/API.md +34 -19
- package/dist/MButton-LiZRRP4h.js +171 -0
- package/dist/MButton-LiZRRP4h.js.map +1 -0
- package/dist/{MColorPickerModal-H8nuX0Wu.js → MColorPickerModal-IjciC8zh.js} +185 -184
- package/dist/MColorPickerModal-IjciC8zh.js.map +1 -0
- package/dist/MDialog-BLpfgIA3.js +167 -0
- package/dist/MDialog-BLpfgIA3.js.map +1 -0
- package/dist/MIcon-BSsJZhK7.js +116 -0
- package/dist/MIcon-BSsJZhK7.js.map +1 -0
- package/dist/{MIconButton-BBggVwBV.js → MIconButton-CNjN0xwW.js} +18 -18
- package/dist/{MIconButton-BBggVwBV.js.map → MIconButton-CNjN0xwW.js.map} +1 -1
- package/dist/{MListItem-DiOAxaN7.js → MListItem-BBQ-6i3v.js} +139 -139
- package/dist/MListItem-BBQ-6i3v.js.map +1 -0
- package/dist/{MLoadingIndicator-CuTZYFFj.js → MLoadingIndicator-dejdXpu8.js} +2 -2
- package/dist/{MLoadingIndicator-CuTZYFFj.js.map → MLoadingIndicator-dejdXpu8.js.map} +1 -1
- package/dist/MMenuItem-E31tMzOt.js +577 -0
- package/dist/MMenuItem-E31tMzOt.js.map +1 -0
- package/dist/MPdfViewer-B5Q9Xs9d.js +1866 -0
- package/dist/MPdfViewer-B5Q9Xs9d.js.map +1 -0
- package/dist/MProgressBar-CPrZhQbA.js +179 -0
- package/dist/MProgressBar-CPrZhQbA.js.map +1 -0
- package/dist/{MSeekBar-BCDQTx2t.js → MSeekBar-NwkuAzx-.js} +2 -2
- package/dist/{MSeekBar-BCDQTx2t.js.map → MSeekBar-NwkuAzx-.js.map} +1 -1
- package/dist/{MSegmentedButton-BXzRsg1S.js → MSegmentedButton-DZuZLBML.js} +4 -4
- package/dist/{MSegmentedButton-BXzRsg1S.js.map → MSegmentedButton-DZuZLBML.js.map} +1 -1
- package/dist/MSignaturePad-Bqr-1R9f.js +140 -0
- package/dist/MSignaturePad-Bqr-1R9f.js.map +1 -0
- package/dist/MSlider-B7dIcHVn.js +745 -0
- package/dist/MSlider-B7dIcHVn.js.map +1 -0
- package/dist/{MSpinner-UCdtSOHP.js → MSpinner-CXLY7lWw.js} +2 -2
- package/dist/{MSpinner-UCdtSOHP.js.map → MSpinner-CXLY7lWw.js.map} +1 -1
- package/dist/{MTextField-CYk9yFvi.js → MTextField-CryHMs8-.js} +18 -18
- package/dist/MTextField-CryHMs8-.js.map +1 -0
- package/dist/MTooltip-Cn_DYm9M.js +90 -0
- package/dist/MTooltip-Cn_DYm9M.js.map +1 -0
- package/dist/{_popupPosition-nL8SVKPK.js → _popupPosition-C_lxj9qU.js} +7 -7
- package/dist/_popupPosition-C_lxj9qU.js.map +1 -0
- package/dist/{_useFieldValidation-B0B44M_t.js → _useFieldValidation-CvZnZfl-.js} +2 -2
- package/dist/{_useFieldValidation-B0B44M_t.js.map → _useFieldValidation-CvZnZfl-.js.map} +1 -1
- package/dist/api.json +1 -1
- package/dist/code-editor.js +129 -128
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MAddressField.vue.d.ts +1 -1
- package/dist/components/MAudioPlayer.vue.d.ts +1 -1
- package/dist/components/MAutocomplete.vue.d.ts +1 -1
- package/dist/components/MAvailabilityCalendar.vue.d.ts +3 -3
- package/dist/components/MBadge.vue.d.ts +2 -2
- package/dist/components/MBar.vue.d.ts +1 -1
- package/dist/components/MBeforeAfter.vue.d.ts +3 -3
- package/dist/components/MButton.vue.d.ts +1 -1
- package/dist/components/MCalendarHeatmap.vue.d.ts +1 -1
- package/dist/components/MChatBubble.vue.d.ts +1 -1
- package/dist/components/MCodeEditor.vue.d.ts +1 -1
- package/dist/components/MContainerTransform.vue.d.ts +1 -1
- package/dist/components/MCopyButton.vue.d.ts +2 -2
- package/dist/components/MCountrySelect.vue.d.ts +1 -1
- package/dist/components/MCreditCardInput.vue.d.ts +2 -2
- package/dist/components/MDiffViewer.vue.d.ts +1 -1
- package/dist/components/MDrawCanvas.vue.d.ts +2 -2
- package/dist/components/MExpansionPanel.vue.d.ts +1 -1
- package/dist/components/MExportButton.vue.d.ts +1 -1
- package/dist/components/MFab.vue.d.ts +1 -1
- package/dist/components/MFilterBuilder.vue.d.ts +1 -1
- package/dist/components/MFlex.vue.d.ts +2 -2
- package/dist/components/MFloorPlan.vue.d.ts +2 -2
- package/dist/components/MFlow.vue.d.ts +2 -2
- package/dist/components/MFormRenderer.vue.d.ts +2 -2
- package/dist/components/MGantt.vue.d.ts +2 -2
- package/dist/components/MGanttControls.vue.d.ts +1 -1
- package/dist/components/MGrid.vue.d.ts +1 -1
- package/dist/components/MIcon.vue.d.ts +3 -5
- package/dist/components/MIconButton.vue.d.ts +1 -1
- package/dist/components/MLightbox.vue.d.ts +2 -2
- package/dist/components/MMapMeasure.vue.d.ts +2 -2
- package/dist/components/MMenu.vue.d.ts +6 -3
- package/dist/components/MMortgageCalculator.vue.d.ts +2 -2
- package/dist/components/MMultiAutocomplete.vue.d.ts +1 -1
- package/dist/components/MMultiSelect.vue.d.ts +1 -1
- package/dist/components/MNavigationDrawer.vue.d.ts +5 -4
- package/dist/components/MNavigationRail.vue.d.ts +1 -1
- package/dist/components/MNumberField.vue.d.ts +1 -1
- package/dist/components/MOdontogram.vue.d.ts +2 -2
- package/dist/components/MPdfSigner.vue.d.ts +1 -1
- package/dist/components/MPhoneInput.vue.d.ts +2 -2
- package/dist/components/MPinInput.vue.d.ts +3 -3
- package/dist/components/MPosKeypad.vue.d.ts +1 -1
- package/dist/components/MProductConfigurator.vue.d.ts +1 -1
- package/dist/components/MResourceTimeline.vue.d.ts +2 -2
- package/dist/components/MRichTextEditor.vue.d.ts +1 -1
- package/dist/components/MScheme.vue.d.ts +1 -1
- package/dist/components/MSearchBar.vue.d.ts +2 -2
- package/dist/components/MSearchField.vue.d.ts +1 -1
- package/dist/components/MSeatMap.vue.d.ts +1 -1
- package/dist/components/MSeekBar.vue.d.ts +2 -2
- package/dist/components/MSelect.vue.d.ts +1 -1
- package/dist/components/MShortNavigationBar.vue.d.ts +1 -1
- package/dist/components/MSkeleton.vue.d.ts +1 -1
- package/dist/components/MSpreadsheet.vue.d.ts +2 -2
- package/dist/components/MStack.vue.d.ts +2 -2
- package/dist/components/MSubtitle.vue.d.ts +1 -1
- package/dist/components/MSwipeToDismiss.vue.d.ts +1 -1
- package/dist/components/MSwitch.vue.d.ts +1 -1
- package/dist/components/MTagInput.vue.d.ts +1 -1
- package/dist/components/MText.vue.d.ts +1 -1
- package/dist/components/MTextField.vue.d.ts +3 -3
- package/dist/components/MTimeScroll.vue.d.ts +1 -1
- package/dist/components/MTimezoneSelect.vue.d.ts +1 -1
- package/dist/components/MTitle.vue.d.ts +1 -1
- package/dist/components/MToolbar.vue.d.ts +1 -1
- package/dist/components/MTooltip.vue.d.ts +1 -1
- package/dist/components/MTopAppBar.vue.d.ts +2 -2
- package/dist/components/MVitalsChart.vue.d.ts +1 -1
- package/dist/components/MWindow.vue.d.ts +3 -3
- package/dist/components/_MDrawerItemList.vue.d.ts +8 -1
- package/dist/composables/_fieldLayout.d.ts +8 -8
- package/dist/composables/_popupPosition.d.ts +3 -2
- package/dist/composables/_rtl.d.ts +26 -0
- package/dist/composables/useColorPalette.d.ts +1 -1
- package/dist/composables/useLocale.d.ts +4 -0
- package/dist/draw.js +5 -5
- package/dist/flow.js +2 -2
- package/dist/gantt.js +3 -3
- package/dist/locales/ar.d.ts +6 -0
- package/dist/locales/index.d.ts +1 -0
- package/dist/locales/index.js +768 -1
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +11962 -12039
- package/dist/m3ui.js.map +1 -1
- package/dist/map.js +1127 -1149
- package/dist/map.js.map +1 -1
- package/dist/markdown.js +1 -1
- package/dist/markdown.js.map +1 -1
- package/dist/media.js +7 -7
- package/dist/pdf-sign.d.ts +3 -0
- package/dist/pdf-sign.js +548 -0
- package/dist/pdf-sign.js.map +1 -0
- package/dist/pdf.d.ts +0 -3
- package/dist/pdf.js +1 -2400
- package/dist/plugin.d.ts +8 -0
- package/dist/rich-text-editor.js +79 -77
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles/theme.css +13 -0
- package/dist/styles.css +1 -1
- package/dist/terminal.js +5 -2
- package/dist/terminal.js.map +1 -1
- package/dist/{useLocale-DL96OFgr.js → useLocale-ybIju59R.js} +3 -1
- package/dist/useLocale-ybIju59R.js.map +1 -0
- package/dist/vTooltip-xESB2YOb.js +154 -0
- package/dist/vTooltip-xESB2YOb.js.map +1 -0
- package/package.json +5 -1
- package/src/__tests__/MAddressField.test.ts +1 -1
- package/src/__tests__/MChip.test.ts +3 -3
- package/src/__tests__/MFab.test.ts +6 -6
- package/src/__tests__/MListItemNestedControl.test.ts +2 -2
- package/src/__tests__/MScheduler.test.ts +1 -1
- package/src/__tests__/MTrackingTimeline.test.ts +1 -1
- package/src/__tests__/MWindow.test.ts +16 -0
- package/src/__tests__/fieldOverflow.test.ts +9 -9
- package/src/__tests__/hydration.test.ts +39 -0
- package/src/__tests__/localePresets.test.ts +2 -0
- package/src/__tests__/rtl.test.ts +167 -0
- package/src/__tests__/ssr.test.ts +6 -0
- package/src/components/MAlert.vue +1 -1
- package/src/components/MAutocomplete.vue +7 -7
- package/src/components/MAvailabilityCalendar.vue +5 -3
- package/src/components/MBadge.vue +12 -3
- package/src/components/MBar.vue +1 -1
- package/src/components/MBottomAppBar.vue +1 -1
- package/src/components/MCalendar.vue +3 -3
- package/src/components/MCalendarHeatmap.vue +3 -3
- package/src/components/MChatBubble.vue +3 -3
- package/src/components/MChip.vue +6 -6
- package/src/components/MCodeEditor.vue +7 -3
- package/src/components/MColorPicker.vue +1 -1
- package/src/components/MCommandPalette.vue +1 -1
- package/src/components/MContainerTransform.vue +1 -1
- package/src/components/MContextMenu.vue +1 -1
- package/src/components/MDataTable.vue +5 -5
- package/src/components/MDatePicker.vue +3 -2
- package/src/components/MDateRangePicker.vue +3 -2
- package/src/components/MDialog.vue +5 -5
- package/src/components/MDiffViewer.vue +1 -1
- package/src/components/MDivider.vue +1 -1
- package/src/components/MDragDropList.vue +1 -1
- package/src/components/MEmojiSelector.vue +11 -7
- package/src/components/MExpansionPanel.vue +1 -1
- package/src/components/MFab.vue +5 -5
- package/src/components/MFormBuilder.vue +3 -3
- package/src/components/MIcon.vue +14 -2
- package/src/components/MJsonEditor.vue +1 -3
- package/src/components/MJsonViewer.vue +1 -1
- package/src/components/MKanban.vue +2 -1
- package/src/components/MListDetail.vue +2 -2
- package/src/components/MListGroup.vue +1 -1
- package/src/components/MListItem.vue +5 -5
- package/src/components/MListSubheader.vue +1 -1
- package/src/components/MMapDraw.vue +3 -2
- package/src/components/MMapHover.vue +2 -1
- package/src/components/MMapMeasure.vue +2 -1
- package/src/components/MMapRoute.vue +2 -1
- package/src/components/MMarkdown.vue +9 -6
- package/src/components/MMaskField.vue +6 -6
- package/src/components/MMenu.vue +13 -6
- package/src/components/MMenuItem.vue +8 -6
- package/src/components/MMultiAutocomplete.vue +9 -8
- package/src/components/MMultiSelect.vue +9 -8
- package/src/components/MNavigationDrawer.vue +39 -27
- package/src/components/MNavigationRail.vue +28 -19
- package/src/components/MNavigationSuite.vue +1 -1
- package/src/components/MNotificationCenter.vue +1 -1
- package/src/components/MNotificationHost.vue +1 -1
- package/src/components/MNumberField.vue +6 -6
- package/src/components/MOrderTicket.vue +1 -1
- package/src/components/MPageProgress.vue +1 -1
- package/src/components/MPdfSigner.vue +1 -1
- package/src/components/MPhoneInput.vue +5 -4
- package/src/components/MPinInput.vue +3 -2
- package/src/components/MPosKeypad.vue +2 -1
- package/src/components/MProductConfigurator.vue +2 -1
- package/src/components/MProgressBar.vue +2 -2
- package/src/components/MRichTextEditor.vue +8 -4
- package/src/components/MScheduler.vue +14 -14
- package/src/components/MSearchField.vue +1 -1
- package/src/components/MSeatMap.vue +2 -1
- package/src/components/MSegmentedButton.vue +1 -1
- package/src/components/MSelect.vue +7 -7
- package/src/components/MSideSheet.vue +3 -2
- package/src/components/MSimpleCarousel.vue +20 -11
- package/src/components/MSlider.vue +15 -5
- package/src/components/MSnackbar.vue +2 -2
- package/src/components/MSplitButton.vue +3 -2
- package/src/components/MSplitter.vue +6 -3
- package/src/components/MSpotlightSearch.vue +1 -1
- package/src/components/MSwitch.vue +5 -5
- package/src/components/MTable.vue +3 -3
- package/src/components/MTabs.vue +4 -1
- package/src/components/MTagInput.vue +6 -6
- package/src/components/MTerminal.vue +1 -1
- package/src/components/MText.vue +1 -1
- package/src/components/MTextField.vue +7 -7
- package/src/components/MTimePicker.vue +3 -2
- package/src/components/MTimePickerModal.vue +2 -2
- package/src/components/MTimeScroll.vue +1 -1
- package/src/components/MTimeline.vue +12 -12
- package/src/components/MToolbar.vue +3 -3
- package/src/components/MTrackingTimeline.vue +3 -2
- package/src/components/MTransition.vue +8 -3
- package/src/components/MTreeTable.vue +1 -1
- package/src/components/MTypewriter.vue +1 -1
- package/src/components/MVirtualTable.vue +2 -2
- package/src/components/MWindow.vue +4 -3
- package/src/components/_MColorPanel.vue +5 -4
- package/src/components/_MDrawerItemList.vue +9 -5
- package/src/components/_MMapAttribution.vue +2 -1
- package/src/components/_MMonthYearButton.vue +1 -1
- package/src/components/_MTransferPane.vue +8 -1
- package/src/components/_MTreeNode.vue +3 -3
- package/src/components/_MYearGrid.vue +4 -2
- package/src/composables/_fieldLayout.ts +19 -19
- package/src/composables/_popupPosition.ts +5 -3
- package/src/composables/_rtl.ts +76 -0
- package/src/composables/_useMenuNav.ts +24 -17
- package/src/composables/_useSheetMotion.ts +10 -3
- package/src/composables/pdfSign.ts +2 -2
- package/src/composables/useLocale.ts +6 -0
- package/src/locales/ar.ts +798 -0
- package/src/locales/de.ts +2 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/index.ts +1 -0
- package/src/locales/ja.ts +2 -0
- package/src/locales/ko.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/locales/zh.ts +2 -0
- package/src/pdf-sign.ts +5 -0
- package/src/pdf.ts +0 -3
- package/src/plugin.ts +10 -0
- package/src/styles/theme.css +13 -0
- package/dist/MColorPickerModal-H8nuX0Wu.js.map +0 -1
- package/dist/MDialog-B42Mhn8W.js +0 -331
- package/dist/MDialog-B42Mhn8W.js.map +0 -1
- package/dist/MIcon-DpajuUTJ.js +0 -33
- package/dist/MIcon-DpajuUTJ.js.map +0 -1
- package/dist/MListItem-DiOAxaN7.js.map +0 -1
- package/dist/MMenuItem-BuxYoASE.js +0 -574
- package/dist/MMenuItem-BuxYoASE.js.map +0 -1
- package/dist/MSignaturePad-BTqGaPXA.js +0 -313
- package/dist/MSignaturePad-BTqGaPXA.js.map +0 -1
- package/dist/MSlider-D_O8J9YH.js +0 -739
- package/dist/MSlider-D_O8J9YH.js.map +0 -1
- package/dist/MTextField-CYk9yFvi.js.map +0 -1
- package/dist/MTooltip-CK39Zon4.js +0 -183
- package/dist/MTooltip-CK39Zon4.js.map +0 -1
- package/dist/_popupPosition-nL8SVKPK.js.map +0 -1
- package/dist/pdf.js.map +0 -1
- package/dist/useLocale-DL96OFgr.js.map +0 -1
|
@@ -47,18 +47,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
47
47
|
resetValidation: () => void;
|
|
48
48
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
49
|
blur: () => any;
|
|
50
|
-
"update:modelValue": (args_0: string) => any;
|
|
51
50
|
complete: (args_0: string) => any;
|
|
51
|
+
"update:modelValue": (args_0: string) => any;
|
|
52
52
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
53
|
onBlur?: (() => any) | undefined;
|
|
54
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
55
54
|
onComplete?: ((args_0: string) => any) | undefined;
|
|
55
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
length: number;
|
|
58
58
|
type: "numeric" | "alphanumeric";
|
|
59
|
-
modelValue: string;
|
|
60
59
|
variant: "filled" | "outlined";
|
|
61
60
|
disabled: boolean;
|
|
61
|
+
modelValue: string;
|
|
62
62
|
separator: string;
|
|
63
63
|
masked: boolean;
|
|
64
64
|
autoFocus: boolean;
|
|
@@ -73,7 +73,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
73
73
|
quickMode: "set" | "add";
|
|
74
74
|
actionDisabled: boolean;
|
|
75
75
|
hideDisplay: boolean;
|
|
76
|
-
keyboard: "none" | "
|
|
76
|
+
keyboard: "none" | "global" | "focus";
|
|
77
77
|
haptics: boolean;
|
|
78
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
79
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -100,8 +100,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
100
100
|
"onUpdate:modelValue"?: ((args_0: ProductSelection) => any) | undefined;
|
|
101
101
|
"onUpdate:quantity"?: ((args_0: number) => any) | undefined;
|
|
102
102
|
}>, {
|
|
103
|
-
modelValue: ProductSelection;
|
|
104
103
|
disabled: boolean;
|
|
104
|
+
modelValue: ProductSelection;
|
|
105
105
|
quantity: number | null;
|
|
106
106
|
basePrice: number;
|
|
107
107
|
maxQuantity: number;
|
|
@@ -83,7 +83,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, ResourceTim
|
|
|
83
83
|
"update:events": (args_0: TimelineEvent<any>[]) => any;
|
|
84
84
|
"update:listWidth": (args_0: number) => any;
|
|
85
85
|
"event-click": (args_0: TimelineEvent<any>, args_1: MouseEvent) => any;
|
|
86
|
-
"event-dblclick": (args_0: TimelineEvent<any>, args_1:
|
|
86
|
+
"event-dblclick": (args_0: TimelineEvent<any>, args_1: KeyboardEvent | MouseEvent) => any;
|
|
87
87
|
"event-contextmenu": (args_0: TimelineEvent<any>, args_1: MouseEvent) => any;
|
|
88
88
|
create: (args_0: {
|
|
89
89
|
resourceId: string;
|
|
@@ -112,7 +112,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, ResourceTim
|
|
|
112
112
|
"onUpdate:events"?: ((args_0: TimelineEvent<any>[]) => any) | undefined;
|
|
113
113
|
"onUpdate:listWidth"?: ((args_0: number) => any) | undefined;
|
|
114
114
|
"onEvent-click"?: ((args_0: TimelineEvent<any>, args_1: MouseEvent) => any) | undefined;
|
|
115
|
-
"onEvent-dblclick"?: ((args_0: TimelineEvent<any>, args_1:
|
|
115
|
+
"onEvent-dblclick"?: ((args_0: TimelineEvent<any>, args_1: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
116
116
|
"onEvent-contextmenu"?: ((args_0: TimelineEvent<any>, args_1: MouseEvent) => any) | undefined;
|
|
117
117
|
onCreate?: ((args_0: {
|
|
118
118
|
resourceId: string;
|
|
@@ -73,8 +73,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
73
73
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
fill: boolean;
|
|
76
|
-
minHeight: string;
|
|
77
76
|
disabled: boolean;
|
|
77
|
+
minHeight: string;
|
|
78
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
79
|
declare const _default: typeof __VLS_export;
|
|
80
80
|
export default _default;
|
|
@@ -44,8 +44,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
}> & Readonly<{
|
|
45
45
|
onSeed?: ((color: string) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
variant: SchemeVariant;
|
|
48
47
|
contrast: number;
|
|
48
|
+
variant: SchemeVariant;
|
|
49
49
|
as: string;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
51
51
|
default?: (props: {
|
|
@@ -49,13 +49,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
49
49
|
"onUpdate:expanded"?: ((args_0: boolean) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
loading: boolean;
|
|
52
|
-
modelValue: string;
|
|
53
52
|
variant: "fullscreen" | "docked" | "fullscreen-contained";
|
|
54
53
|
disabled: boolean;
|
|
54
|
+
modelValue: string;
|
|
55
55
|
leadingIcon: string;
|
|
56
56
|
clearable: boolean;
|
|
57
57
|
iconPosition: "start" | "end";
|
|
58
|
-
textAlign: "
|
|
58
|
+
textAlign: "start" | "center";
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
61
61
|
declare const _default: typeof __VLS_export;
|
|
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
44
44
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
size: "sm" | "md" | "lg";
|
|
47
|
+
disabled: boolean;
|
|
47
48
|
modelValue: string;
|
|
48
49
|
icon: string;
|
|
49
|
-
disabled: boolean;
|
|
50
50
|
clearable: boolean;
|
|
51
51
|
clearOnEscape: boolean;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -102,8 +102,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
102
102
|
onLimit?: (() => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
104
|
legend: boolean;
|
|
105
|
-
modelValue: string[];
|
|
106
105
|
disabled: boolean;
|
|
106
|
+
modelValue: string[];
|
|
107
107
|
categories: SeatCategory[];
|
|
108
108
|
occupied: string[];
|
|
109
109
|
stage: string | false;
|
|
@@ -100,10 +100,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
100
100
|
color: string;
|
|
101
101
|
time: "none" | "below" | "sides";
|
|
102
102
|
size: "xs" | "sm" | "md";
|
|
103
|
-
live: boolean;
|
|
104
|
-
playing: boolean;
|
|
105
103
|
variant: "line" | "wavy" | "slider";
|
|
104
|
+
playing: boolean;
|
|
106
105
|
disabled: boolean;
|
|
106
|
+
live: boolean;
|
|
107
107
|
preview: boolean;
|
|
108
108
|
playbackRate: number;
|
|
109
109
|
remaining: boolean;
|
|
@@ -63,9 +63,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
63
63
|
}>, {
|
|
64
64
|
required: boolean;
|
|
65
65
|
mode: "docked" | "modal";
|
|
66
|
-
modelValue: undefined;
|
|
67
66
|
variant: "filled" | "outlined";
|
|
68
67
|
disabled: boolean;
|
|
68
|
+
modelValue: undefined;
|
|
69
69
|
clearable: boolean;
|
|
70
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
71
71
|
declare const _default: typeof __VLS_export;
|
|
@@ -31,7 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
32
|
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
iconPosition: "
|
|
34
|
+
iconPosition: "start" | "top";
|
|
35
35
|
arrangement: "centered" | "equal";
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -18,8 +18,8 @@ type __VLS_Props = {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
20
|
animation: "none" | "pulse" | "wave";
|
|
21
|
-
lines: number;
|
|
22
21
|
variant: "text" | "rounded" | "circular" | "rectangular";
|
|
22
|
+
lines: number;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -74,8 +74,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
74
74
|
/** Clears the selected cells */
|
|
75
75
|
clear: () => void;
|
|
76
76
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
|
-
"update:modelValue": (cells: SpreadsheetCell[][]) => any;
|
|
78
77
|
change: (changes: SpreadsheetChange[]) => any;
|
|
78
|
+
"update:modelValue": (cells: SpreadsheetCell[][]) => any;
|
|
79
79
|
"update:columnWidths": (widths: number[]) => any;
|
|
80
80
|
"selection-change": (range: SpreadsheetRange) => any;
|
|
81
81
|
}, string, import("vue").PublicProps, Readonly<{
|
|
@@ -118,8 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
118
118
|
/** The grid's accessible name */
|
|
119
119
|
label?: string;
|
|
120
120
|
}> & Readonly<{
|
|
121
|
-
"onUpdate:modelValue"?: ((cells: SpreadsheetCell[][]) => any) | undefined;
|
|
122
121
|
onChange?: ((changes: SpreadsheetChange[]) => any) | undefined;
|
|
122
|
+
"onUpdate:modelValue"?: ((cells: SpreadsheetCell[][]) => any) | undefined;
|
|
123
123
|
"onUpdate:columnWidths"?: ((widths: number[]) => any) | undefined;
|
|
124
124
|
"onSelection-change"?: ((range: SpreadsheetRange) => any) | undefined;
|
|
125
125
|
}>, {
|
|
@@ -23,11 +23,11 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
wrap: boolean;
|
|
25
25
|
gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
26
|
-
align: "
|
|
26
|
+
align: "start" | "center" | "end" | "stretch" | "baseline";
|
|
27
27
|
direction: "row" | "column";
|
|
28
28
|
inline: boolean;
|
|
29
29
|
divider: boolean;
|
|
30
|
-
justify: "between" | "
|
|
30
|
+
justify: "between" | "start" | "center" | "end" | "around" | "evenly";
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
|
|
|
16
16
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
|
|
19
|
-
size: "small" | "
|
|
19
|
+
size: "small" | "medium" | "large";
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,8 +35,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
35
35
|
"onUpdate:modelValue"?: ((args_0: SwipeToDismissValue) => any) | undefined;
|
|
36
36
|
onDismiss?: ((args_0: "start-to-end" | "end-to-start") => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
modelValue: SwipeToDismissValue;
|
|
39
38
|
disabled: boolean;
|
|
39
|
+
modelValue: SwipeToDismissValue;
|
|
40
40
|
threshold: number;
|
|
41
41
|
startToEnd: boolean;
|
|
42
42
|
endToStart: boolean;
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
38
38
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
41
|
-
icon: boolean;
|
|
42
41
|
disabled: boolean;
|
|
42
|
+
icon: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const _default: typeof __VLS_export;
|
|
45
45
|
export default _default;
|
|
@@ -69,9 +69,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
69
69
|
onDebounced?: ((args_0: string[]) => any) | undefined;
|
|
70
70
|
}>, {
|
|
71
71
|
required: boolean;
|
|
72
|
-
modelValue: string[];
|
|
73
72
|
variant: "filled" | "outlined";
|
|
74
73
|
disabled: boolean;
|
|
74
|
+
modelValue: string[];
|
|
75
75
|
clearable: boolean;
|
|
76
76
|
debounce: number;
|
|
77
77
|
duplicates: boolean;
|
|
@@ -27,7 +27,7 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
|
27
27
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
28
|
color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
|
|
29
29
|
variant: TextVariant;
|
|
30
|
-
align: "
|
|
30
|
+
align: "left" | "right" | "center";
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -61,7 +61,7 @@ declare const __VLS_template: () => {
|
|
|
61
61
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
62
62
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
63
63
|
/** The `<input>` (or `<textarea>`) element */
|
|
64
|
-
inputEl: import("vue").ComputedRef<
|
|
64
|
+
inputEl: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
65
65
|
/** Focuses the field */
|
|
66
66
|
focus: (options?: FocusOptions) => void | undefined;
|
|
67
67
|
/** Takes focus away from the field */
|
|
@@ -76,13 +76,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
76
76
|
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void | undefined;
|
|
77
77
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
78
|
blur: (args_0: FocusEvent) => any;
|
|
79
|
-
"update:modelValue": (args_0: string) => any;
|
|
80
79
|
focus: (args_0: FocusEvent) => any;
|
|
80
|
+
"update:modelValue": (args_0: string) => any;
|
|
81
81
|
debounced: (args_0: string) => any;
|
|
82
82
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
83
83
|
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
84
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
85
84
|
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
85
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
86
86
|
onDebounced?: ((args_0: string) => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
88
|
type: string;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
modelValue: string | null;
|
|
17
16
|
disabled: boolean;
|
|
17
|
+
modelValue: string | null;
|
|
18
18
|
minuteStep: number;
|
|
19
19
|
use24h: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -41,8 +41,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
41
41
|
"onUpdate:modelValue"?: ((zone: string | null) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
mode: "docked" | "modal";
|
|
44
|
-
modelValue: string | null;
|
|
45
44
|
variant: "filled" | "outlined";
|
|
45
|
+
modelValue: string | null;
|
|
46
46
|
clearable: boolean;
|
|
47
47
|
detect: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
|
|
|
16
16
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
|
|
19
|
-
size: "small" | "
|
|
19
|
+
size: "small" | "medium" | "large";
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -49,7 +49,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
49
49
|
}>, {
|
|
50
50
|
color: "surface" | "primary" | "secondary" | "tertiary";
|
|
51
51
|
variant: "docked" | "floating";
|
|
52
|
-
align: "between" | "
|
|
52
|
+
align: "between" | "start" | "center" | "end";
|
|
53
53
|
orientation: "horizontal" | "vertical";
|
|
54
54
|
fabPosition: "none" | "start" | "end";
|
|
55
55
|
collapseOnScroll: string | boolean | HTMLElement | null;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_template: () => {
|
|
|
22
22
|
};
|
|
23
23
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
24
24
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
placement: "top" | "bottom" | "left" | "right";
|
|
25
26
|
delay: number;
|
|
26
|
-
placement: "left" | "top" | "right" | "bottom";
|
|
27
27
|
rich: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -62,10 +62,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
62
62
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
63
63
|
onNavigation?: (() => any) | undefined;
|
|
64
64
|
}>, {
|
|
65
|
-
variant: "small" | "
|
|
65
|
+
variant: "small" | "medium" | "large" | "center";
|
|
66
66
|
scrollTarget: string | HTMLElement | null;
|
|
67
67
|
flexible: boolean;
|
|
68
|
-
titleAlignment: "
|
|
68
|
+
titleAlignment: "start" | "center";
|
|
69
69
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
70
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
71
71
|
declare const _default: typeof __VLS_export;
|
|
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
63
63
|
domain?: [number, number];
|
|
64
64
|
};
|
|
65
65
|
reading: VitalReading | undefined;
|
|
66
|
-
status: "
|
|
66
|
+
status: "high" | "low" | "normal";
|
|
67
67
|
}) => any;
|
|
68
68
|
}>;
|
|
69
69
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -53,8 +53,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
toggleMinimize: () => void;
|
|
54
54
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
55
|
close: () => any;
|
|
56
|
-
"update:modelValue": (value: boolean) => any;
|
|
57
56
|
focus: () => any;
|
|
57
|
+
"update:modelValue": (value: boolean) => any;
|
|
58
58
|
minimize: () => any;
|
|
59
59
|
maximize: (maximized: boolean) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<{
|
|
@@ -105,16 +105,16 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
105
105
|
resetPosition?: boolean;
|
|
106
106
|
}> & Readonly<{
|
|
107
107
|
onClose?: (() => any) | undefined;
|
|
108
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
109
108
|
onFocus?: (() => any) | undefined;
|
|
109
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
110
110
|
onMinimize?: (() => any) | undefined;
|
|
111
111
|
onMaximize?: ((maximized: boolean) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
113
|
width: string;
|
|
114
114
|
height: string;
|
|
115
|
-
minHeight: number;
|
|
116
115
|
x: number;
|
|
117
116
|
y: number;
|
|
117
|
+
minHeight: number;
|
|
118
118
|
snap: boolean;
|
|
119
119
|
closable: boolean;
|
|
120
120
|
draggable: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PropType, type Ref } from 'vue';
|
|
2
2
|
import type { DrawerItem } from './MNavigationDrawer.vue';
|
|
3
|
+
import type { TooltipPlacement } from '../composables/_tooltipTrigger';
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
6
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -22,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
22
23
|
collapsed: Ref<boolean, boolean>;
|
|
23
24
|
rail: Ref<boolean, boolean>;
|
|
24
25
|
collapsedLabels: Ref<boolean, boolean>;
|
|
26
|
+
tooltipPlacement: Ref<TooltipPlacement, TooltipPlacement>;
|
|
25
27
|
}, {}, {}, {
|
|
26
28
|
itemTag(item: DrawerItem): "button" | "RouterLink";
|
|
27
29
|
onClick(item: DrawerItem): void;
|
|
@@ -52,13 +54,18 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
52
54
|
size?: number;
|
|
53
55
|
filled?: boolean;
|
|
54
56
|
label?: string;
|
|
57
|
+
mirror?: boolean;
|
|
55
58
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
56
59
|
name: string;
|
|
57
60
|
size?: number;
|
|
58
61
|
filled?: boolean;
|
|
59
62
|
label?: string;
|
|
63
|
+
mirror?: boolean;
|
|
60
64
|
}> & Readonly<{}>, {
|
|
61
65
|
size: number;
|
|
62
66
|
filled: boolean;
|
|
67
|
+
mirror: boolean;
|
|
63
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
|
-
}, {
|
|
69
|
+
}, {
|
|
70
|
+
tooltip: import("vue").Directive<HTMLElement, import("../index.ts").TooltipValue>;
|
|
71
|
+
}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -6,7 +6,7 @@ import type { Directive } from 'vue';
|
|
|
6
6
|
* edge (filled) or onto the border (outlined), an optional leading icon and trailing buttons. The rules that
|
|
7
7
|
* keep long content from running over those pieces live here, so a new field gets them by reusing this:
|
|
8
8
|
*
|
|
9
|
-
* - The label is inset from the
|
|
9
|
+
* - The label is inset from the end by as much as the box's own end padding (`right`), so it never runs
|
|
10
10
|
* under a trailing button, floated (filled) or not. Floated on an outlined border, it shrinks to its own
|
|
11
11
|
* text but stops 12px before the far corner, whatever its left offset (a leading icon moves it to 44px).
|
|
12
12
|
* - A value shown as text in a fixed-height box (`FIELD_VALUE`) stays on one line and ends in "…", and
|
|
@@ -15,20 +15,20 @@ import type { Directive } from 'vue';
|
|
|
15
15
|
*/
|
|
16
16
|
export type FieldVariant = 'filled' | 'outlined';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* `
|
|
20
|
-
* an arrow, `
|
|
18
|
+
* End inset of the label (right in LTR, left in RTL), which must equal the field's end padding: `end-4` with nothing trailing,
|
|
19
|
+
* `end-10` with a dropdown arrow, `end-12` with one trailing button, `end-16` with a clear button and
|
|
20
|
+
* an arrow, `end-24` with two 32px buttons (MNumberField's stepper).
|
|
21
21
|
*/
|
|
22
|
-
export type
|
|
22
|
+
export type FieldEndInset = 'end-4' | 'end-10' | 'end-12' | 'end-16' | 'end-24';
|
|
23
23
|
/** Padding matching each inset, for the box itself */
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const FIELD_PADDING_END: Record<FieldEndInset, string>;
|
|
25
25
|
/** One line, cut with "…", allowed to shrink inside its flex row */
|
|
26
26
|
export declare const FIELD_VALUE = "block min-w-0 flex-1 truncate";
|
|
27
27
|
export interface FieldLabelOptions {
|
|
28
28
|
variant: FieldVariant;
|
|
29
29
|
/** There is a leading icon (the label starts after it) */
|
|
30
30
|
leading?: boolean;
|
|
31
|
-
right:
|
|
31
|
+
right: FieldEndInset;
|
|
32
32
|
/**
|
|
33
33
|
* `true`/`false` when the component knows whether the label floats; `'peer'` to float it with CSS from
|
|
34
34
|
* the preceding `.peer` input (focused, or its `placeholder=" "` not shown because it has a value)
|
|
@@ -39,7 +39,7 @@ export interface FieldLabelOptions {
|
|
|
39
39
|
}
|
|
40
40
|
export declare function fieldLabelClasses(o: FieldLabelOptions): string;
|
|
41
41
|
/** A label always floated on an outlined border (the picker triggers): cut before the far corner */
|
|
42
|
-
export declare const OUTLINED_FLOATED_LABEL = "pointer-events-none absolute -top-2.5
|
|
42
|
+
export declare const OUTLINED_FLOATED_LABEL = "pointer-events-none absolute -top-2.5 start-3 max-w-[calc(100%-1.5rem)] truncate bg-(--field-bg) px-1 text-label-small";
|
|
43
43
|
/**
|
|
44
44
|
* Puts the element's whole text (an input's value, or its text content) in `title` while it's cut by
|
|
45
45
|
* overflow, measured when the pointer comes in, so a value that fits gets no redundant tooltip.
|
|
@@ -4,9 +4,10 @@ export declare const POPUP_MARGIN = 8;
|
|
|
4
4
|
export declare function fitPopup(candidates: number[], size: number, viewport: number, margin?: number): number;
|
|
5
5
|
/**
|
|
6
6
|
* A dropdown's left edge: aligned with the anchor's start or end edge (`align` picks which is tried first), else
|
|
7
|
-
* against the window edge on the anchor's side (MenuAnchorPosition.Below's xCandidates).
|
|
7
|
+
* against the window edge on the anchor's side (MenuAnchorPosition.Below's xCandidates). Right to left (`rtl`),
|
|
8
|
+
* the start edge is the anchor's right one, as in Compose.
|
|
8
9
|
*/
|
|
9
10
|
export declare function dropdownX(anchor: {
|
|
10
11
|
left: number;
|
|
11
12
|
right: number;
|
|
12
|
-
}, width: number, viewport: number, align: 'start' | 'end', margin?: number): number;
|
|
13
|
+
}, width: number, viewport: number, align: 'start' | 'end', margin?: number, rtl?: boolean): number;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type InjectionKey, type Ref } from 'vue';
|
|
2
|
+
export declare const M3_DIR_KEY: InjectionKey<'ltr' | 'rtl'>;
|
|
3
|
+
/**
|
|
4
|
+
* Right-to-left helpers (internal). Layout mirrors through CSS logical properties (`ms-*`, `start-*`,
|
|
5
|
+
* `text-start`…); what CSS can't mirror on its own (pointer math, `translateX`, directional icons) asks
|
|
6
|
+
* `isRtl()` or uses the `m3-rtl:` variant (theme.css; unlike Tailwind's `rtl:`, it respects a nested `dir="ltr"`).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Material Symbols that point along the reading direction, mirrored in RTL like Android's auto-mirrored icons.
|
|
10
|
+
* Media transport icons (play, skip, fast forward) are deliberately left out: M3 never mirrors those.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MIRRORED_ICONS: ReadonlySet<string>;
|
|
13
|
+
/** Whether `el` (or the document, without one) lays out right to left */
|
|
14
|
+
export declare function isRtl(el?: Element | null): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the page reads right to left, kept up to date when the `dir` attribute of `<html>` or `<body>`
|
|
17
|
+
* changes. For things decided at render time (which edge a drawer sits on); pointer math should ask
|
|
18
|
+
* `isRtl(el)` at the event instead, which also sees a `dir` set on a closer ancestor. Server-rendered apps pass
|
|
19
|
+
* `createM3UI({ dir })`, which the server renders and hydration starts from.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useDocumentRtl(): Readonly<Ref<boolean>>;
|
|
22
|
+
/**
|
|
23
|
+
* The key as if the layout were left to right: ArrowLeft and ArrowRight swap when `el` lays out right to left,
|
|
24
|
+
* so "ArrowRight" keeps meaning "next" in a row of items that flex has mirrored
|
|
25
|
+
*/
|
|
26
|
+
export declare function logicalKey(e: KeyboardEvent, el?: Element | null): string;
|
|
@@ -206,7 +206,7 @@ export declare function useColorPalette(): {
|
|
|
206
206
|
} | null>>;
|
|
207
207
|
setSeed: (seed: string, options?: SeedOptions) => Promise<void>;
|
|
208
208
|
contrast: Readonly<Ref<ContrastLevel>>;
|
|
209
|
-
activeContrast: Ref<"standard" | "
|
|
209
|
+
activeContrast: Ref<"standard" | "high" | "medium", "standard" | "high" | "medium">;
|
|
210
210
|
setContrast: (level: ContrastLevel) => void;
|
|
211
211
|
persistPalette: Ref<boolean, boolean>;
|
|
212
212
|
setPersistPalette: (enabled: boolean) => void;
|
|
@@ -303,6 +303,10 @@ export interface M3Locale {
|
|
|
303
303
|
formBuilderCopy: string;
|
|
304
304
|
/** MFormBuilder */
|
|
305
305
|
formBuilderCopied: string;
|
|
306
|
+
/** MCodeEditor: copy button's tooltip and label */
|
|
307
|
+
codeCopy: string;
|
|
308
|
+
/** MCodeEditor: shown once the code is copied */
|
|
309
|
+
codeCopied: string;
|
|
306
310
|
/** MFormBuilder: what the preview submitted */
|
|
307
311
|
formBuilderSubmitted: string;
|
|
308
312
|
/** MFormBuilder: the inspector with nothing selected */
|
package/dist/draw.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
2
|
-
import { t } from "./MIconButton-
|
|
3
|
-
import { n, t as r } from "./MMenuItem-
|
|
4
|
-
import { t as i } from "./MTooltip-
|
|
5
|
-
import { t as a } from "./MColorPickerModal-
|
|
1
|
+
import { i as e } from "./useLocale-ybIju59R.js";
|
|
2
|
+
import { t } from "./MIconButton-CNjN0xwW.js";
|
|
3
|
+
import { n, t as r } from "./MMenuItem-E31tMzOt.js";
|
|
4
|
+
import { t as i } from "./MTooltip-Cn_DYm9M.js";
|
|
5
|
+
import { t as a } from "./MColorPickerModal-IjciC8zh.js";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, inject as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, provide as ee, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as te, unref as O, useId as ne, useModel as k, vModelText as re, watch as ie, withCtx as A, withDirectives as j, withKeys as ae, withModifiers as M } from "vue";
|
|
7
7
|
// src/composables/drawGeometry.ts
|
|
8
8
|
var N = 0, oe = () => `d${Date.now().toString(36)}${(N++).toString(36)}`, se = {
|
package/dist/flow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./flowPaths-BaH7yaUM.js";
|
|
2
|
-
import { r as d, t as f, u as p } from "./MIconButton-
|
|
3
|
-
import { i as m } from "./useLocale-
|
|
2
|
+
import { r as d, t as f, u as p } from "./MIconButton-CNjN0xwW.js";
|
|
3
|
+
import { i as m } from "./useLocale-ybIju59R.js";
|
|
4
4
|
import { Fragment as h, Transition as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, inject as T, mergeProps as ee, nextTick as E, normalizeClass as D, normalizeStyle as O, onBeforeUnmount as te, onMounted as ne, openBlock as k, provide as re, reactive as ie, ref as A, renderList as ae, renderSlot as oe, shallowReactive as se, shallowRef as ce, toDisplayString as le, toRaw as ue, unref as j, useSlots as de, vShow as fe, watch as pe, withCtx as me, withDirectives as M, withModifiers as he } from "vue";
|
|
5
5
|
// src/composables/useFlow.ts
|
|
6
6
|
var ge = Symbol("m3-flow"), _e = Symbol("m3-flow-node");
|
package/dist/gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./flowPaths-BaH7yaUM.js";
|
|
2
|
-
import { f as t, l as n, t as r, u as i } from "./MIconButton-
|
|
3
|
-
import { i as a } from "./useLocale-
|
|
4
|
-
import { t as o } from "./MSegmentedButton-
|
|
2
|
+
import { f as t, l as n, t as r, u as i } from "./MIconButton-CNjN0xwW.js";
|
|
3
|
+
import { i as a } from "./useLocale-ybIju59R.js";
|
|
4
|
+
import { t as o } from "./MSegmentedButton-DZuZLBML.js";
|
|
5
5
|
import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, inject as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as ee, onBeforeUpdate as te, onMounted as ne, onUpdated as re, openBlock as x, provide as ie, ref as S, renderList as C, renderSlot as ae, shallowRef as oe, toDisplayString as w, toRaw as se, unref as T, useSlots as ce, vModelText as le, watch as E, withDirectives as ue, withKeys as de, withModifiers as fe } from "vue";
|
|
6
6
|
// src/composables/useGantt.ts
|
|
7
7
|
var pe = Symbol("m3-gantt"), me = Symbol("m3-timeline-controls");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { M3Locale } from '../composables/useLocale';
|
|
2
|
+
/**
|
|
3
|
+
* Arabic. Pair it with `dir="rtl"` on `<html>` (or on the part of the page in Arabic): the locale only holds the
|
|
4
|
+
* strings, the direction comes from the page.
|
|
5
|
+
*/
|
|
6
|
+
export declare const arLocale: M3Locale;
|