@m3ui-vue/m3ui-vue 1.11.1 → 1.12.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.
Files changed (84) hide show
  1. package/README.md +1 -1
  2. package/dist/API.md +432 -4
  3. package/dist/{MButton-BHKF1Tfd.js → MButton-BpsqEnrZ.js} +2 -2
  4. package/dist/{MButton-BHKF1Tfd.js.map → MButton-BpsqEnrZ.js.map} +1 -1
  5. package/dist/{MColorPickerModal-CNesUJUq.js → MColorPickerModal--1smY7Xd.js} +4 -4
  6. package/dist/{MColorPickerModal-CNesUJUq.js.map → MColorPickerModal--1smY7Xd.js.map} +1 -1
  7. package/dist/{MDialog-jAYkZ4M8.js → MDialog-BByDHo7n.js} +2 -2
  8. package/dist/{MDialog-jAYkZ4M8.js.map → MDialog-BByDHo7n.js.map} +1 -1
  9. package/dist/{MListItem-CgdM5sco.js → MListItem-BpblBJbK.js} +4 -4
  10. package/dist/{MListItem-CgdM5sco.js.map → MListItem-BpblBJbK.js.map} +1 -1
  11. package/dist/{MLoadingIndicator-00XbLQSf.js → MLoadingIndicator-MGhvPkvl.js} +2 -2
  12. package/dist/{MLoadingIndicator-00XbLQSf.js.map → MLoadingIndicator-MGhvPkvl.js.map} +1 -1
  13. package/dist/{MPdfViewer-KjUIJOIs.js → MPdfViewer-C_LzSv6W.js} +5 -5
  14. package/dist/{MPdfViewer-KjUIJOIs.js.map → MPdfViewer-C_LzSv6W.js.map} +1 -1
  15. package/dist/{MSeekBar-B4EEWw3B.js → MSeekBar-CFNWK7la.js} +2 -2
  16. package/dist/{MSeekBar-B4EEWw3B.js.map → MSeekBar-CFNWK7la.js.map} +1 -1
  17. package/dist/{MSegmentedButton-UOAJAd2i.js → MSegmentedButton-B4jBl8KM.js} +2 -2
  18. package/dist/{MSegmentedButton-UOAJAd2i.js.map → MSegmentedButton-B4jBl8KM.js.map} +1 -1
  19. package/dist/{MSignaturePad-HZavgiGB.js → MSignaturePad-CZFerYFU.js} +2 -2
  20. package/dist/{MSignaturePad-HZavgiGB.js.map → MSignaturePad-CZFerYFU.js.map} +1 -1
  21. package/dist/{MSlider-BaQeaozI.js → MSlider-CKv427qo.js} +3 -3
  22. package/dist/{MSlider-BaQeaozI.js.map → MSlider-CKv427qo.js.map} +1 -1
  23. package/dist/{MSpinner-CbEMPY4X.js → MSpinner-CUpMz5C4.js} +2 -2
  24. package/dist/{MSpinner-CbEMPY4X.js.map → MSpinner-CUpMz5C4.js.map} +1 -1
  25. package/dist/{MTextField-B9PwKHlP.js → MTextField-CjrgERTk.js} +3 -3
  26. package/dist/{MTextField-B9PwKHlP.js.map → MTextField-CjrgERTk.js.map} +1 -1
  27. package/dist/{_useFieldValidation-B7AAfa69.js → _useFieldValidation-Cw8-UGjy.js} +2 -2
  28. package/dist/{_useFieldValidation-B7AAfa69.js.map → _useFieldValidation-Cw8-UGjy.js.map} +1 -1
  29. package/dist/api.json +1 -1
  30. package/dist/code-editor.js +2 -2
  31. package/dist/components/MBetChip.vue.d.ts +26 -0
  32. package/dist/components/MCoinFlip.vue.d.ts +64 -0
  33. package/dist/components/MDice.vue.d.ts +40 -0
  34. package/dist/components/MPlayingCard.vue.d.ts +65 -0
  35. package/dist/components/MRoulette.vue.d.ts +48 -0
  36. package/dist/components/MRouletteTable.vue.d.ts +42 -0
  37. package/dist/components/MScratchCard.vue.d.ts +50 -0
  38. package/dist/components/MSlotMachine.vue.d.ts +115 -0
  39. package/dist/components/MSpinWheel.vue.d.ts +92 -0
  40. package/dist/composables/_gameMotion.d.ts +27 -0
  41. package/dist/composables/roulette.d.ts +43 -0
  42. package/dist/composables/useLocale.d.ts +51 -0
  43. package/dist/draw.js +2 -2
  44. package/dist/flow.js +1 -1
  45. package/dist/gantt.js +2 -2
  46. package/dist/index.d.ts +15 -0
  47. package/dist/locales/index.js +378 -9
  48. package/dist/locales/index.js.map +1 -1
  49. package/dist/m3ui-vue.css +1 -1
  50. package/dist/m3ui.js +3392 -1593
  51. package/dist/m3ui.js.map +1 -1
  52. package/dist/map.js +6 -6
  53. package/dist/media.js +4 -4
  54. package/dist/pdf-sign.js +7 -7
  55. package/dist/pdf.js +1 -1
  56. package/dist/rich-text-editor.js +5 -5
  57. package/dist/styles.css +1 -1
  58. package/dist/{useLocale-BAPJ34Pq.js → useLocale-DDY523xo.js} +43 -2
  59. package/dist/useLocale-DDY523xo.js.map +1 -0
  60. package/package.json +2 -2
  61. package/src/__tests__/games.test.ts +238 -0
  62. package/src/components/MBetChip.vue +121 -0
  63. package/src/components/MCoinFlip.vue +168 -0
  64. package/src/components/MDice.vue +193 -0
  65. package/src/components/MPlayingCard.vue +190 -0
  66. package/src/components/MRoulette.vue +254 -0
  67. package/src/components/MRouletteTable.vue +243 -0
  68. package/src/components/MScratchCard.vue +242 -0
  69. package/src/components/MSlotMachine.vue +216 -0
  70. package/src/components/MSpinWheel.vue +277 -0
  71. package/src/composables/_gameMotion.ts +106 -0
  72. package/src/composables/roulette.ts +89 -0
  73. package/src/composables/useLocale.ts +94 -0
  74. package/src/index.ts +18 -0
  75. package/src/locales/ar.ts +42 -0
  76. package/src/locales/de.ts +42 -0
  77. package/src/locales/es.ts +42 -0
  78. package/src/locales/fr.ts +42 -0
  79. package/src/locales/ja.ts +42 -0
  80. package/src/locales/ko.ts +42 -0
  81. package/src/locales/pl.ts +42 -0
  82. package/src/locales/pt.ts +42 -0
  83. package/src/locales/zh.ts +42 -0
  84. package/dist/useLocale-BAPJ34Pq.js.map +0 -1
package/README.md CHANGED
@@ -486,7 +486,7 @@ around what I need and what I have time for.
486
486
 
487
487
  Contributions are very welcome:
488
488
 
489
- - **Found a bug?** [Open an issue](https://github.com/SrWither/m3ui-vue/issues) with steps
489
+ - **Found a bug?** [Open an issue](https://github.com/m3ui-vue/m3ui-vue/issues) with steps
490
490
  to reproduce it (a minimal example helps a lot).
491
491
  - **Want to fix something or add a feature?** Pull requests are appreciated. For larger
492
492
  changes, opening an issue first to discuss the idea is a good way to avoid wasted effort.
package/dist/API.md CHANGED
@@ -1,4 +1,4 @@
1
- # @m3ui-vue/m3ui-vue 1.11.1 — API reference
1
+ # @m3ui-vue/m3ui-vue 1.12.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.
@@ -509,6 +509,20 @@ Slots:
509
509
  - `#before` — Content of the "before" side, replacing the `before` image
510
510
  - `#handle { position: number; dragging: boolean; }` — Replaces the round grip in the middle of the divider. Slot props: `{ position, dragging }`
511
511
 
512
+ ### MBetChip
513
+
514
+ MBetChip — a casino chip with its value, colored by denomination (1 white, 5 red, 25 green, 100 black, 500 purple, 1000 orange, 5000 gray-blue, like most casinos) or by `color`. `stack` draws a pile; `selected` lifts it with a primary ring, for a chip rack where the player picks the value to bet. Clickable chips are buttons.
515
+
516
+ Props:
517
+ - `value: number` — The chip's value
518
+ - `color?: string` — Fill: an M3 role or any CSS color; unset, the denomination's color
519
+ - `size?: number = 48` — Diameter in px
520
+ - `stack?: number = 1` — Chips piled under it (1 = a single chip)
521
+ - `selected?: boolean = false` — Lifted, with a primary ring
522
+ - `clickable?: boolean = false` — A button (also when it has a click listener)
523
+ - `disabled?: boolean = false`
524
+ - `text?: string` — Text on the chip; unset, the value in compact form (1K, 2.5K)
525
+
512
526
  ### MBodyMap
513
527
 
514
528
  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`.
@@ -1097,6 +1111,37 @@ Exposed (template ref):
1097
1111
  type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'
1098
1112
  ```
1099
1113
 
1114
+ ### MCoinFlip
1115
+
1116
+ MCoinFlip — a coin tossed in 3D that lands heads or tails. `flip('tails')` lands on that side; `flip()` draws it with `crypto.getRandomValues`. The side showing is a `v-model`. The faces are an icon and a word by default, or anything through `#heads` / `#tails` (a logo, a team's crest, a photo).
1117
+
1118
+ Props:
1119
+ - `modelValue?: CoinSide = "heads"` (v-model) — The side showing (v-model)
1120
+ - `size?: number = 96` — Diameter in px
1121
+ - `color?: string = "#d9a92e"` — Coin color: an M3 role or any CSS color (gold by default)
1122
+ - `headsIcon?: string = "crown"` — Icon on heads (unset with a `#heads` slot)
1123
+ - `tailsIcon?: string = "eco"` — Icon on tails
1124
+ - `duration?: number = 1600` — Milliseconds in the air
1125
+ - `flipOnClick?: boolean = true` — Tapping the coin tosses it
1126
+ - `disabled?: boolean = false`
1127
+
1128
+ Events:
1129
+ - `update:modelValue(side: CoinSide)`
1130
+ - `end(side: CoinSide)` — Emitted with the side once it has landed
1131
+ - `flip-start(side: CoinSide)` — Emitted with the side the coin will land on
1132
+
1133
+ Slots:
1134
+ - `#heads` — The heads face
1135
+ - `#tails` — The tails face
1136
+
1137
+ Exposed (template ref):
1138
+ - `flip: (result?: CoinSide | undefined) => Promise<CoinSide>`
1139
+ - `flipping: boolean`
1140
+
1141
+ ```ts
1142
+ export type CoinSide = 'heads' | 'tails'
1143
+ ```
1144
+
1100
1145
  ### MCollapse
1101
1146
 
1102
1147
  Shows and hides its content with a height animation to the content's exact size (grid rows 0fr → 1fr, so nothing overshoots or needs measuring). While closed the content is `inert`: no Tab stop, hidden from screen readers. `unmountOnClose` drops it once closed (and mounts it again on open). With reduced motion it switches at once. The building block `MExpansionPanel` uses; reach for it for any "show more" of your own.
@@ -1695,6 +1740,29 @@ Slots:
1695
1740
  - `#title` — Overrides the title prop with custom markup
1696
1741
  - `#actions` — Row of action buttons — wraps to a new line instead of overflowing when labels are long
1697
1742
 
1743
+ ### MDice
1744
+
1745
+ MDice — six-sided dice drawn in 3D that tumble and land on their values. `roll([3, 5])` lands on those (from your server, for anything that matters); `roll()` draws them with `crypto.getRandomValues`. The values are a `v-model`; tapping the dice rolls them (`rollOnClick`). Opposite faces add up to 7 like real dice.
1746
+
1747
+ Props:
1748
+ - `modelValue?: number[]` (v-model) — The faces showing (v-model); its length is how many dice there are, unless `count` says otherwise
1749
+ - `count?: number = 1` — How many dice (when there's no v-model)
1750
+ - `size?: number = 64` — Edge of a die in px
1751
+ - `color?: string = "#f7f4ec"` — Body color: an M3 role or any CSS color (ivory by default, with a red single pip like real dice)
1752
+ - `pipColor?: string` — Pip color; unset, the body's on-color
1753
+ - `duration?: number = 1400` — Milliseconds a roll lasts
1754
+ - `rollOnClick?: boolean = true` — Tapping the dice rolls them
1755
+ - `disabled?: boolean = false`
1756
+
1757
+ Events:
1758
+ - `update:modelValue(values: number[])`
1759
+ - `end(values: number[])` — Emitted with the values when every die has landed
1760
+ - `roll-start(values: number[])` — Emitted with the values the dice will land on
1761
+
1762
+ Exposed (template ref):
1763
+ - `roll: (to?: number[] | undefined) => Promise<number[]>`
1764
+ - `rolling: boolean`
1765
+
1698
1766
  ### MDiffViewer
1699
1767
 
1700
1768
  Shows what changed between two texts (code, config, prose): side by side or unified, with the changed words highlighted inside changed lines, line numbers, counts of added and removed lines, and long unchanged stretches folded behind a "Show N unchanged lines" row (`context` lines kept around each change). Below `breakpoint` (its own width) side by side becomes unified. No editor or extra dependency: its own line and word diff (`diffLines`, `diffWords`, exported too).
@@ -4653,6 +4721,34 @@ Exposed (template ref):
4653
4721
  - `validate: () => Promise<boolean>` — Checks its rules and shows the result; resolves to whether they pass
4654
4722
  - `resetValidation: () => void` — Hides its validation error (until the next check)
4655
4723
 
4724
+ ### MPlayingCard
4725
+
4726
+ MPlayingCard — a French-suited playing card: corner indices, the pips laid out as on a real deck for 2–10, a big suit for the ace, a framed letter for the court cards (no copyrighted art) and a joker. `faceDown` turns it over with a 3D flip; the back is a pattern in a role color, or yours through `#back`. Clickable cards are buttons, and `selected` lifts one (to pick cards from a hand). Screen readers hear "Queen of hearts" in the app's language.
4727
+
4728
+ Props:
4729
+ - `rank: CardRank`
4730
+ - `suit?: CardSuit = "spades"` — Ignored for the joker
4731
+ - `faceDown?: boolean = false` — Shows the back; changing it flips the card
4732
+ - `width?: number = 96` — Width in px (the height follows the 2.5 × 3.5 poker ratio)
4733
+ - `backColor?: string = "primary"` — Back color: an M3 role or any CSS color
4734
+ - `selected?: boolean = false` — Lifted, with a primary outline
4735
+ - `clickable?: boolean = false` — A button (also when it has a click listener)
4736
+ - `disabled?: boolean = false`
4737
+ - `redColor?: string = "#c62828"` — Red suits' color
4738
+ - `blackColor?: string = "#1d1b20"` — Black suits' color
4739
+
4740
+ Slots:
4741
+ - `#face { rank: CardRank; suit: CardSuit; }` — Replaces the whole face (`{ rank, suit }`), for decks of your own
4742
+ - `#back` — The card's back
4743
+
4744
+ ```ts
4745
+ export type CardSuit = 'spades' | 'hearts' | 'diamonds' | 'clubs'
4746
+ ```
4747
+
4748
+ ```ts
4749
+ export type CardRank = 'A' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | 'J' | 'Q' | 'K' | 'joker'
4750
+ ```
4751
+
4656
4752
  ### MPosKeypad
4657
4753
 
4658
4754
  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.
@@ -4803,7 +4899,7 @@ Props:
4803
4899
  - `value: string` — Data to encode. Required — there is no default.
4804
4900
  - `size?: number = 200` — Width/height in pixels (square)
4805
4901
  - `margin?: number = 4` — Quiet zone around the code, in modules.
4806
- - `errorCorrectionLevel?: "M" | "L" | "Q" | "H" = "M"` — Higher levels tolerate more damage/obstruction at the cost of a denser code
4902
+ - `errorCorrectionLevel?: "M" | "Q" | "L" | "H" = "M"` — Higher levels tolerate more damage/obstruction at the cost of a denser code
4807
4903
  - `color?: string = "#000000"` — Dark module color
4808
4904
  - `background?: string = "#ffffff"` — Light module / background color
4809
4905
  - `label?: string` — aria-label for the svg. Defaults to value
@@ -5110,7 +5206,7 @@ Props:
5110
5206
  - `listWidth?: number` (v-model:listWidth) — The resource column's width, px (`v-model:list-width`; drag its edge); 0 hides it
5111
5207
  - `rowHeight?: number = 56` — A row's least height; rows grow with their lanes
5112
5208
  - `laneHeight?: number = 40` — One lane's height (a booking and its gap)
5113
- - `overlap?: "prevent" | "stack" = "stack"` — `'stack'` (default): overlaps share the row in lanes and show as conflicts past `capacity`; `'prevent'` also refuses a drop that makes one
5209
+ - `overlap?: "stack" | "prevent" = "stack"` — `'stack'` (default): overlaps share the row in lanes and show as conflicts past `capacity`; `'prevent'` also refuses a drop that makes one
5114
5210
  - `creatable?: boolean = false` — Dragging across empty time asks for a booking there (`create`)
5115
5211
  - `readonly?: boolean = false`
5116
5212
  - `snap?: number` — Minutes bookings snap to (default 15; by zoom when zoomed far out); whole-day bookings snap to days
@@ -5253,6 +5349,52 @@ export interface RichTextEditorLabels {
5253
5349
  }
5254
5350
  ```
5255
5351
 
5352
+ ### MRoulette
5353
+
5354
+ MRoulette — a roulette wheel, European (37 pockets) or American (38), in the real pocket order. `spin(number)` turns the wheel one way and sends the ball the other; the ball drops from the track, bounces, lands in the pocket you asked for and rides it while the wheel slows down. Without a number one is drawn with `crypto.getRandomValues`, but anything with money on it should pass the server's. Pair it with MRouletteTable and `settleRoulette()` for the bets.
5355
+
5356
+ Props:
5357
+ - `variant?: RouletteVariant = "european"` — Single zero (37 pockets) or double zero (38)
5358
+ - `size?: number` — Diameter in px; unset, 320px (or the width a class gives it)
5359
+ - `duration?: number = 7000` — Milliseconds from the throw until the ball rests
5360
+ - `colors?: Partial<Record<RouletteColor, string>>` — Pocket colors; the defaults are casino red, black and green
5361
+ - `highlightResult?: boolean = true` — Keep the last number marked on the wheel
5362
+ - `label?: string` — Accessible name (defaults to the locale's)
5363
+
5364
+ Events:
5365
+ - `end(number: RouletteNumber, color: RouletteColor)` — Emitted with the number and its color when the ball comes to rest
5366
+ - `spin-start(number: RouletteNumber)` — Emitted with the number the ball will land on when a spin starts
5367
+
5368
+ Slots:
5369
+ - `#center` — Content over the wheel's center (the turret by default)
5370
+
5371
+ Exposed (template ref):
5372
+ - `spin: (number?: RouletteNumber | undefined) => Promise<RouletteNumber>`
5373
+ - `reset: () => void`
5374
+ - `spinning: boolean`
5375
+
5376
+ ### MRouletteTable
5377
+
5378
+ MRouletteTable — a roulette betting layout. Tapping a number, the line between two numbers (split), the corner of four, the bottom edge of a column (street) or between two of them (line), or an outside box puts a chip of `chipValue` there; bets live in `v-model` as `RouletteBet[]` (numbers covered and amount), which `settleRoulette(bets, number)` pays out. A secondary click (right click, long press) takes a chip back. With `highlight` the winning number and every bet that covers it light up. Horizontal, or vertical for phones.
5379
+
5380
+ Props:
5381
+ - `modelValue?: RouletteBet[] = []` (v-model) — The bets on the table (v-model)
5382
+ - `variant?: RouletteVariant = "european"` — Single zero or double zero (adds the 00 box and its bets)
5383
+ - `chipValue?: number = 1` — What one tap bets
5384
+ - `maxBet?: number` — Most that one spot may hold
5385
+ - `insideBets?: boolean = true` — Allow splits, corners, streets and lines (the tap zones between numbers)
5386
+ - `highlight?: RouletteNumber | null = null` — The winning number: lights it and every bet covering it
5387
+ - `disabled?: boolean = false` — No betting (while the wheel spins)
5388
+ - `orientation?: "horizontal" | "vertical" = "horizontal"` — Horizontal (12 columns across) or vertical (12 rows down, for phones)
5389
+ - `colors?: Partial<Record<"red" | "black" | "green", string>>` — Pocket colors, as in MRoulette
5390
+
5391
+ Events:
5392
+ - `update:modelValue(bets: RouletteBet[])`
5393
+ - `bet(bet: RouletteBet, amount: number)` — Emitted with the bet a chip was added to (or taken from, with a negative amount) and that amount
5394
+
5395
+ Exposed (template ref):
5396
+ - `clear: () => void`
5397
+
5256
5398
  ### MScaffold
5257
5399
 
5258
5400
  M3's app frame (Compose's `Scaffold`): a top app bar, the scrolling content, a bottom bar, a floating action button and a snackbar host, each in its place. The content scrolls on its own between the bars, and its element is handed to the `#topBar` slot as `scrollTarget`, so an `MTopAppBar` can react to it (`scroll-behavior`). The FAB sits 16dp above the bottom bar (or over it with `fab-position="end-overlay"`). Snackbars shown with `showSnackbar()` (a template ref) appear one at a time just above the bottom bar, and the FAB moves up out of their way, as in Gmail. It has no size of its own: give it one (`class="h-dvh"`).
@@ -5353,6 +5495,31 @@ Events:
5353
5495
  Slots:
5354
5496
  - `#default { seed: string | undefined; ready: boolean; }` — The content. Receives `{ seed, ready }`: the seed in use (the image's once it's read) and whether the scheme is applied yet
5355
5497
 
5498
+ ### MScratchCard
5499
+
5500
+ MScratchCard — a scratch-off: the slot's content sits under a cover that a finger or the mouse scratches away. Once `threshold` of it is gone the rest fades out and `revealed` fires. The cover is a color (an M3 role by default) with a hint, an image, or both. Keyboard and screen-reader users get a reveal button instead of scratching. Under the cover is ordinary markup: put the prize there (or fetch it when `revealed` fires).
5501
+
5502
+ Props:
5503
+ - `coverColor?: string = "surface-container-highest"` — Cover color: an M3 role (`'secondary'`) or any CSS color
5504
+ - `coverImage?: string` — An image painted on the cover
5505
+ - `hint?: string` — Text on the cover (defaults to the locale's "Scratch here"); empty for none
5506
+ - `brushSize?: number = 36` — Width of the scratch in px
5507
+ - `threshold?: number = 0.55` — Share scratched off (0–1) at which the rest clears by itself
5508
+ - `disabled?: boolean = false` — No scratching
5509
+
5510
+ Events:
5511
+ - `progress(share: number)` — Emitted with the share scratched off (0–1) as it changes
5512
+ - `revealed()` — Emitted once, when the cover is gone
5513
+
5514
+ Slots:
5515
+ - `#default` — What's under the cover
5516
+ - `#cover` — Extra content drawn over the cover (removed once it starts being scratched)
5517
+
5518
+ Exposed (template ref):
5519
+ - `reveal: () => void`
5520
+ - `reset: () => void`
5521
+ - `revealed: boolean`
5522
+
5356
5523
  ### MScrollable
5357
5524
 
5358
5525
  A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or M3's own: `scrollbar="indicator"` is the thin visual-only one (Compose's `Modifier.nonInteractiveScrollbar`), `scrollbar="interactive"` the 8dp one you can drag or click to jump (`Modifier.interactiveScrollbar`). Both appear while scrolling and fade out after; hovering the interactive one keeps it visible.
@@ -5852,6 +6019,55 @@ Exposed (template ref):
5852
6019
  - `validate: () => Promise<boolean>` — Checks its rules and shows the result; resolves to whether they pass
5853
6020
  - `resetValidation: () => void` — Hides its validation error (until the next check)
5854
6021
 
6022
+ ### MSlotMachine
6023
+
6024
+ MSlotMachine — reels of symbols that spin and stop one after another, each with a small overshoot as it lands. `spin(['cherry', 'cherry', 'seven'])` stops the reels on those symbols (on the middle row); without them each reel picks by `weight` with `crypto.getRandomValues`. Whether that's a win is yours to decide: pass the winning reels to `highlight` to light them. Symbols are emoji/text, Material Symbols icons or images, or anything through `#symbol`.
6025
+
6026
+ Props:
6027
+ - `symbols?: SlotSymbol[] = []` — The symbols the reels carry
6028
+ - `reels?: number = 3` — How many reels
6029
+ - `rows?: number = 3` — Rows visible on each reel (the middle one is the payline)
6030
+ - `symbolSize?: number = 72` — Height of a symbol's cell in px
6031
+ - `duration?: number = 1800` — Milliseconds until the first reel stops
6032
+ - `stagger?: number = 450` — Milliseconds between one reel stopping and the next
6033
+ - `highlight?: boolean | number[] = false` — Reels to light as winners (true = all); the payline cell glows
6034
+ - `payline?: boolean = true` — Draw the payline across the middle row
6035
+ - `spinButton?: boolean = true` — Show the spin button under the reels
6036
+ - `disabled?: boolean = false`
6037
+ - `label?: string` — Accessible name (defaults to the locale's)
6038
+
6039
+ Events:
6040
+ - `end(ids: string[])` — Emitted with the ids on the middle row when the last reel stops
6041
+ - `spin-start(ids: string[])` — Emitted with the ids the reels will stop on
6042
+ - `reel-stop(reel: number, id: string)` — Emitted with the reel's index and its symbol's id as each reel lands
6043
+
6044
+ Slots:
6045
+ - `#symbol { symbol: { id: string; label?: string | undefined; text?: string | undefined; icon?: string | undefined; image?: string | undefined; color?: string | undefined; weight?: number | undefined; }; reel: number; row: number; }` — Draws a symbol (`{ symbol, reel, row }`)
6046
+
6047
+ Exposed (template ref):
6048
+ - `spin: (ids?: string[] | undefined) => Promise<string[]>`
6049
+ - `spinning: boolean`
6050
+
6051
+ ```ts
6052
+ /** A symbol on an MSlotMachine's reels */
6053
+ export interface SlotSymbol {
6054
+ /** What `spin()` takes and `end` gives back */
6055
+ id: string
6056
+ /** Accessible name (defaults to the id) */
6057
+ label?: string
6058
+ /** An emoji or short text drawn on the reel */
6059
+ text?: string
6060
+ /** A Material Symbols icon */
6061
+ icon?: string
6062
+ /** An image URL */
6063
+ image?: string
6064
+ /** Icon/text color: an M3 role or any CSS color */
6065
+ color?: string
6066
+ /** How often it shows up when the machine picks (default 1) */
6067
+ weight?: number
6068
+ }
6069
+ ```
6070
+
5855
6071
  ### MSnackbar
5856
6072
 
5857
6073
  Renders the toasts shown with `useToast()`. It's mounted for you the first time `useToast()` is called, so you don't place it yourself; its position comes from `useToast().position`.
@@ -5893,6 +6109,54 @@ Props:
5893
6109
  - `wavy?: boolean = false` — M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin
5894
6110
  - `label?: string` — Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted
5895
6111
 
6112
+ ### MSpinWheel
6113
+
6114
+ MSpinWheel — a prize wheel: slices with a label (and icon) that spin and stop under the pointer on a result. The result comes from you (`spin(index)`, e.g. from your server, for anything that matters) or, without one, is picked by slice `weight` with `crypto.getRandomValues`. The stop is a friction-like deceleration played by the compositor, landing somewhere inside the slice rather than dead center; the pointer flaps at each slice it passes (`tick`, for a sound). Keyboard and screen readers: the center is a button, and the result is announced.
6115
+
6116
+ Props:
6117
+ - `segments?: SpinWheelSegment[] = []` — The slices, clockwise from the top
6118
+ - `size?: number` — Diameter in px; unset, 320px (or the width a class gives it)
6119
+ - `duration?: number = 5000` — Milliseconds a spin lasts
6120
+ - `turns?: number = 5` — Whole turns before it stops (at least)
6121
+ - `pointer?: "top" | "right" | "bottom" | "left" = "top"` — Where the pointer sits
6122
+ - `sizeByWeight?: boolean = false` — Slices sized by `size` (or `weight`) instead of equal
6123
+ - `centerButton?: boolean = true` — Show the center button, which spins the wheel
6124
+ - `landSpread?: number = 0.7` — How far from the slice's middle it may stop, 0 (always the middle) to 1 (up to the edge)
6125
+ - `disabled?: boolean = false` — No spinning (the center button is disabled; `spin()` does nothing)
6126
+ - `label?: string` — Accessible name of the wheel (defaults to the locale's)
6127
+
6128
+ Events:
6129
+ - `end(index: number, segment: SpinWheelSegment)` — Emitted with the result's index (and its segment) when the wheel stops
6130
+ - `tick(index: number)` — Emitted with the index of each slice that passes under the pointer
6131
+ - `spin-start(index: number)` — Emitted with the result's index when a spin starts
6132
+
6133
+ Slots:
6134
+ - `#pointer` — Replaces the pointer
6135
+ - `#center { spinning: boolean; }` — Replaces the center button's content (`{ spinning }`)
6136
+
6137
+ Exposed (template ref):
6138
+ - `spin: (index?: number | undefined) => Promise<number>`
6139
+ - `reset: () => void`
6140
+ - `spinning: boolean`
6141
+
6142
+ ```ts
6143
+ /** One slice of an MSpinWheel */
6144
+ export interface SpinWheelSegment {
6145
+ /** Text on the slice */
6146
+ label: string
6147
+ /** A Material Symbols icon drawn before the label (nearer the center) */
6148
+ icon?: string
6149
+ /** Fill: an M3 role (`'primary-container'`) or any CSS color. Unset, the slices cycle through the containers */
6150
+ color?: string
6151
+ /** Text color; unset, the role's on-color (or black/white for a CSS color) */
6152
+ textColor?: string
6153
+ /** Chance of winning when `spin()` picks the result itself (default 1); never used when you pass the result */
6154
+ weight?: number
6155
+ /** Relative size of the slice when `sizeByWeight` is on (defaults to its weight) */
6156
+ size?: number
6157
+ }
6158
+ ```
6159
+
5896
6160
  ### MSplitButton
5897
6161
 
5898
6162
  A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.
@@ -8711,6 +8975,72 @@ Builds the payment schedule of a loan. Amounts are rounded to cents per payment
8711
8975
  amortize({ principal, rate, years, system = 'french', periodsPerYear = 12 }: AmortizationOptions): Amortization
8712
8976
  ```
8713
8977
 
8978
+ ### EUROPEAN_WHEEL
8979
+
8980
+ Pocket order clockwise from 0, as on a real single-zero wheel
8981
+
8982
+ ```ts
8983
+ EUROPEAN_WHEEL: readonly RouletteNumber[]
8984
+ ```
8985
+
8986
+ ### AMERICAN_WHEEL
8987
+
8988
+ Pocket order clockwise from 0, as on a real double-zero wheel
8989
+
8990
+ ```ts
8991
+ AMERICAN_WHEEL: readonly RouletteNumber[]
8992
+ ```
8993
+
8994
+ ### RED_NUMBERS
8995
+
8996
+ ```ts
8997
+ RED_NUMBERS: readonly number[]
8998
+ ```
8999
+
9000
+ ### rouletteWheel
9001
+
9002
+ ```ts
9003
+ rouletteWheel(variant: RouletteVariant = 'european'): readonly RouletteNumber[]
9004
+ ```
9005
+
9006
+ ### rouletteColor
9007
+
9008
+ ```ts
9009
+ rouletteColor(n: RouletteNumber): RouletteColor
9010
+ ```
9011
+
9012
+ ### outsideNumbers
9013
+
9014
+ The numbers an outside bet covers (`index` 0–2 for a column or dozen; column 0 is 1, 4, 7…)
9015
+
9016
+ ```ts
9017
+ outsideNumbers(kind: 'column' | 'dozen' | 'low' | 'high' | 'even' | 'odd' | 'red' | 'black', index = 0): number[]
9018
+ ```
9019
+
9020
+ ### roulettePayoutRate
9021
+
9022
+ What a winning bet pays per unit, not counting the stake back: 35 for a number, 17 a split, 11 a street, 8 a corner, 6 the American top line, 5 a line, 2 a column or dozen, 1 the even-money bets.
9023
+
9024
+ ```ts
9025
+ roulettePayoutRate(bet: Pick<RouletteBet, 'numbers'>): number
9026
+ ```
9027
+
9028
+ ### rouletteBetKey
9029
+
9030
+ A key that is the same for two bets on the same spot (to merge chips)
9031
+
9032
+ ```ts
9033
+ rouletteBetKey(bet: Pick<RouletteBet, 'kind' | 'numbers'>): string
9034
+ ```
9035
+
9036
+ ### settleRoulette
9037
+
9038
+ Settles `bets` against the pocket the ball landed in
9039
+
9040
+ ```ts
9041
+ settleRoulette(bets: RouletteBet[], result: RouletteNumber): RouletteSettlement
9042
+ ```
9043
+
8714
9044
  ### emojiCategories
8715
9045
 
8716
9046
  ```ts
@@ -11411,6 +11741,58 @@ export interface M3Locale {
11411
11741
  certPresentedTo: string
11412
11742
  certDate: string
11413
11743
  certId: string
11744
+ // Games
11745
+ /** Spin button of the game components (MSpinWheel, MSlotMachine) */
11746
+ gameSpin: string
11747
+ gameSpinning: string
11748
+ /** Announced when a game stops, `{result}` */
11749
+ gameResult: string
11750
+ spinWheelLabel: string
11751
+ rouletteLabel: string
11752
+ /** Announced when the ball rests: `{number}`, `{color}` */
11753
+ rouletteResult: string
11754
+ rouletteRed: string
11755
+ rouletteBlack: string
11756
+ rouletteGreen: string
11757
+ rouletteTableLabel: string
11758
+ /** Column bet box */
11759
+ rouletteColumn: string
11760
+ rouletteDozen1: string
11761
+ rouletteDozen2: string
11762
+ rouletteDozen3: string
11763
+ /** Low (1–18) box */
11764
+ rouletteLow: string
11765
+ /** High (19–36) box */
11766
+ rouletteHigh: string
11767
+ rouletteEven: string
11768
+ rouletteOdd: string
11769
+ /** A betting spot's chips, `{amount}` */
11770
+ rouletteOnSpot: string
11771
+ slotMachineLabel: string
11772
+ diceRoll: string
11773
+ diceRolling: string
11774
+ /** Announced after a roll: `{values}`, `{total}` */
11775
+ diceResult: string
11776
+ /** Dice's accessible name, `{values}` */
11777
+ diceShowing: string
11778
+ coinFlip: string
11779
+ coinFlipping: string
11780
+ coinHeads: string
11781
+ coinTails: string
11782
+ scratchHint: string
11783
+ scratchReveal: string
11784
+ playingCardAce: string
11785
+ playingCardJack: string
11786
+ playingCardQueen: string
11787
+ playingCardKing: string
11788
+ playingCardJoker: string
11789
+ playingCardSpades: string
11790
+ playingCardHearts: string
11791
+ playingCardDiamonds: string
11792
+ playingCardClubs: string
11793
+ /** A card's accessible name: `{rank}`, `{suit}` */
11794
+ playingCardName: string
11795
+ playingCardFaceDown: string
11414
11796
  }
11415
11797
  ```
11416
11798
 
@@ -12140,6 +12522,52 @@ export interface AmortizationPayment {
12140
12522
  }
12141
12523
  ```
12142
12524
 
12525
+ ```ts
12526
+ /**
12527
+ * Roulette rules shared by MRoulette (the wheel) and MRouletteTable (the betting layout): pocket order, colors,
12528
+ * bets and payouts. Pure functions, so a server can run the same payout math.
12529
+ */
12530
+
12531
+ /** A pocket: 0–36, or '00' on the American wheel */
12532
+ export type RouletteNumber = number | '00'
12533
+ ```
12534
+
12535
+ ```ts
12536
+ export type RouletteVariant = 'european' | 'american'
12537
+ ```
12538
+
12539
+ ```ts
12540
+ export type RouletteColor = 'red' | 'black' | 'green'
12541
+ ```
12542
+
12543
+ ```ts
12544
+ /** A bet on the table: the numbers it covers and how much is on it */
12545
+ export interface RouletteBet {
12546
+ kind: RouletteBetKind
12547
+ numbers: RouletteNumber[]
12548
+ amount: number
12549
+ }
12550
+ ```
12551
+
12552
+ ```ts
12553
+ export type RouletteBetKind =
12554
+ | 'straight' | 'split' | 'street' | 'trio' | 'corner' | 'first-four' | 'top-line' | 'line'
12555
+ | 'column' | 'dozen' | 'low' | 'high' | 'even' | 'odd' | 'red' | 'black'
12556
+ ```
12557
+
12558
+ ```ts
12559
+ export interface RouletteSettlement {
12560
+ /** Everything staked */
12561
+ staked: number
12562
+ /** What goes back to the player: winning stakes plus their winnings */
12563
+ returned: number
12564
+ /** returned − staked */
12565
+ net: number
12566
+ /** The bets that won */
12567
+ winners: RouletteBet[]
12568
+ }
12569
+ ```
12570
+
12143
12571
  ```ts
12144
12572
  // Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.
12145
12573
  // Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).
@@ -12216,7 +12644,7 @@ export interface FilterGroup {
12216
12644
  `M3Locale` keys (pass a partial object to `createM3UI({ locale })`; presets from `@m3ui-vue/m3ui-vue/locales`:
12217
12645
  `esLocale`, `frLocale`, `ptLocale`, `deLocale`, `jaLocale`, `zhLocale`, `koLocale`, `arLocale`, `plLocale`):
12218
12646
 
12219
- lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, increase, decrease, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, selectRange, pickStart, pickEnd, previousMonth, nextMonth, selectColor, colorHue, colorSaturation, colorBrightness, colorAlpha, colorEyedropper, colorOriginal, colorFormat, colorRecent, colorPresets, dayView, weekView, allDay, emojiSearch, emojiNoResults, emojiRecent, emojiSkinTone, emojiSkinTones, emojiCategorySmileys, emojiCategoryGestures, emojiCategoryPeople, emojiCategoryAnimals, emojiCategoryNature, emojiCategoryFood, emojiCategoryActivities, emojiCategoryTravel, emojiCategoryObjects, emojiCategorySymbols, emojiCategoryFlags, available, selected, noItems, moveAllRight, moveRight, moveLeft, moveAllLeft, searchCommand, navigateHint, selectHint, openHint, closeHint, loadingMore, noMoreItems, bold, italic, underline, strikethrough, highlight, bulletList, orderedList, blockquote, code, alignLeft, alignCenter, alignRight, undo, redo, link, image, paragraph, heading1, heading2, heading3, insertLink, insertImage, imageUrlLabel, insert, jsonValid, jsonInvalid, jsonFormat, jsonMinify, jsonElements, jsonFields, resultSuccessTitle, resultSuccessDesc, resultErrorTitle, resultErrorDesc, resultWarningTitle, resultWarningDesc, resultInfoTitle, resultInfoDesc, result404Title, result404Desc, result403Title, result403Desc, result500Title, result500Desc, chatTyping, chatRecordingAudio, reorderHandle, reorderGrabbed, reorderMoved, reorderDropped, reorderCancelled, selectAll, clearSearch, kanbanMoved, windowMinimize, windowMaximize, windowRestore, paginationRange, paginationPage, previousPage, nextPage, firstPage, lastPage, goToPage, pagination, opensInNewTab, carousel, carouselItem, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapClusterZoom, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapDrawPoint, mapDrawLine, mapDrawPolygon, mapDeleteFeature, mapTotal, mapSearchPlaces, mapAddress, mapPressEnterToSearch, mapSearching, mapNoPlaces, mapRouteStop, mapRouteVehicle, spreadsheet, spreadsheetFormula, spreadsheetName, formSubmit, formBuilderEdit, formBuilderPreview, formBuilderJson, formBuilderAddField, formBuilderEmpty, formBuilderForm, formBuilderTitle, formBuilderDescription, formBuilderSubmitLabel, formBuilderLabel, formBuilderName, formBuilderPlaceholder, formBuilderHint, formBuilderRequired, formBuilderWidth, formBuilderWidthFull, formBuilderWidthHalf, formBuilderWidthThird, formBuilderWidthTwoThirds, formBuilderOptions, formBuilderMin, formBuilderMax, formBuilderStep, formBuilderMinLength, formBuilderMaxLength, formBuilderPattern, formBuilderPatternMessage, formBuilderRows, formBuilderShowWhen, formBuilderAlways, formBuilderEquals, formBuilderDuplicate, formBuilderDelete, formBuilderCopy, formBuilderCopied, codeCopy, codeCopied, paneResize, commentPlaceholder, commentReplyTo, commentReply, commentEdit, commentDelete, commentSave, commentSend, commentEdited, commentActions, commentShowReply, commentShowReplies, commentHideReplies, reactionAdd, reactionCount, avatarGroupMore, formBuilderSubmitted, formBuilderSelectField, formFieldText, formFieldEmail, formFieldPassword, formFieldTel, formFieldUrl, formFieldTextarea, formFieldNumber, formFieldSelect, formFieldAutocomplete, formFieldRadio, formFieldCheckbox, formFieldSwitch, formFieldDate, formFieldTime, formFieldSlider, formFieldRating, formFieldPhone, formFieldHeading, formFieldDivider, pdfSignSignature, pdfSignInitials, pdfSignName, pdfSignDate, pdfSignText, pdfSignCheckbox, pdfSignHere, pdfSignNext, pdfSignFinish, pdfSignProgress, pdfSignDraw, pdfSignTypeIt, pdfSignAdopt, pdfSignAddField, pdfSignRequired, pdfSignDelete, pdfSignComplete, trackingArrives, trackingArrivingNow, trackingDelivered, trackingDelayed, trackingCanceled, trackingShowDetails, trackingHideDetails, filterMatchAll, filterMatchAny, filterAddCondition, filterAddGroup, filterRemoveCondition, filterRemoveGroup, filterField, filterOperator, filterValue, filterFrom, filterTo, filterNoConditions, filterOpContains, filterOpNotContains, filterOpEquals, filterOpNotEquals, filterOpStartsWith, filterOpEndsWith, filterOpGt, filterOpGte, filterOpLt, filterOpLte, filterOpBetween, filterOpIn, filterOpNotIn, filterOpIsTrue, filterOpIsFalse, filterOpIsEmpty, filterOpIsNotEmpty, filterOpAfter, filterOpBefore, cronExpression, cronInvalid, cronNextRuns, cronFreqMinutes, cronFreqHourly, cronFreqDaily, cronFreqWeekly, cronFreqMonthly, cronFreqCustom, cronEvery, cronMinute, cronTime, cronDayOfMonth, cronEveryMinute, cronEveryNMinutes, cronHourlyAt, cronAt, cronEveryNHoursAt, cronMinutesOfHours, cronOnDaysOfMonth, cronInMonths, cronRange, country, timeZone, cameraStart, cameraStarting, cameraCapture, cameraRetake, cameraUsePhoto, cameraSwitch, cameraDenied, cameraUnavailable, cameraUnsupported, cameraFailed, qrHint, qrUnsupported, recorderStart, recorderStop, recorderPause, recorderResume, recorderDiscard, recorderUse, recorderPlay, recorderPausePlayback, recorderRecording, micDenied, micUnavailable, micUnsupported, dashGrabbed, dashPlaced, dashDropped, dashCancelled, dashResize, diffUnchanged, diffSplit, diffUnified, diffNoChanges, notifTitle, notifMarkAllRead, notifAll, notifUnread, notifEmpty, notifToday, notifYesterday, notifDismiss, notifMarkRead, notifMarkUnread, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, validationRequired, validationInvalid, validationEmail, validationUrl, validationMinLength, validationMaxLength, validationMinItems, validationMaxItems, validationMin, validationMax, validationPattern, validationSameAs, 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
12647
+ lang, search, noResults, close, cancel, confirm, loading, menu, previous, next, today, more, selectedCount, recordCount, expand, collapse, clear, increase, decrease, columns, exportCsv, noGroup, finish, dropText, selectText, maxSizePrefix, remove, selectDate, ok, dateToggleInput, dateToggleCalendar, dateSwitchToYear, dateSwitchToDay, heatmapLess, heatmapMore, meterRemaining, meterUsedOf, phoneCountry, phoneSearchCountry, phoneInvalid, dateInputLabel, selectTime, timeHourSelection, timeMinuteSelection, timePeriodToggle, timeToggleKeyboard, timeToggleDial, timeToggleScroll, sheetExpand, sheetCollapse, sheetDismiss, seekBar, seekBarValue, seekBarShowRemaining, seekBarShowDuration, selectRange, pickStart, pickEnd, previousMonth, nextMonth, selectColor, colorHue, colorSaturation, colorBrightness, colorAlpha, colorEyedropper, colorOriginal, colorFormat, colorRecent, colorPresets, dayView, weekView, allDay, emojiSearch, emojiNoResults, emojiRecent, emojiSkinTone, emojiSkinTones, emojiCategorySmileys, emojiCategoryGestures, emojiCategoryPeople, emojiCategoryAnimals, emojiCategoryNature, emojiCategoryFood, emojiCategoryActivities, emojiCategoryTravel, emojiCategoryObjects, emojiCategorySymbols, emojiCategoryFlags, available, selected, noItems, moveAllRight, moveRight, moveLeft, moveAllLeft, searchCommand, navigateHint, selectHint, openHint, closeHint, loadingMore, noMoreItems, bold, italic, underline, strikethrough, highlight, bulletList, orderedList, blockquote, code, alignLeft, alignCenter, alignRight, undo, redo, link, image, paragraph, heading1, heading2, heading3, insertLink, insertImage, imageUrlLabel, insert, jsonValid, jsonInvalid, jsonFormat, jsonMinify, jsonElements, jsonFields, resultSuccessTitle, resultSuccessDesc, resultErrorTitle, resultErrorDesc, resultWarningTitle, resultWarningDesc, resultInfoTitle, resultInfoDesc, result404Title, result404Desc, result403Title, result403Desc, result500Title, result500Desc, chatTyping, chatRecordingAudio, reorderHandle, reorderGrabbed, reorderMoved, reorderDropped, reorderCancelled, selectAll, clearSearch, kanbanMoved, windowMinimize, windowMaximize, windowRestore, paginationRange, paginationPage, previousPage, nextPage, firstPage, lastPage, goToPage, pagination, opensInNewTab, carousel, carouselItem, sparklineSummary, sliderRangeStart, sliderRangeEnd, mapTitle, mapMarker, mapZoomIn, mapZoomOut, mapResetBearing, mapFindMyLocation, mapLocationNotAvailable, mapEnterFullscreen, mapExitFullscreen, mapToggleAttribution, mapFeedback, mapCtrlScroll, mapCmdScroll, mapTwoFingers, mapLayers, mapSearchLayers, mapNoLayers, mapShowLayer, mapHideLayer, mapOpacity, mapClusterZoom, mapDownload, mapNoBaseLayer, mapHoverInfo, mapNoValue, mapMeasureDistance, mapMeasureArea, mapClearMeasurements, mapDeleteMeasurement, mapDrawPoint, mapDrawLine, mapDrawPolygon, mapDeleteFeature, mapTotal, mapSearchPlaces, mapAddress, mapPressEnterToSearch, mapSearching, mapNoPlaces, mapRouteStop, mapRouteVehicle, spreadsheet, spreadsheetFormula, spreadsheetName, formSubmit, formBuilderEdit, formBuilderPreview, formBuilderJson, formBuilderAddField, formBuilderEmpty, formBuilderForm, formBuilderTitle, formBuilderDescription, formBuilderSubmitLabel, formBuilderLabel, formBuilderName, formBuilderPlaceholder, formBuilderHint, formBuilderRequired, formBuilderWidth, formBuilderWidthFull, formBuilderWidthHalf, formBuilderWidthThird, formBuilderWidthTwoThirds, formBuilderOptions, formBuilderMin, formBuilderMax, formBuilderStep, formBuilderMinLength, formBuilderMaxLength, formBuilderPattern, formBuilderPatternMessage, formBuilderRows, formBuilderShowWhen, formBuilderAlways, formBuilderEquals, formBuilderDuplicate, formBuilderDelete, formBuilderCopy, formBuilderCopied, codeCopy, codeCopied, paneResize, commentPlaceholder, commentReplyTo, commentReply, commentEdit, commentDelete, commentSave, commentSend, commentEdited, commentActions, commentShowReply, commentShowReplies, commentHideReplies, reactionAdd, reactionCount, avatarGroupMore, formBuilderSubmitted, formBuilderSelectField, formFieldText, formFieldEmail, formFieldPassword, formFieldTel, formFieldUrl, formFieldTextarea, formFieldNumber, formFieldSelect, formFieldAutocomplete, formFieldRadio, formFieldCheckbox, formFieldSwitch, formFieldDate, formFieldTime, formFieldSlider, formFieldRating, formFieldPhone, formFieldHeading, formFieldDivider, pdfSignSignature, pdfSignInitials, pdfSignName, pdfSignDate, pdfSignText, pdfSignCheckbox, pdfSignHere, pdfSignNext, pdfSignFinish, pdfSignProgress, pdfSignDraw, pdfSignTypeIt, pdfSignAdopt, pdfSignAddField, pdfSignRequired, pdfSignDelete, pdfSignComplete, trackingArrives, trackingArrivingNow, trackingDelivered, trackingDelayed, trackingCanceled, trackingShowDetails, trackingHideDetails, filterMatchAll, filterMatchAny, filterAddCondition, filterAddGroup, filterRemoveCondition, filterRemoveGroup, filterField, filterOperator, filterValue, filterFrom, filterTo, filterNoConditions, filterOpContains, filterOpNotContains, filterOpEquals, filterOpNotEquals, filterOpStartsWith, filterOpEndsWith, filterOpGt, filterOpGte, filterOpLt, filterOpLte, filterOpBetween, filterOpIn, filterOpNotIn, filterOpIsTrue, filterOpIsFalse, filterOpIsEmpty, filterOpIsNotEmpty, filterOpAfter, filterOpBefore, cronExpression, cronInvalid, cronNextRuns, cronFreqMinutes, cronFreqHourly, cronFreqDaily, cronFreqWeekly, cronFreqMonthly, cronFreqCustom, cronEvery, cronMinute, cronTime, cronDayOfMonth, cronEveryMinute, cronEveryNMinutes, cronHourlyAt, cronAt, cronEveryNHoursAt, cronMinutesOfHours, cronOnDaysOfMonth, cronInMonths, cronRange, country, timeZone, cameraStart, cameraStarting, cameraCapture, cameraRetake, cameraUsePhoto, cameraSwitch, cameraDenied, cameraUnavailable, cameraUnsupported, cameraFailed, qrHint, qrUnsupported, recorderStart, recorderStop, recorderPause, recorderResume, recorderDiscard, recorderUse, recorderPlay, recorderPausePlayback, recorderRecording, micDenied, micUnavailable, micUnsupported, dashGrabbed, dashPlaced, dashDropped, dashCancelled, dashResize, diffUnchanged, diffSplit, diffUnified, diffNoChanges, notifTitle, notifMarkAllRead, notifAll, notifUnread, notifEmpty, notifToday, notifYesterday, notifDismiss, notifMarkRead, notifMarkUnread, timelineShowMore, timelineShowLess, mediaPlayer, mediaPlay, mediaPause, mediaReplay, mediaSeekBack, mediaSeekForward, mediaSeconds, mediaMute, mediaUnmute, mediaVolume, mediaFullscreen, mediaExitFullscreen, mediaPictureInPicture, mediaSettings, mediaSpeed, mediaSpeedNormal, mediaSubtitles, mediaSubtitlesOff, mediaQuality, mediaQualityAuto, mediaLive, mediaError, mediaRepeat, mediaRepeatOne, mediaShuffle, pdfViewer, pdfThumbnails, pdfOutline, pdfPage, pdfZoom, pdfZoomIn, pdfZoomOut, pdfFitWidth, pdfFitPage, pdfSearch, pdfSearchPrevious, pdfSearchNext, pdfMatchCount, pdfNoMatches, pdfMore, pdfRotate, pdfDownload, pdfPrint, pdfFullscreen, pdfExitFullscreen, pdfPassword, pdfPasswordLabel, pdfWrongPassword, pdfOpen, pdfError, pdfLoading, pdfAnnotate, pdfSelect, pdfHighlight, pdfNote, pdfDraw, pdfEraser, pdfInkWidth, pdfColor, pdfUndo, pdfCopy, pdfDelete, pdfNotePlaceholder, pdfAddComment, flowCanvas, flowNode, flowEdge, flowZoomIn, flowZoomOut, flowFitView, flowLock, flowUnlock, flowUndo, flowRedo, flowMinimap, flowMoved, flowConnected, flowDeleted, flowDeleteEdge, flowDelete, ganttChart, ganttTask, ganttStart, ganttEnd, ganttDuration, ganttProgress, ganttDays, ganttHours, ganttMilestone, ganttQuarter, ganttToday, ganttZoomIn, ganttZoomOut, ganttExpandAll, ganttCollapseAll, ganttExpand, ganttCollapse, ganttUndo, ganttRedo, ganttScaleHour, ganttScaleDay, ganttScaleWeek, ganttScaleMonth, ganttScaleQuarter, ganttScaleYear, ganttMoved, ganttProgressSet, ganttLinked, ganttUnlink, ganttDeleted, ganttDelete, ganttReordered, ganttSlack, ganttCritical, ganttBaseline, ganttEmpty, ganttResize, ganttFit, ganttShowList, ganttHideList, timelineResource, timelineConflict, timelineMoved, timelineEmpty, cropArea, cropRotateLeft, cropRotateRight, cropFlip, cropReset, cropFree, drawCanvas, drawTools, drawMore, drawSelect, drawPan, drawPen, drawBrush, drawMarker, drawHighlighter, drawEraser, drawStrokeEraser, drawLine, drawArrow, drawRect, drawEllipse, drawText, drawFill, drawColor, floorPlan, floorSeats, floorRotate, floorTools, floorMove, floorDrawWall, floorDrawZone, floorAddTable, floorAddDecor, floorDuplicate, floorDelete, floorUndo, floorRedo, floorLabel, floorSeatsField, floorShape, floorRound, floorSquare, floorLong, floorAngle, floorFlip, floorZoomIn, floorZoomOut, floorZoomFit, floorOverlaps, floorSeatN, floorDrawShape, floorShapeHint, floorColor, floorThickness, floorWidth, floorHeight, floorMerge, floorSplit, floorNothingPicked, floorTablesPicked, floorTableN, floorZone, floorWall, floorDeleteCorner, floorFinishWall, floorCancel, floorDecorDoor, floorDecorWindow, floorDecorPlant, floorDecorColumn, floorDecorRestroom, floorDecorKitchen, floorDecorRegister, floorDecorStairs, floorDecorLabel, drawCustomColor, drawSize, drawUndo, drawRedo, drawDelete, drawLayers, drawLayer, drawLayerName, drawAddLayer, drawDeleteLayer, drawShowLayer, drawHideLayer, drawLockLayer, drawUnlockLayer, drawLayerUp, drawLayerDown, compareBefore, compareAfter, compareSlider, cardNumber, cardExpiry, cardCvc, cardName, cardInvalidNumber, cardInvalidExpiry, cardInvalidCvc, validationRequired, validationInvalid, validationEmail, validationUrl, validationMinLength, validationMaxLength, validationMinItems, validationMaxItems, validationMin, validationMax, validationPattern, validationSameAs, 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, gameSpin, gameSpinning, gameResult, spinWheelLabel, rouletteLabel, rouletteResult, rouletteRed, rouletteBlack, rouletteGreen, rouletteTableLabel, rouletteColumn, rouletteDozen1, rouletteDozen2, rouletteDozen3, rouletteLow, rouletteHigh, rouletteEven, rouletteOdd, rouletteOnSpot, slotMachineLabel, diceRoll, diceRolling, diceResult, diceShowing, coinFlip, coinFlipping, coinHeads, coinTails, scratchHint, scratchReveal, playingCardAce, playingCardJack, playingCardQueen, playingCardKing, playingCardJoker, playingCardSpades, playingCardHearts, playingCardDiamonds, playingCardClubs, playingCardName, playingCardFaceDown
12220
12648
 
12221
12649
  ## Theme tokens
12222
12650
 
@@ -1,5 +1,5 @@
1
1
  import { i as e, o as t } from "./_storageKeys-C4W_4xK4.js";
2
- import { t as n } from "./MSpinner-CbEMPY4X.js";
2
+ import { t as n } from "./MSpinner-CUpMz5C4.js";
3
3
  import { t as r } from "./MIcon-CkUc9kuQ.js";
4
4
  import { p as i } from "./MIconButton-DTFOfsTy.js";
5
5
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderSlot as h, resolveDynamicComponent as g, unref as _, withCtx as v, withDirectives as y } from "vue";
@@ -281,4 +281,4 @@ var M = [
281
281
  });
282
282
  export { w as a, b as c, C as d, x as f, T as i, j as l, M as n, D as o, E as r, S as s, P as t, A as u };
283
283
 
284
- //# sourceMappingURL=MButton-BHKF1Tfd.js.map
284
+ //# sourceMappingURL=MButton-BpsqEnrZ.js.map