@m3ui-vue/m3ui-vue 1.5.1 → 1.6.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/dist/API.md +981 -63
- package/dist/{MButton-D_uxtJa-.js → MButton-OQ4wIERQ.js} +8 -9
- package/dist/MButton-OQ4wIERQ.js.map +1 -0
- package/dist/{MDialog-DT4KAPmn.js → MDialog-DYMnaBlt.js} +38 -44
- package/dist/MDialog-DYMnaBlt.js.map +1 -0
- package/dist/{MIcon-Bxh9j135.js → MIcon-DpajuUTJ.js} +2 -3
- package/dist/MIcon-DpajuUTJ.js.map +1 -0
- package/dist/{MIconButton-DoNotQ9v.js → MIconButton-BBggVwBV.js} +5 -6
- package/dist/MIconButton-BBggVwBV.js.map +1 -0
- package/dist/{MListItem-CwYrxpPZ.js → MListItem-D2cNUyzP.js} +217 -180
- package/dist/MListItem-D2cNUyzP.js.map +1 -0
- package/dist/{MLoadingIndicator-DhzECYRI.js → MLoadingIndicator-DWUj0BAB.js} +3 -4
- package/dist/MLoadingIndicator-DWUj0BAB.js.map +1 -0
- package/dist/{MMenuItem-Bih0h4-n.js → MMenuItem-BuxYoASE.js} +140 -170
- package/dist/MMenuItem-BuxYoASE.js.map +1 -0
- package/dist/{MProgressBar-BCoruxA-.js → MProgressBar-BWly1UKN.js} +3 -8
- package/dist/MProgressBar-BWly1UKN.js.map +1 -0
- package/dist/{MSeekBar-DQPF5FTp.js → MSeekBar-C4cn9RIF.js} +4 -5
- package/dist/MSeekBar-C4cn9RIF.js.map +1 -0
- package/dist/{MSegmentedButton-DL9JtJFX.js → MSegmentedButton-BEB4gXLA.js} +3 -4
- package/dist/MSegmentedButton-BEB4gXLA.js.map +1 -0
- package/dist/{MSlider-BvoMZTy9.js → MSlider-BIkA6DiE.js} +22 -23
- package/dist/MSlider-BIkA6DiE.js.map +1 -0
- package/dist/{MSpinner-CgcCQhS9.js → MSpinner-DZkXZJpc.js} +3 -4
- package/dist/MSpinner-DZkXZJpc.js.map +1 -0
- package/dist/{MTextField-BRntFeNR.js → MTextField-CNH-byir.js} +12 -16
- package/dist/MTextField-CNH-byir.js.map +1 -0
- package/dist/{MTooltip-YyF1CO75.js → MTooltip-Dd5g2zhh.js} +10 -12
- package/dist/MTooltip-Dd5g2zhh.js.map +1 -0
- package/dist/THIRD_PARTY_LICENSES.md +2 -2
- package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/{_useEscapeStack-CjndQhqg.js → _popupPosition-nL8SVKPK.js} +21 -4
- package/dist/_popupPosition-nL8SVKPK.js.map +1 -0
- package/dist/{_storageKeys-CYXsUBwK.js → _storageKeys-C4W_4xK4.js} +2 -3
- package/dist/_storageKeys-C4W_4xK4.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/barcode.js +1 -2
- package/dist/barcode.js.map +1 -1
- package/dist/chart.js +2 -4
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +22 -23
- package/dist/code-editor.js.map +1 -1
- package/dist/{common-0dgrgaPL.js → common-kIb6A2Qu.js} +8 -37
- package/dist/common-kIb6A2Qu.js.map +1 -0
- package/dist/components/MAbsolute.vue.d.ts +5 -3
- package/dist/components/MAddressField.vue.d.ts +54 -0
- package/dist/components/MAlert.vue.d.ts +8 -6
- package/dist/components/MAppBar.vue.d.ts +9 -7
- package/dist/components/MAppBarWithSearch.vue.d.ts +15 -13
- package/dist/components/MAppLayout.vue.d.ts +13 -11
- package/dist/components/MAspectRatio.vue.d.ts +5 -3
- package/dist/components/MAudioPlayer.vue.d.ts +23 -21
- package/dist/components/MAudioRecorder.vue.d.ts +51 -0
- package/dist/components/MAutocomplete.vue.d.ts +1 -1
- package/dist/components/MAvailabilityCalendar.vue.d.ts +18 -16
- package/dist/components/MBadge.vue.d.ts +6 -4
- package/dist/components/MBar.vue.d.ts +14 -12
- package/dist/components/MBarcode.vue.d.ts +5 -3
- package/dist/components/MBeforeAfter.vue.d.ts +12 -10
- package/dist/components/MBodyMap.vue.d.ts +1 -1
- package/dist/components/MBottomAppBar.vue.d.ts +10 -8
- package/dist/components/MBottomSheet.vue.d.ts +8 -6
- package/dist/components/MBottomSheetScaffold.vue.d.ts +9 -7
- package/dist/components/MBox.vue.d.ts +6 -4
- package/dist/components/MButton.vue.d.ts +7 -5
- package/dist/components/MCameraCapture.vue.d.ts +51 -0
- package/dist/components/MCard.vue.d.ts +12 -10
- package/dist/components/MCenter.vue.d.ts +5 -3
- package/dist/components/MChatBubble.vue.d.ts +6 -4
- package/dist/components/MCheckbox.vue.d.ts +5 -3
- package/dist/components/MChip.vue.d.ts +9 -7
- package/dist/components/MCircleProgressBar.vue.d.ts +6 -4
- package/dist/components/MCodeEditor.vue.d.ts +5 -3
- package/dist/components/MCollapse.vue.d.ts +32 -0
- package/dist/components/MContainer.vue.d.ts +6 -4
- package/dist/components/MContextMenu.vue.d.ts +8 -6
- package/dist/components/MCopyButton.vue.d.ts +1 -1
- package/dist/components/MCountrySelect.vue.d.ts +41 -0
- package/dist/components/MCronField.vue.d.ts +26 -0
- package/dist/components/MDashboardGrid.vue.d.ts +65 -0
- package/dist/components/MDataTable.vue.d.ts +21 -19
- package/dist/components/MDialog.vue.d.ts +21 -19
- package/dist/components/MDiffViewer.vue.d.ts +56 -0
- package/dist/components/MDragHandle.vue.d.ts +1 -1
- package/dist/components/MDrawCanvas.vue.d.ts +5 -3
- package/dist/components/MDrawToolbar.vue.d.ts +7 -5
- package/dist/components/MEmptyState.vue.d.ts +5 -3
- package/dist/components/MExpansionPanel.vue.d.ts +32 -7
- package/dist/components/MExportButton.vue.d.ts +7 -5
- package/dist/components/MFab.vue.d.ts +11 -9
- package/dist/components/MFabMenu.vue.d.ts +3 -3
- package/dist/components/MFilterBuilder.vue.d.ts +22 -0
- package/dist/components/MFixed.vue.d.ts +5 -3
- package/dist/components/MFlex.vue.d.ts +7 -5
- package/dist/components/MFloorPlan.vue.d.ts +3 -3
- package/dist/components/MFloorPlanInspector.vue.d.ts +32 -30
- package/dist/components/MFloorPlanToolbar.vue.d.ts +2 -2
- package/dist/components/MFlow.vue.d.ts +4 -4
- package/dist/components/MFlowControls.vue.d.ts +6 -4
- package/dist/components/MFlowHandle.vue.d.ts +1 -1
- package/dist/components/MFlowNode.vue.d.ts +11 -9
- package/dist/components/MFooter.vue.d.ts +12 -10
- package/dist/components/MFullscreen.vue.d.ts +5 -3
- package/dist/components/MGantt.vue.d.ts +33 -31
- package/dist/components/MGanttControls.vue.d.ts +8 -6
- package/dist/components/MGrid.vue.d.ts +6 -4
- package/dist/components/MIcon.vue.d.ts +5 -0
- package/dist/components/MIconButton.vue.d.ts +1 -1
- package/dist/components/MImageCropper.vue.d.ts +14 -12
- package/dist/components/MInfiniteScroll.vue.d.ts +11 -9
- package/dist/components/MList.vue.d.ts +5 -3
- package/dist/components/MListGroup.vue.d.ts +7 -5
- package/dist/components/MListItem.vue.d.ts +21 -19
- package/dist/components/MListSubheader.vue.d.ts +5 -3
- package/dist/components/MLoadingOverlay.vue.d.ts +10 -8
- package/dist/components/MMap.vue.d.ts +14 -6
- package/dist/components/MMapCluster.vue.d.ts +80 -0
- package/dist/components/MMapControl.vue.d.ts +12 -10
- package/dist/components/MMapDraw.vue.d.ts +79 -0
- package/dist/components/MMapFeatureInfo.vue.d.ts +11 -9
- package/dist/components/MMapIdentify.vue.d.ts +9 -7
- package/dist/components/MMapLayers.vue.d.ts +13 -11
- package/dist/components/MMapMarker.vue.d.ts +7 -5
- package/dist/components/MMapPopup.vue.d.ts +5 -3
- package/dist/components/MMasonry.vue.d.ts +5 -3
- package/dist/components/MMentionField.vue.d.ts +102 -0
- package/dist/components/MMenu.vue.d.ts +12 -10
- package/dist/components/MMenuItem.vue.d.ts +11 -9
- package/dist/components/MMultiAutocomplete.vue.d.ts +1 -1
- package/dist/components/MMultiSelect.vue.d.ts +6 -4
- package/dist/components/MNavigationDrawer.vue.d.ts +14 -12
- package/dist/components/MNavigationRail.vue.d.ts +7 -5
- package/dist/components/MNotificationCenter.vue.d.ts +57 -0
- package/dist/components/MOdontogram.vue.d.ts +1 -1
- package/dist/components/MOrderBook.vue.d.ts +1 -1
- package/dist/components/MOverlay.vue.d.ts +5 -3
- package/dist/components/MPdfViewer.vue.d.ts +4 -4
- package/dist/components/MPhoneInput.vue.d.ts +11 -9
- package/dist/components/MPosKeypad.vue.d.ts +18 -16
- package/dist/components/MProgressBar.vue.d.ts +1 -1
- package/dist/components/MPullToRefresh.vue.d.ts +5 -3
- package/dist/components/MQRCode.vue.d.ts +7 -5
- package/dist/components/MQRScanner.vue.d.ts +52 -0
- package/dist/components/MQuiz.vue.d.ts +1 -1
- package/dist/components/MRadioGroup.vue.d.ts +1 -1
- package/dist/components/MReceipt.vue.d.ts +2 -2
- package/dist/components/MRelative.vue.d.ts +5 -3
- package/dist/components/MResourceTimeline.vue.d.ts +31 -29
- package/dist/components/MResponsive.vue.d.ts +5 -3
- package/dist/components/MResult.vue.d.ts +7 -5
- package/dist/components/MScrollable.vue.d.ts +7 -5
- package/dist/components/MSearchBar.vue.d.ts +13 -11
- package/dist/components/MSearchField.vue.d.ts +7 -5
- package/dist/components/MSection.vue.d.ts +11 -9
- package/dist/components/MSeekBar.vue.d.ts +3 -3
- package/dist/components/MSelect.vue.d.ts +1 -1
- package/dist/components/MShader.vue.d.ts +11 -9
- package/dist/components/MShortNavigationBar.vue.d.ts +1 -1
- package/dist/components/MSideSheet.vue.d.ts +9 -7
- package/dist/components/MSimpleCarousel.vue.d.ts +2 -2
- package/dist/components/MSkeleton.vue.d.ts +2 -2
- package/dist/components/MSlider.vue.d.ts +3 -3
- package/dist/components/MSparkline.vue.d.ts +1 -1
- package/dist/components/MSplitButton.vue.d.ts +7 -5
- package/dist/components/MSplitter.vue.d.ts +9 -7
- package/dist/components/MSpotlightSearch.vue.d.ts +1 -1
- package/dist/components/MStack.vue.d.ts +8 -6
- package/dist/components/MStatCard.vue.d.ts +5 -3
- package/dist/components/MStepper.vue.d.ts +5 -3
- package/dist/components/MSticky.vue.d.ts +5 -3
- package/dist/components/MSubtitle.vue.d.ts +6 -4
- package/dist/components/MSwipeToDismiss.vue.d.ts +11 -9
- package/dist/components/MTable.vue.d.ts +17 -15
- package/dist/components/MText.vue.d.ts +5 -3
- package/dist/components/MTextField.vue.d.ts +6 -4
- package/dist/components/MTimePickerModal.vue.d.ts +1 -1
- package/dist/components/MTimezoneSelect.vue.d.ts +39 -0
- package/dist/components/MTitle.vue.d.ts +6 -4
- package/dist/components/MToggleButton.vue.d.ts +5 -3
- package/dist/components/MToolbar.vue.d.ts +24 -22
- package/dist/components/MTooltip.vue.d.ts +10 -8
- package/dist/components/MTopAppBar.vue.d.ts +22 -20
- package/dist/components/MTour.vue.d.ts +28 -26
- package/dist/components/MTransition.vue.d.ts +5 -3
- package/dist/components/MTree.vue.d.ts +6 -4
- package/dist/components/MTreeTable.vue.d.ts +21 -19
- package/dist/components/MTypewriter.vue.d.ts +6 -4
- package/dist/components/MVideoPlayer.vue.d.ts +1 -1
- package/dist/components/MVirtualTable.vue.d.ts +8 -6
- package/dist/components/_MFilterGroup.vue.d.ts +17 -0
- package/dist/components/_MMapLayerItem.vue.d.ts +8 -6
- package/dist/components/_MPdfPage.vue.d.ts +2 -2
- package/dist/components/_MToolbarFab.vue.d.ts +5 -3
- package/dist/components/_MTreeNode.vue.d.ts +13 -11
- package/dist/composables/_caretPosition.d.ts +6 -0
- package/dist/composables/_useCamera.d.ts +16 -0
- package/dist/composables/_useFollowAnchor.d.ts +15 -0
- package/dist/composables/cron.d.ts +29 -0
- package/dist/composables/dashboardLayout.d.ts +28 -0
- package/dist/composables/filterBuilder.d.ts +55 -0
- package/dist/composables/mapAdapters.d.ts +6 -1
- package/dist/composables/mapSearch.d.ts +1 -0
- package/dist/composables/textDiff.d.ts +24 -0
- package/dist/composables/useLocale.d.ts +108 -0
- package/dist/composables/useMap.d.ts +8 -0
- package/dist/{dist-CrjSW5DN.js → dist-Bj5kEq8G.js} +4 -6
- package/dist/dist-Bj5kEq8G.js.map +1 -0
- package/dist/draw.js +62 -82
- package/dist/draw.js.map +1 -1
- package/dist/{emoji-names-de-BphO5XpV.js → emoji-names-de-Cu3OSpp6.js} +2 -3
- package/dist/emoji-names-de-Cu3OSpp6.js.map +1 -0
- package/dist/{emoji-names-en-9ZvMRvzi.js → emoji-names-en-BNX1pM9h.js} +2 -3
- package/dist/emoji-names-en-BNX1pM9h.js.map +1 -0
- package/dist/{emoji-names-es-DvfWU3Pj.js → emoji-names-es-C_Dafg4D.js} +2 -3
- package/dist/emoji-names-es-C_Dafg4D.js.map +1 -0
- package/dist/{emoji-names-fr-B-jhUlsP.js → emoji-names-fr-D4HTMFuM.js} +2 -3
- package/dist/emoji-names-fr-D4HTMFuM.js.map +1 -0
- package/dist/{emoji-names-ja-l8cMFJo1.js → emoji-names-ja-BCql-Sj6.js} +2 -3
- package/dist/emoji-names-ja-BCql-Sj6.js.map +1 -0
- package/dist/{emoji-names-ko-YP-o9G0c.js → emoji-names-ko-CT8L52nn.js} +2 -3
- package/dist/emoji-names-ko-CT8L52nn.js.map +1 -0
- package/dist/{emoji-names-pt-DGj_Js4M.js → emoji-names-pt-DHiwPiL-.js} +2 -3
- package/dist/emoji-names-pt-DHiwPiL-.js.map +1 -0
- package/dist/{emoji-names-zh-Dzecwtw_.js → emoji-names-zh-L3FXVief.js} +2 -3
- package/dist/emoji-names-zh-L3FXVief.js.map +1 -0
- package/dist/flow.js +351 -374
- package/dist/flow.js.map +1 -1
- package/dist/{flowPaths-CcWOKY4Z.js → flowPaths-BaH7yaUM.js} +3 -8
- package/dist/flowPaths-BaH7yaUM.js.map +1 -0
- package/dist/gantt.js +272 -333
- package/dist/gantt.js.map +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/locales/index.js +750 -2
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +9988 -7215
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +6 -1
- package/dist/map.js +1600 -713
- package/dist/map.js.map +1 -1
- package/dist/markdown.js +3 -4
- package/dist/markdown.js.map +1 -1
- package/dist/{material-color-utilities-C_iikgRm.js → material-color-utilities-CEFytLsr.js} +15 -32
- package/dist/material-color-utilities-CEFytLsr.js.map +1 -0
- package/dist/media.js +80 -94
- package/dist/media.js.map +1 -1
- package/dist/{motion-DZiXG09o.js → motion-BcejVTeX.js} +2 -3
- package/dist/motion-BcejVTeX.js.map +1 -0
- package/dist/pdf.js +103 -115
- package/dist/pdf.js.map +1 -1
- package/dist/qrcode.js +1 -2
- package/dist/qrcode.js.map +1 -1
- package/dist/rich-text-editor.js +33 -34
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/terminal.js +2 -3
- package/dist/terminal.js.map +1 -1
- package/dist/{useLocale-DLcG3qPC.js → useLocale-DaVSTdm0.js} +109 -3
- package/dist/useLocale-DaVSTdm0.js.map +1 -0
- package/dist/{useThemeTokens-DQQcaWbE.js → useThemeTokens-DyAdPQB0.js} +6 -10
- package/dist/useThemeTokens-DyAdPQB0.js.map +1 -0
- package/package.json +32 -32
- package/src/__tests__/MAddressField.test.ts +149 -0
- package/src/__tests__/MAudioRecorder.test.ts +125 -0
- package/src/__tests__/MCameraCapture.test.ts +154 -0
- package/src/__tests__/MCountrySelect.test.ts +67 -0
- package/src/__tests__/MCronField.test.ts +100 -0
- package/src/__tests__/MDashboardGrid.test.ts +122 -0
- package/src/__tests__/MDiffViewer.test.ts +68 -0
- package/src/__tests__/MExpansionPanel.test.ts +107 -0
- package/src/__tests__/MFab.test.ts +10 -1
- package/src/__tests__/MFilterBuilder.test.ts +130 -0
- package/src/__tests__/MMap.test.ts +16 -1
- package/src/__tests__/MMapCluster.test.ts +127 -0
- package/src/__tests__/MMapDraw.test.ts +188 -0
- package/src/__tests__/MMapLayers.test.ts +56 -0
- package/src/__tests__/MMentionField.test.ts +163 -0
- package/src/__tests__/MNotificationCenter.test.ts +94 -0
- package/src/__tests__/_fakeMaplibre.ts +16 -3
- package/src/__tests__/attrsFallthrough.test.ts +4 -0
- package/src/__tests__/cron.test.ts +68 -0
- package/src/__tests__/dashboardLayout.test.ts +45 -0
- package/src/__tests__/filterBuilder.test.ts +91 -0
- package/src/__tests__/followAnchor.test.ts +162 -0
- package/src/__tests__/ssr.test.ts +3 -0
- package/src/__tests__/textDiff.test.ts +37 -0
- package/src/components/MAddressField.vue +301 -0
- package/src/components/MAudioRecorder.vue +334 -0
- package/src/components/MAutocomplete.vue +3 -7
- package/src/components/MCameraCapture.vue +156 -0
- package/src/components/MCollapse.vue +91 -0
- package/src/components/MColorPicker.vue +4 -8
- package/src/components/MCountrySelect.vue +89 -0
- package/src/components/MCronField.vue +251 -0
- package/src/components/MDashboardGrid.vue +382 -0
- package/src/components/MDatePicker.vue +10 -7
- package/src/components/MDateRangePicker.vue +10 -7
- package/src/components/MDiffViewer.vue +234 -0
- package/src/components/MExpansionPanel.vue +56 -48
- package/src/components/MFilterBuilder.vue +47 -0
- package/src/components/MMap.vue +12 -3
- package/src/components/MMapCluster.vue +295 -0
- package/src/components/MMapDraw.vue +601 -0
- package/src/components/MMapMeasure.vue +3 -1
- package/src/components/MMapSearch.vue +1 -9
- package/src/components/MMentionField.vue +373 -0
- package/src/components/MMultiAutocomplete.vue +3 -7
- package/src/components/MMultiSelect.vue +3 -7
- package/src/components/MNotificationCenter.vue +252 -0
- package/src/components/MPhoneInput.vue +3 -10
- package/src/components/MQRScanner.vue +177 -0
- package/src/components/MSelect.vue +3 -7
- package/src/components/MTimePicker.vue +10 -7
- package/src/components/MTimezoneSelect.vue +116 -0
- package/src/components/_MFilterGroup.vue +210 -0
- package/src/composables/_caretPosition.ts +44 -0
- package/src/composables/_useCamera.ts +66 -0
- package/src/composables/_useFollowAnchor.ts +109 -0
- package/src/composables/cron.ts +179 -0
- package/src/composables/dashboardLayout.ts +94 -0
- package/src/composables/filterBuilder.ts +195 -0
- package/src/composables/mapAdapters.ts +29 -15
- package/src/composables/mapSearch.ts +10 -0
- package/src/composables/textDiff.ts +106 -0
- package/src/composables/useLocale.ts +215 -0
- package/src/composables/useMap.ts +17 -0
- package/src/composables/useMapLayers.ts +4 -1
- package/src/index.ts +25 -0
- package/src/locales/de.ts +107 -0
- package/src/locales/es.ts +107 -0
- package/src/locales/fr.ts +107 -0
- package/src/locales/ja.ts +107 -0
- package/src/locales/ko.ts +107 -0
- package/src/locales/pt.ts +107 -0
- package/src/locales/zh.ts +107 -0
- package/src/map.ts +6 -1
- package/dist/MButton-D_uxtJa-.js.map +0 -1
- package/dist/MDialog-DT4KAPmn.js.map +0 -1
- package/dist/MIcon-Bxh9j135.js.map +0 -1
- package/dist/MIconButton-DoNotQ9v.js.map +0 -1
- package/dist/MListItem-CwYrxpPZ.js.map +0 -1
- package/dist/MLoadingIndicator-DhzECYRI.js.map +0 -1
- package/dist/MMenuItem-Bih0h4-n.js.map +0 -1
- package/dist/MProgressBar-BCoruxA-.js.map +0 -1
- package/dist/MSeekBar-DQPF5FTp.js.map +0 -1
- package/dist/MSegmentedButton-DL9JtJFX.js.map +0 -1
- package/dist/MSlider-BvoMZTy9.js.map +0 -1
- package/dist/MSpinner-CgcCQhS9.js.map +0 -1
- package/dist/MTextField-BRntFeNR.js.map +0 -1
- package/dist/MTooltip-YyF1CO75.js.map +0 -1
- package/dist/_storageKeys-CYXsUBwK.js.map +0 -1
- package/dist/_useEscapeStack-CjndQhqg.js.map +0 -1
- package/dist/common-0dgrgaPL.js.map +0 -1
- package/dist/dist-CrjSW5DN.js.map +0 -1
- package/dist/emoji-names-de-BphO5XpV.js.map +0 -1
- package/dist/emoji-names-en-9ZvMRvzi.js.map +0 -1
- package/dist/emoji-names-es-DvfWU3Pj.js.map +0 -1
- package/dist/emoji-names-fr-B-jhUlsP.js.map +0 -1
- package/dist/emoji-names-ja-l8cMFJo1.js.map +0 -1
- package/dist/emoji-names-ko-YP-o9G0c.js.map +0 -1
- package/dist/emoji-names-pt-DGj_Js4M.js.map +0 -1
- package/dist/emoji-names-zh-Dzecwtw_.js.map +0 -1
- package/dist/flowPaths-CcWOKY4Z.js.map +0 -1
- package/dist/material-color-utilities-C_iikgRm.js.map +0 -1
- package/dist/motion-DZiXG09o.js.map +0 -1
- package/dist/useLocale-DLcG3qPC.js.map +0 -1
- package/dist/useThemeTokens-DQQcaWbE.js.map +0 -1
package/dist/API.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @m3ui-vue/m3ui-vue 1.
|
|
1
|
+
# @m3ui-vue/m3ui-vue 1.6.1 — API reference
|
|
2
2
|
|
|
3
3
|
Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the source by
|
|
4
4
|
`scripts/generate-api.mjs`; full docs with live demos at https://m3ui.dev.
|
|
@@ -61,12 +61,42 @@ export type Placement =
|
|
|
61
61
|
| 'bottom-left' | 'bottom-center' | 'bottom-right'
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
### MAddressField
|
|
65
|
+
|
|
66
|
+
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
67
|
+
|
|
68
|
+
An address field: a text field that looks places up through a `MapSearchProvider` (OpenStreetMap's Nominatim by default, or your own function) and lists them under it to pick one. The picked place (label, `[lng, lat]`, extent, kind) is the v-model; editing the text afterwards clears it. Enter searches (Nominatim's public server allows no search-as-you-type); with `instant`, it searches while typing, debounced, for providers that allow it. Arrow keys move through the results, Enter picks, Escape closes. Needs no map: put it in any form. Available from the `/map` entry point.
|
|
69
|
+
|
|
70
|
+
Props:
|
|
71
|
+
- `modelValue?: MapSearchResult | null = null` (v-model) — The picked place (v-model), or null
|
|
72
|
+
- `provider?: MapSearchProvider` — Where to search: `nominatimProvider(options)` by default, or your own function
|
|
73
|
+
- `label?: string` — The field's label (the locale's "Address" by default)
|
|
74
|
+
- `variant?: "filled" | "outlined" = "filled"` — Field style
|
|
75
|
+
- `leadingIcon?: string = "location_on"` — Material Symbol on the left
|
|
76
|
+
- `instant?: boolean = false` — Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't
|
|
77
|
+
- `debounce?: number = 400` — The delay before an `instant` search, in ms
|
|
78
|
+
- `minLength?: number = 3` — Characters needed before searching
|
|
79
|
+
- `hint?: string` — Helper text below the field
|
|
80
|
+
- `error?: boolean` — Error state
|
|
81
|
+
- `errorLabel?: string` — Error message shown when `error` is true
|
|
82
|
+
- `required?: boolean` — Marks it as required
|
|
83
|
+
- `disabled?: boolean` — Disables the field
|
|
84
|
+
|
|
85
|
+
Events:
|
|
86
|
+
- `update:modelValue(place: MapSearchResult | null)` — A place was picked, or the text changed after picking one (null)
|
|
87
|
+
- `select(place: MapSearchResult)` — A place was picked
|
|
88
|
+
|
|
89
|
+
Exposed (template ref):
|
|
90
|
+
- `search: () => Promise<void>` — Searches for the current text now
|
|
91
|
+
- `clear: () => void` — Empties the field
|
|
92
|
+
- `focus: () => void | undefined` — Focuses the field
|
|
93
|
+
|
|
64
94
|
### MAlert
|
|
65
95
|
|
|
66
96
|
An inline banner for contextual status messages — info, success, warning, or error.
|
|
67
97
|
|
|
68
98
|
Props:
|
|
69
|
-
- `type?: "
|
|
99
|
+
- `type?: "error" | "info" | "success" | "warning" = "info"` — Alert variant and color
|
|
70
100
|
- `title?: string` — Bold title text
|
|
71
101
|
- `closeable?: boolean = false` — Show close button
|
|
72
102
|
- `closeAriaLabel?: string` — Aria label for the close button (falls back to the locale string)
|
|
@@ -124,8 +154,8 @@ Props:
|
|
|
124
154
|
- `scrollTarget?: string | HTMLElement | null = null` — What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window
|
|
125
155
|
|
|
126
156
|
Events:
|
|
127
|
-
- `search(string)` — Emitted when Enter is pressed in the input, with the current query
|
|
128
157
|
- `update:modelValue(string)` — Emitted on every input change — powers v-model
|
|
158
|
+
- `search(string)` — Emitted when Enter is pressed in the input, with the current query
|
|
129
159
|
- `update:expanded(boolean)` — Emitted when the search expands or collapses — powers v-model:expanded
|
|
130
160
|
- `navigation()` — Emitted when the default navigation icon button is clicked
|
|
131
161
|
|
|
@@ -209,6 +239,47 @@ Slots:
|
|
|
209
239
|
- `#artwork { player: MediaPlayer; }` — Replaces the artwork. Props: `{ player }`
|
|
210
240
|
- `#actions { player: MediaPlayer; }` — Extra buttons at the end of the controls (a like, a queue button). Props: `{ player }`
|
|
211
241
|
|
|
242
|
+
### MAudioRecorder
|
|
243
|
+
|
|
244
|
+
Records a voice note with the microphone: a record button, a live waveform and timer while recording (pause, resume, stop, discard), then the recording to play back (play / pause over its own waveform) and use or discard. The recording comes out as a `Blob` with its duration and waveform peaks (`record`, `v-model`), in the format the browser records (WebM/Opus in Chrome and Firefox, MP4/AAC in Safari). `maxDuration` stops it by itself. The microphone is only on while recording. A denied permission or a missing microphone says so. Needs a secure page (https or localhost).
|
|
245
|
+
|
|
246
|
+
Props:
|
|
247
|
+
- `modelValue?: AudioRecording | null = null` (v-model) — The recording used (v-model), or null
|
|
248
|
+
- `maxDuration?: number = 0` — Stop by itself after this many seconds (0: no limit)
|
|
249
|
+
- `bars?: number = 40` — How many bars the waveform has
|
|
250
|
+
- `mimeType?: string` — The format to ask for, when the browser can record it
|
|
251
|
+
- `instant?: boolean = false` — Skip the review step: a stopped recording is used right away
|
|
252
|
+
|
|
253
|
+
Events:
|
|
254
|
+
- `error(error: MicError)` — The microphone failed: `'denied' | 'unavailable' | 'unsupported' | 'failed'`
|
|
255
|
+
- `update:modelValue(recording: AudioRecording | null)` — The recording used, or null after Discard
|
|
256
|
+
- `record(recording: AudioRecording)` — The recording used: `{ blob, url, duration, mimeType, peaks }`
|
|
257
|
+
|
|
258
|
+
Exposed (template ref):
|
|
259
|
+
- `start: () => Promise<void>`
|
|
260
|
+
- `stop: () => void`
|
|
261
|
+
- `pause: () => void`
|
|
262
|
+
- `resume: () => void`
|
|
263
|
+
- `discard: () => void`
|
|
264
|
+
|
|
265
|
+
```ts
|
|
266
|
+
/** A voice note made by `MAudioRecorder`. */
|
|
267
|
+
export interface AudioRecording {
|
|
268
|
+
blob: Blob
|
|
269
|
+
/** An object URL for the blob, to play it (revoked when the recorder is discarded or unmounted) */
|
|
270
|
+
url: string
|
|
271
|
+
/** In seconds */
|
|
272
|
+
duration: number
|
|
273
|
+
mimeType: string
|
|
274
|
+
/** Its waveform, levels 0–1 (`bars` of them), to draw it elsewhere */
|
|
275
|
+
peaks: number[]
|
|
276
|
+
}
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
```ts
|
|
280
|
+
type MicError = 'denied' | 'unavailable' | 'unsupported' | 'failed'
|
|
281
|
+
```
|
|
282
|
+
|
|
212
283
|
### MAutocomplete
|
|
213
284
|
|
|
214
285
|
Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.
|
|
@@ -523,7 +594,7 @@ export interface BreadcrumbItem {
|
|
|
523
594
|
The standard M3 button — five variants, five expressive size tiers, and either color.
|
|
524
595
|
|
|
525
596
|
Props:
|
|
526
|
-
- `variant?: "
|
|
597
|
+
- `variant?: "filled" | "outlined" | "text" | "elevated" | "tonal" = "filled"` — Visual style of the button
|
|
527
598
|
- `color?: string = "primary"` — Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.
|
|
528
599
|
- `type?: "button" | "submit" | "reset" = "button"` — HTML button type
|
|
529
600
|
- `disabled?: boolean = false` — Disables interaction
|
|
@@ -642,6 +713,39 @@ export interface HeatmapCell {
|
|
|
642
713
|
}
|
|
643
714
|
```
|
|
644
715
|
|
|
716
|
+
### MCameraCapture
|
|
717
|
+
|
|
718
|
+
Takes a photo with the device's camera: a live preview, a shutter button, switching between the front and back cameras, and Retake / Use photo once taken. The photo comes out as a `Blob` and a data URL (`capture`), and as the v-model (the data URL). The camera starts on a button press (or `autostart`), and stops once the photo is used and when unmounted. A denied permission or a missing camera says so, with a button to try again. Needs a secure page (https or localhost).
|
|
719
|
+
|
|
720
|
+
Props:
|
|
721
|
+
- `modelValue?: string | null = null` (v-model) — The photo used (v-model): a data URL, or null
|
|
722
|
+
- `facing?: CameraFacing = "environment"` — Which camera to start with: the back one (`environment`) or the selfie one (`user`)
|
|
723
|
+
- `aspect?: string = "4 / 3"` — The preview's aspect ratio (CSS `aspect-ratio`)
|
|
724
|
+
- `type?: "image/jpeg" | "image/png" | "image/webp" = "image/jpeg"` — The photo's format
|
|
725
|
+
- `quality?: number = 0.9` — JPEG / WebP quality, 0–1
|
|
726
|
+
- `resolution?: number = 1920` — The resolution asked for (the longer side, ideal)
|
|
727
|
+
- `autostart?: boolean = false` — Start the camera on mount instead of on a button press
|
|
728
|
+
|
|
729
|
+
Events:
|
|
730
|
+
- `error(error: CameraError)` — The camera failed: `'denied' | 'unavailable' | 'unsupported' | 'failed'`
|
|
731
|
+
- `update:modelValue(dataUrl: string | null)` — The photo used (a data URL), or null after Retake
|
|
732
|
+
- `capture(photo: CameraPhoto)` — The photo used: `{ blob, dataUrl, width, height }`
|
|
733
|
+
|
|
734
|
+
Exposed (template ref):
|
|
735
|
+
- `start: () => Promise<void>` — Starts the camera
|
|
736
|
+
- `stop: () => void` — Stops the camera
|
|
737
|
+
- `capture: () => Promise<void>` — Takes the photo now (as the shutter button)
|
|
738
|
+
|
|
739
|
+
```ts
|
|
740
|
+
/** A photo taken by `MCameraCapture`. */
|
|
741
|
+
export interface CameraPhoto {
|
|
742
|
+
blob: Blob
|
|
743
|
+
dataUrl: string
|
|
744
|
+
width: number
|
|
745
|
+
height: number
|
|
746
|
+
}
|
|
747
|
+
```
|
|
748
|
+
|
|
645
749
|
### MCandlestickChart
|
|
646
750
|
|
|
647
751
|
A candlestick (OHLC) chart for prices: stocks, crypto, commodities, an exchange rate. Drawn in plain SVG with no chart library: candles, volume bars, moving averages, the last-price line and a crosshair with the candle's open / high / low / close. Drag (or swipe) to pan through history, Ctrl + wheel (or a trackpad / two-finger pinch) to zoom; the arrow keys move the crosshair. Appending candles keeps the chart pinned to the latest one while it's in view, so it can be fed live.
|
|
@@ -685,7 +789,7 @@ export interface Candle {
|
|
|
685
789
|
A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.
|
|
686
790
|
|
|
687
791
|
Props:
|
|
688
|
-
- `variant?: "
|
|
792
|
+
- `variant?: "filled" | "outlined" | "elevated" = "elevated"` — Card surface style
|
|
689
793
|
- `clickable?: boolean = false` — Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse
|
|
690
794
|
- `elevated?: boolean = false` — Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'
|
|
691
795
|
- `disabled?: boolean = false` — Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely
|
|
@@ -913,6 +1017,22 @@ Slots:
|
|
|
913
1017
|
type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'
|
|
914
1018
|
```
|
|
915
1019
|
|
|
1020
|
+
### MCollapse
|
|
1021
|
+
|
|
1022
|
+
Shows and hides its content with a height animation to the content's exact size (grid rows 0fr → 1fr, so nothing overshoots or needs measuring). While closed the content is `inert`: no Tab stop, hidden from screen readers. `unmountOnClose` drops it once closed (and mounts it again on open). With reduced motion it switches at once. The building block `MExpansionPanel` uses; reach for it for any "show more" of your own.
|
|
1023
|
+
|
|
1024
|
+
Props:
|
|
1025
|
+
- `open: boolean` — Shown or not
|
|
1026
|
+
- `unmountOnClose?: boolean = false` — Unmount the content once closed (it keeps its state otherwise)
|
|
1027
|
+
- `duration?: number = 300` — The animation's length, in ms
|
|
1028
|
+
|
|
1029
|
+
Events:
|
|
1030
|
+
- `after-open()` — The open animation finished
|
|
1031
|
+
- `after-close()` — The close animation finished (the content is unmounted after it with `unmountOnClose`)
|
|
1032
|
+
|
|
1033
|
+
Slots:
|
|
1034
|
+
- `#default` — The content
|
|
1035
|
+
|
|
916
1036
|
### MColorPicker
|
|
917
1037
|
|
|
918
1038
|
An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.
|
|
@@ -1061,7 +1181,7 @@ Props:
|
|
|
1061
1181
|
- `copiedIcon?: string = "check"` — Icon shown right after a successful copy
|
|
1062
1182
|
- `label?: string = "Copy"` — aria-label in the idle state
|
|
1063
1183
|
- `copiedLabel?: string = "Copied"` — aria-label right after a successful copy
|
|
1064
|
-
- `variant?: "
|
|
1184
|
+
- `variant?: "filled" | "outlined" | "standard" | "tonal" = "standard"` — Visual style (same as MIconButton)
|
|
1065
1185
|
- `shape?: "rounded" | "squared" = "rounded"` — Button shape
|
|
1066
1186
|
- `size?: number | "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Button size
|
|
1067
1187
|
- `disabled?: boolean = false` — Disables the button
|
|
@@ -1113,6 +1233,28 @@ export interface CountdownParts {
|
|
|
1113
1233
|
}
|
|
1114
1234
|
```
|
|
1115
1235
|
|
|
1236
|
+
### MCountrySelect
|
|
1237
|
+
|
|
1238
|
+
A country picker: every country (ISO 3166-1), named in the app's language by the browser (`Intl.DisplayNames`), with its flag, searchable as you type. The v-model is the ISO alpha-2 code (`'AR'`). Built on `MAutocomplete`, so it shares its look, keyboard and `mode="modal"`. Same country list as `MPhoneInput`.
|
|
1239
|
+
|
|
1240
|
+
Props:
|
|
1241
|
+
- `modelValue?: string | null = null` (v-model) — The country's ISO alpha-2 code (v-model), or null
|
|
1242
|
+
- `label?: string` — Field label (the locale's "Country" by default)
|
|
1243
|
+
- `only?: string[]` — Only these countries (codes), in this order
|
|
1244
|
+
- `preferred?: string[]` — These first, above the rest (e.g. the ones your users pick most)
|
|
1245
|
+
- `flags?: boolean = true` — Show the flag emoji before each name (Windows shows the two letters instead)
|
|
1246
|
+
- `variant?: "filled" | "outlined" = "filled"` — Field style
|
|
1247
|
+
- `mode?: "docked" | "modal" = "docked"` — Dropdown, or a dialog on small screens
|
|
1248
|
+
- `clearable?: boolean = false` — Show a clear button
|
|
1249
|
+
- `hint?: string` — Helper text below the field
|
|
1250
|
+
- `error?: boolean` — Error state
|
|
1251
|
+
- `errorLabel?: string` — Error message shown when `error` is true
|
|
1252
|
+
- `required?: boolean` — Marks it as required
|
|
1253
|
+
- `disabled?: boolean` — Disables the field
|
|
1254
|
+
|
|
1255
|
+
Events:
|
|
1256
|
+
- `update:modelValue(code: string | null)` — A country was picked (its code), or cleared (null)
|
|
1257
|
+
|
|
1116
1258
|
### MCreditCardInput
|
|
1117
1259
|
|
|
1118
1260
|
Card payment fields: number, expiry, security code and optionally the cardholder's name, with a live card preview that turns over while the security code is typed. The number is grouped as its network prints it (4-6-5 for American Express), the network is detected from the first digits, and every field is checked (length, Luhn checksum, a future expiry, the code's length for that network). It only collects and checks what is typed: it doesn't tokenize or send anything. Hand the value to your payment provider's SDK.
|
|
@@ -1154,6 +1296,41 @@ export interface CreditCardValue {
|
|
|
1154
1296
|
export type CreditCardField = 'number' | 'expiry' | 'cvc' | 'name'
|
|
1155
1297
|
```
|
|
1156
1298
|
|
|
1299
|
+
### MCronField
|
|
1300
|
+
|
|
1301
|
+
A cron expression editor: the five-field expression in a text field, a sentence saying what it means in the app's language ("At 09:00, Monday to Friday"), the next times it runs, and, with `builder`, controls for the common schedules (every few minutes, hourly, daily, weekly on some days, monthly on a day) so nobody has to remember cron. Anything else stays editable as text (Custom). Invalid text shows an error and isn't emitted until it's valid.
|
|
1302
|
+
|
|
1303
|
+
Props:
|
|
1304
|
+
- `modelValue: string` (v-model) — The expression (v-model): `minute hour day-of-month month day-of-week`, or a macro (`@daily`)
|
|
1305
|
+
- `label?: string` — Field label (the locale's "Cron expression" by default)
|
|
1306
|
+
- `builder?: boolean = true` — Show the schedule controls above the expression
|
|
1307
|
+
- `nextRuns?: number = 3` — How many upcoming runs to list (0: none)
|
|
1308
|
+
- `variant?: "filled" | "outlined" = "filled"` — Field style
|
|
1309
|
+
- `disabled?: boolean = false` — Disables it
|
|
1310
|
+
|
|
1311
|
+
Events:
|
|
1312
|
+
- `update:modelValue(expression: string)` — The expression changed (only valid ones)
|
|
1313
|
+
|
|
1314
|
+
### MDashboardGrid
|
|
1315
|
+
|
|
1316
|
+
A dashboard of widgets on a grid that people rearrange: drag a widget to move it (others make room and everything floats up to fill gaps), drag its corner to resize it, all on springs. Touch picks a widget up on a long press, so the page still scrolls; the keyboard does it all too (Space to pick up, arrows to move, Shift and arrows to resize, Space to drop, Escape to cancel), announced to screen readers. The layout (cells: `x`, `y`, `w`, `h`) is the v-model; your content goes in `#item`. Below `breakpoint` (its own width) the widgets stack in one column.
|
|
1317
|
+
|
|
1318
|
+
Props:
|
|
1319
|
+
- `modelValue: (DashboardItem & { label?: string; })[]` (v-model) — The layout (v-model): `{ id, x, y, w, h, minW?, minH?, maxW?, maxH?, static?, label? }[]`, in cells
|
|
1320
|
+
- `columns?: number = 12` — Columns
|
|
1321
|
+
- `rowHeight?: number = 96` — A row's height, in px
|
|
1322
|
+
- `gap?: number = 16` — The gap between cells, in px
|
|
1323
|
+
- `editable?: boolean = true` — Let people move and resize widgets
|
|
1324
|
+
- `resizable?: boolean = true` — Show a resize handle on each widget's corner
|
|
1325
|
+
- `breakpoint?: number = 600` — Below this width (px, the grid's own) the widgets stack in one column, in reading order
|
|
1326
|
+
- `handle?: string` — Only start a drag from inside an element matching this (a widget's title bar), instead of anywhere on it
|
|
1327
|
+
|
|
1328
|
+
Events:
|
|
1329
|
+
- `update:modelValue(layout: (DashboardItem & { label?: string | undefined; })[])` — The layout changed (moved, resized)
|
|
1330
|
+
|
|
1331
|
+
Slots:
|
|
1332
|
+
- `#item { item: DashboardItem & { label?: string | undefined; }; dragging: boolean; resizing: boolean; }` — One widget's content: `{ item, dragging, resizing }`
|
|
1333
|
+
|
|
1157
1334
|
### MDataTable
|
|
1158
1335
|
|
|
1159
1336
|
A feature-rich data table — everything MTable has, plus column resize/pin/toggle, row grouping, striped/dense density, sticky header, expandable rows, and CSV export.
|
|
@@ -1345,6 +1522,30 @@ Slots:
|
|
|
1345
1522
|
- `#title` — Overrides the title prop with custom markup
|
|
1346
1523
|
- `#actions` — Row of action buttons — wraps to a new line instead of overflowing when labels are long
|
|
1347
1524
|
|
|
1525
|
+
### MDiffViewer
|
|
1526
|
+
|
|
1527
|
+
Shows what changed between two texts (code, config, prose): side by side or unified, with the changed words highlighted inside changed lines, line numbers, counts of added and removed lines, and long unchanged stretches folded behind a "Show N unchanged lines" row (`context` lines kept around each change). Below `breakpoint` (its own width) side by side becomes unified. No editor or extra dependency: its own line and word diff (`diffLines`, `diffWords`, exported too).
|
|
1528
|
+
|
|
1529
|
+
Props:
|
|
1530
|
+
- `original: string` — The text before
|
|
1531
|
+
- `modified: string` — The text after
|
|
1532
|
+
- `mode?: "split" | "unified" = "split"` (v-model:mode) — Side by side or unified (v-model:mode with the toggle)
|
|
1533
|
+
- `toggle?: boolean = true` — Show the split / unified toggle in the header
|
|
1534
|
+
- `originalLabel?: string` — The original's name in the header (a file name, "v1")
|
|
1535
|
+
- `modifiedLabel?: string` — The modified version's name
|
|
1536
|
+
- `context?: number = 3` — Unchanged lines kept around each change; longer stretches fold (-1: never fold)
|
|
1537
|
+
- `wordDiff?: boolean = true` — Highlight the changed words inside changed lines
|
|
1538
|
+
- `lineNumbers?: boolean = true` — Show line numbers
|
|
1539
|
+
- `wrap?: boolean = false` — Wrap long lines instead of scrolling
|
|
1540
|
+
- `breakpoint?: number = 640` — Below this width (px, its own) side by side shows unified
|
|
1541
|
+
- `maxHeight?: string` — Limit the height (CSS), scrolling inside
|
|
1542
|
+
|
|
1543
|
+
Events:
|
|
1544
|
+
- `update:mode(mode: "split" | "unified")` — The view changed from its toggle
|
|
1545
|
+
|
|
1546
|
+
Slots:
|
|
1547
|
+
- `#header { added: number; removed: number; }` — Replaces the header's title area (file names): `{ added, removed }`
|
|
1548
|
+
|
|
1348
1549
|
### MDivider
|
|
1349
1550
|
|
|
1350
1551
|
A thin separator line, horizontal or vertical, with an optional centered label.
|
|
@@ -1393,7 +1594,7 @@ Import from `@m3ui-vue/m3ui-vue/draw`.
|
|
|
1393
1594
|
A drawing surface: pens that follow a stylus' pressure, an eraser that cuts strokes (and the pen's eraser end), lines, arrows, rectangles, ellipses, text, lasso selection to move, scale or delete, layers, undo and redo, pan and pinch zoom. An infinite canvas, or pages of a fixed size. The drawing is plain data (`v-model`, a list of strokes, shapes and texts), exported as SVG or PNG. Put an MDrawToolbar (or your own, with `useDrawing()`) in its default slot. Not an M3 spec component. Gestures: draw with the pen, mouse or a finger; two fingers pan and zoom (and cancel a stroke a finger just started); the wheel pans, Ctrl + wheel zooms; Space + drag or the middle button pans. With `penOnly` (by default once a stylus has been used) fingers only pan and zoom, so a palm on the screen doesn't draw. Keys: Ctrl+Z undo, Ctrl+Shift+Z or Ctrl+Y redo, Delete removes the selection, Escape drops it, Ctrl+A selects everything.
|
|
1394
1595
|
|
|
1395
1596
|
Props:
|
|
1396
|
-
- `mode?: "
|
|
1597
|
+
- `mode?: "pages" | "infinite" = "infinite"` — An endless canvas, or pages of `pageSize` stacked one under another
|
|
1397
1598
|
- `pageSize?: { width: number; height: number; } = { width: 794, height: 1123 }` — A page's size in drawing units (A4 at 96 dpi by default)
|
|
1398
1599
|
- `paper?: string = "#ffffff"` — The paper's color (pages, or the whole infinite canvas)
|
|
1399
1600
|
- `background?: "none" | "grid" | "dots" | "lines" = "none"` — A ruling drawn on the paper
|
|
@@ -1532,20 +1733,29 @@ Slots:
|
|
|
1532
1733
|
|
|
1533
1734
|
### MExpansionPanel
|
|
1534
1735
|
|
|
1535
|
-
A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.
|
|
1736
|
+
A collapsible section with a smooth height animation (`MCollapse`). Works controlled via v-model, or uncontrolled by simply omitting modelValue. The header takes text props or slots of your own (a colored icon, a title with highlighted parts, a badge before the chevron); `expandable: false` makes it a plain row with nothing to open, and `flush` lets the body run edge to edge (a list).
|
|
1536
1737
|
|
|
1537
1738
|
Props:
|
|
1538
|
-
- `title
|
|
1739
|
+
- `title?: string` — Panel header text (or the `#title` slot)
|
|
1539
1740
|
- `subtitle?: string` — Secondary text in the header, below the title
|
|
1540
1741
|
- `icon?: string` — Leading Material Symbol icon in the header
|
|
1541
1742
|
- `modelValue?: boolean` (v-model) — Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).
|
|
1542
|
-
- `disabled?: boolean = false` — Disables toggling
|
|
1543
|
-
- `
|
|
1743
|
+
- `disabled?: boolean = false` — Disables toggling (dimmed)
|
|
1744
|
+
- `expandable?: boolean = true` — Whether it opens at all: false shows a plain header row, no chevron, not a button (not dimmed, unlike `disabled`)
|
|
1745
|
+
- `flush?: boolean = false` — The body with no padding or divider, for edge-to-edge content such as a list
|
|
1746
|
+
- `unmountOnClose?: boolean = false` — Unmount the body while closed
|
|
1747
|
+
- `variant?: "filled" | "outlined" | "elevated" = "outlined"` — Visual style of the panel container
|
|
1544
1748
|
|
|
1545
1749
|
Events:
|
|
1546
1750
|
- `update:modelValue(boolean)` — Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model
|
|
1751
|
+
- `after-open()` — The open animation finished
|
|
1752
|
+
- `after-close()` — The close animation finished
|
|
1547
1753
|
|
|
1548
1754
|
Slots:
|
|
1755
|
+
- `#leading` — The header's start, instead of `icon` (an avatar, a colored icon)
|
|
1756
|
+
- `#title` — The title, instead of the `title` text (highlighted parts, a chip)
|
|
1757
|
+
- `#subtitle` — The line below the title, instead of the `subtitle` text
|
|
1758
|
+
- `#trailing` — Content before the chevron (a count, a status, a button)
|
|
1549
1759
|
- `#default` — Panel body content, revealed with a height animation when open
|
|
1550
1760
|
|
|
1551
1761
|
### MExportButton
|
|
@@ -1558,7 +1768,7 @@ Props:
|
|
|
1558
1768
|
- `filename?: string = "export"` — Filename without extension — the extension is added automatically
|
|
1559
1769
|
- `label?: string = "Export"` — Button label (overridden by the default slot)
|
|
1560
1770
|
- `icon?: string = "download"` — Leading Material Symbol icon
|
|
1561
|
-
- `variant?: "
|
|
1771
|
+
- `variant?: "filled" | "outlined" | "text" | "elevated" | "tonal" = "outlined"` — Visual style (same as MButton)
|
|
1562
1772
|
- `size?: "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Button size
|
|
1563
1773
|
- `disabled?: boolean = false` — Disables the button
|
|
1564
1774
|
|
|
@@ -1584,7 +1794,7 @@ Props:
|
|
|
1584
1794
|
- `direction?: "right" | "left" | "up" | "down" | "radial" = "up"` — Speed-dial expand direction
|
|
1585
1795
|
- `to?: string | Record<string, any>` — Vue Router destination — renders as RouterLink instead of button
|
|
1586
1796
|
- `persistent?: boolean = false` — Keep speed-dial open after clicking an item or clicking outside
|
|
1587
|
-
- `align?: "
|
|
1797
|
+
- `align?: "start" | "end" = "start"` — For the `up`/`down` #content panel only: which edge it anchors to when it's wider than the FAB itself. 'start' (default) keeps its left edge aligned with the FAB's left edge (existing behavior); 'end' aligns the right edges instead, which keeps a wide panel from running off-screen when the FAB sits in the bottom-right corner, a common placement.
|
|
1588
1798
|
- `scrim?: boolean = false` — Dims the rest of the screen behind the #content panel while open (has no effect on the `items` speed dial). A plain sibling with its own fade transition, independent of the panel's enter/leave transform, so it doesn't visually shrink/lag along with it.
|
|
1589
1799
|
- `contentTransition?: "none" | "scale" | "fade" = "scale"` — How the #content panel itself animates open/closed. 'scale' (default) is the original fade+scale. 'fade' drops the scale — use this when the slot content already animates its own entrance (e.g. a staggered per-item reveal), so the panel doesn't *also* scale as a group on top of that; it still gives Vue a real transition to wait for on close, so the content's own leave animation has time to play instead of just vanishing. 'none' skips any panel-level transition entirely.
|
|
1590
1800
|
- `rippleColor?: string` — Any CSS color for the press ripple; defaults to the FAB's content color
|
|
@@ -1616,7 +1826,7 @@ Props:
|
|
|
1616
1826
|
- `size?: "small" | "large" | "regular" = "regular"` — Trigger FAB size — independent from `itemSize` below.
|
|
1617
1827
|
- `itemSize?: "small" | "large" | "regular" = "large"` — Menu item row size — independent from the trigger FAB's own `size`.
|
|
1618
1828
|
- `direction?: "up" | "down" = "up"` — Which side of the FAB the menu list opens toward
|
|
1619
|
-
- `align?: "
|
|
1829
|
+
- `align?: "start" | "end" = "end"` — Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen when the FAB sits in a bottom-right corner
|
|
1620
1830
|
- `scrim?: boolean = true` — Dim the rest of the screen while the menu is open
|
|
1621
1831
|
- `persistent?: boolean = false` — Keep the menu open after clicking an item or clicking outside
|
|
1622
1832
|
- `disabled?: boolean = false` — Disables the trigger FAB
|
|
@@ -1671,6 +1881,19 @@ export interface UploadFile {
|
|
|
1671
1881
|
}
|
|
1672
1882
|
```
|
|
1673
1883
|
|
|
1884
|
+
### MFilterBuilder
|
|
1885
|
+
|
|
1886
|
+
A visual filter builder: conditions of field · operator · value, combined so all or any of them match, with nested groups for mixes like "status is open AND (priority is high OR due before Friday)". Each field's type (text, number, date, select, boolean) picks its operators and its value input. The filter is the v-model, a plain JSON tree; `filterRows(rows, filter, fields)` (or `matchesFilter`) applies it to a table's rows, or send it to your server. Rules still being filled in match everything. Lays out by its own width: rows wrap when narrow.
|
|
1887
|
+
|
|
1888
|
+
Props:
|
|
1889
|
+
- `modelValue?: FilterGroup | null = null` (v-model) — The filter (v-model): a group of rules and nested groups. Leave it out or null to start empty
|
|
1890
|
+
- `fields: FilterField[]` — The fields that can be filtered on; see `FilterField`
|
|
1891
|
+
- `maxDepth?: number = 1` — How deep groups can nest (0: no groups, conditions only)
|
|
1892
|
+
- `disabled?: boolean = false` — Read-only
|
|
1893
|
+
|
|
1894
|
+
Events:
|
|
1895
|
+
- `update:modelValue(filter: FilterGroup)` — The filter changed
|
|
1896
|
+
|
|
1674
1897
|
### MFixed
|
|
1675
1898
|
|
|
1676
1899
|
Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.
|
|
@@ -1696,8 +1919,8 @@ A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justifi
|
|
|
1696
1919
|
|
|
1697
1920
|
Props:
|
|
1698
1921
|
- `direction?: "row" | "column" | "row-reverse" | "column-reverse" = "row"` — Flex direction
|
|
1699
|
-
- `align?: "center" | "
|
|
1700
|
-
- `justify?: "center" | "
|
|
1922
|
+
- `align?: "center" | "start" | "end" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment (align-items)
|
|
1923
|
+
- `justify?: "center" | "start" | "end" | "between" | "around" | "evenly" = "start"` — Main-axis alignment (justify-content)
|
|
1701
1924
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "none"` — Gap between items
|
|
1702
1925
|
- `wrap?: boolean = false` — Allow items to wrap
|
|
1703
1926
|
- `inline?: boolean = false` — Use inline-flex instead of flex
|
|
@@ -1737,7 +1960,7 @@ Props:
|
|
|
1737
1960
|
- `backgroundOpacity?: number = 0.5` — Its opacity
|
|
1738
1961
|
- `tableOrigin?: "center" | "corner" = "center"` — Which point of a table `x` / `y` name: its middle (default) or its top-left corner (unturned), as your data keeps it
|
|
1739
1962
|
- `overlap?: "warn" | "allow" | "prevent" = "warn"` — Tables that overlap while editing: `warn` outlines them (default), `prevent` also undoes a move or a resize that would make one overlap another, `allow` says nothing
|
|
1740
|
-
- `resizeSnap?: "grid" | "
|
|
1963
|
+
- `resizeSnap?: "grid" | "subgrid" | "free" = "free"` — How a resize handle steps (tables and decor): `grid` whole grid squares, `subgrid` the snapping step of walls and zones (`subgrid`), `free` not at all. The change steps, not the size: a table drawn a little smaller than its square keeps that margin and grows by whole squares
|
|
1741
1964
|
- `resizable?: boolean = true` — The handle that resizes the selected table (off when your tables keep one size)
|
|
1742
1965
|
- `dragMerged?: boolean = false` — Dragging (or nudging) a merged table moves its whole merge with it
|
|
1743
1966
|
- `selectable?: "none" | "multiple" | "single" = "none"` — What a click on a table selects outside editing: nothing, one, or several (toggling; to merge them). While editing, `multiple` keeps clicks toggling tables in and out of the selection, and a drag moves the table pressed on its own (to bring the ones being merged together)
|
|
@@ -2133,9 +2356,9 @@ Props:
|
|
|
2133
2356
|
- `label?: string`
|
|
2134
2357
|
- `subtitle?: string`
|
|
2135
2358
|
- `icon?: string` — Material Symbol
|
|
2136
|
-
- `variant?: "
|
|
2359
|
+
- `variant?: "filled" | "outlined" | "elevated" = "outlined"`
|
|
2137
2360
|
- `color?: "error" | "primary" | "secondary" | "tertiary" | "neutral" = "primary"` — The icon container's color role
|
|
2138
|
-
- `handles?: "
|
|
2361
|
+
- `handles?: "none" | "both" | "source" | "target" = "both"` — Which handles it draws
|
|
2139
2362
|
- `sourcePosition?: FlowPosition`
|
|
2140
2363
|
- `targetPosition?: FlowPosition`
|
|
2141
2364
|
|
|
@@ -2201,7 +2424,7 @@ Props:
|
|
|
2201
2424
|
|
|
2202
2425
|
Events:
|
|
2203
2426
|
- `link({ from: string; to: string; type: NonNullable<"FS" | "SS" | "FF" | "SF" | undefined>; })` — A dependency was drawn: `{ from, to, type }` (it's also added to the task)
|
|
2204
|
-
- `change({ tasks: GanttTask<any>[]; kind: "
|
|
2427
|
+
- `change({ tasks: GanttTask<any>[]; kind: "reorder" | "progress" | "move" | "resize" | "rename"; })` — A drag or a key changed tasks: `{ tasks, kind }` with the changed tasks and `'move' | 'resize' | 'progress' | 'reorder' | 'rename'`
|
|
2205
2428
|
- `delete({ tasks: GanttTask<any>[]; })` — Tasks were deleted: `{ tasks }`
|
|
2206
2429
|
- `update:selection(string[])`
|
|
2207
2430
|
- `update:tasks(GanttTask<any>[])`
|
|
@@ -2274,7 +2497,7 @@ Props:
|
|
|
2274
2497
|
- `lg?: 1 | 2 | 3 | 4 | 5 | 6 | 12` — Columns at lg breakpoint
|
|
2275
2498
|
- `xl?: 1 | 2 | 3 | 4 | 5 | 6 | 12` — Columns at xl breakpoint
|
|
2276
2499
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items
|
|
2277
|
-
- `alignItems?: "center" | "
|
|
2500
|
+
- `alignItems?: "center" | "start" | "end" | "stretch" = "stretch"` — Vertical alignment
|
|
2278
2501
|
|
|
2279
2502
|
Slots:
|
|
2280
2503
|
- `#default` — The grid items.
|
|
@@ -2314,7 +2537,7 @@ A button that shows only an icon — four visual styles, the same 5-tier express
|
|
|
2314
2537
|
Props:
|
|
2315
2538
|
- `icon: string` — Material Symbol icon name
|
|
2316
2539
|
- `label?: string` — Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one)
|
|
2317
|
-
- `variant?: "
|
|
2540
|
+
- `variant?: "filled" | "outlined" | "standard" | "tonal" = "standard"` — Visual style
|
|
2318
2541
|
- `color?: "error" | "primary" | "secondary" | "tertiary" | (string & {})` — An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button, `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the container with white (or the role's on-color) on it; tonal for a 20% container with the color on it. Disabled buttons and toggles keep their own colors
|
|
2319
2542
|
- `contentColor?: string` — Icon color over what the variant and `color` give: an M3 role (`on-surface`…) or any CSS color (`#000` on a white filled button). Disabled buttons and toggles keep their own
|
|
2320
2543
|
- `shape?: "rounded" | "squared" = "rounded"` — Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)
|
|
@@ -2593,7 +2816,7 @@ Props:
|
|
|
2593
2816
|
- `leading?: ListItemLeading` — Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted
|
|
2594
2817
|
- `avatarName?: string` — Name for the avatar (when leading='avatar')
|
|
2595
2818
|
- `image?: string` — Image URL (when leading='image')
|
|
2596
|
-
- `iconContainerColor?: "
|
|
2819
|
+
- `iconContainerColor?: "error" | "success" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
|
|
2597
2820
|
- `trailingIcon?: string` — Trailing icon name
|
|
2598
2821
|
- `trailingText?: string` — Trailing text label
|
|
2599
2822
|
- `trailing?: ListItemTrailing` — Trailing element type — auto-resolves from trailingIcon/trailingText when omitted
|
|
@@ -2667,29 +2890,30 @@ Slots:
|
|
|
2667
2890
|
|
|
2668
2891
|
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
2669
2892
|
|
|
2670
|
-
A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser.
|
|
2893
|
+
A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser. With maplibre-gl 6 and a bundler, give it MapLibre's worker URL (`setMapWorker()` once at startup, or the `workerUrl` prop), or the map stays blank.
|
|
2671
2894
|
|
|
2672
2895
|
Props:
|
|
2673
|
-
- `mapStyle: string |
|
|
2674
|
-
- `keepLayers?: boolean | ((layer:
|
|
2675
|
-
- `transformStyle?:
|
|
2896
|
+
- `mapStyle: string | StyleSpecification` — The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style, keeping what was added at runtime (see `keepLayers`)
|
|
2897
|
+
- `keepLayers?: boolean | ((layer: LayerSpecification) => boolean) = true` — What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…) when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as MapLibre does; a function picks the layers to carry (their sources come along)
|
|
2898
|
+
- `transformStyle?: TransformStyleFunction` — MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it loads (copy a layer's paint over, add a sprite…)
|
|
2676
2899
|
- `center?: [number, number]` (v-model:center) — `[lng, lat]` (v-model). When left out, the style's (or the remembered view's)
|
|
2677
2900
|
- `zoom?: number` (v-model:zoom) — Zoom level (v-model)
|
|
2678
2901
|
- `bearing?: number` (v-model:bearing) — Rotation in degrees (v-model)
|
|
2679
2902
|
- `pitch?: number` (v-model:pitch) — Tilt in degrees (v-model)
|
|
2680
2903
|
- `persist?: string | boolean = false` — Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true` under `m3-map-view` (after `createM3UI`'s `storagePrefix`, if any), or your own key (one per map)
|
|
2904
|
+
- `workerUrl?: string` — The URL of MapLibre's worker, handed to maplibre's `setWorkerUrl()` before the map is created. maplibre-gl 6 needs it under a bundler; with Vite: `import workerUrl from 'maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url'`. Overrides `setMapWorker()`; the setting is global to maplibre, so the last one applied wins
|
|
2681
2905
|
- `navigation?: boolean | MapControlPosition = true` — Zoom and compass buttons: `false`, or a corner (`true` is top-right)
|
|
2682
2906
|
- `geolocate?: boolean | MapControlPosition = false` — A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right)
|
|
2683
2907
|
- `fullscreen?: boolean | MapControlPosition = false` — A fullscreen button: `false`, or a corner (`true` is top-right)
|
|
2684
2908
|
- `scale?: boolean | MapControlPosition = true` — A metric scale bar: `false`, or a corner (`true` is bottom-left)
|
|
2685
2909
|
- `attribution?: boolean | MapControlPosition = true` — The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it
|
|
2686
|
-
- `options?: Partial<Omit<
|
|
2910
|
+
- `options?: Partial<Omit<MapOptions, "container" | "style">>` — Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…)
|
|
2687
2911
|
- `adapter?: MapAdapter` — Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own
|
|
2688
2912
|
|
|
2689
2913
|
Events:
|
|
2690
|
-
- `click(event:
|
|
2914
|
+
- `click(event: MapMouseEvent)` — A click on the map (MapLibre's `MapMouseEvent`: `lngLat`, `point`)
|
|
2691
2915
|
- `update:zoom(zoom: number)` — The zoom changed (on `moveend`)
|
|
2692
|
-
- `ready(map:
|
|
2916
|
+
- `ready(map: Map)` — The map loaded (with its style), with the MapLibre `Map`
|
|
2693
2917
|
- `update:center(center: [number, number])` — The view moved (on `moveend`): `[lng, lat]`
|
|
2694
2918
|
- `update:bearing(bearing: number)` — The rotation changed (on `moveend`)
|
|
2695
2919
|
- `update:pitch(pitch: number)` — The tilt changed (on `moveend`)
|
|
@@ -2698,7 +2922,7 @@ Slots:
|
|
|
2698
2922
|
- `#default` — Map components (`MMapMarker`, `MMapPopup`, `MMapGeoJson`, `MMapControl`) and anything to show over the map, rendered once the map exists
|
|
2699
2923
|
|
|
2700
2924
|
Exposed (template ref):
|
|
2701
|
-
- `map:
|
|
2925
|
+
- `map: Map | undefined` — The MapLibre map, once loaded
|
|
2702
2926
|
- `context: MapContext` — What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it
|
|
2703
2927
|
|
|
2704
2928
|
```ts
|
|
@@ -2717,6 +2941,57 @@ Props:
|
|
|
2717
2941
|
- `vertical?: boolean = false` — Lay them out in a column
|
|
2718
2942
|
- `map?: MapSource` — The map, when this is outside it (a side panel): the `MMap`'s template ref
|
|
2719
2943
|
|
|
2944
|
+
### MMapCluster
|
|
2945
|
+
|
|
2946
|
+
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
2947
|
+
|
|
2948
|
+
Clustered points on an `MMap`: GeoJSON points (an object, or a URL) grouped by MapLibre's clustering into M3 count bubbles that grow with their count; a click or Enter on one zooms in until it splits. The points left on their own are drawn as circles in the same color (or with `pointLayers`). The bubbles are HTML (buttons you can tab to, the theme's type scale, no glyphs needed in the style); `#cluster` replaces their content. Replace `data` (a new object) to update it. It's added again after a style change. Available from the `/map` entry point.
|
|
2949
|
+
|
|
2950
|
+
Props:
|
|
2951
|
+
- `data: any` — A GeoJSON object (a FeatureCollection of points), or the URL of one
|
|
2952
|
+
- `id?: string` — The source's id (and the prefix of its layers' ids). Unique on the map; generated when left out
|
|
2953
|
+
- `color?: "primary" | "secondary" | "tertiary" = "primary"` — The theme color of the bubbles and the single points
|
|
2954
|
+
- `radius?: number = 50` — How close points must be to be grouped, in pixels (MapLibre's `clusterRadius`)
|
|
2955
|
+
- `maxZoom?: number = 14` — Above this zoom nothing is grouped (MapLibre's `clusterMaxZoom`)
|
|
2956
|
+
- `zoomOnClick?: boolean = true` — Zoom in on a bubble when it's clicked
|
|
2957
|
+
- `pointLayers?: MapGeoJsonLayer[]` — How to draw the single points: MapLibre layers without `source` (filter out clusters yourself: `['!', ['has', 'point_count']]`). Defaults to a circle
|
|
2958
|
+
- `before?: string` — Insert the point layers below this layer id
|
|
2959
|
+
- `interactive?: boolean = false` — Show a pointer over the single points (set it when you handle `click`)
|
|
2960
|
+
- `sourceOptions?: Partial<Omit<GeoJSONSourceSpecification, "type" | "data" | "cluster" | "clusterRadius" | "clusterMaxZoom">>` — More options for the GeoJSON source (`clusterProperties`, `clusterMinPoints`, `promoteId`…)
|
|
2961
|
+
|
|
2962
|
+
Events:
|
|
2963
|
+
- `click(event: MapLayerMouseEvent)` — A click on one of its single points (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)
|
|
2964
|
+
- `cluster-click(cluster: MapCluster)` — A click on a bubble: `{ id, count, lngLat, zoomIn, leaves }` (it zooms in by itself unless `zoomOnClick` is false)
|
|
2965
|
+
|
|
2966
|
+
Slots:
|
|
2967
|
+
- `#cluster { id: number; count: number; label: string; lngLat: [number, number]; zoomIn: () => Promise<void>; leaves: (limit?: number | undefined) => Promise<GeoJSON.Feature[]>; }` — A bubble's content instead of the default one: `{ id, count, label, lngLat, zoomIn, leaves }`
|
|
2968
|
+
|
|
2969
|
+
Exposed (template ref):
|
|
2970
|
+
- `sourceId: string` — The source's id
|
|
2971
|
+
- `layerIds: () => string[]` — The ids of its point layers on the map
|
|
2972
|
+
- `clusters: () => MapCluster[]` — The bubbles on screen now
|
|
2973
|
+
|
|
2974
|
+
```ts
|
|
2975
|
+
/** A bubble, as `#cluster` and `cluster-click` get it. */
|
|
2976
|
+
export interface MapCluster {
|
|
2977
|
+
/** MapLibre's cluster id */
|
|
2978
|
+
id: number
|
|
2979
|
+
/** How many points it holds */
|
|
2980
|
+
count: number
|
|
2981
|
+
/** Where it sits, `[lng, lat]` */
|
|
2982
|
+
lngLat: [number, number]
|
|
2983
|
+
/** Zooms in until it splits */
|
|
2984
|
+
zoomIn: () => Promise<void>
|
|
2985
|
+
/** Its points (all of them by default, or the first `limit`) */
|
|
2986
|
+
leaves: (limit?: number) => Promise<MapClusterLeaf[]>
|
|
2987
|
+
}
|
|
2988
|
+
```
|
|
2989
|
+
|
|
2990
|
+
```ts
|
|
2991
|
+
/** One of the points in a cluster (a GeoJSON feature). */
|
|
2992
|
+
export type MapClusterLeaf = Awaited<ReturnType<Maplibre.GeoJSONSource['getClusterLeaves']>>[number]
|
|
2993
|
+
```
|
|
2994
|
+
|
|
2720
2995
|
### MMapControl
|
|
2721
2996
|
|
|
2722
2997
|
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
@@ -2736,6 +3011,55 @@ Slots:
|
|
|
2736
3011
|
- `#panel { close: () => void; }` — What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it
|
|
2737
3012
|
- `#default { expanded: boolean; toggle: () => void; }` — The control's content; `{ expanded, toggle }` when it has a `#panel`
|
|
2738
3013
|
|
|
3014
|
+
### MMapDraw
|
|
3015
|
+
|
|
3016
|
+
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
3017
|
+
|
|
3018
|
+
Drawing and editing points, lines and polygons on an `MMap`, as GeoJSON (v-model: a FeatureCollection), with its own control (point, line, polygon, delete). To draw: click to add points (a preview follows the pointer), then double-click, Enter or Escape to finish, or click the first point to close a polygon; Backspace takes back the last point. A point is placed with one click. To edit: click a shape to select it, then drag a vertex, drag a midpoint to add one, double-click a vertex to remove it, or press Delete (or the control's button) to delete the shape. Escape or a click on empty map deselects. Everything follows the theme. While drawing or dragging it owns the map's clicks (`MMapIdentify` waits). Features keep their `properties`; ones without an `id` get one. Multi-geometries are shown and can be selected and deleted, not reshaped. Available from the `/map` entry point.
|
|
3019
|
+
|
|
3020
|
+
Props:
|
|
3021
|
+
- `modelValue?: MapDrawCollection` (v-model) — The shapes (v-model)
|
|
3022
|
+
- `mode?: MapDrawMode | null = null` (v-model:mode) — The drawing mode (v-model:mode): `'point'`, `'line'`, `'polygon'`, or null. Set it to start drawing from outside
|
|
3023
|
+
- `modes?: MapDrawMode[] = ["point", "line", "polygon"]` — Which shapes its control offers, in order
|
|
3024
|
+
- `control?: boolean | MapControlPosition = true` — Its buttons: `false` (drive it with v-model:mode), or a corner (`true` is top-right)
|
|
3025
|
+
- `color?: "primary" | "secondary" | "tertiary" = "primary"` — The theme color of the shapes
|
|
3026
|
+
- `editable?: boolean = true` — Let the user select, reshape and delete shapes (false: draw only)
|
|
3027
|
+
|
|
3028
|
+
Events:
|
|
3029
|
+
- `update:modelValue(collection: MapDrawCollection)` — The shapes changed (drawn, edited, deleted): the whole FeatureCollection
|
|
3030
|
+
- `select(feature: MapDrawFeature | null)` — A shape was selected (its feature), or the selection was cleared (null)
|
|
3031
|
+
- `update:mode(mode: MapDrawMode | null)` — The drawing mode changed (`'point'`, `'line'`, `'polygon'`, or null when it finished)
|
|
3032
|
+
|
|
3033
|
+
Exposed (template ref):
|
|
3034
|
+
- `start: (next: MapDrawMode) => void` — Starts drawing a shape (again: finishes)
|
|
3035
|
+
- `finish: () => void` — Ends drawing, keeping the shape when it has enough points
|
|
3036
|
+
- `select: (id: string | number | null) => void` — Selects a shape by id (null: none)
|
|
3037
|
+
- `remove: (id?: string | number | null) => void` — Deletes a shape (the selected one by default)
|
|
3038
|
+
- `clear: () => void` — Deletes every shape
|
|
3039
|
+
|
|
3040
|
+
```ts
|
|
3041
|
+
/** What `MMapDraw` draws. */
|
|
3042
|
+
export type MapDrawMode = 'point' | 'line' | 'polygon'
|
|
3043
|
+
```
|
|
3044
|
+
|
|
3045
|
+
```ts
|
|
3046
|
+
/** A shape of `MMapDraw` (a GeoJSON feature). */
|
|
3047
|
+
export interface MapDrawFeature {
|
|
3048
|
+
type: 'Feature'
|
|
3049
|
+
id?: string | number
|
|
3050
|
+
geometry: Geometry
|
|
3051
|
+
properties: Record<string, unknown> | null
|
|
3052
|
+
}
|
|
3053
|
+
```
|
|
3054
|
+
|
|
3055
|
+
```ts
|
|
3056
|
+
/** `MMapDraw`'s v-model. */
|
|
3057
|
+
export interface MapDrawCollection {
|
|
3058
|
+
type: 'FeatureCollection'
|
|
3059
|
+
features: MapDrawFeature[]
|
|
3060
|
+
}
|
|
3061
|
+
```
|
|
3062
|
+
|
|
2739
3063
|
### MMapFeatureInfo
|
|
2740
3064
|
|
|
2741
3065
|
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
@@ -2777,10 +3101,10 @@ Props:
|
|
|
2777
3101
|
- `layers?: MapGeoJsonLayer[]` — How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers
|
|
2778
3102
|
- `before?: string` — Insert the layers below this layer id (e.g. under the style's labels)
|
|
2779
3103
|
- `interactive?: boolean = false` — Show a pointer over its features (set it when you handle `click`)
|
|
2780
|
-
- `sourceOptions?: Partial<Omit<
|
|
3104
|
+
- `sourceOptions?: Partial<Omit<GeoJSONSourceSpecification, "type" | "data">>` — More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…)
|
|
2781
3105
|
|
|
2782
3106
|
Events:
|
|
2783
|
-
- `click(event:
|
|
3107
|
+
- `click(event: MapLayerMouseEvent)` — A click on one of its features (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)
|
|
2784
3108
|
|
|
2785
3109
|
Exposed (template ref):
|
|
2786
3110
|
- `sourceId: string` — The source's id
|
|
@@ -2848,7 +3172,7 @@ Props:
|
|
|
2848
3172
|
- `lngLat: [number, number]` (v-model:lngLat) — Position, `[lng, lat]` (v-model with `draggable`)
|
|
2849
3173
|
- `color?: string` — The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content
|
|
2850
3174
|
- `draggable?: boolean = false` — Let the user drag it
|
|
2851
|
-
- `anchor?:
|
|
3175
|
+
- `anchor?: PositionAnchor` — Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset `[0, -14]`), and the center of custom content
|
|
2852
3176
|
- `offset?: [number, number]` — Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat`
|
|
2853
3177
|
- `rotation?: number = 0` — Rotation in degrees
|
|
2854
3178
|
|
|
@@ -2861,7 +3185,7 @@ Slots:
|
|
|
2861
3185
|
- `#popup` — Content of a popup that opens when the marker is clicked
|
|
2862
3186
|
|
|
2863
3187
|
Exposed (template ref):
|
|
2864
|
-
- `marker: () =>
|
|
3188
|
+
- `marker: () => Marker | undefined` — The MapLibre marker
|
|
2865
3189
|
|
|
2866
3190
|
### MMapMeasure
|
|
2867
3191
|
|
|
@@ -2898,8 +3222,8 @@ Props:
|
|
|
2898
3222
|
- `open?: boolean = true` (v-model:open) — Shown (v-model)
|
|
2899
3223
|
- `closeButton?: boolean = true` — Show a close button
|
|
2900
3224
|
- `closeOnClick?: boolean = true` — Close it when the map is clicked
|
|
2901
|
-
- `anchor?:
|
|
2902
|
-
- `offset?:
|
|
3225
|
+
- `anchor?: PositionAnchor` — Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room
|
|
3226
|
+
- `offset?: Offset` — Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`). By default none: its tip touches the point
|
|
2903
3227
|
- `maxWidth?: string = "320px"` — Maximum width (CSS)
|
|
2904
3228
|
|
|
2905
3229
|
Events:
|
|
@@ -2909,7 +3233,7 @@ Slots:
|
|
|
2909
3233
|
- `#default` — The popup's content
|
|
2910
3234
|
|
|
2911
3235
|
Exposed (template ref):
|
|
2912
|
-
- `popup: () =>
|
|
3236
|
+
- `popup: () => Popup | undefined` — The MapLibre popup
|
|
2913
3237
|
|
|
2914
3238
|
### MMapSearch
|
|
2915
3239
|
|
|
@@ -2967,7 +3291,7 @@ Exposed (template ref):
|
|
|
2967
3291
|
- `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
|
|
2968
3292
|
- `blur: () => void | undefined` — Takes focus away from the field
|
|
2969
3293
|
- `select: () => void | undefined` — Selects all its text
|
|
2970
|
-
- `setSelectionRange: (start: number, end: number, direction?: "
|
|
3294
|
+
- `setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
|
|
2971
3295
|
|
|
2972
3296
|
```ts
|
|
2973
3297
|
export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'
|
|
@@ -2987,6 +3311,78 @@ Props:
|
|
|
2987
3311
|
Slots:
|
|
2988
3312
|
- `#default` — The items, laid out in columns.
|
|
2989
3313
|
|
|
3314
|
+
### MMentionField
|
|
3315
|
+
|
|
3316
|
+
A text field with @mentions and #tags: typing a trigger character (`@`, `#`, or any of `sources`) at the start of a word opens a list at the caret, filtered as you type, from a source's `items` or its `search` function (an API, debounced). Arrow keys move, Enter or Tab picks, Escape closes; picking writes the trigger and the item's label into the text. The text is the v-model, plain; the picked items that are still in it are `v-model:mentions`, with their ids. Multi-line by default (a chat composer, a comment box). Built on `MTextField`. Keys it uses while the list is open (arrows, Enter, Tab) are `preventDefault`ed before your own `@keydown` sees them, so a composer that sends on Enter checks `e.defaultPrevented`.
|
|
3317
|
+
|
|
3318
|
+
Props:
|
|
3319
|
+
- `modelValue: string` (v-model) — The text (v-model)
|
|
3320
|
+
- `mentions?: MentionRef[] = []` (v-model:mentions) — The picked items still in the text (v-model:mentions)
|
|
3321
|
+
- `sources: MentionSource[]` — Trigger characters and where each looks things up
|
|
3322
|
+
- `label: string` — Field label
|
|
3323
|
+
- `variant?: "filled" | "outlined" = "filled"` — Field style
|
|
3324
|
+
- `multiline?: boolean = true` — Several lines (a textarea)
|
|
3325
|
+
- `rows?: number = 3` — Rows when multiline
|
|
3326
|
+
- `autoGrow?: boolean = true` — Grow with the text when multiline
|
|
3327
|
+
- `maxRows?: number` — Stop growing at this many rows
|
|
3328
|
+
- `debounce?: number = 200` — The delay before a `search`, in ms
|
|
3329
|
+
- `leadingIcon?: string` — Material Symbol on the left
|
|
3330
|
+
- `hint?: string` — Helper text below the field
|
|
3331
|
+
- `error?: boolean` — Error state
|
|
3332
|
+
- `errorLabel?: string` — Error message shown when `error` is true
|
|
3333
|
+
- `required?: boolean` — Marks it as required
|
|
3334
|
+
- `disabled?: boolean` — Disables the field
|
|
3335
|
+
|
|
3336
|
+
Events:
|
|
3337
|
+
- `update:modelValue(text: string)` — The text changed
|
|
3338
|
+
- `update:mentions(mentions: MentionRef[])` — The picked items still in the text changed
|
|
3339
|
+
- `mention(item: MentionItem, trigger: string)` — An item was picked: `(item, trigger)`
|
|
3340
|
+
|
|
3341
|
+
Slots:
|
|
3342
|
+
- `#item { item: MentionItem; source: MentionSource; active: boolean; }` — One entry of the list instead of the default (avatar or icon, label, description): `{ item, source, active }`
|
|
3343
|
+
|
|
3344
|
+
Exposed (template ref):
|
|
3345
|
+
- `focus: () => void | undefined` — Focuses the field
|
|
3346
|
+
- `insert: (text: string) => void` — Inserts text at the caret (a trigger, to open the list from a button: `insert('@')`)
|
|
3347
|
+
|
|
3348
|
+
```ts
|
|
3349
|
+
/** Something that can be mentioned. */
|
|
3350
|
+
export interface MentionItem {
|
|
3351
|
+
id: string | number
|
|
3352
|
+
/** What's written into the text after the trigger (spaces allowed: `@Ana López`) */
|
|
3353
|
+
label: string
|
|
3354
|
+
/** A second line in the list */
|
|
3355
|
+
description?: string
|
|
3356
|
+
/** An image URL; without one, initials (or `icon`) */
|
|
3357
|
+
avatar?: string
|
|
3358
|
+
/** A Material Symbol instead of an avatar */
|
|
3359
|
+
icon?: string
|
|
3360
|
+
}
|
|
3361
|
+
```
|
|
3362
|
+
|
|
3363
|
+
```ts
|
|
3364
|
+
/** Where a trigger character looks things up. */
|
|
3365
|
+
export interface MentionSource {
|
|
3366
|
+
/** One character: `@`, `#`, `:`… */
|
|
3367
|
+
trigger: string
|
|
3368
|
+
/** The items, filtered here as the user types */
|
|
3369
|
+
items?: MentionItem[]
|
|
3370
|
+
/** Or a lookup of yours (an API): the query in, items out; `signal` aborts a replaced one */
|
|
3371
|
+
search?: (query: string, signal: AbortSignal) => Promise<MentionItem[]>
|
|
3372
|
+
/** How many to list (8) */
|
|
3373
|
+
limit?: number
|
|
3374
|
+
}
|
|
3375
|
+
```
|
|
3376
|
+
|
|
3377
|
+
```ts
|
|
3378
|
+
/** A picked item still in the text. */
|
|
3379
|
+
export interface MentionRef {
|
|
3380
|
+
trigger: string
|
|
3381
|
+
id: string | number
|
|
3382
|
+
label: string
|
|
3383
|
+
}
|
|
3384
|
+
```
|
|
3385
|
+
|
|
2990
3386
|
### MMenu
|
|
2991
3387
|
|
|
2992
3388
|
A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.
|
|
@@ -3323,6 +3719,44 @@ export interface NavigationSuiteItem {
|
|
|
3323
3719
|
export type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'
|
|
3324
3720
|
```
|
|
3325
3721
|
|
|
3722
|
+
### MNotificationCenter
|
|
3723
|
+
|
|
3724
|
+
An inbox of notifications: grouped by day (Today, Yesterday, a date), newest first, with relative times in the app's language, unread ones marked, an All / Unread filter and Mark all as read. A click opens one (and marks it read); a sideways swipe (finger or mouse), its dismiss button or Delete dismisses it. The list is the v-model: reading and dismissing change it. Put it in a menu, a side sheet or a page; `MNotificationCenter` doesn't float. For passing toasts, use `useNotification()`.
|
|
3725
|
+
|
|
3726
|
+
Props:
|
|
3727
|
+
- `modelValue: InboxNotification[]` (v-model) — The notifications (v-model)
|
|
3728
|
+
- `title?: string` — The header's title (the locale's "Notifications" by default); empty hides the header
|
|
3729
|
+
- `filter?: boolean = true` — Show the All / Unread filter
|
|
3730
|
+
- `dismissible?: boolean = true` — Let people dismiss notifications
|
|
3731
|
+
- `maxHeight?: string` — Limit the height (CSS), scrolling inside
|
|
3732
|
+
|
|
3733
|
+
Events:
|
|
3734
|
+
- `update:modelValue(items: InboxNotification[])` — The list changed (read, unread, dismissed)
|
|
3735
|
+
- `open(item: InboxNotification)` — A notification was opened (clicked, or Enter)
|
|
3736
|
+
- `dismiss(item: InboxNotification)` — A notification was dismissed
|
|
3737
|
+
|
|
3738
|
+
Slots:
|
|
3739
|
+
- `#empty` — What shows with nothing to list
|
|
3740
|
+
- `#item { item: InboxNotification; }` — One notification's content instead of the default: `{ item }`
|
|
3741
|
+
|
|
3742
|
+
```ts
|
|
3743
|
+
/** One notification of `MNotificationCenter`. */
|
|
3744
|
+
export interface InboxNotification {
|
|
3745
|
+
id: string | number
|
|
3746
|
+
title: string
|
|
3747
|
+
body?: string
|
|
3748
|
+
/** When: a Date, an ISO string or a timestamp */
|
|
3749
|
+
time: Date | string | number
|
|
3750
|
+
read?: boolean
|
|
3751
|
+
/** A Material Symbol */
|
|
3752
|
+
icon?: string
|
|
3753
|
+
/** An image URL instead of the icon */
|
|
3754
|
+
avatar?: string
|
|
3755
|
+
/** The icon's color: a theme role */
|
|
3756
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'
|
|
3757
|
+
}
|
|
3758
|
+
```
|
|
3759
|
+
|
|
3326
3760
|
### MNumberField
|
|
3327
3761
|
|
|
3328
3762
|
A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.
|
|
@@ -3690,20 +4124,20 @@ Props:
|
|
|
3690
4124
|
- `max?: number` — Largest amount accepted; keys that would pass it are ignored
|
|
3691
4125
|
- `maxLength?: number` — Most digits accepted (a PIN's length, for one). With `pin` mode, filling it emits `submit` on its own
|
|
3692
4126
|
- `quickAmounts?: number[]` — Chips above the keys with preset amounts
|
|
3693
|
-
- `quickMode?: "
|
|
4127
|
+
- `quickMode?: "add" | "set" = "set"` — Whether a quick amount replaces the value or adds to it
|
|
3694
4128
|
- `due?: number` — Amount due: shows the remaining amount under the value, or the change once it's covered
|
|
3695
4129
|
- `actionLabel?: string` — Label of the submit button. Without it (and without the `action` slot) there is no button
|
|
3696
4130
|
- `actionIcon?: string` — Material Symbol on the submit button
|
|
3697
4131
|
- `actionDisabled?: boolean` — Disables the submit button. By default it's disabled while the value is empty or doesn't cover `due`
|
|
3698
4132
|
- `hideDisplay?: boolean = false` — Hides the value display (e.g. the value is shown elsewhere)
|
|
3699
|
-
- `keyboard?: "
|
|
4133
|
+
- `keyboard?: "focus" | "none" | "global" = "focus"` — Physical keyboard: while the keypad is focused, always (`global`), or never
|
|
3700
4134
|
- `haptics?: boolean = false` — A short vibration on every key, on devices that support it
|
|
3701
4135
|
- `disabled?: boolean = false` — Disables every key
|
|
3702
4136
|
|
|
3703
4137
|
Events:
|
|
3704
4138
|
- `update:modelValue(string)` — Emitted on every key — powers v-model
|
|
3705
|
-
- `key(string)` — Emitted on every key press, with the key (`'0'`–`'9'`, `'00'`, `'.'`, `'backspace'`, `'clear'`)
|
|
3706
4139
|
- `submit(string)` — Emitted by the action button or Enter, with the value
|
|
4140
|
+
- `key(string)` — Emitted on every key press, with the key (`'0'`–`'9'`, `'00'`, `'.'`, `'backspace'`, `'clear'`)
|
|
3707
4141
|
|
|
3708
4142
|
Slots:
|
|
3709
4143
|
- `#display { value: string; formatted: string; amount: number; }` — Replaces the value display. Slot props: `{ value, formatted, amount }`
|
|
@@ -3837,6 +4271,43 @@ Props:
|
|
|
3837
4271
|
Slots:
|
|
3838
4272
|
- `#error` — Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel
|
|
3839
4273
|
|
|
4274
|
+
### MQRScanner
|
|
4275
|
+
|
|
4276
|
+
Reads QR codes (and barcodes) with the device's camera: a live preview with an M3 viewfinder, reading a few times a second. Uses the browser's `BarcodeDetector` where there is one (Chrome on Android and desktop, Edge, Samsung Internet; not Firefox or Safari on desktop); elsewhere, pass a `detector` of yours (jsQR, ZXing) that reads an `ImageData`, or it says the browser can't. Each code read is emitted once (`detect`) and is the v-model; the same code isn't repeated for 2 seconds. `once` stops the camera after the first. Needs a secure page (https or localhost).
|
|
4277
|
+
|
|
4278
|
+
Props:
|
|
4279
|
+
- `modelValue?: string | null = null` (v-model) — The last code read (v-model)
|
|
4280
|
+
- `formats?: string[] = ["qr_code"]` — What BarcodeDetector looks for
|
|
4281
|
+
- `detector?: ScanDetector` — Your reader instead of BarcodeDetector (e.g. jsQR on the frame)
|
|
4282
|
+
- `facing?: CameraFacing = "environment"` — Which camera: the back one (`environment`) or the selfie one (`user`)
|
|
4283
|
+
- `interval?: number = 250` — How often to look, in ms
|
|
4284
|
+
- `once?: boolean = false` — Stop the camera after the first code
|
|
4285
|
+
- `autostart?: boolean = false` — Start the camera on mount instead of on a button press
|
|
4286
|
+
- `aspect?: string = "1 / 1"` — The preview's aspect ratio (CSS `aspect-ratio`)
|
|
4287
|
+
|
|
4288
|
+
Events:
|
|
4289
|
+
- `error(error: CameraError)` — The camera failed: `'denied' | 'unavailable' | 'unsupported' | 'failed'`
|
|
4290
|
+
- `update:modelValue(value: string)` — A code was read (its text)
|
|
4291
|
+
- `detect(result: ScanResult)` — A code was read: `{ rawValue, format }`
|
|
4292
|
+
|
|
4293
|
+
Exposed (template ref):
|
|
4294
|
+
- `start: () => Promise<void>` — Starts the camera
|
|
4295
|
+
- `stop: () => void` — Stops the camera
|
|
4296
|
+
|
|
4297
|
+
```ts
|
|
4298
|
+
/** A code read by `MQRScanner`. */
|
|
4299
|
+
export interface ScanResult {
|
|
4300
|
+
rawValue: string
|
|
4301
|
+
/** `qr_code`, `ean_13`, `code_128`… */
|
|
4302
|
+
format: string
|
|
4303
|
+
}
|
|
4304
|
+
```
|
|
4305
|
+
|
|
4306
|
+
```ts
|
|
4307
|
+
/** Your own reader, for browsers without BarcodeDetector: a frame in, a code (or null) out. */
|
|
4308
|
+
export type ScanDetector = (frame: ImageData) => ScanResult | null | Promise<ScanResult | null>
|
|
4309
|
+
```
|
|
4310
|
+
|
|
3840
4311
|
### MQuiz
|
|
3841
4312
|
|
|
3842
4313
|
A quiz for a course, an onboarding or a training: single and multiple choice, true/false, putting items in order and typed answers, one question at a time with a progress bar. With `feedback="immediate"` each answer is checked on the spot with its explanation; with `"end"` everything is revealed in the results. The results show the score, pass / fail against `passScore`, and a review of every question. An optional time limit ends the quiz when it runs out.
|
|
@@ -4120,7 +4591,7 @@ type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down'
|
|
|
4120
4591
|
A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.
|
|
4121
4592
|
|
|
4122
4593
|
Props:
|
|
4123
|
-
- `status: "
|
|
4594
|
+
- `status: "error" | "info" | "success" | "warning" | "404" | "403" | "500"` — Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon
|
|
4124
4595
|
- `title?: string` — Custom title, replaces the status default
|
|
4125
4596
|
- `description?: string` — Custom description, replaces the status default
|
|
4126
4597
|
|
|
@@ -4282,15 +4753,15 @@ Props:
|
|
|
4282
4753
|
- `placeholder?: string` — Defaults to the locale's "Search..."
|
|
4283
4754
|
- `variant?: "fullscreen" | "fullscreen-contained" | "docked" = "docked"` — 'docked' grows into a rounded panel anchored below the bar (default). 'fullscreen' takes over the whole viewport, matching M3's mobile search pattern — the leading icon becomes a back button either way. 'fullscreen-contained' (M3 Expressive's ExpandedFullScreenContainedSearchBar) also takes the whole viewport, on surface-container-low, but keeps the input in its pill shape, with no divider.
|
|
4284
4755
|
- `leadingIcon?: string = "search"` — Icon shown in the collapsed bar
|
|
4285
|
-
- `iconPosition?: "
|
|
4756
|
+
- `iconPosition?: "start" | "end" = "start"` — Which side of the *collapsed* bar the leading icon sits on. The expanded panel's back button always stays at the start regardless — that's a near-universal "go back" convention.
|
|
4286
4757
|
- `textAlign?: "center" | "start" = "start"` — Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).
|
|
4287
4758
|
- `loading?: boolean = false` — Shows a spinner in the expanded header instead of the clear button
|
|
4288
4759
|
- `clearable?: boolean = true` — Shows a clear (×) button once there is a query
|
|
4289
4760
|
- `disabled?: boolean = false` — Disables the collapsed bar
|
|
4290
4761
|
|
|
4291
4762
|
Events:
|
|
4292
|
-
- `search(string)` — Emitted when Enter is pressed in the input, with the current query
|
|
4293
4763
|
- `update:modelValue(string)` — Emitted on every input change — powers v-model
|
|
4764
|
+
- `search(string)` — Emitted when Enter is pressed in the input, with the current query
|
|
4294
4765
|
- `update:expanded(boolean)` — Emitted when the expanded state changes — powers v-model:expanded
|
|
4295
4766
|
|
|
4296
4767
|
Slots:
|
|
@@ -4313,8 +4784,8 @@ Props:
|
|
|
4313
4784
|
- `disabled?: boolean = false` — Disables the field
|
|
4314
4785
|
|
|
4315
4786
|
Events:
|
|
4316
|
-
- `search(string)` — Enter was pressed, with the text
|
|
4317
4787
|
- `update:modelValue(string)` — The text, on every keystroke — powers v-model
|
|
4788
|
+
- `search(string)` — Enter was pressed, with the text
|
|
4318
4789
|
- `clear()` — The clear button (or Escape) emptied the field
|
|
4319
4790
|
|
|
4320
4791
|
Slots:
|
|
@@ -4667,7 +5138,7 @@ export interface SimpleCarouselItem {
|
|
|
4667
5138
|
A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.
|
|
4668
5139
|
|
|
4669
5140
|
Props:
|
|
4670
|
-
- `variant?: "
|
|
5141
|
+
- `variant?: "text" | "rounded" | "circular" | "rectangular" = "text"` — Skeleton shape
|
|
4671
5142
|
- `width?: string` — CSS width (defaults to 100%, or 40px for circular)
|
|
4672
5143
|
- `height?: string` — CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)
|
|
4673
5144
|
- `lines?: number = 1` — Number of text lines (text variant only) — the last line renders at 60% width
|
|
@@ -4748,7 +5219,7 @@ A button split into a main action and a dropdown toggle — click the main part
|
|
|
4748
5219
|
Props:
|
|
4749
5220
|
- `label: string` — Main button label
|
|
4750
5221
|
- `icon?: string` — Main button icon
|
|
4751
|
-
- `variant?: "
|
|
5222
|
+
- `variant?: "filled" | "outlined" | "elevated" | "tonal" = "tonal"` — Visual style
|
|
4752
5223
|
- `color?: "primary" | "secondary" | "tertiary" = "primary"` — Color scheme
|
|
4753
5224
|
- `size?: "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Button size
|
|
4754
5225
|
- `disabled?: boolean = false` — Disables both parts
|
|
@@ -4801,9 +5272,9 @@ Props:
|
|
|
4801
5272
|
- `closeHint?: string` — Footer hint text for Escape — falls back to the locale's own string when unset
|
|
4802
5273
|
|
|
4803
5274
|
Events:
|
|
4804
|
-
- `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
|
|
4805
5275
|
- `update:modelValue(boolean)` — Emitted on open/close — powers v-model
|
|
4806
5276
|
- `select(SpotlightResult)` — Emitted when a result is chosen (click, or Enter)
|
|
5277
|
+
- `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
|
|
4807
5278
|
|
|
4808
5279
|
```ts
|
|
4809
5280
|
export interface SpotlightResult {
|
|
@@ -4822,8 +5293,8 @@ Flex stack with gap, alignment, and optional dividers between items.
|
|
|
4822
5293
|
Props:
|
|
4823
5294
|
- `direction?: "row" | "column" = "column"` — Stack direction
|
|
4824
5295
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items (ignored when divider is true)
|
|
4825
|
-
- `align?: "center" | "
|
|
4826
|
-
- `justify?: "center" | "
|
|
5296
|
+
- `align?: "center" | "start" | "end" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment
|
|
5297
|
+
- `justify?: "center" | "start" | "end" | "between" | "around" | "evenly" = "start"` — Main-axis alignment
|
|
4827
5298
|
- `wrap?: boolean = false` — Allow items to wrap
|
|
4828
5299
|
- `divider?: boolean = false` — Show dividers between items instead of a gap
|
|
4829
5300
|
- `inline?: boolean = false` — Use inline-flex
|
|
@@ -4841,7 +5312,7 @@ Props:
|
|
|
4841
5312
|
- `icon?: string` — Material Symbol icon shown in a colored container on the right
|
|
4842
5313
|
- `trend?: number` — Percentage change — positive shows green/up, negative red/down, zero neutral/flat
|
|
4843
5314
|
- `trendLabel?: string` — Text next to the trend indicator (e.g. "vs last month")
|
|
4844
|
-
- `color?: "
|
|
5315
|
+
- `color?: "error" | "success" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
|
|
4845
5316
|
- `loading?: boolean` — Show a skeleton placeholder instead of the value
|
|
4846
5317
|
|
|
4847
5318
|
Slots:
|
|
@@ -5057,7 +5528,7 @@ Exposed (template ref):
|
|
|
5057
5528
|
- `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
|
|
5058
5529
|
- `blur: () => void | undefined` — Takes focus away from the field
|
|
5059
5530
|
- `select: () => void | undefined` — Selects all its text
|
|
5060
|
-
- `setSelectionRange: (start: number, end: number, direction?: "
|
|
5531
|
+
- `setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
|
|
5061
5532
|
|
|
5062
5533
|
### MTerminal
|
|
5063
5534
|
|
|
@@ -5142,7 +5613,7 @@ Exposed (template ref):
|
|
|
5142
5613
|
- `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
|
|
5143
5614
|
- `blur: () => void | undefined` — Takes focus away from the field
|
|
5144
5615
|
- `select: () => void | undefined` — Selects all its text
|
|
5145
|
-
- `setSelectionRange: (start: number, end: number, direction?: "
|
|
5616
|
+
- `setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
|
|
5146
5617
|
|
|
5147
5618
|
### MTicket
|
|
5148
5619
|
|
|
@@ -5290,6 +5761,27 @@ Props:
|
|
|
5290
5761
|
Events:
|
|
5291
5762
|
- `update:modelValue(string)` — Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes
|
|
5292
5763
|
|
|
5764
|
+
### MTimezoneSelect
|
|
5765
|
+
|
|
5766
|
+
A time zone picker: every IANA time zone the browser knows (`Intl.supportedValuesOf('timeZone')`), labelled with its current UTC offset and its city ("UTC−03:00 · Buenos Aires"), sorted by offset and searchable by city, region or offset. The v-model is the IANA name (`'America/Argentina/Buenos_Aires'`); `detect` starts it on the user's own. Offsets are today's (they move with daylight saving). Built on `MAutocomplete`.
|
|
5767
|
+
|
|
5768
|
+
Props:
|
|
5769
|
+
- `modelValue?: string | null = null` (v-model) — The IANA time zone name (v-model), or null
|
|
5770
|
+
- `label?: string` — Field label (the locale's "Time zone" by default)
|
|
5771
|
+
- `only?: string[]` — Only these zones, instead of every one
|
|
5772
|
+
- `detect?: boolean = false` — Start on the user's own zone when the v-model is empty
|
|
5773
|
+
- `variant?: "filled" | "outlined" = "filled"` — Field style
|
|
5774
|
+
- `mode?: "docked" | "modal" = "docked"` — Dropdown, or a dialog on small screens
|
|
5775
|
+
- `clearable?: boolean = false` — Show a clear button
|
|
5776
|
+
- `hint?: string` — Helper text below the field
|
|
5777
|
+
- `error?: boolean` — Error state
|
|
5778
|
+
- `errorLabel?: string` — Error message shown when `error` is true
|
|
5779
|
+
- `required?: boolean` — Marks it as required
|
|
5780
|
+
- `disabled?: boolean` — Disables the field
|
|
5781
|
+
|
|
5782
|
+
Events:
|
|
5783
|
+
- `update:modelValue(zone: string | null)` — A time zone was picked (its IANA name), or cleared (null)
|
|
5784
|
+
|
|
5293
5785
|
### MTitle
|
|
5294
5786
|
|
|
5295
5787
|
Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.
|
|
@@ -5309,7 +5801,7 @@ M3 Expressive's standalone toggle button — morphs its own shape between a pill
|
|
|
5309
5801
|
|
|
5310
5802
|
Props:
|
|
5311
5803
|
- `checked: boolean` (v-model:checked) — Whether the toggle button is checked/selected — v-model.
|
|
5312
|
-
- `variant?: "
|
|
5804
|
+
- `variant?: "filled" | "outlined" | "elevated" | "tonal" = "filled"` — Visual style, matching MButton's naming
|
|
5313
5805
|
- `disabled?: boolean = false` — Disables interaction
|
|
5314
5806
|
- `icon?: string` — Material Symbol icon name shown before the label
|
|
5315
5807
|
- `size?: "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Same 5-tier expressive sizing as MButton
|
|
@@ -5329,8 +5821,8 @@ Props:
|
|
|
5329
5821
|
- `variant?: "docked" | "floating" = "docked"` — Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)
|
|
5330
5822
|
- `orientation?: "horizontal" | "vertical" = "horizontal"` — Layout direction
|
|
5331
5823
|
- `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Background color scheme
|
|
5332
|
-
- `fabPosition?: "
|
|
5333
|
-
- `align?: "center" | "
|
|
5824
|
+
- `fabPosition?: "none" | "start" | "end" = "none"` — Where the #fab slot renders relative to the toolbar body
|
|
5825
|
+
- `align?: "center" | "start" | "end" | "between" = "center"` — Item alignment along the main axis
|
|
5334
5826
|
- `collapseOnScroll?: string | boolean | HTMLElement | null = false` — Collapse a floating toolbar as the content scrolls down and expand it as it scrolls back up (40px each way): `true` follows the window, or pass the scrolling element (or a CSS selector for it). Off by default
|
|
5335
5827
|
- `expanded?: boolean = true` (v-model:expanded) — A floating toolbar's state: collapsed, it shows only the FAB, or only its center without one. Default `true`
|
|
5336
5828
|
|
|
@@ -5484,7 +5976,7 @@ Props:
|
|
|
5484
5976
|
- `selected?: string | number | null = null` (v-model:selected) — Currently selected node id (single-select).
|
|
5485
5977
|
- `checked?: (string | number)[] = []` (v-model:checked) — Checked node ids (checkable multi-select).
|
|
5486
5978
|
- `checkable?: boolean = false` — Show checkboxes with cascade selection.
|
|
5487
|
-
- `defaultExpanded?: "
|
|
5979
|
+
- `defaultExpanded?: "none" | "all" | (string | number)[] = "none"` — Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').
|
|
5488
5980
|
- `emptyText?: string` — Text shown when nodes is empty. Falls back to the app's configured locale's noItems string
|
|
5489
5981
|
|
|
5490
5982
|
Events:
|
|
@@ -5774,11 +6266,11 @@ Props:
|
|
|
5774
6266
|
- `resetPosition?: boolean = false` — Reset position, size, and state when the window is closed
|
|
5775
6267
|
|
|
5776
6268
|
Events:
|
|
5777
|
-
- `close()` — Emitted when the close button is clicked
|
|
5778
6269
|
- `update:modelValue(value: boolean)` — Emitted when the window closes — powers v-model
|
|
6270
|
+
- `focus()` — Emitted when the window comes to the front.
|
|
6271
|
+
- `close()` — Emitted when the close button is clicked
|
|
5779
6272
|
- `minimize()` — Emitted when the minimize button is toggled (either direction)
|
|
5780
6273
|
- `maximize(maximized: boolean)` — Emitted when the window is maximized (true) or restored (false)
|
|
5781
|
-
- `focus()` — Emitted when the window comes to the front.
|
|
5782
6274
|
|
|
5783
6275
|
Slots:
|
|
5784
6276
|
- `#header` — Replaces the default icon + title, keeps drag behavior
|
|
@@ -5801,7 +6293,7 @@ The map of the enclosing `MMap`, for your own controls, layers and handlers (cal
|
|
|
5801
6293
|
```ts
|
|
5802
6294
|
useMap(source?: MaybeRefOrGetter<MapSource>): {
|
|
5803
6295
|
map: ComputedRef<Map$1 | undefined>
|
|
5804
|
-
maplibre: ComputedRef<typeof import("/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@
|
|
6296
|
+
maplibre: ComputedRef<typeof import("/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@6.19.0/node_modules/maplibre-gl/dist/maplibre-gl") | undefined>
|
|
5805
6297
|
styleVersion: ComputedRef<number>
|
|
5806
6298
|
activeTool: Ref<string | null>
|
|
5807
6299
|
onReady: (fn: (map: Maplibre.Map, maplibre: MaplibreModule) => void) => void
|
|
@@ -5810,6 +6302,16 @@ useMap(source?: MaybeRefOrGetter<MapSource>): {
|
|
|
5810
6302
|
}
|
|
5811
6303
|
```
|
|
5812
6304
|
|
|
6305
|
+
### setMapWorker
|
|
6306
|
+
|
|
6307
|
+
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
6308
|
+
|
|
6309
|
+
The URL of MapLibre's worker for every `MMap` (its `workerUrl` prop wins), handed to maplibre's `setWorkerUrl()` when the first map loads maplibre-gl. maplibre-gl 6 needs it under a bundler, or maps stay blank; call it once at startup. With Vite: `import workerUrl from 'maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url'`. Unlike calling maplibre's own `setWorkerUrl()`, it doesn't load maplibre-gl before a map needs it.
|
|
6310
|
+
|
|
6311
|
+
```ts
|
|
6312
|
+
setMapWorker(url: string | undefined): void
|
|
6313
|
+
```
|
|
6314
|
+
|
|
5813
6315
|
### useMapLayers
|
|
5814
6316
|
|
|
5815
6317
|
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
@@ -5838,7 +6340,7 @@ useMapLayers(source?: MaybeRefOrGetter<MapSource>): {
|
|
|
5838
6340
|
|
|
5839
6341
|
Import from `@m3ui-vue/m3ui-vue/map`.
|
|
5840
6342
|
|
|
5841
|
-
Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing
|
|
6343
|
+
Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing shows on hover. A few neutral keys in a layer's `metadata` refine it: - `base: true` (or `base: { image }`) makes it a base layer for `MMapBaseLayers`, with `image` (here or in `metadata.image`) as its thumbnail; base layers aren't listed in `MMapLayers` - `children`: layer ids shown, hidden and faded along with it (a vector base map's many layers under one entry); the children of a base layer aren't listed either - `listed: false` leaves it out of `MMapLayers`
|
|
5842
6344
|
|
|
5843
6345
|
```ts
|
|
5844
6346
|
genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel
|
|
@@ -6882,6 +7384,105 @@ A decor kind's name: a built-in one in the app's language (unless renamed), else
|
|
|
6882
7384
|
floorDecorName(kind: string, kinds: Record<string, FloorDecorKind>, locale: M3Locale): string
|
|
6883
7385
|
```
|
|
6884
7386
|
|
|
7387
|
+
### parseCron
|
|
7388
|
+
|
|
7389
|
+
Reads an expression; null when it isn't valid.
|
|
7390
|
+
|
|
7391
|
+
```ts
|
|
7392
|
+
parseCron(expression: string): CronSchedule | null
|
|
7393
|
+
```
|
|
7394
|
+
|
|
7395
|
+
### isValidCron
|
|
7396
|
+
|
|
7397
|
+
Whether an expression is valid.
|
|
7398
|
+
|
|
7399
|
+
```ts
|
|
7400
|
+
isValidCron(expression: string): boolean
|
|
7401
|
+
```
|
|
7402
|
+
|
|
7403
|
+
### describeCron
|
|
7404
|
+
|
|
7405
|
+
A sentence for the expression in the locale's language ("At 09:00, Monday to Friday"), or null when invalid.
|
|
7406
|
+
|
|
7407
|
+
```ts
|
|
7408
|
+
describeCron(expression: string, t: CronStrings): string | null
|
|
7409
|
+
```
|
|
7410
|
+
|
|
7411
|
+
### nextCronRuns
|
|
7412
|
+
|
|
7413
|
+
The next times it runs after `from` (local time), up to `count`, within four years.
|
|
7414
|
+
|
|
7415
|
+
```ts
|
|
7416
|
+
nextCronRuns(expression: string, count = 5, from: Date = new Date()): Date[]
|
|
7417
|
+
```
|
|
7418
|
+
|
|
7419
|
+
### moveItem
|
|
7420
|
+
|
|
7421
|
+
The layout with one item moved and/or resized, the rest pushed out of the way and compacted.
|
|
7422
|
+
|
|
7423
|
+
```ts
|
|
7424
|
+
moveItem(layout: DashboardItem[], id: DashboardItem['id'], next: Partial<Pick<DashboardItem, 'x' | 'y' | 'w' | 'h'>>, columns: number): DashboardItem[]
|
|
7425
|
+
```
|
|
7426
|
+
|
|
7427
|
+
### compactLayout
|
|
7428
|
+
|
|
7429
|
+
Floats every movable item up as far as it goes, top to bottom (static ones stay).
|
|
7430
|
+
|
|
7431
|
+
```ts
|
|
7432
|
+
compactLayout(layout: DashboardItem[]): DashboardItem[]
|
|
7433
|
+
```
|
|
7434
|
+
|
|
7435
|
+
### normalizeLayout
|
|
7436
|
+
|
|
7437
|
+
A layout made valid: clamped to the columns, no overlaps, compacted.
|
|
7438
|
+
|
|
7439
|
+
```ts
|
|
7440
|
+
normalizeLayout(layout: DashboardItem[], columns: number): DashboardItem[]
|
|
7441
|
+
```
|
|
7442
|
+
|
|
7443
|
+
### clampItem
|
|
7444
|
+
|
|
7445
|
+
Keeps an item inside the columns and its size limits.
|
|
7446
|
+
|
|
7447
|
+
```ts
|
|
7448
|
+
clampItem(item: DashboardItem, columns: number): DashboardItem
|
|
7449
|
+
```
|
|
7450
|
+
|
|
7451
|
+
### layoutRows
|
|
7452
|
+
|
|
7453
|
+
How many rows the layout takes.
|
|
7454
|
+
|
|
7455
|
+
```ts
|
|
7456
|
+
layoutRows(layout: DashboardItem[]): number
|
|
7457
|
+
```
|
|
7458
|
+
|
|
7459
|
+
### diffLines
|
|
7460
|
+
|
|
7461
|
+
Every line of `a` → `b` as equal, removed or added, with its line numbers. Removals come before additions.
|
|
7462
|
+
|
|
7463
|
+
```ts
|
|
7464
|
+
diffLines(a: string, b: string): DiffLine[]
|
|
7465
|
+
```
|
|
7466
|
+
|
|
7467
|
+
### diffWords
|
|
7468
|
+
|
|
7469
|
+
Two versions of a line split into words, spaces and punctuation, marked as kept, removed or added.
|
|
7470
|
+
|
|
7471
|
+
```ts
|
|
7472
|
+
diffWords(a: string, b: string): DiffPart[]
|
|
7473
|
+
```
|
|
7474
|
+
|
|
7475
|
+
### diffStats
|
|
7476
|
+
|
|
7477
|
+
How many lines were added and removed.
|
|
7478
|
+
|
|
7479
|
+
```ts
|
|
7480
|
+
diffStats(diff: DiffLine[]): {
|
|
7481
|
+
added: number
|
|
7482
|
+
removed: number
|
|
7483
|
+
}
|
|
7484
|
+
```
|
|
7485
|
+
|
|
6885
7486
|
### detectCardBrand
|
|
6886
7487
|
|
|
6887
7488
|
Card network of a (partial) number, from its leading digits. Spaces and dashes are ignored.
|
|
@@ -7012,6 +7613,78 @@ The five Fitzpatrick modifiers, light to dark.
|
|
|
7012
7613
|
skinTones: readonly ["🏻", "🏼", "🏽", "🏾", "🏿"]
|
|
7013
7614
|
```
|
|
7014
7615
|
|
|
7616
|
+
### filterRows
|
|
7617
|
+
|
|
7618
|
+
The rows that pass the filter.
|
|
7619
|
+
|
|
7620
|
+
```ts
|
|
7621
|
+
filterRows(rows: T[], filter: FilterGroup | null | undefined, fields: FilterField[] = []): T[]
|
|
7622
|
+
```
|
|
7623
|
+
|
|
7624
|
+
### matchesFilter
|
|
7625
|
+
|
|
7626
|
+
Whether a row passes the filter. Incomplete rules, and groups with none complete, match everything.
|
|
7627
|
+
|
|
7628
|
+
```ts
|
|
7629
|
+
matchesFilter(row: Record<string, unknown>, filter: FilterGroup | null | undefined, fields: FilterField[] = []): boolean
|
|
7630
|
+
```
|
|
7631
|
+
|
|
7632
|
+
### createFilter
|
|
7633
|
+
|
|
7634
|
+
An empty filter (a group matching every row), or one with these rules.
|
|
7635
|
+
|
|
7636
|
+
```ts
|
|
7637
|
+
createFilter(rules: Omit<FilterRule, 'id'>[] = [], combinator: 'and' | 'or' = 'and'): FilterGroup
|
|
7638
|
+
```
|
|
7639
|
+
|
|
7640
|
+
### createRule
|
|
7641
|
+
|
|
7642
|
+
A new rule on a field, with its type's first operator.
|
|
7643
|
+
|
|
7644
|
+
```ts
|
|
7645
|
+
createRule(field: FilterField): FilterRule
|
|
7646
|
+
```
|
|
7647
|
+
|
|
7648
|
+
### createGroup
|
|
7649
|
+
|
|
7650
|
+
A new nested group.
|
|
7651
|
+
|
|
7652
|
+
```ts
|
|
7653
|
+
createGroup(combinator: 'and' | 'or' = 'and'): FilterGroup
|
|
7654
|
+
```
|
|
7655
|
+
|
|
7656
|
+
### operatorsFor
|
|
7657
|
+
|
|
7658
|
+
The operators a field offers.
|
|
7659
|
+
|
|
7660
|
+
```ts
|
|
7661
|
+
operatorsFor(field: FilterField): FilterOperator[]
|
|
7662
|
+
```
|
|
7663
|
+
|
|
7664
|
+
### countRules
|
|
7665
|
+
|
|
7666
|
+
How many complete rules the filter has (for a "Filters (3)" button).
|
|
7667
|
+
|
|
7668
|
+
```ts
|
|
7669
|
+
countRules(filter: FilterGroup | null | undefined): number
|
|
7670
|
+
```
|
|
7671
|
+
|
|
7672
|
+
### isComplete
|
|
7673
|
+
|
|
7674
|
+
Whether a rule has what it needs to filter (an operator that takes no value, or a value).
|
|
7675
|
+
|
|
7676
|
+
```ts
|
|
7677
|
+
isComplete(rule: FilterRule): boolean
|
|
7678
|
+
```
|
|
7679
|
+
|
|
7680
|
+
### FILTER_OPERATORS
|
|
7681
|
+
|
|
7682
|
+
The operators each type offers, in order (the first is the default for a new rule).
|
|
7683
|
+
|
|
7684
|
+
```ts
|
|
7685
|
+
FILTER_OPERATORS: Record<FilterFieldType, FilterOperator[]>
|
|
7686
|
+
```
|
|
7687
|
+
|
|
7015
7688
|
## Types
|
|
7016
7689
|
|
|
7017
7690
|
```ts
|
|
@@ -8741,6 +9414,8 @@ export interface M3Locale {
|
|
|
8741
9414
|
mapShowLayer: string
|
|
8742
9415
|
mapHideLayer: string
|
|
8743
9416
|
mapOpacity: string
|
|
9417
|
+
/** MMapCluster's bubble: `{count}` points under it; a click zooms in */
|
|
9418
|
+
mapClusterZoom: string
|
|
8744
9419
|
mapDownload: string
|
|
8745
9420
|
mapNoBaseLayer: string
|
|
8746
9421
|
mapHoverInfo: string
|
|
@@ -8749,8 +9424,114 @@ export interface M3Locale {
|
|
|
8749
9424
|
mapMeasureArea: string
|
|
8750
9425
|
mapClearMeasurements: string
|
|
8751
9426
|
mapDeleteMeasurement: string
|
|
9427
|
+
mapDrawPoint: string
|
|
9428
|
+
mapDrawLine: string
|
|
9429
|
+
mapDrawPolygon: string
|
|
9430
|
+
mapDeleteFeature: string
|
|
8752
9431
|
mapTotal: string
|
|
8753
9432
|
mapSearchPlaces: string
|
|
9433
|
+
mapAddress: string
|
|
9434
|
+
mapPressEnterToSearch: string
|
|
9435
|
+
mapSearching: string
|
|
9436
|
+
mapNoPlaces: string
|
|
9437
|
+
filterMatchAll: string
|
|
9438
|
+
filterMatchAny: string
|
|
9439
|
+
filterAddCondition: string
|
|
9440
|
+
filterAddGroup: string
|
|
9441
|
+
filterRemoveCondition: string
|
|
9442
|
+
filterRemoveGroup: string
|
|
9443
|
+
filterField: string
|
|
9444
|
+
filterOperator: string
|
|
9445
|
+
filterValue: string
|
|
9446
|
+
filterFrom: string
|
|
9447
|
+
filterTo: string
|
|
9448
|
+
filterNoConditions: string
|
|
9449
|
+
filterOpContains: string
|
|
9450
|
+
filterOpNotContains: string
|
|
9451
|
+
filterOpEquals: string
|
|
9452
|
+
filterOpNotEquals: string
|
|
9453
|
+
filterOpStartsWith: string
|
|
9454
|
+
filterOpEndsWith: string
|
|
9455
|
+
filterOpGt: string
|
|
9456
|
+
filterOpGte: string
|
|
9457
|
+
filterOpLt: string
|
|
9458
|
+
filterOpLte: string
|
|
9459
|
+
filterOpBetween: string
|
|
9460
|
+
filterOpIn: string
|
|
9461
|
+
filterOpNotIn: string
|
|
9462
|
+
filterOpIsTrue: string
|
|
9463
|
+
filterOpIsFalse: string
|
|
9464
|
+
filterOpIsEmpty: string
|
|
9465
|
+
filterOpIsNotEmpty: string
|
|
9466
|
+
filterOpAfter: string
|
|
9467
|
+
filterOpBefore: string
|
|
9468
|
+
cronExpression: string
|
|
9469
|
+
cronInvalid: string
|
|
9470
|
+
cronNextRuns: string
|
|
9471
|
+
cronFreqMinutes: string
|
|
9472
|
+
cronFreqHourly: string
|
|
9473
|
+
cronFreqDaily: string
|
|
9474
|
+
cronFreqWeekly: string
|
|
9475
|
+
cronFreqMonthly: string
|
|
9476
|
+
cronFreqCustom: string
|
|
9477
|
+
cronEvery: string
|
|
9478
|
+
cronMinute: string
|
|
9479
|
+
cronTime: string
|
|
9480
|
+
cronDayOfMonth: string
|
|
9481
|
+
cronEveryMinute: string
|
|
9482
|
+
cronEveryNMinutes: string
|
|
9483
|
+
cronHourlyAt: string
|
|
9484
|
+
cronAt: string
|
|
9485
|
+
cronEveryNHoursAt: string
|
|
9486
|
+
cronMinutesOfHours: string
|
|
9487
|
+
cronOnDaysOfMonth: string
|
|
9488
|
+
cronInMonths: string
|
|
9489
|
+
cronRange: string
|
|
9490
|
+
country: string
|
|
9491
|
+
timeZone: string
|
|
9492
|
+
cameraStart: string
|
|
9493
|
+
cameraStarting: string
|
|
9494
|
+
cameraCapture: string
|
|
9495
|
+
cameraRetake: string
|
|
9496
|
+
cameraUsePhoto: string
|
|
9497
|
+
cameraSwitch: string
|
|
9498
|
+
cameraDenied: string
|
|
9499
|
+
cameraUnavailable: string
|
|
9500
|
+
cameraUnsupported: string
|
|
9501
|
+
cameraFailed: string
|
|
9502
|
+
qrHint: string
|
|
9503
|
+
qrUnsupported: string
|
|
9504
|
+
recorderStart: string
|
|
9505
|
+
recorderStop: string
|
|
9506
|
+
recorderPause: string
|
|
9507
|
+
recorderResume: string
|
|
9508
|
+
recorderDiscard: string
|
|
9509
|
+
recorderUse: string
|
|
9510
|
+
recorderPlay: string
|
|
9511
|
+
recorderPausePlayback: string
|
|
9512
|
+
recorderRecording: string
|
|
9513
|
+
micDenied: string
|
|
9514
|
+
micUnavailable: string
|
|
9515
|
+
micUnsupported: string
|
|
9516
|
+
dashGrabbed: string
|
|
9517
|
+
dashPlaced: string
|
|
9518
|
+
dashDropped: string
|
|
9519
|
+
dashCancelled: string
|
|
9520
|
+
dashResize: string
|
|
9521
|
+
diffUnchanged: string
|
|
9522
|
+
diffSplit: string
|
|
9523
|
+
diffUnified: string
|
|
9524
|
+
diffNoChanges: string
|
|
9525
|
+
notifTitle: string
|
|
9526
|
+
notifMarkAllRead: string
|
|
9527
|
+
notifAll: string
|
|
9528
|
+
notifUnread: string
|
|
9529
|
+
notifEmpty: string
|
|
9530
|
+
notifToday: string
|
|
9531
|
+
notifYesterday: string
|
|
9532
|
+
notifDismiss: string
|
|
9533
|
+
notifMarkRead: string
|
|
9534
|
+
notifMarkUnread: string
|
|
8754
9535
|
/** MTimeline's button past `limit`; `{count}` is how many entries are hidden */
|
|
8755
9536
|
timelineShowMore: string
|
|
8756
9537
|
timelineShowLess: string
|
|
@@ -9532,6 +10313,85 @@ export type FloorTool = 'select' | 'wall' | 'area' | 'polygon'
|
|
|
9532
10313
|
export type FloorItemKind = 'table' | 'area' | 'wall' | 'decor'
|
|
9533
10314
|
```
|
|
9534
10315
|
|
|
10316
|
+
```ts
|
|
10317
|
+
/** An expression read into the values each field allows. */
|
|
10318
|
+
export interface CronSchedule {
|
|
10319
|
+
minutes: number[]
|
|
10320
|
+
hours: number[]
|
|
10321
|
+
days: number[]
|
|
10322
|
+
months: number[]
|
|
10323
|
+
weekdays: number[]
|
|
10324
|
+
/** Which fields were `*` (unrestricted) */
|
|
10325
|
+
any: { days: boolean; weekdays: boolean; minutes: boolean; hours: boolean; months: boolean }
|
|
10326
|
+
/** The fields as written (after macros), for describing steps */
|
|
10327
|
+
fields: string[]
|
|
10328
|
+
}
|
|
10329
|
+
```
|
|
10330
|
+
|
|
10331
|
+
```ts
|
|
10332
|
+
/** The locale strings the description uses. */
|
|
10333
|
+
export type CronStrings = Pick<M3Locale,
|
|
10334
|
+
'lang' | 'cronEveryMinute' | 'cronEveryNMinutes' | 'cronHourlyAt' | 'cronAt' | 'cronEveryNHoursAt' |
|
|
10335
|
+
'cronMinutesOfHours' | 'cronOnDaysOfMonth' | 'cronInMonths' | 'cronRange'>
|
|
10336
|
+
```
|
|
10337
|
+
|
|
10338
|
+
```ts
|
|
10339
|
+
/*
|
|
10340
|
+
* The layout behind MDashboardGrid, as pure functions: items on a grid of `columns`, in whole cells. Moving or
|
|
10341
|
+
* resizing one pushes whatever it lands on downward, then everything floats up to fill gaps (vertical compaction).
|
|
10342
|
+
* Static items never move and others flow around them. Usable on their own (server-side layouts, tests).
|
|
10343
|
+
*/
|
|
10344
|
+
|
|
10345
|
+
/** A widget's place on the grid, in cells. */
|
|
10346
|
+
export interface DashboardItem {
|
|
10347
|
+
id: string | number
|
|
10348
|
+
/** Column, from 0 */
|
|
10349
|
+
x: number
|
|
10350
|
+
/** Row, from 0 */
|
|
10351
|
+
y: number
|
|
10352
|
+
/** Width in columns */
|
|
10353
|
+
w: number
|
|
10354
|
+
/** Height in rows */
|
|
10355
|
+
h: number
|
|
10356
|
+
minW?: number
|
|
10357
|
+
minH?: number
|
|
10358
|
+
maxW?: number
|
|
10359
|
+
maxH?: number
|
|
10360
|
+
/** Never moves or resizes, and others flow around it */
|
|
10361
|
+
static?: boolean
|
|
10362
|
+
}
|
|
10363
|
+
```
|
|
10364
|
+
|
|
10365
|
+
```ts
|
|
10366
|
+
/** One line of a diff. */
|
|
10367
|
+
export interface DiffLine {
|
|
10368
|
+
op: DiffOp
|
|
10369
|
+
text: string
|
|
10370
|
+
/** Its number in the original (equal and removed lines) */
|
|
10371
|
+
oldLine?: number
|
|
10372
|
+
/** Its number in the modified version (equal and added lines) */
|
|
10373
|
+
newLine?: number
|
|
10374
|
+
}
|
|
10375
|
+
```
|
|
10376
|
+
|
|
10377
|
+
```ts
|
|
10378
|
+
/** A run of a word diff. */
|
|
10379
|
+
export interface DiffPart {
|
|
10380
|
+
op: DiffOp
|
|
10381
|
+
text: string
|
|
10382
|
+
}
|
|
10383
|
+
```
|
|
10384
|
+
|
|
10385
|
+
```ts
|
|
10386
|
+
/*
|
|
10387
|
+
* Line and word diffs (Myers' O(ND) algorithm) behind MDiffViewer, usable on their own. `diffLines(a, b)` gives
|
|
10388
|
+
* every line as equal, removed or added with its line numbers; `diffWords(a, b)` splits two versions of one line
|
|
10389
|
+
* into the parts that stayed and changed, for highlighting inside a changed line.
|
|
10390
|
+
*/
|
|
10391
|
+
|
|
10392
|
+
export type DiffOp = 'equal' | 'remove' | 'add'
|
|
10393
|
+
```
|
|
10394
|
+
|
|
9535
10395
|
```ts
|
|
9536
10396
|
/*
|
|
9537
10397
|
* Phone numbers for MPhoneInput, also exported to show a stored number elsewhere. Not libphonenumber: masks for the
|
|
@@ -9644,12 +10504,70 @@ export interface EmojiCategory {
|
|
|
9644
10504
|
}
|
|
9645
10505
|
```
|
|
9646
10506
|
|
|
10507
|
+
```ts
|
|
10508
|
+
/** A field that can be filtered on. */
|
|
10509
|
+
export interface FilterField {
|
|
10510
|
+
/** The row property (a dotted path reaches into nested objects: `address.city`) */
|
|
10511
|
+
key: string
|
|
10512
|
+
/** Its name in the UI */
|
|
10513
|
+
label: string
|
|
10514
|
+
/** Text by default */
|
|
10515
|
+
type?: FilterFieldType
|
|
10516
|
+
/** For `select`: the values to choose from */
|
|
10517
|
+
options?: { label: string; value: unknown }[]
|
|
10518
|
+
/** The operators offered, instead of the type's own */
|
|
10519
|
+
operators?: FilterOperator[]
|
|
10520
|
+
/** Reads the value from a row, instead of `key` */
|
|
10521
|
+
accessor?: (row: Record<string, unknown>) => unknown
|
|
10522
|
+
}
|
|
10523
|
+
```
|
|
10524
|
+
|
|
10525
|
+
```ts
|
|
10526
|
+
/*
|
|
10527
|
+
* The model and the evaluation behind MFilterBuilder, usable on their own: a filter is a JSON tree of groups (all /
|
|
10528
|
+
* any of their rules) and rules (field · operator · value). `filterRows(rows, filter, fields)` applies it to an array
|
|
10529
|
+
* (a table's rows), `matchesFilter(row, filter, fields)` to one row. Rules that aren't complete yet (no value) match
|
|
10530
|
+
* everything, so a half-built filter never empties the table.
|
|
10531
|
+
*/
|
|
10532
|
+
|
|
10533
|
+
/** How a field's values are compared, and which input `MFilterBuilder` shows for them. */
|
|
10534
|
+
export type FilterFieldType = 'text' | 'number' | 'date' | 'select' | 'boolean'
|
|
10535
|
+
```
|
|
10536
|
+
|
|
10537
|
+
```ts
|
|
10538
|
+
export type FilterOperator =
|
|
10539
|
+
| 'contains' | 'notContains' | 'equals' | 'notEquals' | 'startsWith' | 'endsWith'
|
|
10540
|
+
| 'gt' | 'gte' | 'lt' | 'lte' | 'between'
|
|
10541
|
+
| 'in' | 'notIn'
|
|
10542
|
+
| 'isTrue' | 'isFalse'
|
|
10543
|
+
| 'isEmpty' | 'isNotEmpty'
|
|
10544
|
+
```
|
|
10545
|
+
|
|
10546
|
+
```ts
|
|
10547
|
+
/** One condition: field · operator · value (`[min, max]` for `between`, a list for `in` / `notIn`). */
|
|
10548
|
+
export interface FilterRule {
|
|
10549
|
+
id: string
|
|
10550
|
+
field: string
|
|
10551
|
+
operator: FilterOperator
|
|
10552
|
+
value?: unknown
|
|
10553
|
+
}
|
|
10554
|
+
```
|
|
10555
|
+
|
|
10556
|
+
```ts
|
|
10557
|
+
/** All (`and`) or any (`or`) of its rules and nested groups. */
|
|
10558
|
+
export interface FilterGroup {
|
|
10559
|
+
id: string
|
|
10560
|
+
combinator: 'and' | 'or'
|
|
10561
|
+
rules: (FilterRule | FilterGroup)[]
|
|
10562
|
+
}
|
|
10563
|
+
```
|
|
10564
|
+
|
|
9647
10565
|
## Locale
|
|
9648
10566
|
|
|
9649
10567
|
`M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
|
|
9650
10568
|
`esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`):
|
|
9651
10569
|
|
|
9652
|
-
lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, selectRange, pickStart, pickEnd, previousMonth, nextMonth, selectColor, colorHue, colorSaturation, colorBrightness, colorAlpha, colorEyedropper, colorOriginal, colorFormat, colorRecent, colorPresets, dayView, weekView, allDay, emojiSearch, emojiNoResults, emojiRecent, emojiSkinTone, emojiSkinTones, emojiCategorySmileys, emojiCategoryGestures, emojiCategoryPeople, emojiCategoryAnimals, emojiCategoryNature, emojiCategoryFood, emojiCategoryActivities, emojiCategoryTravel, emojiCategoryObjects, emojiCategorySymbols, emojiCategoryFlags, available, selected, noItems, moveAllRight, moveRight, moveLeft, moveAllLeft, searchCommand, navigateHint, selectHint, openHint, closeHint, loadingMore, noMoreItems, bold, italic, underline, strikethrough, highlight, bulletList, orderedList, blockquote, code, alignLeft, alignCenter, alignRight, undo, redo, link, image, paragraph, heading1, heading2, heading3, insertLink, insertImage, imageUrlLabel, insert, jsonValid, jsonInvalid, jsonFormat, jsonMinify, jsonElements, jsonFields, resultSuccessTitle, resultSuccessDesc, resultErrorTitle, resultErrorDesc, resultWarningTitle, resultWarningDesc, resultInfoTitle, resultInfoDesc, result404Title, result404Desc, result403Title, result403Desc, result500Title, result500Desc, chatTyping, chatRecordingAudio, reorderHandle, reorderGrabbed, reorderMoved, reorderDropped, reorderCancelled, selectAll, clearSearch, kanbanMoved, windowMinimize, windowMaximize, windowRestore, paginationRange, paginationPage, previousPage, nextPage, carousel, carouselItem, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapTotal, mapSearchPlaces, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, keypadDelete, keypadClear, keypadChange, keypadRemaining, seatStage, seatAvailable, seatSelected, seatOccupied, seatLabel, receiptSubtotal, receiptTotal, receiptPaid, receiptChange, configRequired, configOptional, configChooseUpTo, configChooseAtLeast, configChooseExactly, configUnavailable, configQuantity, configIncrease, configDecrease, availNight, availNights, availMinNights, availCheckIn, availCheckOut, availSelectCheckIn, availSelectCheckOut, availUnavailable, chartOpen, chartHigh, chartLow, chartClose, chartVolume, bookPrice, bookSize, bookTotal, bookSpread, mortgagePrice, mortgageDown, mortgageRate, mortgageTerm, mortgageYears, mortgageLoan, mortgageMonthly, mortgageFirstPayment, mortgageLastPayment, mortgagePrincipal, mortgageInterest, mortgageTotal, mortgageSchedule, mortgageYear, mortgageBalance, bodyFront, bodyBack, bodyRight, bodyLeft, bodyRear, bodyHead, bodyNeck, bodyChest, bodyAbdomen, bodyPelvis, bodyShoulder, bodyUpperArm, bodyForearm, bodyHand, bodyThigh, bodyKnee, bodyLeg, bodyFoot, bodyUpperBack, bodyLowerBack, bodyGlute, bodyCalf, odontoTooth, odontoUpper, odontoLower, odontoMesial, odontoDistal, odontoBuccal, odontoLingual, odontoOcclusal, odontoCaries, odontoFilling, odontoSealant, odontoCrown, odontoRootCanal, odontoImplant, odontoMissing, odontoExtraction, odontoEraser, vitalsNormal, vitalsHigh, vitalsLow, vitalsNoData, quizCheck, quizNext, quizFinish, quizCorrect, quizIncorrect, quizCorrectAnswer, quizQuestionOf, quizScore, quizPassed, quizFailed, quizRetry, quizTrue, quizFalse, quizSelectAll, quizOrderHint, quizMoveUp, quizMoveDown, quizTypeAnswer, quizTimeLeft, quizReview, certTitle, certPresentedTo, certDate, certId
|
|
10570
|
+
lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, selectRange, pickStart, pickEnd, previousMonth, nextMonth, selectColor, colorHue, colorSaturation, colorBrightness, colorAlpha, colorEyedropper, colorOriginal, colorFormat, colorRecent, colorPresets, dayView, weekView, allDay, emojiSearch, emojiNoResults, emojiRecent, emojiSkinTone, emojiSkinTones, emojiCategorySmileys, emojiCategoryGestures, emojiCategoryPeople, emojiCategoryAnimals, emojiCategoryNature, emojiCategoryFood, emojiCategoryActivities, emojiCategoryTravel, emojiCategoryObjects, emojiCategorySymbols, emojiCategoryFlags, available, selected, noItems, moveAllRight, moveRight, moveLeft, moveAllLeft, searchCommand, navigateHint, selectHint, openHint, closeHint, loadingMore, noMoreItems, bold, italic, underline, strikethrough, highlight, bulletList, orderedList, blockquote, code, alignLeft, alignCenter, alignRight, undo, redo, link, image, paragraph, heading1, heading2, heading3, insertLink, insertImage, imageUrlLabel, insert, jsonValid, jsonInvalid, jsonFormat, jsonMinify, jsonElements, jsonFields, resultSuccessTitle, resultSuccessDesc, resultErrorTitle, resultErrorDesc, resultWarningTitle, resultWarningDesc, resultInfoTitle, resultInfoDesc, result404Title, result404Desc, result403Title, result403Desc, result500Title, result500Desc, chatTyping, chatRecordingAudio, reorderHandle, reorderGrabbed, reorderMoved, reorderDropped, reorderCancelled, selectAll, clearSearch, kanbanMoved, windowMinimize, windowMaximize, windowRestore, paginationRange, paginationPage, previousPage, nextPage, carousel, carouselItem, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapClusterZoom, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapDrawPoint, mapDrawLine, mapDrawPolygon, mapDeleteFeature, mapTotal, mapSearchPlaces, mapAddress, mapPressEnterToSearch, mapSearching, mapNoPlaces, filterMatchAll, filterMatchAny, filterAddCondition, filterAddGroup, filterRemoveCondition, filterRemoveGroup, filterField, filterOperator, filterValue, filterFrom, filterTo, filterNoConditions, filterOpContains, filterOpNotContains, filterOpEquals, filterOpNotEquals, filterOpStartsWith, filterOpEndsWith, filterOpGt, filterOpGte, filterOpLt, filterOpLte, filterOpBetween, filterOpIn, filterOpNotIn, filterOpIsTrue, filterOpIsFalse, filterOpIsEmpty, filterOpIsNotEmpty, filterOpAfter, filterOpBefore, cronExpression, cronInvalid, cronNextRuns, cronFreqMinutes, cronFreqHourly, cronFreqDaily, cronFreqWeekly, cronFreqMonthly, cronFreqCustom, cronEvery, cronMinute, cronTime, cronDayOfMonth, cronEveryMinute, cronEveryNMinutes, cronHourlyAt, cronAt, cronEveryNHoursAt, cronMinutesOfHours, cronOnDaysOfMonth, cronInMonths, cronRange, country, timeZone, cameraStart, cameraStarting, cameraCapture, cameraRetake, cameraUsePhoto, cameraSwitch, cameraDenied, cameraUnavailable, cameraUnsupported, cameraFailed, qrHint, qrUnsupported, recorderStart, recorderStop, recorderPause, recorderResume, recorderDiscard, recorderUse, recorderPlay, recorderPausePlayback, recorderRecording, micDenied, micUnavailable, micUnsupported, dashGrabbed, dashPlaced, dashDropped, dashCancelled, dashResize, diffUnchanged, diffSplit, diffUnified, diffNoChanges, notifTitle, notifMarkAllRead, notifAll, notifUnread, notifEmpty, notifToday, notifYesterday, notifDismiss, notifMarkRead, notifMarkUnread, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, keypadDelete, keypadClear, keypadChange, keypadRemaining, seatStage, seatAvailable, seatSelected, seatOccupied, seatLabel, receiptSubtotal, receiptTotal, receiptPaid, receiptChange, configRequired, configOptional, configChooseUpTo, configChooseAtLeast, configChooseExactly, configUnavailable, configQuantity, configIncrease, configDecrease, availNight, availNights, availMinNights, availCheckIn, availCheckOut, availSelectCheckIn, availSelectCheckOut, availUnavailable, chartOpen, chartHigh, chartLow, chartClose, chartVolume, bookPrice, bookSize, bookTotal, bookSpread, mortgagePrice, mortgageDown, mortgageRate, mortgageTerm, mortgageYears, mortgageLoan, mortgageMonthly, mortgageFirstPayment, mortgageLastPayment, mortgagePrincipal, mortgageInterest, mortgageTotal, mortgageSchedule, mortgageYear, mortgageBalance, bodyFront, bodyBack, bodyRight, bodyLeft, bodyRear, bodyHead, bodyNeck, bodyChest, bodyAbdomen, bodyPelvis, bodyShoulder, bodyUpperArm, bodyForearm, bodyHand, bodyThigh, bodyKnee, bodyLeg, bodyFoot, bodyUpperBack, bodyLowerBack, bodyGlute, bodyCalf, odontoTooth, odontoUpper, odontoLower, odontoMesial, odontoDistal, odontoBuccal, odontoLingual, odontoOcclusal, odontoCaries, odontoFilling, odontoSealant, odontoCrown, odontoRootCanal, odontoImplant, odontoMissing, odontoExtraction, odontoEraser, vitalsNormal, vitalsHigh, vitalsLow, vitalsNoData, quizCheck, quizNext, quizFinish, quizCorrect, quizIncorrect, quizCorrectAnswer, quizQuestionOf, quizScore, quizPassed, quizFailed, quizRetry, quizTrue, quizFalse, quizSelectAll, quizOrderHint, quizMoveUp, quizMoveDown, quizTypeAnswer, quizTimeLeft, quizReview, certTitle, certPresentedTo, certDate, certId
|
|
9653
10571
|
|
|
9654
10572
|
## Theme tokens
|
|
9655
10573
|
|