@m3ui-vue/m3ui-vue 1.3.7 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/API.md +1097 -26
- package/dist/{MButton-D5eJiDza.js → MButton-DQMTIlaV.js} +2 -2
- package/dist/{MButton-D5eJiDza.js.map → MButton-DQMTIlaV.js.map} +1 -1
- package/dist/{MDialog-WqB0jewp.js → MDialog-cdgapGfZ.js} +2 -2
- package/dist/{MDialog-WqB0jewp.js.map → MDialog-cdgapGfZ.js.map} +1 -1
- package/dist/{MListItem-Cf-C2Ru-.js → MListItem-ZkSGIIrb.js} +2 -2
- package/dist/{MListItem-Cf-C2Ru-.js.map → MListItem-ZkSGIIrb.js.map} +1 -1
- package/dist/{MLoadingIndicator-D4GzEZoH.js → MLoadingIndicator-U6_oGx8z.js} +2 -2
- package/dist/{MLoadingIndicator-D4GzEZoH.js.map → MLoadingIndicator-U6_oGx8z.js.map} +1 -1
- package/dist/{MSeekBar-B19xoWE3.js → MSeekBar-DTZVizZg.js} +2 -2
- package/dist/{MSeekBar-B19xoWE3.js.map → MSeekBar-DTZVizZg.js.map} +1 -1
- package/dist/{MSlider-9RoiuebS.js → MSlider-CqJkEYRZ.js} +2 -2
- package/dist/{MSlider-9RoiuebS.js.map → MSlider-CqJkEYRZ.js.map} +1 -1
- package/dist/{MSpinner-BNF8MN-L.js → MSpinner-Btgc-0nb.js} +2 -2
- package/dist/{MSpinner-BNF8MN-L.js.map → MSpinner-Btgc-0nb.js.map} +1 -1
- package/dist/{MTextField-CuG0T3qh.js → MTextField-B6M0gJEO.js} +2 -2
- package/dist/{MTextField-CuG0T3qh.js.map → MTextField-B6M0gJEO.js.map} +1 -1
- package/dist/{MTooltip-Bv7yxngk.js → MTooltip-Dspji4XG.js} +4 -4
- package/dist/{MTooltip-Bv7yxngk.js.map → MTooltip-Dspji4XG.js.map} +1 -1
- package/dist/api.json +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MAudioPlayer.vue.d.ts +2 -2
- package/dist/components/MAvailabilityCalendar.vue.d.ts +83 -0
- package/dist/components/MBadge.vue.d.ts +1 -1
- package/dist/components/MBeforeAfter.vue.d.ts +61 -0
- package/dist/components/MBodyMap.vue.d.ts +70 -0
- package/dist/components/MCandlestickChart.vue.d.ts +82 -0
- package/dist/components/MCertificate.vue.d.ts +76 -0
- package/dist/components/MCreditCardInput.vue.d.ts +75 -0
- package/dist/components/MFlow.vue.d.ts +13 -0
- package/dist/components/MMortgageCalculator.vue.d.ts +83 -0
- package/dist/components/MOdontogram.vue.d.ts +86 -0
- package/dist/components/MOrderBook.vue.d.ts +89 -0
- package/dist/components/MOrderTicket.vue.d.ts +91 -0
- package/dist/components/MPosKeypad.vue.d.ts +84 -0
- package/dist/components/MProductConfigurator.vue.d.ts +136 -0
- package/dist/components/MQuiz.vue.d.ts +102 -0
- package/dist/components/MReceipt.vue.d.ts +93 -0
- package/dist/components/MSeatMap.vue.d.ts +131 -0
- package/dist/components/MSeekBar.vue.d.ts +1 -1
- package/dist/components/MSlider.vue.d.ts +2 -2
- package/dist/components/MSplitter.vue.d.ts +1 -1
- package/dist/components/MTicket.vue.d.ts +83 -0
- package/dist/components/MTour.vue.d.ts +52 -2
- package/dist/components/MVideoPlayer.vue.d.ts +1 -1
- package/dist/components/MVitalsChart.vue.d.ts +73 -0
- package/dist/composables/_printElement.d.ts +9 -0
- package/dist/composables/cardBrand.d.ts +25 -0
- package/dist/composables/flowPaths.d.ts +11 -3
- package/dist/composables/mortgage.d.ts +37 -0
- package/dist/composables/useFlow.d.ts +4 -0
- package/dist/composables/useLocale.d.ts +131 -0
- package/dist/draw.js +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.js +526 -434
- package/dist/flow.js.map +1 -1
- package/dist/{flowPaths-DzW-aiET.js → flowPaths-CcWOKY4Z.js} +5 -5
- package/dist/flowPaths-CcWOKY4Z.js.map +1 -0
- package/dist/gantt.js +2 -2
- package/dist/index.d.ts +35 -0
- package/dist/locales/index.js +924 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +8393 -3613
- package/dist/m3ui.js.map +1 -1
- package/dist/map.js +5 -5
- package/dist/media.js +4 -4
- package/dist/pdf.js +4 -4
- package/dist/rich-text-editor.js +4 -4
- package/dist/styles.css +1 -1
- package/dist/{useLocale-D2ucaY-l.js → useLocale-DLKJIRFi.js} +133 -2
- package/dist/useLocale-DLKJIRFi.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MAvailabilityCalendar.test.ts +85 -0
- package/src/__tests__/MBeforeAfter.test.ts +79 -0
- package/src/__tests__/MBodyMap.test.ts +60 -0
- package/src/__tests__/MCandlestickChart.test.ts +66 -0
- package/src/__tests__/MCertificate.test.ts +32 -0
- package/src/__tests__/MCreditCardInput.test.ts +122 -0
- package/src/__tests__/MFlow.test.ts +69 -0
- package/src/__tests__/MMortgageCalculator.test.ts +49 -0
- package/src/__tests__/MOdontogram.test.ts +93 -0
- package/src/__tests__/MOrderBook.test.ts +66 -0
- package/src/__tests__/MOrderTicket.test.ts +68 -0
- package/src/__tests__/MPosKeypad.test.ts +116 -0
- package/src/__tests__/MProductConfigurator.test.ts +73 -0
- package/src/__tests__/MQuiz.test.ts +104 -0
- package/src/__tests__/MReceipt.test.ts +52 -0
- package/src/__tests__/MSeatMap.test.ts +76 -0
- package/src/__tests__/MTicket.test.ts +38 -0
- package/src/__tests__/MTour.test.ts +102 -0
- package/src/__tests__/MVitalsChart.test.ts +49 -0
- package/src/__tests__/mortgage.test.ts +25 -0
- package/src/__tests__/ssr.test.ts +11 -0
- package/src/components/MAvailabilityCalendar.vue +460 -0
- package/src/components/MBeforeAfter.vue +248 -0
- package/src/components/MBodyMap.vue +266 -0
- package/src/components/MCandlestickChart.vue +479 -0
- package/src/components/MCertificate.vue +351 -0
- package/src/components/MCreditCardInput.vue +351 -0
- package/src/components/MFlow.vue +117 -17
- package/src/components/MMortgageCalculator.vue +258 -0
- package/src/components/MOdontogram.vue +462 -0
- package/src/components/MOrderBook.vue +287 -0
- package/src/components/MOrderTicket.vue +217 -0
- package/src/components/MPosKeypad.vue +406 -0
- package/src/components/MProductConfigurator.vue +412 -0
- package/src/components/MQuiz.vue +531 -0
- package/src/components/MReceipt.vue +249 -0
- package/src/components/MSeatMap.vue +431 -0
- package/src/components/MTicket.vue +209 -0
- package/src/components/MTour.vue +145 -27
- package/src/components/MVitalsChart.vue +303 -0
- package/src/composables/_printElement.ts +36 -0
- package/src/composables/cardBrand.ts +104 -0
- package/src/composables/flowPaths.ts +16 -7
- package/src/composables/mortgage.ts +70 -0
- package/src/composables/useFlow.ts +4 -0
- package/src/composables/useLocale.ts +277 -0
- package/src/flow.ts +1 -1
- package/src/index.ts +35 -0
- package/src/locales/de.ts +131 -0
- package/src/locales/es.ts +131 -0
- package/src/locales/fr.ts +131 -0
- package/src/locales/ja.ts +131 -0
- package/src/locales/ko.ts +131 -0
- package/src/locales/pt.ts +131 -0
- package/src/locales/zh.ts +131 -0
- package/dist/flowPaths-DzW-aiET.js.map +0 -1
- package/dist/useLocale-D2ucaY-l.js.map +0 -1
package/dist/API.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @m3ui-vue/m3ui-vue 1.
|
|
1
|
+
# @m3ui-vue/m3ui-vue 1.4.0 — 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.
|
|
@@ -235,6 +235,46 @@ Events:
|
|
|
235
235
|
- `update:modelValue(unknown)` — Emitted on selection — powers v-model
|
|
236
236
|
- `debounced(string)` — Emitted debounce ms after the user stops typing the search query (only when debounce > 0)
|
|
237
237
|
|
|
238
|
+
### MAvailabilityCalendar
|
|
239
|
+
|
|
240
|
+
A booking calendar for stays (hotel, cabin, apartment, equipment rental): picks a check-in and a check-out night with the price of each night under its day, booked nights blocked, and a minimum / maximum stay. Once a check-in is chosen, only the days that make a valid stay stay pickable: a stay can't run over a booked night, but it can check out on the morning a booked night starts. Dates are `YYYY-MM-DD` strings in local time; each date's price and availability are those of the night that starts on it.
|
|
241
|
+
|
|
242
|
+
Props:
|
|
243
|
+
- `modelValue?: Range = [null, null]` (v-model) — `[checkIn, checkOut]` as `YYYY-MM-DD` (v-model)
|
|
244
|
+
- `prices?: Record<string, number> | ((date: string) => number)` — Price of the night starting on each date: a map or a function
|
|
245
|
+
- `unavailable?: string[] | ((date: string) => boolean)` — Nights already booked or closed: a list of dates or a function
|
|
246
|
+
- `minNights?: number = 1` — Shortest stay, in nights
|
|
247
|
+
- `maxNights?: number` — Longest stay, in nights
|
|
248
|
+
- `min?: string` — First bookable date. Defaults to today
|
|
249
|
+
- `max?: string` — Last bookable night
|
|
250
|
+
- `months?: number = 2` — Months shown side by side (they wrap on narrow screens)
|
|
251
|
+
- `firstDayOfWeek?: number` — 0 = Sunday … 6 = Saturday. Defaults to the locale's first day of the week
|
|
252
|
+
- `currency?: string` — ISO 4217 code to format prices
|
|
253
|
+
- `highlightDeals?: boolean = false` — Colors the cheapest quarter of the nights shown as deals
|
|
254
|
+
- `hideFooter?: boolean = false` — Hides the summary under the months
|
|
255
|
+
- `disabled?: boolean = false`
|
|
256
|
+
|
|
257
|
+
Events:
|
|
258
|
+
- `update:modelValue(Range)` — `[checkIn, checkOut]`, either one `null` — powers v-model
|
|
259
|
+
- `change({ start: string; end: string; nights: number; total: number; })` — Emitted when a stay is complete: `{ start, end, nights, total }`
|
|
260
|
+
|
|
261
|
+
Slots:
|
|
262
|
+
- `#day { date: string; day: number; price: number | undefined; state: DayState; }` — Replaces a day's content (the button stays). Slot props: `{ date, day, price, state }`
|
|
263
|
+
- `#footer { start: string | null; end: string | null; nights: number; total: number; clear: () => void; }` — Replaces the summary under the months. Slot props: `{ start, end, nights, total, clear }`
|
|
264
|
+
|
|
265
|
+
Exposed (template ref):
|
|
266
|
+
- `nights: number`
|
|
267
|
+
- `total: number`
|
|
268
|
+
- `clear: () => void`
|
|
269
|
+
|
|
270
|
+
```ts
|
|
271
|
+
type Range = [string | null, string | null]
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
```ts
|
|
275
|
+
type DayState = 'start' | 'end' | 'range' | 'preview' | 'booked' | 'disabled' | 'available' | 'checkout-only'
|
|
276
|
+
```
|
|
277
|
+
|
|
238
278
|
### MAvatar
|
|
239
279
|
|
|
240
280
|
A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.
|
|
@@ -316,6 +356,74 @@ Props:
|
|
|
316
356
|
Slots:
|
|
317
357
|
- `#error` — Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)
|
|
318
358
|
|
|
359
|
+
### MBeforeAfter
|
|
360
|
+
|
|
361
|
+
Compares two images (or any two pieces of content) stacked on top of each other, split by a handle the user drags: a renovation, a photo edit, a redesign. Clicking anywhere moves the split there; the handle is a slider for the keyboard (arrows, Page Up/Down, Home/End). The root has no size of its own beyond the images: give it a width (and an `aspectRatio`, or a height through `class`) to make it a fixed box.
|
|
362
|
+
|
|
363
|
+
Props:
|
|
364
|
+
- `modelValue?: number` (v-model) — Split position as a percentage (v-model). Without v-model the component keeps its own, starting here
|
|
365
|
+
- `before?: string` — Image URL of the "before" side (left, or top when vertical)
|
|
366
|
+
- `after?: string` — Image URL of the "after" side (right, or bottom when vertical)
|
|
367
|
+
- `beforeAlt?: string` — Alt text of the "before" image
|
|
368
|
+
- `afterAlt?: string` — Alt text of the "after" image
|
|
369
|
+
- `beforeLabel?: string` — Label chip on the "before" side. Defaults to the locale's "Before"; pass an empty string to hide it
|
|
370
|
+
- `afterLabel?: string` — Label chip on the "after" side. Defaults to the locale's "After"; pass an empty string to hide it
|
|
371
|
+
- `orientation?: "horizontal" | "vertical" = "horizontal"` — Direction the divider moves in
|
|
372
|
+
- `hover?: boolean = false` — Moves the split with the pointer on hover, without pressing (mouse only; touch still drags)
|
|
373
|
+
- `aspectRatio?: string` — CSS aspect-ratio of the box, e.g. "16 / 9". Unset sizes to the "after" content
|
|
374
|
+
- `hideHandle?: boolean = false` — Hides the round grip, leaving only the divider line
|
|
375
|
+
- `step?: number = 1` — Percentage moved by an arrow key (Page Up/Down move 10×)
|
|
376
|
+
- `disabled?: boolean = false` — Disables dragging and the keyboard
|
|
377
|
+
|
|
378
|
+
Events:
|
|
379
|
+
- `update:modelValue(number)` — Emitted while dragging or stepping with the keyboard — powers v-model (0–100)
|
|
380
|
+
- `change(number)` — Emitted once when a drag or a key press ends, with the final position
|
|
381
|
+
|
|
382
|
+
Slots:
|
|
383
|
+
- `#after` — Content of the "after" side, replacing the `after` image
|
|
384
|
+
- `#before` — Content of the "before" side, replacing the `before` image
|
|
385
|
+
- `#handle { position: number; dragging: boolean; }` — Replaces the round grip in the middle of the divider. Slot props: `{ position, dragging }`
|
|
386
|
+
|
|
387
|
+
### MBodyMap
|
|
388
|
+
|
|
389
|
+
A body silhouette, front and back, with regions to mark: where it hurts, an injury, a rash, a tattoo, the site of an injection. Each tap moves a region one level up (with `levels` > 1, e.g. mild → moderate → severe) and back to unmarked. Sides are the patient's: on the front view their right is on the viewer's left. Region ids: `head`, `neck`, `chest-right`, `abdomen`, `pelvis`, `shoulder-left`, `upper-arm-right`, `forearm-left`, `hand-right`, `thigh-left`, `knee-right`, `leg-left`, `foot-right`; on the back view the same prefixed with `back-` (`back-head`, `back-shoulder-left`…) plus `back-upper-back-right`, `back-lower-back`, `back-glute-left`, `back-calf-right`.
|
|
390
|
+
|
|
391
|
+
Props:
|
|
392
|
+
- `modelValue?: BodyMapValue = {}` (v-model) — Marked regions: id → level (v-model)
|
|
393
|
+
- `levels?: number = 1` — Levels a region cycles through. 1 = a plain on/off selection
|
|
394
|
+
- `levelColors?: string[]` — Color of each level (any CSS color). Defaults to a ramp from the error container to the error color
|
|
395
|
+
- `levelLabels?: string[]` — Names of the levels, shown in the legend, e.g. ['Mild', 'Moderate', 'Severe']
|
|
396
|
+
- `view?: "both" | "front" | "back" = "both"` — Which side(s) of the body to draw
|
|
397
|
+
- `disabledRegions?: string[] = []` — Region ids that can't be marked
|
|
398
|
+
- `readonly?: boolean = false` — Shows the marks but doesn't change them
|
|
399
|
+
|
|
400
|
+
Events:
|
|
401
|
+
- `update:modelValue(BodyMapValue)` — The marked regions — powers v-model
|
|
402
|
+
- `select(BodyRegion & { level: number; })` — A region changed: `{ id, label, view, level }` (level 0 = cleared)
|
|
403
|
+
|
|
404
|
+
Slots:
|
|
405
|
+
- `#legend { levels: number; colors: string[]; labels: string[] | undefined; }` — Replaces the levels legend. Slot props: `{ levels, colors, labels }`
|
|
406
|
+
|
|
407
|
+
```ts
|
|
408
|
+
/** Marked regions of an `MBodyMap`: region id → level (1…levels). Regions not in the record are unmarked. */
|
|
409
|
+
export type BodyMapValue = Record<string, number>
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
```ts
|
|
413
|
+
/** A region of the body map, as passed to `select` and the `region` slot. */
|
|
414
|
+
export interface BodyRegion {
|
|
415
|
+
/** e.g. "head", "shoulder-right", "back-calf-left" */
|
|
416
|
+
id: string
|
|
417
|
+
/** Translated name, e.g. "Shoulder, right" */
|
|
418
|
+
label: string
|
|
419
|
+
view: 'front' | 'back'
|
|
420
|
+
}
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
```ts
|
|
424
|
+
interface Region extends BodyRegion { shape: Shape }
|
|
425
|
+
```
|
|
426
|
+
|
|
319
427
|
### MBottomAppBar
|
|
320
428
|
|
|
321
429
|
M3's bottom app bar (a port of Compose's `BottomAppBar`): navigation and key actions at the bottom of small screens, with an optional FAB at the end. With `flexible` it's M3 Expressive's `FlexibleBottomAppBar`, a shorter bar whose actions spread across it. With `scrollBehavior="exit-always"` it collapses as the content scrolls down and comes back as it scrolls up.
|
|
@@ -483,6 +591,44 @@ export interface CalendarEvent {
|
|
|
483
591
|
}
|
|
484
592
|
```
|
|
485
593
|
|
|
594
|
+
### MCandlestickChart
|
|
595
|
+
|
|
596
|
+
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.
|
|
597
|
+
|
|
598
|
+
Props:
|
|
599
|
+
- `data: Candle[]` — Candles, oldest first
|
|
600
|
+
- `height?: number = 320` — Height in px
|
|
601
|
+
- `volume?: boolean = true` — Volume bars under the candles (when the data has volume)
|
|
602
|
+
- `movingAverages?: number[] = []` — Periods of simple moving averages to draw over the candles, e.g. [20, 50]
|
|
603
|
+
- `visible?: number = 60` — Candles visible at first (the latest ones)
|
|
604
|
+
- `upColor?: string = "var(--color-success)"` — Color of rising candles (any CSS color)
|
|
605
|
+
- `downColor?: string = "var(--color-error)"` — Color of falling candles (any CSS color)
|
|
606
|
+
- `decimals?: number = 2` — Decimals of prices
|
|
607
|
+
- `currency?: string` — ISO 4217 code to format prices as money
|
|
608
|
+
- `lastPrice?: boolean = true` — Draws the dashed line at the last close
|
|
609
|
+
|
|
610
|
+
Events:
|
|
611
|
+
- `hover(Candle | null)` — The candle under the crosshair, or null when it leaves
|
|
612
|
+
|
|
613
|
+
Slots:
|
|
614
|
+
- `#legend { candle: Candle | undefined; change: number; changePercent: number; }` — Replaces the O/H/L/C legend. Slot props: `{ candle, change, changePercent }`
|
|
615
|
+
|
|
616
|
+
Exposed (template ref):
|
|
617
|
+
- `reset: () => void` — Shows the latest candles again
|
|
618
|
+
|
|
619
|
+
```ts
|
|
620
|
+
/** One period of an `MCandlestickChart`. */
|
|
621
|
+
export interface Candle {
|
|
622
|
+
/** Start of the period (Date, ISO string or epoch ms) */
|
|
623
|
+
time: Date | string | number
|
|
624
|
+
open: number
|
|
625
|
+
high: number
|
|
626
|
+
low: number
|
|
627
|
+
close: number
|
|
628
|
+
volume?: number
|
|
629
|
+
}
|
|
630
|
+
```
|
|
631
|
+
|
|
486
632
|
### MCard
|
|
487
633
|
|
|
488
634
|
A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.
|
|
@@ -556,6 +702,43 @@ Props:
|
|
|
556
702
|
Slots:
|
|
557
703
|
- `#default` — Content, centered.
|
|
558
704
|
|
|
705
|
+
### MCertificate
|
|
706
|
+
|
|
707
|
+
A printable certificate or diploma: a course completion, an award, a training, a membership. It keeps an A4 shape at any width and scales its type with it, so the same component works as a thumbnail, on screen and on paper; `print()` prints just the certificate on an A4 page. Three looks: `classic` (double frame and serif type), `modern` (a colored band) and `minimal`.
|
|
708
|
+
|
|
709
|
+
Props:
|
|
710
|
+
- `recipient: string` — Who receives it
|
|
711
|
+
- `title?: string` — Big title. Defaults to the locale's "Certificate of completion"
|
|
712
|
+
- `presentedTo?: string` — Line before the name. Defaults to the locale's "This certifies that"
|
|
713
|
+
- `description?: string` — What it is for, e.g. "has completed the course Vue 3 Fundamentals (24 hours)"
|
|
714
|
+
- `issuer?: string` — Name of the issuing organization
|
|
715
|
+
- `date?: string | number | Date` — Date it was awarded (Date, ISO string or epoch ms)
|
|
716
|
+
- `code?: string` — Certificate number or verification code
|
|
717
|
+
- `signatures?: CertificateSignature[] = []`
|
|
718
|
+
- `variant?: "classic" | "modern" | "minimal" = "classic"` — Look of the certificate
|
|
719
|
+
- `color?: string = "primary"` — Accent color: a role (primary, secondary, tertiary, error, success) or any CSS color
|
|
720
|
+
- `seal?: string | false = "workspace_premium"` — Material Symbol in the seal; `false` hides the seal
|
|
721
|
+
- `orientation?: "landscape" | "portrait" = "landscape"`
|
|
722
|
+
|
|
723
|
+
Slots:
|
|
724
|
+
- `#logo` — The issuer's logo, at the top
|
|
725
|
+
- `#default` — Extra content under the description (grades, hours, a QR to verify)
|
|
726
|
+
- `#seal` — Replaces the seal (a rosette with an icon)
|
|
727
|
+
|
|
728
|
+
Exposed (template ref):
|
|
729
|
+
- `print: () => void`
|
|
730
|
+
|
|
731
|
+
```ts
|
|
732
|
+
/** A signature line of an `MCertificate`. */
|
|
733
|
+
export interface CertificateSignature {
|
|
734
|
+
name: string
|
|
735
|
+
/** e.g. "Course director" */
|
|
736
|
+
role?: string
|
|
737
|
+
/** Image of the signature (a URL or a data URL, e.g. from MSignaturePad), drawn over the line */
|
|
738
|
+
image?: string
|
|
739
|
+
}
|
|
740
|
+
```
|
|
741
|
+
|
|
559
742
|
### MChart
|
|
560
743
|
|
|
561
744
|
Import from `@m3ui-vue/m3ui-vue/chart`.
|
|
@@ -837,6 +1020,47 @@ Events:
|
|
|
837
1020
|
- `error(unknown)` — Emitted if the browser refuses the clipboard write
|
|
838
1021
|
- `copied(string)` — Emitted with the copied value after a successful clipboard write
|
|
839
1022
|
|
|
1023
|
+
### MCreditCardInput
|
|
1024
|
+
|
|
1025
|
+
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.
|
|
1026
|
+
|
|
1027
|
+
Props:
|
|
1028
|
+
- `modelValue: CreditCardValue` (v-model) — Card value (v-model)
|
|
1029
|
+
- `preview?: boolean = true` — Shows the card preview above the fields
|
|
1030
|
+
- `showName?: boolean = false` — Adds the "Name on card" field
|
|
1031
|
+
- `variant?: "filled" | "outlined" = "filled"` — Visual style of the fields
|
|
1032
|
+
- `autoAdvance?: boolean = true` — Moves focus to the next field once one is complete and valid
|
|
1033
|
+
- `errors?: Partial<Record<CreditCardField, string>>` — Error messages to show regardless of the built-in checks, e.g. a decline from the server
|
|
1034
|
+
- `disabled?: boolean = false` — Disables every field
|
|
1035
|
+
|
|
1036
|
+
Events:
|
|
1037
|
+
- `update:modelValue(CreditCardValue)` — Emitted on every change — powers v-model
|
|
1038
|
+
- `complete(CreditCardValue)` — Emitted when every field becomes valid, with the value
|
|
1039
|
+
- `brand(CardBrand)` — Emitted when the detected network changes
|
|
1040
|
+
|
|
1041
|
+
Slots:
|
|
1042
|
+
- `#brand { brand: CardBrand; name: string; }` — Replaces the network wordmark on the preview. Slot props: `{ brand, name }`
|
|
1043
|
+
|
|
1044
|
+
Exposed (template ref):
|
|
1045
|
+
- `brand: CardBrand` — Detected card network
|
|
1046
|
+
- `valid: boolean` — Whether every field is valid
|
|
1047
|
+
- `validate: () => boolean` — Shows the errors of every field (as if each had been visited) and returns whether all are valid
|
|
1048
|
+
- `focus: (field?: CreditCardField) => void | undefined` — Focuses a field (the number by default)
|
|
1049
|
+
|
|
1050
|
+
```ts
|
|
1051
|
+
/** Value of `MCreditCardInput` (v-model). `number` holds digits only; `expiry` is `MM/YY`. */
|
|
1052
|
+
export interface CreditCardValue {
|
|
1053
|
+
number: string
|
|
1054
|
+
expiry: string
|
|
1055
|
+
cvc: string
|
|
1056
|
+
name?: string
|
|
1057
|
+
}
|
|
1058
|
+
```
|
|
1059
|
+
|
|
1060
|
+
```ts
|
|
1061
|
+
export type CreditCardField = 'number' | 'expiry' | 'cvc' | 'name'
|
|
1062
|
+
```
|
|
1063
|
+
|
|
840
1064
|
### MDataTable
|
|
841
1065
|
|
|
842
1066
|
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.
|
|
@@ -1102,6 +1326,7 @@ Props:
|
|
|
1102
1326
|
|
|
1103
1327
|
Events:
|
|
1104
1328
|
- `update:modelValue(value: DrawItem[])`
|
|
1329
|
+
- `change(items: DrawItem[])` — Fires after every edit with the new items (the same as `update:modelValue`)
|
|
1105
1330
|
- `update:tool(value: DrawTool)`
|
|
1106
1331
|
- `update:color(value: string)`
|
|
1107
1332
|
- `update:size(value: number)`
|
|
@@ -1111,7 +1336,6 @@ Events:
|
|
|
1111
1336
|
- `update:pages(value: number)`
|
|
1112
1337
|
- `update:selection(value: string[])`
|
|
1113
1338
|
- `update:viewport(value: { x: number; y: number; zoom: number; })`
|
|
1114
|
-
- `change(items: DrawItem[])` — Fires after every edit with the new items (the same as `update:modelValue`)
|
|
1115
1339
|
|
|
1116
1340
|
Slots:
|
|
1117
1341
|
- `#default` — Overlays: a toolbar (MDrawToolbar), a layers panel (MDrawLayers), anything positioned over the canvas
|
|
@@ -1263,7 +1487,7 @@ Props:
|
|
|
1263
1487
|
- `direction?: "right" | "left" | "up" | "down" | "radial" = "up"` — Speed-dial expand direction
|
|
1264
1488
|
- `to?: string | Record<string, any>` — Vue Router destination — renders as RouterLink instead of button
|
|
1265
1489
|
- `persistent?: boolean = false` — Keep speed-dial open after clicking an item or clicking outside
|
|
1266
|
-
- `align?: "
|
|
1490
|
+
- `align?: "end" | "start" = "start"` — For the `up`/`down` #content panel only: which edge it anchors to when it's wider than the FAB itself. 'start' (default) keeps its left edge aligned with the FAB's left edge (existing behavior); 'end' aligns the right edges instead, which keeps a wide panel from running off-screen when the FAB sits in the bottom-right corner, a common placement.
|
|
1267
1491
|
- `scrim?: boolean = false` — Dims the rest of the screen behind the #content panel while open (has no effect on the `items` speed dial). A plain sibling with its own fade transition, independent of the panel's enter/leave transform, so it doesn't visually shrink/lag along with it.
|
|
1268
1492
|
- `contentTransition?: "none" | "scale" | "fade" = "scale"` — How the #content panel itself animates open/closed. 'scale' (default) is the original fade+scale. 'fade' drops the scale — use this when the slot content already animates its own entrance (e.g. a staggered per-item reveal), so the panel doesn't *also* scale as a group on top of that; it still gives Vue a real transition to wait for on close, so the content's own leave animation has time to play instead of just vanishing. 'none' skips any panel-level transition entirely.
|
|
1269
1493
|
- `rippleColor?: string` — Any CSS color for the press ripple; defaults to the FAB's content color
|
|
@@ -1295,7 +1519,7 @@ Props:
|
|
|
1295
1519
|
- `size?: "small" | "large" | "regular" = "regular"` — Trigger FAB size — independent from `itemSize` below.
|
|
1296
1520
|
- `itemSize?: "small" | "large" | "regular" = "large"` — Menu item row size — independent from the trigger FAB's own `size`.
|
|
1297
1521
|
- `direction?: "up" | "down" = "up"` — Which side of the FAB the menu list opens toward
|
|
1298
|
-
- `align?: "
|
|
1522
|
+
- `align?: "end" | "start" = "end"` — Which edge the (usually wider-than-the-FAB) menu list anchors to — 'end' keeps it from running off-screen when the FAB sits in a bottom-right corner
|
|
1299
1523
|
- `scrim?: boolean = true` — Dim the rest of the screen while the menu is open
|
|
1300
1524
|
- `persistent?: boolean = false` — Keep the menu open after clicking an item or clicking outside
|
|
1301
1525
|
- `disabled?: boolean = false` — Disables the trigger FAB
|
|
@@ -1375,8 +1599,8 @@ A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justifi
|
|
|
1375
1599
|
|
|
1376
1600
|
Props:
|
|
1377
1601
|
- `direction?: "row" | "column" | "row-reverse" | "column-reverse" = "row"` — Flex direction
|
|
1378
|
-
- `align?: "center" | "
|
|
1379
|
-
- `justify?: "center" | "
|
|
1602
|
+
- `align?: "center" | "end" | "start" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment (align-items)
|
|
1603
|
+
- `justify?: "center" | "end" | "start" | "between" | "around" | "evenly" = "start"` — Main-axis alignment (justify-content)
|
|
1380
1604
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "none"` — Gap between items
|
|
1381
1605
|
- `wrap?: boolean = false` — Allow items to wrap
|
|
1382
1606
|
- `inline?: boolean = false` — Use inline-flex instead of flex
|
|
@@ -1650,7 +1874,7 @@ export type FloorTablePreset = Partial<FloorTable> & { name?: string }
|
|
|
1650
1874
|
|
|
1651
1875
|
Import from `@m3ui-vue/m3ui-vue/flow`.
|
|
1652
1876
|
|
|
1653
|
-
A node editor (not an M3 spec component): nodes you drag around on a canvas that pans and zooms, joined by edges drawn from handle to handle. Built from M3 pieces (nodes are cards, the controls a floating toolbar) with the API shape of Vue Flow / React Flow. Nodes and edges are `v-model`s of plain objects; the view, the selection and the lock are too. Pan by dragging the background (or the wheel, or two fingers), zoom with Ctrl + wheel, a trackpad or touch pinch, or a double click. Shift + drag (or `selectionOnDrag`; on touch, a long press on the background) draws a selection box; Delete removes what's selected, Ctrl+Z/Ctrl+Shift+Z undo and redo, Ctrl+C/X/V/A copy, cut, paste and select all, and the arrows move the selected nodes. A drag from a handle to another connects them; dropped on nothing it fires `connect-end` with the spot, to offer a new node there. To disconnect: the × on a selected edge, Delete, dragging an edge's end (or a connected input) away and dropping it on nothing. Alignment guides show while dragging one node. Nodes are drawn by type: `default`/`input`/`output` (an MFlowNode), `circle` (a vertex: `data.label`, `color`, `badge`, `ring`, `size`; its edges run center to center in any direction), `group` (a box its children move with), or a `#node-<type>` slot of your own with MFlowHandles in it; edges are `bezier`, `smoothstep`, `step`, `straight` or a `#edge-<type>` slot (with `getBezierPath` and friends); `color`, `width`, `dashed`, `animated` and `labelTone` restyle one without a slot, with a transition. `layout` lays them out (`'tree'`, `'layered'` or a function, e.g. one calling dagre) whenever the graph's shape changes. Put `MFlowControls`, `MFlowMinimap` or anything of yours in the default slot: it's drawn over the canvas, the canvas's gestures and wheel leave it alone, and `useFlow()` works inside it. Inside a node, controls (buttons, inputs, links) never start a drag; mark anything else that shouldn't with `data-flow-nodrag`, and an area that scrolls on its own with `data-flow-nowheel`. `startDrag(id, event)` hands a pointer that's already down to a node, to drag something in from outside (a palette). Positions spring to their new place when they change from outside (a layout, an undo); the view springs on `fitView()`/zoom buttons. Nodes are rendered by small components of their own so moving one only redraws it and its edges.
|
|
1877
|
+
A node editor (not an M3 spec component): nodes you drag around on a canvas that pans and zooms, joined by edges drawn from handle to handle. Built from M3 pieces (nodes are cards, the controls a floating toolbar) with the API shape of Vue Flow / React Flow. Nodes and edges are `v-model`s of plain objects; the view, the selection and the lock are too. Pan by dragging the background (or the wheel, or two fingers), zoom with Ctrl + wheel, a trackpad or touch pinch, or a double click. Shift + drag (or `selectionOnDrag`; on touch, a long press on the background) draws a selection box; Delete removes what's selected, Ctrl+Z/Ctrl+Shift+Z undo and redo, Ctrl+C/X/V/D/A copy, cut, paste, duplicate and select all, and the arrows move the selected nodes. A drag from a handle to another connects them; dropped on nothing it fires `connect-end` with the spot, to offer a new node there. To disconnect: the × on a selected edge, Delete, dragging an edge's end (or a connected input) away and dropping it on nothing. Alignment guides show while dragging one node. Nodes are drawn by type: `default`/`input`/`output` (an MFlowNode), `circle` (a vertex: `data.label`, `color`, `badge`, `ring`, `size`; its edges run center to center in any direction), `group` (a box its children move with), or a `#node-<type>` slot of your own with MFlowHandles in it; edges are `bezier`, `smoothstep`, `step`, `straight` or a `#edge-<type>` slot (with `getBezierPath` and friends); `color`, `width`, `dashed`, `animated` and `labelTone` restyle one without a slot, with a transition. `layout` lays them out (`'tree'`, `'layered'` or a function, e.g. one calling dagre) whenever the graph's shape changes. Put `MFlowControls`, `MFlowMinimap` or anything of yours in the default slot: it's drawn over the canvas, the canvas's gestures and wheel leave it alone, and `useFlow()` works inside it. Inside a node, controls (buttons, inputs, links) never start a drag; mark anything else that shouldn't with `data-flow-nodrag`, and an area that scrolls on its own with `data-flow-nowheel`. `startDrag(id, event)` hands a pointer that's already down to a node, to drag something in from outside (a palette). Positions spring to their new place when they change from outside (a layout, an undo); the view springs on `fitView()`/zoom buttons. Nodes are rendered by small components of their own so moving one only redraws it and its edges.
|
|
1654
1878
|
|
|
1655
1879
|
Props:
|
|
1656
1880
|
- `nodes?: FlowNode<any>[] = []` (v-model:nodes)
|
|
@@ -1674,6 +1898,7 @@ Props:
|
|
|
1674
1898
|
- `elementsSelectable?: boolean = true`
|
|
1675
1899
|
- `edgesReconnectable?: boolean = true`
|
|
1676
1900
|
- `edgesReroutable?: boolean = false` — The segments of a selected `smoothstep`/`step` edge get grips: drag one sideways to reroute the edge (it keeps the route in `edge.route`), or drag a leg at either end to add a jog. Default off
|
|
1901
|
+
- `edgeSpacing?: number = 0` — `smoothstep`/`step` edges from different sources whose middle runs would lie on top of each other, running the same way, are moved apart by this many px, so two wires never read as one (edges from the same output may share a run). Edges with their own `route` stay put and the others keep off them. Default 0: off
|
|
1677
1902
|
- `defaultEdgeOptions?: Partial<FlowEdge<any>>` — Merged into edges made by connecting (`type`, `animated`, `markerEnd`…)
|
|
1678
1903
|
- `autoConnect?: boolean = true` — Adds an edge to `edges` when a connection is made; off, only `connect` fires
|
|
1679
1904
|
- `isValidConnection?: ((c: FlowConnection) => boolean)` — Whether a connection may be made (no duplicates or same-node loops are offered either way)
|
|
@@ -1732,6 +1957,7 @@ Exposed (template ref):
|
|
|
1732
1957
|
- `getSize: (id: string) => { width: number; height: number; }` — A node's measured (or set) size
|
|
1733
1958
|
- `getIntersectingNodes: (node: string | { x: number; y: number; width: number; height: number; }) => FlowNode<any>[]` — Nodes overlapping this one (or a rectangle in flow coordinates), groups and its own family left out
|
|
1734
1959
|
- `getEdgeAt: (p: FlowXY, opts?: { radius?: number | undefined; ignore?: ((e: FlowEdge<any>) => boolean) | undefined; } | undefined) => FlowEdgeHit | null` — The edge passing within `radius` (flow units, default 8) of a flow point, nearest first, skipping the ones `ignore` returns true for: where on it the point falls (on the grid along it with snapToGrid), the way it runs there toward its target, and for an edge with its own route, the routes that keep each half's shape if it's split there (as the `branch` event gives). For dropping something onto an edge, e.g. a junction
|
|
1960
|
+
- `getEdgePath: (id: string) => string | null` — The SVG path (`d`, flow coordinates) an edge is drawn along right now, its own route and edgeSpacing included: to draw it elsewhere, e.g. an exported image
|
|
1735
1961
|
- `screenToFlow: (p: { x: number; y: number; }) => FlowXY` — Page (client) coordinates → flow coordinates
|
|
1736
1962
|
- `flowToScreen: (p: FlowXY) => { x: number; y: number; }`
|
|
1737
1963
|
- `setViewport: (v: Partial<FlowViewport>, opts?: { animate?: boolean | undefined; } | undefined) => void`
|
|
@@ -1753,6 +1979,7 @@ Exposed (template ref):
|
|
|
1753
1979
|
- `copy: () => void`
|
|
1754
1980
|
- `cut: () => void`
|
|
1755
1981
|
- `paste: (at?: FlowXY | undefined) => void` — Pastes what was copied, at a flow point (default a step from the originals)
|
|
1982
|
+
- `duplicate: () => void` — Copies of the selection (with the edges between them) a step away, selected; the clipboard stays as it was
|
|
1756
1983
|
- `startDrag: (id: string, e: PointerEvent) => void` — Drags a node with a pointer that's already down, e.g. one just added from a palette outside the canvas: it follows the pointer from there (guides, splicing into an edge) until it's let go. With a finger, the page doesn't scroll under it meanwhile (start the drag from a long press, so a swipe still scrolls your palette)
|
|
1757
1984
|
|
|
1758
1985
|
### MFlowControls
|
|
@@ -1811,7 +2038,7 @@ Props:
|
|
|
1811
2038
|
- `icon?: string` — Material Symbol
|
|
1812
2039
|
- `variant?: "elevated" | "filled" | "outlined" = "outlined"`
|
|
1813
2040
|
- `color?: "error" | "primary" | "secondary" | "tertiary" | "neutral" = "primary"` — The icon container's color role
|
|
1814
|
-
- `handles?: "
|
|
2041
|
+
- `handles?: "both" | "none" | "source" | "target" = "both"` — Which handles it draws
|
|
1815
2042
|
- `sourcePosition?: FlowPosition`
|
|
1816
2043
|
- `targetPosition?: FlowPosition`
|
|
1817
2044
|
|
|
@@ -1876,9 +2103,9 @@ Props:
|
|
|
1876
2103
|
|
|
1877
2104
|
Events:
|
|
1878
2105
|
- `link({ from: string; to: string; type: NonNullable<"FS" | "SS" | "FF" | "SF" | undefined>; })` — A dependency was drawn: `{ from, to, type }` (it's also added to the task)
|
|
2106
|
+
- `change({ tasks: GanttTask<any>[]; kind: "progress" | "reorder" | "move" | "resize" | "rename"; })` — A drag or a key changed tasks: `{ tasks, kind }` with the changed tasks and `'move' | 'resize' | 'progress' | 'reorder' | 'rename'`
|
|
1879
2107
|
- `delete({ tasks: GanttTask<any>[]; })` — Tasks were deleted: `{ tasks }`
|
|
1880
2108
|
- `update:selection(string[])`
|
|
1881
|
-
- `change({ tasks: GanttTask<any>[]; kind: "progress" | "reorder" | "move" | "resize" | "rename"; })` — A drag or a key changed tasks: `{ tasks, kind }` with the changed tasks and `'move' | 'resize' | 'progress' | 'reorder' | 'rename'`
|
|
1882
2109
|
- `update:tasks(GanttTask<any>[])`
|
|
1883
2110
|
- `update:scale(TimeUnit)`
|
|
1884
2111
|
- `update:collapsed(string[])`
|
|
@@ -1944,7 +2171,7 @@ Props:
|
|
|
1944
2171
|
- `lg?: 1 | 2 | 3 | 4 | 5 | 6 | 12` — Columns at lg breakpoint
|
|
1945
2172
|
- `xl?: 1 | 2 | 3 | 4 | 5 | 6 | 12` — Columns at xl breakpoint
|
|
1946
2173
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items
|
|
1947
|
-
- `alignItems?: "center" | "
|
|
2174
|
+
- `alignItems?: "center" | "end" | "start" | "stretch" = "stretch"` — Vertical alignment
|
|
1948
2175
|
|
|
1949
2176
|
Slots:
|
|
1950
2177
|
- `#default` — The grid items.
|
|
@@ -2704,6 +2931,45 @@ Slots:
|
|
|
2704
2931
|
- `#default` — Item label text.
|
|
2705
2932
|
- `#children` — Nested submenu items. In the parent MMenu's default 'flyout' mode, clicking or hovering (mouse only) the item opens a side panel — supports unlimited nesting depth. In 'push' mode, clicking the item instead swaps the whole menu panel to the submenu with a back header; hover does nothing.
|
|
2706
2933
|
|
|
2934
|
+
### MMortgageCalculator
|
|
2935
|
+
|
|
2936
|
+
A mortgage / loan calculator for a property listing or a bank: price, down payment, rate and term in, the monthly payment, the principal vs interest split and the yearly amortization schedule out. Supports the french system (the same payment every month) and the german one (the same principal every month, falling payments). The math is also exported on its own as `amortize()`.
|
|
2937
|
+
|
|
2938
|
+
Props:
|
|
2939
|
+
- `modelValue: MortgageInput` (v-model) — The inputs (v-model)
|
|
2940
|
+
- `system?: "french" | "german" = "french"` — `french`: fixed payment. `german`: fixed principal, payments fall over time
|
|
2941
|
+
- `terms?: number[] = [10, 15, 20, 25, 30]` — Terms offered, in years
|
|
2942
|
+
- `extras?: { label: string; amount: number; }[] = []` — Monthly costs added on top of the loan payment, e.g. property tax or insurance
|
|
2943
|
+
- `currency?: string` — ISO 4217 code to format amounts
|
|
2944
|
+
- `variant?: "filled" | "outlined" = "outlined"` — Fields layout: the default filled or outlined
|
|
2945
|
+
- `readonly?: boolean = false` — Hides the inputs, showing only the results (for a read-only quote)
|
|
2946
|
+
- `scheduleOpen?: boolean = false` — Shows the yearly schedule open
|
|
2947
|
+
|
|
2948
|
+
Events:
|
|
2949
|
+
- `update:modelValue(MortgageInput)` — The inputs — powers v-model
|
|
2950
|
+
|
|
2951
|
+
Slots:
|
|
2952
|
+
- `#summary { loan: number; monthly: number; schedule: Amortization; }` — Replaces the result panel. Slot props: `{ loan, monthly, schedule }`
|
|
2953
|
+
|
|
2954
|
+
Exposed (template ref):
|
|
2955
|
+
- `loan: number`
|
|
2956
|
+
- `monthly: number`
|
|
2957
|
+
- `schedule: Amortization`
|
|
2958
|
+
|
|
2959
|
+
```ts
|
|
2960
|
+
/** The inputs of an `MMortgageCalculator` (its v-model). */
|
|
2961
|
+
export interface MortgageInput {
|
|
2962
|
+
/** Price of the property */
|
|
2963
|
+
price: number
|
|
2964
|
+
/** Down payment, in money (not percent) */
|
|
2965
|
+
down: number
|
|
2966
|
+
/** Yearly interest rate, in percent */
|
|
2967
|
+
rate: number
|
|
2968
|
+
/** Term in years */
|
|
2969
|
+
years: number
|
|
2970
|
+
}
|
|
2971
|
+
```
|
|
2972
|
+
|
|
2707
2973
|
### MMultiAutocomplete
|
|
2708
2974
|
|
|
2709
2975
|
Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.
|
|
@@ -2944,6 +3210,134 @@ Exposed (template ref):
|
|
|
2944
3210
|
- `blur: () => void | undefined` — Takes focus away from the field
|
|
2945
3211
|
- `select: () => void | undefined` — Selects all its text
|
|
2946
3212
|
|
|
3213
|
+
### MOdontogram
|
|
3214
|
+
|
|
3215
|
+
A dental chart: every tooth with its five surfaces (mesial, distal, buccal, lingual, occlusal) and whole-tooth conditions (missing, to extract, crown, root canal, implant). Pick a condition in the toolbar, then tap a surface or a tooth number to chart it; tapping again removes it. FDI or Universal numbering, permanent or primary teeth. Keyboard: each tooth is one tab stop; arrows move between teeth, M / D / B / L / O chart that surface with a surface condition, Enter charts a tooth condition, Delete clears the tooth.
|
|
3216
|
+
|
|
3217
|
+
Props:
|
|
3218
|
+
- `modelValue?: OdontogramValue = {}` (v-model) — The chart (v-model)
|
|
3219
|
+
- `tool?: string` (v-model:tool) — Condition picked in the toolbar, or "eraser" (v-model:tool)
|
|
3220
|
+
- `conditions?: OdontogramCondition[]` — Conditions offered. Defaults to caries, filling, sealant, crown, root canal, implant, missing and to extract
|
|
3221
|
+
- `numbering?: "fdi" | "universal" = "fdi"` — Tooth numbering: FDI two-digit (11–48) or Universal (1–32, A–T for primary teeth)
|
|
3222
|
+
- `dentition?: "primary" | "permanent" = "permanent"` — Adult (32) or primary (20) teeth
|
|
3223
|
+
- `hideToolbar?: boolean = false` — Hides the condition picker (e.g. when the app draws its own)
|
|
3224
|
+
- `readonly?: boolean = false` — Shows the chart but doesn't change it
|
|
3225
|
+
|
|
3226
|
+
Events:
|
|
3227
|
+
- `update:modelValue(OdontogramValue)` — The chart — powers v-model
|
|
3228
|
+
- `change({ tooth: string; surface?: ToothSurface | undefined; condition: string | null; })` — A tooth changed: `{ tooth, surface?, condition }` (condition null = cleared)
|
|
3229
|
+
- `update:tool(string)` — The condition picked — powers v-model:tool
|
|
3230
|
+
|
|
3231
|
+
Slots:
|
|
3232
|
+
- `#toolbar { conditions: OdontogramCondition[]; tool: string; setTool: (k: string) => void; }` — Replaces the condition picker. Slot props: `{ conditions, tool, setTool }`
|
|
3233
|
+
|
|
3234
|
+
```ts
|
|
3235
|
+
/** Teeth by number (in the chosen numbering) → their state. */
|
|
3236
|
+
export type OdontogramValue = Record<string, ToothState>
|
|
3237
|
+
```
|
|
3238
|
+
|
|
3239
|
+
```ts
|
|
3240
|
+
/**
|
|
3241
|
+
* Something to chart. `surface` conditions paint one face (caries, a filling); `tooth` conditions mark the whole
|
|
3242
|
+
* tooth. The built-in tooth keys `missing`, `extraction`, `crown`, `rootCanal` and `implant` get their own drawing;
|
|
3243
|
+
* any other tooth key outlines the tooth in its color.
|
|
3244
|
+
*/
|
|
3245
|
+
export interface OdontogramCondition {
|
|
3246
|
+
key: string
|
|
3247
|
+
label: string
|
|
3248
|
+
color: string
|
|
3249
|
+
scope: 'surface' | 'tooth'
|
|
3250
|
+
}
|
|
3251
|
+
```
|
|
3252
|
+
|
|
3253
|
+
```ts
|
|
3254
|
+
/** The chart of one tooth: a condition per surface, and conditions of the whole tooth. */
|
|
3255
|
+
export interface ToothState {
|
|
3256
|
+
surfaces?: Partial<Record<ToothSurface, string>>
|
|
3257
|
+
conditions?: string[]
|
|
3258
|
+
}
|
|
3259
|
+
```
|
|
3260
|
+
|
|
3261
|
+
```ts
|
|
3262
|
+
export type ToothSurface = 'mesial' | 'distal' | 'buccal' | 'lingual' | 'occlusal'
|
|
3263
|
+
```
|
|
3264
|
+
|
|
3265
|
+
```ts
|
|
3266
|
+
// ── teeth, in chart order (viewer's left to right) ──
|
|
3267
|
+
interface Tooth { fdi: number; label: string; upper: boolean; /** patient's right = viewer's left */ right: boolean }
|
|
3268
|
+
```
|
|
3269
|
+
|
|
3270
|
+
### MOrderBook
|
|
3271
|
+
|
|
3272
|
+
A live order book (market depth) for an exchange or trading screen: asks above, bids below (or side by side), each level with its size, the running total and a depth bar, and the last price and spread in the middle. Levels whose size changes flash; `step` groups levels into coarser price buckets. Clicking a level emits it, e.g. to fill an order form's price.
|
|
3273
|
+
|
|
3274
|
+
Props:
|
|
3275
|
+
- `bids: OrderBookLevel[]` — Buy orders, `[price, size]`, any order
|
|
3276
|
+
- `asks: OrderBookLevel[]` — Sell orders, `[price, size]`, any order
|
|
3277
|
+
- `levels?: number = 10` — Levels shown per side
|
|
3278
|
+
- `step?: number` — Groups prices into buckets of this size (bids round down, asks round up)
|
|
3279
|
+
- `decimals?: number` — Decimals of prices. Defaults to the decimals of `step`, or 2
|
|
3280
|
+
- `sizeDecimals?: number = 4` — Decimals of sizes
|
|
3281
|
+
- `lastPrice?: number` — Last traded price, shown between the sides; its arrow follows the previous value
|
|
3282
|
+
- `layout?: "split" | "stacked" = "stacked"` — Asks above bids, or bids and asks side by side
|
|
3283
|
+
- `flash?: boolean = true` — Flashes levels whose size changed
|
|
3284
|
+
- `bidColor?: string = "var(--color-success)"` — Color of bids (any CSS color)
|
|
3285
|
+
- `askColor?: string = "var(--color-error)"` — Color of asks (any CSS color)
|
|
3286
|
+
|
|
3287
|
+
Events:
|
|
3288
|
+
- `select({ price: number; size: number; side: "bid" | "ask"; })` — A level was clicked: `{ price, size, side }`
|
|
3289
|
+
|
|
3290
|
+
Slots:
|
|
3291
|
+
- `#middle { lastPrice: number | undefined; direction: "up" | "down" | null; spread: number | undefined; spreadPercent: number | undefined; }` — Replaces the last price / spread row. Slot props: `{ lastPrice, direction, spread, spreadPercent }`
|
|
3292
|
+
|
|
3293
|
+
```ts
|
|
3294
|
+
/** A price level of an `MOrderBook`: `[price, size]`. */
|
|
3295
|
+
export type OrderBookLevel = [price: number, size: number]
|
|
3296
|
+
```
|
|
3297
|
+
|
|
3298
|
+
### MOrderTicket
|
|
3299
|
+
|
|
3300
|
+
A kitchen ticket (comanda) for a kitchen display or an order queue: the order number, where it goes, how long it has been waiting (the header turns amber, then red, as it ages) and its lines with quantities, modifiers and notes. Tapping a line crosses it out as done; once every line is done `complete` fires. Every ticket on the page shares one clock.
|
|
3301
|
+
|
|
3302
|
+
Props:
|
|
3303
|
+
- `number: string | number` — Order number shown big in the header, e.g. 42 or "A-17"
|
|
3304
|
+
- `title?: string` — Where it goes, e.g. "Table 7", "Takeaway · Ana"
|
|
3305
|
+
- `icon?: string` — Material Symbol before the title, e.g. "restaurant", "takeout_dining", "two_wheeler"
|
|
3306
|
+
- `createdAt: string | number | Date` — When the order came in (Date, ISO string or epoch ms); drives the timer
|
|
3307
|
+
- `finishedAt?: string | number | Date` — When it was finished: freezes the timer at that moment
|
|
3308
|
+
- `items: OrderItem[]` — The order lines
|
|
3309
|
+
- `done?: (string | number)[] = []` (v-model:done) — Ids of the lines done (v-model:done)
|
|
3310
|
+
- `note?: string` — A note for the whole order
|
|
3311
|
+
- `warnAfter?: number = 10` — Minutes after which the header turns to the warning color
|
|
3312
|
+
- `lateAfter?: number = 20` — Minutes after which the header turns to the error color
|
|
3313
|
+
- `readonly?: boolean = false` — Read-only: lines can't be ticked
|
|
3314
|
+
|
|
3315
|
+
Events:
|
|
3316
|
+
- `complete()` — Emitted when the last line is marked done
|
|
3317
|
+
- `update:done((string | number)[])` — Emitted with the ids of the lines marked done — powers v-model:done
|
|
3318
|
+
|
|
3319
|
+
Slots:
|
|
3320
|
+
- `#header` — Extra content in the header, under the title (e.g. chips with the waiter or channel)
|
|
3321
|
+
- `#item { item: OrderItem; done: boolean; }` — Replaces a line's content (the tappable row stays). Slot props: `{ item, done }`
|
|
3322
|
+
- `#actions { allDone: boolean; elapsed: number; }` — Content at the bottom (e.g. bump / recall buttons). Slot props: `{ allDone, elapsed }`
|
|
3323
|
+
|
|
3324
|
+
```ts
|
|
3325
|
+
/** A line of an `MOrderTicket`. */
|
|
3326
|
+
export interface OrderItem {
|
|
3327
|
+
id: string | number
|
|
3328
|
+
name: string
|
|
3329
|
+
quantity?: number
|
|
3330
|
+
modifiers?: OrderModifier[]
|
|
3331
|
+
/** A free note for this line, e.g. "allergy: nuts" */
|
|
3332
|
+
note?: string
|
|
3333
|
+
}
|
|
3334
|
+
```
|
|
3335
|
+
|
|
3336
|
+
```ts
|
|
3337
|
+
/** A modifier on an order line: a plain string, or with a kind to style additions and removals. */
|
|
3338
|
+
export type OrderModifier = string | { label: string; kind?: 'add' | 'remove' | 'info' }
|
|
3339
|
+
```
|
|
3340
|
+
|
|
2947
3341
|
### MOverlay
|
|
2948
3342
|
|
|
2949
3343
|
Full-screen overlay with scrim and teleport to body. A generic low-level building block — content is entirely up to you via the default slot. Your class, role and aria attributes go on the content layer (over the scrim), so `class="flex items-center justify-center bg-black"` lays out and paints the slot.
|
|
@@ -3104,6 +3498,112 @@ Events:
|
|
|
3104
3498
|
- `update:modelValue(string)` — Emitted on every box change — powers v-model
|
|
3105
3499
|
- `complete(string)` — Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit
|
|
3106
3500
|
|
|
3501
|
+
### MPosKeypad
|
|
3502
|
+
|
|
3503
|
+
A large touch keypad for a point of sale, a kiosk or a cash drawer: amounts, quantities, a waiter's PIN. It shows the value formatted (with a currency when one is given), can enter amounts cash-register style (digits shift in from the right, `1` `2` `5` `0` → 12.50), offers quick-amount chips and, given the amount due, shows what's left to pay or the change to give back. Holding delete clears everything. With the keypad focused (or `keyboard="global"`), the physical keyboard works too: digits, `.`/`,`, Backspace, Escape to clear and Enter to submit. The value (v-model) is a plain decimal string ("12.50", or the digits of a PIN) so leading zeros survive.
|
|
3504
|
+
|
|
3505
|
+
Props:
|
|
3506
|
+
- `modelValue: string` (v-model) — Value (v-model): a decimal string like "12.50", or a digit string in `pin` mode
|
|
3507
|
+
- `mode?: "amount" | "integer" | "pin" = "amount"` — What is typed: `amount` (decimals, currency formatting), `integer` (quantities, no decimals) or `pin` (digits shown as dots, leading zeros kept)
|
|
3508
|
+
- `decimals?: number = 2` — Decimal places of an amount
|
|
3509
|
+
- `entry?: "shift" | "free" = "free"` — How an amount is entered: `free` (a decimal-point key) or `shift` (cash register: digits shift in from the right, with a `00` key instead of the point)
|
|
3510
|
+
- `currency?: string` — ISO 4217 code (e.g. "USD", "ARS") to format the amount as money. Unset shows a plain number
|
|
3511
|
+
- `max?: number` — Largest amount accepted; keys that would pass it are ignored
|
|
3512
|
+
- `maxLength?: number` — Most digits accepted (a PIN's length, for one). With `pin` mode, filling it emits `submit` on its own
|
|
3513
|
+
- `quickAmounts?: number[]` — Chips above the keys with preset amounts
|
|
3514
|
+
- `quickMode?: "set" | "add" = "set"` — Whether a quick amount replaces the value or adds to it
|
|
3515
|
+
- `due?: number` — Amount due: shows the remaining amount under the value, or the change once it's covered
|
|
3516
|
+
- `actionLabel?: string` — Label of the submit button. Without it (and without the `action` slot) there is no button
|
|
3517
|
+
- `actionIcon?: string` — Material Symbol on the submit button
|
|
3518
|
+
- `actionDisabled?: boolean` — Disables the submit button. By default it's disabled while the value is empty or doesn't cover `due`
|
|
3519
|
+
- `hideDisplay?: boolean = false` — Hides the value display (e.g. the value is shown elsewhere)
|
|
3520
|
+
- `keyboard?: "none" | "focus" | "global" = "focus"` — Physical keyboard: while the keypad is focused, always (`global`), or never
|
|
3521
|
+
- `haptics?: boolean = false` — A short vibration on every key, on devices that support it
|
|
3522
|
+
- `disabled?: boolean = false` — Disables every key
|
|
3523
|
+
|
|
3524
|
+
Events:
|
|
3525
|
+
- `update:modelValue(string)` — Emitted on every key — powers v-model
|
|
3526
|
+
- `key(string)` — Emitted on every key press, with the key (`'0'`–`'9'`, `'00'`, `'.'`, `'backspace'`, `'clear'`)
|
|
3527
|
+
- `submit(string)` — Emitted by the action button or Enter, with the value
|
|
3528
|
+
|
|
3529
|
+
Slots:
|
|
3530
|
+
- `#display { value: string; formatted: string; amount: number; }` — Replaces the value display. Slot props: `{ value, formatted, amount }`
|
|
3531
|
+
- `#action { value: string; amount: number; submit: () => void; }` — Replaces the submit button. Slot props: `{ value, amount, submit }`
|
|
3532
|
+
|
|
3533
|
+
### MProductConfigurator
|
|
3534
|
+
|
|
3535
|
+
Picks the variant and extras of a product with the price updating live: a size and color in a store, the doneness, sides and extras of a dish, the drinks of a combo. Groups are single choice, multiple choice (with min/max) or per-option quantities; `isAvailable` crosses out combinations that don't exist (a size out of stock in that color). The add button stays disabled until every group is satisfied.
|
|
3536
|
+
|
|
3537
|
+
Props:
|
|
3538
|
+
- `groups: ProductOptionGroup[]` — The option groups
|
|
3539
|
+
- `modelValue?: ProductSelection = {}` (v-model) — The selection (v-model), keyed by group key
|
|
3540
|
+
- `basePrice?: number = 0` — Price of the product before options
|
|
3541
|
+
- `quantity?: number | null = 1` (v-model:quantity) — Units of the product (v-model:quantity). Pass `null` to hide the quantity stepper
|
|
3542
|
+
- `maxQuantity?: number = 99` — Most units of the product
|
|
3543
|
+
- `currency?: string` — ISO 4217 code to format prices
|
|
3544
|
+
- `actionLabel?: string` — Label of the add button; without it there is no button
|
|
3545
|
+
- `isAvailable?: ((group: ProductOptionGroup, option: ProductOption, selection: ProductSelection) => boolean)` — Whether an option can be picked given the rest of the selection, e.g. a size out of stock in the chosen color. Unavailable options are crossed out and can't be picked
|
|
3546
|
+
- `disabled?: boolean = false`
|
|
3547
|
+
|
|
3548
|
+
Events:
|
|
3549
|
+
- `update:modelValue(ProductSelection)` — The selection, keyed by group key — powers v-model
|
|
3550
|
+
- `add({ selection: ProductSelection; quantity: number; unitPrice: number; total: number; })` — Emitted by the add button with `{ selection, quantity, unitPrice, total }`
|
|
3551
|
+
- `update:quantity(number)` — Units of the product — powers v-model:quantity
|
|
3552
|
+
|
|
3553
|
+
Slots:
|
|
3554
|
+
- `#header` — Content above the groups (the product's photo, name, description)
|
|
3555
|
+
- `#option { group: ProductOptionGroup; option: ProductOption; selected: boolean; available: boolean; }` — Replaces an option's label in list display. Slot props: `{ group, option, selected, available }`
|
|
3556
|
+
- `#action { valid: boolean; total: number; quantity: number; add: () => void; }` — Replaces the add button. Slot props: `{ valid, total, quantity, add }`
|
|
3557
|
+
|
|
3558
|
+
Exposed (template ref):
|
|
3559
|
+
- `valid: boolean`
|
|
3560
|
+
- `unitPrice: number`
|
|
3561
|
+
- `total: number`
|
|
3562
|
+
|
|
3563
|
+
```ts
|
|
3564
|
+
/** One choice in a `ProductOptionGroup`. */
|
|
3565
|
+
export interface ProductOption {
|
|
3566
|
+
value: string
|
|
3567
|
+
label: string
|
|
3568
|
+
/** Price added by this option (per unit; negative lowers it) */
|
|
3569
|
+
price?: number
|
|
3570
|
+
/** Swatch color for `display: 'swatches'` (any CSS color) */
|
|
3571
|
+
color?: string
|
|
3572
|
+
/** Swatch image for `display: 'swatches'` */
|
|
3573
|
+
image?: string
|
|
3574
|
+
/** A line under the label in list display */
|
|
3575
|
+
description?: string
|
|
3576
|
+
disabled?: boolean
|
|
3577
|
+
}
|
|
3578
|
+
```
|
|
3579
|
+
|
|
3580
|
+
```ts
|
|
3581
|
+
/**
|
|
3582
|
+
* A group of options of a product: a size, a color, extras, the sides of a combo.
|
|
3583
|
+
* - `single`: pick one (radio list, chips or swatches). Its value is a string.
|
|
3584
|
+
* - `multiple`: pick several, between `min` and `max` (checkbox list or chips). Its value is a string array.
|
|
3585
|
+
* - `quantity`: a count of each option, up to `max` in total (+/− rows). Its value is `{ [option]: count }`.
|
|
3586
|
+
*/
|
|
3587
|
+
export interface ProductOptionGroup {
|
|
3588
|
+
key: string
|
|
3589
|
+
label: string
|
|
3590
|
+
type?: 'single' | 'multiple' | 'quantity'
|
|
3591
|
+
/** How the options are drawn. Defaults to `list` (`chips` for sizes is a good fit, `swatches` for colors) */
|
|
3592
|
+
display?: 'list' | 'chips' | 'swatches'
|
|
3593
|
+
/** A single group must have a choice */
|
|
3594
|
+
required?: boolean
|
|
3595
|
+
/** Least selections / units in a multiple or quantity group */
|
|
3596
|
+
min?: number
|
|
3597
|
+
/** Most selections / units in a multiple or quantity group */
|
|
3598
|
+
max?: number
|
|
3599
|
+
options: ProductOption[]
|
|
3600
|
+
}
|
|
3601
|
+
```
|
|
3602
|
+
|
|
3603
|
+
```ts
|
|
3604
|
+
export type ProductSelection = Record<string, string | string[] | Record<string, number> | undefined>
|
|
3605
|
+
```
|
|
3606
|
+
|
|
3107
3607
|
### MProgressBar
|
|
3108
3608
|
|
|
3109
3609
|
A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.
|
|
@@ -3158,6 +3658,71 @@ Props:
|
|
|
3158
3658
|
Slots:
|
|
3159
3659
|
- `#error` — Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel
|
|
3160
3660
|
|
|
3661
|
+
### MQuiz
|
|
3662
|
+
|
|
3663
|
+
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.
|
|
3664
|
+
|
|
3665
|
+
Props:
|
|
3666
|
+
- `questions: QuizQuestion[]`
|
|
3667
|
+
- `feedback?: "end" | "immediate" = "immediate"` — Check each answer right away, or only reveal them in the results
|
|
3668
|
+
- `shuffle?: boolean = false` — Shuffles the questions on every attempt
|
|
3669
|
+
- `shuffleOptions?: boolean = false` — Shuffles the options of choice questions
|
|
3670
|
+
- `passScore?: number` — Percent needed to pass, e.g. 70. Without it there's no pass / fail
|
|
3671
|
+
- `timeLimit?: number` — Time limit for the whole quiz, in seconds
|
|
3672
|
+
- `review?: boolean = true` — Lists every question with the given and the right answer in the results
|
|
3673
|
+
- `allowRetry?: boolean = true` — Offers to try again from the results
|
|
3674
|
+
|
|
3675
|
+
Events:
|
|
3676
|
+
- `finish(QuizResult)` — The quiz ended, with its `QuizResult`
|
|
3677
|
+
- `answer({ id: string | number; value: QuizAnswer | undefined; correct: boolean; })` — A question was answered (checked): `{ id, value, correct }`
|
|
3678
|
+
|
|
3679
|
+
Slots:
|
|
3680
|
+
- `#result { result: QuizResult; retry: () => void; }` — Replaces the results screen. Slot props: `{ result, retry }`
|
|
3681
|
+
|
|
3682
|
+
Exposed (template ref):
|
|
3683
|
+
- `restart: () => void`
|
|
3684
|
+
- `result: QuizResult`
|
|
3685
|
+
|
|
3686
|
+
```ts
|
|
3687
|
+
/**
|
|
3688
|
+
* A question of an `MQuiz`.
|
|
3689
|
+
* - `single`: `answer` is the index of the right option.
|
|
3690
|
+
* - `multiple`: `answer` is the indices of every right option (all of them, and only them, to score).
|
|
3691
|
+
* - `truefalse`: `answer` is a boolean.
|
|
3692
|
+
* - `order`: `options` are given in the right order; the quiz shuffles them.
|
|
3693
|
+
* - `text`: `answer` is the accepted answer(s); case, accents and extra spaces are ignored.
|
|
3694
|
+
*/
|
|
3695
|
+
export interface QuizQuestion {
|
|
3696
|
+
id: string | number
|
|
3697
|
+
type?: 'single' | 'multiple' | 'truefalse' | 'order' | 'text'
|
|
3698
|
+
prompt: string
|
|
3699
|
+
/** An image shown with the prompt */
|
|
3700
|
+
image?: string
|
|
3701
|
+
options?: string[]
|
|
3702
|
+
answer?: number | number[] | boolean | string | string[]
|
|
3703
|
+
/** Shown after answering: why the answer is what it is */
|
|
3704
|
+
explanation?: string
|
|
3705
|
+
/** Points the question is worth */
|
|
3706
|
+
points?: number
|
|
3707
|
+
}
|
|
3708
|
+
```
|
|
3709
|
+
|
|
3710
|
+
```ts
|
|
3711
|
+
export type QuizAnswer = number | number[] | boolean | string
|
|
3712
|
+
```
|
|
3713
|
+
|
|
3714
|
+
```ts
|
|
3715
|
+
/** The outcome of a finished quiz. */
|
|
3716
|
+
export interface QuizResult {
|
|
3717
|
+
score: number
|
|
3718
|
+
total: number
|
|
3719
|
+
percent: number
|
|
3720
|
+
/** Whether `percent` reached `passScore` (always true without one) */
|
|
3721
|
+
passed: boolean
|
|
3722
|
+
answers: Record<string, { value: QuizAnswer | undefined; correct: boolean }>
|
|
3723
|
+
}
|
|
3724
|
+
```
|
|
3725
|
+
|
|
3161
3726
|
### MRadio
|
|
3162
3727
|
|
|
3163
3728
|
A single radio button, for when you lay out the options yourself. It's selected when `modelValue` equals its `value`; for a plain list of options, MRadioGroup is simpler.
|
|
@@ -3212,6 +3777,63 @@ Props:
|
|
|
3212
3777
|
Events:
|
|
3213
3778
|
- `update:modelValue(number)` — Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0
|
|
3214
3779
|
|
|
3780
|
+
### MReceipt
|
|
3781
|
+
|
|
3782
|
+
A sales receipt in the look of a thermal printer ticket (58 or 80 mm): header, lines with quantity and amount, subtotal, discounts and taxes, total, payments and change. All the math is done in cents, so totals never drift. `print()` prints only the receipt, sized to the paper.
|
|
3783
|
+
|
|
3784
|
+
Props:
|
|
3785
|
+
- `items: ReceiptItem[]` — The lines sold
|
|
3786
|
+
- `adjustments?: ReceiptAdjustment[] = []` — Discounts, taxes, tips, fees, applied after the subtotal in this order
|
|
3787
|
+
- `payments?: ReceiptPayment[] = []` — Payments made; more than the total shows the change
|
|
3788
|
+
- `currency?: string` — ISO 4217 code, e.g. "USD". Without one, amounts are plain numbers
|
|
3789
|
+
- `number?: string | number` — Receipt / invoice number, shown under the header
|
|
3790
|
+
- `date?: string | number | Date` — Date of the sale (Date, ISO string or epoch ms)
|
|
3791
|
+
- `paper?: "auto" | "80mm" | "58mm" = "80mm"` — Paper width: 58 mm, 80 mm, or the width of the container
|
|
3792
|
+
- `edge?: "zigzag" | "straight" = "zigzag"` — Torn zigzag edges at the top and bottom, or straight
|
|
3793
|
+
- `footer?: string` — Text at the bottom when the `footer` slot isn't used
|
|
3794
|
+
|
|
3795
|
+
Slots:
|
|
3796
|
+
- `#header` — Top of the receipt: the store's logo, name, address, tax id
|
|
3797
|
+
- `#item { item: ReceiptItem; amount: number; }` — Replaces a line. Slot props: `{ item, amount }`
|
|
3798
|
+
- `#footer` — Bottom of the receipt: a thank-you line, a QR, return policy
|
|
3799
|
+
|
|
3800
|
+
Exposed (template ref):
|
|
3801
|
+
- `print: () => void`
|
|
3802
|
+
- `totals: { subtotal: number; total: number; paid: number; change: number; }` — Totals in the receipt's units (not cents)
|
|
3803
|
+
|
|
3804
|
+
```ts
|
|
3805
|
+
/** A line of an `MReceipt`. `price` is the unit price; the line amount is `price × quantity`. */
|
|
3806
|
+
export interface ReceiptItem {
|
|
3807
|
+
name: string
|
|
3808
|
+
quantity?: number
|
|
3809
|
+
price: number
|
|
3810
|
+
/** Extra text under the name, e.g. "No onion" or a SKU */
|
|
3811
|
+
note?: string
|
|
3812
|
+
}
|
|
3813
|
+
```
|
|
3814
|
+
|
|
3815
|
+
```ts
|
|
3816
|
+
/**
|
|
3817
|
+
* A line after the subtotal: a discount, a tax, a tip, a service fee. Give `amount` (negative for a discount) or
|
|
3818
|
+
* `percent` of the subtotal (negative for a discount). `included` marks a tax already inside the prices: it's
|
|
3819
|
+
* shown but not added again. Percentages apply to the running total, in the order given (put discounts first).
|
|
3820
|
+
*/
|
|
3821
|
+
export interface ReceiptAdjustment {
|
|
3822
|
+
label: string
|
|
3823
|
+
amount?: number
|
|
3824
|
+
percent?: number
|
|
3825
|
+
included?: boolean
|
|
3826
|
+
}
|
|
3827
|
+
```
|
|
3828
|
+
|
|
3829
|
+
```ts
|
|
3830
|
+
/** A payment toward the total, e.g. `{ method: 'Cash', amount: 50 }`. Paying more than the total shows the change. */
|
|
3831
|
+
export interface ReceiptPayment {
|
|
3832
|
+
method: string
|
|
3833
|
+
amount: number
|
|
3834
|
+
}
|
|
3835
|
+
```
|
|
3836
|
+
|
|
3215
3837
|
### MRelative
|
|
3216
3838
|
|
|
3217
3839
|
Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.
|
|
@@ -3259,9 +3881,9 @@ Props:
|
|
|
3259
3881
|
- `beforeDelete?: ((events: TimelineEvent<any>[]) => boolean | Promise<boolean>)`
|
|
3260
3882
|
|
|
3261
3883
|
Events:
|
|
3884
|
+
- `change({ events: TimelineEvent<any>[]; kind: "move" | "resize"; })` — A drag or a key changed bookings: `{ events, kind: 'move' | 'resize' }`
|
|
3262
3885
|
- `delete({ events: TimelineEvent<any>[]; })` — Bookings were deleted: `{ events }`
|
|
3263
3886
|
- `update:selection(string[])`
|
|
3264
|
-
- `change({ events: TimelineEvent<any>[]; kind: "move" | "resize"; })` — A drag or a key changed bookings: `{ events, kind: 'move' | 'resize' }`
|
|
3265
3887
|
- `update:scale(TimeUnit)`
|
|
3266
3888
|
- `update:collapsed(string[])`
|
|
3267
3889
|
- `update:events(TimelineEvent<any>[])`
|
|
@@ -3481,7 +4103,7 @@ Props:
|
|
|
3481
4103
|
- `placeholder?: string` — Defaults to the locale's "Search..."
|
|
3482
4104
|
- `variant?: "fullscreen" | "fullscreen-contained" | "docked" = "docked"` — 'docked' grows into a rounded panel anchored below the bar (default). 'fullscreen' takes over the whole viewport, matching M3's mobile search pattern — the leading icon becomes a back button either way. 'fullscreen-contained' (M3 Expressive's ExpandedFullScreenContainedSearchBar) also takes the whole viewport, on surface-container-low, but keeps the input in its pill shape, with no divider.
|
|
3483
4105
|
- `leadingIcon?: string = "search"` — Icon shown in the collapsed bar
|
|
3484
|
-
- `iconPosition?: "
|
|
4106
|
+
- `iconPosition?: "end" | "start" = "start"` — Which side of the *collapsed* bar the leading icon sits on. The expanded panel's back button always stays at the start regardless — that's a near-universal "go back" convention.
|
|
3485
4107
|
- `textAlign?: "center" | "start" = "start"` — Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).
|
|
3486
4108
|
- `loading?: boolean = false` — Shows a spinner in the expanded header instead of the clear button
|
|
3487
4109
|
- `clearable?: boolean = true` — Shows a clear (×) button once there is a query
|
|
@@ -3525,6 +4147,72 @@ Exposed (template ref):
|
|
|
3525
4147
|
- `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the input
|
|
3526
4148
|
- `blur: () => void | undefined` — Takes focus away from the input
|
|
3527
4149
|
|
|
4150
|
+
### MSeatMap
|
|
4151
|
+
|
|
4152
|
+
Seat picker for a cinema, theater, stadium, bus or plane. The hall is drawn from rows of characters: each character is a seat of the category with that `key`, and `_` or a space leaves a gap (an aisle, or an empty row when the whole line is blank). Seats are named theater style (row letters, seat numbers: "F12") or plane style (row numbers, seat letters: "12C"), and those names are the ids used in v-model. Arrow keys move between seats, Enter/Space picks one. With `max: 1` picking another seat moves the selection.
|
|
4153
|
+
|
|
4154
|
+
Props:
|
|
4155
|
+
- `modelValue?: string[] = []` (v-model) — Ids of the selected seats (v-model)
|
|
4156
|
+
- `layout: string[]` — Rows of the hall, top to bottom. Each character is a seat of that category; `_` or a space is a gap
|
|
4157
|
+
- `categories?: SeatCategory[] = []` — Seat categories by layout character. Characters without one use a default "Standard" look
|
|
4158
|
+
- `occupied?: string[] = []` — Ids of seats already taken
|
|
4159
|
+
- `blocked?: string[] = []` — Ids of seats that can't be picked (out of service, kept free)
|
|
4160
|
+
- `naming?: "theater" | "plane" = "theater"` — Seat naming: row letters + seat numbers ("F12"), or row numbers + seat letters ("12C")
|
|
4161
|
+
- `rowLabels?: string[]` — Custom row labels, one per seat row (blank rows don't count)
|
|
4162
|
+
- `numbering?: "ltr" | "rtl" = "ltr"` — Seats are numbered from the left (`ltr`) or from the right (`rtl`) of each row
|
|
4163
|
+
- `max?: number` — Most seats that can be selected
|
|
4164
|
+
- `stage?: string | false` — Label of the screen/stage. Defaults to the locale's "Screen"; `false` hides it
|
|
4165
|
+
- `stagePosition?: "top" | "bottom" = "top"` — Side the screen/stage is drawn on
|
|
4166
|
+
- `seatSize?: number = 32` — Seat size in px
|
|
4167
|
+
- `showRowLabels?: boolean = true` — Shows row labels at both ends of each row
|
|
4168
|
+
- `legend?: boolean = true` — Shows the legend
|
|
4169
|
+
- `currency?: string` — ISO 4217 code to format prices (e.g. "USD"). Unset shows plain numbers
|
|
4170
|
+
- `disabled?: boolean = false` — Disables picking
|
|
4171
|
+
|
|
4172
|
+
Events:
|
|
4173
|
+
- `update:modelValue(string[])` — Emitted with the ids of the selected seats — powers v-model
|
|
4174
|
+
- `select(SeatInfo, boolean)` — Emitted when a seat is picked or released, with `(seat, selected)`
|
|
4175
|
+
- `limit()` — Emitted when a seat is picked while `max` seats are already selected
|
|
4176
|
+
|
|
4177
|
+
Slots:
|
|
4178
|
+
- `#seat { seat: SeatInfo; state: SeatState; category: SeatCategory | undefined; }` — Replaces a seat's content (the button stays). Slot props: `{ seat, state, category }`
|
|
4179
|
+
- `#legend { categories: SeatCategory[]; }` — Replaces the legend under the map. Slot props: `{ categories }`
|
|
4180
|
+
|
|
4181
|
+
```ts
|
|
4182
|
+
/** A seat type: its key is the character that marks it in `layout`. */
|
|
4183
|
+
export interface SeatCategory {
|
|
4184
|
+
/** Single character used for this category in `layout` rows */
|
|
4185
|
+
key: string
|
|
4186
|
+
/** Name shown in the legend and the seat's label, e.g. "Premium" */
|
|
4187
|
+
label: string
|
|
4188
|
+
/** A color role (`primary`, `secondary`, `tertiary`, `error`, `success`) or any CSS color. Default `primary` */
|
|
4189
|
+
color?: string
|
|
4190
|
+
/** Price, shown in the legend and the seat's label */
|
|
4191
|
+
price?: number
|
|
4192
|
+
}
|
|
4193
|
+
```
|
|
4194
|
+
|
|
4195
|
+
```ts
|
|
4196
|
+
/** A seat as laid out by `MSeatMap`, given to the `seat` slot and the `select` event. */
|
|
4197
|
+
export interface SeatInfo {
|
|
4198
|
+
/** Id used in v-model, `occupied` and `blocked`: "F12" (theater naming) or "12C" (plane naming) */
|
|
4199
|
+
id: string
|
|
4200
|
+
/** Row label, e.g. "F" or "12" */
|
|
4201
|
+
row: string
|
|
4202
|
+
/** Seat label within the row, e.g. "12" or "C" */
|
|
4203
|
+
number: string
|
|
4204
|
+
/** Category key (the layout character) */
|
|
4205
|
+
category: string
|
|
4206
|
+
/** Grid row and column (0-based, gaps included) */
|
|
4207
|
+
r: number
|
|
4208
|
+
c: number
|
|
4209
|
+
}
|
|
4210
|
+
```
|
|
4211
|
+
|
|
4212
|
+
```ts
|
|
4213
|
+
export type SeatState = 'available' | 'selected' | 'occupied' | 'blocked'
|
|
4214
|
+
```
|
|
4215
|
+
|
|
3528
4216
|
### MSection
|
|
3529
4217
|
|
|
3530
4218
|
A titled content section with optional subtitle, header actions, and divider.
|
|
@@ -3822,7 +4510,7 @@ Props:
|
|
|
3822
4510
|
- `showTooltip?: boolean = false` — Show value tooltip while dragging
|
|
3823
4511
|
- `orientation?: "horizontal" | "vertical" = "horizontal"` — Slider orientation
|
|
3824
4512
|
- `size?: "xs" | "sm" | "md" | "lg" | "xl" = "xs"` — Track and thumb size
|
|
3825
|
-
- `variant?: "standard" | "
|
|
4513
|
+
- `variant?: "standard" | "range" | "centered" = "standard"` — Standard, centered (from middle), or range (two thumbs)
|
|
3826
4514
|
- `stops?: boolean = false` — Show stop dots at each step (max 30 visible), and make a dragged thumb snap from step to step instead of following the pointer smoothly (a discrete slider)
|
|
3827
4515
|
- `icon?: string` — Material Symbol icon shown before the slider — hides once the fill reaches it
|
|
3828
4516
|
- `color?: "error" | "primary" | "secondary" | "tertiary" = "primary"` — Base color — used for the fill and thumb unless overridden by fillColor/thumbColor
|
|
@@ -3955,8 +4643,8 @@ Flex stack with gap, alignment, and optional dividers between items.
|
|
|
3955
4643
|
Props:
|
|
3956
4644
|
- `direction?: "row" | "column" = "column"` — Stack direction
|
|
3957
4645
|
- `gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" = "md"` — Gap between items (ignored when divider is true)
|
|
3958
|
-
- `align?: "center" | "
|
|
3959
|
-
- `justify?: "center" | "
|
|
4646
|
+
- `align?: "center" | "end" | "start" | "stretch" | "baseline" = "stretch"` — Cross-axis alignment
|
|
4647
|
+
- `justify?: "center" | "end" | "start" | "between" | "around" | "evenly" = "start"` — Main-axis alignment
|
|
3960
4648
|
- `wrap?: boolean = false` — Allow items to wrap
|
|
3961
4649
|
- `divider?: boolean = false` — Show dividers between items instead of a gap
|
|
3962
4650
|
- `inline?: boolean = false` — Use inline-flex
|
|
@@ -4271,12 +4959,56 @@ Slots:
|
|
|
4271
4959
|
- `#trailing` — Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present
|
|
4272
4960
|
|
|
4273
4961
|
Exposed (template ref):
|
|
4274
|
-
- `inputEl:
|
|
4962
|
+
- `inputEl: HTMLTextAreaElement | HTMLInputElement | null` — The `<input>` (or `<textarea>`) element
|
|
4275
4963
|
- `focus: (options?: FocusOptions | undefined) => void | undefined` — Focuses the field
|
|
4276
4964
|
- `blur: () => void | undefined` — Takes focus away from the field
|
|
4277
4965
|
- `select: () => void | undefined` — Selects all its text
|
|
4278
4966
|
- `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)
|
|
4279
4967
|
|
|
4968
|
+
### MTicket
|
|
4969
|
+
|
|
4970
|
+
A ticket with a tear-off stub: a boarding pass, a bus or train ticket, a concert or cinema entry, a coupon. The stub is separated by a perforated line with two notches cut out, and usually holds the code to scan (put an `MQRCode` or `MBarcode` in the `stub` slot). Trips get a from → to route; any ticket gets a grid of fields.
|
|
4971
|
+
|
|
4972
|
+
Props:
|
|
4973
|
+
- `title?: string` — Title in the colored band, e.g. the airline, the event or the movie
|
|
4974
|
+
- `subtitle?: string` — A line under the title, e.g. the venue or the date
|
|
4975
|
+
- `icon?: string` — Material Symbol before the title
|
|
4976
|
+
- `color?: string = "primary"` — Band color: a role (primary, secondary, tertiary, error, success) or any CSS color
|
|
4977
|
+
- `from?: TicketStop` — Where the trip starts
|
|
4978
|
+
- `to?: TicketStop` — Where the trip ends
|
|
4979
|
+
- `transport?: string = "flight"` — Material Symbol between from and to
|
|
4980
|
+
- `fields?: TicketField[] = []` — Label/value pairs in a grid
|
|
4981
|
+
- `orientation?: "horizontal" | "vertical" = "horizontal"` — Stub beside the main part (an event ticket) or under it (a phone boarding pass)
|
|
4982
|
+
- `stubSize?: string = "10rem"` — Width of the stub in horizontal orientation (any CSS length)
|
|
4983
|
+
- `notch?: number = 12` — Radius of the notches cut at the perforation, in px
|
|
4984
|
+
|
|
4985
|
+
Slots:
|
|
4986
|
+
- `#header` — Replaces the title row in the colored band (e.g. an airline logo and a status chip)
|
|
4987
|
+
- `#default` — Content of the main part, under the route and fields
|
|
4988
|
+
- `#stub` — Content of the stub: a QR, a barcode, a number
|
|
4989
|
+
|
|
4990
|
+
```ts
|
|
4991
|
+
/** One end of a trip in an `MTicket`: an airport, a station, a terminal. */
|
|
4992
|
+
export interface TicketStop {
|
|
4993
|
+
/** Short code shown big, e.g. "EZE" or "RET" */
|
|
4994
|
+
code: string
|
|
4995
|
+
/** City or station name under the code */
|
|
4996
|
+
name?: string
|
|
4997
|
+
/** Departure / arrival time, shown under the name */
|
|
4998
|
+
time?: string
|
|
4999
|
+
}
|
|
5000
|
+
```
|
|
5001
|
+
|
|
5002
|
+
```ts
|
|
5003
|
+
/** A label/value pair on an `MTicket`, e.g. `{ label: 'Gate', value: 'B12' }`. */
|
|
5004
|
+
export interface TicketField {
|
|
5005
|
+
label: string
|
|
5006
|
+
value: string | number
|
|
5007
|
+
/** Emphasizes the value (e.g. the seat or the gate) */
|
|
5008
|
+
strong?: boolean
|
|
5009
|
+
}
|
|
5010
|
+
```
|
|
5011
|
+
|
|
4280
5012
|
### MTimeline
|
|
4281
5013
|
|
|
4282
5014
|
An event timeline with icon dots, dates, and colors — a single column, alternating left/right, or horizontal. With `current` (or items' `status`) it tracks progress: done steps filled with a solid line, the current one pulsing, the rest outlined with a dashed line. Every part can be replaced through slots, which receive `{ item, index }`; your item type flows into them.
|
|
@@ -4418,8 +5150,8 @@ Props:
|
|
|
4418
5150
|
- `variant?: "docked" | "floating" = "docked"` — Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)
|
|
4419
5151
|
- `orientation?: "horizontal" | "vertical" = "horizontal"` — Layout direction
|
|
4420
5152
|
- `color?: "surface" | "primary" | "secondary" | "tertiary" = "surface"` — Background color scheme
|
|
4421
|
-
- `fabPosition?: "
|
|
4422
|
-
- `align?: "center" | "
|
|
5153
|
+
- `fabPosition?: "end" | "start" | "none" = "none"` — Where the #fab slot renders relative to the toolbar body
|
|
5154
|
+
- `align?: "center" | "end" | "start" | "between" = "center"` — Item alignment along the main axis
|
|
4423
5155
|
- `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
|
|
4424
5156
|
- `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`
|
|
4425
5157
|
|
|
@@ -4475,7 +5207,7 @@ Slots:
|
|
|
4475
5207
|
|
|
4476
5208
|
### MTour
|
|
4477
5209
|
|
|
4478
|
-
A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim.
|
|
5210
|
+
A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim. With `interactive` the page stays usable: no scrim, the target gets a ring drawn over it (the element itself is left alone) and the ring and the tooltip follow it every frame, for targets that move (a canvas being panned, a panel opening). With `v-model:step` the page drives the steps itself (a tutorial that moves on when the user has done what a step asks, or skips the ones already done), and the `content`/`actions` slots replace the text and the buttons.
|
|
4479
5211
|
|
|
4480
5212
|
Props:
|
|
4481
5213
|
- `modelValue: boolean` (v-model) — Show/hide the tour (v-model)
|
|
@@ -4483,14 +5215,28 @@ Props:
|
|
|
4483
5215
|
- `prevLabel?: string` — Label for the Previous button (defaults to the locale string, 'Previous')
|
|
4484
5216
|
- `nextLabel?: string` — Label for the Next button (defaults to the locale string, 'Next')
|
|
4485
5217
|
- `finishLabel?: string` — Label for the final step's button (defaults to the locale string, 'Finish')
|
|
5218
|
+
- `step?: number` (v-model:step) — The current step's index (v-model:step); without it the tour keeps its own
|
|
5219
|
+
- `interactive?: boolean` — Leaves the page usable while the tour is open: no scrim, a ring drawn over the target instead of lifting the target itself, tooltip and ring following the target as it moves, no scrolling to it
|
|
4486
5220
|
|
|
4487
5221
|
Events:
|
|
4488
5222
|
- `update:modelValue(boolean)` — Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model
|
|
4489
5223
|
- `finish()` — Emitted when the user completes the last step (clicks the finish button)
|
|
5224
|
+
- `update:step(number)` — Emitted when the current step changes (v-model:step)
|
|
5225
|
+
|
|
5226
|
+
Slots:
|
|
5227
|
+
- `#indicator { index: number; count: number; }` — Replaces the "2 / 5" over the step. Scope: `{ index, count }`
|
|
5228
|
+
- `#content { step: TourStep; index: number; }` — Replaces a step's title and text. Scope: `{ step, index }`
|
|
5229
|
+
- `#progress { index: number; count: number; }` — Replaces the progress dots. Scope: `{ index, count }`
|
|
5230
|
+
- `#actions { step: TourStep; index: number; isFirst: boolean; isLast: boolean; next: () => void; prev: () => void; close: () => void; }` — Replaces the Previous/Next buttons. Scope: `{ step, index, isFirst, isLast, next, prev, close }`
|
|
4490
5231
|
|
|
4491
5232
|
```ts
|
|
4492
5233
|
export interface TourStep {
|
|
4493
|
-
|
|
5234
|
+
/**
|
|
5235
|
+
* The element to highlight and point at: a CSS selector, or a function returning the element (looked up again
|
|
5236
|
+
* on every frame in `interactive` mode, so it can change). None, or none found: the tooltip sits in the viewport,
|
|
5237
|
+
* on its `placement` side (centered without one)
|
|
5238
|
+
*/
|
|
5239
|
+
target?: string | (() => Element | null | undefined)
|
|
4494
5240
|
title: string
|
|
4495
5241
|
content: string
|
|
4496
5242
|
placement?: 'top' | 'bottom' | 'left' | 'right'
|
|
@@ -4752,6 +5498,50 @@ export interface VTableColumn {
|
|
|
4752
5498
|
}
|
|
4753
5499
|
```
|
|
4754
5500
|
|
|
5501
|
+
### MVitalsChart
|
|
5502
|
+
|
|
5503
|
+
A vitals flowsheet: one row per vital sign (heart rate, blood pressure, SpO₂, temperature, respiratory rate…) over a shared time axis, each with its normal range as a band, readings outside it in the error color, and the latest value (with a High / Low tag) beside the row. Blood pressure and other pair readings are drawn as bars from the lower to the upper value. Hovering (or the arrow keys) moves a crosshair across every row at once.
|
|
5504
|
+
|
|
5505
|
+
Props:
|
|
5506
|
+
- `series: VitalSeries[]`
|
|
5507
|
+
- `rowHeight?: number = 64` — Height of each row's plot, in px
|
|
5508
|
+
- `from?: string | number | Date` — Start of the time axis (defaults to the first reading)
|
|
5509
|
+
- `to?: string | number | Date` — End of the time axis (defaults to the last reading)
|
|
5510
|
+
|
|
5511
|
+
Events:
|
|
5512
|
+
- `hover(number | null)` — The time under the crosshair (epoch ms), or null when it leaves
|
|
5513
|
+
|
|
5514
|
+
Slots:
|
|
5515
|
+
- `#label { series: { data: VitalReading[]; key: string; label: string; unit?: string | undefined; color?: string | undefined; decimals?: number | undefined; normal?: [number, number] | [[number, number], [number, number]] | undefined; domain?: [number, number] | undefined; }; reading: VitalReading | undefined; status: "normal" | "high" | "low"; }` — Replaces a row's label column. Slot props: `{ series, reading, status }`
|
|
5516
|
+
|
|
5517
|
+
```ts
|
|
5518
|
+
/** A vital sign: its readings, unit and normal range. */
|
|
5519
|
+
export interface VitalSeries {
|
|
5520
|
+
key: string
|
|
5521
|
+
label: string
|
|
5522
|
+
unit?: string
|
|
5523
|
+
/** Line / point color (any CSS color). Defaults to the primary color */
|
|
5524
|
+
color?: string
|
|
5525
|
+
decimals?: number
|
|
5526
|
+
/**
|
|
5527
|
+
* Normal range, drawn as a band. For pair readings give one range per value:
|
|
5528
|
+
* `[[90, 120], [60, 80]]` for systolic and diastolic
|
|
5529
|
+
*/
|
|
5530
|
+
normal?: [number, number] | [[number, number], [number, number]]
|
|
5531
|
+
/** Fixed axis range; by default it fits the readings and the normal band */
|
|
5532
|
+
domain?: [number, number]
|
|
5533
|
+
data: VitalReading[]
|
|
5534
|
+
}
|
|
5535
|
+
```
|
|
5536
|
+
|
|
5537
|
+
```ts
|
|
5538
|
+
/** One reading of a vital sign. A pair is a range reading such as blood pressure: `[systolic, diastolic]`. */
|
|
5539
|
+
export interface VitalReading {
|
|
5540
|
+
time: Date | string | number
|
|
5541
|
+
value: number | [number, number]
|
|
5542
|
+
}
|
|
5543
|
+
```
|
|
5544
|
+
|
|
4755
5545
|
### MWindow
|
|
4756
5546
|
|
|
4757
5547
|
A floating, draggable, resizable window — the building block for a desktop-style multi-window UI inside your app. Drag from the title bar, resize from any edge or corner, minimize to just the title bar, maximize (or double-click the title bar) to fill its container, and click any window to bring it to front. The window in front shows a stronger title bar and elevation, the others step back. Material 3 has no window component, so this one is built from M3 pieces: surface tones, elevation levels, 32dp icon buttons with state layers, and standard motion.
|
|
@@ -4978,7 +5768,7 @@ Import from `@m3ui-vue/m3ui-vue/flow`.
|
|
|
4978
5768
|
Right-angled steps with rounded corners (`borderRadius`, default 8; 0 gives sharp steps). `offset` (default 20) is how far it leaves a node before turning
|
|
4979
5769
|
|
|
4980
5770
|
```ts
|
|
4981
|
-
getSmoothStepPath(p: FlowEdgePathParams & { borderRadius?: number; offset?: number }): FlowEdgePath
|
|
5771
|
+
getSmoothStepPath(p: FlowEdgePathParams & FlowStepCenter & { borderRadius?: number; offset?: number }): FlowEdgePath
|
|
4982
5772
|
```
|
|
4983
5773
|
|
|
4984
5774
|
### getStepPath
|
|
@@ -4988,7 +5778,7 @@ Import from `@m3ui-vue/m3ui-vue/flow`.
|
|
|
4988
5778
|
`getSmoothStepPath` with sharp corners
|
|
4989
5779
|
|
|
4990
5780
|
```ts
|
|
4991
|
-
getStepPath(p: FlowEdgePathParams & { offset?: number; route?: number[] }): FlowEdgePath
|
|
5781
|
+
getStepPath(p: FlowEdgePathParams & FlowStepCenter & { offset?: number; route?: number[] }): FlowEdgePath
|
|
4992
5782
|
```
|
|
4993
5783
|
|
|
4994
5784
|
### getStraightPath
|
|
@@ -5005,10 +5795,8 @@ getStraightPath(p: FlowEdgePathParams): FlowEdgePath
|
|
|
5005
5795
|
|
|
5006
5796
|
Import from `@m3ui-vue/m3ui-vue/flow`.
|
|
5007
5797
|
|
|
5008
|
-
The corners of an orthogonal route between the ends, leaving and arriving square to the sides
|
|
5009
|
-
|
|
5010
5798
|
```ts
|
|
5011
|
-
smoothStepPoints(p: FlowEdgePathParams & { offset?: number }): Pt[]
|
|
5799
|
+
smoothStepPoints(p: FlowEdgePathParams & FlowStepCenter & { offset?: number }): Pt[]
|
|
5012
5800
|
```
|
|
5013
5801
|
|
|
5014
5802
|
### routePoints
|
|
@@ -5888,6 +6676,54 @@ A decor kind's name: a built-in one in the app's language (unless renamed), else
|
|
|
5888
6676
|
floorDecorName(kind: string, kinds: Record<string, FloorDecorKind>, locale: M3Locale): string
|
|
5889
6677
|
```
|
|
5890
6678
|
|
|
6679
|
+
### detectCardBrand
|
|
6680
|
+
|
|
6681
|
+
Card network of a (partial) number, from its leading digits. Spaces and dashes are ignored.
|
|
6682
|
+
|
|
6683
|
+
```ts
|
|
6684
|
+
detectCardBrand(number: string): CardBrandInfo
|
|
6685
|
+
```
|
|
6686
|
+
|
|
6687
|
+
### luhnCheck
|
|
6688
|
+
|
|
6689
|
+
Luhn (mod 10) checksum of a card number. Spaces and dashes are ignored.
|
|
6690
|
+
|
|
6691
|
+
```ts
|
|
6692
|
+
luhnCheck(number: string): boolean
|
|
6693
|
+
```
|
|
6694
|
+
|
|
6695
|
+
### formatCardNumber
|
|
6696
|
+
|
|
6697
|
+
Formats digits with the brand's gaps: `"4242424242424242"` → `"4242 4242 4242 4242"`.
|
|
6698
|
+
|
|
6699
|
+
```ts
|
|
6700
|
+
formatCardNumber(number: string): string
|
|
6701
|
+
```
|
|
6702
|
+
|
|
6703
|
+
### isValidCardNumber
|
|
6704
|
+
|
|
6705
|
+
Whether a card number is complete and valid for its brand (length, plus Luhn where the network uses it).
|
|
6706
|
+
|
|
6707
|
+
```ts
|
|
6708
|
+
isValidCardNumber(number: string): boolean
|
|
6709
|
+
```
|
|
6710
|
+
|
|
6711
|
+
### isValidExpiry
|
|
6712
|
+
|
|
6713
|
+
Whether an `MM/YY` expiry is well formed and not in the past (a card is valid through its expiry month).
|
|
6714
|
+
|
|
6715
|
+
```ts
|
|
6716
|
+
isValidExpiry(expiry: string, now: Date = new Date()): boolean
|
|
6717
|
+
```
|
|
6718
|
+
|
|
6719
|
+
### amortize
|
|
6720
|
+
|
|
6721
|
+
Builds the payment schedule of a loan. Amounts are rounded to cents per payment and the last payment absorbs the rounding, so the balance ends at exactly 0.
|
|
6722
|
+
|
|
6723
|
+
```ts
|
|
6724
|
+
amortize({ principal, rate, years, system = 'french', periodsPerYear = 12 }: AmortizationOptions): Amortization
|
|
6725
|
+
```
|
|
6726
|
+
|
|
5891
6727
|
### emojiCategories
|
|
5892
6728
|
|
|
5893
6729
|
```ts
|
|
@@ -6360,6 +7196,8 @@ export interface FlowContext {
|
|
|
6360
7196
|
* there (as the `branch` event gives). For dropping something onto an edge, e.g. a junction
|
|
6361
7197
|
*/
|
|
6362
7198
|
getEdgeAt(p: FlowXY, opts?: { radius?: number; ignore?: (e: FlowEdge) => boolean }): FlowEdgeHit | null
|
|
7199
|
+
/** The SVG path (`d`, flow coordinates) an edge is drawn along right now, its own route and edgeSpacing included: to draw it elsewhere, e.g. an exported image */
|
|
7200
|
+
getEdgePath(id: string): string | null
|
|
6363
7201
|
/** Page (client) coordinates → flow coordinates */
|
|
6364
7202
|
screenToFlow(p: { x: number; y: number }): FlowXY
|
|
6365
7203
|
flowToScreen(p: FlowXY): { x: number; y: number }
|
|
@@ -6389,6 +7227,8 @@ export interface FlowContext {
|
|
|
6389
7227
|
cut(): void
|
|
6390
7228
|
/** Pastes what was copied, at a flow point (default a step from the originals) */
|
|
6391
7229
|
paste(at?: FlowXY): void
|
|
7230
|
+
/** Copies of the selection (with the edges between them) a step away, selected; the clipboard stays as it was */
|
|
7231
|
+
duplicate(): void
|
|
6392
7232
|
/**
|
|
6393
7233
|
* Drags a node with a pointer that's already down, e.g. one just added from a palette outside the canvas: it
|
|
6394
7234
|
* follows the pointer from there (guides, splicing into an edge) until it's let go. With a finger, the page
|
|
@@ -6582,6 +7422,18 @@ export interface FlowEdgePathParams {
|
|
|
6582
7422
|
export type FlowPosition = 'top' | 'right' | 'bottom' | 'left'
|
|
6583
7423
|
```
|
|
6584
7424
|
|
|
7425
|
+
```ts
|
|
7426
|
+
/** The corners of an orthogonal route between the ends, leaving and arriving square to the sides */
|
|
7427
|
+
/**
|
|
7428
|
+
* Where a step edge from `sourcePosition` to `targetPosition` turns. `centerX` / `centerY` move its middle run (the
|
|
7429
|
+
* one halfway between the ends) off the halfway point, e.g. to keep it off another edge's
|
|
7430
|
+
*/
|
|
7431
|
+
export interface FlowStepCenter {
|
|
7432
|
+
centerX?: number
|
|
7433
|
+
centerY?: number
|
|
7434
|
+
}
|
|
7435
|
+
```
|
|
7436
|
+
|
|
6585
7437
|
```ts
|
|
6586
7438
|
/** A layout: MFlow's `layout` prop and `layout()` take one */
|
|
6587
7439
|
export type FlowLayout = (
|
|
@@ -7840,6 +8692,152 @@ export interface M3Locale {
|
|
|
7840
8692
|
drawUnlockLayer: string
|
|
7841
8693
|
drawLayerUp: string
|
|
7842
8694
|
drawLayerDown: string
|
|
8695
|
+
// MBeforeAfter
|
|
8696
|
+
compareBefore: string
|
|
8697
|
+
compareAfter: string
|
|
8698
|
+
compareSlider: string
|
|
8699
|
+
// MCreditCardInput
|
|
8700
|
+
cardNumber: string
|
|
8701
|
+
cardExpiry: string
|
|
8702
|
+
cardCvc: string
|
|
8703
|
+
cardName: string
|
|
8704
|
+
cardInvalidNumber: string
|
|
8705
|
+
cardInvalidExpiry: string
|
|
8706
|
+
cardInvalidCvc: string
|
|
8707
|
+
// MPosKeypad
|
|
8708
|
+
keypadDelete: string
|
|
8709
|
+
keypadClear: string
|
|
8710
|
+
keypadChange: string
|
|
8711
|
+
keypadRemaining: string
|
|
8712
|
+
// MSeatMap ({seat} is replaced at runtime)
|
|
8713
|
+
seatStage: string
|
|
8714
|
+
seatAvailable: string
|
|
8715
|
+
seatSelected: string
|
|
8716
|
+
seatOccupied: string
|
|
8717
|
+
seatLabel: string
|
|
8718
|
+
// MReceipt
|
|
8719
|
+
receiptSubtotal: string
|
|
8720
|
+
receiptTotal: string
|
|
8721
|
+
receiptPaid: string
|
|
8722
|
+
receiptChange: string
|
|
8723
|
+
// MProductConfigurator ({n} is replaced at runtime)
|
|
8724
|
+
configRequired: string
|
|
8725
|
+
configOptional: string
|
|
8726
|
+
configChooseUpTo: string
|
|
8727
|
+
configChooseAtLeast: string
|
|
8728
|
+
configChooseExactly: string
|
|
8729
|
+
configUnavailable: string
|
|
8730
|
+
configQuantity: string
|
|
8731
|
+
configIncrease: string
|
|
8732
|
+
configDecrease: string
|
|
8733
|
+
// MAvailabilityCalendar ({n} is replaced at runtime)
|
|
8734
|
+
availNight: string
|
|
8735
|
+
availNights: string
|
|
8736
|
+
availMinNights: string
|
|
8737
|
+
availCheckIn: string
|
|
8738
|
+
availCheckOut: string
|
|
8739
|
+
availSelectCheckIn: string
|
|
8740
|
+
availSelectCheckOut: string
|
|
8741
|
+
availUnavailable: string
|
|
8742
|
+
// MCandlestickChart
|
|
8743
|
+
chartOpen: string
|
|
8744
|
+
chartHigh: string
|
|
8745
|
+
chartLow: string
|
|
8746
|
+
chartClose: string
|
|
8747
|
+
chartVolume: string
|
|
8748
|
+
// MOrderBook
|
|
8749
|
+
bookPrice: string
|
|
8750
|
+
bookSize: string
|
|
8751
|
+
bookTotal: string
|
|
8752
|
+
bookSpread: string
|
|
8753
|
+
// MMortgageCalculator ({n} is replaced at runtime)
|
|
8754
|
+
mortgagePrice: string
|
|
8755
|
+
mortgageDown: string
|
|
8756
|
+
mortgageRate: string
|
|
8757
|
+
mortgageTerm: string
|
|
8758
|
+
mortgageYears: string
|
|
8759
|
+
mortgageLoan: string
|
|
8760
|
+
mortgageMonthly: string
|
|
8761
|
+
mortgageFirstPayment: string
|
|
8762
|
+
mortgageLastPayment: string
|
|
8763
|
+
mortgagePrincipal: string
|
|
8764
|
+
mortgageInterest: string
|
|
8765
|
+
mortgageTotal: string
|
|
8766
|
+
mortgageSchedule: string
|
|
8767
|
+
mortgageYear: string
|
|
8768
|
+
mortgageBalance: string
|
|
8769
|
+
// MBodyMap ({part} is replaced at runtime)
|
|
8770
|
+
bodyFront: string
|
|
8771
|
+
bodyBack: string
|
|
8772
|
+
bodyRight: string
|
|
8773
|
+
bodyLeft: string
|
|
8774
|
+
bodyRear: string
|
|
8775
|
+
bodyHead: string
|
|
8776
|
+
bodyNeck: string
|
|
8777
|
+
bodyChest: string
|
|
8778
|
+
bodyAbdomen: string
|
|
8779
|
+
bodyPelvis: string
|
|
8780
|
+
bodyShoulder: string
|
|
8781
|
+
bodyUpperArm: string
|
|
8782
|
+
bodyForearm: string
|
|
8783
|
+
bodyHand: string
|
|
8784
|
+
bodyThigh: string
|
|
8785
|
+
bodyKnee: string
|
|
8786
|
+
bodyLeg: string
|
|
8787
|
+
bodyFoot: string
|
|
8788
|
+
bodyUpperBack: string
|
|
8789
|
+
bodyLowerBack: string
|
|
8790
|
+
bodyGlute: string
|
|
8791
|
+
bodyCalf: string
|
|
8792
|
+
// MOdontogram ({n} is replaced at runtime)
|
|
8793
|
+
odontoTooth: string
|
|
8794
|
+
odontoUpper: string
|
|
8795
|
+
odontoLower: string
|
|
8796
|
+
odontoMesial: string
|
|
8797
|
+
odontoDistal: string
|
|
8798
|
+
odontoBuccal: string
|
|
8799
|
+
odontoLingual: string
|
|
8800
|
+
odontoOcclusal: string
|
|
8801
|
+
odontoCaries: string
|
|
8802
|
+
odontoFilling: string
|
|
8803
|
+
odontoSealant: string
|
|
8804
|
+
odontoCrown: string
|
|
8805
|
+
odontoRootCanal: string
|
|
8806
|
+
odontoImplant: string
|
|
8807
|
+
odontoMissing: string
|
|
8808
|
+
odontoExtraction: string
|
|
8809
|
+
odontoEraser: string
|
|
8810
|
+
// MVitalsChart
|
|
8811
|
+
vitalsNormal: string
|
|
8812
|
+
vitalsHigh: string
|
|
8813
|
+
vitalsLow: string
|
|
8814
|
+
vitalsNoData: string
|
|
8815
|
+
// MQuiz ({n}, {total}, {score}, {answer} are replaced at runtime)
|
|
8816
|
+
quizCheck: string
|
|
8817
|
+
quizNext: string
|
|
8818
|
+
quizFinish: string
|
|
8819
|
+
quizCorrect: string
|
|
8820
|
+
quizIncorrect: string
|
|
8821
|
+
quizCorrectAnswer: string
|
|
8822
|
+
quizQuestionOf: string
|
|
8823
|
+
quizScore: string
|
|
8824
|
+
quizPassed: string
|
|
8825
|
+
quizFailed: string
|
|
8826
|
+
quizRetry: string
|
|
8827
|
+
quizTrue: string
|
|
8828
|
+
quizFalse: string
|
|
8829
|
+
quizSelectAll: string
|
|
8830
|
+
quizOrderHint: string
|
|
8831
|
+
quizMoveUp: string
|
|
8832
|
+
quizMoveDown: string
|
|
8833
|
+
quizTypeAnswer: string
|
|
8834
|
+
quizTimeLeft: string
|
|
8835
|
+
quizReview: string
|
|
8836
|
+
// MCertificate
|
|
8837
|
+
certTitle: string
|
|
8838
|
+
certPresentedTo: string
|
|
8839
|
+
certDate: string
|
|
8840
|
+
certId: string
|
|
7843
8841
|
}
|
|
7844
8842
|
```
|
|
7845
8843
|
|
|
@@ -8254,6 +9252,79 @@ export type FloorTool = 'select' | 'wall' | 'area' | 'polygon'
|
|
|
8254
9252
|
export type FloorItemKind = 'table' | 'area' | 'wall' | 'decor'
|
|
8255
9253
|
```
|
|
8256
9254
|
|
|
9255
|
+
```ts
|
|
9256
|
+
/** Card networks recognized by `detectCardBrand()` and `MCreditCardInput`. */
|
|
9257
|
+
export type CardBrand =
|
|
9258
|
+
| 'visa'
|
|
9259
|
+
| 'mastercard'
|
|
9260
|
+
| 'amex'
|
|
9261
|
+
| 'discover'
|
|
9262
|
+
| 'diners'
|
|
9263
|
+
| 'jcb'
|
|
9264
|
+
| 'unionpay'
|
|
9265
|
+
| 'maestro'
|
|
9266
|
+
| 'naranja'
|
|
9267
|
+
| 'cabal'
|
|
9268
|
+
| 'unknown'
|
|
9269
|
+
```
|
|
9270
|
+
|
|
9271
|
+
```ts
|
|
9272
|
+
export interface CardBrandInfo {
|
|
9273
|
+
brand: CardBrand
|
|
9274
|
+
/** Display name, e.g. "Mastercard" */
|
|
9275
|
+
name: string
|
|
9276
|
+
/** Valid lengths of the number, in digits */
|
|
9277
|
+
lengths: number[]
|
|
9278
|
+
/** Digit counts after which a space is shown, e.g. [4, 8, 12] → `4242 4242 4242 4242` */
|
|
9279
|
+
gaps: number[]
|
|
9280
|
+
/** Length of the security code */
|
|
9281
|
+
cvcLength: number
|
|
9282
|
+
/** Whether the number has to pass the Luhn checksum */
|
|
9283
|
+
luhn: boolean
|
|
9284
|
+
}
|
|
9285
|
+
```
|
|
9286
|
+
|
|
9287
|
+
```ts
|
|
9288
|
+
export interface Amortization {
|
|
9289
|
+
payments: AmortizationPayment[]
|
|
9290
|
+
firstPayment: number
|
|
9291
|
+
lastPayment: number
|
|
9292
|
+
totalInterest: number
|
|
9293
|
+
totalPaid: number
|
|
9294
|
+
}
|
|
9295
|
+
```
|
|
9296
|
+
|
|
9297
|
+
```ts
|
|
9298
|
+
export interface AmortizationOptions {
|
|
9299
|
+
/** Amount borrowed */
|
|
9300
|
+
principal: number
|
|
9301
|
+
/** Yearly nominal interest rate, in percent (e.g. 6.5) */
|
|
9302
|
+
rate: number
|
|
9303
|
+
/** Term in years */
|
|
9304
|
+
years: number
|
|
9305
|
+
/**
|
|
9306
|
+
* `french`: the same payment every period (most of the world's mortgages).
|
|
9307
|
+
* `german`: the same principal every period, so payments start higher and fall.
|
|
9308
|
+
*/
|
|
9309
|
+
system?: 'french' | 'german'
|
|
9310
|
+
/** Payments per year */
|
|
9311
|
+
periodsPerYear?: number
|
|
9312
|
+
}
|
|
9313
|
+
```
|
|
9314
|
+
|
|
9315
|
+
```ts
|
|
9316
|
+
/** One payment of an amortization schedule. */
|
|
9317
|
+
export interface AmortizationPayment {
|
|
9318
|
+
/** 1-based payment number */
|
|
9319
|
+
n: number
|
|
9320
|
+
payment: number
|
|
9321
|
+
principal: number
|
|
9322
|
+
interest: number
|
|
9323
|
+
/** Balance left after this payment */
|
|
9324
|
+
balance: number
|
|
9325
|
+
}
|
|
9326
|
+
```
|
|
9327
|
+
|
|
8257
9328
|
```ts
|
|
8258
9329
|
// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.
|
|
8259
9330
|
// Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).
|
|
@@ -8272,7 +9343,7 @@ export interface EmojiCategory {
|
|
|
8272
9343
|
`M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
|
|
8273
9344
|
`esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`):
|
|
8274
9345
|
|
|
8275
|
-
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, 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, 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
|
|
9346
|
+
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, 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, 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
|
|
8276
9347
|
|
|
8277
9348
|
## Theme tokens
|
|
8278
9349
|
|