@m3ui-vue/m3ui-vue 1.6.0 → 1.6.2

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.
Files changed (158) hide show
  1. package/dist/API.md +940 -33
  2. package/dist/{MButton-CPghlKb0.js → MButton-OQ4wIERQ.js} +2 -2
  3. package/dist/{MButton-CPghlKb0.js.map → MButton-OQ4wIERQ.js.map} +1 -1
  4. package/dist/MColorPickerModal-NtkihoK6.js +577 -0
  5. package/dist/MColorPickerModal-NtkihoK6.js.map +1 -0
  6. package/dist/{MDialog-X50At1Gk.js → MDialog-DYMnaBlt.js} +3 -3
  7. package/dist/{MDialog-X50At1Gk.js.map → MDialog-DYMnaBlt.js.map} +1 -1
  8. package/dist/{MListItem-DVi1j1QI.js → MListItem-D2cNUyzP.js} +211 -168
  9. package/dist/MListItem-D2cNUyzP.js.map +1 -0
  10. package/dist/{MLoadingIndicator-vooA3110.js → MLoadingIndicator-DWUj0BAB.js} +2 -2
  11. package/dist/{MLoadingIndicator-vooA3110.js.map → MLoadingIndicator-DWUj0BAB.js.map} +1 -1
  12. package/dist/{MMenuItem-CRNZkVVr.js → MMenuItem-BuxYoASE.js} +133 -151
  13. package/dist/MMenuItem-BuxYoASE.js.map +1 -0
  14. package/dist/{MSeekBar-BL2W5_rD.js → MSeekBar-C4cn9RIF.js} +2 -2
  15. package/dist/{MSeekBar-BL2W5_rD.js.map → MSeekBar-C4cn9RIF.js.map} +1 -1
  16. package/dist/{MSlider-B9NcKTmZ.js → MSlider-BIkA6DiE.js} +2 -2
  17. package/dist/{MSlider-B9NcKTmZ.js.map → MSlider-BIkA6DiE.js.map} +1 -1
  18. package/dist/{MSpinner-_XpTRkAg.js → MSpinner-DZkXZJpc.js} +2 -2
  19. package/dist/{MSpinner-_XpTRkAg.js.map → MSpinner-DZkXZJpc.js.map} +1 -1
  20. package/dist/{MTextField-DpcPmR5B.js → MTextField-CNH-byir.js} +2 -2
  21. package/dist/{MTextField-DpcPmR5B.js.map → MTextField-CNH-byir.js.map} +1 -1
  22. package/dist/MTooltip-CK39Zon4.js +183 -0
  23. package/dist/MTooltip-CK39Zon4.js.map +1 -0
  24. package/dist/{_useEscapeStack-C5-BYr8y.js → _popupPosition-nL8SVKPK.js} +20 -2
  25. package/dist/_popupPosition-nL8SVKPK.js.map +1 -0
  26. package/dist/api.json +1 -1
  27. package/dist/code-editor.js +1 -1
  28. package/dist/components/MAddressField.vue.d.ts +54 -0
  29. package/dist/components/MAudioPlayer.vue.d.ts +1 -1
  30. package/dist/components/MAudioRecorder.vue.d.ts +51 -0
  31. package/dist/components/MAvailabilityCalendar.vue.d.ts +1 -1
  32. package/dist/components/MCameraCapture.vue.d.ts +51 -0
  33. package/dist/components/MCollapse.vue.d.ts +32 -0
  34. package/dist/components/MCountrySelect.vue.d.ts +41 -0
  35. package/dist/components/MCronField.vue.d.ts +26 -0
  36. package/dist/components/MDashboardGrid.vue.d.ts +65 -0
  37. package/dist/components/MDiffViewer.vue.d.ts +56 -0
  38. package/dist/components/MExpansionPanel.vue.d.ts +26 -3
  39. package/dist/components/MFilterBuilder.vue.d.ts +22 -0
  40. package/dist/components/MFlex.vue.d.ts +1 -1
  41. package/dist/components/MMapCluster.vue.d.ts +80 -0
  42. package/dist/components/MMapDraw.vue.d.ts +79 -0
  43. package/dist/components/MMentionField.vue.d.ts +102 -0
  44. package/dist/components/MNotificationCenter.vue.d.ts +57 -0
  45. package/dist/components/MQRScanner.vue.d.ts +52 -0
  46. package/dist/components/MQuiz.vue.d.ts +1 -1
  47. package/dist/components/MSimpleCarousel.vue.d.ts +1 -1
  48. package/dist/components/MStack.vue.d.ts +1 -1
  49. package/dist/components/MTimezoneSelect.vue.d.ts +39 -0
  50. package/dist/components/MToolbar.vue.d.ts +1 -1
  51. package/dist/components/MVideoPlayer.vue.d.ts +1 -1
  52. package/dist/components/_MFilterGroup.vue.d.ts +17 -0
  53. package/dist/composables/_caretPosition.d.ts +6 -0
  54. package/dist/composables/_useCamera.d.ts +16 -0
  55. package/dist/composables/_useFollowAnchor.d.ts +15 -0
  56. package/dist/composables/cron.d.ts +29 -0
  57. package/dist/composables/dashboardLayout.d.ts +28 -0
  58. package/dist/composables/filterBuilder.d.ts +55 -0
  59. package/dist/composables/mapAdapters.d.ts +6 -1
  60. package/dist/composables/mapSearch.d.ts +1 -0
  61. package/dist/composables/textDiff.d.ts +24 -0
  62. package/dist/composables/useLocale.d.ts +108 -0
  63. package/dist/draw.js +28 -27
  64. package/dist/draw.js.map +1 -1
  65. package/dist/flow.js +1 -1
  66. package/dist/gantt.js +1 -1
  67. package/dist/index.d.ts +25 -0
  68. package/dist/locales/index.js +749 -0
  69. package/dist/locales/index.js.map +1 -1
  70. package/dist/m3ui-vue.css +1 -1
  71. package/dist/m3ui.js +10444 -7495
  72. package/dist/m3ui.js.map +1 -1
  73. package/dist/map.d.ts +5 -0
  74. package/dist/map.js +1509 -617
  75. package/dist/map.js.map +1 -1
  76. package/dist/media.js +5 -5
  77. package/dist/pdf.js +5 -5
  78. package/dist/rich-text-editor.js +5 -5
  79. package/dist/styles.css +1 -1
  80. package/dist/{useLocale-COav9m8C.js → useLocale-DaVSTdm0.js} +108 -1
  81. package/dist/useLocale-DaVSTdm0.js.map +1 -0
  82. package/package.json +1 -1
  83. package/src/__tests__/MAddressField.test.ts +149 -0
  84. package/src/__tests__/MAudioRecorder.test.ts +125 -0
  85. package/src/__tests__/MCameraCapture.test.ts +154 -0
  86. package/src/__tests__/MCountrySelect.test.ts +67 -0
  87. package/src/__tests__/MCronField.test.ts +100 -0
  88. package/src/__tests__/MDashboardGrid.test.ts +122 -0
  89. package/src/__tests__/MDiffViewer.test.ts +68 -0
  90. package/src/__tests__/MExpansionPanel.test.ts +107 -0
  91. package/src/__tests__/MFilterBuilder.test.ts +130 -0
  92. package/src/__tests__/MMapCluster.test.ts +127 -0
  93. package/src/__tests__/MMapDraw.test.ts +188 -0
  94. package/src/__tests__/MMapLayers.test.ts +56 -0
  95. package/src/__tests__/MMentionField.test.ts +163 -0
  96. package/src/__tests__/MNotificationCenter.test.ts +94 -0
  97. package/src/__tests__/_fakeMaplibre.ts +14 -3
  98. package/src/__tests__/attrsFallthrough.test.ts +4 -0
  99. package/src/__tests__/cron.test.ts +68 -0
  100. package/src/__tests__/dashboardLayout.test.ts +45 -0
  101. package/src/__tests__/filterBuilder.test.ts +91 -0
  102. package/src/__tests__/followAnchor.test.ts +162 -0
  103. package/src/__tests__/ssr.test.ts +3 -0
  104. package/src/__tests__/textDiff.test.ts +37 -0
  105. package/src/components/MAddressField.vue +301 -0
  106. package/src/components/MAudioRecorder.vue +334 -0
  107. package/src/components/MAutocomplete.vue +3 -7
  108. package/src/components/MCameraCapture.vue +156 -0
  109. package/src/components/MCollapse.vue +91 -0
  110. package/src/components/MColorPicker.vue +4 -8
  111. package/src/components/MCountrySelect.vue +89 -0
  112. package/src/components/MCronField.vue +251 -0
  113. package/src/components/MDashboardGrid.vue +382 -0
  114. package/src/components/MDatePicker.vue +10 -7
  115. package/src/components/MDateRangePicker.vue +10 -7
  116. package/src/components/MDiffViewer.vue +234 -0
  117. package/src/components/MExpansionPanel.vue +56 -48
  118. package/src/components/MFilterBuilder.vue +47 -0
  119. package/src/components/MMapBaseLayers.vue +29 -28
  120. package/src/components/MMapCluster.vue +295 -0
  121. package/src/components/MMapDraw.vue +601 -0
  122. package/src/components/MMapMeasure.vue +1 -1
  123. package/src/components/MMapSearch.vue +1 -9
  124. package/src/components/MMentionField.vue +373 -0
  125. package/src/components/MMultiAutocomplete.vue +3 -7
  126. package/src/components/MMultiSelect.vue +3 -7
  127. package/src/components/MNotificationCenter.vue +252 -0
  128. package/src/components/MPhoneInput.vue +3 -10
  129. package/src/components/MQRScanner.vue +177 -0
  130. package/src/components/MSelect.vue +3 -7
  131. package/src/components/MTimePicker.vue +10 -7
  132. package/src/components/MTimezoneSelect.vue +116 -0
  133. package/src/components/_MFilterGroup.vue +210 -0
  134. package/src/composables/_caretPosition.ts +44 -0
  135. package/src/composables/_useCamera.ts +66 -0
  136. package/src/composables/_useFollowAnchor.ts +109 -0
  137. package/src/composables/cron.ts +179 -0
  138. package/src/composables/dashboardLayout.ts +94 -0
  139. package/src/composables/filterBuilder.ts +195 -0
  140. package/src/composables/mapAdapters.ts +29 -15
  141. package/src/composables/mapSearch.ts +10 -0
  142. package/src/composables/textDiff.ts +106 -0
  143. package/src/composables/useLocale.ts +215 -0
  144. package/src/index.ts +25 -0
  145. package/src/locales/de.ts +107 -0
  146. package/src/locales/es.ts +107 -0
  147. package/src/locales/fr.ts +107 -0
  148. package/src/locales/ja.ts +107 -0
  149. package/src/locales/ko.ts +107 -0
  150. package/src/locales/pt.ts +107 -0
  151. package/src/locales/zh.ts +107 -0
  152. package/src/map.ts +5 -0
  153. package/dist/MListItem-DVi1j1QI.js.map +0 -1
  154. package/dist/MMenuItem-CRNZkVVr.js.map +0 -1
  155. package/dist/MTooltip-BL3jPYPT.js +0 -754
  156. package/dist/MTooltip-BL3jPYPT.js.map +0 -1
  157. package/dist/_useEscapeStack-C5-BYr8y.js.map +0 -1
  158. package/dist/useLocale-COav9m8C.js.map +0 -1
package/dist/API.md CHANGED
@@ -1,4 +1,4 @@
1
- # @m3ui-vue/m3ui-vue 1.6.0 — API reference
1
+ # @m3ui-vue/m3ui-vue 1.6.2 — 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?: "info" | "success" | "warning" | "error" = "info"` — Alert variant and color
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?: "elevated" | "filled" | "outlined" | "tonal" | "text" = "filled"` — Visual style of the button
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?: "elevated" | "filled" | "outlined" = "elevated"` — Card surface style
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?: "standard" | "filled" | "outlined" | "tonal" = "standard"` — Visual style (same as MIconButton)
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.
@@ -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: string` — Panel header text
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
- - `variant?: "elevated" | "filled" | "outlined" = "outlined"` — Visual style of the panel container
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?: "elevated" | "filled" | "outlined" | "tonal" | "text" = "outlined"` — Visual style (same as MButton)
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
 
@@ -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.
@@ -2133,9 +2356,9 @@ Props:
2133
2356
  - `label?: string`
2134
2357
  - `subtitle?: string`
2135
2358
  - `icon?: string` — Material Symbol
2136
- - `variant?: "elevated" | "filled" | "outlined" = "outlined"`
2359
+ - `variant?: "filled" | "outlined" | "elevated" = "outlined"`
2137
2360
  - `color?: "error" | "primary" | "secondary" | "tertiary" | "neutral" = "primary"` — The icon container's color role
2138
- - `handles?: "both" | "none" | "source" | "target" = "both"` — Which handles it draws
2361
+ - `handles?: "none" | "both" | "source" | "target" = "both"` — Which handles it draws
2139
2362
  - `sourcePosition?: FlowPosition`
2140
2363
  - `targetPosition?: FlowPosition`
2141
2364
 
@@ -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?: "standard" | "filled" | "outlined" | "tonal" = "standard"` — Visual style
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?: "success" | "error" | "primary" | "secondary" | "tertiary"` — Icon container background color (when leading='icon-container')
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
@@ -2718,6 +2941,57 @@ Props:
2718
2941
  - `vertical?: boolean = false` — Lay them out in a column
2719
2942
  - `map?: MapSource` — The map, when this is outside it (a side panel): the `MMap`'s template ref
2720
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
+
2721
2995
  ### MMapControl
2722
2996
 
2723
2997
  Import from `@m3ui-vue/m3ui-vue/map`.
@@ -2737,6 +3011,55 @@ Slots:
2737
3011
  - `#panel { close: () => void; }` — What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it
2738
3012
  - `#default { expanded: boolean; toggle: () => void; }` — The control's content; `{ expanded, toggle }` when it has a `#panel`
2739
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
+
2740
3063
  ### MMapFeatureInfo
2741
3064
 
2742
3065
  Import from `@m3ui-vue/m3ui-vue/map`.
@@ -2968,7 +3291,7 @@ Exposed (template ref):
2968
3291
  - `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
2969
3292
  - `blur: () => void | undefined` — Takes focus away from the field
2970
3293
  - `select: () => void | undefined` — Selects all its text
2971
- - `setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
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)
2972
3295
 
2973
3296
  ```ts
2974
3297
  export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'
@@ -2988,6 +3311,78 @@ Props:
2988
3311
  Slots:
2989
3312
  - `#default` — The items, laid out in columns.
2990
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
+
2991
3386
  ### MMenu
2992
3387
 
2993
3388
  A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.
@@ -3324,6 +3719,44 @@ export interface NavigationSuiteItem {
3324
3719
  export type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'
3325
3720
  ```
3326
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
+
3327
3760
  ### MNumberField
3328
3761
 
3329
3762
  A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.
@@ -3697,7 +4130,7 @@ Props:
3697
4130
  - `actionIcon?: string` — Material Symbol on the submit button
3698
4131
  - `actionDisabled?: boolean` — Disables the submit button. By default it's disabled while the value is empty or doesn't cover `due`
3699
4132
  - `hideDisplay?: boolean = false` — Hides the value display (e.g. the value is shown elsewhere)
3700
- - `keyboard?: "none" | "focus" | "global" = "focus"` — Physical keyboard: while the keypad is focused, always (`global`), or never
4133
+ - `keyboard?: "focus" | "none" | "global" = "focus"` — Physical keyboard: while the keypad is focused, always (`global`), or never
3701
4134
  - `haptics?: boolean = false` — A short vibration on every key, on devices that support it
3702
4135
  - `disabled?: boolean = false` — Disables every key
3703
4136
 
@@ -3838,6 +4271,43 @@ Props:
3838
4271
  Slots:
3839
4272
  - `#error` — Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel
3840
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
+
3841
4311
  ### MQuiz
3842
4312
 
3843
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.
@@ -4121,7 +4591,7 @@ type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down'
4121
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 })`.
4122
4592
 
4123
4593
  Props:
4124
- - `status: "info" | "success" | "warning" | "error" | "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
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
4125
4595
  - `title?: string` — Custom title, replaces the status default
4126
4596
  - `description?: string` — Custom description, replaces the status default
4127
4597
 
@@ -4290,8 +4760,8 @@ Props:
4290
4760
  - `disabled?: boolean = false` — Disables the collapsed bar
4291
4761
 
4292
4762
  Events:
4293
- - `search(string)` — Emitted when Enter is pressed in the input, with the current query
4294
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
4295
4765
  - `update:expanded(boolean)` — Emitted when the expanded state changes — powers v-model:expanded
4296
4766
 
4297
4767
  Slots:
@@ -4314,8 +4784,8 @@ Props:
4314
4784
  - `disabled?: boolean = false` — Disables the field
4315
4785
 
4316
4786
  Events:
4317
- - `search(string)` — Enter was pressed, with the text
4318
4787
  - `update:modelValue(string)` — The text, on every keystroke — powers v-model
4788
+ - `search(string)` — Enter was pressed, with the text
4319
4789
  - `clear()` — The clear button (or Escape) emptied the field
4320
4790
 
4321
4791
  Slots:
@@ -4668,7 +5138,7 @@ export interface SimpleCarouselItem {
4668
5138
  A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.
4669
5139
 
4670
5140
  Props:
4671
- - `variant?: "rounded" | "text" | "circular" | "rectangular" = "text"` — Skeleton shape
5141
+ - `variant?: "text" | "rounded" | "circular" | "rectangular" = "text"` — Skeleton shape
4672
5142
  - `width?: string` — CSS width (defaults to 100%, or 40px for circular)
4673
5143
  - `height?: string` — CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)
4674
5144
  - `lines?: number = 1` — Number of text lines (text variant only) — the last line renders at 60% width
@@ -4749,7 +5219,7 @@ A button split into a main action and a dropdown toggle — click the main part
4749
5219
  Props:
4750
5220
  - `label: string` — Main button label
4751
5221
  - `icon?: string` — Main button icon
4752
- - `variant?: "elevated" | "filled" | "outlined" | "tonal" = "tonal"` — Visual style
5222
+ - `variant?: "filled" | "outlined" | "elevated" | "tonal" = "tonal"` — Visual style
4753
5223
  - `color?: "primary" | "secondary" | "tertiary" = "primary"` — Color scheme
4754
5224
  - `size?: "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Button size
4755
5225
  - `disabled?: boolean = false` — Disables both parts
@@ -4802,9 +5272,9 @@ Props:
4802
5272
  - `closeHint?: string` — Footer hint text for Escape — falls back to the locale's own string when unset
4803
5273
 
4804
5274
  Events:
4805
- - `search(string)` — Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response
4806
5275
  - `update:modelValue(boolean)` — Emitted on open/close — powers v-model
4807
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
4808
5278
 
4809
5279
  ```ts
4810
5280
  export interface SpotlightResult {
@@ -4842,7 +5312,7 @@ Props:
4842
5312
  - `icon?: string` — Material Symbol icon shown in a colored container on the right
4843
5313
  - `trend?: number` — Percentage change — positive shows green/up, negative red/down, zero neutral/flat
4844
5314
  - `trendLabel?: string` — Text next to the trend indicator (e.g. "vs last month")
4845
- - `color?: "success" | "error" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
5315
+ - `color?: "error" | "success" | "primary" | "secondary" | "tertiary" = "primary"` — Icon container color
4846
5316
  - `loading?: boolean` — Show a skeleton placeholder instead of the value
4847
5317
 
4848
5318
  Slots:
@@ -5058,7 +5528,7 @@ Exposed (template ref):
5058
5528
  - `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
5059
5529
  - `blur: () => void | undefined` — Takes focus away from the field
5060
5530
  - `select: () => void | undefined` — Selects all its text
5061
- - `setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
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)
5062
5532
 
5063
5533
  ### MTerminal
5064
5534
 
@@ -5143,7 +5613,7 @@ Exposed (template ref):
5143
5613
  - `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
5144
5614
  - `blur: () => void | undefined` — Takes focus away from the field
5145
5615
  - `select: () => void | undefined` — Selects all its text
5146
- - `setSelectionRange: (start: number, end: number, direction?: "none" | "forward" | "backward" | undefined) => void | undefined` — Selects part of its text (e.g. a file name without its extension)
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)
5147
5617
 
5148
5618
  ### MTicket
5149
5619
 
@@ -5291,6 +5761,27 @@ Props:
5291
5761
  Events:
5292
5762
  - `update:modelValue(string)` — Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes
5293
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
+
5294
5785
  ### MTitle
5295
5786
 
5296
5787
  Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.
@@ -5310,7 +5801,7 @@ M3 Expressive's standalone toggle button — morphs its own shape between a pill
5310
5801
 
5311
5802
  Props:
5312
5803
  - `checked: boolean` (v-model:checked) — Whether the toggle button is checked/selected — v-model.
5313
- - `variant?: "elevated" | "filled" | "outlined" | "tonal" = "filled"` — Visual style, matching MButton's naming
5804
+ - `variant?: "filled" | "outlined" | "elevated" | "tonal" = "filled"` — Visual style, matching MButton's naming
5314
5805
  - `disabled?: boolean = false` — Disables interaction
5315
5806
  - `icon?: string` — Material Symbol icon name shown before the label
5316
5807
  - `size?: "xs" | "sm" | "md" | "lg" | "xl" = "sm"` — Same 5-tier expressive sizing as MButton
@@ -5330,7 +5821,7 @@ Props:
5330
5821
  - `variant?: "docked" | "floating" = "docked"` — Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)
5331
5822
  - `orientation?: "horizontal" | "vertical" = "horizontal"` — Layout direction
5332
5823
  - `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Background color scheme
5333
- - `fabPosition?: "start" | "end" | "none" = "none"` — Where the #fab slot renders relative to the toolbar body
5824
+ - `fabPosition?: "none" | "start" | "end" = "none"` — Where the #fab slot renders relative to the toolbar body
5334
5825
  - `align?: "center" | "start" | "end" | "between" = "center"` — Item alignment along the main axis
5335
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
5336
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`
@@ -5485,7 +5976,7 @@ Props:
5485
5976
  - `selected?: string | number | null = null` (v-model:selected) — Currently selected node id (single-select).
5486
5977
  - `checked?: (string | number)[] = []` (v-model:checked) — Checked node ids (checkable multi-select).
5487
5978
  - `checkable?: boolean = false` — Show checkboxes with cascade selection.
5488
- - `defaultExpanded?: "all" | "none" | (string | number)[] = "none"` — Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').
5979
+ - `defaultExpanded?: "none" | "all" | (string | number)[] = "none"` — Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').
5489
5980
  - `emptyText?: string` — Text shown when nodes is empty. Falls back to the app's configured locale's noItems string
5490
5981
 
5491
5982
  Events:
@@ -5775,11 +6266,11 @@ Props:
5775
6266
  - `resetPosition?: boolean = false` — Reset position, size, and state when the window is closed
5776
6267
 
5777
6268
  Events:
5778
- - `close()` — Emitted when the close button is clicked
5779
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
5780
6272
  - `minimize()` — Emitted when the minimize button is toggled (either direction)
5781
6273
  - `maximize(maximized: boolean)` — Emitted when the window is maximized (true) or restored (false)
5782
- - `focus()` — Emitted when the window comes to the front.
5783
6274
 
5784
6275
  Slots:
5785
6276
  - `#header` — Replaces the default icon + title, keeps drag behavior
@@ -5849,7 +6340,7 @@ useMapLayers(source?: MaybeRefOrGetter<MapSource>): {
5849
6340
 
5850
6341
  Import from `@m3ui-vue/m3ui-vue/map`.
5851
6342
 
5852
- Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing is a base layer or shows on hover.
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`
5853
6344
 
5854
6345
  ```ts
5855
6346
  genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel
@@ -6893,6 +7384,105 @@ A decor kind's name: a built-in one in the app's language (unless renamed), else
6893
7384
  floorDecorName(kind: string, kinds: Record<string, FloorDecorKind>, locale: M3Locale): string
6894
7385
  ```
6895
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
+
6896
7486
  ### detectCardBrand
6897
7487
 
6898
7488
  Card network of a (partial) number, from its leading digits. Spaces and dashes are ignored.
@@ -7023,6 +7613,78 @@ The five Fitzpatrick modifiers, light to dark.
7023
7613
  skinTones: readonly ["🏻", "🏼", "🏽", "🏾", "🏿"]
7024
7614
  ```
7025
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
+
7026
7688
  ## Types
7027
7689
 
7028
7690
  ```ts
@@ -8752,6 +9414,8 @@ export interface M3Locale {
8752
9414
  mapShowLayer: string
8753
9415
  mapHideLayer: string
8754
9416
  mapOpacity: string
9417
+ /** MMapCluster's bubble: `{count}` points under it; a click zooms in */
9418
+ mapClusterZoom: string
8755
9419
  mapDownload: string
8756
9420
  mapNoBaseLayer: string
8757
9421
  mapHoverInfo: string
@@ -8760,8 +9424,114 @@ export interface M3Locale {
8760
9424
  mapMeasureArea: string
8761
9425
  mapClearMeasurements: string
8762
9426
  mapDeleteMeasurement: string
9427
+ mapDrawPoint: string
9428
+ mapDrawLine: string
9429
+ mapDrawPolygon: string
9430
+ mapDeleteFeature: string
8763
9431
  mapTotal: string
8764
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
8765
9535
  /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */
8766
9536
  timelineShowMore: string
8767
9537
  timelineShowLess: string
@@ -9543,6 +10313,85 @@ export type FloorTool = 'select' | 'wall' | 'area' | 'polygon'
9543
10313
  export type FloorItemKind = 'table' | 'area' | 'wall' | 'decor'
9544
10314
  ```
9545
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
+
9546
10395
  ```ts
9547
10396
  /*
9548
10397
  * Phone numbers for MPhoneInput, also exported to show a stored number elsewhere. Not libphonenumber: masks for the
@@ -9655,12 +10504,70 @@ export interface EmojiCategory {
9655
10504
  }
9656
10505
  ```
9657
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
+
9658
10565
  ## Locale
9659
10566
 
9660
10567
  `M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
9661
10568
  `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`):
9662
10569
 
9663
- 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
9664
10571
 
9665
10572
  ## Theme tokens
9666
10573